/bionic/libc/upstream-netbsd/libc/stdio/ |
getdelim.c | 61 size_t len, newlen, off; local 93 newlen = off + len; 95 if (newlen < off || newlen > SSIZE_MAX) { 99 newlen++; /* reserve space for the NULL terminator */ 100 if (newlen > *buflen) { 101 if (newlen < MINBUF) 102 newlen = MINBUF; 103 if (!powerof2(newlen)) { 105 newlen-- [all...] |
/external/chromium_org/third_party/icu/source/test/perf/usetperf/ |
bitset.cpp | 51 uint32_t newLen = len; 52 while (newLen < minLen) newLen <<= 1; // grow exponentially 53 int32_t* newData = (int32_t*) uprv_malloc(newLen * BYTES_PER_WORD); 58 int32_t* limit = data + newLen; 60 len = newLen;
|
/external/icu4c/test/perf/usetperf/ |
bitset.cpp | 51 uint32_t newLen = len; 52 while (newLen < minLen) newLen <<= 1; // grow exponentially 53 int32_t* newData = (int32_t*) uprv_malloc(newLen * BYTES_PER_WORD); 58 int32_t* limit = data + newLen; 60 len = newLen;
|
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/ |
IDList.java | 45 public int newLen = 0; 52 newLen = 0; 69 if (newLen == 0 || newList[newLen-1] != idx) 71 newList[newLen++] = idx; 92 System.arraycopy(newList, 0, oldList, 0, newLen); 93 oldLen = newLen; 94 newLen = 0; 101 if (newLen > 0){ 103 for (int i = 0; i < newLen; i++) [all...] |
/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...] |
/external/llvm/test/Transforms/SimplifyCFG/ |
unreachable-blocks.ll | 12 %newlen = sub i32 %newlen, 1 14 %test = icmp sgt i32 %newlen, 0
|
/external/chromium_org/third_party/WebKit/Source/core/platform/text/ |
LineEnding.cpp | 100 size_t newLen = 0; 107 newLen += 2; 111 newLen += 2; 114 newLen += 1; 117 if (newLen < from.length()) 120 if (newLen == from.length()) { 126 char* q = buffer.allocate(newLen); 158 size_t newLen = 0; 172 newLen += 1; 178 result.grow(oldResultSize + newLen); [all...] |
/external/libsepol/src/ |
policydb_convert.c | 35 policydb_t * policydb, void **newdata, size_t * newlen) 88 /* Update (newdata, newlen) */ 90 *newlen = tmp_len;
|
policydb_public.c | 173 size_t * newlen) 175 return policydb_to_image(handle, &p->p, newdata, newlen);
|
/external/dhcpcd/compat/ |
getline.c | 44 size_t bytes, newlen; local 59 newlen = *buflen + BUFSIZ; 60 newbuf = realloc(*buf, newlen); 64 *buflen = newlen;
|
/external/openssh/ |
auth2-passwd.c | 55 u_int len, newlen; local 61 newpass = packet_get_string(&newlen); 62 memset(newpass, 0, newlen);
|
buffer.c | 105 u_int newlen; local 129 newlen = roundup(buffer->alloc + len, BUFFER_ALLOCSZ); 130 if (newlen > BUFFER_MAX_LEN) 132 newlen); 133 buffer->buf = xrealloc(buffer->buf, 1, newlen); 134 buffer->alloc = newlen;
|
/external/libsepol/include/sepol/ |
users.h | 13 policy for the new user configurations. Sets '*newdata' and '*newlen' 17 void **newdata, size_t * newlen);
|
/external/libsepol/man/man3/ |
sepol_genusers.3 | 7 .BI "int sepol_genusers(void *" data ", size_t "len ", const char *" usersdir ", void *" newdata ", size_t *" newlen); 29 .I newlen
|
/external/chromium_org/third_party/openssl/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/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/llvm/test/CodeGen/X86/ |
segmented-stacks-dynamic.ll | 19 %newlen = sub i32 %l, 1 20 %retvalue = call i32 @test_basic(i32 %newlen)
|
/external/openssh/openbsd-compat/ |
port-linux.c | 182 int len, newlen; local 207 newlen = strlen(oldctx) + strlen(newname) + 1; 208 newctx = xmalloc(newlen); 211 strlcpy(newctx + len, newname, newlen - len); 213 strlcat(newctx, cx, newlen);
|
/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 */
|
/system/core/toolbox/ |
mount.c | 68 int newlen; local 72 newlen = extra->used_size + len; 74 if (newlen >= extra->alloc_size) { 77 new = realloc(extra->str, newlen + 1); /* +1 for NUL */ 83 extra->alloc_size = newlen + 1;
|
/external/elfutils/libcpu/ |
i386_parse.y | [all...] |
/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/chromium_org/v8/src/ |
arraybuffer.js | 76 var newLen = fin - first; 78 var result = new $ArrayBuffer(newLen);
|
/system/core/toolbox/grep/ |
file.c | 127 grep_lnbufgrow(size_t newlen) 130 if (lnbuflen < newlen) { 131 lnbuf = grep_realloc(lnbuf, newlen); 132 lnbuflen = newlen;
|