Home
last modified time | relevance | path

Searched refs:newlen (Results 1 – 12 of 12) sorted by relevance

/external/apache-http/src/org/apache/http/util/
DByteArrayBuffer.java56 private void expand(int newlen) { in expand() argument
57 byte newbuffer[] = new byte[Math.max(this.buffer.length << 1, newlen)]; in expand()
73 int newlen = this.len + len; in append() local
74 if (newlen > this.buffer.length) { in append()
75 expand(newlen); in append()
78 this.len = newlen; in append()
82 int newlen = this.len + 1; in append() local
83 if (newlen > this.buffer.length) { in append()
84 expand(newlen); in append()
87 this.len = newlen; in append()
[all …]
DCharArrayBuffer.java58 private void expand(int newlen) { in expand() argument
59 char newbuffer[] = new char[Math.max(this.buffer.length << 1, newlen)]; in expand()
75 int newlen = this.len + len; in append() local
76 if (newlen > this.buffer.length) { in append()
77 expand(newlen); in append()
80 this.len = newlen; in append()
88 int newlen = this.len + strlen; in append() local
89 if (newlen > this.buffer.length) { in append()
90 expand(newlen); in append()
93 this.len = newlen; in append()
[all …]
/external/webkit/WebKitTools/android/flex-2.5.4a/
Decs.c37 int i, ich, newlen, cclp, ccls, cclmec; in ccl2ecl() local
48 newlen = 0; in ccl2ecl()
58 ccltbl[cclp + newlen] = cclmec; in ccl2ecl()
59 ++newlen; in ccl2ecl()
63 ccllen[i] = newlen; in ccl2ecl()
/external/openssl/crypto/asn1/
Da_time.c142 int newlen; in ASN1_TIME_to_generalizedtime() local
166 newlen = t->length + 2 + 1; in ASN1_TIME_to_generalizedtime()
169 if (t->data[0] >= '5') BUF_strlcpy(str, "19", newlen); in ASN1_TIME_to_generalizedtime()
170 else BUF_strlcpy(str, "20", newlen); in ASN1_TIME_to_generalizedtime()
172 BUF_strlcat(str, (char *)t->data, newlen); in ASN1_TIME_to_generalizedtime()
/external/icu4c/io/
Dustdio.c126 int32_t newlen; in u_file_translit() local
154 newlen = (*count + f->fTranslit->length) * 4; in u_file_translit()
156 if(newlen > f->fTranslit->capacity) in u_file_translit()
160 f->fTranslit->buffer = (UChar*)uprv_malloc(newlen * sizeof(UChar)); in u_file_translit()
164 … f->fTranslit->buffer = (UChar*)uprv_realloc(f->fTranslit->buffer, newlen * sizeof(UChar)); in u_file_translit()
170 f->fTranslit->capacity = newlen; in u_file_translit()
/external/chromium/third_party/icu/source/io/
Dustdio.c126 int32_t newlen; in u_file_translit() local
154 newlen = (*count + f->fTranslit->length) * 4; in u_file_translit()
156 if(newlen > f->fTranslit->capacity) in u_file_translit()
160 f->fTranslit->buffer = (UChar*)uprv_malloc(newlen * sizeof(UChar)); in u_file_translit()
164 … f->fTranslit->buffer = (UChar*)uprv_realloc(f->fTranslit->buffer, newlen * sizeof(UChar)); in u_file_translit()
170 f->fTranslit->capacity = newlen; in u_file_translit()
/external/kernel-headers/original/linux/
Dsysctl.h39 size_t newlen; member
913 void __user *newval, size_t newlen,
940 void __user *newval, size_t newlen);
945 void __user *newval, size_t newlen, void ** context);
/external/chromium/third_party/libevent/test/
Dregress.c1370 int oldlen, newlen; in evtag_int_test() local
1373 newlen = EVBUFFER_LENGTH(tmp); in evtag_int_test()
1375 integers[i], newlen - oldlen); in evtag_int_test()
1453 int oldlen, newlen; in evtag_tag_encoding() local
1456 newlen = EVBUFFER_LENGTH(tmp); in evtag_tag_encoding()
1458 integers[i], newlen - oldlen); in evtag_tag_encoding()
/external/openssl/patches/
Dsmall_records.patch13 + unsigned int newlen = rr->length + DTLS1_RT_HEADER_LENGTH;
14 + if ((pp=OPENSSL_realloc(s->s3->rbuf.buf, newlen))==NULL)
21 + s->s3->rbuf.len=newlen;
/external/openssl/ssl/
Dd1_pkt.c617 unsigned int newlen = rr->length + DTLS1_RT_HEADER_LENGTH; in dtls1_get_record() local
618 if ((pp=OPENSSL_realloc(s->s3->rbuf.buf, newlen))==NULL) in dtls1_get_record()
625 s->s3->rbuf.len=newlen; in dtls1_get_record()
/external/strace/
Dsystem.c1838 info.oldlenp, info.newval, info.newlen);
1961 tprintf(", %Zd", info.newlen);
1964 info.newval, info.newlen);
/external/dnsmasq/src/
Doption.c880 size_t newlen, len = 0; in parse_dhcp_opt() local
917 newlen = q - p; in parse_dhcp_opt()
923 newlen = tail - p; in parse_dhcp_opt()
927 len = newlen; in parse_dhcp_opt()