Home
last modified time | relevance | path

Searched refs:pResData (Results 1 – 6 of 6) sorted by relevance

/external/icu4c/common/
Duresdata.c41 #define RES_GET_KEY16(pResData, keyOffset) \ argument
42 ((keyOffset)<(pResData)->localKeyLimit ? \
43 (const char *)(pResData)->pRoot+(keyOffset) : \
44 (pResData)->poolBundleKeys+(keyOffset)-(pResData)->localKeyLimit)
46 #define RES_GET_KEY32(pResData, keyOffset) \ argument
48 (const char *)(pResData)->pRoot+(keyOffset) : \
49 (pResData)->poolBundleKeys+((keyOffset)&0x7fffffff))
68 _res_findTableItem(const ResourceData *pResData, const uint16_t *keyOffsets, int32_t length, in _res_findTableItem() argument
79 tableKey = RES_GET_KEY16(pResData, keyOffsets[mid]); in _res_findTableItem()
80 if (pResData->useNativeStrcmp) { in _res_findTableItem()
[all …]
Duresdata.h324 res_read(ResourceData *pResData,
333 res_load(ResourceData *pResData,
341 res_unload(ResourceData *pResData);
352 res_getString(const ResourceData *pResData, Resource res, int32_t *pLength);
355 res_getAlias(const ResourceData *pResData, Resource res, int32_t *pLength);
358 res_getBinary(const ResourceData *pResData, Resource res, int32_t *pLength);
361 res_getIntVector(const ResourceData *pResData, Resource res, int32_t *pLength);
364 res_getResource(const ResourceData *pResData, const char *key);
367 res_countArrayItems(const ResourceData *pResData, Resource res);
370 res_getArrayItem(const ResourceData *pResData, Resource array, int32_t indexS);
[all …]
/external/chromium/third_party/icu/source/common/
Duresdata.c219 res_load(ResourceData *pResData, in res_load() argument
225 pResData->data=udata_openChoice(path, "res", name, isAcceptable, formatVersion, errorCode); in res_load()
231 pResData->pRoot=(Resource *)udata_getMemory(pResData->data); in res_load()
232 pResData->rootRes=*pResData->pRoot; in res_load()
233 pResData->noFallback=FALSE; in res_load()
236 rootType=RES_GET_TYPE(pResData->rootRes); in res_load()
239 udata_close(pResData->data); in res_load()
240 pResData->data=NULL; in res_load()
246 const int32_t *indexes=(const int32_t *)pResData->pRoot+1; in res_load()
248 pResData->noFallback=(UBool)(indexes[URES_INDEX_ATTRIBUTES]&URES_ATT_NO_FALLBACK); in res_load()
[all …]
Duresdata.h181 res_load(ResourceData *pResData,
189 res_unload(ResourceData *pResData);
197 res_getString(const ResourceData *pResData, const Resource res, int32_t *pLength);
200 res_getAlias(const ResourceData *pResData, const Resource res, int32_t *pLength);
203 res_getBinary(const ResourceData *pResData, const Resource res, int32_t *pLength);
206 res_getIntVector(const ResourceData *pResData, const Resource res, int32_t *pLength);
209 res_getResource(const ResourceData *pResData, const char *key);
212 res_countArrayItems(const ResourceData *pResData, const Resource res);
214 U_CFUNC Resource res_getArrayItem(const ResourceData *pResData, Resource array, const int32_t index…
215 U_CFUNC Resource res_getTableItemByIndex(const ResourceData *pResData, Resource table, int32_t inde…
[all …]
/external/icu4c/tools/toolutil/
Dpkgitems.cpp284 const ResourceData *pResData, in ures_enumDependencies() argument
309 const UChar *alias=res_getString(pResData, res, &length); in ures_enumDependencies()
316 const UChar *alias=res_getAlias(pResData, res, &length); in ures_enumDependencies()
323 int32_t count=res_countArrayItems(pResData, res); in ures_enumDependencies()
326 Resource item=res_getTableItemByIndex(pResData, res, i, &itemKey); in ures_enumDependencies()
328 itemName, pResData, in ures_enumDependencies()
344 int32_t count=res_countArrayItems(pResData, res); in ures_enumDependencies()
346 Resource item=res_getArrayItem(pResData, res, i); in ures_enumDependencies()
348 itemName, pResData, in ures_enumDependencies()
/external/chromium/third_party/icu/source/tools/genrb/
Dderb.c471 derb_getString(const ResourceData *pResData, const Resource res, int32_t *pLength) { in derb_getString() argument
473 int32_t *p=(int32_t *)RES_GET_POINTER(pResData->pRoot, res); in derb_getString()