Home
last modified time | relevance | path

Searched refs:Script (Results 1 – 25 of 185) sorted by relevance

12345678

/frameworks/rs/
DrsScript.cpp23 Script::Script(Context *rsc) : ObjectBase(rsc) { in Script() function in android::renderscript::Script
34 Script::~Script() { in ~Script()
45 void Script::setSlot(uint32_t slot, Allocation *a) { in setSlot()
59 void Script::setVar(uint32_t slot, const void *val, size_t len) { in setVar()
70 void Script::getVar(uint32_t slot, const void *val, size_t len) { in getVar()
82 void Script::setVar(uint32_t slot, const void *val, size_t len, Element *e, in setVar()
95 void Script::setVarObj(uint32_t slot, ObjectBase *val) { in setVarObj()
108 void Script::callUpdateCacheObject(const Context *rsc, void *dstObj) const { in callUpdateCacheObject()
116 bool Script::freeChildren() { in freeChildren()
122 ScriptKernelID::ScriptKernelID(Context *rsc, Script *s, int slot, int sig) in ScriptKernelID()
[all …]
DrsScript.h38 IDBase(Context *rsc, Script *s, int slot) : in IDBase()
45 Script *mScript;
51 ScriptKernelID(Context *rsc, Script *s, int slot, int sig);
62 ScriptInvokeID(Context *rsc, Script *s, int slot);
70 ScriptFieldID(Context *rsc, Script *s, int slot);
76 class Script : public ObjectBase {
101 explicit Script(Context *);
102 virtual ~Script();
Drs_hal.h81 class Script; variable
123 RS_BASE_OBJ(Script) rs_script;
160 bool (*initIntrinsic)(const Context *rsc, Script *s,
164 void (*invokeFunction)(const Context *rsc, Script *s,
168 int (*invokeRoot)(const Context *rsc, Script *s);
170 Script *s,
177 void (*invokeReduce)(const Context *rsc, Script *s,
182 void (*invokeInit)(const Context *rsc, Script *s);
183 void (*invokeFreeChildren)(const Context *rsc, Script *s);
185 void (*setGlobalVar)(const Context *rsc, const Script *s,
[all …]
DrsScriptGroup.h34 class Script; variable
59 explicit Node(Script *);
66 Script *mScript;
100 Node * findNode(Script *s) const;
/frameworks/base/rs/java/android/renderscript/
DScriptIntrinsicBlend.java43 private void blend(int id, Allocation ain, Allocation aout, Script.LaunchOptions opt) { in blend()
70 public void forEachClear(Allocation ain, Allocation aout, Script.LaunchOptions opt) { in forEachClear()
79 public Script.KernelID getKernelIDClear() { in getKernelIDClear()
101 public void forEachSrc(Allocation ain, Allocation aout, Script.LaunchOptions opt) { in forEachSrc()
110 public Script.KernelID getKernelIDSrc() { in getKernelIDSrc()
135 public void forEachDst(Allocation ain, Allocation aout, Script.LaunchOptions opt) { in forEachDst()
144 public Script.KernelID getKernelIDDst() { in getKernelIDDst()
165 public void forEachSrcOver(Allocation ain, Allocation aout, Script.LaunchOptions opt) { in forEachSrcOver()
174 public Script.KernelID getKernelIDSrcOver() { in getKernelIDSrcOver()
195 public void forEachDstOver(Allocation ain, Allocation aout, Script.LaunchOptions opt) { in forEachDstOver()
[all …]
DScriptGroup.java47 Script.KernelID mKID;
50 IO(Script.KernelID s) { in IO()
56 ConnectLine(Type t, Script.KernelID from, Script.KernelID to) { in ConnectLine()
62 ConnectLine(Type t, Script.KernelID from, Script.FieldID to) { in ConnectLine()
68 Script.FieldID mToF;
69 Script.KernelID mToK;
70 Script.KernelID mFrom;
75 Script mScript;
76 ArrayList<Script.KernelID> mKernels = new ArrayList<Script.KernelID>();
83 Node(Script s) { in Node()
[all …]
DScriptIntrinsicResize.java74 public Script.FieldID getFieldID_Input() { in getFieldID_Input()
103 public void forEach_bicubic(Allocation aout, Script.LaunchOptions opt) { in forEach_bicubic()
112 public Script.KernelID getKernelID_bicubic() { in getKernelID_bicubic()
/frameworks/rs/driver/
DrsdBcc.h27 android::renderscript::Script *s,
32 android::renderscript::Script *script,
38 android::renderscript::Script *s,
47 android::renderscript::Script *s,
55 android::renderscript::Script *s,
65 android::renderscript::Script *script);
67 android::renderscript::Script *script);
69 android::renderscript::Script *script);
72 const android::renderscript::Script *,
75 const android::renderscript::Script *,
[all …]
DrsdBcc.cpp33 using android::renderscript::Script;
56 bool rsdInitIntrinsic(const Context *rsc, Script *s, RsScriptIntrinsicID iid, in rsdInitIntrinsic()
69 Script *s, in rsdScriptInvokeForEach()
89 Script *s, in rsdScriptInvokeForEachMulti()
103 int rsdScriptInvokeRoot(const Context *dc, Script *s) { in rsdScriptInvokeRoot()
108 void rsdScriptInvokeInit(const Context *dc, Script *s) { in rsdScriptInvokeInit()
113 void rsdScriptInvokeFreeChildren(const Context *dc, Script *s) { in rsdScriptInvokeFreeChildren()
118 void rsdScriptInvokeFunction(const Context *dc, Script *s, in rsdScriptInvokeFunction()
126 void rsdScriptInvokeReduce(const Context *dc, Script *s, in rsdScriptInvokeReduce()
135 void rsdScriptSetGlobalVar(const Context *dc, const Script *s, in rsdScriptSetGlobalVar()
[all …]
/frameworks/rs/support/java/src/androidx/renderscript/
DScriptIntrinsicBlend.java79 public Script.KernelID getKernelIDClear() {
99 public Script.KernelID getKernelIDSrc() {
120 public Script.KernelID getKernelIDDst() {
139 public Script.KernelID getKernelIDSrcOver() {
158 public Script.KernelID getKernelIDDstOver() {
177 public Script.KernelID getKernelIDSrcIn() {
196 public Script.KernelID getKernelIDDstIn() {
215 public Script.KernelID getKernelIDSrcOut() {
234 public Script.KernelID getKernelIDDstOut() {
254 public Script.KernelID getKernelIDSrcAtop() {
[all …]
DScriptGroup.java54 Script.KernelID mKID;
57 IO(Script.KernelID s) { in IO()
63 ConnectLine(Type t, Script.KernelID from, Script.KernelID to) { in ConnectLine()
69 ConnectLine(Type t, Script.KernelID from, Script.FieldID to) { in ConnectLine()
75 Script.FieldID mToF;
76 Script.KernelID mToK;
77 Script.KernelID mFrom;
83 Script mScript;
84 ArrayList<Script.KernelID> mKernels = new ArrayList<Script.KernelID>();
93 Node(Script s) { in Node()
[all …]
/frameworks/rs/cpp/
DScript.cpp22 using android::RSC::Script;
24 void Script::invoke(uint32_t slot, const void *v, size_t len) const { in invoke()
28 void Script::forEach(uint32_t slot, const sp<const Allocation>& ain, const sp<const Allocation>& ao… in forEach()
38 Script::Script(void *id, sp<RS> rs) : BaseObj(id, rs) { in Script() function in Script
42 void Script::bindAllocation(const sp<Allocation>& va, uint32_t slot) const { in bindAllocation()
47 void Script::setVar(uint32_t index, const sp<const BaseObj>& o) const { in setVar()
51 void Script::setVar(uint32_t index, const void *v, size_t len) const { in setVar()
55 void Script::FieldBase::init(const sp<RS>& rs, uint32_t dimx, uint32_t usages) { in init()
DScriptIntrinsics.cpp36 : Script(nullptr, rs) { in ScriptIntrinsic()
64 Script::forEach(0, ain, aout, nullptr, 0); in forEach()
77 Script::setVar(0, lut); in setLUT()
97 Script::forEach(0, in, out, nullptr, 0); in forEachClear()
105 Script::forEach(1, in, out, nullptr, 0); in forEachSrc()
113 Script::forEach(2, in, out, nullptr, 0); in forEachDst()
121 Script::forEach(3, in, out, nullptr, 0); in forEachSrcOver()
129 Script::forEach(4, in, out, nullptr, 0); in forEachDstOver()
137 Script::forEach(5, in, out, nullptr, 0); in forEachSrcIn()
145 Script::forEach(6, in, out, nullptr, 0); in forEachDstIn()
[all …]
/frameworks/compile/libbcc/include/bcc/
DCompiler.h36 class Script; variable
82 enum ErrorCode runPasses(Script &pScript, llvm::raw_pwrite_stream &pResult);
84 bool addInternalizeSymbolsPass(Script &pScript, llvm::legacy::PassManager &pPM);
86 void addDebugInfoPass(Script &pScript, llvm::legacy::PassManager &pPM);
87 void addGlobalInfoPass(Script &pScript, llvm::legacy::PassManager &pPM);
101 enum ErrorCode compile(Script &pScript, llvm::raw_pwrite_stream &pResult,
115 enum ErrorCode screenGlobalFunctions(Script &pScript);
117 void translateGEPs(Script &pScript);
DScript.h31 class Script; variable
35 typedef llvm::Module *(*RSLinkRuntimeCallback)(bcc::Script *, llvm::Module *,
38 class Script {
60 explicit Script(Source *pSource);
62 ~Script() {} in ~Script()
/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/
DTimeZoneDetectorStrategyImplTest.java97 Script script = new Script() in testEmptyTelephonySuggestions()
139 Script script = new Script() in testTelephonySuggestionsWhenTimeZoneUninitialized()
202 Script script = new Script(); in testTogglingAutoTimeZoneDetection()
256 Script script = new Script() in testTelephonySuggestionsSingleSlotId()
280 private void makeSlotIndex1SuggestionAndCheckState(Script script, SuggestionTestCase testCase) { in makeSlotIndex1SuggestionAndCheckState()
322 Script script = new Script() in testMultipleSlotIndexSuggestionScoringAndSlotIndexBias()
408 Script script = new Script() in testTimeZoneDetectorStrategyDoesNotAssumeCurrentSetting()
445 Script script = new Script() in testManualSuggestion_autoTimeZoneDetectionEnabled()
457 Script script = new Script() in testManualSuggestion_autoTimeZoneDetectionDisabled()
585 private class Script { class in TimeZoneDetectorStrategyImplTest
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/nitz/
DNitzStateMachineImplTest.java122 Script script = new Script() in test_countryThenNitz()
164 Script script = new Script() in test_nitzThenCountry()
194 Script script = new Script() in test_emptyCountryString_countryReceivedFirst()
236 Script script = new Script() in test_emptyCountryStringUsTime_nitzReceivedFirst()
278 Script script = new Script() in test_airplaneModeClearsState()
378 Script script = new Script() in test_handleNetworkUnavailableClearsNetworkState()
459 Script script = new Script() in test_countryUnavailableClearsTimeZoneSuggestion()
499 private class Script { class in NitzStateMachineImplTest
501 Script() { in Script() method in NitzStateMachineImplTest.Script
510 Script initializeSystemClock(long timeMillis) { in initializeSystemClock()
[all …]
/frameworks/compile/libbcc/lib/
DScript.cpp31 Script::Script(Source *pSource) in Script() function in Script
37 bool Script::LinkRuntime(const char *core_lib) { in LinkRuntime()
90 bool Script::mergeSource(Source &pSource) { return mSource->merge(pSource); } in mergeSource()
/frameworks/rs/cpu_ref/
DrsCpuIntrinsicLUT.cpp27 void populateScript(Script *) override;
33 RsdCpuScriptIntrinsicLUT(RsdCpuReferenceImpl *ctx, const Script *s, const Element *e);
77 const Script *s, const Element *e) in RsdCpuScriptIntrinsicLUT()
86 void RsdCpuScriptIntrinsicLUT::populateScript(Script *s) { in populateScript()
95 const Script *s, const Element *e) { in rsdIntrinsic_LUT()
Drsd_cpu.h32 class Script; variable
53 virtual void populateScript(Script *) = 0;
96 typedef CpuScript * (* script_lookup_t)(Context *, const Script *s);
117 static const Script * getTlsScript();
131 virtual CpuScript * createIntrinsic(const Script *s, RsScriptIntrinsicID iid, Element *e) = 0;
/frameworks/compile/slang/tests/P_reflection3264_divergent/
DScriptC_reflection3264_divergent.java.expect69 public Script.FieldID getFieldID_intVar() {
91 public Script.FieldID getFieldID_intArray() {
108 public Script.FieldID getFieldID_matVar() {
130 public Script.FieldID getFieldID_matArray() {
145 public Script.FieldID getFieldID_allocVar() {
167 public Script.FieldID getFieldID_allocArray() {
187 public Script.FieldID getFieldID_ndVar() {
210 public Script.FieldID getFieldID_ndArray() {
233 public Script.FieldID getFieldID_dVar() {
259 public Script.FieldID getFieldID_dArray() {
[all …]
/frameworks/compile/slang/tests/P_reflection3264_divergent_support/
DScriptC_reflection3264_divergent.java.expect66 public Script.FieldID getFieldID_intVar() {
88 public Script.FieldID getFieldID_intArray() {
105 public Script.FieldID getFieldID_matVar() {
127 public Script.FieldID getFieldID_matArray() {
142 public Script.FieldID getFieldID_allocVar() {
164 public Script.FieldID getFieldID_allocArray() {
184 public Script.FieldID getFieldID_ndVar() {
207 public Script.FieldID getFieldID_ndArray() {
230 public Script.FieldID getFieldID_dVar() {
256 public Script.FieldID getFieldID_dArray() {
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/timedetector/
DTimeDetectorStrategyImplTest.java57 private Script mScript;
61 mScript = new Script(); in setUp()
727 private class Script { class in TimeDetectorStrategyImplTest
732 Script() { in Script() method in TimeDetectorStrategyImplTest.Script
739 Script pokeAutoTimeDetectionEnabled(boolean enabled) { in pokeAutoTimeDetectionEnabled()
744 Script pokeFakeClocks(TimestampedValue<Long> timeInfo) { in pokeFakeClocks()
750 Script pokeThresholds(int systemClockUpdateThreshold) { in pokeThresholds()
763 Script simulateTelephonyTimeSuggestion(TelephonyTimeSuggestion timeSuggestion) { in simulateTelephonyTimeSuggestion()
768 Script simulateManualTimeSuggestion(ManualTimeSuggestion timeSuggestion) { in simulateManualTimeSuggestion()
773 Script simulateNetworkTimeSuggestion(NetworkTimeSuggestion timeSuggestion) { in simulateNetworkTimeSuggestion()
[all …]
/frameworks/compile/mclinker/lib/MC/
DSearchDirs.cpp73 Input::Script == pType); in find()
77 case Input::Script: in find()
96 case Input::Script: { in find()
138 Input::Script == pType); in find()
142 case Input::Script: in find()
161 case Input::Script: { in find()
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
DFilters.java23 import android.renderscript.Script;
39 public Script.KernelID getKernelID(); in getKernelID()
76 public Script.KernelID getKernelID() { return s_mat.getKernelID_colormatrix(); } in getKernelID()
90 public Script.KernelID getKernelID() { return s.getKernelID_contrast(); } in getKernelID()
104 public Script.KernelID getKernelID() { return s.getKernelID_exposure(); } in getKernelID()
125 public Script.KernelID getKernelID() { return s.getKernelID_fisheye(); } in getKernelID()
150 public Script.KernelID getKernelID() { return s.getKernelID_greyscale(); } in getKernelID()
209 public Script.KernelID getKernelID() { return s.getKernelID_levels_v4(); } in getKernelID()
226 public Script.KernelID getKernelID() { return s.getKernelID_shadowsKernel(); } in getKernelID()
241 public Script.KernelID getKernelID() { return s.getKernelID_vibranceKernel(); } in getKernelID()
[all …]

12345678