/external/icu4c/samples/datefmt/ |
util.cpp | 53 // int32_t bufLen = str.extract(0, len, buf); // Preflight 56 int32_t bufLen = len + 16; 58 buf = new char[bufLen + 1]; 59 actualLen = str.extract(0, len, buf/*, bufLen*/); // Default codepage conversion
|
/external/icu4c/samples/msgfmt/ |
util.cpp | 53 // int32_t bufLen = str.extract(0, len, buf); // Preflight 56 int32_t bufLen = len + 16; 58 buf = new char[bufLen + 1]; 59 actualLen = str.extract(0, len, buf/*, bufLen*/); // Default codepage conversion
|
/external/icu4c/samples/translit/ |
util.cpp | 53 // int32_t bufLen = str.extract(0, len, buf); // Preflight 56 int32_t bufLen = len + 16; 58 buf = new char[bufLen + 1]; 59 actualLen = str.extract(0, len, buf/*, bufLen*/); // Default codepage conversion
|
/dalvik/vm/ |
JarFile.cpp | 51 size_t bufLen = fileNameLen + suffixLen + 1; 54 buf = (char*)malloc(bufLen);
|
Ddm.cpp | 322 int bufLen = 4 + 4 + (stringLen * 2); 323 u1 buf[bufLen]; 332 dvmDbgDdmSendChunk(CHUNK_TYPE("THNM"), bufLen, buf); 376 int bufLen = kHeaderLen + threadCount * kBytesPerEntry; 377 u1 tmpBuf[bufLen]; 415 ArrayObject* arrayObj = dvmAllocPrimitiveArray('B', bufLen, ALLOC_DEFAULT); 417 memcpy(arrayObj->contents, tmpBuf, bufLen);
|
/external/icu4c/samples/numfmt/ |
util.cpp | 66 int32_t bufLen = str.extract(0, 0x7fffffff, stackBuffer, sizeof(stackBuffer), "UTF-8"); 67 if(bufLen < sizeof(stackBuffer)) { 70 buf = new char[bufLen + 1]; 71 bufLen = str.extract(0, 0x7fffffff, buf, bufLen + 1, "UTF-8");
|
/external/icu4c/test/intltest/ |
nptrans.cpp | 160 int32_t bufLen = rsource.length(); 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);
|
ucaconf.cpp | 114 int32_t bufLen = (int32_t)uprv_strlen(buffer); 122 uprv_strcpy(buffer+bufLen, ext); 127 uprv_strcpy(buffer+bufLen, "_SHORT"); 132 uprv_strcpy(buffer+bufLen, "_STUB"); 137 *(buffer+bufLen) = 0; 216 int32_t buflen = u_parseString(lineB, buffer, 1024, &first, &status); local 222 buffer[buflen] = 0; 224 if(skipLineBecauseOfBug(buffer, buflen, skipFlags)) { 229 int32_t resLen = coll->getSortKey(buffer, buflen, newSk, 1024); 233 int32_t cmpres = coll->compare(oldB, oldBlen, buffer, buflen, status) [all...] |
testidna.cpp | 721 int32_t bufLen = 0; 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; 750 bufLen = (int32_t)strlen(domainNames[i]); 751 bufLen = u_unescape(domainNames[i],buf, bufLen+1); 752 func(buf,bufLen,expected,MAX_DEST_SIZE, UIDNA_ALLOW_UNASSIGNED, &parseError,&status) [all...] |
tsmthred.cpp | 989 int32_t buflen; member in struct:Line 1039 if(lines[i].buflen == 0) { continue; } 1041 if(skipLineBecauseOfBug(lines[i].buff, lines[i].buflen)) { continue; } 1043 int32_t resLen = coll->getSortKey(lines[i].buff, lines[i].buflen, newSk, 1024); 1047 int32_t cmpres = coll->compare(lines[prev].buff, lines[prev].buflen, lines[i].buff, lines[i].buflen); 1048 int32_t cmpres2 = coll->compare(lines[i].buff, lines[i].buflen, lines[prev].buff, lines[prev].buflen); 1156 int32_t buflen = u_parseString(buffer, bufferU, 1024, &first, &status); local [all...] |
/external/webkit/Source/WebCore/bridge/jni/ |
JNIUtility.cpp | 37 static jint KJSGetCreatedJavaVMs(JavaVM** vmBuf, jsize bufLen, jsize* nVMs) 51 return functionPointer(vmBuf, bufLen, nVMs); 71 jsize bufLen = 1; 76 jniError = KJSGetCreatedJavaVMs(jvmArray, bufLen, &nJVMs);
|
/libcore/luni/src/main/java/java/lang/ |
IntegralToString.java | 145 int bufLen = radix < 8 ? 33 : 12; // Max chars in result (conservative) 146 char[] buf = new char[bufLen]; 147 int cursor = bufLen; 159 return new String(cursor, bufLen - cursor, buf); 215 int bufLen = 11; // Max number of chars in result 216 char[] buf = (sb != null) ? BUFFER.get() : new char[bufLen]; 217 int cursor = bufLen; 243 sb.append0(buf, cursor, bufLen - cursor); 246 return new String(cursor, bufLen - cursor, buf); 279 int bufLen = radix < 8 ? 65 : 23; // Max chars in result (conservative [all...] |
/external/icu4c/test/perf/DateFmtPerf/ |
DateFmtPerf.h | 129 int32_t bufLen = len + 16; 131 buf = new char[bufLen + 1]; 132 actualLen = str.extract(0, len, buf/*, bufLen*/); // Default codepage conversion 215 int32_t bufLen = len + 16; 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"); 346 if(bufLen < sizeof(stackBuffer)) { 349 buf = new char[bufLen + 1]; 350 bufLen = str.extract(0, 0x7fffffff, buf, bufLen + 1, "UTF-8") [all...] |
/external/jhead/ |
main.c | 481 static int addKeyValueString(char** buf, int bufLen, const char* key, const char* value) { 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) { 516 return addKeyValueString(buf, bufLen, key, valueStr) [all...] |
/dalvik/vm/alloc/ |
DdmHeap.cpp | 181 size_t bufLen; 222 size_t bytesLeft = ctx->bufLen - (size_t)(ctx->p - ctx->buf); 226 bytesLeft = ctx->bufLen - (size_t)(ctx->p - ctx->buf); 399 ctx.bufLen = HPSx_CHUNK_SIZE; 400 ctx.buf = (u1 *)malloc(ctx.bufLen);
|
/external/icu4c/test/cintltst/ |
idnatest.c | 462 int32_t bufLen = 0; 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; 497 bufLen = (int32_t)strlen(domainNames[i]); 498 bufLen = u_unescape(domainNames[i],buf, bufLen+1); 499 func(buf,bufLen,expected,MAX_DEST_SIZE, UIDNA_ALLOW_UNASSIGNED, &parseError,&status) [all...] |
crestst.c | 782 int32_t bufLen = (int32_t)strlen(testline)+10; 783 char* buf = (char*) malloc(bufLen); 867 T_FileStream_readLine(stream,buf,bufLen); 875 retLen = T_FileStream_read(stream, buf, bufLen); [all...] |
/external/icu4c/tools/genrb/ |
wrtjava.c | 231 uint32_t bufLen = 0; 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);
|
wrtxml.cpp | 390 int32_t bufLen = 0; 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; 501 buf = convertAndEscape(&buf, 0, &bufLen, trans, transLen, status); 503 printAttribute("translate", UnicodeString(buf, bufLen, "UTF-8"), bufLen); 610 int32_t bufLen = 0; 622 buf = convertAndEscape(&buf, 0, &bufLen, res->u.fString.fChars, res->u.fString.fLength, status) [all...] |
/dalvik/vm/analysis/ |
DexPrepare.cpp | [all...] |
/packages/apps/Nfc/nci/jni/ |
NativeNfcTag.cpp | 765 ** bufLen: Length of buffer. 770 void nativeNfcTag_doTransceiveStatus (uint8_t* buf, uint32_t bufLen) 772 ALOGD ("%s: data len=%d, waiting for transceive: %d", __FUNCTION__, bufLen, sWaitingForTransceive); 777 if (bufLen) 779 if (NULL == (sTransceiveData = (uint8_t *) malloc (bufLen))) 785 memcpy (sTransceiveData, buf, sTransceiveDataLen = bufLen); 836 size_t bufLen = bytes.size(); 863 tNFA_STATUS status = NFA_SendRawFrame (buf, bufLen, NFA_DM_DEFAULT_PRESENCE_CHECK_START_DELAY); [all...] |
/bootable/recovery/minzip/ |
Zip.c | 736 int bufLen; 743 if (dataLen <= args->bufLen) { 746 args->bufLen -= dataLen; 756 char *buf, int bufLen) 762 args.bufLen = bufLen; 858 int bufLen; 874 if (needLen > helper->bufLen) { 883 helper->bufLen = needLen; 978 helper.bufLen = 0 [all...] |
/external/icu4c/common/ |
uloc.cpp | [all...] |
/external/icu4c/test/perf/collationperf/ |
collperf.cpp | [all...] |
/frameworks/base/media/libdrm/mobile1/src/objmng/ |
drm_api.c | 142 static int32_t getMimeType(const uint8_t *buf, int32_t bufLen) 146 if (NULL == buf || bufLen <= 0) 156 if (bufLen >= 2 && '-' == *p && '-' == *(p + 1)) 160 if (bufLen >= 12 && 0 == strncmp("<o-ex:rights", (char *)p, 12)) 164 if (bufLen >= 2 && 0x03 == *p && 0x0e == *(p + 1)) 711 int32_t dataLen, bufLen; 724 bufLen = DRM_MAX_MALLOC_LEN; 726 bufLen = dataLen; 728 buf = (uint8_t *)malloc(bufLen); 733 if (0 >= data.readInputData(data.inputHandle, buf, bufLen)) { [all...] |