Lines Matching refs:script
30 Script script = context->scriptIntrinsicCreate(ScriptIntrinsicID::ID_BLUR, element); in TEST_P() local
31 EXPECT_NE(Script(0), script); in TEST_P()
33 context->scriptSetTimeZone(script, "UTF-8"); in TEST_P()
47 Script script = context->scriptCCreate("struct_test", "/data/local/tmp/", bitcode); in TEST_P() local
48 ASSERT_NE(Script(0), script); in TEST_P()
51 context->scriptSetVarI(script, mExportVarIdx_var_int, 100); in TEST_P()
53 context->scriptGetVarV(script, mExportVarIdx_var_int, sizeof(int), in TEST_P()
57 context->scriptSetVarJ(script, mExportVarIdx_var_long, 101L); in TEST_P()
59 context->scriptGetVarV(script, mExportVarIdx_var_long, sizeof(long), in TEST_P()
64 context->scriptSetVarF(script, mExportVarIdx_var_float, 102.0f); in TEST_P()
66 context->scriptGetVarV(script, mExportVarIdx_var_float, sizeof(float), in TEST_P()
71 context->scriptSetVarD(script, mExportVarIdx_var_double, 103.0); in TEST_P()
73 context->scriptGetVarV(script, mExportVarIdx_var_double, sizeof(double), in TEST_P()
93 context->scriptSetVarObj(script, mExportVarIdx_var_allocation, (ObjectBase)allocationIn); in TEST_P()
94 context->scriptGetVarV(script, mExportVarIdx_var_allocation, sizeof(ObjectBase), in TEST_P()
102 context->scriptSetVarV(script, mExportVarIdx_var_uint32_t, _dataV); in TEST_P()
104 context->scriptGetVarV(script, mExportVarIdx_var_uint32_t, sizeof(uint32_t), in TEST_P()
120 context->scriptSetVarVE(script, mExportVarIdx_var_point2, _dataVE, elementVE, _dimsVE); in TEST_P()
121 context->scriptGetVarV(script, mExportVarIdx_var_point2, 2*sizeof(int), in TEST_P()
138 Script script = context->scriptCCreate("struct_test", "/data/local/tmp/", bitcode); in TEST_P() local
139 ASSERT_NE(Script(0), script); in TEST_P()
148 context->scriptInvoke(script, mExportFuncIdx_function); in TEST_P()
149 context->scriptGetVarV(script, mExportVarIdx_var_int, sizeof(int), in TEST_P()
151 context->scriptGetVarV(script, mExportVarIdx_var_long, sizeof(long), in TEST_P()
154 context->scriptGetVarV(script, mExportVarIdx_var_float, sizeof(float), in TEST_P()
157 context->scriptGetVarV(script, mExportVarIdx_var_double, sizeof(double), in TEST_P()
160 context->scriptGetVarV(script, mExportVarIdx_var_uint32_t, sizeof(uint32_t), in TEST_P()
163 context->scriptGetVarV(script, mExportVarIdx_var_point2, 2*sizeof(int), in TEST_P()
180 context->scriptInvokeV(script, mExportFuncIdx_functionV, functionV_data); in TEST_P()
181 context->scriptGetVarV(script, mExportVarIdx_var_int, sizeof(int), in TEST_P()
197 Script script = context->scriptCCreate("struct_test", "/data/local/tmp/", bitcode); in TEST_P() local
198 ASSERT_NE(Script(0), script); in TEST_P()
228 context->scriptForEach(script, mExportForEachIdx_increment, vains, vout, params, nullptr); in TEST_P()
243 Script script = context->scriptCCreate("struct_test", "/data/local/tmp/", bitcode); in TEST_P() local
244 ASSERT_NE(Script(0), script); in TEST_P()
275 context->scriptReduce(script, mExportReduceIdx_summation, vains, vaout, nullptr); in TEST_P()
294 Script script = context->scriptCCreate("struct_test", "/data/local/tmp/", bitcode); in TEST_P() local
295 ASSERT_NE(Script(0), script); in TEST_P()
315 context->scriptBindAllocation(script, allocation, mExportVarIdx_var_int_ptr); in TEST_P()
319 context->scriptInvokeV(script, mExportFuncIdx_setBuffer, _dim); in TEST_P()
424 Script script = context->scriptCCreate("struct_test", "/data/local/tmp/", bitcode); in TEST_P() local
425 ASSERT_NE(Script(0), script); in TEST_P()
445 ScriptFieldID fieldID = context->scriptFieldIDCreate(script, mExportVarIdx_var_allocation); in TEST_P()
449 ScriptInvokeID invokeID = context->scriptInvokeIDCreate(script, mExportFuncIdx_setAllocation); in TEST_P()
462 ScriptKernelID kernelID = context->scriptKernelIDCreate(script, mExportForEachIdx_increment, 3); in TEST_P()
501 Script script = context->scriptCCreate("struct_test", "/data/local/tmp/", bitcode); in TEST_P() local
502 ASSERT_NE(Script(0), script); in TEST_P()
523 ScriptKernelID kernelID = context->scriptKernelIDCreate(script, mExportForEachIdx_increment, 3); in TEST_P()