Home
last modified time | relevance | path

Searched refs:script_ref (Results 1 – 2 of 2) sorted by relevance

/gdk/samples/PhotoEditor/jni/
D_jni.cpp58 BCCScriptRef script_ref = bccCreateScript(); in Java_com_android_photoeditor_filters_ImageUtils_init() local
61 … if (bccReadBC(script_ref, "libjni_photoeditor_portable.bc", (const char*)script_ptr, length, 0)) { in Java_com_android_photoeditor_filters_ImageUtils_init()
69 if (bccLinkFile(script_ref, "/system/lib/libclcore.bc", 0)) { in Java_com_android_photoeditor_filters_ImageUtils_init()
74 bccRegisterSymbolCallback(script_ref, lookupSymbol, NULL); in Java_com_android_photoeditor_filters_ImageUtils_init()
77 …if (bccPrepareExecutable(script_ref, "/data/data/com.android.photoeditor/photoeditorLLVM.oBCC", 0)… in Java_com_android_photoeditor_filters_ImageUtils_init()
82 …if (bccPrepareExecutable(script_ref, "/data/data/com.android.photoeditor/", "photoeditorLLVM", 0))… in Java_com_android_photoeditor_filters_ImageUtils_init()
89 new_func_ptr[i] = bccGetFuncAddr(script_ref, JNIFunc[i].func_name); in Java_com_android_photoeditor_filters_ImageUtils_init()
/gdk/samples/bitmap-plasma-llvm/jni/
Dplasma.cpp416 static BCCScriptRef script_ref; in Java_com_example_plasma_llvm_PlasmaView_nativeRenderPlasma() local
448 script_ref = bccCreateScript(); in Java_com_example_plasma_llvm_PlasmaView_nativeRenderPlasma()
453 if(bccReadBC(script_ref, "libplasma_portable.bc", (const char*)script_ptr, length, 0)) { in Java_com_example_plasma_llvm_PlasmaView_nativeRenderPlasma()
462 if (bccLinkFile(script_ref, "/system/lib/libclcore.bc", 0)) { in Java_com_example_plasma_llvm_PlasmaView_nativeRenderPlasma()
468 bccRegisterSymbolCallback(script_ref, lookupSymbol, NULL); in Java_com_example_plasma_llvm_PlasmaView_nativeRenderPlasma()
471 … if (bccPrepareExecutable(script_ref, "/data/data/com.example.plasma.llvm/plasmaLLVM.oBCC", 0)) { in Java_com_example_plasma_llvm_PlasmaView_nativeRenderPlasma()
476 … if (bccPrepareExecutable(script_ref, "/data/data/com.example.plasma.llvm/", "plasmaLLVM", 0)) { in Java_com_example_plasma_llvm_PlasmaView_nativeRenderPlasma()
482 native_function = (pPlasmaType)bccGetFuncAddr(script_ref, "fill_plasma"); in Java_com_example_plasma_llvm_PlasmaView_nativeRenderPlasma()