Searched refs:siz (Results 1 - 25 of 27) sorted by relevance

12

/haiku-fatelf/src/bin/network/tcpdump/missing/
H A Dstrlcpy.c45 * Copy src to string dst of size siz. At most siz-1 characters
46 * will be copied. Always NUL terminates (unless siz == 0).
47 * Returns strlen(src); if retval >= siz, truncation occurred.
50 strlcpy(char *dst, const char *src, size_t siz) argument
54 register size_t n = siz;
66 if (siz != 0)
H A Dstrlcat.c45 * Appends src to string dst of size siz (unlike strncat, siz is the
46 * full size of dst, not space left). At most siz-1 characters
47 * will be copied. Always NUL terminates (unless siz == 0).
48 * Returns strlen(src); if retval >= siz, truncation occurred.
51 strlcat(char *dst, const char *src, size_t siz) argument
55 register size_t n = siz;
62 n = siz - dlen;
/haiku-fatelf/src/add-ons/translators/jpeg2000/libjasper/
H A Djpc_cs.c363 cstate->numcomps = ms->parms.siz.numcomps;
412 cstate->numcomps = ms->parms.siz.numcomps;
515 jpc_siz_t *siz = &ms->parms.siz; local
516 if (siz->comps) {
517 jas_free(siz->comps);
523 jpc_siz_t *siz = &ms->parms.siz; local
526 if (jpc_getuint16(in, &siz->caps) ||
527 jpc_getuint32(in, &siz
564 jpc_siz_t *siz = &ms->parms.siz; local
593 jpc_siz_t *siz = &ms->parms.siz; local
[all...]
H A Djpc_enc.c936 jpc_siz_t *siz; local
978 siz = &enc->mrk->parms.siz;
979 siz->caps = 0;
980 siz->xoff = cp->imgareatlx;
981 siz->yoff = cp->imgareatly;
982 siz->width = cp->refgrdwidth;
983 siz->height = cp->refgrdheight;
984 siz->tilexoff = cp->tilegrdoffx;
985 siz
[all...]
H A Djpc_dec.c1202 jpc_siz_t *siz = &ms->parms.siz; local
1211 dec->xstart = siz->xoff;
1212 dec->ystart = siz->yoff;
1213 dec->xend = siz->width;
1214 dec->yend = siz->height;
1215 dec->tilewidth = siz->tilewidth;
1216 dec->tileheight = siz->tileheight;
1217 dec->tilexoff = siz->tilexoff;
1218 dec->tileyoff = siz
[all...]
H A Djpc_cs.h645 jpc_siz_t siz; member in union:__anon2795
/haiku-fatelf/src/bin/zip/
H A Dcrypt.c235 z->siz += RAND_HEAD_LEN;
248 for (n = z->siz - RAND_HEAD_LEN; n; n--) {
262 tempzn += (4 + LOCHEAD) + z->nam + z->ext + z->siz;
334 z->siz -= RAND_HEAD_LEN;
338 for (size = z->siz; size; size--) {
352 tempzn += (4 + LOCHEAD) + z->nam + z->ext + z->siz;
H A Dzipfile.c431 z->siz = LG(LOCSIZ + b);
443 s = fix > 1 ? 0L : z->siz; /* discard compressed size with -FF */
520 z->siz = s;
537 if (s != z->siz) {
539 z->siz, s, z->zname);
540 z->siz = s;
898 z->siz = LG((CENSIZ-CENVER) + u);
1101 PUTLG(z->siz, f);
1119 PUTLG(z->siz, f);
1137 PUTLG(z->siz,
[all...]
H A Dzipup.c510 z->siz = (ulg)(m == STORE && q >= 0 ? q : 0); /* will be changed later */
534 z->siz += RAND_HEAD_LEN; /* to be updated later */
644 z->siz = s;
647 z->siz += RAND_HEAD_LEN;
H A Dzip.h130 ulg tim, crc, siz, len; member in struct:zlist
H A Dzipsplit.c588 2 * (ulg)z->nam + 2 * (ulg)z->ext + z->com + z->siz;
/haiku-fatelf/src/bin/network/tcpdump/
H A Dprint-icmp6.c908 size_t siz, i; local
915 siz = ep - bp;
919 if (siz == sizeof(*dp) + 4) {
964 if (siz != sizeof(*ni6))
974 if (siz == sizeof(*ni6)) {
986 if (siz != sizeof(*ni6) + sizeof(struct in6_addr)) {
1014 if (siz != sizeof(*ni6) + sizeof(struct in_addr)) {
1032 if (icmp6len > siz) {
1052 if (siz != sizeof(*ni6))
1059 if (siz !
[all...]
H A Dprint-decnet.c858 size_t siz; local
862 str = (char *)malloc(siz = sizeof("00.0000"));
865 snprintf(str, siz, "%d.%d", area, node);
/haiku-fatelf/src/kits/network/libbind/nameser/
H A Dns_print.c575 unsigned int siz; local
585 siz = (edata-rdata)*4/3 + 4; /* "+4" accounts for trailing \0 */
586 if (siz > sizeof(base64_cert) * 3/4) {
591 len = b64_ntop(rdata, edata-rdata, base64_cert, siz);
872 unsigned int siz; local
876 siz = (edata-rdata)*4/3 + 4; /* "+4" accounts for trailing \0 */
877 if (siz > sizeof(base64_dhcid) * 3/4) {
881 len = b64_ntop(rdata, edata-rdata, base64_dhcid, siz);
907 unsigned int siz; local
967 siz
999 unsigned int siz; local
[all...]
/haiku-fatelf/src/kits/network/libbind/resolv/
H A Dres_query.c403 res_hostalias(const res_state statp, const char *name, char *dst, size_t siz) { argument
430 strncpy(dst, cp1, siz - 1);
431 dst[siz - 1] = '\0';
H A Dres_debug.c929 u_int8_t siz = 0x12; /*%< default = 1e2 cm = 1.00m */ local
988 siz = precsize_aton(&cp);
1016 *bcp++ = siz;
/haiku-fatelf/src/libs/fluidsynth/src/
H A Dfluid_event.c620 int siz = 2*sizeof(fluid_evt_entry *) + sizeof(fluid_evt_entry)*nbEvents;
622 heap = (fluid_evt_heap_t *)FLUID_MALLOC(siz);
627 FLUID_MEMSET(heap, 0, siz);
/haiku-fatelf/src/bin/unzip/
H A Dcrypt.c234 z->siz += RAND_HEAD_LEN;
247 for (n = z->siz - RAND_HEAD_LEN; n; n--) {
325 z->siz -= RAND_HEAD_LEN;
329 for (size = z->siz; size; size--) {
H A Dcryptf.c237 z->siz += RAND_HEAD_LEN;
250 for (n = z->siz - RAND_HEAD_LEN; n; n--) {
328 z->siz -= RAND_HEAD_LEN;
332 for (size = z->siz; size; size--) {
/haiku-fatelf/src/bin/network/netcat/
H A Dnetcat.c282 unsigned int findline (buf, siz)
284 unsigned int siz;
290 if (siz > BIGSIZ)
292 x = siz;
302 Debug (("findline returning whole thing: %d", siz))
303 return (siz);
/haiku-fatelf/src/libs/util/
H A Dlogin_cap.c690 rlim_t siz = strtoq(res, &ep, 0); local
723 tot += rmultiply(siz, mult);
/haiku-fatelf/src/add-ons/input_server/methods/canna/rk/
H A Dngram.c182 int siz = RkGetGramSize(ogram); local
185 gram->ng_conj = (char *)malloc(siz);
187 bcopy(ogram->ng_conj, gram->ng_conj, siz);
/haiku-fatelf/src/bin/findutils/locate/
H A Dlocate.c225 locate_read_str(char **buf, size_t *siz, FILE *fp, int delimiter, int offs) argument
237 if (needed > (*siz))
246 *siz = needed;
/haiku-fatelf/src/tools/docbook/libxml2/
H A Druntest.c677 int siz = 0; local
687 while ((res = read(fd, &base[siz], info.st_size - siz)) > 0) {
688 siz += res;
692 if (siz != info.st_size) {
697 base[siz] = 0;
699 *size = siz;
/haiku-fatelf/src/bin/gdb/bfd/
H A Decoff.c2525 bfd_size_type siz;
2526 siz = scnhsz;
2527 if (siz < filhsz)
2528 siz = filhsz;
2529 if (siz < aoutsz)
2530 siz = aoutsz;
2531 buff = (PTR) bfd_malloc (siz);
2517 bfd_size_type siz; local

Completed in 224 milliseconds

12