Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/iotest/
Diotest.cpp202 UChar uBuffer[512]; in DataDrivenPrintf() local
240 u_memset(uBuffer, 0x2A, sizeof(uBuffer)/sizeof(uBuffer[0])); in DataDrivenPrintf()
241 uBuffer[sizeof(uBuffer)/sizeof(uBuffer[0])-1] = 0; in DataDrivenPrintf()
259 uBufferLenReturned = u_sprintf_u(uBuffer, format, dbl); in DataDrivenPrintf()
264 uBufferLenReturned = u_sprintf_u(uBuffer, format, i8); in DataDrivenPrintf()
269 uBufferLenReturned = u_sprintf_u(uBuffer, format, i16); in DataDrivenPrintf()
274 uBufferLenReturned = u_sprintf_u(uBuffer, format, i32); in DataDrivenPrintf()
279 uBufferLenReturned = u_sprintf_u(uBuffer, format, i64); in DataDrivenPrintf()
284 uBufferLenReturned = u_sprintf_u(uBuffer, format, cBuffer); in DataDrivenPrintf()
288 uBufferLenReturned = u_sprintf_u(uBuffer, format, argument); in DataDrivenPrintf()
[all …]
Dstrtst.c250 UChar uBuffer[256]; in TestLocalizedString() local
263 u_uastrcpy(uBuffer,"1,234"); in TestLocalizedString()
265 if (u_strcmp(testStr, uBuffer) != 0) { in TestLocalizedString()
288 u_uastrcpy(uBuffer,"1.234"); in TestLocalizedString()
290 if (u_strcmp(testStr, uBuffer) != 0) { in TestLocalizedString()
360 u_memset(uBuffer, 0x2a, sizeof(uBuffer)/sizeof(*uBuffer));\
363 uNumPrinted = u_sprintf(uBuffer, uFormat, uValue);\
364 u_austrncpy(compBuffer, uBuffer, sizeof(uBuffer)/sizeof(uBuffer[0]));\
382 UChar uBuffer[256]; in TestSprintfFormat() local
495 …u_sprintf(uBuffer, reorderFormat,"truncateiftoolong", 99, 990099, "12345678901234567890", 10, 0x12… in TestSprintfFormat()
[all …]
Dfiletst.c1127 u_memset(uBuffer, 0x2a, sizeof(uBuffer)/sizeof(*uBuffer));\
1133 u_fgets(uBuffer, sizeof(uBuffer)/sizeof(*uBuffer), myFile);\
1135 u_austrncpy(compBuffer, uBuffer, sizeof(uBuffer)/sizeof(*uBuffer));\
1151 UChar uBuffer[256]; in TestFprintfFormat() local
1265 u_memset(uBuffer, 0x2a, sizeof(uBuffer)/sizeof(*uBuffer)); in TestFprintfFormat()
1271 u_fgets(uBuffer, sizeof(uBuffer)/sizeof(*uBuffer), myFile); in TestFprintfFormat()
1273 u_austrncpy(compBuffer, uBuffer, sizeof(uBuffer)/sizeof(*uBuffer)); in TestFprintfFormat()
1292 UChar uBuffer[256]; in TestFScanSetFormat() local
1304 u_memset(uBuffer, 0x2a, sizeof(uBuffer)/sizeof(*uBuffer)); in TestFScanSetFormat()
1305 uBuffer[sizeof(uBuffer)/sizeof(*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 + sizeof(uBuffer)/sizeof(*uBuffer); in operator >>()
109 us = uBuffer; in operator >>()
124 if (us != uBuffer) { in operator >>()
126 int32_t uBuffSize = us-uBuffer; in operator >>()
129 U16_NEXT(uBuffer, uBuffIdx, uBuffSize, ch32); in operator >>()
/external/icu/icu4c/source/test/cintltst/
Dcreststn.c2288 UChar uBuffer[256]; in TestResourceLevelAliasing() local
2303 uBufferLen = u_unescape(strings[i], uBuffer, 256); in TestResourceLevelAliasing()
2304 if(resultLen != uBufferLen || u_strncmp(result, uBuffer, resultLen) != 0) { in TestResourceLevelAliasing()
2314 uBufferLen = u_unescape(strings[i], uBuffer, 256); in TestResourceLevelAliasing()
2315 … if(result==NULL || resultLen != uBufferLen || u_strncmp(result, uBuffer, resultLen) != 0) { in TestResourceLevelAliasing()
2325 uBufferLen = u_unescape(strings[i], uBuffer, 256); in TestResourceLevelAliasing()
2326 … if(result==NULL || resultLen != uBufferLen || u_strncmp(result, uBuffer, resultLen) != 0) { in TestResourceLevelAliasing()
2341 uBufferLen = u_unescape(strings[i], uBuffer, 256); in TestResourceLevelAliasing()
2342 … if(result==NULL || resultLen != uBufferLen || u_strncmp(result, uBuffer, resultLen) != 0) { in TestResourceLevelAliasing()
2352 uBufferLen = u_unescape(strings[i], uBuffer, 256); in TestResourceLevelAliasing()
[all …]
/external/icu/icu4c/source/tools/genrb/
Dparse.cpp1630 const UChar* uBuffer = NULL; in parseInclude() local
1688 uBuffer = ucbuf_getBuffer(ucbuf,&len,status); in parseInclude()
1689 result = string_open(state->bundle, tag, uBuffer, len, comment, status); in parseInclude()