Lines Matching refs:UPRV_LENGTHOF

108     printUString("iterate forward through: ", input, UPRV_LENGTHOF(input));  in demo_utf_h_macros()
109 for(i=0; i<UPRV_LENGTHOF(input); /* U16_NEXT post-increments */) { in demo_utf_h_macros()
117 U16_NEXT(input, i, UPRV_LENGTHOF(input), c); in demo_utf_h_macros()
125 U16_APPEND(input, i, UPRV_LENGTHOF(input), 0x0062, isError); in demo_utf_h_macros()
127 printUString("iterate backward through: ", input, UPRV_LENGTHOF(input)); in demo_utf_h_macros()
128 for(i=UPRV_LENGTHOF(input); i>0; /* U16_PREV pre-decrements */) { in demo_utf_h_macros()
215 for(i=j=0; j<UPRV_LENGTHOF(buffer) && !isError; /* U16_NEXT post-increments */) { in demoCaseMapInC()
221 U16_APPEND(buffer, j, UPRV_LENGTHOF(buffer), c, isError); in demoCaseMapInC()
226 for(i=j=0; j<UPRV_LENGTHOF(buffer) && !isError; /* U16_NEXT post-increments */) { in demoCaseMapInC()
232 U16_APPEND(buffer, j, UPRV_LENGTHOF(buffer), c, isError); in demoCaseMapInC()
237 for(i=j=0; j<UPRV_LENGTHOF(buffer) && !isError; /* U16_NEXT post-increments */) { in demoCaseMapInC()
243 U16_APPEND(buffer, j, UPRV_LENGTHOF(buffer), c, isError); in demoCaseMapInC()
248 for(i=j=0; j<UPRV_LENGTHOF(buffer) && !isError; /* U16_NEXT post-increments */) { in demoCaseMapInC()
254 U16_APPEND(buffer, j, UPRV_LENGTHOF(buffer), c, isError); in demoCaseMapInC()
259 for(i=j=0; j<UPRV_LENGTHOF(buffer) && !isError; /* U16_NEXT post-increments */) { in demoCaseMapInC()
265 U16_APPEND(buffer, j, UPRV_LENGTHOF(buffer), c, isError); in demoCaseMapInC()
286 length=u_strToLower(buffer, UPRV_LENGTHOF(buffer), input, -1, "en", &errorCode); in demoCaseMapInC()
294 length=u_strToLower(buffer, UPRV_LENGTHOF(buffer), input, -1, "tr", &errorCode); in demoCaseMapInC()
302 length=u_strToUpper(buffer, UPRV_LENGTHOF(buffer), input, -1, "en", &errorCode); in demoCaseMapInC()
310 length=u_strToUpper(buffer, UPRV_LENGTHOF(buffer), input, -1, "tr", &errorCode); in demoCaseMapInC()
318 length=u_strToTitle(buffer, UPRV_LENGTHOF(buffer), input, -1, NULL, "en", &errorCode); in demoCaseMapInC()
326 length=u_strToTitle(buffer, UPRV_LENGTHOF(buffer), input, -1, NULL, "tr", &errorCode); in demoCaseMapInC()
334 length=u_strFoldCase(buffer, UPRV_LENGTHOF(buffer), input, -1, U_FOLD_CASE_DEFAULT, &errorCode); in demoCaseMapInC()
342 …length=u_strFoldCase(buffer, UPRV_LENGTHOF(buffer), input, -1, U_FOLD_CASE_EXCLUDE_SPECIAL_I, &err… in demoCaseMapInC()
429 one.setTo(readonly, UPRV_LENGTHOF(readonly)); in demoUnicodeStringStorage()
433 one+=UnicodeString(writeable, UPRV_LENGTHOF(writeable)); in demoUnicodeStringStorage()
444 UnicodeString three(FALSE, readonly, UPRV_LENGTHOF(readonly)); in demoUnicodeStringStorage()
456 one.setTo(FALSE, writeable, UPRV_LENGTHOF(writeable)); in demoUnicodeStringStorage()
469 UnicodeString four(writeable, UPRV_LENGTHOF(writeable), UPRV_LENGTHOF(writeable)); in demoUnicodeStringStorage()
486 one.setTo(writeable, UPRV_LENGTHOF(writeable), UPRV_LENGTHOF(writeable)); in demoUnicodeStringStorage()
500 if(one.length()<UPRV_LENGTHOF(writeable)) { in demoUnicodeStringStorage()
503 i=UPRV_LENGTHOF(writeable); in demoUnicodeStringStorage()
506 for(i=0; i<UPRV_LENGTHOF(writeable); ++i) { in demoUnicodeStringStorage()
569 buffer, UPRV_LENGTHOF(buffer)); in demoUnicodeStringInit()