Home
last modified time | relevance | path

Searched refs:interp (Results 1 – 25 of 259) sorted by relevance

1234567891011

/external/python/cpython3/Python/
Dpystate.c12 (GET_TSTATE()->interp)
125 PyInterpreterState *interp = (PyInterpreterState *) in PyInterpreterState_New() local
128 if (interp == NULL) { in PyInterpreterState_New()
132 interp->id_refcount = -1; in PyInterpreterState_New()
133 interp->id_mutex = NULL; in PyInterpreterState_New()
134 interp->modules = NULL; in PyInterpreterState_New()
135 interp->modules_by_index = NULL; in PyInterpreterState_New()
136 interp->sysdict = NULL; in PyInterpreterState_New()
137 interp->builtins = NULL; in PyInterpreterState_New()
138 interp->builtins_copy = NULL; in PyInterpreterState_New()
[all …]
Dpylifecycle.c56 static _PyInitError add_main_module(PyInterpreterState *interp);
57 static _PyInitError initfsencoding(PyInterpreterState *interp);
59 static _PyInitError init_sys_streams(PyInterpreterState *interp);
288 initimport(PyInterpreterState *interp, PyObject *sysmod) in initimport() argument
306 interp->importlib = importlib; in initimport()
307 Py_INCREF(interp->importlib); in initimport()
309 interp->import_func = PyDict_GetItemString(interp->builtins, "__import__"); in initimport()
310 if (interp->import_func == NULL) in initimport()
312 Py_INCREF(interp->import_func); in initimport()
344 initexternalimport(PyInterpreterState *interp) in initexternalimport() argument
[all …]
Dcodecs.c35 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyCodec_Register() local
36 if (interp->codec_search_path == NULL && _PyCodecRegistry_Init()) in PyCodec_Register()
46 return PyList_Append(interp->codec_search_path, search_function); in PyCodec_Register()
102 PyInterpreterState *interp; in _PyCodec_Lookup() local
111 interp = PyThreadState_GET()->interp; in _PyCodec_Lookup()
112 if (interp->codec_search_path == NULL && _PyCodecRegistry_Init()) in _PyCodec_Lookup()
124 result = PyDict_GetItem(interp->codec_search_cache, v); in _PyCodec_Lookup()
139 len = PyList_Size(interp->codec_search_path); in _PyCodec_Lookup()
152 func = PyList_GetItem(interp->codec_search_path, i); in _PyCodec_Lookup()
178 if (PyDict_SetItem(interp->codec_search_cache, v, result) < 0) { in _PyCodec_Lookup()
[all …]
Dimport.c46 _PyImport_Init(PyInterpreterState *interp) in _PyImport_Init() argument
48 interp->builtins_copy = PyDict_Copy(interp->builtins); in _PyImport_Init()
49 if (interp->builtins_copy == NULL) { in _PyImport_Init()
308 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyImport_GetModuleDict() local
309 if (interp->modules == NULL) { in PyImport_GetModuleDict()
312 return interp->modules; in PyImport_GetModuleDict()
320 _PyImport_IsInitialized(PyInterpreterState *interp) in _PyImport_IsInitialized() argument
322 if (interp->modules == NULL) in _PyImport_IsInitialized()
401 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyImport_Cleanup() local
419 if (PyDict_SetItemString(interp->builtins, "_", Py_None) < 0) { in PyImport_Cleanup()
[all …]
/external/python/cpython2/Python/
Dpystate.c60 PyInterpreterState *interp = (PyInterpreterState *) in PyInterpreterState_New() local
63 if (interp != NULL) { in PyInterpreterState_New()
69 interp->modules = NULL; in PyInterpreterState_New()
70 interp->modules_reloading = NULL; in PyInterpreterState_New()
71 interp->sysdict = NULL; in PyInterpreterState_New()
72 interp->builtins = NULL; in PyInterpreterState_New()
73 interp->tstate_head = NULL; in PyInterpreterState_New()
74 interp->codec_search_path = NULL; in PyInterpreterState_New()
75 interp->codec_search_cache = NULL; in PyInterpreterState_New()
76 interp->codec_error_registry = NULL; in PyInterpreterState_New()
[all …]
Dcodecs.c31 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyCodec_Register() local
32 if (interp->codec_search_path == NULL && _PyCodecRegistry_Init()) in PyCodec_Register()
42 return PyList_Append(interp->codec_search_path, search_function); in PyCodec_Register()
96 PyInterpreterState *interp; in _PyCodec_Lookup() local
105 interp = PyThreadState_GET()->interp; in _PyCodec_Lookup()
106 if (interp->codec_search_path == NULL && _PyCodecRegistry_Init()) in _PyCodec_Lookup()
118 result = PyDict_GetItem(interp->codec_search_cache, v); in _PyCodec_Lookup()
131 len = PyList_Size(interp->codec_search_path); in _PyCodec_Lookup()
144 func = PyList_GetItem(interp->codec_search_path, i); in _PyCodec_Lookup()
170 PyDict_SetItem(interp->codec_search_cache, v, result); in _PyCodec_Lookup()
[all …]
Dpythonrun.c164 PyInterpreterState *interp; in Py_InitializeEx() local
203 interp = PyInterpreterState_New(); in Py_InitializeEx()
204 if (interp == NULL) in Py_InitializeEx()
207 tstate = PyThreadState_New(interp); in Py_InitializeEx()
228 interp->modules = PyDict_New(); in Py_InitializeEx()
229 if (interp->modules == NULL) in Py_InitializeEx()
231 interp->modules_reloading = PyDict_New(); in Py_InitializeEx()
232 if (interp->modules_reloading == NULL) in Py_InitializeEx()
243 interp->builtins = PyModule_GetDict(bimod); in Py_InitializeEx()
244 if (interp->builtins == NULL) in Py_InitializeEx()
[all …]
/external/python/cpython2/Modules/
Dtkappinit.c27 Tcl_AppInit(Tcl_Interp *interp) in Tcl_AppInit() argument
45 Tk_MacOSXOpenBundleResources (interp, "com.tcltk.tcllibrary", in Tcl_AppInit()
49 Tcl_SetVar(interp, "tcl_library", tclLibPath, TCL_GLOBAL_ONLY); in Tcl_AppInit()
50 Tcl_SetVar(interp, "tclDefaultLibrary", tclLibPath, TCL_GLOBAL_ONLY); in Tcl_AppInit()
51 Tcl_SetVar(interp, "tcl_pkgPath", tclLibPath, TCL_GLOBAL_ONLY); in Tcl_AppInit()
55 Tcl_SetVar(interp, "tcl_library", tclLibPath, TCL_GLOBAL_ONLY); in Tcl_AppInit()
56 Tcl_SetVar(interp, "tclDefaultLibrary", tclLibPath, TCL_GLOBAL_ONLY); in Tcl_AppInit()
57 Tcl_SetVar(interp, "tcl_pkgPath", tclLibPath, TCL_GLOBAL_ONLY); in Tcl_AppInit()
60 if (Tcl_Init (interp) == TCL_ERROR) in Tcl_AppInit()
65 Tk_MacOSXOpenBundleResources (interp, "com.tcltk.tklibrary", in Tcl_AppInit()
[all …]
/external/python/cpython3/Modules/
Dtkappinit.c27 Tcl_AppInit(Tcl_Interp *interp) in Tcl_AppInit() argument
42 Tk_MacOSXOpenBundleResources (interp, "com.tcltk.tcllibrary", in Tcl_AppInit()
46 Tcl_SetVar(interp, "tcl_library", tclLibPath, TCL_GLOBAL_ONLY); in Tcl_AppInit()
47 Tcl_SetVar(interp, "tclDefaultLibrary", tclLibPath, TCL_GLOBAL_ONLY); in Tcl_AppInit()
48 Tcl_SetVar(interp, "tcl_pkgPath", tclLibPath, TCL_GLOBAL_ONLY); in Tcl_AppInit()
52 Tcl_SetVar(interp, "tcl_library", tclLibPath, TCL_GLOBAL_ONLY); in Tcl_AppInit()
53 Tcl_SetVar(interp, "tclDefaultLibrary", tclLibPath, TCL_GLOBAL_ONLY); in Tcl_AppInit()
54 Tcl_SetVar(interp, "tcl_pkgPath", tclLibPath, TCL_GLOBAL_ONLY); in Tcl_AppInit()
57 if (Tcl_Init (interp) == TCL_ERROR) in Tcl_AppInit()
62 Tk_MacOSXOpenBundleResources (interp, "com.tcltk.tklibrary", in Tcl_AppInit()
[all …]
/external/libxkbcommon/xkbcommon/src/xkbcomp/
Dkeymap.c88 const struct xkb_sym_interpret *interp = &keymap->sym_interprets[i]; in FindInterpForKey() local
93 if ((num_syms > 1 || interp->sym != syms[0]) && in FindInterpForKey()
94 interp->sym != XKB_KEY_NoSymbol) in FindInterpForKey()
97 if (interp->level_one_only && level != 0) in FindInterpForKey()
102 switch (interp->match) { in FindInterpForKey()
104 found = !(interp->mods & mods); in FindInterpForKey()
107 found = (!mods || (interp->mods & mods)); in FindInterpForKey()
110 found = (interp->mods & mods); in FindInterpForKey()
113 found = ((interp->mods & mods) == interp->mods); in FindInterpForKey()
116 found = (interp->mods == mods); in FindInterpForKey()
[all …]
Dcompat.c68 struct xkb_sym_interpret interp; member
107 KeysymText(info->ctx, si->interp.sym), in siText()
108 SIMatchText(si->interp.match), in siText()
109 ModMaskText(info->ctx, &info->mods, si->interp.mods)); in siText()
154 info->default_interp.interp.virtual_mod = XKB_MOD_INVALID; in InitCompatInfo()
171 if (old->interp.sym == new->interp.sym && in FindMatchingInterp()
172 old->interp.mods == new->interp.mods && in FindMatchingInterp()
173 old->interp.match == new->interp.match) in FindMatchingInterp()
218 old->interp.virtual_mod = new->interp.virtual_mod; in AddInterp()
223 old->interp.action = new->interp.action; in AddInterp()
[all …]
/external/deqp-deps/glslang/Test/baseResults/
Dhlsl.synthesizeInput.frag.out7 0:7 'input' ( in structure{ temp float interp, temp uint no_interp})
13 0:8 'input' ( in structure{ temp float interp, temp uint no_interp})
16 0:8 interp: direct index for structure ( temp float)
17 0:8 'input' ( in structure{ temp float interp, temp uint no_interp})
29 0:7 interp: direct index for structure ( temp float)
30 0:? 'input' ( temp structure{ temp float interp, temp uint no_interp})
33 0:? 'input.interp' (layout( location=0) in float)
36 0:? 'input' ( temp structure{ temp float interp, temp uint no_interp})
43 0:? 'input' ( temp structure{ temp float interp, temp uint no_interp})
46 0:? 'input.interp' (layout( location=0) in float)
[all …]
Dhlsl.target.frag.out7 0:7 'input' ( in structure{ temp float interp, temp uint no_interp})
30 0:7 interp: direct index for structure ( temp float)
31 0:? 'input' ( temp structure{ temp float interp, temp uint no_interp})
34 0:? 'input.interp' (layout( location=0) in float)
37 0:? 'input' ( temp structure{ temp float interp, temp uint no_interp})
42 0:? 'input' ( temp structure{ temp float interp, temp uint no_interp})
52 0:? 'input.interp' (layout( location=0) in float)
66 0:7 'input' ( in structure{ temp float interp, temp uint no_interp})
89 0:7 interp: direct index for structure ( temp float)
90 0:? 'input' ( temp structure{ temp float interp, temp uint no_interp})
[all …]
Dhlsl.targetStruct2.frag.out7 0:12 'input' ( in structure{ temp float interp, temp uint no_interp})
18 0:14 'input' ( in structure{ temp float interp, temp uint no_interp})
21 0:14 interp: direct index for structure ( temp float)
22 0:14 'input' ( in structure{ temp float interp, temp uint no_interp})
53 0:12 interp: direct index for structure ( temp float)
54 0:? 'input' ( temp structure{ temp float interp, temp uint no_interp})
57 0:? 'input.interp' (layout( location=0) in float)
60 0:? 'input' ( temp structure{ temp float interp, temp uint no_interp})
68 0:? 'input' ( temp structure{ temp float interp, temp uint no_interp})
88 0:? 'input.interp' (layout( location=0) in float)
[all …]
Dhlsl.targetStruct1.frag.out7 0:12 'input' ( in structure{ temp float interp, temp uint no_interp})
18 0:14 'input' ( in structure{ temp float interp, temp uint no_interp})
21 0:14 interp: direct index for structure ( temp float)
22 0:14 'input' ( in structure{ temp float interp, temp uint no_interp})
53 0:12 interp: direct index for structure ( temp float)
54 0:? 'input' ( temp structure{ temp float interp, temp uint no_interp})
57 0:? 'input.interp' (layout( location=0) in float)
60 0:? 'input' ( temp structure{ temp float interp, temp uint no_interp})
68 0:? 'input' ( temp structure{ temp float interp, temp uint no_interp})
88 0:? 'input.interp' (layout( location=0) in float)
[all …]
/external/python/cpython2/
DAndroid.bp20 name: "py2-interp-defaults",
91 name: "py2-interp-parser",
92 defaults: ["py2-interp-defaults"],
111 name: "py2-interp-object",
112 defaults: ["py2-interp-defaults"],
157 name: "py2-interp-python",
158 defaults: ["py2-interp-defaults"],
221 defaults: ["py2-interp-defaults"],
287 "py2-interp-object",
288 "py2-interp-python",
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/
Dllvm.amdgcn.interp.ll17 %p0_0 = call float @llvm.amdgcn.interp.p1(float %i, i32 0, i32 0, i32 %arg3)
18 %p1_0 = call float @llvm.amdgcn.interp.p2(float %p0_0, float %j, i32 0, i32 0, i32 %arg3)
19 %p0_1 = call float @llvm.amdgcn.interp.p1(float %i, i32 1, i32 0, i32 %arg3)
20 %p1_1 = call float @llvm.amdgcn.interp.p2(float %p0_1, float %j, i32 1, i32 0, i32 %arg3)
21 %const = call float @llvm.amdgcn.interp.mov(i32 2, i32 0, i32 0, i32 %arg3)
44 %p0_0 = call float @llvm.amdgcn.interp.p1(float %i, i32 0, i32 0, i32 256)
45 %p0_1 = call float @llvm.amdgcn.interp.p1(float %i, i32 1, i32 0, i32 256)
46 %p0_2 = call float @llvm.amdgcn.interp.p1(float %i, i32 2, i32 0, i32 256)
47 %p0_3 = call float @llvm.amdgcn.interp.p1(float %i, i32 3, i32 0, i32 256)
48 %p0_4 = call float @llvm.amdgcn.interp.p1(float %i, i32 4, i32 0, i32 256)
[all …]
/external/python/cpython3/Lib/test/
Dtest_tcl.py49 self.interp = Tcl()
50 self.wantobjects = self.interp.tk.wantobjects()
53 tcl = self.interp
58 tcl = self.interp
62 tcl = self.interp
66 tcl = self.interp
70 tcl = self.interp
75 tcl = self.interp
79 tcl = self.interp
83 tcl = self.interp
[all …]
/external/python/cpython2/Lib/test/
Dtest_tcl.py49 self.interp = Tcl()
50 self.wantobjects = self.interp.tk.wantobjects()
53 tcl = self.interp
58 tcl = self.interp
62 tcl = self.interp
66 tcl = self.interp
71 tcl = self.interp
75 tcl = self.interp
79 tcl = self.interp
84 tcl = self.interp
[all …]
/external/speex/libspeexdsp/
Dresample.c245 double interp[4]; in compute_func() local
251 interp[3] = -0.1666666667*frac + 0.1666666667*(frac*frac*frac); in compute_func()
252 interp[2] = frac + 0.5*(frac*frac) - 0.5*(frac*frac*frac); in compute_func()
254 interp[0] = -0.3333333333*frac + 0.5*(frac*frac) - 0.1666666667*(frac*frac*frac); in compute_func()
256 interp[1] = 1.f-interp[3]-interp[2]-interp[0]; in compute_func()
259 …return interp[0]*func->table[ind] + interp[1]*func->table[ind+1] + interp[2]*func->table[ind+2] + in compute_func()
304 static void cubic_coef(spx_word16_t x, spx_word16_t interp[4]) in cubic_coef()
311interp[0] = PSHR32(MULT16_16(QCONST16(-0.16667f, 15),x) + MULT16_16(QCONST16(0.16667f, 15),x3),15); in cubic_coef()
312 interp[1] = EXTRACT16(EXTEND32(x) + SHR32(SUB32(EXTEND32(x2),EXTEND32(x3)),1)); in cubic_coef()
313interp[3] = PSHR32(MULT16_16(QCONST16(-0.33333f, 15),x) + MULT16_16(QCONST16(.5f,15),x2) - MULT16_… in cubic_coef()
[all …]
/external/tensorflow/tensorflow/contrib/image/python/kernel_tests/
Ddense_image_warp_test.py51 interp = dense_image_warp._interpolate_bilinear(grid, query_points)
54 predicted = sess.run(interp)
64 interp = dense_image_warp._interpolate_bilinear(
68 predicted = sess.run(interp)
79 interp = dense_image_warp._interpolate_bilinear(grid, query_points)
82 predicted = sess.run(interp)
144 interp = alpha_y * (interp_bottom - interp_top) + interp_top
151 interp,
161 interp = dense_image_warp.dense_image_warp(image, flows)
169 interp, feed_dict={
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_interp.c183 const unsigned interp = bld->interp[attrib]; in coeffs_init_simple() local
191 switch (interp) { in coeffs_init_simple()
268 const unsigned interp = bld->interp[attrib]; in attribs_update_simple() local
279 switch (interp) { in attribs_update_simple()
313 if (interp == LP_INTERP_PERSPECTIVE) { in attribs_update_simple()
394 const unsigned interp = bld->interp[attrib]; in coeffs_init() local
403 switch (interp) { in coeffs_init()
444 if (interp != LP_INTERP_CONSTANT && in coeffs_init()
445 interp != LP_INTERP_FACING) { in coeffs_init()
509 if (interp != LP_INTERP_CONSTANT && in coeffs_init()
[all …]
/external/sonivox/arm-wt-22k/lib_src/
Deas_flog.c67 EAS_U32 interp; in EAS_flog2() local
85 interp = (n >> MANTISSA_LSB_SHIFT) & MANTISSA_LSB_MASK; in EAS_flog2()
91 interp = ((eas_log2_table[n+1] - eas_log2_table[n]) * interp) >> INTERPOLATION_SHIFT; in EAS_flog2()
92 exp += eas_log2_table[n] + interp; in EAS_flog2()
/external/llvm/test/CodeGen/AMDGPU/
Dllvm.amdgcn.interp.ll13 %p0_0 = call float @llvm.amdgcn.interp.p1(i32 %i, i32 0, i32 0, i32 %3)
14 %p1_0 = call float @llvm.amdgcn.interp.p2(float %p0_0, i32 %j, i32 0, i32 0, i32 %3)
15 %p0_1 = call float @llvm.amdgcn.interp.p1(i32 %i, i32 1, i32 0, i32 %3)
16 %p1_1 = call float @llvm.amdgcn.interp.p2(float %p0_1, i32 %j, i32 1, i32 0, i32 %3)
22 declare float @llvm.amdgcn.interp.p1(i32, i32, i32, i32) #0
25 declare float @llvm.amdgcn.interp.p2(float, i32, i32, i32, i32) #0
/external/skqp/experimental/docs/
DinterpolatorFunctions.js1 function interp(A, B, t) { function
7 var ab = interp(x1, x2, t);
8 var bc = interp(x2, x3, t);
9 var cd = interp(x3, x4, t);
10 var abc = interp(ab, bc, t);
11 var bcd = interp(bc, cd, t);
12 var abcd = interp(abc, bcd, t);

1234567891011