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

1 2

  /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.c 49 size_t bufLen = fileNameLen + suffixLen + 1;
52 buf = malloc(bufLen);
Ddm.c 354 int bufLen = 4 + 4 + (stringLen * 2);
355 u1 buf[bufLen];
363 dvmDbgDdmSendChunk(CHUNK_TYPE("THNM"), bufLen, buf);
496 int bufLen = kHeaderLen + threadCount * kBytesPerEntry;
497 u1 tmpBuf[bufLen];
536 ArrayObject* arrayObj = dvmAllocPrimitiveArray('B', bufLen, ALLOC_DEFAULT);
538 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");
  /libcore/luni/src/main/java/java/lang/
IntegralToString.java 138 int bufLen = radix < 8 ? 33 : 12; // Max chars in result (conservative)
139 char[] buf = new char[bufLen];
140 int cursor = bufLen;
152 return new String(cursor, bufLen - cursor, buf);
208 int bufLen = 11; // Max number of chars in result
209 char[] buf = (sb != null) ? BUFFER.get() : new char[bufLen];
210 int cursor = bufLen;
236 sb.append0(buf, cursor, bufLen - cursor);
239 return new String(cursor, bufLen - cursor, buf);
272 int bufLen = radix < 8 ? 65 : 23; // Max chars in result (conservative
    [all...]
  /external/chromium/third_party/icu/source/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 115 int32_t bufLen = (int32_t)uprv_strlen(buffer);
123 uprv_strcpy(buffer+bufLen, ext);
128 uprv_strcpy(buffer+bufLen, "_SHORT");
133 uprv_strcpy(buffer+bufLen, "_STUB");
138 *(buffer+bufLen) = 0;
166 int32_t buflen = 0, oldBlen = 0; local
180 buflen = offset;
183 resLen = ucol_getSortKey(coll, buffer, buflen, newSk, 1024);
189 cmpres = ucol_strcoll(coll, oldB, oldBlen, buffer, buflen);
190 cmpres2 = ucol_strcoll(coll, buffer, buflen, oldB, oldBlen)
    [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...]
  /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 115 int32_t bufLen = (int32_t)uprv_strlen(buffer);
123 uprv_strcpy(buffer+bufLen, ext);
128 uprv_strcpy(buffer+bufLen, "_SHORT");
133 uprv_strcpy(buffer+bufLen, "_STUB");
138 *(buffer+bufLen) = 0;
170 int32_t buflen = 0, oldBlen = 0; local
191 buflen = offset;
194 resLen = ucol_getSortKey(coll, buffer, buflen, newSk, 1024);
200 cmpres = ucol_strcoll(coll, oldB, oldBlen, buffer, buflen);
201 cmpres2 = ucol_strcoll(coll, buffer, buflen, oldB, oldBlen)
    [all...]
testidna.cpp 720 int32_t bufLen = 0;
723 bufLen = (int32_t)strlen(domainNames[i]);
724 bufLen = u_unescape(domainNames[i],buf, bufLen+1);
725 func(buf,bufLen,expected,MAX_DEST_SIZE, UIDNA_ALLOW_UNASSIGNED, &parseError,&status);
746 int32_t bufLen = 0;
749 bufLen = (int32_t)strlen(domainNames[i]);
750 bufLen = u_unescape(domainNames[i],buf, bufLen+1);
751 func(buf,bufLen,expected,MAX_DEST_SIZE, UIDNA_ALLOW_UNASSIGNED, &parseError,&status)
    [all...]
  /external/webkit/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);
  /dalvik/vm/alloc/
DdmHeap.c 181 size_t bufLen;
228 size_t bytesLeft = ctx->bufLen - (size_t)(ctx->p - ctx->buf);
233 bytesLeft = ctx->bufLen - (size_t)(ctx->p - ctx->buf);
368 ctx.bufLen = HPSx_CHUNK_SIZE;
369 ctx.buf = (u1 *)malloc(ctx.bufLen);
  /external/chromium/third_party/icu/source/common/
