Home
last modified time | relevance | path

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

12345678910>>...16

/external/python/cpython3/Python/
Dpystate.c206 PyInterpreterState *interp = PyMem_RawCalloc(1, sizeof(PyInterpreterState)); in PyInterpreterState_New() local
207 if (interp == NULL) { in PyInterpreterState_New()
211 interp->id_refcount = -1; in PyInterpreterState_New()
215 interp->runtime = runtime; in PyInterpreterState_New()
217 if (_PyEval_InitState(&interp->ceval) < 0) { in PyInterpreterState_New()
221 _PyGC_InitState(&interp->gc); in PyInterpreterState_New()
222 PyConfig_InitPythonConfig(&interp->config); in PyInterpreterState_New()
224 interp->eval_frame = _PyEval_EvalFrameDefault; in PyInterpreterState_New()
227 interp->dlopenflags = RTLD_NOW; in PyInterpreterState_New()
229 interp->dlopenflags = RTLD_LAZY; in PyInterpreterState_New()
[all …]
Dpylifecycle.c56 static PyStatus add_main_module(PyInterpreterState *interp);
147 PyInterpreterState *interp = tstate->interp; in init_importlib() local
148 int verbose = _PyInterpreterState_GetConfig(interp)->verbose; in init_importlib()
161 interp->importlib = importlib; in init_importlib()
162 Py_INCREF(interp->importlib); in init_importlib()
164 interp->import_func = PyDict_GetItemString(interp->builtins, "__import__"); in init_importlib()
165 if (interp->import_func == NULL) in init_importlib()
167 Py_INCREF(interp->import_func); in init_importlib()
197 value = PyObject_CallMethod(tstate->interp->importlib, in init_importlib_external()
457 PyInterpreterState *interp = tstate->interp; in pyinit_core_reconfigure() local
[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 …]
D_xxsubinterpretersmodule.c487 int64_t interp; member
492 _channelend_new(int64_t interp) in _channelend_new() argument
500 end->interp = interp; in _channelend_new()
522 _channelend_find(_channelend *first, int64_t interp, _channelend **pprev) in _channelend_find() argument
527 if (end->interp == interp) { in _channelend_find()
584 _channelends_add(_channelends *ends, _channelend *prev, int64_t interp, in _channelends_add() argument
587 _channelend *end = _channelend_new(interp); in _channelends_add()
613 _channelends_associate(_channelends *ends, int64_t interp, int send) in _channelends_associate() argument
617 interp, &prev); in _channelends_associate()
626 if (_channelends_add(ends, prev, interp, send) == NULL) { in _channelends_associate()
[all …]
/external/libxkbcommon/src/xkbcomp/
Dkeymap.c90 const struct xkb_sym_interpret *interp = &keymap->sym_interprets[i]; in FindInterpForKey() local
95 if ((num_syms > 1 || interp->sym != syms[0]) && in FindInterpForKey()
96 interp->sym != XKB_KEY_NoSymbol) in FindInterpForKey()
99 if (interp->level_one_only && level != 0) in FindInterpForKey()
104 switch (interp->match) { in FindInterpForKey()
106 found = !(interp->mods & mods); in FindInterpForKey()
109 found = (!mods || (interp->mods & mods)); in FindInterpForKey()
112 found = (interp->mods & mods); in FindInterpForKey()
115 found = ((interp->mods & mods) == interp->mods); in FindInterpForKey()
118 found = (interp->mods == mods); in FindInterpForKey()
[all …]
/external/python/cpython3/Parser/
Dlistnode.c23 PyInterpreterState *interp = _PyInterpreterState_GET(); in listnode() local
25 interp->parser.listnode.level = 0; in listnode()
26 interp->parser.listnode.atbol = 1; in listnode()
33 PyInterpreterState *interp; in list1node() local
43 interp = _PyInterpreterState_GET(); in list1node()
46 interp->parser.listnode.level++; in list1node()
49 interp->parser.listnode.level--; in list1node()
52 if (interp->parser.listnode.atbol) { in list1node()
54 for (i = 0; i < interp->parser.listnode.level; ++i) in list1node()
56 interp->parser.listnode.atbol = 0; in list1node()
[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 …]
/external/mesa3d/src/compiler/nir/
Dnir_lower_io_to_temporaries.c145 nir_intrinsic_instr *interp) in emit_interp() argument
178 interp); in emit_interp()
200 nir_intrinsic_instr_create(b->shader, interp->intrinsic); in emit_interp()
203 if (interp->intrinsic == nir_intrinsic_interp_deref_at_sample || in emit_interp()
204 interp->intrinsic == nir_intrinsic_interp_deref_at_offset || in emit_interp()
205 interp->intrinsic == nir_intrinsic_interp_deref_at_vertex) { in emit_interp()
206 new_interp->src[1] = interp->src[1]; in emit_interp()
209 new_interp->num_components = interp->num_components; in emit_interp()
211 interp->dest.ssa.num_components, in emit_interp()
212 interp->dest.ssa.bit_size, NULL); in emit_interp()
[all …]
/external/python/cpython2/
DAndroid.bp66 name: "py2-interp-defaults",
138 name: "py2-interp-parser",
139 defaults: ["py2-interp-defaults"],
158 name: "py2-interp-object",
159 defaults: ["py2-interp-defaults"],
204 name: "py2-interp-python",
205 defaults: ["py2-interp-defaults"],
268 defaults: ["py2-interp-defaults"],
335 "py2-interp-object",
336 "py2-interp-python",
[all …]
/external/llvm-project/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__xxsubinterpreters.py34 def _run_output(interp, request, shared=None): argument
37 interpreters.run_string(interp, script, shared)
42 def _running(interp): argument
45 interpreters.run_string(interp, dedent(f"""
137 def __new__(cls, action, end=None, interp=None): argument
140 if not interp:
141 interp = 'main'
142 self = super().__new__(cls, action, end, interp)
154 if self.interp not in ('main', 'same', 'other', 'extra'):
155 raise ValueError(self.interp)
[all …]
Dtest_tcl.py50 self.interp = Tcl()
51 self.wantobjects = self.interp.tk.wantobjects()
54 tcl = self.interp
59 tcl = self.interp
63 tcl = self.interp
67 tcl = self.interp
71 tcl = self.interp
76 tcl = self.interp
80 tcl = self.interp
84 tcl = self.interp
[all …]
/external/llvm-project/llvm/test/Analysis/DivergenceAnalysis/AMDGPU/
Dinterp_f16.ll4 ; CHECK: DIVERGENT: %p1 = call float @llvm.amdgcn.interp.p1.f16
7 %p1 = call float @llvm.amdgcn.interp.p1.f16(float %i, i32 1, i32 2, i1 0, i32 %m0)
12 ; CHECK: DIVERGENT: %p2 = call half @llvm.amdgcn.interp.p2.f16
15 %p2 = call half @llvm.amdgcn.interp.p2.f16(float %i, float %j, i32 1, i32 2, i1 0, i32 %m0)
19 ; float @llvm.amdgcn.interp.p1.f16(i, attrchan, attr, high, m0)
20 declare float @llvm.amdgcn.interp.p1.f16(float, i32, i32, i1, i32) #0
21 ; half @llvm.amdgcn.interp.p1.f16(p1, j, attrchan, attr, high, m0)
22 declare half @llvm.amdgcn.interp.p2.f16(float, float, i32, i32, i1, i32) #0
23 declare float @llvm.amdgcn.interp.mov(i32, i32, i32, i32) #0
/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/python/cpython3/Objects/
Dinterpreteridobject.c17 PyInterpreterState *interp = _PyInterpreterState_LookUpID(id); in newinterpid() local
18 if (interp == NULL) { in newinterpid()
33 if (interp != NULL) { in newinterpid()
34 _PyInterpreterState_IDIncref(interp); in newinterpid()
86 PyInterpreterState *interp = _PyInterpreterState_LookUpID(id); in interpid_dealloc() local
87 if (interp != NULL) { in interpid_dealloc()
88 _PyInterpreterState_IDDecref(interp); in interpid_dealloc()
268 _PyInterpreterState_GetIDObject(PyInterpreterState *interp) in _PyInterpreterState_GetIDObject() argument
270 if (_PyInterpreterState_IDInitref(interp) != 0) { in _PyInterpreterState_GetIDObject()
273 int64_t id = PyInterpreterState_GetID(interp); in _PyInterpreterState_GetIDObject()
/external/llvm-project/clang/test/CodeGenOpenCL/
Dbuiltins-amdgcn-interp.cl7 // CHECK: call float @llvm.amdgcn.interp.p1.f16
8 // CHECK: call half @llvm.amdgcn.interp.p2.f16
9 // CHECK: call float @llvm.amdgcn.interp.p1.f16
10 // CHECK: call half @llvm.amdgcn.interp.p2.f16
21 // CHECK: call float @llvm.amdgcn.interp.p1
22 // CHECK: call float @llvm.amdgcn.interp.p2
30 // CHECK: call float @llvm.amdgcn.interp.mov
/external/llvm-project/lldb/test/API/functionalities/memory-region/
DTestMemoryRegion.py37 interp = self.dbg.GetCommandInterpreter()
41 interp.HandleCommand("memory region", result)
46 interp.HandleCommand("memory region not_an_address", result)
52 interp.HandleCommand("memory region 0x0", result)
58 interp.HandleCommand("memory region", result)
63 interp.HandleCommand("memory region", result)
/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()

12345678910>>...16