/frameworks/base/tools/localedata/ |
D | extract_icu_data.py | 122 for index, script in enumerate(all_scripts): 124 index, script[0], script[1], script[2], script[3]) 134 script = likely_script_dict[locale] 137 all_scripts.index(script), 139 script) 145 _, script, _ = get_locale_parts(locale) 147 (ord(script[0]) << 24) | 148 (ord(script[1]) << 16) | 149 (ord(script[2]) << 8) | 150 ord(script[3])) [all …]
|
/frameworks/rs/rsov/compiler/ |
D | rs2spirv_driver.sh | 28 eval rs2spirv "$output_folder/$script.spv" -print-as-words 62 script=`basename ${2%.*}` # Remove enclosing directories and extension. 70 eval llvm-as "$output_folder/bc32/$script.ll" -o "$output_folder/$script.bc" && 71 eval rs2spirv "$output_folder/$script.bc" -o "$output_folder/$script.spv" && 73 eval "$SPIRV_TOOLS_PATH/spirv-val" "$output_folder/$script.spv" &&
|
/frameworks/rs/rsov/compiler/tests/ |
D | rs2spirv_lit_driver.sh | 27 script=${script_name%.*} # Remove extension. 32 eval llvm-as "$script_path" -o "$output_folder/$script.bc" && 33 eval rs2spirv "$output_folder/$script.bc" -o "$output_folder/$script.spv" && 34 eval spirv-val "$output_folder/$script.spv" 41 eval spirv-dis --no-color "$output_folder/$script.spv"
|
/frameworks/compile/libbcc/lib/ |
D | Compiler.cpp | 221 enum Compiler::ErrorCode Compiler::runPasses(Script &script, in runPasses() argument 235 addDebugInfoPass(script, transformPasses); in runPasses() 238 if (!addInternalizeSymbolsPass(script, transformPasses)) in runPasses() 241 addGlobalInfoPass(script, transformPasses); in runPasses() 279 if (script.getEmbedInfo()) in runPasses() 283 transformPasses.run(script.getSource().getModule()); in runPasses() 296 codeGenPasses.run(script.getSource().getModule()); in runPasses() 301 enum Compiler::ErrorCode Compiler::compile(Script &script, in compile() argument 304 llvm::Module &module = script.getSource().getModule(); in compile() 326 if (script.isStructExplicitlyPaddedBySlang()) { in compile() [all …]
|
D | RSCompilerDriver.cpp | 261 Script script(source); in build() local 262 script.setOptimizationLevel(getConfig()->getOptimizationLevel()); in build() 267 script.setLinkRuntimeCallback(getLinkRuntimeCallback()); in build() 269 script.setEmbedGlobalInfo(mEmbedGlobalInfo); in build() 270 script.setEmbedGlobalInfoSkipConstant(mEmbedGlobalInfoSkipConstant); in build() 274 script.setOptimizationLevel(static_cast<llvm::CodeGenOpt::Level>( in build() 294 Compiler::ErrorCode status = compileScript(script, pResName, in build() 404 Script script(source.get()); in buildScriptGroup() local 407 script.setEmbedInfo(true); in buildScriptGroup() 410 script.setOptimizationLevel(llvm::CodeGenOpt::Level::Aggressive); in buildScriptGroup() [all …]
|
/frameworks/base/libs/androidfw/ |
D | LocaleData.cpp | 48 uint32_t findParent(uint32_t packed_locale, const char* script) { in findParent() argument 51 if (memcmp(script, SCRIPT_PARENTS[i].script, SCRIPT_LENGTH) == 0) { in findParent() 78 uint32_t packed_locale, const char* script, in findAncestors() argument 91 ancestor = findParent(ancestor, script); in findAncestors() 98 const char* script, in findDistance() argument 104 supported, script, in findDistance() 114 inline bool isRepresentative(uint32_t language_and_region, const char* script) { in isRepresentative() argument 117 (((uint64_t) script[0]) << 24u) | in isRepresentative() 118 (((uint64_t) script[1]) << 16u) | in isRepresentative() 119 (((uint64_t) script[2]) << 8u) | in isRepresentative() [all …]
|
/frameworks/rs/driver/ |
D | rsdBcc.h | 32 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,
|
/frameworks/compile/mclinker/lib/Script/ |
D | Assignment.cpp | 79 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()
|
D | GroupCmd.cpp | 75 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()
|
D | EntryCmd.cpp | 32 LinkerScript& script = pModule.getScript(); in activate() local 33 if (!script.hasEntry()) in activate() 34 script.setEntry(m_Entry); in activate()
|
D | InputCmd.cpp | 86 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/rs/ |
D | rsDriverLoader.cpp | 60 ret &= fn(RS_HAL_SCRIPT_INIT, (void **)&rsc->mHal.funcs.script.init); in LoadHalTable() 61 ret &= fn(RS_HAL_SCRIPT_INIT_INTRINSIC, (void **)&rsc->mHal.funcs.script.initIntrinsic); in LoadHalTable() 62 ret &= fn(RS_HAL_SCRIPT_INVOKE_FUNCTION, (void **)&rsc->mHal.funcs.script.invokeFunction); in LoadHalTable() 63 ret &= fn(RS_HAL_SCRIPT_INVOKE_ROOT, (void **)&rsc->mHal.funcs.script.invokeRoot); in LoadHalTable() 64 ret &= fn(RS_HAL_SCRIPT_INVOKE_FOR_EACH, (void **)&rsc->mHal.funcs.script.invokeForEach); in LoadHalTable() 65 ret &= fn(RS_HAL_SCRIPT_INVOKE_REDUCE, (void **)&rsc->mHal.funcs.script.invokeReduce); in LoadHalTable() 66 ret &= fn(RS_HAL_SCRIPT_INVOKE_INIT, (void **)&rsc->mHal.funcs.script.invokeInit); in LoadHalTable() 67 …ret &= fn(RS_HAL_SCRIPT_INVOKE_FREE_CHILDREN, (void **)&rsc->mHal.funcs.script.invokeFreeChildren); in LoadHalTable() 68 ret &= fn(RS_HAL_SCRIPT_SET_GLOBAL_VAR, (void **)&rsc->mHal.funcs.script.setGlobalVar); in LoadHalTable() 69 ret &= fn(RS_HAL_SCRIPT_GET_GLOBAL_VAR, (void **)&rsc->mHal.funcs.script.getGlobalVar); in LoadHalTable() [all …]
|
D | rsScriptC.cpp | 55 mRSC->mHal.funcs.script.invokeFreeChildren(mRSC, this); in ~ScriptC() 56 mRSC->mHal.funcs.script.destroy(mRSC, this); in ~ScriptC() 125 rsc->mHal.funcs.script.setGlobalBind(rsc, this, ct, mSlots[ct].get()); in setupScript() 161 ret = rsc->mHal.funcs.script.invokeRoot(rsc, this); in run() 206 if (rsc->mHal.funcs.script.invokeForEachMulti != nullptr) { in runForEach() 207 rsc->mHal.funcs.script.invokeForEachMulti(rsc, this, slot, ains, inLen, in runForEach() 211 rsc->mHal.funcs.script.invokeForEach(rsc, this, slot, ains[0], aout, in runForEach() 238 rsc->mHal.funcs.script.invokeReduce(rsc, this, slot, ains, inLen, aout, sc); in runReduce() 255 rsc->mHal.funcs.script.invokeFunction(rsc, this, slot, data, len); in Invoke() 355 if (!rsc->mHal.funcs.script.init(rsc, this, resName, cacheDir, bitcode, bitcodeLen, 0)) { in runCompiler() [all …]
|
D | rsHidlAdaptation.cpp | 721 void RsHidlAdaptation::ScriptBindAllocation (RsContext context, RsScript script, RsAllocation alloc… in ScriptBindAllocation() argument 723 uint64_t _script = (uint64_t)(uintptr_t)script; in ScriptBindAllocation() 729 void RsHidlAdaptation::ScriptSetTimeZone (RsContext context, RsScript script, const char* timezone,… in ScriptSetTimeZone() argument 731 uint64_t _script = (uint64_t)(uintptr_t)script; in ScriptSetTimeZone() 736 void RsHidlAdaptation::ScriptInvoke (RsContext context, RsScript script, uint32_t slot) in ScriptInvoke() argument 738 uint64_t _script = (uint64_t)(uintptr_t)script; in ScriptInvoke() 743 void RsHidlAdaptation::ScriptInvokeV (RsContext context, RsScript script, uint32_t slot, const void… in ScriptInvokeV() argument 745 uint64_t _script = (uint64_t)(uintptr_t)script; in ScriptInvokeV() 752 void RsHidlAdaptation::ScriptForEach (RsContext context, RsScript script, uint32_t slot, in ScriptForEach() argument 763 ScriptForEachMulti(context, script, slot, vains, inLen, vaout, params, paramLen, sc, scLen); in ScriptForEach() [all …]
|
/frameworks/rs/rsov/driver/ |
D | rsovScript.h | 155 android::renderscript::ScriptC *script, 166 android::renderscript::Script *script, 188 android::renderscript::Script *script); 191 android::renderscript::Script *script); 195 android::renderscript::Script *script); 221 const android::renderscript::Script *script, 224 const android::renderscript::Script *script, 227 android::renderscript::Script *script); 231 const android::renderscript::Script *script, const void *); 235 const android::renderscript::Script *script,
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | RenderScriptTask.java | 26 enum script{f32, d1new}; enum in RenderScriptTask 30 private script mScript = script.d1new; 73 public RenderScriptTask(RenderScript renderScript, script sChoice) { in RenderScriptTask()
|
/frameworks/compile/mclinker/unittests/ |
D | LinkerTest.cpp | 49 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/base/packages/services/PacProcessor/src/com/android/pacprocessor/ |
D | PacNative.java | 34 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/ |
D | FontLanguage.cpp | 178 uint32_t script) { in resolveEmojiStyle() argument 200 if (script == SCRIPT_TAG('Z', 's', 'y', 'e')) { in resolveEmojiStyle() 202 } else if (script == SCRIPT_TAG('Z', 's', 'y', 'm')) { in resolveEmojiStyle() 210 uint8_t FontLanguage::scriptToSubScriptBits(uint32_t script) { in scriptToSubScriptBits() argument 212 switch (script) { in scriptToSubScriptBits() 280 bool FontLanguage::supportsHbScript(hb_script_t script) const { in supportsHbScript() 283 if (script == mScript) return true; in supportsHbScript() 284 return supportsScript(mSubScriptBits, scriptToSubScriptBits(script)); in supportsHbScript()
|
D | Layout.cpp | 348 const hb_script_t script = codePointToScript(cp); in getScriptRun() local 349 if (script != current_script) { in getScriptRun() 352 current_script = script; in getScriptRun() 353 } else if (script == HB_SCRIPT_INHERITED || in getScriptRun() 354 script == HB_SCRIPT_COMMON) { in getScriptRun() 373 static bool isScriptOkForLetterspacing(hb_script_t script) { in isScriptOkForLetterspacing() argument 375 script == HB_SCRIPT_ARABIC || in isScriptOkForLetterspacing() 376 script == HB_SCRIPT_NKO || in isScriptOkForLetterspacing() 377 script == HB_SCRIPT_PSALTER_PAHLAVI || in isScriptOkForLetterspacing() 378 script == HB_SCRIPT_MANDAIC || in isScriptOkForLetterspacing() [all …]
|
D | Hyphenator.cpp | 223 const UScriptCode script = uscript_getScript(static_cast<UChar32>(codePoint), &errorCode); in getScript() local 225 return script; in getScript() 236 const UScriptCode script = getScript(codePoint); in hyphenationTypeBasedOnScript() local 237 if (script == USCRIPT_KANNADA in hyphenationTypeBasedOnScript() 238 || script == USCRIPT_MALAYALAM in hyphenationTypeBasedOnScript() 239 || script == USCRIPT_TAMIL in hyphenationTypeBasedOnScript() 240 || script == USCRIPT_TELUGU) { in hyphenationTypeBasedOnScript() 243 } else if (script == USCRIPT_ARMENIAN) { in hyphenationTypeBasedOnScript() 245 } else if (script == USCRIPT_CANADIAN_ABORIGINAL) { in hyphenationTypeBasedOnScript()
|
/frameworks/base/tools/aapt2/ |
D | Locale.cpp | 51 script[i++] = ::toupper(*script_chars); in set_script() 53 script[i++] = ::tolower(*script_chars); in set_script() 115 script[0]) { in InitFromFilterString() 233 memcpy(script, config.localeScript, sizeof(config.localeScript)); in InitFromResTable() 245 if (script[0]) { in WriteTo() 246 memcpy(out->localeScript, script, sizeof(out->localeScript)); in WriteTo()
|
/frameworks/rs/support/jni/ |
D | android_renderscript_RenderScript.cpp | 1387 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/ |
D | README.rst | 147 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/rs/tests/lldb/java/ScriptGroup/src/com/android/rs/scriptgroup/ |
D | MainActivity.java | 37 ScriptC_scriptgroup script = new ScriptC_scriptgroup(pRS); in onCreate() local 52 script.getKernelID_foo(), Type.createX(pRS, Element.I32(pRS), ARRAY_SIZE), unbound); in onCreate() 54 ScriptGroup.Closure c1 = builder.addKernel(script.getKernelID_goo(), in onCreate()
|