Home
last modified time | relevance | path

Searched refs:poolBundle (Results 1 – 2 of 2) sorted by relevance

/external/icu/icu4c/source/tools/genrb/
Dgenrb.c106 static ResFile poolBundle = { NULL }; variable
340 poolBundle.fBytes = (uint8_t *)uprv_malloc((poolFileSize + 15) & ~15); in main()
341 if (poolFileSize > 0 && poolBundle.fBytes == NULL) { in main()
347 int32_t bytesRead = T_FileStream_read(poolFile, poolBundle.fBytes, poolFileSize); in main()
358 ds = udata_openSwapperForInputData(poolBundle.fBytes, bytesRead, in main()
365 ures_swap(ds, poolBundle.fBytes, bytesRead, poolBundle.fBytes, &status); in main()
372 header = (const DataHeader *)poolBundle.fBytes; in main()
377 poolBundle.fKeys = (const char *)header + header->dataHeader.headerSize; in main()
378 poolBundle.fIndexes = (const int32_t *)poolBundle.fKeys + 1; in main()
379 indexLength = poolBundle.fIndexes[URES_INDEX_LENGTH] & 0xff; in main()
[all …]
/external/icu/icu4c/source/common/
Duresbund.cpp438 UResourceDataEntry *poolBundle = init_entry(kPoolBundleName, path, status); in getPoolEntry() local
440 … (poolBundle == NULL || poolBundle->fBogus != U_ZERO_ERROR || !poolBundle->fData.isPoolBundle) in getPoolEntry()
444 return poolBundle; in getPoolEntry()