Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Duresdata.cpp1352 int32_t bundleLength, indexLength, keysBottom, keysTop, resBottom, top; in ures_swap() local
1408 keysTop=udata_readInt32(ds, inIndexes[URES_INDEX_KEYS_TOP]); in ures_swap()
1412 resBottom=keysTop; in ures_swap()
1423 if(keysTop>(1+indexLength)) { in ures_swap()
1424 tempTable.localKeyLimit=keysTop<<2; in ures_swap()
1464 udata_swapInvStringBlock(ds, inBundle+keysBottom, 4*(keysTop-keysBottom), in ures_swap()
1467 …_printError(ds, "ures_swap().udata_swapInvStringBlock(keys[%d]) failed\n", 4*(keysTop-keysBottom)); in ures_swap()
1472 if(keysTop<resBottom) { in ures_swap()
1473 … ds->swapArray16(ds, inBundle+keysTop, (resBottom-keysTop)*4, outBundle+keysTop, pErrorCode); in ures_swap()
1475 … 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.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/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/icu4c/source/tools/genrb/
Dgenrb.cpp410 int32_t keysTop = poolBundle.fIndexes[URES_INDEX_KEYS_TOP]; in main() local
412 poolBundle.fKeysLength = (keysTop - keysBottom) * 4; in main()
424 int32_t stringUnitsLength = (poolBundle.fIndexes[URES_INDEX_16BIT_TOP] - keysTop) * 2; in main()
434 const UChar *p = (const UChar *)(pRoot + keysTop); in main()