Lines Matching refs:UCTItem
18 class UCTItem : public SharedObject { class
21 UCTItem(const char *x) : value(NULL) { in UCTItem() function in UCTItem
24 virtual ~UCTItem() { in ~UCTItem()
35 const UCTItem *LocaleCacheKey<UCTItem>::createObject( in createObject()
43 const UCTItem *item = NULL; in createObject()
47 cacheContext->get(LocaleCacheKey<UCTItem>(fLoc.getLanguage()), item, status); in createObject()
54 UCTItem *result = new UCTItem(fLoc.getName()); in createObject()
132 const UCTItem *usedReferences[] = {NULL, NULL, NULL, NULL, NULL}; in TestEvictionPolicy()
133 const UCTItem *unusedReference = NULL; in TestEvictionPolicy()
138 LocaleCacheKey<UCTItem>(locales[i]), in TestEvictionPolicy()
147 LocaleCacheKey<UCTItem>( in TestEvictionPolicy()
198 const UCTItem *en = NULL; in TestBounded()
199 const UCTItem *enGb = NULL; in TestBounded()
200 const UCTItem *enUs = NULL; in TestBounded()
201 const UCTItem *fr = NULL; in TestBounded()
202 const UCTItem *frFr = NULL; in TestBounded()
203 cache.get(LocaleCacheKey<UCTItem>("en_US"), &cache, enUs, status); in TestBounded()
204 cache.get(LocaleCacheKey<UCTItem>("en"), &cache, en, status); in TestBounded()
206 cache.get(LocaleCacheKey<UCTItem>("en_GB"), &cache, enGb, status); in TestBounded()
207 cache.get(LocaleCacheKey<UCTItem>("fr_FR"), &cache, frFr, status); in TestBounded()
208 cache.get(LocaleCacheKey<UCTItem>("fr"), &cache, fr, status); in TestBounded()
219 const UCTItem *throwAway = NULL; in TestBounded()
220 cache.get(LocaleCacheKey<UCTItem>("zn_AA"), &cache, throwAway, status); in TestBounded()
221 cache.get(LocaleCacheKey<UCTItem>("sr_AA"), &cache, throwAway, status); in TestBounded()
222 cache.get(LocaleCacheKey<UCTItem>("de_AU"), &cache, throwAway, status); in TestBounded()
224 const UCTItem *deAu(throwAway); in TestBounded()
236 cache.get(LocaleCacheKey<UCTItem>("en"), &cache, throwAway, status); in TestBounded()
240 cache.get(LocaleCacheKey<UCTItem>("en_US"), &cache, throwAway, status); in TestBounded()
244 cache.get(LocaleCacheKey<UCTItem>("en_GB"), &cache, throwAway, status); in TestBounded()
248 cache.get(LocaleCacheKey<UCTItem>("fr_FR"), &cache, throwAway, status); in TestBounded()
252 cache.get(LocaleCacheKey<UCTItem>("fr_FR"), &cache, throwAway, status); in TestBounded()
253 cache.get(LocaleCacheKey<UCTItem>("fr"), &cache, throwAway, status); in TestBounded()
257 cache.get(LocaleCacheKey<UCTItem>("de_AU"), &cache, throwAway, status); in TestBounded()
267 const UCTItem *es = NULL; in TestBounded()
268 const UCTItem *ru = NULL; in TestBounded()
269 cache.get(LocaleCacheKey<UCTItem>("es"), &cache, es, status); in TestBounded()
270 cache.get(LocaleCacheKey<UCTItem>("ru"), &cache, ru, status); in TestBounded()
303 const UCTItem *en = NULL; in TestBasic()
304 const UCTItem *enGb = NULL; in TestBasic()
305 const UCTItem *enGb2 = NULL; in TestBasic()
306 const UCTItem *enUs = NULL; in TestBasic()
307 const UCTItem *fr = NULL; in TestBasic()
308 const UCTItem *frFr = NULL; in TestBasic()
309 cache->get(LocaleCacheKey<UCTItem>("en"), en, status); in TestBasic()
310 cache->get(LocaleCacheKey<UCTItem>("en_US"), enUs, status); in TestBasic()
311 cache->get(LocaleCacheKey<UCTItem>("en_GB"), enGb, status); in TestBasic()
312 cache->get(LocaleCacheKey<UCTItem>("fr_FR"), frFr, status); in TestBasic()
313 cache->get(LocaleCacheKey<UCTItem>("fr"), fr, status); in TestBasic()
314 cache->get(LocaleCacheKey<UCTItem>("en_GB"), enGb2, status); in TestBasic()
358 const UCTItem *zh = NULL; in TestError()
359 const UCTItem *zhTw = NULL; in TestError()
360 const UCTItem *zhHk = NULL; in TestError()
363 cache->get(LocaleCacheKey<UCTItem>("zh"), zh, status); in TestError()
368 cache->get(LocaleCacheKey<UCTItem>("zh_TW"), zhTw, status); in TestError()
373 cache->get(LocaleCacheKey<UCTItem>("zh_HK"), zhHk, status); in TestError()
385 LocaleCacheKey<UCTItem> key1("en_US"); in TestHashEquals()
386 LocaleCacheKey<UCTItem> key2("en_US"); in TestHashEquals()
387 LocaleCacheKey<UCTItem> diffKey1("en_UT"); in TestHashEquals()