Home
last modified time | relevance | path

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

12

/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/dhcpcd/compat/
Dgetline.c44 size_t bytes, newlen; in getline() local
59 newlen = *buflen + BUFSIZ; in getline()
60 newbuf = realloc(*buf, newlen); in getline()
64 *buflen = newlen; in getline()
/external/openssh/
Dbuffer.c105 u_int newlen; in buffer_append_space() local
129 newlen = roundup(buffer->alloc + len, BUFFER_ALLOCSZ); in buffer_append_space()
130 if (newlen > BUFFER_MAX_LEN) in buffer_append_space()
132 newlen); in buffer_append_space()
133 buffer->buf = xrealloc(buffer->buf, 1, newlen); in buffer_append_space()
134 buffer->alloc = newlen; in buffer_append_space()
Dauth2-passwd.c55 u_int len, newlen; in userauth_passwd() local
61 newpass = packet_get_string(&newlen); in userauth_passwd()
62 memset(newpass, 0, newlen); in userauth_passwd()
/external/webkit/Tools/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/llvm/test/Transforms/SimplifyCFG/
Dunreachable-blocks.ll12 %newlen = sub i32 %newlen, 1
14 %test = icmp sgt i32 %newlen, 0
/external/openssh/openbsd-compat/
Dport-linux.c182 int len, newlen; in ssh_selinux_change_context() local
207 newlen = strlen(oldctx) + strlen(newname) + 1; in ssh_selinux_change_context()
208 newctx = xmalloc(newlen); in ssh_selinux_change_context()
211 strlcpy(newctx + len, newname, newlen - len); in ssh_selinux_change_context()
213 strlcat(newctx, cx, newlen); in ssh_selinux_change_context()
/external/elfutils/libcpu/
Di386_parse.y1507 size_t newlen[nstrsnlen];
1511 newlen[i] = strsnlen[i].len - 1;
1513 newlen[i] = strsnlen[i].len;
1522 size_t table = newlen[0] + 1;
1527 if (newlen[i] > newlen[j]
1529 strsnlen[i].str + (newlen[i] - newlen[j]),
1530 newlen[j]) == 0)
1532 table += newlen[i] - newlen[j];
1534 newlen[j] = newlen[i];
1537 else if (newlen[i] < newlen[j]
[all …]
Di386_parse.c3109 size_t newlen[nstrsnlen];
3113 newlen[i] = strsnlen[i].len - 1;
3115 newlen[i] = strsnlen[i].len;
3124 size_t table = newlen[0] + 1;
3129 if (newlen[i] > newlen[j]
3131 strsnlen[i].str + (newlen[i] - newlen[j]),
3132 newlen[j]) == 0)
3134 table += newlen[i] - newlen[j];
3136 newlen[j] = newlen[i];
3139 else if (newlen[i] < newlen[j]
[all …]
/external/libsepol/src/
Dpolicydb_convert.c35 policydb_t * policydb, void **newdata, size_t * newlen) in policydb_to_image() argument
90 *newlen = tmp_len; in policydb_to_image()
Dpolicydb_public.c173 size_t * newlen) in sepol_policydb_to_image() argument
175 return policydb_to_image(handle, &p->p, newdata, newlen); in sepol_policydb_to_image()
Dgenusers.c292 const char *usersdir, void **newdata, size_t * newlen) argument
309 if (policydb_to_image(NULL, &policydb, newdata, newlen) < 0)
/external/mdnsresponder/mDNSShared/
Ddnssd_clientlib.c221 unsigned long newlen = txtRec->datalen + keyvalsize; in TXTRecordSetValue() local
222 if (newlen > 0xFFFF) return(kDNSServiceErr_Invalid); in TXTRecordSetValue()
223 newbuf = malloc((size_t)newlen); in TXTRecordSetValue()
228 txtRec->buflen = (uint16_t)(newlen); in TXTRecordSetValue()
/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/llvm/test/CodeGen/X86/
Dsegmented-stacks-dynamic.ll19 %newlen = sub i32 %l, 1
20 %retvalue = call i32 @test_basic(i32 %newlen)
/external/apache-xml/src/main/java/org/apache/xml/utils/
DSuballocatedIntVector.java233 int newlen=m_firstFree+numberOfElements; in addElements() local
234 if(newlen>m_blocksize) in addElements()
241 m_firstFree=newlen; in addElements()
/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/libsepol/include/sepol/
Dusers.h17 void **newdata, size_t * newlen);
Dpolicydb.h125 void **newdata, size_t * newlen);
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
DDTMManagerDefault.java164 int newlen=Math.min((id+256),IDENT_MAX_DTMS); in addDTM() local
166 DTM new_m_dtms[] = new DTM[newlen]; in addDTM()
169 int new_m_dtm_offsets[] = new int[newlen]; in addDTM()
/external/mdnsresponder/mDNSPosix/
DResponder.c581 unsigned int newlen = textLen + 1 + len; in RegisterServicesInFile() local
582 if (len == 0 || newlen >= sizeof(text)) break; in RegisterServicesInFile()
585 textLen = newlen; in RegisterServicesInFile()
/external/llvm/lib/Support/
Dregcomp.c1453 sopno newlen; in findmust() local
1463 newlen = 0; in findmust()
1469 if (newlen == 0) /* new sequence */ in findmust()
1471 newlen++; in findmust()
1492 if (newlen > g->mlen) { /* ends one */ in findmust()
1494 g->mlen = newlen; in findmust()
1496 newlen = 0; in findmust()
/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()

12