/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;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
IntArray.java | 174 private int[] resizedInts(int newLen) 176 int[] newInts = new int[newLen]; 178 int copyLen = oldLen < newLen ? oldLen : 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);
|
/frameworks/base/core/java/android/net/nsd/ |
DnsSdTxtRecord.java | 172 int newLen, avLen; 179 newLen = avLen + oldBytes.length + 1; 181 mData = new byte[newLen]; 184 System.arraycopy(oldBytes, insertion, mData, newLen - secondHalfLen, secondHalfLen);
|
/external/webkit/Source/WebCore/html/ |
HTMLSelectElement.cpp | 483 void HTMLSelectElement::setLength(unsigned newLen, ExceptionCode& ec) 486 if (newLen > maxSelectItems) 487 newLen = maxSelectItems; 488 int diff = length() - newLen; 507 if (item->hasLocalName(optionTag) && optionIndex++ >= newLen) {
|
/external/libsepol/include/sepol/ |
policydb.h | 125 void **newdata, size_t * newlen);
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Array/ |
15.4.5.2-2.js | 82 // verify that items between old and newlen are all undefined
|
/frameworks/native/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;
|
/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
|
/external/libsepol/src/ |
genusers.c | 283 const char *usersdir, void **newdata, size_t * newlen) 300 if (policydb_to_image(NULL, &policydb, newdata, newlen) < 0)
|
/external/elfutils/libcpu/ |
i386_parse.c | [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/openssl/patches/ |
small_records.patch | 13 + unsigned int newlen = rr->length + DTLS1_RT_HEADER_LENGTH; 14 + if ((pp=OPENSSL_realloc(s->s3->rbuf.buf, newlen))==NULL) 21 + s->s3->rbuf.len=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, ".");
|
/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/icu4c/test/intltest/ |
reptest.cpp | 121 void fixStyles(int32_t start, int32_t limit, int32_t newLen) { 132 for (int i = 0; i < newLen; ++i) {
|
/frameworks/base/core/java/android/text/ |
SpannableStringBuilder.java | 455 final int newLen = tbend - tbstart; 457 if (origLen == 0 && newLen == 0 && !hasNonExclusiveExclusiveSpanAt(tb, tbstart)) { 464 sendBeforeTextChanged(textWatchers, start, origLen, newLen); 469 boolean adjustSelection = origLen != 0 && newLen != 0; 481 final int offset = (selectionStart - start) * newLen / origLen; 488 final int offset = (selectionEnd - start) * newLen / origLen; 496 sendTextChanged(textWatchers, start, origLen, newLen); 500 sendToSpanWatchers(start, end, newLen - origLen); [all...] |
/libcore/luni/src/main/java/java/io/ |
CharArrayWriter.java | 84 int newLen = Math.max(2 * buf.length, count + i); 85 char[] newbuf = new char[newLen];
|
/external/icu4c/test/cintltst/ |
cintltst.c | 247 int32_t newLen; 258 newLen = strlen(toAppend)+1+oldLen; 260 if(newLen > 1022) 262 newPath = (char *)ctst_malloc(newLen);
|
utransts.c | 95 int32_t newLen = Xlength(rep) + limit - start + textLength; 96 UChar* newText = (UChar*) malloc(sizeof(UChar) * (newLen+1)); 107 int32_t newLen = Xlength(rep) + limit - start; 108 UChar* newText = (UChar*) malloc(sizeof(UChar) * (newLen+1));
|
/external/jhead/ |
main.c | 489 int newLen = strlen(*buf) + len; 490 if (newLen >= bufLen) { 492 bufLen = newLen + 5; 495 bufLen = newLen + 500;
|
/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);
|
/external/llvm/lib/Support/ |
regcomp.c | 1425 sopno newlen; local [all...] |
/ndk/sources/host-tools/ndk-stack/regex/ |
regcomp.c | 1417 sopno newlen; local [all...] |
/external/aac/libSBRdec/src/ |
env_dec.cpp | 609 int refLen, newLen, shift; 615 newLen = pFrameInfo->borders[1] - estimatedStartPos; 617 if (newLen <= 0) { 621 newLen = refLen; 625 deltaExp = FDK_getNumOctavesDiv8(newLen, refLen);
|