/external/jhead/ |
H A D | main.c | 481 static int addKeyValueString(char** buf, int bufLen, const char* key, const char* value) { argument 490 if (newLen >= bufLen) { 492 bufLen = newLen + 5; 493 ALOGE("reallocing to %d", bufLen); 495 bufLen = newLen + 500; 497 *buf = realloc(*buf, bufLen); 503 snprintf(*buf + strlen(*buf), bufLen, "%s%s%s", key, valueLen, value); 508 return bufLen; 512 static int addKeyValueInt(char** buf, int bufLen, const char* key, int value) { argument 516 return addKeyValueString(buf, bufLen, ke 520 addKeyValueDouble(char** buf, int bufLen, const char* key, double value, const char* format) argument 528 addKeyValueRational(char** buf, int bufLen, const char* key, rat_t value) argument 548 int bufLen = 5; local 550 int bufLen = 1000; local [all...] |
/external/icu4c/tools/genrb/ |
H A D | rle.h | 40 byteArrayToRLEString(const uint8_t* src,int32_t srcLen, uint16_t* buffer,int32_t bufLen, UErrorCode* status); 57 usArrayToRLEString(const uint16_t* src,int32_t srcLen,uint16_t* buffer, int32_t bufLen,UErrorCode* status);
|
H A D | wrtxml.cpp | 390 int32_t bufLen = 0; local 401 buf = convertAndEscape(&buf, bufCapacity, &bufLen, src, srcLen,status); 403 trim(&buf,&bufLen); 405 write_utf8_file(out,UnicodeString(buf, bufLen, "UTF-8")); 482 int32_t bufLen = 0; local 501 buf = convertAndEscape(&buf, 0, &bufLen, trans, transLen, status); 503 printAttribute("translate", UnicodeString(buf, bufLen, "UTF-8"), bufLen); 610 int32_t bufLen = 0; local 622 buf = convertAndEscape(&buf, 0, &bufLen, re 646 int32_t bufLen=0; local [all...] |
H A D | rle.c | 148 usArrayToRLEString(const uint16_t* src,int32_t srcLen,uint16_t* buffer, int32_t bufLen,UErrorCode* status) { argument 149 uint16_t* bufLimit = buffer+bufLen; 194 byteArrayToRLEString(const uint8_t* src,int32_t srcLen, uint16_t* buffer,int32_t bufLen, UErrorCode* status) { argument 196 uint16_t* bufLimit = buffer+bufLen;
|
H A D | wrtjava.c | 231 uint32_t bufLen = 0; local 243 bufLen = uCharsToChars(buf,length,src,srcLen,status); 253 if(bufLen+(tabCount*4) > columnCount ){ 257 while(len < bufLen){ 260 if (add < (bufLen-len)) { 284 if(len+add<bufLen){ 289 T_FileStream_write(out,current,bufLen-len); 295 T_FileStream_write(out, buf,bufLen);
|
/external/icu4c/samples/numfmt/ |
H A D | util.cpp | 66 int32_t bufLen = str.extract(0, 0x7fffffff, stackBuffer, sizeof(stackBuffer), "UTF-8"); local 67 if(bufLen < sizeof(stackBuffer)) { 70 buf = new char[bufLen + 1]; 71 bufLen = str.extract(0, 0x7fffffff, buf, bufLen + 1, "UTF-8");
|
/external/icu4c/samples/datefmt/ |
H A D | util.cpp | 53 // int32_t bufLen = str.extract(0, len, buf); // Preflight 56 int32_t bufLen = len + 16; local 58 buf = new char[bufLen + 1]; 59 actualLen = str.extract(0, len, buf/*, bufLen*/); // Default codepage conversion
|
/external/icu4c/samples/msgfmt/ |
H A D | util.cpp | 53 // int32_t bufLen = str.extract(0, len, buf); // Preflight 56 int32_t bufLen = len + 16; local 58 buf = new char[bufLen + 1]; 59 actualLen = str.extract(0, len, buf/*, bufLen*/); // Default codepage conversion
|
/external/icu4c/samples/translit/ |
H A D | util.cpp | 53 // int32_t bufLen = str.extract(0, len, buf); // Preflight 56 int32_t bufLen = len + 16; local 58 buf = new char[bufLen + 1]; 59 actualLen = str.extract(0, len, buf/*, bufLen*/); // Default codepage conversion
|
/external/icu4c/test/intltest/ |
H A D | nptrans.cpp | 160 int32_t bufLen = rsource.length(); local 165 for(;bufIndex<bufLen;){ 166 U16_NEXT(buffer, bufIndex, bufLen, ch); 174 if(bufLen < destCapacity){ 175 uprv_memcpy(dest,buffer,bufLen*U_SIZEOF_UCHAR); 178 return u_terminateUChars(dest, destCapacity, bufLen, &status);
|
H A D | ucaconf.cpp | 114 int32_t bufLen = (int32_t)uprv_strlen(buffer); local 122 uprv_strcpy(buffer+bufLen, ext); 127 uprv_strcpy(buffer+bufLen, "_SHORT"); 132 uprv_strcpy(buffer+bufLen, "_STUB"); 137 *(buffer+bufLen) = 0;
|
H A D | testidna.cpp | 721 int32_t bufLen = 0; local 724 bufLen = (int32_t)strlen(domainNames[i]); 725 bufLen = u_unescape(domainNames[i],buf, bufLen+1); 726 func(buf,bufLen,expected,MAX_DEST_SIZE, UIDNA_ALLOW_UNASSIGNED, &parseError,&status); 747 int32_t bufLen = 0; local 750 bufLen = (int32_t)strlen(domainNames[i]); 751 bufLen = u_unescape(domainNames[i],buf, bufLen+1); 752 func(buf,bufLen,expecte 901 int32_t bufLen=0; local [all...] |
H A D | tsmthred.cpp | 1106 size_t bufLen = strlen(buffer); local 1114 strcpy(buffer+bufLen, ext); 1119 strcpy(buffer+bufLen, "_SHORT"); 1124 strcpy(buffer+bufLen, "_STUB"); 1129 *(buffer+bufLen) = 0;
|
/external/icu4c/test/perf/DateFmtPerf/ |
H A D | DateFmtPerf.h | 129 int32_t bufLen = len + 16; local 131 buf = new char[bufLen + 1]; 132 actualLen = str.extract(0, len, buf/*, bufLen*/); // Default codepage conversion 215 int32_t bufLen = len + 16; local 217 buf = new char[bufLen + 1]; 218 actualLen = str.extract(0, len, buf/*, bufLen*/); // Default codepage conversion 345 int32_t bufLen = str.extract(0, 0x7fffffff, stackBuffer, sizeof(stackBuffer), "UTF-8"); local 346 if(bufLen < sizeof(stackBuffer)) { 349 buf = new char[bufLen + 1]; 350 bufLen [all...] |
/external/icu4c/tools/toolutil/ |
H A D | toolutil.h | 90 * @param bufLen the output buffer length 91 * @param status error code- may return U_BUFFER_OVERFLOW_ERROR if bufLen is too small. 92 * @return If successful, a pointer to the output buffer. If failure or bufLen is too small, NULL. 95 findDirname(const char *path, char *buffer, int32_t bufLen, UErrorCode* status);
|
H A D | toolutil.cpp | 115 findDirname(const char *path, char *buffer, int32_t bufLen, UErrorCode* status) { argument 139 if((resultLen+1) <= bufLen) {
|
/external/icu4c/common/ |
H A D | uloc.cpp | 920 int32_t bufLen; local 937 bufLen = (int32_t)uprv_strlen(buffer); 942 if(bufferCapacity<bufLen) { 962 return bufLen; 965 needLen = bufLen+1+keywordNameLen+1+keywordValueLen; 970 startSearchHere=buffer+bufLen; 1033 return bufLen; /* no change in size */ 1037 uprv_memmove(nextSeparator - delta, nextSeparator, bufLen-(nextSeparator-buffer)); 1040 bufLen -= delta; 1041 buffer[bufLen] [all...] |
H A D | locid.cpp | 997 Locale::getKeywordValue(const char* keywordName, char *buffer, int32_t bufLen, UErrorCode &status) const argument 999 return uloc_getKeywordValue(fullName, keywordName, buffer, bufLen, &status);
|
/external/webkit/Source/WebCore/bridge/jni/ |
H A D | JNIUtility.cpp | 37 static jint KJSGetCreatedJavaVMs(JavaVM** vmBuf, jsize bufLen, jsize* nVMs) argument 51 return functionPointer(vmBuf, bufLen, nVMs); 71 jsize bufLen = 1; local 76 jniError = KJSGetCreatedJavaVMs(jvmArray, bufLen, &nJVMs);
|
/external/icu4c/test/cintltst/ |
H A D | idnatest.c | 462 int32_t bufLen = 0; local 467 bufLen = (int32_t)strlen(domainNames[i]); 468 bufLen = u_unescape(domainNames[i],buf, bufLen+1); 469 func(buf,bufLen,expected,MAX_DEST_SIZE, UIDNA_ALLOW_UNASSIGNED, &parseError,&status); 491 int32_t bufLen = 0; local 497 bufLen = (int32_t)strlen(domainNames[i]); 498 bufLen = u_unescape(domainNames[i],buf, bufLen+1); 499 func(buf,bufLen,expecte [all...] |
H A D | crestst.c | 782 int32_t bufLen = (int32_t)strlen(testline)+10; local 783 char* buf = (char*) malloc(bufLen); 867 T_FileStream_readLine(stream,buf,bufLen); 875 retLen = T_FileStream_read(stream, buf, bufLen);
|
H A D | capitst.c | 393 int32_t bufLen = 200000; 396 tempLength = ucol_getRulesEx(col,UCOL_TAILORING_ONLY,buffer,bufLen ); 401 tempLength=ucol_getRulesEx(col,UCOL_FULL_RULES,buffer,bufLen ); 2104 int32_t bufLen; local 2107 bufLen = u_unescape(inSet, buffer, 512); 2108 uset_applyPattern(set, buffer, bufLen, 0, status); 2118 bufLen = u_unescape(outSet, buffer, 512); 2119 uset_applyPattern(set, buffer, bufLen, 0, status);
|
/external/icu4c/i18n/ |
H A D | ucol_sit.cpp | 729 addSpecial(contContext *context, UChar *buffer, int32_t bufLen, argument 742 addSpecial(context, buffer, bufLen, newCE, leftIndex, rightIndex, status); 764 addSpecial(context, buffer, bufLen, newCE, leftIndex, rightIndex, status); 776 if(rightIndex == bufLen-1) { 784 addSpecial(context, buffer, bufLen, newCE, leftIndex, rightIndex+1, status);
|
/external/icu4c/test/perf/collationperf/ |
H A D | collperf.cpp | 1378 int bufLen = 10000; local 1379 UChar *buf = (UChar *)malloc(bufLen * sizeof(UChar)); 1392 if (i >= bufLen) { 1394 bufLen += 10000; 1395 buf = (UChar *)realloc(buf, bufLen);
|
/external/chromium/crypto/third_party/nss/ |
H A D | sha512.cc | 1302 dumpHash32(const unsigned char *buf, unsigned int bufLen) argument 1305 for (i = 0; i < bufLen; i += 4) { 1325 dumpHash64(const unsigned char *buf, unsigned int bufLen) argument 1328 for (i = 0; i < bufLen; i += 8) {
|