Home
last modified time | relevance | path

Searched refs:uBuffer (Results 1 – 6 of 6) sorted by relevance

/external/icu/icu4c/source/test/iotest/
Diotest.cpp205 UChar uBuffer[512]; in DataDrivenPrintf() local
243 u_memset(uBuffer, 0x2A, UPRV_LENGTHOF(uBuffer)); in DataDrivenPrintf()
244 uBuffer[UPRV_LENGTHOF(uBuffer)-1] = 0; in DataDrivenPrintf()
262 uBufferLenReturned = u_sprintf_u(uBuffer, format, dbl); in DataDrivenPrintf()
267 uBufferLenReturned = u_sprintf_u(uBuffer, format, i8); in DataDrivenPrintf()
272 uBufferLenReturned = u_sprintf_u(uBuffer, format, i16); in DataDrivenPrintf()
277 uBufferLenReturned = u_sprintf_u(uBuffer, format, i32); in DataDrivenPrintf()
282 uBufferLenReturned = u_sprintf_u(uBuffer, format, i64); in DataDrivenPrintf()
287 uBufferLenReturned = u_sprintf_u(uBuffer, format, cBuffer); in DataDrivenPrintf()
291 uBufferLenReturned = u_sprintf_u(uBuffer, format, argument); in DataDrivenPrintf()
[all …]
Dstrtst.c253 UChar uBuffer[256]; in TestLocalizedString() local
266 u_uastrcpy(uBuffer,"1,234"); in TestLocalizedString()
268 if (u_strcmp(testStr, uBuffer) != 0) { in TestLocalizedString()
291 u_uastrcpy(uBuffer,"1.234"); in TestLocalizedString()
293 if (u_strcmp(testStr, uBuffer) != 0) { in TestLocalizedString()
363 u_memset(uBuffer, 0x2a, UPRV_LENGTHOF(uBuffer));\
366 uNumPrinted = u_sprintf(uBuffer, uFormat, uValue);\
367 u_austrncpy(compBuffer, uBuffer, UPRV_LENGTHOF(uBuffer));\
385 UChar uBuffer[256]; in TestSprintfFormat() local
498 …u_sprintf(uBuffer, reorderFormat,"truncateiftoolong", 99, 990099, "12345678901234567890", 10, 0x12… in TestSprintfFormat()
[all …]
Dfiletst.c1130 u_memset(uBuffer, 0x2a, UPRV_LENGTHOF(uBuffer));\
1136 u_fgets(uBuffer, UPRV_LENGTHOF(uBuffer), myFile);\
1138 u_austrncpy(compBuffer, uBuffer, UPRV_LENGTHOF(uBuffer));\
1154 UChar uBuffer[256]; in TestFprintfFormat() local
1268 u_memset(uBuffer, 0x2a, UPRV_LENGTHOF(uBuffer)); in TestFprintfFormat()
1274 u_fgets(uBuffer, UPRV_LENGTHOF(uBuffer), myFile); in TestFprintfFormat()
1276 u_austrncpy(compBuffer, uBuffer, UPRV_LENGTHOF(uBuffer)); in TestFprintfFormat()
1295 UChar uBuffer[256]; in TestFScanSetFormat() local
1307 u_memset(uBuffer, 0x2a, UPRV_LENGTHOF(uBuffer)); in TestFScanSetFormat()
1308 uBuffer[UPRV_LENGTHOF(uBuffer)-1] = 0; in TestFScanSetFormat()
[all …]
/external/icu/icu4c/source/io/
Dustream.cpp81 UChar uBuffer[16]; in operator >>() local
90 UChar *us = uBuffer; in operator >>()
91 const UChar *uLimit = uBuffer + UPRV_LENGTHOF(uBuffer); in operator >>()
109 us = uBuffer; in operator >>()
124 if (us != uBuffer) { in operator >>()
126 int32_t uBuffSize = static_cast<int32_t>(us-uBuffer); in operator >>()
129 U16_NEXT(uBuffer, uBuffIdx, uBuffSize, ch32); in operator >>()
/external/icu/icu4c/source/test/cintltst/
Dcreststn.c2293 UChar uBuffer[256]; in TestResourceLevelAliasing() local
2308 uBufferLen = u_unescape(strings[i], uBuffer, 256); in TestResourceLevelAliasing()
2309 if(resultLen != uBufferLen || u_strncmp(result, uBuffer, resultLen) != 0) { in TestResourceLevelAliasing()
2319 uBufferLen = u_unescape(strings[i], uBuffer, 256); in TestResourceLevelAliasing()
2320 … if(result==NULL || resultLen != uBufferLen || u_strncmp(result, uBuffer, resultLen) != 0) { in TestResourceLevelAliasing()
2330 uBufferLen = u_unescape(strings[i], uBuffer, 256); in TestResourceLevelAliasing()
2331 … if(result==NULL || resultLen != uBufferLen || u_strncmp(result, uBuffer, resultLen) != 0) { in TestResourceLevelAliasing()
2346 uBufferLen = u_unescape(strings[i], uBuffer, 256); in TestResourceLevelAliasing()
2347 … if(result==NULL || resultLen != uBufferLen || u_strncmp(result, uBuffer, resultLen) != 0) { in TestResourceLevelAliasing()
2357 uBufferLen = u_unescape(strings[i], uBuffer, 256); in TestResourceLevelAliasing()
[all …]
/external/icu/icu4c/source/tools/genrb/
Dparse.cpp1637 const UChar* uBuffer = NULL; in parseInclude() local
1695 uBuffer = ucbuf_getBuffer(ucbuf,&len,status); in parseInclude()
1696 result = string_open(state->bundle, tag, uBuffer, len, comment, status); in parseInclude()