/external/dhcpcd/compat/ |
getline.c | 44 size_t bytes, newlen; local 59 newlen = *buflen + BUFSIZ; 60 newbuf = realloc(*buf, newlen); 64 *buflen = newlen;
|
/external/openssl/crypto/asn1/ |
a_time.c | 142 int newlen; local 166 newlen = t->length + 2 + 1; 169 if (t->data[0] >= '5') BUF_strlcpy(str, "19", newlen); 170 else BUF_strlcpy(str, "20", newlen); 172 BUF_strlcat(str, (char *)t->data, newlen); local
|
/external/webkit/Tools/android/flex-2.5.4a/ |
ecs.c | 37 int i, ich, newlen, cclp, ccls, cclmec; local 48 newlen = 0; 58 ccltbl[cclp + newlen] = cclmec; 59 ++newlen; 63 ccllen[i] = newlen;
|
/external/apache-http/src/org/apache/http/util/ |
ByteArrayBuffer.java | 56 private void expand(int newlen) { 57 byte newbuffer[] = new byte[Math.max(this.buffer.length << 1, newlen)]; 73 int newlen = this.len + len; local 74 if (newlen > this.buffer.length) { 75 expand(newlen); 78 this.len = newlen; 82 int newlen = this.len + 1; local 83 if (newlen > this.buffer.length) { 84 expand(newlen); 87 this.len = newlen; 102 int newlen = oldlen + len; local [all...] |
CharArrayBuffer.java | 58 private void expand(int newlen) { 59 char newbuffer[] = new char[Math.max(this.buffer.length << 1, newlen)]; 75 int newlen = this.len + len; local 76 if (newlen > this.buffer.length) { 77 expand(newlen); 80 this.len = newlen; 88 int newlen = this.len + strlen; local 89 if (newlen > this.buffer.length) { 90 expand(newlen); 93 this.len = newlen; 111 int newlen = this.len + 1; local 131 int newlen = oldlen + len; local [all...] |
/system/core/sh/ |
memalloc.c | 206 int newlen = SHELL_ALIGN(stacknleft * 2 + 100); local 218 sizeof(struct stack_block) - MINSIZE + newlen); 222 stacknleft = newlen; 239 char *p = stalloc(newlen); 243 stacknleft += newlen; /* we just allocated */
|
/bionic/libc/netbsd/nameser/ |
ns_print.c | 838 size_t newlen, save_buflen = *buflen; local 845 newlen = prune_origin(*buf, origin); 848 } else if (newlen == 0U) { 850 if (newlen + 2 > *buflen) 852 (*buf)[newlen++] = '@'; 853 (*buf)[newlen] = '\0'; 857 (*buf)[newlen] == '\0')) && (*buf)[newlen - 1] != '.') { 860 if (newlen + 2 > *buflen) 862 (*buf)[newlen++] = '.' [all...] |
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
SuballocatedIntVector.java | 233 int newlen=m_firstFree+numberOfElements; local 234 if(newlen>m_blocksize) 241 m_firstFree=newlen;
|
/external/icu4c/io/ |
ustdio.c | 126 int32_t newlen; local 154 newlen = (*count + f->fTranslit->length) * 4; 156 if(newlen > f->fTranslit->capacity) 160 f->fTranslit->buffer = (UChar*)uprv_malloc(newlen * sizeof(UChar)); 164 f->fTranslit->buffer = (UChar*)uprv_realloc(f->fTranslit->buffer, newlen * sizeof(UChar)); 170 f->fTranslit->capacity = newlen;
|
/frameworks/base/libs/utils/ |
String8.cpp | 598 int newlen = strlen(name); local 600 char* buf = lockBuffer(len+1+newlen); 606 memcpy(buf+len, name, newlen+1); 607 len += newlen;
|
/system/core/toolbox/ |
mount.c | 63 int newlen = extra->used_size + len; local 68 if (newlen >= extra->alloc_size) { 71 new = realloc(extra->str, newlen + 1); /* +1 for NUL */ 77 extra->alloc_size = newlen;
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
DTMManagerDefault.java | 164 int newlen=Math.min((id+256),IDENT_MAX_DTMS); local 166 DTM new_m_dtms[] = new DTM[newlen]; 169 int new_m_dtm_offsets[] = new int[newlen];
|
/external/openssl/ssl/ |
d1_pkt.c | 613 unsigned int newlen = rr->length + DTLS1_RT_HEADER_LENGTH; local 614 if ((pp=OPENSSL_realloc(s->s3->rbuf.buf, newlen))==NULL) 621 s->s3->rbuf.len=newlen; [all...] |
/bionic/libc/netbsd/resolv/ |
res_debug.c | 342 int n, newlen; local 346 newlen = strlen(name); 347 if (newlen == 0 || name[newlen - 1] != '.') { 348 if (newlen + 1 >= namelen) /* Lack space for final dot */ 351 strcpy(name + newlen, ".");
|
/bionic/libc/regex/ |
regcomp.c | 1417 sopno newlen; local [all...] |
/external/chromium/third_party/libevent/test/ |
regress.c | 1370 int oldlen, newlen; local 1373 newlen = EVBUFFER_LENGTH(tmp); 1375 integers[i], newlen - oldlen); 1453 int oldlen, newlen; local 1456 newlen = EVBUFFER_LENGTH(tmp); 1458 integers[i], newlen - oldlen); [all...] |
/external/llvm/lib/Support/ |
regcomp.c | 1425 sopno newlen; local [all...] |
/frameworks/base/core/java/android/text/ |
SpannableStringBuilder.java | 128 int newlen = ArrayUtils.idealCharArraySize(size + 1); local 129 char[] newtext = new char[newlen]; 135 newtext, newlen - after, after); 139 mSpanStarts[i] += newlen - mText.length; 141 mSpanEnds[i] += newlen - mText.length; [all...] |
/ndk/sources/host-tools/ndk-stack/regex/ |
regcomp.c | 1417 sopno newlen; local [all...] |
/external/dnsmasq/src/ |
option.c | 880 size_t newlen, len = 0; local 917 newlen = q - p; 923 newlen = tail - p; 927 len = newlen; [all...] |
/external/pcre/ |
pcregrep.c | 1110 unsigned long newlen = length * jfriedl_XT + strlen(jfriedl_prefix) + strlen(jfriedl_postfix); local 1112 ptr = malloc(newlen + 1); 1124 length = newlen; [all...] |
/prebuilt/common/http-client/ |
httpcore-4.1.jar | |
/bionic/libc/kernel/common/linux/ |
sysctl.h | 30 size_t newlen; member in struct:__sysctl_args
|
/development/ndk/platforms/android-3/include/linux/ |
sysctl.h | 30 size_t newlen; member in struct:__sysctl_args
|
/external/kernel-headers/original/linux/ |
sysctl.h | 39 size_t newlen; member in struct:__sysctl_args 913 void __user *newval, size_t newlen, 940 void __user *newval, size_t newlen); 945 void __user *newval, size_t newlen, void ** context);
|