Home
last modified time | relevance | path

Searched refs:script (Results 1 – 25 of 226) sorted by relevance

12345678910

/frameworks/base/tools/localedata/
Dextract_icu_data.py120 for index, script in enumerate(all_scripts):
122 index, script[0], script[1], script[2], script[3])
132 script = likely_script_dict[locale]
135 all_scripts.index(script),
137 script)
143 _, script, _ = get_locale_parts(locale)
145 (ord(script[0]) << 24) |
146 (ord(script[1]) << 16) |
147 (ord(script[2]) << 8) |
148 ord(script[3]))
[all …]
/frameworks/base/libs/androidfw/
DLocaleData.cpp47 uint32_t findParent(uint32_t packed_locale, const char* script) { in findParent() argument
50 if (memcmp(script, SCRIPT_PARENTS[i].script, SCRIPT_LENGTH) == 0) { in findParent()
77 uint32_t packed_locale, const char* script, in findAncestors() argument
90 ancestor = findParent(ancestor, script); in findAncestors()
97 const char* script, in findDistance() argument
103 supported, script, in findDistance()
113 inline bool isRepresentative(uint32_t language_and_region, const char* script) { in isRepresentative() argument
116 (((uint64_t) script[0]) << 24u) | in isRepresentative()
117 (((uint64_t) script[1]) << 16u) | in isRepresentative()
118 (((uint64_t) script[2]) << 8u) | in isRepresentative()
[all …]
/frameworks/rs/driver/
DrsdBcc.h32 android::renderscript::Script *script,
65 android::renderscript::Script *script);
67 android::renderscript::Script *script);
69 android::renderscript::Script *script);
92 const android::renderscript::Script *script,
97 const android::renderscript::Script *script,
102 android::renderscript::Script *script);
106 const android::renderscript::Script *script,
110 const android::renderscript::Script *script,
DrsdBcc.cpp39 ScriptC *script, in rsdScriptInit() argument
47 dc->mCpuRef->createScript(script, resName, cacheDir, bitcode, in rsdScriptInit()
52 script->mHal.drv = cs; in rsdScriptInit()
53 cs->populateScript(script); in rsdScriptInit()
182 const Script *script, in rsdScriptUpdateCachedObject() argument
185 obj->p = script; in rsdScriptUpdateCachedObject()
188 if (script != nullptr) { in rsdScriptUpdateCachedObject()
189 obj->v1 = script->mHal.drv; in rsdScriptUpdateCachedObject()
/frameworks/compile/mclinker/lib/Script/
DAssignment.cpp79 LinkerScript& script = pModule.getScript(); in activate() local
83 script.assignments().push_back( in activate()
89 SectionMap::reference out = script.sectionMap().back(); in activate()
94 script.sectionMap().begin() + script.sectionMap().size() - 2; in activate()
125 script.assignments().push_back( in activate()
133 SectionMap::Output::reference in = script.sectionMap().back()->back(); in activate()
161 script.assignments().push_back( in activate()
DGroupCmd.cpp75 LinkerScript& script = pModule.getScript(); in activate() local
99 if (script.hasSysroot() && in activate()
101 path = script.sysroot(); in activate()
109 script.directories().find(token->name(), Input::Script); in activate()
130 path = script.directories().find(token->name(), Input::Archive); in activate()
134 path = script.directories().find(token->name(), Input::DynObj); in activate()
139 path = script.directories().find(token->name(), Input::Archive); in activate()
DEntryCmd.cpp32 LinkerScript& script = pModule.getScript(); in activate() local
33 if (!script.hasEntry()) in activate()
34 script.setEntry(m_Entry); in activate()
DInputCmd.cpp86 LinkerScript& script = pModule.getScript(); in activate() local
110 if (script.hasSysroot() && in activate()
112 path = script.sysroot(); in activate()
120 script.directories().find(token->name(), Input::Script); in activate()
141 path = script.directories().find(token->name(), Input::Archive); in activate()
145 path = script.directories().find(token->name(), Input::DynObj); in activate()
150 path = script.directories().find(token->name(), Input::Archive); in activate()
/frameworks/compile/libbcc/lib/Renderscript/
DRSCompilerDriver.cpp267 RSScript script(*source, getConfig()); in build() local
272 script.setLinkRuntimeCallback(getLinkRuntimeCallback()); in build()
274 script.setEmbedGlobalInfo(mEmbedGlobalInfo); in build()
275 script.setEmbedGlobalInfoSkipConstant(mEmbedGlobalInfoSkipConstant); in build()
279 script.setCompilerVersion(wrapper.getCompilerVersion()); in build()
280 script.setOptimizationLevel(static_cast<RSScript::OptimizationLevel>( in build()
300 Compiler::ErrorCode status = compileScript(script, pResName, in build()
387 RSScript script(*source); in buildScriptGroup() local
390 script.setEmbedInfo(true); in buildScriptGroup()
391 script.setOptimizationLevel(RSScript::kOptLvl3); in buildScriptGroup()
[all …]
/frameworks/rs/
DrsDriverLoader.cpp68 ret &= fn(RS_HAL_SCRIPT_INIT, (void **)&rsc->mHal.funcs.script.init); in LoadHalTable()
69 ret &= fn(RS_HAL_SCRIPT_INIT_INTRINSIC, (void **)&rsc->mHal.funcs.script.initIntrinsic); in LoadHalTable()
70 ret &= fn(RS_HAL_SCRIPT_INVOKE_FUNCTION, (void **)&rsc->mHal.funcs.script.invokeFunction); in LoadHalTable()
71 ret &= fn(RS_HAL_SCRIPT_INVOKE_ROOT, (void **)&rsc->mHal.funcs.script.invokeRoot); in LoadHalTable()
72 ret &= fn(RS_HAL_SCRIPT_INVOKE_FOR_EACH, (void **)&rsc->mHal.funcs.script.invokeForEach); in LoadHalTable()
73 ret &= fn(RS_HAL_SCRIPT_INVOKE_REDUCE, (void **)&rsc->mHal.funcs.script.invokeReduce); in LoadHalTable()
74 ret &= fn(RS_HAL_SCRIPT_INVOKE_INIT, (void **)&rsc->mHal.funcs.script.invokeInit); in LoadHalTable()
75 …ret &= fn(RS_HAL_SCRIPT_INVOKE_FREE_CHILDREN, (void **)&rsc->mHal.funcs.script.invokeFreeChildren); in LoadHalTable()
76 ret &= fn(RS_HAL_SCRIPT_SET_GLOBAL_VAR, (void **)&rsc->mHal.funcs.script.setGlobalVar); in LoadHalTable()
77 ret &= fn(RS_HAL_SCRIPT_GET_GLOBAL_VAR, (void **)&rsc->mHal.funcs.script.getGlobalVar); in LoadHalTable()
[all …]
DrsScriptC.cpp61 mRSC->mHal.funcs.script.invokeFreeChildren(mRSC, this); in ~ScriptC()
62 mRSC->mHal.funcs.script.destroy(mRSC, this); in ~ScriptC()
133 rsc->mHal.funcs.script.setGlobalBind(rsc, this, ct, mSlots[ct].get()); in setupScript()
169 ret = rsc->mHal.funcs.script.invokeRoot(rsc, this); in run()
222 if (rsc->mHal.funcs.script.invokeForEachMulti != nullptr) { in runForEach()
223 rsc->mHal.funcs.script.invokeForEachMulti(rsc, this, slot, ains, inLen, in runForEach()
227 rsc->mHal.funcs.script.invokeForEach(rsc, this, slot, ains[0], aout, in runForEach()
254 rsc->mHal.funcs.script.invokeReduce(rsc, this, slot, ains, inLen, aout, sc); in runReduce()
271 rsc->mHal.funcs.script.invokeFunction(rsc, this, slot, data, len); in Invoke()
375 if (!rsc->mHal.funcs.script.init(rsc, this, resName, cacheDir, bitcode, bitcodeLen, 0)) { in runCompiler()
[all …]
DrsScript.cpp56 mRSC->mHal.funcs.script.setGlobalBind(mRSC, this, slot, a); in setSlot()
67 mRSC->mHal.funcs.script.setGlobalVar(mRSC, this, slot, (void *)val, len); in setVar()
79 mRSC->mHal.funcs.script.getGlobalVar(mRSC, this, slot, (void *)val, len); in getVar()
91 mRSC->mHal.funcs.script.setGlobalVarWithElemDims(mRSC, this, slot, in setVar()
105 mRSC->mHal.funcs.script.setGlobalObj(mRSC, this, slot, val); in setVarObj()
109 if (rsc->mHal.funcs.script.updateCachedObject != nullptr) { in callUpdateCacheObject()
110 rsc->mHal.funcs.script.updateCachedObject(rsc, this, (rs_script *)dstObj); in callUpdateCacheObject()
118 mRSC->mHal.funcs.script.invokeFreeChildren(mRSC, this); in freeChildren()
/frameworks/base/tools/aapt2/
DLocale.cpp49 script[i++] = ::toupper(*scriptChars); in setScript()
51 script[i++] = ::tolower(*scriptChars); in setScript()
112 (part3.length() == 3 && isNumber(part3))) && script[0]) { in initFromFilterString()
235 if (script[0]) { in toDirName()
237 dirName += script; in toDirName()
257 memcpy(script, config.localeScript, sizeof(config.localeScript)); in initFromResTable()
269 if (script[0]) { in writeTo()
270 memcpy(out->localeScript, script, sizeof(out->localeScript)); in writeTo()
/frameworks/base/cmds/app_process/
DAndroid.mk15 LOCAL_LDFLAGS := -Wl,--version-script,art/sigchainlib/version-script.txt -Wl,--export-dynamic
61 LOCAL_LDFLAGS := -ldl -Wl,--version-script,art/sigchainlib/version-script.txt -Wl,--export-dynamic
/frameworks/compile/mclinker/unittests/
DLinkerTest.cpp49 LinkerScript script; in TEST_F() local
50 Module module("test", script); in TEST_F()
54 linker.emulate(script, config); in TEST_F()
77 LinkerScript script; in TEST_F() local
85 script.directories().insert(search_dir); in TEST_F()
89 linker.emulate(script, config); in TEST_F()
95 Module module("libplasma.so", script); in TEST_F()
341 LinkerScript script; in TEST_F() local
345 linker.emulate(script, config); in TEST_F()
350 Module module(script); in TEST_F()
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/
DRenderScriptTask.java25 enum script{f32, d1new}; enum in RenderScriptTask
29 private script mScript = script.d1new;
70 public RenderScriptTask(RenderScript renderScript, script sChoice) { in RenderScriptTask()
/frameworks/base/packages/services/PacProcessor/src/com/android/pacprocessor/
DPacNative.java34 private native boolean setProxyScriptNativeLocked(String script); in setProxyScriptNativeLocked() argument
66 public synchronized boolean setCurrentProxyScript(String script) { in setCurrentProxyScript() argument
67 if (setProxyScriptNativeLocked(script)) { in setCurrentProxyScript()
/frameworks/minikin/libs/minikin/
DFontLanguage.cpp61 uint8_t FontLanguage::scriptToSubScriptBits(uint32_t script) { in scriptToSubScriptBits() argument
63 switch (script) { in scriptToSubScriptBits()
134 bool FontLanguage::supportsHbScript(hb_script_t script) const { in supportsHbScript()
137 if (script == mScript) return true; in supportsHbScript()
138 return supportsScript(mSubScriptBits, scriptToSubScriptBits(script)); in supportsHbScript()
DLayout.cpp393 const hb_script_t script = codePointToScript(cp); in getScriptRun() local
394 if (script != current_script) { in getScriptRun()
397 current_script = script; in getScriptRun()
398 } else if (script == HB_SCRIPT_INHERITED || in getScriptRun()
399 script == HB_SCRIPT_COMMON) { in getScriptRun()
418 static bool isScriptOkForLetterspacing(hb_script_t script) { in isScriptOkForLetterspacing() argument
420 script == HB_SCRIPT_ARABIC || in isScriptOkForLetterspacing()
421 script == HB_SCRIPT_NKO || in isScriptOkForLetterspacing()
422 script == HB_SCRIPT_PSALTER_PAHLAVI || in isScriptOkForLetterspacing()
423 script == HB_SCRIPT_MANDAIC || in isScriptOkForLetterspacing()
[all …]
/frameworks/support/v8/renderscript/jni/
Dandroid_renderscript_RenderScript.cpp1387 nScriptBindAllocation(JNIEnv *_env, jobject _this, jlong con, jlong script, jlong alloc, jint slot,… in nScriptBindAllocation() argument
1390 (RsContext)con, (RsScript)script, (RsAllocation)alloc, slot); in nScriptBindAllocation()
1392 … dispatchTabInc.ScriptBindAllocation((RsContext)con, (RsScript)script, (RsAllocation)alloc, slot); in nScriptBindAllocation()
1394 … dispatchTab.ScriptBindAllocation((RsContext)con, (RsScript)script, (RsAllocation)alloc, slot); in nScriptBindAllocation()
1399 nScriptSetVarI(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jint val, jboolean … in nScriptSetVarI() argument
1402 (void *)script, slot, val); in nScriptSetVarI()
1404 dispatchTabInc.ScriptSetVarI((RsContext)con, (RsScript)script, slot, val); in nScriptSetVarI()
1406 dispatchTab.ScriptSetVarI((RsContext)con, (RsScript)script, slot, val); in nScriptSetVarI()
1411 nScriptSetVarObj(JNIEnv *_env, jobject _this, jlong con, jlong script, jint slot, jlong val, jboole… in nScriptSetVarObj() argument
1414 (void *)script, slot, val); in nScriptSetVarObj()
[all …]
/frameworks/compile/slang/
DREADME.rst147 to the functions and global variables within a script. In summary,
148 global variables and functions within a script that are not declared
150 to set the data within a script and call its functions.
242 * In terms of a script's global functions, they can be called from Java.
246 may call the runtime finish() method, which will wait for all the script
250 * The function **init** (if present) will be called once after the script
252 script may need before it can be used. The init function may not depend
259 will be called when a script must redraw its contents. No
261 called. It will only be called if the script is bound as a graphics root.
263 other invocations from Java. Thus the script will not change due
[all …]
/frameworks/base/docs/html/sdk/
Ddownload.jd7 <script type="text/javascript">
29 </script>
53 <script language="javascript">
59 </script>
80 <script type="text/javascript">
88 </script>
/frameworks/base/docs/html/samples/
Dviews.jd9 <script>
11 </script>
Dui.jd9 <script>
11 </script>
Dcontent.jd9 <script>
11 </script>

12345678910