Searched defs:bitcodeSize (Results 1 - 9 of 9) sorted by relevance

/frameworks/compile/libbcc/bcinfo/
H A DBitcodeWrapper.cpp31 BitcodeWrapper::BitcodeWrapper(const char *bitcode, size_t bitcodeSize) argument
33 mBitcodeSize(bitcodeSize),
H A DBitcodeTranslator.cpp71 BitcodeTranslator::BitcodeTranslator(const char *bitcode, size_t bitcodeSize, argument
73 : mBitcode(bitcode), mBitcodeSize(bitcodeSize), mTranslatedBitcode(nullptr),
H A DMetadataExtractor.cpp175 MetadataExtractor::MetadataExtractor(const char *bitcode, size_t bitcodeSize) argument
176 : mModule(nullptr), mBitcode(bitcode), mBitcodeSize(bitcodeSize),
187 BitcodeWrapper wrapper(bitcode, bitcodeSize);
/frameworks/compile/libbcc/include/bcinfo/
H A DBitcodeWrapper.h65 * \param bitcodeSize - length of \p bitcode string (in bytes).
67 BitcodeWrapper(const char *bitcode, size_t bitcodeSize);
120 * \param bitcodeSize - size of bitcode in bytes.
128 size_t bitcodeSize, uint32_t targetAPI, uint32_t compilerVersion,
137 wrapper->BitcodeSize = bitcodeSize;
127 writeAndroidBitcodeWrapper(AndroidBitcodeWrapper *wrapper, size_t bitcodeSize, uint32_t targetAPI, uint32_t compilerVersion, uint32_t optimizationLevel) argument
/frameworks/compile/libbcc/bcinfo/tools/
H A Dmain.cpp275 size_t bitcodeSize = statInFile.st_size; local
277 *bitcode = (const char*) calloc(1, bitcodeSize + 1);
278 size_t nread = fread((void*) *bitcode, 1, bitcodeSize, in);
280 if (nread != bitcodeSize)
304 size_t bitcodeSize = readBitcode(&bitcode); local
308 bcinfo::BitcodeWrapper bcWrapper((const char *)bitcode, bitcodeSize);
325 BT.reset(new bcinfo::BitcodeTranslator(bitcode, bitcodeSize, version));
/frameworks/compile/libbcc/tools/bcc/
H A DMain.cpp327 size_t bitcodeSize = input_data->getBufferSize(); local
332 bitcode, bitcodeSize,
343 bitcode, bitcodeSize);
/frameworks/rs/driver/
H A DrsdBcc.cpp43 size_t bitcodeSize,
48 bitcodeSize, flags);
38 rsdScriptInit(const Context *rsc, ScriptC *script, char const *resName, char const *cacheDir, uint8_t const *bitcode, size_t bitcodeSize, uint32_t flags) argument
/frameworks/rs/cpu_ref/
H A DrsCpuScript.cpp148 size_t bitcodeSize,
150 rsAssert(bitcode && bitcodeSize);
157 size_t nwritten = fwrite(bitcode, 1, bitcodeSize, bcfile);
159 if (nwritten != bitcodeSize) {
160 ALOGE("Could not write %zu bytes to %s", bitcodeSize,
224 uint32_t constructBuildChecksum(uint8_t const *bitcode, size_t bitcodeSize, argument
230 if (bitcode != nullptr && bitcodeSize > 0) {
231 checksum = adler32(checksum, bitcode, bitcodeSize);
316 uint8_t const *bitcode, size_t bitcodeSize,
319 // bitcode, bitcodeSize, flag
146 compileBitcode(const std::string &bcFileName, const char *bitcode, size_t bitcodeSize, std::vector<const char *> &compileArguments) argument
315 init(char const *resName, char const *cacheDir, uint8_t const *bitcode, size_t bitcodeSize, uint32_t flags, char const *bccPluginName) argument
458 findCoreLib(const bcinfo::MetadataExtractor& ME, const char* bitcode, size_t bitcodeSize) argument
[all...]
H A DrsCpuCore.cpp943 uint8_t const *bitcode, size_t bitcodeSize,
947 if (!i->init(resName, cacheDir, bitcode, bitcodeSize, flags
941 createScript(const ScriptC *s, char const *resName, char const *cacheDir, uint8_t const *bitcode, size_t bitcodeSize, uint32_t flags) argument

Completed in 2090 milliseconds