Lines Matching defs:to
41 const UChar *isoCode; /* const because it's a reference to a resource bundle string. */
43 UDate to;
49 // Default currency meta data of last resort. We try to use the
79 // Tag for map from countries to currencies, in root.
124 // EquivIterator iterates over all strings that are equivalent to a given
192 // Neither lhs or rhs belong to an equivalence circle, so we form
197 // lhs belongs to an equivalence circle, but rhs does not, so we link
202 // rhs belongs to an equivlance circle, but lhs does not, so we link
207 // Both lhs and rhs belong to different equivalnce circles. We link
208 // them together to form one single, larger equivalnce circle.
222 // countEquivalent counts how many strings are equivalent to s.
291 * Unfortunately, we have to convert the UChar* currency code to char*
292 * to use it as a resource key.
302 * Internal function to look up currency data. Result is an array of
484 /* This doesn't need to be thread safe. It's for u_cleanup only. */
561 // there is a currency keyword. Try to see if it's valid
563 /* Normalize the currency keyword value to upper case. */
600 that the country changed over to the Euro in the future. This is probably
618 // We don't know about it. Check to see if we support the variant.
624 // There is nothing to fallback to. Report the failure/warning if possible.
719 /* Normalize the keyword value to uppercase */
734 // If we've succeeded we're done. Otherwise, try to fallback.
760 // If we fail to find a match, use the ISO 4217 code
813 // fall back to "other"
818 // fall back to long name in Currencies
825 // If we've succeeded we're done. Otherwise, try to fallback.
836 // If we fail to find a match, use the ISO 4217 code
848 // TODO: a better way to define this?
1025 // Using hash to remove duplicates caused by locale fallback
1099 // put (iso, 3, and iso) in to array
1118 // Using hash to remove duplicated ISO codes in fallback chain.
1197 // @param key: input text char to compare against
1302 return -1; // failed to find range.
1309 // @param textLen: the length of the text to be compared
1337 // @param textLen: the length of the text to be compared
1358 // to be "B BB BBEX BBEXYZ BS" (and the maximum matching "B").
1360 // the 2nd char in currency names, and narrow the matching range to
1376 // find an exact match for text from text[0] to text[index]
1402 // reference count is set to 1 when an entry is put to cache.
1414 // Using an index to indicate which entry to be replaced when cache is full.
1474 // in order to handle racing correctly,
1509 // insert new entry to
1603 * format is applied to the number 2.0 (to yield the more common
1604 * plural) to return a static name.
2018 { NULL, 0 } // Leave here to denote the end of the list.
2120 // get to date
2123 UResourceBundle *toRes = ures_getByKey(currencyRes, "to", NULL, &localStatus);
2139 entry->to = toDate;
2224 ucurr_isAvailable(const UChar* isoCode, UDate from, UDate to, UErrorCode* eErrorCode) {
2233 } else if (from > to) {
2236 } else if ((from > result->to) || (to < result->from)) {
2305 // process each currency to see which one is valid for the given date
2325 UResourceBundle *toRes = ures_getByKey(currencyRes, "to", NULL, &localStatus);
2359 // There is nothing to fallback to.
2420 // process each currency to see which one is valid for the given date
2449 UResourceBundle *toRes = ures_getByKey(currencyRes, "to", NULL, &localStatus);
2497 // There is nothing to fallback to.
2573 UResourceBundle bundlekey, regbndl, curbndl, to;
2577 ures_initStackObject(&to);
2629 ures_getByKey(&curbndl, "to", &to, status);
2678 ures_close(&to);