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

1 2 3

  /external/icu/icu4c/source/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/icu/icu4c/source/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/icu/icu4c/source/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
  /external/icu/icu4c/source/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/chromium_org/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;
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 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/icu/icu4c/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 116 int32_t bufLen = (int32_t)uprv_strlen(buffer);
124 uprv_strcpy(buffer+bufLen, ext);
129 uprv_strcpy(buffer+bufLen, "_SHORT");
134 uprv_strcpy(buffer+bufLen, "_STUB");
139 *(buffer+bufLen) = 0;
210 int32_t buflen = u_parseString(lineB, buffer, 1024, &first, &status); local
216 buffer[buflen] = 0;
218 if(skipLineBecauseOfBug(buffer, buflen, skipFlags)) {
223 int32_t resLen = withSortKeys ? coll->getSortKey(buffer, buflen, newSk, 1024) : 0;
228 int32_t cmpres = coll->compare(oldB, oldBlen, buffer, buflen, status)
    [all...]
plurults.cpp 65 int32_t bufLen = us.extract((int32_t)0, us.length(), (char *)NULL, (uint32_t)0) + 1;
66 buf = (char *)uprv_malloc(bufLen);
67 us.extract(0, us.length(), buf, bufLen); };
    [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...]
  /frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/
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(buf, cursor, bufLen - cursor);
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.append(buf, cursor, bufLen - cursor);
239 return new String(buf, cursor, bufLen - cursor);
272 int bufLen = radix < 8 ? 65 : 23; // Max chars in result (conservative
    [all...]
  /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/chromium_org/third_party/icu/source/test/perf/DateFmtPerf/
DateFmtPerf.h 128 int32_t bufLen = len + 16;
130 buf = new char[bufLen + 1];
131 actualLen = str.extract(0, len, buf/*, bufLen*/); // Default codepage conversion
214 int32_t bufLen = len + 16;
216 buf = new char[bufLen + 1];
217 actualLen = str.extract(0, len, buf/*, bufLen*/); // Default codepage conversion
344 int32_t bufLen = str.extract(0, 0x7fffffff, stackBuffer, sizeof(stackBuffer), "UTF-8");
345 if(bufLen < sizeof(stackBuffer)) {
348 buf = new char[bufLen + 1];
349 bufLen = str.extract(0, 0x7fffffff, buf, bufLen + 1, "UTF-8")
    [all...]
  /external/icu/icu4c/source/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/chromium_org/third_party/icu/source/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/chromium_org/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/icu/icu4c/source/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 781 int32_t bufLen = (int32_t)strlen(testline)+10;
782 char* buf = (char*) malloc(bufLen);
866 T_FileStream_readLine(stream,buf,bufLen);
874 retLen = T_FileStream_read(stream, buf, bufLen);
    [all...]
  /external/icu/icu4c/source/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);
  /external/jhead/
main.c 510 static int addKeyValueString(char** buf, int bufLen, const char* key, const char* value) {
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) {
545 return addKeyValueString(buf, bufLen, key, valueStr)
    [all...]
  /external/chromium_org/net/third_party/nss/ssl/
ssl3ecc.c 224 unsigned int bufLen;
233 bufLen = 2*SSL3_RANDOM_LENGTH + ec_params.len + 1 + server_ecpoint.len;
234 if (bufLen <= sizeof buf) {
237 hashBuf = PORT_Alloc(bufLen);
253 PORT_Assert((unsigned int)(pBuf - hashBuf) == bufLen);
255 rv = ssl3_ComputeCommonKeyHash(hashAlg, hashBuf, bufLen, hashes,
258 PRINT_BUF(95, (NULL, "ECDHkey hash: ", hashBuf, bufLen));
    [all...]
  /external/chromium_org/third_party/libusb/src/libusb/os/
wince_usb.c 655 DWORD bufLen = transfer->length - sizeof(UKW_CONTROL_HEADER);
658 ret = UkwIssueControlTransfer(priv->dev, flags, setup, buf, bufLen, &transfer->actual_length, wfd.overlapped);
    [all...]
  /packages/apps/Nfc/nci/jni/
NativeNfcManager.cpp 51 extern void nativeNfcTag_doTransceiveStatus (tNFA_STATUS status, uint8_t * buf, uint32_t buflen);
749 size_t bufLen = bytes.size();
750 tNFA_STATUS status = NFA_SendRawFrame (buf, bufLen, 0);
770 size_t bufLen = bytes.size();
771 bool result = RoutingManager::getInstance().addAidRouting(buf, bufLen, route);
790 size_t bufLen = bytes.size();
791 bool result = RoutingManager::getInstance().removeAidRouting(buf, bufLen);
    [all...]

Completed in 1377 milliseconds

1 2 3