Searched defs:script_ref (Results 1 - 2 of 2) sorted by relevance
/gdk/samples/PhotoEditor/jni/ |
H A D | _jni.cpp | 58 BCCScriptRef script_ref = bccCreateScript(); local 61 if (bccReadBC(script_ref, "libjni_photoeditor_portable.bc", (const char*)script_ptr, length, 0)) { 69 if (bccLinkFile(script_ref, "/system/lib/libclcore.bc", 0)) { 74 bccRegisterSymbolCallback(script_ref, lookupSymbol, NULL); 77 if (bccPrepareExecutable(script_ref, "/data/data/com.android.photoeditor/photoeditorLLVM.oBCC", 0)) { 82 if (bccPrepareExecutable(script_ref, "/data/data/com.android.photoeditor/", "photoeditorLLVM", 0)) { 89 new_func_ptr[i] = bccGetFuncAddr(script_ref, JNIFunc[i].func_name); 98 //bccDisposeScript(script_ref);
|
/gdk/samples/bitmap-plasma-llvm/jni/ |
H A D | plasma.cpp | 416 static BCCScriptRef script_ref; local 448 script_ref = bccCreateScript(); 453 if(bccReadBC(script_ref, "libplasma_portable.bc", (const char*)script_ptr, length, 0)) { 462 if (bccLinkFile(script_ref, "/system/lib/libclcore.bc", 0)) { 468 bccRegisterSymbolCallback(script_ref, lookupSymbol, NULL); 471 if (bccPrepareExecutable(script_ref, "/data/data/com.example.plasma.llvm/plasmaLLVM.oBCC", 0)) { 476 if (bccPrepareExecutable(script_ref, "/data/data/com.example.plasma.llvm/", "plasmaLLVM", 0)) { 482 native_function = (pPlasmaType)bccGetFuncAddr(script_ref, "fill_plasma");
|
Completed in 73 milliseconds