/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/webkit/Source/WebCore/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 | 34 policydb_t * policydb, void **newdata, size_t * newlen) 87 /* Update (newdata, newlen) */ 89 *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/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/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 */
|
/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...] |
/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/javassist/src/main/javassist/bytecode/ |
ByteStream.java | 187 int newLen = buf.length << 1; 188 byte[] newBuf = new byte[newLen > newCount ? newLen : newCount];
|
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
DerOutputStream.java | 105 int[][] newLen = new int[val.length * 2][]; 106 System.arraycopy(len, 0, newLen, 0, val.length); 107 len = 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;
|
/ndk/sources/host-tools/sed-4.2.1/sed/ |
utils.c | 550 static void resize_buffer P_((struct buffer *b, size_t newlen)); 552 resize_buffer(b, newlen) 554 size_t newlen; 559 if (newlen <= alen) 562 if (newlen < alen) 566 alen = newlen;
|