HomeSort by relevance Sort by last modified time
    Searched defs:newlen (Results 1 - 25 of 91) sorted by null

1 2 3 4

  /external/dhcpcd/compat/
getline.c 44 size_t bytes, newlen; local
59 newlen = *buflen + BUFSIZ;
60 newbuf = realloc(*buf, newlen);
64 *buflen = newlen;
  /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/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/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/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/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 */
  /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/chromium_org/third_party/icu/source/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;
  /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;
  /external/mdnsresponder/mDNSShared/
dnssd_clientlib.c 221 unsigned long newlen = txtRec->datalen + keyvalsize; local
222 if (newlen > 0xFFFF) return(kDNSServiceErr_Invalid);
223 newbuf = malloc((size_t)newlen);
228 txtRec->buflen = (uint16_t)(newlen);
  /ndk/sources/host-tools/make-3.81/
expand.c 60 register unsigned int newlen = length + (ptr - variable_buffer); local
62 if ((newlen + VARIABLE_BUFFER_ZONE) > variable_buffer_length)
65 variable_buffer_length = (newlen + 100 > 2 * variable_buffer_length
66 ? newlen + 100
  /system/core/libutils/
String8.cpp 604 int newlen = strlen(name); local
606 char* buf = lockBuffer(len+1+newlen);
612 memcpy(buf+len, name, newlen+1);
613 len += newlen;
  /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/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/mdnsresponder/mDNSPosix/
Responder.c 581 unsigned int newlen = textLen + 1 + len; local
582 if (len == 0 || newlen >= sizeof(text)) break;
585 textLen = newlen;
  /system/extras/ext4_utils/
make_ext4fs.c 409 int newlen = len; local
417 newlen++;
420 newlen++;
422 ret = malloc(newlen + 1);
439 if (ptr != ret + newlen) {
  /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/upstream-netbsd/libc/regex/
regcomp.c 1832 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/chromium_org/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...]

Completed in 1047 milliseconds

1 2 3 4