• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/ICU-531.30/icuSources/i18n/

Lines Matching defs:names

102 // Tag for localized display names (symbols) of currencies
371 // recognize two variant names, EURO and PREEURO.
840 // Following are structure and function for parsing currency names
887 // Give a locale, return the maximum number of currency names associated with
889 // It gets currency names from resource bundles using fallback.
891 // currency names are duplicated.
892 // For example, given locale as "en_US", the currency names get from resource
894 // all currency names in "en_US" and "en".
911 UResourceBundle* names = ures_getByIndex(curr, i, NULL, &ec2);
913 s = ures_getStringByIndex(names, UCURR_SYMBOL_NAME, &len, &ec2);
936 ures_close(names);
944 UResourceBundle* names = ures_getByIndex(curr_p, i, NULL, &ec3);
945 *total_currency_name_count += ures_getSize(names);
946 ures_close(names);
974 // Collect all available currency names associated with the given locale
976 // Read currenc names defined in resource bundle "Currencies" and
979 // names in the array.
1025 UResourceBundle* names = ures_getByIndex(curr, i, NULL, &ec2);
1027 s = ures_getStringByIndex(names, UCURR_SYMBOL_NAME, &len, &ec2);
1029 iso = (char*)ures_getKey(names);
1034 ures_close(names);
1082 s = ures_getStringByIndex(names, UCURR_LONG_NAME, &len, &ec2);
1098 ures_close(names);
1106 UResourceBundle* names = ures_getByIndex(curr_p, i, NULL, &ec3);
1107 iso = (char*)ures_getKey(names);
1113 ures_close(names);
1119 int32_t num = ures_getSize(names);
1124 s = ures_getStringByIndex(names, j, &len, &ec3);
1131 ures_close(names);
1175 // @param currencyNames: currency names array
1176 // @param indexInCurrencyNames: the index of the character in currency names
1179 // @param begin(IN/OUT): the begin index of matching range in currency names array
1180 // @param end(IN/OUT): the end index of matching range in currency names array.
1316 // Find longest match between "text" and currency names in "currencyNames".
1317 // @param total_currency_count: total number of currency names in CurrencyNames.
1334 // For example, given the currency names in currencyNames array are:
1338 // the first char in currency names, and find the first char matching range
1341 // the 2nd char in currency names, and narrow the matching range to
1376 // currency names, case insensitive
1538 // case in-sensitive comparision against currency names
1543 printf("search in names, max = %d, matchIndex = %d\n", max, matchIndex);