Home
last modified time | relevance | path

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

12345678

/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.c157 PyInterpreterState *interp; in Py_InitializeEx() local
196 interp = PyInterpreterState_New(); in Py_InitializeEx()
197 if (interp == NULL) in Py_InitializeEx()
200 tstate = PyThreadState_New(interp); in Py_InitializeEx()
221 interp->modules = PyDict_New(); in Py_InitializeEx()
222 if (interp->modules == NULL) in Py_InitializeEx()
224 interp->modules_reloading = PyDict_New(); in Py_InitializeEx()
225 if (interp->modules_reloading == NULL) in Py_InitializeEx()
236 interp->builtins = PyModule_GetDict(bimod); in Py_InitializeEx()
237 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/Python/
Dpystate.c11 (GET_TSTATE()->interp)
72 PyInterpreterState *interp = (PyInterpreterState *) in PyInterpreterState_New() local
75 if (interp != NULL) { in PyInterpreterState_New()
81 interp->modules = NULL; in PyInterpreterState_New()
82 interp->modules_by_index = NULL; in PyInterpreterState_New()
83 interp->sysdict = NULL; in PyInterpreterState_New()
84 interp->builtins = NULL; in PyInterpreterState_New()
85 interp->builtins_copy = NULL; in PyInterpreterState_New()
86 interp->tstate_head = NULL; in PyInterpreterState_New()
87 interp->codec_search_path = NULL; in PyInterpreterState_New()
[all …]
Dpylifecycle.c54 static void initmain(PyInterpreterState *interp);
55 static int initfsencoding(PyInterpreterState *interp);
248 import_init(PyInterpreterState *interp, PyObject *sysmod) in import_init() argument
267 interp->importlib = importlib; in import_init()
268 Py_INCREF(interp->importlib); in import_init()
270 interp->import_func = PyDict_GetItemString(interp->builtins, "__import__"); in import_init()
271 if (interp->import_func == NULL) in import_init()
273 Py_INCREF(interp->import_func); in import_init()
307 PyInterpreterState *interp; in _Py_InitializeEx_Private() local
346 interp = PyInterpreterState_New(); in _Py_InitializeEx_Private()
[all …]
Dimport.c46 PyInterpreterState *interp = PyThreadState_Get()->interp; in _PyImport_Init() local
50 interp->builtins_copy = PyDict_Copy(interp->builtins); in _PyImport_Init()
51 if (interp->builtins_copy == NULL) in _PyImport_Init()
307 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyImport_GetModuleDict() local
308 if (interp->modules == NULL) in PyImport_GetModuleDict()
310 return interp->modules; in PyImport_GetModuleDict()
339 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyImport_Cleanup() local
340 PyObject *modules = interp->modules; in PyImport_Cleanup()
357 PyDict_SetItemString(interp->builtins, "_", Py_None); in PyImport_Cleanup()
362 PyDict_SetItemString(interp->sysdict, *p, Py_None); in PyImport_Cleanup()
[all …]
Dcodecs.c34 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyCodec_Register() local
35 if (interp->codec_search_path == NULL && _PyCodecRegistry_Init()) in PyCodec_Register()
45 return PyList_Append(interp->codec_search_path, search_function); in PyCodec_Register()
103 PyInterpreterState *interp; in _PyCodec_Lookup() local
112 interp = PyThreadState_GET()->interp; in _PyCodec_Lookup()
113 if (interp->codec_search_path == NULL && _PyCodecRegistry_Init()) in _PyCodec_Lookup()
125 result = PyDict_GetItem(interp->codec_search_cache, v); in _PyCodec_Lookup()
138 len = PyList_Size(interp->codec_search_path); in _PyCodec_Lookup()
151 func = PyList_GetItem(interp->codec_search_path, i); in _PyCodec_Lookup()
177 if (PyDict_SetItem(interp->codec_search_cache, v, result) < 0) { in _PyCodec_Lookup()
[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_tkinter.c289 Tcl_Interp *interp; member
308 #define Tkapp_Interp(v) (((TkappObject *) (v))->interp)
582 Tcl_AppInit(Tcl_Interp *interp) in Tcl_AppInit() argument
586 if (Tcl_Init(interp) == TCL_ERROR) { in Tcl_AppInit()
587 PySys_WriteStderr("Tcl_Init error: %s\n", Tcl_GetStringResult(interp)); in Tcl_AppInit()
591 _tkinter_skip_tk_init = Tcl_GetVar(interp, in Tcl_AppInit()
605 if (Tk_Init(interp) == TCL_ERROR) { in Tcl_AppInit()
609 PySys_WriteStderr("Tk_Init error: %s\n", Tcl_GetStringResult(interp)); in Tcl_AppInit()
640 v->interp = Tcl_CreateInterp(); in Tkapp_New()
642 v->threaded = Tcl_GetVar2Ex(v->interp, "tcl_platform", "threaded", in Tkapp_New()
[all …]
/external/valgrind/coregrind/m_ume/
Dscript.c51 const HChar* interp = script + 2; in VG_() local
59 while (interp < end && (*interp == ' ' || *interp == '\t')) interp++; in VG_()
62 if (interp >= end) return False; // can't find start of interp name in VG_()
65 if (*interp == '\n') return False; in VG_()
77 HChar* interp; in VG_() local
95 interp = hdr + 2; in VG_()
96 while (interp < end && (*interp == ' ' || *interp == '\t')) in VG_()
97 interp++; in VG_()
100 for (cp = interp; cp < end && !VG_(isspace)(*cp); cp++) in VG_()
119 info->interp_name = VG_(strdup)("ume.ls.1", interp); in VG_()
[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/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/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/python/cpython2/
DAndroid.bp20 name: "py2-interp-defaults",
88 name: "py2-interp-parser",
89 defaults: ["py2-interp-defaults"],
108 name: "py2-interp-object",
109 defaults: ["py2-interp-defaults"],
154 name: "py2-interp-python",
155 defaults: ["py2-interp-defaults"],
218 defaults: ["py2-interp-defaults"],
255 "py2-interp-object",
256 "py2-interp-python",
[all …]
/external/speex/libspeex/
Dresample.c244 double interp[4]; in compute_func() local
250 interp[3] = -0.1666666667*frac + 0.1666666667*(frac*frac*frac); in compute_func()
251 interp[2] = frac + 0.5*(frac*frac) - 0.5*(frac*frac*frac); in compute_func()
253 interp[0] = -0.3333333333*frac + 0.5*(frac*frac) - 0.1666666667*(frac*frac*frac); in compute_func()
255 interp[1] = 1.f-interp[3]-interp[2]-interp[0]; in compute_func()
258 …return interp[0]*func->table[ind] + interp[1]*func->table[ind+1] + interp[2]*func->table[ind+2] + in compute_func()
303 static void cubic_coef(spx_word16_t x, spx_word16_t interp[4]) in cubic_coef()
310interp[0] = PSHR32(MULT16_16(QCONST16(-0.16667f, 15),x) + MULT16_16(QCONST16(0.16667f, 15),x3),15); in cubic_coef()
311 interp[1] = EXTRACT16(EXTEND32(x) + SHR32(SUB32(EXTEND32(x2),EXTEND32(x3)),1)); in cubic_coef()
312interp[3] = PSHR32(MULT16_16(QCONST16(-0.33333f, 15),x) + MULT16_16(QCONST16(.5f,15),x2) - MULT16_… in cubic_coef()
[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);
/external/skia/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);
/external/python/cpython3/Lib/idlelib/
Dpyshell.py165 debug = self.flist.pyshell.interp.debugger
193 debug = self.flist.pyshell.interp.debugger
208 debug = self.flist.pyshell.interp.debugger
751 self.interp.restart_subprocess()
855 self.interp = ModifiedInterpreter(self)
933 db = self.interp.getdebugger()
940 db = self.interp.getdebugger()
947 db = self.interp.getdebugger()
949 self.interp.setdebugger(None)
951 if self.interp.rpcclt:
[all …]
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_derived.c107 enum sp_interp_mode interp = SP_INTERP_LINEAR; in softpipe_compute_vertex_info() local
111 interp = SP_INTERP_CONSTANT; in softpipe_compute_vertex_info()
114 interp = SP_INTERP_LINEAR; in softpipe_compute_vertex_info()
117 interp = SP_INTERP_PERSPECTIVE; in softpipe_compute_vertex_info()
128 interp = SP_INTERP_POS; in softpipe_compute_vertex_info()
134 interp = SP_INTERP_CONSTANT; in softpipe_compute_vertex_info()
136 interp = SP_INTERP_PERSPECTIVE; in softpipe_compute_vertex_info()
160 sinfo->attrib[i].interp = interp; in softpipe_compute_vertex_info()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_flatshade.c170 int interp; in find_interp() local
175 interp = indexed_interp[semantic_index]; in find_interp()
181 interp = TGSI_INTERPOLATE_PERSPECTIVE; in find_interp()
186 interp = fs->info.input_interpolate[j]; in find_interp()
192 return interp; in find_interp()
234 int interp = find_interp(fs, indexed_interp, in flatshade_init_state() local
239 if (interp == TGSI_INTERPOLATE_CONSTANT) { in flatshade_init_state()
247 int interp = find_interp(fs, indexed_interp, in flatshade_init_state() local
251 if (interp == TGSI_INTERPOLATE_CONSTANT) { in flatshade_init_state()

12345678