Home
last modified time | relevance | path

Searched refs:myContext (Results 1 – 4 of 4) sorted by relevance

/external/icu4c/common/
Ducnv_io.c765 UAliasContext *myContext = (UAliasContext *)(enumerator->context); in ucnv_io_countStandardAliases() local
766 uint32_t listOffset = myContext->listOffset; in ucnv_io_countStandardAliases()
779 UAliasContext *myContext = (UAliasContext *)(enumerator->context); in ucnv_io_nextStandardAliases() local
780 uint32_t listOffset = myContext->listOffset; in ucnv_io_nextStandardAliases()
786 if (myContext->listIdx < listCount) { in ucnv_io_nextStandardAliases()
787 const char *myStr = GET_STRING(currList[myContext->listIdx++]); in ucnv_io_nextStandardAliases()
836 UAliasContext *myContext; in ucnv_openStandardNames() local
844 myContext = uprv_malloc(sizeof(UAliasContext)); in ucnv_openStandardNames()
845 if (myContext == NULL) { in ucnv_openStandardNames()
850 myContext->listOffset = listOffset; in ucnv_openStandardNames()
[all …]
Duresbund.c2111 ULocalesContext *myContext = NULL; in ures_openAvailableLocales() local
2116 myContext = uprv_malloc(sizeof(ULocalesContext)); in ures_openAvailableLocales()
2118 if(!en || !myContext) { in ures_openAvailableLocales()
2121 uprv_free(myContext); in ures_openAvailableLocales()
2126 ures_initStackObject(&myContext->installed); in ures_openAvailableLocales()
2127 ures_initStackObject(&myContext->curr); in ures_openAvailableLocales()
2129 ures_getByKey(index, INDEX_TAG, &myContext->installed, status); in ures_openAvailableLocales()
2133 path, INDEX_LOCALE_NAME, INDEX_TAG, ures_getKey(&myContext->installed)); in ures_openAvailableLocales()
2135 en->context = myContext; in ures_openAvailableLocales()
2140 ures_close(&myContext->installed); in ures_openAvailableLocales()
[all …]
Duloc.c1472 UKeywordsContext *myContext = NULL; in uloc_openKeywordList() local
1480 myContext = uprv_malloc(sizeof(UKeywordsContext)); in uloc_openKeywordList()
1481 if (myContext == NULL) { in uloc_openKeywordList()
1486 myContext->keywords = (char *)uprv_malloc(keywordListSize+1); in uloc_openKeywordList()
1487 uprv_memcpy(myContext->keywords, keywordList, keywordListSize); in uloc_openKeywordList()
1488 myContext->keywords[keywordListSize] = 0; in uloc_openKeywordList()
1489 myContext->current = myContext->keywords; in uloc_openKeywordList()
1490 result->context = myContext; in uloc_openKeywordList()
/external/icu4c/i18n/
Ducurr.cpp1039 UCurrencyContext *myContext = (UCurrencyContext *)(enumerator->context); in ucurr_countCurrencyList() local
1040 uint32_t currType = myContext->currType; in ucurr_countCurrencyList()
1057 UCurrencyContext *myContext = (UCurrencyContext *)(enumerator->context); in ucurr_nextCurrencyList() local
1060 while (myContext->listIdx < (sizeof(gCurrencyList)/sizeof(gCurrencyList[0]))-1) { in ucurr_nextCurrencyList()
1061 const struct CurrencyList *currItem = &gCurrencyList[myContext->listIdx++]; in ucurr_nextCurrencyList()
1062 if (UCURR_MATCHES_BITMASK(currItem->currType, myContext->currType)) in ucurr_nextCurrencyList()
1102 UCurrencyContext *myContext; in ucurr_openISOCurrencies() local
1110 myContext = (UCurrencyContext*)uprv_malloc(sizeof(UCurrencyContext)); in ucurr_openISOCurrencies()
1111 if (myContext == NULL) { in ucurr_openISOCurrencies()
1116 myContext->currType = currType; in ucurr_openISOCurrencies()
[all …]