• Home
  • Raw
  • Download

Lines Matching refs:poolBundle

108 static ResFile poolBundle;  variable
344 poolBundle.fBytes = new uint8_t[(poolFileSize + 15) & ~15]; in main()
345 if (poolFileSize > 0 && poolBundle.fBytes == NULL) { in main()
352 int32_t bytesRead = T_FileStream_read(poolFile, poolBundle.fBytes, poolFileSize); in main()
362 ds = udata_openSwapperForInputData(poolBundle.fBytes, bytesRead, in main()
369 ures_swap(ds, poolBundle.fBytes, bytesRead, poolBundle.fBytes, &status); in main()
376 header = (const DataHeader *)poolBundle.fBytes; in main()
383 poolBundle.fIndexes = pRoot + 1; in main()
384 indexLength = poolBundle.fIndexes[URES_INDEX_LENGTH] & 0xff; in main()
390 int32_t keysTop = poolBundle.fIndexes[URES_INDEX_KEYS_TOP]; in main()
391 poolBundle.fKeys = (const char *)(pRoot + keysBottom); in main()
392 poolBundle.fKeysLength = (keysTop - keysBottom) * 4; in main()
393 poolBundle.fChecksum = poolBundle.fIndexes[URES_INDEX_POOL_CHECKSUM]; in main()
395 for (i = 0; i < poolBundle.fKeysLength; ++i) { in main()
396 if (poolBundle.fKeys[i] == 0) { in main()
397 ++poolBundle.fKeysCount; in main()
404 int32_t stringUnitsLength = (poolBundle.fIndexes[URES_INDEX_16BIT_TOP] - keysTop) * 2; in main()
406 poolBundle.fStrings = new PseudoListResource(NULL, status); in main()
407 if (poolBundle.fStrings == NULL) { in main()
462 poolBundle.fStrings->add(sr); in main()
463 poolBundle.fStringIndexLimit = maxStringIndex + 1; in main()
470 if (poolBundle.fStrings->fCount == 0) { in main()
471 delete poolBundle.fStrings; in main()
472 poolBundle.fStrings = NULL; in main()
478 if (isVerbose() && poolBundle.fStrings != NULL) { in main()
479 printf("number of shared strings: %d\n", (int)poolBundle.fStrings->fCount); in main()
480 int32_t length = poolBundle.fStringIndexLimit + 1; // incl. last NUL in main()
487 poolBundle.fStrings == NULL && in main()
529 poolBundle.close(); in main()
688 data->fUsePoolBundle = &poolBundle; in processFile()