/haiku-fatelf/src/bin/bash/ |
H A D | braces.c | 94 size_t tlen; local 103 tlen = strlen (text); 106 c = brace_gobbler (text, tlen, &i, '{'); /* } */ 112 c = brace_gobbler (text, tlen, &i, '{'); /* } */ 119 c = brace_gobbler (text, tlen, &j, '}'); 153 c = brace_gobbler (text, tlen, &i, '}'); 167 ADVANCE_CHAR (text, tlen, j); 177 ADVANCE_CHAR (text, tlen, j); 251 expand_amble (text, tlen, flags) 253 size_t tlen; [all...] |
H A D | bracecomp.c | 72 int result_size, flag, tlen; local 125 tlen = gcd - gcd_zero; 126 x = (char *)xmalloc (tlen + 1); 127 strncpy (x, array[start] + gcd_zero, tlen); 128 x[tlen] = '\0';
|
H A D | locale.c | 358 int tlen; local 398 tlen = strlen (translated); 399 t = (char *)xmalloc (tlen + 1); 402 *lenp = tlen; 465 int len, tlen, foundnl; local 469 for (tlen = 0, len = start; len < end; ) 470 temp[tlen++] = string[len++]; 471 temp[tlen] = '\0'; 496 *lenp = tlen; 501 t = localetrans (temp, tlen, [all...] |
H A D | alias.c | 560 int llen, tlen; local 563 tlen = i - real_start; /* tlen == strlen(token) */ 565 RESIZE_MALLOCED_BUFFER (line, llen, (tlen + 1), line_len, (llen + tlen + 50)); 567 strncpy (line + llen, string + real_start, tlen); 568 line[llen + tlen] = '\0';
|
H A D | stringlib.c | 191 int len, rlen, ind, tlen; local 207 tlen = strlen (t); 208 RESIZE_MALLOCED_BUFFER (ret, ind, tlen, rlen, rlen); 211 r += tlen;
|
H A D | pcomplete.c | 650 int tlen, i, n; local 667 tlen = STRLEN (ntxt); 671 if (tlen == 0 || STREQN (sl->list[i], ntxt, tlen)) 820 int nw, tlen; local 841 tlen = STRLEN (ntxt); 845 if (tlen == 0 || STREQN (l->word->word, ntxt, tlen))
|
/haiku-fatelf/src/bin/network/tcpdump/ |
H A D | print-slow.c | 125 u_int tlv_len,tlen,tlv_tlen; local 161 tlen=len-sizeof(struct slow_common_header); 164 while(tlen>0) { 178 tlv_len > tlen) && 182 print_unknown_data(tptr+sizeof(sizeof(struct tlv_header_t)),"\n\t ",tlen); 259 tlen-=tlv_len;
|
H A D | print-bgp.c | 656 int plen,tlen,strlen,tlv_type,tlv_len,ttlv_len; local 660 tlen=plen; 669 tlen-=15; 672 while (tlen>0) { 673 if (tlen < 3) 699 tlen-=(tlv_len<<3); /* the tlv-length is expressed in bits so lets shift it tright */ 887 int tlen; local 893 tlen=len; 970 while (tlen>0) { 988 (tlen> [all...] |
H A D | print-rsvp.c | 569 rsvp_obj_print (const u_char *tptr, const char *ident, u_int tlen) { argument 586 while(tlen>=sizeof(struct rsvp_object_header)) { 624 if(tlen < rsvp_obj_len) { 1430 tlen-=rsvp_obj_len; 1444 u_short tlen,subtlen; local 1471 tlen=EXTRACT_16BITS(rsvp_com_header->length); 1478 tlen, 1482 if (tlen < sizeof(const struct rsvp_common_header)) { 1483 printf("ERROR: common header too short %u < %lu", tlen, 1489 tlen [all...] |
H A D | print-eigrp.c | 219 u_int tlen,eigrp_tlv_len,eigrp_tlv_type,tlv_tlen, byte_length, bit_length; local 254 tlen=len-sizeof(struct eigrp_common_header); 268 tlen); 272 while(tlen>0) { 282 eigrp_tlv_len > tlen) { 283 print_unknown_data(tptr+sizeof(sizeof(struct eigrp_tlv_header)),"\n\t ",tlen); 475 tlen-=eigrp_tlv_len;
|
H A D | print-ldp.c | 505 u_short tlen; local 536 tlen=pdu_len; 539 tlen -= sizeof(const struct ldp_common_header)-4; /* Type & Length fields not included */ 541 while(tlen>0) { 610 tlen -= msg_len+4;
|
H A D | print-lmp.c | 367 int tlen,lmp_obj_len,lmp_obj_ctype,obj_tlen; local 401 tlen=EXTRACT_16BITS(lmp_com_header->length); 407 tlen); 410 tlen-=sizeof(const struct lmp_common_header); 412 while(tlen>0) { 876 tlen-=lmp_obj_len;
|
H A D | print-fr.c | 391 u_int tlen,idx,hdr_len = 0; local 418 tlen = length -3; 424 while (tlen>sizeof(struct ie_tlv_header_t)) { 442 tlen-=sizeof(struct ie_tlv_header_t); 485 tlen-=ie_len;
|
H A D | print-lspping.c | 467 int tlen,lspping_tlv_len,lspping_tlv_type,tlv_tlen; local 517 tlen=len; 566 tlen-=sizeof(const struct lspping_common_header); 568 while(tlen>(int)sizeof(struct lspping_tlv_header)) { 862 tlen-=lspping_tlv_len+sizeof(struct lspping_tlv_header);
|
H A D | print-tcp.c | 742 u_int16_t savecsum, tlen; local 763 tlen = EXTRACT_16BITS(&ip->ip_len) - IP_HL(ip) * 4; 764 tlen = htons(tlen); 765 MD5_Update(&ctx, (char *)&tlen, sizeof(tlen));
|
/haiku-fatelf/src/bin/fwcontrol/ |
H A D | fwdv.c | 113 int len, tlen, npad, fd, k, m, vec, system = -1, nb; local 147 tlen = 0; 148 while ((len = read(d, buf + tlen, PSIZE 149 /* RBUFSIZE - tlen */)) > 0) { 159 tlen += len; 160 if ((RBUFSIZE - tlen) < PSIZE) 164 tlen = len = read(d, buf, RBUFSIZE); 253 if ((char *)ptr < buf + tlen) 271 int len, tlen, header, fd, frames, packets, vec, offset, nhdr, i; local 333 tlen [all...] |
H A D | fwmpegts.c | 169 int fd, k, len, m, pkt_size, startwr, tlen; local 200 len = tlen = read(d, buf, RBUFSIZE); 234 /* tlen needs to be decremented before end of the loop */ 273 tlen -= pkt_size; 274 } while (tlen > 0);
|
/haiku-fatelf/src/libs/compat/freebsd_network/ |
H A D | fbsd_mbuf2.c | 97 int hlen, tlen, olen; local 187 * we need to take hlen from <n, off> and tlen from <n->m_next, 0>, 189 * note that hlen + tlen == len, and tlen > 0. 192 tlen = len - hlen; 210 if ((off == 0 || offp) && M_TRAILINGSPACE(n) >= tlen 212 m_copydata(n->m_next, 0, tlen, mtod(n, caddr_t) + n->m_len); 213 n->m_len += tlen; 214 m_adj(n->m_next, tlen); 244 /* get tlen fro [all...] |
/haiku-fatelf/src/add-ons/input_server/methods/canna/lib/ |
H A D | ulhinshi.c | 498 int tlen, ylen, yomi_katsuyou; local 505 tlen = tc->tango_len; 525 tc->tango_buffer[tlen - 1] != gyouU[tc->katsuyou]) { 546 WStrncpy(tmpbuf, tc->tango_buffer, tlen-1); 547 tmpbuf[tlen - 1] = gyouA[tc->katsuyou]; 548 tmpbuf[tlen] = (WCHAR_T)0; 553 WStrncpy(tmpbuf, tc->tango_buffer, tlen - 1); 554 tmpbuf[tlen - 1] = gyouI[tc->katsuyou]; 555 tmpbuf[tlen] = (WCHAR_T)'\0'; 562 if(tlen > [all...] |
H A D | RKroma.c | 680 int ulen, dlen, tlen, rule = 0; local 687 flags & ~dontflush, &ulen, &dlen, &tlen, &rule); 693 (void)strncpy((char *)yyyy, (char *)d, tlen); 698 strncpy((char *)yyyy + tlen, (char *)xxxx + ulen, xp - ulen); 700 strncpy((char *)xxxx, (char *)yyyy, tlen + xp - ulen); 701 xp = tlen + xp - ulen;
|
/haiku-fatelf/src/add-ons/kernel/file_systems/userlandfs/server/fuse/ |
H A D | fuse_opt.c | 160 int tlen = sep - t; local 162 tlen ++; 163 if (arglen >= tlen && strncmp(arg, t, tlen) == 0) {
|
/haiku-fatelf/src/bin/bash/lib/sh/ |
H A D | stringlist.c | 196 int plen, slen, tlen, llen, i; local 211 tlen = plen + llen + slen + 1; 212 t = (char *)xmalloc (tlen + 1);
|
/haiku-fatelf/src/add-ons/kernel/drivers/network/pcnet/dev/le/ |
H A D | lance.c | 352 int len, tlen = 0; local 365 tlen += len; 369 if (tlen < LEMINSIZE) { 370 (*sc->sc_zerobuf)(sc, boff, LEMINSIZE - tlen); 371 tlen = LEMINSIZE; 373 return (tlen);
|
/haiku-fatelf/src/bin/gawk/ |
H A D | field.c | 133 register unsigned long tlen; local 143 tlen = 0; 149 tlen += tmp->stlen; 151 tlen += (NF - 1) * ofslen; 152 if ((long) tlen < 0) 153 tlen = 0; 154 emalloc(ops, char *, tlen + 2, "rebuild_record"); 176 tmp = make_str_node(ops, tlen, ALREADY_MALLOCED);
|
/haiku-fatelf/src/bin/patch/ |
H A D | util.c | 90 size_t tlen = o - to; local 93 bakname = xmalloc (plen + tlen + blen + osize); 95 memcpy (bakname + plen, to, tlen); 96 memcpy (bakname + plen + tlen, b, blen); 97 memcpy (bakname + plen + tlen + blen, o, osize);
|