Lines Matching refs:Compiler
26 #include "bcc/Compiler.h"
171 // Haven't run the compiler ever.
197 Compiler::ErrorCode
211 // compiler therefore it should be extracted before compilation.
214 return Compiler::kErrInvalidSource;
220 // This is required since RS compiler may need information in the info file
229 return Compiler::kErrInvalidSource;
244 return Compiler::kErrInvalidSource;
255 return Compiler::kErrInvalidSource;
258 // Setup the config to the compiler.
262 ALOGE("Failed to setup config for RS compiler to compile %s!",
264 return Compiler::kErrInvalidSource;
268 Compiler::ErrorCode err = mCompiler.config(*mConfig);
269 if (err != Compiler::kSuccess) {
270 ALOGE("Failed to config the RS compiler for %s! (%s)",pOutputPath,
271 Compiler::GetErrorString(err));
272 return Compiler::kErrInvalidSource;
285 // Run the compiler.
286 Compiler::ErrorCode compile_result = mCompiler.compile(pScript,
294 if (compile_result != Compiler::kSuccess) {
296 Compiler::GetErrorString(compile_result));
297 return Compiler::kErrInvalidSource;
304 return Compiler::kSuccess;
314 return Compiler::kErrInvalidSource;
321 return Compiler::kErrInvalidSource;
327 return Compiler::kErrInvalidSource;
331 return Compiler::kSuccess;
404 Compiler::ErrorCode status = compileScript(*script, pResName,
412 if (status != Compiler::kSuccess) {
433 Compiler::ErrorCode status = compileScript(pScript, pOut, pOut, pRuntimePath,
435 if (status != Compiler::kSuccess) {