Searched defs:script (Results 1 - 25 of 27) sorted by relevance

12

/frameworks/compile/libbcc/lib/Renderscript/
H A DRSCompiler.cpp35 RSScript &script = static_cast<RSScript &>(pScript); local
36 const RSInfo *info = script.getInfo();
92 RSScript &script = static_cast<RSScript &>(pScript); local
93 const RSInfo *info = script.getInfo();
94 llvm::Module &module = script.getSource().getModule();
106 if (script.getEmbedInfo())
H A DRSCompilerDriver.cpp218 // Associate script with its info
225 // Link RS script with Renderscript runtime.
228 ALOGE("Failed to link script '%s' with Renderscript runtime!", pScriptName);
377 // Load the bitcode and create script.
385 RSScript *script = new (std::nothrow) RSScript(*source); local
386 if (script == NULL) {
393 script->setLinkRuntimeCallback(pLinkRuntimeCallback);
397 script->setCompilerVersion(wrapper.getCompilerVersion());
398 script->setOptimizationLevel(static_cast<RSScript::OptimizationLevel>(
402 // Compile the script
[all...]
/frameworks/base/packages/services/PacProcessor/src/com/android/pacprocessor/
H A DPacNative.java34 private native boolean setProxyScriptNativeLocked(String script); argument
66 public synchronized boolean setCurrentProxyScript(String script) { argument
67 if (setProxyScriptNativeLocked(script)) {
68 Log.e(TAG, "Unable to parse proxy script.");
H A DPacService.java89 public void setPacFile(String script) throws RemoteException { argument
94 mPacNative.setCurrentProxyScript(script);
/frameworks/base/tests/WebViewTests/src/com/android/webviewtests/
H A DJavaBridgeFieldsTest.java69 protected String executeJavaScriptAndGetStringResult(String script) throws Throwable { argument
70 executeJavaScript("testObject.setStringValue(" + script + ");");
H A DJavaBridgeTestBase.java105 protected void executeJavaScript(final String script) throws Throwable { argument
112 // frame. We don't want this behaviour, so wrap the script in
114 getWebView().loadUrl("javascript:(function() { " + script + " })()");
H A DJavaBridgeReturnValuesTest.java127 protected String executeJavaScriptAndGetStringResult(String script) throws Throwable { argument
128 executeJavaScript("testObject.setStringValue(" + script + ");");
133 private boolean executeJavaScriptAndGetBooleanResult(String script) throws Throwable { argument
134 executeJavaScript("testObject.setBooleanValue(" + script + ");");
H A DJavaBridgeBasicsTest.java94 protected String executeJavaScriptAndGetStringResult(String script) throws Throwable { argument
95 executeJavaScript("testController.setStringValue(" + script + ");");
111 private void assertRaisesException(String script) throws Throwable { argument
113 script + ";" +
/frameworks/compile/mclinker/unittests/
H A DLinkerTest.cpp54 LinkerScript script; local
55 Module module("test", script);
59 linker.emulate(script, config);
83 LinkerScript script; local
91 script.directories().insert(search_dir);
95 linker.emulate(script, config);
101 Module module("libplasma.so", script);
345 LinkerScript script; local
349 linker.emulate(script, config);
354 Module module(script);
[all...]
/frameworks/base/packages/services/PacProcessor/jni/
H A Dcom_android_pacprocessor_PacNative.cpp88 jstring script) {
89 String16 script16 = jstringToString16(env, script);
92 ALOGE("V8 Parser not started when setting PAC script");
97 ALOGE("Unable to set PAC script");
112 ALOGE("V8 Parser not initialized when running PAC script");
117 ALOGW("Attempting to run PAC with no script set");
87 com_android_pacprocessor_PacNative_setProxyScriptNativeLocked(JNIEnv* env, jobject, jstring script) argument
/frameworks/rs/driver/
H A DrsdBcc.cpp39 ScriptC *script,
46 RsdCpuReference::CpuScript * cs = dc->mCpuRef->createScript(script, resName, cacheDir,
51 script->mHal.drv = cs;
52 cs->populateScript(script);
38 rsdScriptInit(const Context *rsc, ScriptC *script, char const *resName, char const *cacheDir, uint8_t const *bitcode, size_t bitcodeSize, uint32_t flags) argument
H A DrsdRuntimeStubs.cpp1248 void __attribute__((overloadable)) rsForEach(rs_script script, argument
1253 return SC_ForEach_SAAUS((Script *)script.p, (Allocation*)in.p, (Allocation*)out.p, usr, (RsScriptCall*)call);
1256 void __attribute__((overloadable)) rsForEach(rs_script script, argument
1262 return SC_ForEach_SAAULS((Script *)script.p, (Allocation*)in.p, (Allocation*)out.p, usr, usrLen, (RsScriptCall*)call);
/frameworks/base/services/java/com/android/server/connectivity/
H A DPacManager.java250 private boolean setCurrentProxyScript(String script) { argument
256 mProxyService.setPacFile(script);
257 mCurrentPac = script;
/frameworks/compile/mclinker/lib/Object/
H A DObjectLinker.cpp334 const LinkerScript& script = m_pModule->getScript(); local
336 LinkerScript::DefSymMap::const_entry_iterator ie = script.defSymMap().end();
338 for (it = script.defSymMap().begin(); it != ie; ++it) {
488 const LinkerScript& script = m_pModule->getScript(); local
490 LinkerScript::DefSymMap::const_entry_iterator ie = script.defSymMap().end();
493 for (it = script.defSymMap().begin(); it != ie; ++it) {
/frameworks/rs/cpu_ref/
H A DrsCpuCore.h54 RsdCpuScriptImpl *script; member in struct:android::renderscript::__anon1606
H A DrsCpuScript.cpp122 // This is required behavior to implement script instancing for the support
339 //ALOGE("rsdScriptInit %p %p", rsc, script);
415 // Attempt to just load the script from cache first if we can.
657 //rsdLookupRuntimeStub(script, "acos");
684 void RsdCpuScriptImpl::populateScript(Script *script) { argument
689 script->mHal.info.exportedFunctionCount = info->getExportFuncNames().size();
690 script->mHal.info.exportedVariableCount = info->getExportVarNames().size();
691 script->mHal.info.exportedForeachFuncList = info->getExportForeachFuncs().array();
692 script->mHal.info.exportedPragmaCount = info->getPragmas().size();
693 script
[all...]
/frameworks/compile/mclinker/lib/Core/
H A DIRBuilder.cpp461 const LinkerScript& script = m_Module.getScript(); local
463 script.renameMap().find(pName);
464 if (script.renameMap().end() != renameSym)
/frameworks/rs/
H A Drs_hal.h143 } script; member in struct:android::renderscript::__anon1649
/frameworks/base/core/jni/android/graphics/
H A DTextLayoutCache.cpp555 hb_script_t script; member in struct:android::ScriptRun
577 run->script = init_script;
584 const hb_script_t script = code_point_to_script(cp); local
586 if (script != current_script) {
592 run->script = script;
593 current_script = script;
595 } else if (script == HB_SCRIPT_INHERITED) {
604 if (run->script == HB_SCRIPT_INHERITED)
605 run->script
627 const hb_script_t script = code_point_to_script(cp); local
779 typefaceForScript(const SkPaint* paint, SkTypeface* typeface, hb_script_t script) argument
792 isComplexScript(hb_script_t script) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebViewProvider.java118 public void evaluateJavaScript(String script, ValueCallback<String> resultCallback); argument
H A DWebView.java817 * Note that JavaScript's same origin policy means that script running in a
888 * @param script the JavaScript to execute.
889 * @param resultCallback A callback to be invoked when the script execution
893 public void evaluateJavascript(String script, ValueCallback<String> resultCallback) { argument
895 if (DebugFlags.TRACE_API) Log.d(LOGTAG, "evaluateJavascript=" + script);
896 mProvider.evaluateJavaScript(script, resultCallback);
/frameworks/compile/mclinker/lib/Target/
H A DGNULDBackend.cpp2005 const LinkerScript& script = pModule.getScript(); local
2006 uint64_t seg_start_addr = getSegmentStartAddr(script);
2016 mapping = script.addressMap().find(".text");
2018 mapping = script.addressMap().find(".data");
2020 mapping = script.addressMap().find(".bss");
2022 mapping = script.addressMap().find((*seg).front()->name());
2024 if (mapping != script.addressMap().end()) {
2025 // use address mapping in script options
2041 // Try to align p_vaddr at page boundary if not in script options.
/frameworks/support/v8/renderscript/jni/
H A Dandroid_renderscript_RenderScript.cpp684 nScriptBindAllocation(JNIEnv *_env, jobject _this, RsContext con, jint script, jint alloc, jint slot) argument
686 LOG_API("nScriptBindAllocation, con(%p), script(%p), alloc(%p), slot(%i)", con, (RsScript)script, (RsAllocation)alloc, slot);
687 rsScriptBindAllocation(con, (RsScript)script, (RsAllocation)alloc, slot);
691 nScriptSetVarI(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint val) argument
693 LOG_API("nScriptSetVarI, con(%p), s(%p), slot(%i), val(%i)", con, (void *)script, slot, val);
694 rsScriptSetVarI(con, (RsScript)script, slot, val);
698 nScriptSetVarObj(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint val) argument
700 LOG_API("nScriptSetVarObj, con(%p), s(%p), slot(%i), val(%i)", con, (void *)script, slot, val);
701 rsScriptSetVarObj(con, (RsScript)script, slo
705 nScriptSetVarJ(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jlong val) argument
712 nScriptSetVarF(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, float val) argument
719 nScriptSetVarD(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, double val) argument
726 nScriptSetVarV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jbyteArray data) argument
736 nScriptSetVarVE(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jbyteArray data, jint elem, jintArray dims) argument
751 nScriptSetTimeZone(JNIEnv *_env, jobject _this, RsContext con, jint script, jbyteArray timeZone) argument
774 nScriptInvokeV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jbyteArray data) argument
784 nScriptForEach(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint ain, jint aout) argument
791 nScriptForEachV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint ain, jint aout, jbyteArray params) argument
802 nScriptForEachClipped(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint ain, jint aout, jint xstart, jint xend, jint ystart, jint yend, jint zstart, jint zend) argument
822 nScriptForEachClippedV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint ain, jint aout, jbyteArray params, jint xstart, jint xend, jint ystart, jint yend, jint zstart, jint zend) argument
[all...]
/frameworks/webview/chromium/java/com/android/webview/chromium/
H A DWebViewChromium.java632 public void evaluateJavaScript(String script, ValueCallback<String> resultCallback) { argument
634 mAwContents.evaluateJavaScript(script, resultCallback);
/frameworks/base/graphics/jni/
H A Dandroid_renderscript_RenderScript.cpp976 nScriptBindAllocation(JNIEnv *_env, jobject _this, RsContext con, jint script, jint alloc, jint slot) argument
978 LOG_API("nScriptBindAllocation, con(%p), script(%p), alloc(%p), slot(%i)", con, (RsScript)script, (RsAllocation)alloc, slot);
979 rsScriptBindAllocation(con, (RsScript)script, (RsAllocation)alloc, slot);
983 nScriptSetVarI(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint val) argument
985 LOG_API("nScriptSetVarI, con(%p), s(%p), slot(%i), val(%i)", con, (void *)script, slot, val);
986 rsScriptSetVarI(con, (RsScript)script, slot, val);
990 nScriptGetVarI(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot) argument
992 LOG_API("nScriptGetVarI, con(%p), s(%p), slot(%i)", con, (void *)script, slot);
994 rsScriptGetVarV(con, (RsScript)script, slo
999 nScriptSetVarObj(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint val) argument
1006 nScriptSetVarJ(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jlong val) argument
1013 nScriptGetVarJ(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot) argument
1022 nScriptSetVarF(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, float val) argument
1029 nScriptGetVarF(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot) argument
1038 nScriptSetVarD(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, double val) argument
1045 nScriptGetVarD(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot) argument
1054 nScriptSetVarV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jbyteArray data) argument
1064 nScriptGetVarV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jbyteArray data) argument
1074 nScriptSetVarVE(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jbyteArray data, jint elem, jintArray dims) argument
1089 nScriptSetTimeZone(JNIEnv *_env, jobject _this, RsContext con, jint script, jbyteArray timeZone) argument
1112 nScriptInvokeV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jbyteArray data) argument
1122 nScriptForEach(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint ain, jint aout) argument
1129 nScriptForEachV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint ain, jint aout, jbyteArray params) argument
1140 nScriptForEachClipped(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint ain, jint aout, jint xstart, jint xend, jint ystart, jint yend, jint zstart, jint zend) argument
1160 nScriptForEachClippedV(JNIEnv *_env, jobject _this, RsContext con, jint script, jint slot, jint ain, jint aout, jbyteArray params, jint xstart, jint xend, jint ystart, jint yend, jint zstart, jint zend) argument
1411 nContextBindRootScript(JNIEnv *_env, jobject _this, RsContext con, jint script) argument
[all...]

Completed in 464 milliseconds

12