caniter.cpp 503 int32_t bufLen = 0;
543 //u_strcat(buff+bufLen, segment+i);
544 uprv_memcpy(buff+bufLen, segment+i, (segLen-i)*sizeof(UChar));
545 bufLen+=segLen-i;
556 U16_APPEND(buff, bufLen, bufSize, cp, overflow);
588 if (bufLen == 0) {
595 int32_t tempLen = inputLen + bufLen;
606 return getEquivalents2(fillinResult, buff, bufLen, status);
  /external/jhead/
main.c 474 static int addKeyValueString(char** buf, int bufLen, const char* key, const char* value) {
483 if (newLen >= bufLen) {
485 bufLen = newLen + 5;
486 LOGE("reallocing to %d", bufLen);
488 bufLen = newLen + 500;
490 *buf = realloc(*buf, bufLen);
496 snprintf(*buf + strlen(*buf), bufLen, "%s%s%s", key, valueLen, value);
501 return bufLen;
505 static int addKeyValueInt(char** buf, int bufLen, const char* key, int value) {
509 return addKeyValueString(buf, bufLen, key, valueStr)
    [all...]
  /external/chromium/third_party/icu/source/test/cintltst/
idnatest.c 461 int32_t bufLen = 0;
466 bufLen = (int32_t)strlen(domainNames[i]);
467 bufLen = u_unescape(domainNames[i],buf, bufLen+1);
468 func(buf,bufLen,expected,MAX_DEST_SIZE, UIDNA_ALLOW_UNASSIGNED, &parseError,&status);
490 int32_t bufLen = 0;
496 bufLen = (int32_t)strlen(domainNames[i]);
497 bufLen = u_unescape(domainNames[i],buf, bufLen+1);
498 func(buf,bufLen,expected,MAX_DEST_SIZE, UIDNA_ALLOW_UNASSIGNED, &parseError,&status)
    [all...]
crestst.c 779 int32_t bufLen = (int32_t)strlen(testline)+10;
780 char* buf = (char*) malloc(bufLen);
864 T_FileStream_readLine(stream,buf,bufLen);
872 retLen = T_FileStream_read(stream, buf, bufLen);
    [all...]
  /external/chromium/third_party/icu/source/tools/genrb/
wrtjava.c 232 uint32_t bufLen = 0;
244 bufLen = uCharsToChars(buf,length,src,srcLen,status);
254 if(bufLen+(tabCount*4) > columnCount ){
258 while(len < bufLen){
261 if (add < (bufLen-len)) {
285 if(len+add<bufLen){
290 T_FileStream_write(out,current,bufLen-len);
296 T_FileStream_write(out, buf,bufLen);
  /external/icu4c/test/cintltst/
idnatest.c 459 int32_t bufLen = 0;
464 bufLen = (int32_t)strlen(domainNames[i]);
465 bufLen = u_unescape(domainNames[i],buf, bufLen+1);
466 func(buf,bufLen,expected,MAX_DEST_SIZE, UIDNA_ALLOW_UNASSIGNED, &parseError,&status);
488 int32_t bufLen = 0;
494 bufLen = (int32_t)strlen(domainNames[i]);
495 bufLen = u_unescape(domainNames[i],buf, bufLen+1);
496 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 232 uint32_t bufLen = 0;
244 bufLen = uCharsToChars(buf,length,src,srcLen,status);
254 if(bufLen+(tabCount*4) > columnCount ){
258 while(len < bufLen){
261 if (add < (bufLen-len)) {
285 if(len+add<bufLen){
290 T_FileStream_write(out,current,bufLen-len);
296 T_FileStream_write(out, buf,bufLen);
  /dalvik/vm/analysis/
DexPrepare.c     [all...]
  /external/chromium/net/third_party/nss/ssl/
ssl3ecc.c 254 unsigned int bufLen;
263 bufLen = 2*SSL3_RANDOM_LENGTH + ec_params.len + 1 + server_ecpoint.len;
264 if (bufLen <= sizeof buf) {
267 hashBuf = PORT_Alloc(bufLen);
283 PORT_Assert((unsigned int)(pBuf - hashBuf) == bufLen);
285 rv = ssl3_ComputeCommonKeyHash(hashBuf, bufLen, hashes, bypassPKCS11);
287 PRINT_BUF(95, (NULL, "ECDHkey hash: ", hashBuf, bufLen));
    [all...]

Completed in 534 milliseconds

1 2