Home
last modified time | relevance | path

Searched refs:artsize (Results 1 – 23 of 23) sorted by relevance

/dports/www/pnews/pnews266/
H A Dindexing.php54 $artsize = count($artlist); variable
56 if( $artsize > 0 ) {
57 $highmark = $artlist[$artsize-1];
61 echo "\n<!-- ART. NO. FROM: $lowmark TO: $highmark (count: $artsize)-->\n";
65 $totalpg = ceil($artsize / $artsppg) ;
70 $tmpidx = $artsize - ($cpg-1)*$artsppg - 1;
148 if( $artsize <= $artsppg ) {
150 $cut_end = $artsize-1;
164 if( $cut_end + $artsppg + 1 < $artsize )
260 $page = floor( ( $artsize - array_search( $show_from, $artlist ) + 1 ) / $artsppg);
[all …]
/dports/news/inn-current/inn-2.7-20211226/frontends/
H A Drnews.c414 ReadBytecount(int fd, int artsize) in ReadBytecount() argument
425 oldsize = artsize; in ReadBytecount()
427 } else if (artsize > oldsize) { in ReadBytecount()
428 oldsize = artsize; in ReadBytecount()
440 warn("cannot read, wanted %d got %d", artsize, artsize - left); in ReadBytecount()
446 artsize++; in ReadBytecount()
450 return Process(article, artsize); in ReadBytecount()
490 int artsize; in UnpackOne() local
544 artsize = atoi(&buff[9]); in UnpackOne()
545 if (artsize <= 0) { in UnpackOne()
[all …]
H A Dinews.c667 size_t artsize; in AppendSignature() local
709 artsize = i + sizeof(SIGSEP) - 1 + length + 1; in AppendSignature()
711 p = xmalloc(artsize); in AppendSignature()
712 strlcpy(p, article, artsize); in AppendSignature()
715 article = xrealloc(article, artsize); in AppendSignature()
716 strlcat(article, SIGSEP, artsize); in AppendSignature()
717 strlcat(article, buff, artsize); in AppendSignature()
/dports/news/inn/inn-2.6.4/frontends/
H A Drnews.c416 ReadBytecount(int fd, int artsize) in ReadBytecount() argument
427 oldsize = artsize; in ReadBytecount()
430 else if (artsize > oldsize) { in ReadBytecount()
431 oldsize = artsize; in ReadBytecount()
443 warn("cannot read, wanted %d got %d", artsize, artsize - left); in ReadBytecount()
449 artsize++; in ReadBytecount()
453 return Process(article, artsize); in ReadBytecount()
494 int artsize; in UnpackOne() local
548 artsize = atoi(&buff[9]); in UnpackOne()
549 if (artsize <= 0) { in UnpackOne()
[all …]
H A Dinews.c679 size_t artsize; in AppendSignature() local
721 artsize = i + sizeof(SIGSEP) - 1 + length + 1; in AppendSignature()
723 p = xmalloc(artsize); in AppendSignature()
724 strlcpy(p, article, artsize); in AppendSignature()
728 article = xrealloc(article, artsize); in AppendSignature()
729 strlcat(article, SIGSEP, artsize); in AppendSignature()
730 strlcat(article, buff, artsize); in AppendSignature()
/dports/sysutils/shlock/inn-2.6.4/frontends/
H A Drnews.c416 ReadBytecount(int fd, int artsize) in ReadBytecount() argument
427 oldsize = artsize; in ReadBytecount()
430 else if (artsize > oldsize) { in ReadBytecount()
431 oldsize = artsize; in ReadBytecount()
443 warn("cannot read, wanted %d got %d", artsize, artsize - left); in ReadBytecount()
449 artsize++; in ReadBytecount()
453 return Process(article, artsize); in ReadBytecount()
494 int artsize; in UnpackOne() local
548 artsize = atoi(&buff[9]); in UnpackOne()
549 if (artsize <= 0) { in UnpackOne()
[all …]
H A Dinews.c679 size_t artsize; in AppendSignature() local
721 artsize = i + sizeof(SIGSEP) - 1 + length + 1; in AppendSignature()
723 p = xmalloc(artsize); in AppendSignature()
724 strlcpy(p, article, artsize); in AppendSignature()
728 article = xrealloc(article, artsize); in AppendSignature()
729 strlcat(article, SIGSEP, artsize); in AppendSignature()
730 strlcat(article, buff, artsize); in AppendSignature()
/dports/news/cnews/cnews-cr.g_18/contrib/lib/ipc/
H A Dbatch.c50 batchadd(buf, buflen, artsize, tmpfp, tmpbytes) in batchadd() argument
52 sizeint buflen, artsize, tmpbytes;
57 fprintf(bt_fp, "#! rnews %d\n", artsize);
64 bt_bytes += artsize;
/dports/news/cnews/cnews-cr.g_18/contrib/lib/
H A Dbatch.c50 batchadd(buf, buflen, artsize, tmpfp, tmpbytes) in batchadd() argument
52 sizeint buflen, artsize, tmpbytes;
57 fprintf(bt_fp, "#! rnews %d\n", artsize);
64 bt_bytes += artsize;
/dports/news/trn4/trn-4.0-test77/
H A Dart.c109 artsize = raw_artsize = nntp_artsize(); in do_article()
117 artsize = raw_artsize = filestat.st_size; in do_article()
563 if (artsize < 0 && (raw_artsize = nntp_artsize()) >= 0) in do_article()
564 artsize = raw_artsize-artbuf_seek+artbuf_len+htype[PAST_HEADER].minpos; in do_article()
574 if (artpos == artsize) {/* did we just now reach EOF? */ in do_article()
593 if (artsize < 0) in do_article()
597 sprintf(cmd_buf,"%ld",(long)(artpos*100/artsize)); in do_article()
627 if (artsize < 0 && (raw_artsize = nntp_artsize()) >= 0) { in do_article()
861 if (artsize < 0) { in page_switch()
868 seekartbuf(artsize); in page_switch()
[all …]
H A Dartio.c201 if (artbuf_pos == artsize - htype[PAST_HEADER].minpos)
349 artsize = artbuf_len + htype[PAST_HEADER].minpos;
459 if (artsize >= 0)
460 artsize = raw_artsize-artbuf_seek+artbuf_len+htype[PAST_HEADER].minpos;
H A Dart.h16 EXT ART_POS artsize; /* size in bytes of article */ variable
H A Dng.c251 if (artsize < 0)
1414 if (artsize < 0) { in art_switch()
1417 artsize = raw_artsize-artbuf_seek+artbuf_len+htype[PAST_HEADER].minpos; in art_switch()
1421 seekartbuf(artsize); in art_switch()
1428 innersearch = artsize; in art_switch()
/dports/news/trn/trn-3.6/
H A Dart.c155 artsize = filestat.st_size; /* from that get article size */ in do_article()
610 artsize = nntp_artsize(); in do_article()
613 if (artpos == artsize) {/* did we just now reach EOF? */ in do_article()
624 if (artsize == -1) in do_article()
628 sprintf(buf,"%ld",(long)(artpos*100/artsize)); in do_article()
656 if (artsize == -1 && (artsize = nntp_artsize()) != -1) { in do_article()
855 artsize = nntp_artsize(); in page_switch()
858 innersearch = artsize; in page_switch()
H A Dart.h24 EXT ART_POS artsize; /* size in bytes of article */ variable
H A Dng.c1098 innersearch = artsize; in art_switch()
/dports/audio/aacgain/aacgain-1.8/mpeg4ip/lib/mp4v2/util/
H A Dmp4syncfiles.cpp390 uint32_t artsize; in copy_meta() local
391 MP4GetMetadataCoverArt(from, &art, &artsize); in copy_meta()
394 printf("art read %u\n", artsize); in copy_meta()
395 MP4SetMetadataCoverArt(to, art, artsize); in copy_meta()
/dports/games/NBlood/NBlood-a1689a4/extras/rrsrc/enginerr/
H A DBUILD.C68 extern long cachesize, artsize;
273 printf("Memory status: %ld(%ld) bytes\n",cachesize,artsize); in main()
5095 printf("Memory status: %ld(%ld) bytes\n",cachesize,artsize); in overheadeditor()
H A DENGINE.C99 long artsize = 0, cachesize = 0; variable
2405 artsize = 0L; in loadpics()
2433 artsize += ((dasiz+15)&0xfffffff0); in loadpics()
2446 cachesize = max(artsize,1048576); in loadpics()
/dports/games/NBlood/NBlood-a1689a4/extras/rrsrc/enginera/
H A DBUILD.C68 extern long cachesize, artsize;
273 printf("Memory status: %ld(%ld) bytes\n",cachesize,artsize); in main()
5095 printf("Memory status: %ld(%ld) bytes\n",cachesize,artsize); in overheadeditor()
H A DENGINE.C98 long artsize = 0, cachesize = 0; variable
2444 artsize = 0L; in loadpics()
2472 artsize += ((dasiz+15)&0xfffffff0); in loadpics()
2485 cachesize = max(artsize,1048576); in loadpics()
/dports/games/jfsw/jfsw-c434002/jfbuild/src/
H A Dbuild.c55 extern int cachesize, artsize;
495 buildprintf("Memory status: %d(%d) bytes\n",cachesize,artsize); in app_main()
5544 printf("Memory status: %d(%d) bytes\n",cachesize,artsize); in overheadeditor()
H A Dengine.c88 int artsize = 0, cachesize = 0; variable
7767 artsize = 0L; in loadpics()
7803 artsize += ((dasiz+15)&0xfffffff0); in loadpics()