Lines Matching refs:Locale
218 * @param locales is the address of an array of locale name strings. This array,
219 * and the <code>Locale</code> objects to which it points, must remain valid until
232 * Construct an empty <code>LoIDRuns</code> object. Clients can add locale and limit
235 * @param initialCapacity is the initial size of the locale and limit indices arrays. If
252 * Get the name of the locale assoicated with the given run
258 * @return the locale name associated with the given text run.
267 * Add a <code>Locale</code> and limit index pair to the data arrays and return
272 * locale and limit indices arrays, this method will return a run index of -1.
275 * method which takes a locale name and a limit index along with whatever other data they implement.
279 * @param locale is the name of the locale to add. This object must remain valid
284 * @return the run index where the locale and limit index were stored, or -1 if the data cannot be stored.
288 le_int32 add(const char *locale, le_int32 limit);
314 Locale **fLocalesCopy;
329 static const Locale **getLocales(const char **localeNames, le_int32 count)
331 Locale **locales = LE_NEW_ARRAY(Locale *, count);
334 locales[i] = new Locale(Locale::createFromName(localeNames[i]));
337 return (const Locale **) locales;
383 le_int32 ULocRuns::add(const char *locale, le_int32 limit)
385 Locale *loc = new Locale(Locale::createFromName(locale));
391 localeNames[index] = (char *) locale;
492 const char *locale,
501 return lr->add(locale, limit);