| /third_party/icu/tools/colprobe/ |
| H A D | longname.cpp | 20 int32_t bufLen = 0; in main() local 23 bufLen = ucnv_fromUChars(conv, buffer, 256, UBuffer, uBufLen, &status); in main() 25 buffer[bufLen] = 0; in main() 30 bufLen = ucnv_fromUChars(conv, buffer, 256, UBuffer, uBufLen, &status); in main() 32 buffer[bufLen] = 0; in main() 38 bufLen = ucnv_fromUChars(conv, buffer, 256, UBuffer, uBufLen, &status); in main() 40 buffer[bufLen] = 0; in main()
|
| /third_party/FreeBSD/sys/compat/linuxkpi/common/src/ |
| H A D | tzdst.c | 53 STATIC VOID BufferInsert(CHAR *buf, size_t bufLen, size_t positions, CHAR data) in BufferInsert() argument 55 if (bufLen <= positions) { in BufferInsert() 58 if (memmove_s(&buf[positions + 1], bufLen - positions - 1, &buf[positions], bufLen - positions - 1) != EOK) { in BufferInsert() 79 STATIC BOOL TimezoneFormat(CHAR *standardString, size_t bufLen) in TimezoneFormat() argument 86 BufferInsert(standardString, bufLen, OPERATE_OFF, '+'); /* no operate is default to add */ in TimezoneFormat() 92 BufferInsert(standardString, bufLen, HOUR_HIGH_OFF, '0'); /* hour only one bit, padding 0 to high bit */ in TimezoneFormat() 99 BufferInsert(standardString, bufLen, MIN_HIGH_OFF, '0'); /* minute only one bit, padding 0 to high bit */ in TimezoneFormat() 103 BufferInsert(standardString, bufLen, HOUR_LOW_OFF + 1, ':'); in TimezoneFormat() 104 BufferInsert(standardString, bufLen, MIN_HIGH_OF in TimezoneFormat() [all...] |
| /third_party/icu/icu4c/source/samples/numfmt/ |
| H A D | util.cpp | 75 int32_t bufLen = str.extract(0, 0x7fffffff, stackBuffer, sizeof(stackBuffer), "UTF-8"); in uprintf() local 76 if(bufLen < sizeof(stackBuffer)) { in uprintf() 79 buf = new char[bufLen + 1]; in uprintf() 80 bufLen = str.extract(0, 0x7fffffff, buf, bufLen + 1, "UTF-8"); in uprintf()
|
| /third_party/skia/third_party/externals/icu/source/samples/numfmt/ |
| H A D | util.cpp | 75 int32_t bufLen = str.extract(0, 0x7fffffff, stackBuffer, sizeof(stackBuffer), "UTF-8"); in uprintf() local 76 if(bufLen < sizeof(stackBuffer)) { in uprintf() 79 buf = new char[bufLen + 1]; in uprintf() 80 bufLen = str.extract(0, 0x7fffffff, buf, bufLen + 1, "UTF-8"); in uprintf()
|
| /test/xts/device_attest_lite/services/core/network/ |
| H A D | attest_coap.c | 484 static int32_t CoapParseOptionExtension(uint16_t* value, const uint8_t** p, uint8_t* hlen, size_t bufLen) in CoapParseOptionExtension() argument 492 if (bufLen < *hlen) { in CoapParseOptionExtension() 503 if (bufLen < *hlen) { in CoapParseOptionExtension() 525 static int32_t CoapParseOption(CoapOption* option, uint16_t* runningDelta, const uint8_t** buf, size_t bufLen) in CoapParseOption() argument 536 if (bufLen < headLen) { in CoapParseOption() 543 if ((ret = CoapParseOptionExtension(&delta, &p, &headLen, bufLen)) != 0) { in CoapParseOption() 547 if ((ret = CoapParseOptionExtension(&len, &p, &headLen, bufLen)) != 0) { in CoapParseOption() 551 if ((p + 1 + len) > (*buf + bufLen)) { in CoapParseOption() 611 int32_t CoapDecode(CoapPacket* pkt, const uint8_t* buf, size_t bufLen) in CoapDecode() argument 614 if (pkt == NULL || buf == NULL || bufLen > MAX_MESSAGE_LE in CoapDecode() [all...] |
| /third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/charsetdet/ |
| H A D | DetectingViewer.java | 218 int bufLen = 0; in filter() 224 int bytesRead = in.read(buffer, bufLen, bytesRemaining); in filter() 230 bufLen += bytesRead; in filter() 242 for (int i = 0; i < bufLen; i += 1) { in filter() 248 if (openTag(buffer, i + 1, bufLen, scriptTag) || in filter() 249 openTag(buffer, i + 1, bufLen, styleTag)) { in filter() 251 } else if (closedTag(buffer, i + 1, bufLen, scriptTag) || in filter() 252 closedTag(buffer, i + 1, bufLen, styleTag)) { in filter()
|
| /third_party/node/test/parallel/ |
| H A D | test-fs-promises.js | 171 const bufLen = buf.length; 173 const ret = await handle.read(Buffer.alloc(bufLen), 0, 0, 0); 192 const bufLen = buf.length; 194 const ret = await handle.read(Buffer.alloc(bufLen), 0, bufLen, 0); 195 assert.strictEqual(ret.bytesRead, bufLen); 204 const bufLen = buf.length; 205 await handle.write(buf, 0, bufLen, 0); 206 const ret = await handle.read(Buffer.alloc(bufLen), 0, bufLen, [all...] |
| /third_party/icu/icu4c/source/test/intltest/ |
| H A D | nptrans.cpp | 159 int32_t bufLen = rsource.length(); in map() local 164 for(;bufIndex<bufLen;){ in map() 165 U16_NEXT(buffer, bufIndex, bufLen, ch); in map() 173 if(bufLen < destCapacity){ in map() 174 u_memcpy(dest, buffer, bufLen); in map() 177 return u_terminateUChars(dest, destCapacity, bufLen, &status); in map()
|
| H A D | ucaconf.cpp | 118 int32_t bufLen = (int32_t)uprv_strlen(buffer); in openTestFile() local 126 uprv_strcpy(buffer+bufLen, ext); in openTestFile() 131 uprv_strcpy(buffer+bufLen, "_SHORT"); in openTestFile() 136 uprv_strcpy(buffer+bufLen, "_STUB"); in openTestFile() 141 *(buffer+bufLen) = 0; in openTestFile()
|
| /third_party/skia/third_party/externals/icu/source/common/ |
| H A D | unifiedcache.h | 116 virtual char *writeDescription(char *buffer, int32_t bufLen) const { in writeDescription() 118 uprv_strncpy(buffer, s, bufLen); in writeDescription() 119 buffer[bufLen - 1] = 0; in writeDescription() 169 virtual char *writeDescription(char *buffer, int32_t bufLen) const { in writeDescription() 171 uprv_strncpy(buffer, s, bufLen); in writeDescription() 172 buffer[bufLen - 1] = 0; in writeDescription()
|
| /test/xts/device_attest_lite/services/core/small/attest/ |
| H A D | attest_service_pcid.c | 56 static int32_t EncodePcid(char *buff, int32_t bufLen, char **output) in EncodePcid() argument 58 if (output == NULL || buff == NULL || bufLen == 0) { in EncodePcid() 69 int32_t ret = Sha256Value((const uint8_t *)buff, bufLen, pcidSha256, PCID_STRING_LEN + 1); in EncodePcid()
|
| /third_party/icu/icu4c/source/common/ |
| H A D | unifiedcache.h | 118 virtual char *writeDescription(char *buffer, int32_t bufLen) const override { 120 uprv_strncpy(buffer, s, bufLen); 121 buffer[bufLen - 1] = 0; 169 virtual char *writeDescription(char *buffer, int32_t bufLen) const override { 171 uprv_strncpy(buffer, s, bufLen); 172 buffer[bufLen - 1] = 0;
|
| /third_party/node/deps/icu-small/source/common/ |
| H A D | unifiedcache.h | 118 virtual char *writeDescription(char *buffer, int32_t bufLen) const override { 120 uprv_strncpy(buffer, s, bufLen); 121 buffer[bufLen - 1] = 0; 169 virtual char *writeDescription(char *buffer, int32_t bufLen) const override { 171 uprv_strncpy(buffer, s, bufLen); 172 buffer[bufLen - 1] = 0;
|
| /test/xts/dcts/communication/softbus_standard/socket_trans/client/func/ |
| H A D | socket_trans_func_test.cpp | 228 .bufLen = I_FRAME_SIZE3 + 1,
in HWTEST_F() 235 .bufLen = P_FRAME_SIZE3 + 1,
in HWTEST_F() 252 LOG("###SendStream %.*s", streamIData.bufLen, streamIData.buf);
in HWTEST_F() 261 LOG("###SendStream %.*s", streamIData.bufLen, streamIData.buf);
in HWTEST_F() 370 .bufLen = I_FRAME_SIZE3 + 1,
in HWTEST_F() 378 .bufLen = P_FRAME_SIZE3 + 1,
in HWTEST_F() 395 LOG("###SendStream %.*s", streamIData.bufLen, streamIData.buf);
in HWTEST_F() 404 LOG("###SendStream %.*s", streamIData.bufLen, streamIData.buf);
in HWTEST_F()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/runtime/napi/etsnative/ |
| H A D | etsnative.cpp | 25 extern "C" ets_int ETS_GetCreatedVMs(EtsVM **vmBuf, ets_size bufLen, ets_size *nVms) in ETS_GetCreatedVMs() argument 27 return _internal_ETS_GetCreatedVMs(vmBuf, bufLen, nVms); in ETS_GetCreatedVMs()
|
| /third_party/icu/icu4c/source/test/perf/DateFmtPerf/ |
| H A D | DateFmtPerf.h | 134 int32_t bufLen = len + 16; in uprintf() local 136 buf = new char[bufLen + 1]; in uprintf() 137 actualLen = str.extract(0, len, buf/*, bufLen*/); // Default codepage conversion in uprintf() 220 int32_t bufLen = len + 16; in uprintf() local 222 buf = new char[bufLen + 1]; in uprintf() 223 actualLen = str.extract(0, len, buf/*, bufLen*/); // Default codepage conversion in uprintf() 670 int32_t bufLen = str.extract(0, 0x7fffffff, stackBuffer, sizeof(stackBuffer), "UTF-8"); in uprintf() local 671 if(bufLen < sizeof(stackBuffer)) { in uprintf() 674 buf = new char[bufLen + 1]; in uprintf() 675 bufLen in uprintf() [all...] |
| /third_party/node/deps/icu-small/source/tools/genrb/ |
| H A D | rle.h | 42 byteArrayToRLEString(const uint8_t* src,int32_t srcLen, uint16_t* buffer,int32_t bufLen, UErrorCode* status); 59 usArrayToRLEString(const uint16_t* src,int32_t srcLen,uint16_t* buffer, int32_t bufLen,UErrorCode* status);
|
| H A D | wrtxml.cpp | 403 int32_t bufLen = 0; in print() local 414 buf = convertAndEscape(&buf, bufCapacity, &bufLen, src, srcLen,status); in print() 416 trim(&buf,&bufLen); in print() 418 write_utf8_file(out,UnicodeString(buf, bufLen, "UTF-8")); in print() 499 int32_t bufLen = 0; in printComments() local 519 buf = convertAndEscape(&buf, 0, &bufLen, trans, transLen, status); in printComments() 521 printAttribute("translate", UnicodeString(buf, bufLen, "UTF-8"), bufLen); in printComments() 627 int32_t bufLen = 0; in string_write_xml() local 639 buf = convertAndEscape(&buf, 0, &bufLen, re in string_write_xml() 663 int32_t bufLen=0; alias_write_xml() local [all...] |
| /third_party/icu/icu4c/source/tools/genrb/ |
| H A D | rle.h | 42 byteArrayToRLEString(const uint8_t* src,int32_t srcLen, uint16_t* buffer,int32_t bufLen, UErrorCode* status); 59 usArrayToRLEString(const uint16_t* src,int32_t srcLen,uint16_t* buffer, int32_t bufLen,UErrorCode* status);
|
| H A D | wrtxml.cpp | 403 int32_t bufLen = 0; in print() local 414 buf = convertAndEscape(&buf, bufCapacity, &bufLen, src, srcLen,status); in print() 416 trim(&buf,&bufLen); in print() 418 write_utf8_file(out,UnicodeString(buf, bufLen, "UTF-8")); in print() 499 int32_t bufLen = 0; in printComments() local 519 buf = convertAndEscape(&buf, 0, &bufLen, trans, transLen, status); in printComments() 521 printAttribute("translate", UnicodeString(buf, bufLen, "UTF-8"), bufLen); in printComments() 627 int32_t bufLen = 0; in string_write_xml() local 639 buf = convertAndEscape(&buf, 0, &bufLen, re in string_write_xml() 663 int32_t bufLen=0; alias_write_xml() local [all...] |
| /third_party/skia/third_party/externals/icu/source/tools/genrb/ |
| H A D | rle.h | 42 byteArrayToRLEString(const uint8_t* src,int32_t srcLen, uint16_t* buffer,int32_t bufLen, UErrorCode* status); 59 usArrayToRLEString(const uint16_t* src,int32_t srcLen,uint16_t* buffer, int32_t bufLen,UErrorCode* status);
|
| H A D | wrtxml.cpp | 403 int32_t bufLen = 0; in print() local 414 buf = convertAndEscape(&buf, bufCapacity, &bufLen, src, srcLen,status); in print() 416 trim(&buf,&bufLen); in print() 418 write_utf8_file(out,UnicodeString(buf, bufLen, "UTF-8")); in print() 499 int32_t bufLen = 0; in printComments() local 519 buf = convertAndEscape(&buf, 0, &bufLen, trans, transLen, status); in printComments() 521 printAttribute("translate", UnicodeString(buf, bufLen, "UTF-8"), bufLen); in printComments() 627 int32_t bufLen = 0; in string_write_xml() local 639 buf = convertAndEscape(&buf, 0, &bufLen, re in string_write_xml() 663 int32_t bufLen=0; alias_write_xml() local [all...] |
| /third_party/mesa3d/src/egl/main/ |
| H A D | eglconfigdebug.c | 94 size_t bufLen = strlen(buf); in _strnAppend() local 96 maxAllowed = bufSize - bufLen; in _strnAppend() 100 (void) vsnprintf(&buf[bufLen], maxAllowed, fmt, args); in _strnAppend()
|
| /third_party/icu/icu4c/source/samples/translit/ |
| H A D | util.cpp | 59 // int32_t bufLen = str.extract(0, len, buf); // Preflight in uprintf() 62 int32_t bufLen = len + 16; in uprintf() local 64 buf = new char[bufLen + 1]; in uprintf() 65 actualLen = str.extract(0, len, buf/*, bufLen*/); // Default codepage conversion in uprintf()
|
| /third_party/icu/icu4c/source/samples/msgfmt/ |
| H A D | util.cpp | 59 // int32_t bufLen = str.extract(0, len, buf); // Preflight in uprintf() 62 int32_t bufLen = len + 16; in uprintf() local 64 buf = new char[bufLen + 1]; in uprintf() 65 actualLen = str.extract(0, len, buf/*, bufLen*/); // Default codepage conversion in uprintf()
|