Home
last modified time | relevance | path

Searched refs:bitcodeSize (Results 1 – 18 of 18) sorted by relevance

/frameworks/compile/libbcc/bcinfo/include/bcinfo/
DBitcodeWrapper.h67 BitcodeWrapper(const char *bitcode, size_t bitcodeSize);
128 size_t bitcodeSize, uint32_t targetAPI, uint32_t compilerVersion, in writeAndroidBitcodeWrapper() argument
137 wrapper->BitcodeSize = bitcodeSize; in writeAndroidBitcodeWrapper()
DBitcodeTranslator.h40 BitcodeTranslator(const char *bitcode, size_t bitcodeSize,
DMetadataExtractor.h145 MetadataExtractor(const char *bitcode, size_t bitcodeSize);
/frameworks/compile/libbcc/bcinfo/tools/
Dmain.cpp275 size_t bitcodeSize = statInFile.st_size; in readBitcode() local
277 *bitcode = (const char*) calloc(1, bitcodeSize + 1); in readBitcode()
278 size_t nread = fread((void*) *bitcode, 1, bitcodeSize, in); in readBitcode()
280 if (nread != bitcodeSize) in readBitcode()
304 size_t bitcodeSize = readBitcode(&bitcode); in main() local
308 bcinfo::BitcodeWrapper bcWrapper((const char *)bitcode, bitcodeSize); in main()
325 BT.reset(new bcinfo::BitcodeTranslator(bitcode, bitcodeSize, version)); in main()
/frameworks/rs/cpu_ref/
DrsCpuScript.cpp131 size_t bitcodeSize, in compileBitcode() argument
133 rsAssert(bitcode && bitcodeSize); in compileBitcode()
140 size_t nwritten = fwrite(bitcode, 1, bitcodeSize, bcfile); in compileBitcode()
142 if (nwritten != bitcodeSize) { in compileBitcode()
143 ALOGE("Could not write %zu bytes to %s", bitcodeSize, in compileBitcode()
209 uint32_t constructBuildChecksum(uint8_t const *bitcode, size_t bitcodeSize, in constructBuildChecksum() argument
215 if (bitcode != nullptr && bitcodeSize > 0) { in constructBuildChecksum()
216 checksum = adler32(checksum, bitcode, bitcodeSize); in constructBuildChecksum()
301 uint8_t const *bitcode, size_t bitcodeSize, in init() argument
311 bcinfo::MetadataExtractor bitcodeMetadata((const char *) bitcode, bitcodeSize); in init()
[all …]
DrsCpuScript.h43 uint8_t const *bitcode, size_t bitcodeSize, uint32_t flags,
120 size_t bitcodeSize);
152 uint32_t constructBuildChecksum(uint8_t const *bitcode, size_t bitcodeSize,
Drsd_cpu.h129 uint8_t const *bitcode, size_t bitcodeSize,
DrsCpuCore.h175 uint8_t const *bitcode, size_t bitcodeSize, uint32_t flags) override;
DrsCpuCore.cpp941 uint8_t const *bitcode, size_t bitcodeSize, in createScript() argument
945 if (!i->init(resName, cacheDir, bitcode, bitcodeSize, flags in createScript()
/frameworks/compile/libbcc/bcinfo/
DBitcodeWrapper.cpp28 BitcodeWrapper::BitcodeWrapper(const char *bitcode, size_t bitcodeSize) in BitcodeWrapper() argument
30 mBitcodeSize(bitcodeSize), in BitcodeWrapper()
DBitcodeTranslator.cpp78 BitcodeTranslator::BitcodeTranslator(const char *bitcode, size_t bitcodeSize, in BitcodeTranslator() argument
80 : mBitcode(bitcode), mBitcodeSize(bitcodeSize), mTranslatedBitcode(nullptr), in BitcodeTranslator()
DMetadataExtractor.cpp180 MetadataExtractor::MetadataExtractor(const char *bitcode, size_t bitcodeSize) in MetadataExtractor() argument
181 : mModule(nullptr), mBitcode(bitcode), mBitcodeSize(bitcodeSize), in MetadataExtractor()
192 BitcodeWrapper wrapper(bitcode, bitcodeSize); in MetadataExtractor()
/frameworks/compile/libbcc/tools/bcc/
DMain.cpp350 size_t bitcodeSize = input_data->getBufferSize(); in main() local
355 bitcode, bitcodeSize, in main()
366 bitcode, bitcodeSize); in main()
/frameworks/rs/rsov/driver/
DrsovScript.cpp96 const char *bitcode, size_t bitcodeSize, in compileBitcode() argument
98 rsAssert(bitcode && bitcodeSize); in compileBitcode()
107 writeBytes(bcFileName.c_str(), bitcode, bitcodeSize); in compileBitcode()
763 size_t bitcodeSize, uint32_t flags) { in rsovScriptInit() argument
767 new bcinfo::MetadataExtractor((const char *)bitcode, bitcodeSize)); in rsovScriptInit()
775 compileBitcode(resName, cacheDir, (const char *)bitcode, bitcodeSize, modifiedBitcode); in rsovScriptInit()
806 script, resName, cacheDir, bitcode, bitcodeSize, flags)); in rsovScriptInit()
DrsovScript.h157 uint8_t const *bitcode, size_t bitcodeSize,
/frameworks/rs/driver/
DrsdBcc.cpp42 size_t bitcodeSize, in rsdScriptInit() argument
47 bitcodeSize, flags); in rsdScriptInit()
DrsdBcc.h25 uint8_t const *bitcode, size_t bitcodeSize, uint32_t flags);
/frameworks/rs/
Drs_hal.h158 size_t bitcodeSize,