Lines Matching refs:indexR
52 _res_getArrayItem(Resource *pRoot, Resource res, int32_t indexR) { in _res_getArrayItem() argument
54 if(indexR<*p) { in _res_getArrayItem()
55 return ((const Resource *)(p))[1+indexR]; in _res_getArrayItem()
96 _res_getTableItem(const Resource *pRoot, const Resource res, int32_t indexR) { in _res_getTableItem() argument
99 if((uint32_t)indexR<(uint32_t)count) { in _res_getTableItem()
100 return ((const Resource *)(p+1+count+(~count&1)))[indexR]; in _res_getTableItem()
107 _res_getTable32Item(const Resource *pRoot, const Resource res, int32_t indexR) { in _res_getTable32Item() argument
110 if((uint32_t)indexR<(uint32_t)count) { in _res_getTable32Item()
111 return ((const Resource *)(p+1+count))[indexR]; in _res_getTable32Item()
372 res_getArrayItem(const ResourceData *pResData, Resource array, const int32_t indexR) { in res_getArrayItem() argument
373 return _res_getArrayItem(pResData->pRoot, array, indexR); in res_getArrayItem()
387 int32_t indexR = 0; in res_findResource() local
420 t2 = _res_findTableItem(pResData->pRoot, t1, pathP, &indexR, key); in res_findResource()
423 indexR = uprv_strtol(pathP, &closeIndex, 10); in res_findResource()
426 t2 = res_getTableItemByIndex(pResData, t1, indexR, key); in res_findResource()
430 t2 = _res_findTable32Item(pResData->pRoot, t1, pathP, &indexR, key); in res_findResource()
433 indexR = uprv_strtol(pathP, &closeIndex, 10); in res_findResource()
436 t2 = res_getTableItemByIndex(pResData, t1, indexR, key); in res_findResource()
440 indexR = uprv_strtol(pathP, &closeIndex, 10); in res_findResource()
442 t2 = _res_getArrayItem(pResData->pRoot, t1, indexR); in res_findResource()
461 int32_t *indexR, const char **key ){ in res_getTableItemByKey() argument
464 return _res_findTableItem(pResData->pRoot, table, *key, indexR, key); in res_getTableItemByKey()
466 return _res_findTable32Item(pResData->pRoot, table, *key, indexR, key); in res_getTableItemByKey()
475 int32_t indexR, const char **key) { in res_getTableItemByIndex() argument
476 if(indexR>-1) { in res_getTableItemByIndex()
479 *key = _res_getTableKey(pResData->pRoot, table, indexR); in res_getTableItemByIndex()
481 return _res_getTableItem(pResData->pRoot, table, indexR); in res_getTableItemByIndex()
484 *key = _res_getTable32Key(pResData->pRoot, table, indexR); in res_getTableItemByIndex()
486 return _res_getTable32Item(pResData->pRoot, table, indexR); in res_getTableItemByIndex()