/external/jhead/ |
H A D | main.c | 510 static int addKeyValueString(char** buf, int bufLen, const char* key, const char* value) { argument 519 if (newLen >= bufLen) { 521 bufLen = newLen + 5; 522 ALOGE("reallocing to %d", bufLen); 524 bufLen = newLen + 500; 526 *buf = realloc(*buf, bufLen); 532 snprintf(*buf + strlen(*buf), bufLen, "%s%s%s", key, valueLen, value); 537 return bufLen; 541 static int addKeyValueInt(char** buf, int bufLen, const char* key, int value) { argument 545 return addKeyValueString(buf, bufLen, ke 549 addKeyValueDouble(char** buf, int bufLen, const char* key, double value, const char* format) argument 557 addKeyValueRational(char** buf, int bufLen, const char* key, rat_t value) argument 577 int bufLen = 5; local 579 int bufLen = 1000; local [all...] |
/external/chromium_org/third_party/icu/source/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;
|
/external/icu/icu4c/source/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 | 400 int32_t bufLen = 0; local 411 buf = convertAndEscape(&buf, bufCapacity, &bufLen, src, srcLen,status); 413 trim(&buf,&bufLen); 415 write_utf8_file(out,UnicodeString(buf, bufLen, "UTF-8")); 492 int32_t bufLen = 0; local 511 buf = convertAndEscape(&buf, 0, &bufLen, trans, transLen, status); 513 printAttribute("translate", UnicodeString(buf, bufLen, "UTF-8"), bufLen); 620 int32_t bufLen = 0; local 632 buf = convertAndEscape(&buf, 0, &bufLen, re 656 int32_t bufLen=0; local [all...] |
/external/chromium_org/third_party/icu/source/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/icu/icu4c/source/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/chromium_org/third_party/icu/source/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/chromium_org/third_party/icu/source/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/chromium_org/third_party/icu/source/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/icu/icu4c/source/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/icu/icu4c/source/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/icu/icu4c/source/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/bluetooth/bluedroid/embdrv/sbc/decoder/include/ |
H A D | oi_utils.h | 228 * @param bufLen The length of the destination buffer. 235 OI_UINT16 bufLen, 244 * @param bufLen The length of the destination buffer. 253 OI_UINT16 bufLen,
|
/external/chromium_org/third_party/icu/source/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;
|
/external/icu/icu4c/source/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 | 116 int32_t bufLen = (int32_t)uprv_strlen(buffer); local 124 uprv_strcpy(buffer+bufLen, ext); 129 uprv_strcpy(buffer+bufLen, "_SHORT"); 134 uprv_strcpy(buffer+bufLen, "_STUB"); 139 *(buffer+bufLen) = 0;
|
/external/chromium_org/third_party/icu/source/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/icu/icu4c/source/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/chromium_org/third_party/icu/source/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);
|
/external/icu/icu4c/source/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);
|
/external/chromium_org/third_party/icu/source/common/ |
H A D | uloc.cpp | 926 int32_t bufLen; local 943 bufLen = (int32_t)uprv_strlen(buffer); 948 if(bufferCapacity<bufLen) { 968 return bufLen; 971 needLen = bufLen+1+keywordNameLen+1+keywordValueLen; 976 startSearchHere=buffer+bufLen; 1039 return bufLen; /* no change in size */ 1043 uprv_memmove(nextSeparator - delta, nextSeparator, bufLen-(nextSeparator-buffer)); 1046 bufLen -= delta; 1047 buffer[bufLen] [all...] |
/external/icu/icu4c/source/common/ |
H A D | uloc.cpp | 926 int32_t bufLen; local 943 bufLen = (int32_t)uprv_strlen(buffer); 948 if(bufferCapacity<bufLen) { 968 return bufLen; 971 needLen = bufLen+1+keywordNameLen+1+keywordValueLen; 976 startSearchHere=buffer+bufLen; 1039 return bufLen; /* no change in size */ 1043 uprv_memmove(nextSeparator - delta, nextSeparator, bufLen-(nextSeparator-buffer)); 1046 bufLen -= delta; 1047 buffer[bufLen] [all...] |