Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Duresdata.cpp1312 int32_t bundleLength, indexLength, keysBottom, keysTop, resBottom, top; in ures_swap() local
1368 keysTop=udata_readInt32(ds, inIndexes[URES_INDEX_KEYS_TOP]); in ures_swap()
1372 resBottom=keysTop; in ures_swap()
1383 if(keysTop>(1+indexLength)) { in ures_swap()
1384 tempTable.localKeyLimit=keysTop<<2; in ures_swap()
1424 udata_swapInvStringBlock(ds, inBundle+keysBottom, 4*(keysTop-keysBottom), in ures_swap()
1427 …_printError(ds, "ures_swap().udata_swapInvStringBlock(keys[%d]) failed\n", 4*(keysTop-keysBottom)); in ures_swap()
1432 if(keysTop<resBottom) { in ures_swap()
1433 … ds->swapArray16(ds, inBundle+keysTop, (resBottom-keysTop)*4, outBundle+keysTop, pErrorCode); in ures_swap()
1435 … udata_printError(ds, "ures_swap().swapArray16(16-bit units[%d]) failed\n", 2*(resBottom-keysTop)); in ures_swap()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DICUResourceBundleReader.java288 int keysTop = getIndexesInt(URES_INDEX_KEYS_TOP); in init() local
289 if(keysTop > keysBottom) { in init()
297 keyBytes = new byte[(keysTop - keysBottom) << 2]; in init()
300 localKeyLimit = keysTop << 2; in init()
309 if(_16BitTop > keysTop) { in init()
310 int num16BitUnits = (_16BitTop - keysTop) * 2; in init()
311 bytes.position(keysTop << 2); in init()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DICUResourceBundleReader.java286 int keysTop = getIndexesInt(URES_INDEX_KEYS_TOP); in init() local
287 if(keysTop > keysBottom) { in init()
295 keyBytes = new byte[(keysTop - keysBottom) << 2]; in init()
298 localKeyLimit = keysTop << 2; in init()
307 if(_16BitTop > keysTop) { in init()
308 int num16BitUnits = (_16BitTop - keysTop) * 2; in init()
309 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()