Home
last modified time | relevance | path

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

/frameworks/rs/cpu_ref/
DrsCpuScript.cpp148 size_t bitcodeSize, in compileBitcode() argument
150 rsAssert(bitcode && bitcodeSize); in compileBitcode()
157 size_t nwritten = fwrite(bitcode, 1, bitcodeSize, bcfile); in compileBitcode()
159 if (nwritten != bitcodeSize) { in compileBitcode()
160 ALOGE("Could not write %zu bytes to %s", bitcodeSize, in compileBitcode()
224 uint32_t constructBuildChecksum(uint8_t const *bitcode, size_t bitcodeSize, in constructBuildChecksum() argument
230 if (bitcode != nullptr && bitcodeSize > 0) { in constructBuildChecksum()
231 checksum = adler32(checksum, bitcode, bitcodeSize); in constructBuildChecksum()
316 uint8_t const *bitcode, size_t bitcodeSize, in init() argument
326 bcinfo::MetadataExtractor bitcodeMetadata((const char *) bitcode, bitcodeSize); in init()
[all …]
DrsCpuScript.h41 uint8_t const *bitcode, size_t bitcodeSize, uint32_t flags,
118 size_t bitcodeSize);
150 uint32_t constructBuildChecksum(uint8_t const *bitcode, size_t bitcodeSize,
Drsd_cpu.h125 uint8_t const *bitcode, size_t bitcodeSize,
DrsCpuCore.h173 uint8_t const *bitcode, size_t bitcodeSize, uint32_t flags) override;
DrsCpuCore.cpp943 uint8_t const *bitcode, size_t bitcodeSize, in createScript() argument
947 if (!i->init(resName, cacheDir, bitcode, bitcodeSize, flags in createScript()
/frameworks/compile/libbcc/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.h140 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/compile/libbcc/bcinfo/
DBitcodeWrapper.cpp31 BitcodeWrapper::BitcodeWrapper(const char *bitcode, size_t bitcodeSize) in BitcodeWrapper() argument
33 mBitcodeSize(bitcodeSize), in BitcodeWrapper()
DBitcodeTranslator.cpp71 BitcodeTranslator::BitcodeTranslator(const char *bitcode, size_t bitcodeSize, in BitcodeTranslator() argument
73 : mBitcode(bitcode), mBitcodeSize(bitcodeSize), mTranslatedBitcode(nullptr), in BitcodeTranslator()
DMetadataExtractor.cpp175 MetadataExtractor::MetadataExtractor(const char *bitcode, size_t bitcodeSize) in MetadataExtractor() argument
176 : mModule(nullptr), mBitcode(bitcode), mBitcodeSize(bitcodeSize), in MetadataExtractor()
187 BitcodeWrapper wrapper(bitcode, bitcodeSize); in MetadataExtractor()
/frameworks/compile/libbcc/tools/bcc/
DMain.cpp327 size_t bitcodeSize = input_data->getBufferSize(); in main() local
332 bitcode, bitcodeSize, in main()
343 bitcode, bitcodeSize); in main()
/frameworks/rs/driver/
DrsdBcc.cpp43 size_t bitcodeSize, in rsdScriptInit() argument
48 bitcodeSize, flags); in rsdScriptInit()
DrsdBcc.h25 uint8_t const *bitcode, size_t bitcodeSize, uint32_t flags);
/frameworks/rs/
Drs_hal.h155 size_t bitcodeSize,