/external/python/cpython2/Python/ |
D | pystate.c | 60 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 …]
|
D | codecs.c | 31 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 …]
|
D | pythonrun.c | 157 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/ |
D | tkappinit.c | 27 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/ |
D | pystate.c | 11 (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 …]
|
D | pylifecycle.c | 54 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 …]
|
D | import.c | 46 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 …]
|
D | codecs.c | 34 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/ |
D | tkappinit.c | 27 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.c | 289 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/ |
D | script.c | 51 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/ |
D | test_tcl.py | 49 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/ |
D | test_tcl.py | 49 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/ |
D | keymap.c | 88 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 …]
|
D | compat.c | 68 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/ |
D | Android.bp | 20 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/ |
D | resample.c | 244 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() 310 …interp[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() 312 …interp[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/ |
D | lp_bld_interp.c | 183 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/ |
D | eas_flog.c | 67 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/ |
D | llvm.amdgcn.interp.ll | 13 %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/ |
D | interpolatorFunctions.js | 1 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/ |
D | interpolatorFunctions.js | 1 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/ |
D | pyshell.py | 165 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/ |
D | sp_state_derived.c | 107 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/ |
D | draw_pipe_flatshade.c | 170 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()
|