Home
last modified time | relevance | path

Searched refs:currBuffer (Results 1 – 2 of 2) sorted by relevance

/third_party/icu/docs/userguide/collation/
Dapi.md390 char* currBuffer = buffer;
396 expectedLen = ucol_getSortKey(coll, source[i], -1, currBuffer, bufferLen);
398 if (currBuffer == buffer) {
399 currBuffer = (char*)malloc(expectedLen);
401 currBuffer = (char*)realloc(currBuffer, expectedLen);
404 bufferLen = ucol_getSortKey(coll, source[i], -1, currBuffer, expectedLen);
406 processSortKey(i, currBuffer, bufferLen);
409 if (currBuffer != buffer && currBuffer != NULL) {
410 free(currBuffer);
/third_party/icu/icu4c/source/test/cintltst/
Dcnmdptst.c786 UChar currBuffer[256]; in TestCurrencyKeywords() local
796 u_charsToUChars(currencies[j], currBuffer, 3); in TestCurrencyKeywords()
797 currBuffer[3] = 0; in TestCurrencyKeywords()
798 if(u_strcmp(currBuffer, result) != 0) { in TestCurrencyKeywords()