Lines Matching refs:UCTItem

16 class UCTItem : public SharedObject {  class
19 UCTItem(const char *x) : value(NULL) { in UCTItem() function in UCTItem
22 virtual ~UCTItem() { in ~UCTItem()
33 const UCTItem *LocaleCacheKey<UCTItem>::createObject( in createObject()
41 const UCTItem *item = NULL; in createObject()
45 cacheContext->get(LocaleCacheKey<UCTItem>(fLoc.getLanguage()), item, status); in createObject()
52 UCTItem *result = new UCTItem(fLoc.getName()); in createObject()
130 const UCTItem *usedReferences[] = {NULL, NULL, NULL, NULL, NULL}; in TestEvictionPolicy()
131 const UCTItem *unusedReference = NULL; in TestEvictionPolicy()
136 LocaleCacheKey<UCTItem>(locales[i]), in TestEvictionPolicy()
145 LocaleCacheKey<UCTItem>( in TestEvictionPolicy()
196 const UCTItem *en = NULL; in TestBounded()
197 const UCTItem *enGb = NULL; in TestBounded()
198 const UCTItem *enUs = NULL; in TestBounded()
199 const UCTItem *fr = NULL; in TestBounded()
200 const UCTItem *frFr = NULL; in TestBounded()
201 cache.get(LocaleCacheKey<UCTItem>("en_US"), &cache, enUs, status); in TestBounded()
202 cache.get(LocaleCacheKey<UCTItem>("en"), &cache, en, status); in TestBounded()
204 cache.get(LocaleCacheKey<UCTItem>("en_GB"), &cache, enGb, status); in TestBounded()
205 cache.get(LocaleCacheKey<UCTItem>("fr_FR"), &cache, frFr, status); in TestBounded()
206 cache.get(LocaleCacheKey<UCTItem>("fr"), &cache, fr, status); in TestBounded()
217 const UCTItem *throwAway = NULL; in TestBounded()
218 cache.get(LocaleCacheKey<UCTItem>("zn_AA"), &cache, throwAway, status); in TestBounded()
219 cache.get(LocaleCacheKey<UCTItem>("sr_AA"), &cache, throwAway, status); in TestBounded()
220 cache.get(LocaleCacheKey<UCTItem>("de_AU"), &cache, throwAway, status); in TestBounded()
222 const UCTItem *deAu(throwAway); in TestBounded()
234 cache.get(LocaleCacheKey<UCTItem>("en"), &cache, throwAway, status); in TestBounded()
238 cache.get(LocaleCacheKey<UCTItem>("en_US"), &cache, throwAway, status); in TestBounded()
242 cache.get(LocaleCacheKey<UCTItem>("en_GB"), &cache, throwAway, status); in TestBounded()
246 cache.get(LocaleCacheKey<UCTItem>("fr_FR"), &cache, throwAway, status); in TestBounded()
250 cache.get(LocaleCacheKey<UCTItem>("fr_FR"), &cache, throwAway, status); in TestBounded()
251 cache.get(LocaleCacheKey<UCTItem>("fr"), &cache, throwAway, status); in TestBounded()
255 cache.get(LocaleCacheKey<UCTItem>("de_AU"), &cache, throwAway, status); in TestBounded()
265 const UCTItem *es = NULL; in TestBounded()
266 const UCTItem *ru = NULL; in TestBounded()
267 cache.get(LocaleCacheKey<UCTItem>("es"), &cache, es, status); in TestBounded()
268 cache.get(LocaleCacheKey<UCTItem>("ru"), &cache, ru, status); in TestBounded()
301 const UCTItem *en = NULL; in TestBasic()
302 const UCTItem *enGb = NULL; in TestBasic()
303 const UCTItem *enGb2 = NULL; in TestBasic()
304 const UCTItem *enUs = NULL; in TestBasic()
305 const UCTItem *fr = NULL; in TestBasic()
306 const UCTItem *frFr = NULL; in TestBasic()
307 cache->get(LocaleCacheKey<UCTItem>("en"), en, status); in TestBasic()
308 cache->get(LocaleCacheKey<UCTItem>("en_US"), enUs, status); in TestBasic()
309 cache->get(LocaleCacheKey<UCTItem>("en_GB"), enGb, status); in TestBasic()
310 cache->get(LocaleCacheKey<UCTItem>("fr_FR"), frFr, status); in TestBasic()
311 cache->get(LocaleCacheKey<UCTItem>("fr"), fr, status); in TestBasic()
312 cache->get(LocaleCacheKey<UCTItem>("en_GB"), enGb2, status); in TestBasic()
356 const UCTItem *zh = NULL; in TestError()
357 const UCTItem *zhTw = NULL; in TestError()
358 const UCTItem *zhHk = NULL; in TestError()
361 cache->get(LocaleCacheKey<UCTItem>("zh"), zh, status); in TestError()
366 cache->get(LocaleCacheKey<UCTItem>("zh_TW"), zhTw, status); in TestError()
371 cache->get(LocaleCacheKey<UCTItem>("zh_HK"), zhHk, status); in TestError()
383 LocaleCacheKey<UCTItem> key1("en_US"); in TestHashEquals()
384 LocaleCacheKey<UCTItem> key2("en_US"); in TestHashEquals()
385 LocaleCacheKey<UCTItem> diffKey1("en_UT"); in TestHashEquals()