Home
last modified time | relevance | path

Searched refs:interp (Results 1 - 25 of 168) sorted by relevance

1234567

/third_party/python/Python/
H A Dpystate.c258 free_interpreter(PyInterpreterState *interp) in free_interpreter() argument
260 if (!interp->_static) { in free_interpreter()
261 PyMem_RawFree(interp); in free_interpreter()
274 init_interpreter(PyInterpreterState *interp, in init_interpreter() argument
279 if (interp->_initialized) { in init_interpreter()
284 interp->runtime = runtime; in init_interpreter()
286 assert(id > 0 || (id == 0 && interp == runtime->interpreters.main)); in init_interpreter()
287 interp->id = id; in init_interpreter()
289 assert(runtime->interpreters.head == interp); in init_interpreter()
290 assert(next != NULL || (interp in init_interpreter()
304 PyInterpreterState *interp; PyInterpreterState_New() local
391 interpreter_clear(PyInterpreterState *interp, PyThreadState *tstate) interpreter_clear() argument
458 PyInterpreterState_Clear(PyInterpreterState *interp) PyInterpreterState_Clear() argument
477 zapthreads(PyInterpreterState *interp, int check_current) zapthreads() argument
489 PyInterpreterState_Delete(PyInterpreterState *interp) PyInterpreterState_Delete() argument
547 PyInterpreterState *interp = interpreters->head; _PyInterpreterState_DeleteExceptMain() local
582 PyInterpreterState *interp = tstate->interp; PyInterpreterState_Get() local
591 PyInterpreterState_GetID(PyInterpreterState *interp) PyInterpreterState_GetID() argument
604 PyInterpreterState *interp = runtime->interpreters.head; interp_look_up_id() local
621 PyInterpreterState *interp = NULL; _PyInterpreterState_LookUpID() local
637 _PyInterpreterState_IDInitref(PyInterpreterState *interp) _PyInterpreterState_IDInitref() argument
654 _PyInterpreterState_IDIncref(PyInterpreterState *interp) _PyInterpreterState_IDIncref() argument
668 _PyInterpreterState_IDDecref(PyInterpreterState *interp) _PyInterpreterState_IDDecref() argument
690 _PyInterpreterState_RequiresIDRef(PyInterpreterState *interp) _PyInterpreterState_RequiresIDRef() argument
696 _PyInterpreterState_RequireIDRef(PyInterpreterState *interp, int required) _PyInterpreterState_RequireIDRef() argument
702 _PyInterpreterState_GetMainModule(PyInterpreterState *interp) _PyInterpreterState_GetMainModule() argument
712 PyInterpreterState_GetDict(PyInterpreterState *interp) PyInterpreterState_GetDict() argument
764 init_threadstate(PyThreadState *tstate, PyInterpreterState *interp, uint64_t id, PyThreadState *next) init_threadstate() argument
806 new_threadstate(PyInterpreterState *interp) new_threadstate() argument
861 PyThreadState_New(PyInterpreterState *interp) PyThreadState_New() argument
869 _PyThreadState_Prealloc(PyInterpreterState *interp) _PyThreadState_Prealloc() argument
921 PyInterpreterState *interp = tstate->interp; _PyState_AddModule() local
949 PyInterpreterState *interp = tstate->interp; PyState_AddModule() local
965 PyInterpreterState *interp = tstate->interp; PyState_RemoveModule() local
991 _PyInterpreterState_ClearModules(PyInterpreterState *interp) _PyInterpreterState_ClearModules() argument
1074 PyInterpreterState *interp = tstate->interp; tstate_delete_common() local
1157 PyInterpreterState *interp = tstate->interp; _PyThreadState_DeleteExcept() local
1315 PyInterpreterState *interp = _PyRuntimeState_GetThreadState(runtime)->interp; PyThreadState_SetAsyncExc() local
1365 PyInterpreterState_Next(PyInterpreterState *interp) PyInterpreterState_Next() argument
1370 PyInterpreterState_ThreadHead(PyInterpreterState *interp) PyInterpreterState_ThreadHead() argument
1567 _PyGILState_Fini(PyInterpreterState *interp) _PyGILState_Fini() argument
1826 PyInterpreterState *interp = tstate->interp; _PyObject_GetCrossInterpreterData() local
1866 _call_in_interpreter(struct _gilstate_runtime_state *gilstate, PyInterpreterState *interp, void (*func)(void *), void *arg) _call_in_interpreter() argument
1899 PyInterpreterState *interp = _PyInterpreterState_LookUpID(data->interp); _PyCrossInterpreterData_Release() local
2124 _PyInterpreterState_GetEvalFrameFunc(PyInterpreterState *interp) _PyInterpreterState_GetEvalFrameFunc() argument
2134 _PyInterpreterState_SetEvalFrameFunc(PyInterpreterState *interp, _PyFrameEvalFunction eval_frame) _PyInterpreterState_SetEvalFrameFunc() argument
2147 _PyInterpreterState_GetConfig(PyInterpreterState *interp) _PyInterpreterState_GetConfig() argument
2156 PyInterpreterState *interp = PyInterpreterState_Get(); _PyInterpreterState_GetConfigCopy() local
[all...]
H A Dpylifecycle.c71 static PyStatus add_main_module(PyInterpreterState *interp);
180 PyInterpreterState *interp = tstate->interp; in init_importlib() local
181 int verbose = _PyInterpreterState_GetConfig(interp)->verbose; in init_importlib()
194 interp->importlib = Py_NewRef(importlib); in init_importlib()
227 value = PyObject_CallMethod(tstate->interp->importlib, in init_importlib_external()
466 const PyConfig *config = &tstate->interp->config; in interpreter_update_config()
469 PyStatus status = _PyConfig_Write(config, tstate->interp->runtime); in interpreter_update_config()
476 if (_Py_IsMainInterpreter(tstate->interp)) { in interpreter_update_config()
512 status = _PyConfig_Copy(&tstate->interp in _PyInterpreterState_SetConfig()
550 PyInterpreterState *interp = tstate->interp; pyinit_core_reconfigure() local
649 PyInterpreterState *interp = PyInterpreterState_New(); pycore_create_interpreter() local
677 pycore_init_global_objects(PyInterpreterState *interp) pycore_init_global_objects() argument
695 pycore_init_types(PyInterpreterState *interp) pycore_init_types() argument
764 PyInterpreterState *interp = tstate->interp; pycore_init_builtins() local
822 PyInterpreterState *interp = tstate->interp; pycore_interp_init() local
1101 PyInterpreterState *interp = tstate->interp; init_interp_main() local
1221 PyInterpreterState *interp = tstate->interp; pyinit_main() local
1338 PyInterpreterState *interp = tstate->interp; finalize_modules_delete_special() local
1465 PyInterpreterState *interp = tstate->interp; finalize_restore_builtins() local
1479 finalize_modules_clear_weaklist(PyInterpreterState *interp, PyObject *weaklist, int verbose) finalize_modules_clear_weaklist() argument
1506 finalize_clear_sys_builtins_dict(PyInterpreterState *interp, int verbose) finalize_clear_sys_builtins_dict() argument
1526 PyInterpreterState *interp = tstate->interp; finalize_modules() local
1671 finalize_interp_types(PyInterpreterState *interp) finalize_interp_types() argument
1733 finalize_interp_delete(PyInterpreterState *interp) finalize_interp_delete() argument
1974 PyInterpreterState *interp = PyInterpreterState_New(); new_interpreter() local
2072 PyInterpreterState *interp = tstate->interp; Py_EndInterpreter() local
2100 add_main_module(PyInterpreterState *interp) add_main_module() argument
2486 _Py_FatalError_DumpTracebacks(int fd, PyInterpreterState *interp, PyThreadState *tstate) _Py_FatalError_DumpTracebacks() argument
2641 _Py_DumpExtensionModules(int fd, PyInterpreterState *interp) _Py_DumpExtensionModules() argument
2768 PyInterpreterState *interp = NULL; fatal_error() local
[all...]
H A D_warnings.c22 check_interp(PyInterpreterState *interp) in check_interp() argument
24 if (interp == NULL) { in check_interp()
36 PyInterpreterState *interp = _PyInterpreterState_GET(); in get_current_interp() local
37 return check_interp(interp) ? interp : NULL; in get_current_interp()
48 return check_interp(tstate->interp) ? tstate : NULL; in get_current_tstate()
53 warnings_get_state(PyInterpreterState *interp) in warnings_get_state() argument
55 return &interp->warnings; in warnings_get_state()
92 init_filters(PyInterpreterState *interp) in init_filters() argument
127 _PyWarnings_InitState(PyInterpreterState *interp) in _PyWarnings_InitState() argument
160 check_matched(PyInterpreterState *interp, PyObject *obj, PyObject *arg) check_matched() argument
196 get_warnings_attr(PyInterpreterState *interp, PyObject *attr, int try_import) get_warnings_attr() argument
232 get_once_registry(PyInterpreterState *interp) get_once_registry() argument
262 get_default_action(PyInterpreterState *interp) get_default_action() argument
294 get_filter(PyInterpreterState *interp, PyObject *category, PyObject *text, Py_ssize_t lineno, PyObject *module, PyObject **item) get_filter() argument
395 already_warned(PyInterpreterState *interp, PyObject *registry, PyObject *key, int should_set) already_warned() argument
478 update_registry(PyInterpreterState *interp, PyObject *registry, PyObject *text, PyObject *category, int add_zero) update_registry() argument
574 PyInterpreterState *interp = tstate->interp; call_show_warning() local
634 PyInterpreterState *interp = tstate->interp; warn_explicit() local
827 PyInterpreterState *interp = tstate->interp; setup_context() local
978 get_source_line(PyInterpreterState *interp, PyObject *module_globals, int lineno) get_source_line() argument
1082 PyInterpreterState *interp = get_current_interp(); warnings_filters_mutated() local
1325 PyInterpreterState *interp = _PyInterpreterState_GET(); _PyErr_WarnUnawaitedCoroutine() local
1368 PyInterpreterState *interp = get_current_interp(); warnings_module_exec() local
1412 _PyWarnings_Fini(PyInterpreterState *interp) _PyWarnings_Fini() argument
[all...]
H A Dsysmodule.c66 PyObject *sd = tstate->interp->sysdict; in _PySys_GetAttr()
80 _PySys_GetObject(PyInterpreterState *interp, const char *name) in _PySys_GetObject() argument
82 PyObject *sysdict = interp->sysdict; in _PySys_GetObject()
96 PyObject *value = _PySys_GetObject(tstate->interp, name); in PySys_GetObject()
104 sys_set_object(PyInterpreterState *interp, PyObject *key, PyObject *v) in sys_set_object() argument
109 PyObject *sd = interp->sysdict; in sys_set_object()
126 PyInterpreterState *interp = _PyInterpreterState_GET(); in _PySys_SetAttr() local
127 return sys_set_object(interp, key, v); in _PySys_SetAttr()
131 sys_set_object_str(PyInterpreterState *interp, const char *name, PyObject *v) in sys_set_object_str() argument
135 int r = sys_set_object(interp, ke in sys_set_object_str()
143 PyInterpreterState *interp = _PyInterpreterState_GET(); PySys_SetObject() local
149 should_audit(PyInterpreterState *interp) should_audit() argument
437 PyInterpreterState *interp = tstate->interp; sys_addaudithook_impl() local
866 PyInterpreterState *interp = _PyInterpreterState_GET(); sys_getfilesystemencoding_impl() local
881 PyInterpreterState *interp = _PyInterpreterState_GET(); sys_getfilesystemencodeerrors_impl() local
1577 PyInterpreterState *interp = _PyInterpreterState_GET(); sys_setdlopenflags_impl() local
1595 PyInterpreterState *interp = _PyInterpreterState_GET(); sys_getdlopenflags_impl() local
1633 PyInterpreterState *interp = _PyInterpreterState_GET(); sys_get_int_max_str_digits_impl() local
2545 set_flags_from_config(PyInterpreterState *interp, PyObject *flags) set_flags_from_config() argument
2590 make_flags(PyInterpreterState *interp) make_flags() argument
3073 PyInterpreterState *interp = tstate->interp; _PySys_UpdateConfig() local
3183 PyInterpreterState *interp = tstate->interp; _PySys_Create() local
3232 _PySys_Fini(PyInterpreterState *interp) _PySys_Fini() argument
3288 PyInterpreterState *interp = _PyInterpreterState_GET(); PySys_SetPath() local
[all...]
H A Dceval_gil.h175 RESET_GIL_DROP_REQUEST(tstate->interp); in drop_gil()
199 tstate->interp->runtime to support calls from Python daemon threads. in tstate_must_exit()
230 PyInterpreterState *interp = tstate->interp; in take_gil() local
231 struct _ceval_runtime_state *ceval = &interp->runtime->ceval; in take_gil()
232 struct _ceval_state *ceval2 = &interp->ceval; in take_gil()
267 RESET_GIL_DROP_REQUEST(interp); in take_gil()
273 SET_GIL_DROP_REQUEST(interp); in take_gil()
313 RESET_GIL_DROP_REQUEST(interp); in take_gil()
321 COMPUTE_EVAL_BREAKER(interp, ceva in take_gil()
[all...]
H A Dcodecs.c37 PyInterpreterState *interp = _PyInterpreterState_GET(); in PyCodec_Register() local
38 if (interp->codec_search_path == NULL && _PyCodecRegistry_Init()) in PyCodec_Register()
48 return PyList_Append(interp->codec_search_path, search_function); in PyCodec_Register()
57 PyInterpreterState *interp = PyInterpreterState_Get(); in PyCodec_Unregister() local
58 PyObject *codec_search_path = interp->codec_search_path; in PyCodec_Unregister()
69 if (interp->codec_search_cache != NULL) { in PyCodec_Unregister()
70 assert(PyDict_CheckExact(interp->codec_search_cache)); in PyCodec_Unregister()
71 PyDict_Clear(interp->codec_search_cache); in PyCodec_Unregister()
134 PyInterpreterState *interp = _PyInterpreterState_GET(); in _PyCodec_Lookup() local
135 if (interp in _PyCodec_Lookup()
624 PyInterpreterState *interp = _PyInterpreterState_GET(); PyCodec_RegisterError() local
642 PyInterpreterState *interp = _PyInterpreterState_GET(); PyCodec_LookupError() local
1495 PyInterpreterState *interp = _PyInterpreterState_GET(); _PyCodecRegistry_Init() local
[all...]
/third_party/python/Modules/
H A 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, "co in Tcl_AppInit()
[all...]
H A D_xxsubinterpretersmodule.c491 int64_t interp; member
496 _channelend_new(int64_t interp) in _channelend_new() argument
504 end->interp = interp; in _channelend_new()
526 _channelend_find(_channelend *first, int64_t interp, _channelend **pprev) in _channelend_find() argument
531 if (end->interp == interp) { in _channelend_find()
588 _channelends_add(_channelends *ends, _channelend *prev, int64_t interp, in _channelends_add() argument
591 _channelend *end = _channelend_new(interp); in _channelends_add()
617 _channelends_associate(_channelends *ends, int64_t interp, in argument
661 _channelends_close_interpreter(_channelends *ends, int64_t interp, int which) _channelends_close_interpreter() argument
767 _channel_add(_PyChannelState *chan, int64_t interp, _PyCrossInterpreterData *data) _channel_add() argument
792 _channel_next(_PyChannelState *chan, int64_t interp) _channel_next() argument
819 _channel_close_interpreter(_PyChannelState *chan, int64_t interp, int end) _channel_close_interpreter() argument
1289 PyInterpreterState *interp = _get_current(); _channel_send() local
1335 PyInterpreterState *interp = _get_current(); _channel_recv() local
1369 PyInterpreterState *interp = _get_current(); _channel_drop() local
1395 _channel_is_associated(_channels *channels, int64_t cid, int64_t interp, int send) _channel_is_associated() argument
1831 _is_running(PyInterpreterState *interp) _is_running() argument
1849 _ensure_not_running(PyInterpreterState *interp) _ensure_not_running() argument
1863 _run_script(PyInterpreterState *interp, const char *codestr, _sharedns *shared, _sharedexception **exc) _run_script() argument
1922 _run_script_in_interpreter(PyInterpreterState *interp, const char *codestr, PyObject *shareables) _run_script_in_interpreter() argument
2016 PyInterpreterState *interp = PyThreadState_GetInterpreter(tstate); interp_create() local
2047 PyInterpreterState *interp = _PyInterpreterID_LookUp(id); interp_destroy() local
2093 PyInterpreterState *interp; interp_list_all() local
2130 PyInterpreterState *interp =_get_current(); interp_get_current() local
2170 PyInterpreterState *interp = _PyInterpreterID_LookUp(id); interp_run_string() local
2236 PyInterpreterState *interp = _PyInterpreterID_LookUp(id); interp_is_running() local
2346 PyInterpreterState *interp; channel_list_interpreters() local
[all...]
H A Datexitmodule.c20 PyInterpreterState *interp = _PyInterpreterState_GET(); in get_atexit_state() local
21 return &interp->atexit; in get_atexit_state()
55 _PyAtExit_Init(PyInterpreterState *interp) in _PyAtExit_Init() argument
57 struct atexit_state *state = &interp->atexit; in _PyAtExit_Init()
72 _PyAtExit_Fini(PyInterpreterState *interp) in _PyAtExit_Fini() argument
74 struct atexit_state *state = &interp->atexit; in _PyAtExit_Fini()
115 _PyAtExit_Call(PyInterpreterState *interp) in _PyAtExit_Call() argument
117 struct atexit_state *state = &interp->atexit; in _PyAtExit_Call()
/third_party/python/Lib/test/
H A Dtest_interpreters.py27 for interp in interpreters.list_all():
28 if interp.id == 0: # main
31 interp.close()
36 def _run_output(interp, request, channels=None):
39 interp.run(script, channels=channels)
44 def _running(interp):
47 interp.run(dedent(f"""
72 interp = interpreters.create()
73 self.assertIsInstance(interp, interpreters.Interpreter)
74 self.assertIn(interp, interpreter
[all...]
H A Dtest_tcl.py51 self.interp = Tcl()
52 self.wantobjects = self.interp.tk.wantobjects()
55 tcl = self.interp
60 tcl = self.interp
64 tcl = self.interp
68 tcl = self.interp
72 tcl = self.interp
76 tcl = self.interp
81 tcl = self.interp
85 tcl = self.interp
[all...]
H A Dtest__xxsubinterpreters.py35 def _run_output(interp, request, shared=None):
38 interpreters.run_string(interp, script, shared)
42 def _wait_for_interp_to_run(interp, timeout=None):
50 while not interpreters.is_running(interp):
52 raise RuntimeError('interp is not running')
57 def _running(interp):
60 interpreters.run_string(interp, dedent(f"""
68 _wait_for_interp_to_run(interp)
125 name = 'interp'
151 class ChannelAction(namedtuple('ChannelAction', 'action end interp'))
[all...]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_linear_interp.c71 struct lp_linear_interp *interp = (struct lp_linear_interp *)elem; in interp_0_8() local
72 uint32_t *row = interp->row; in interp_0_8()
73 __m128i a0 = interp->a0; in interp_0_8()
74 const __m128i dadx = interp->dadx; in interp_0_8()
75 const int width = (interp->width + 3) & ~3; in interp_0_8()
89 interp->a0 = _mm_add_epi16(interp->a0, interp->dady); in interp_0_8()
90 return interp->row; in interp_0_8()
96 struct lp_linear_interp *interp in interp_noop() local
104 struct lp_linear_interp *interp = (struct lp_linear_interp *)elem; interp_check() local
113 lp_linear_init_noop_interp(struct lp_linear_interp *interp) lp_linear_init_noop_interp() argument
120 lp_linear_init_interp(struct lp_linear_interp *interp, int x, int y, int width, int height, unsigned usage_mask, boolean perspective, float oow, const float *a0, const float *dadx, const float *dady) lp_linear_init_interp() argument
229 lp_linear_init_interp(struct lp_linear_interp *interp, int x, int y, int width, int height, unsigned usage_mask, boolean perspective, float oow, const float *a0, const float *dadx, const float *dady) lp_linear_init_interp() argument
[all...]
/third_party/python/Include/internal/
H A Dpycore_pylifecycle.h38 extern PyObject * _PyBuiltin_Init(PyInterpreterState *interp);
45 extern void _PySys_Fini(PyInterpreterState *interp);
50 extern PyStatus _PyGC_Init(PyInterpreterState *interp);
51 extern PyStatus _PyAtExit_Init(PyInterpreterState *interp);
61 extern void _PyGC_Fini(PyInterpreterState *interp);
66 extern void _PyWarnings_Fini(PyInterpreterState *interp);
67 extern void _PyAST_Fini(PyInterpreterState *interp);
68 extern void _PyAtExit_Fini(PyInterpreterState *interp);
69 extern void _PyThread_FiniType(PyInterpreterState *interp);
75 extern void _PyGILState_Fini(PyInterpreterState *interp);
77 PyAPI_FUNC(void) _PyGC_DumpShutdownStats(PyInterpreterState *interp); global() variable
[all...]
H A Dpycore_pystate.h31 _Py_IsMainInterpreter(PyInterpreterState *interp) in _Py_IsMainInterpreter() argument
33 return (interp == _PyInterpreterState_Main()); in _Py_IsMainInterpreter()
40 PyInterpreterState *interp = _PyInterpreterState_Main(); in _Py_GetMainConfig() local
41 if (interp == NULL) { in _Py_GetMainConfig()
44 return _PyInterpreterState_GetConfig(interp); in _Py_GetMainConfig()
50 _Py_ThreadCanHandleSignals(PyInterpreterState *interp) in _Py_ThreadCanHandleSignals() argument
52 return (_Py_IsMainThread() && _Py_IsMainInterpreter(interp)); in _Py_ThreadCanHandleSignals()
116 return tstate->interp; in _PyInterpreterState_GET()
H A Dpycore_gc.h173 extern void _PyTuple_ClearFreeList(PyInterpreterState *interp);
174 extern void _PyFloat_ClearFreeList(PyInterpreterState *interp);
175 extern void _PyList_ClearFreeList(PyInterpreterState *interp);
176 extern void _PyDict_ClearFreeList(PyInterpreterState *interp);
177 extern void _PyAsyncGen_ClearFreeLists(PyInterpreterState *interp);
178 extern void _PyContext_ClearFreeList(PyInterpreterState *interp);
H A Dpycore_ceval.h34 PyAPI_FUNC(void) _PyEval_SignalReceived(PyInterpreterState *interp); variable
36 PyInterpreterState *interp,
39 PyAPI_FUNC(void) _PyEval_SignalAsyncExc(PyInterpreterState *interp); variable
72 if (tstate->interp->eval_frame == NULL) { in _PyEval_EvalFrame()
75 return tstate->interp->eval_frame(tstate, frame, throwflag); in _PyEval_EvalFrame()
86 extern void _PyEval_FiniGIL(PyInterpreterState *interp);
/third_party/mesa3d/src/compiler/nir/
H A Dnir_lower_io_to_temporaries.c145 nir_intrinsic_instr *interp) in emit_interp()
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 in emit_interp()
143 emit_interp(nir_builder *b, nir_deref_instr **old_interp_deref, nir_deref_instr *temp_deref, nir_deref_instr *new_interp_deref, nir_intrinsic_instr *interp) emit_interp() argument
220 fixup_interpolation_instr(struct lower_io_state *state, nir_intrinsic_instr *interp, nir_builder *b) fixup_interpolation_instr() argument
264 nir_intrinsic_instr *interp = nir_instr_as_intrinsic(instr); fixup_interpolation() local
[all...]
/third_party/ffmpeg/libavfilter/x86/
H A Dvf_v360_init.c48 if (EXTERNAL_AVX2_FAST(cpu_flags) && s->interp == NEAREST && depth <= 8) in ff_v360_init_x86()
51 if (EXTERNAL_AVX2_FAST(cpu_flags) && s->interp == BILINEAR && depth <= 8) in ff_v360_init_x86()
54 if (EXTERNAL_AVX2_FAST(cpu_flags) && s->interp == NEAREST && depth > 8) in ff_v360_init_x86()
57 if (EXTERNAL_AVX2_FAST(cpu_flags) && s->interp == BILINEAR && depth > 8) in ff_v360_init_x86()
61 if (EXTERNAL_AVX2_FAST(cpu_flags) && s->interp == LAGRANGE9 && depth <= 8) in ff_v360_init_x86()
64 if (EXTERNAL_AVX2_FAST(cpu_flags) && (s->interp == BICUBIC || in ff_v360_init_x86()
65 s->interp == LANCZOS || in ff_v360_init_x86()
66 s->interp == SPLINE16 || in ff_v360_init_x86()
67 s->interp == GAUSSIAN || in ff_v360_init_x86()
68 s->interp in ff_v360_init_x86()
[all...]
H A Dvf_lut3d_init.c69 s->interp = interp_tetrahedral_pf32_avx2; in DEFINE_INTERP_FUNC()
71 s->interp = interp_tetrahedral_p16_avx2; in DEFINE_INTERP_FUNC()
77 s->interp = interp_tetrahedral_pf32_avx; in DEFINE_INTERP_FUNC()
79 s->interp = interp_tetrahedral_p16_avx; in DEFINE_INTERP_FUNC()
85 s->interp = interp_tetrahedral_pf32_sse2; in DEFINE_INTERP_FUNC()
87 s->interp = interp_tetrahedral_p16_sse2; in DEFINE_INTERP_FUNC()
/third_party/python/Objects/
H A Dinterpreteridobject.c17 PyInterpreterState *interp = _PyInterpreterState_LookUpID(id); in newinterpid() local
18 if (interp == NULL) { in newinterpid()
27 if (interp != NULL) { in newinterpid()
28 if (_PyInterpreterState_IDIncref(interp) < 0) { in newinterpid()
35 if (interp != NULL) { in newinterpid()
36 _PyInterpreterState_IDDecref(interp); in newinterpid()
92 PyInterpreterState *interp = _PyInterpreterState_LookUpID(id); in interpid_dealloc() local
93 if (interp != NULL) { in interpid_dealloc()
94 _PyInterpreterState_IDDecref(interp); in interpid_dealloc()
274 _PyInterpreterState_GetIDObject(PyInterpreterState *interp) in _PyInterpreterState_GetIDObject() argument
[all...]
/third_party/libexif/contrib/aolserver/
H A Dnsexif.c75 Tcl_Interp *interp, in Tcl_ReadExifDataCmd()
85 Tcl_AppendResult(interp, "Could not process file '", argv[1], "'", NULL); in Tcl_ReadExifDataCmd()
94 Ns_TclEnterSet(interp, rset, NS_TCL_SET_TEMPORARY | NS_TCL_SET_DYNAMIC); in Tcl_ReadExifDataCmd()
109 Tcl_InitExif (interp) in Tcl_InitExif()
110 Tcl_Interp *interp; in Tcl_InitExif()
112 Tcl_CreateCommand (interp, "ns_exif", Tcl_ReadExifDataCmd,
117 nsexif_interp_init (Tcl_Interp *interp, void *dummy) in nsexif_interp_init() argument
119 Tcl_InitExif(interp); in nsexif_interp_init()
73 Tcl_ReadExifDataCmd( ClientData clientData, Tcl_Interp *interp, int argc, char **argv) Tcl_ReadExifDataCmd() argument
/third_party/pulseaudio/speex/libspeexdsp/
H A 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()
253 /*interp[2] = 1.f - 0.5f*frac - frac*frac + 0.5f*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[ in compute_func()
304 cubic_coef(spx_word16_t x, spx_word16_t interp[4]) cubic_coef() argument
320 cubic_coef(spx_word16_t frac, spx_word16_t interp[4]) cubic_coef() argument
462 spx_word16_t interp[4]; resampler_basic_interpolate_single() local
525 spx_word16_t interp[4]; resampler_basic_interpolate_double() local
[all...]
/third_party/skia/experimental/docs/
H A 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);
/third_party/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_pipe_flatshade.c170 int interp; in find_interp() local
176 interp = indexed_interp[semantic_index]; in find_interp()
182 interp = TGSI_INTERPOLATE_PERSPECTIVE; in find_interp()
187 interp = fs->info.input_interpolate[j]; in find_interp()
193 return interp; in find_interp()
236 int interp = find_interp(fs, indexed_interp, in flatshade_init_state() local
241 if (interp == TGSI_INTERPOLATE_CONSTANT || in flatshade_init_state()
242 (interp == TGSI_INTERPOLATE_COLOR && draw->rasterizer->flatshade)) { in flatshade_init_state()
250 int interp = find_interp(fs, indexed_interp, in flatshade_init_state() local
254 if (interp in flatshade_init_state()
[all...]

Completed in 18 milliseconds

1234567