Home
last modified time | relevance | path

Searched refs:keysTop (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4c/source/common/
Duresdata.cpp1316 int32_t bundleLength, indexLength, keysBottom, keysTop, resBottom, top; in ures_swap() local
1372 keysTop=udata_readInt32(ds, inIndexes[URES_INDEX_KEYS_TOP]); in ures_swap()
1376 resBottom=keysTop; in ures_swap()
1387 if(keysTop>(1+indexLength)) { in ures_swap()
1388 tempTable.localKeyLimit=keysTop<<2; in ures_swap()
1428 udata_swapInvStringBlock(ds, inBundle+keysBottom, 4*(keysTop-keysBottom), in ures_swap()
1431 …_printError(ds, "ures_swap().udata_swapInvStringBlock(keys[%d]) failed\n", 4*(keysTop-keysBottom)); in ures_swap()
1436 if(keysTop<resBottom) { in ures_swap()
1437 … ds->swapArray16(ds, inBundle+keysTop, (resBottom-keysTop)*4, outBundle+keysTop, pErrorCode); in ures_swap()
1439 … udata_printError(ds, "ures_swap().swapArray16(16-bit units[%d]) failed\n", 2*(resBottom-keysTop)); in ures_swap()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICUResourceBundleReader.java287 int keysTop = getIndexesInt(URES_INDEX_KEYS_TOP); in init() local
288 if(keysTop > keysBottom) { in init()
296 keyBytes = new byte[(keysTop - keysBottom) << 2]; in init()
299 localKeyLimit = keysTop << 2; in init()
308 if(_16BitTop > keysTop) { in init()
309 int num16BitUnits = (_16BitTop - keysTop) * 2; in init()
310 bytes.position(keysTop << 2); in init()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICUResourceBundleReader.java289 int keysTop = getIndexesInt(URES_INDEX_KEYS_TOP); in init() local
290 if(keysTop > keysBottom) { in init()
298 keyBytes = new byte[(keysTop - keysBottom) << 2]; in init()
301 localKeyLimit = keysTop << 2; in init()
310 if(_16BitTop > keysTop) { in init()
311 int num16BitUnits = (_16BitTop - keysTop) * 2; in init()
312 bytes.position(keysTop << 2); in init()
/external/icu/icu4c/source/tools/genrb/
Dgenrb.cpp393 int32_t keysTop = poolBundle.fIndexes[URES_INDEX_KEYS_TOP]; in main() local
395 poolBundle.fKeysLength = (keysTop - keysBottom) * 4; in main()
407 int32_t stringUnitsLength = (poolBundle.fIndexes[URES_INDEX_16BIT_TOP] - keysTop) * 2; in main()
417 const UChar *p = (const UChar *)(pRoot + keysTop); in main()