/third_party/python/Lib/test/ |
H A D | test_bisect.py | 35 (self.module.bisect_right, [], 1, 0), 36 (self.module.bisect_right, [1], 0, 0), 37 (self.module.bisect_right, [1], 1, 1), 38 (self.module.bisect_right, [1], 2, 1), 39 (self.module.bisect_right, [1, 1], 0, 0), 40 (self.module.bisect_right, [1, 1], 1, 2), 41 (self.module.bisect_right, [1, 1], 2, 2), 42 (self.module.bisect_right, [1, 1, 1], 0, 0), 43 (self.module.bisect_right, [1, 1, 1], 1, 3), 44 (self.module 267 module = py_bisect global() variable in TestBisectPython 270 module = c_bisect global() variable in TestBisectC 302 module = py_bisect global() variable in TestInsortPython 305 module = c_bisect global() variable in TestInsortC 357 module = py_bisect global() variable in TestErrorHandlingPython 360 module = c_bisect global() variable in TestErrorHandlingC 384 module = py_bisect global() variable in TestDocExamplePython 387 module = c_bisect global() variable in TestDocExampleC [all...] |
H A D | test_heapq.py | 35 # However, doctest can't easily find all docstrings in the module (loading 58 self.module.heappush(heap, item) 62 item = self.module.heappop(heap) 71 self.assertRaises(TypeError, self.module.heappush, []) 73 self.assertRaises(TypeError, self.module.heappush, None, None) 74 self.assertRaises(TypeError, self.module.heappop, None) 88 self.module.heapify(heap) 91 self.assertRaises(TypeError, self.module.heapify, None) 97 self.module.heappush(heap, item) 99 self.module 269 module = py_heapq global() variable in TestHeapPython 274 module = c_heapq global() variable in TestHeapC 469 module = py_heapq global() variable in TestErrorHandlingPython 473 module = c_heapq global() variable in TestErrorHandlingC [all...] |
/third_party/python/Lib/test/test_warnings/ |
H A D | __init__.py | 28 def warnings_state(module): 41 original_filters = module.filters 43 module.filters = original_filters[:] 44 module.simplefilter("once") 45 warning_tests.warnings = module 49 module.filters = original_filters 70 # The 'warnings' module must be explicitly set so that the proper 72 sys.modules['warnings'] = self.module 74 # module than warnings.catch_warnings(). Otherwise, 76 unittest.case.warnings = self.module 99 module = c_warnings global() variable in CPublicAPITests 102 module = py_warnings global() variable in PyPublicAPITests 396 module = c_warnings global() variable in CFilterTests 399 module = py_warnings global() variable in PyFilterTests 575 module = c_warnings global() variable in CWarnTests 584 module = py_warnings global() variable in PyWarnTests 629 module = c_warnings global() variable in CWCmdLineTests 633 module = py_warnings global() variable in PyWCmdLineTests 656 module = c_warnings global() variable in _WarningsTests 956 module = c_warnings global() variable in CWarningsDisplayTests 959 module = py_warnings global() variable in PyWarningsDisplayTests 1155 module = c_warnings global() variable in CCatchWarningTests 1158 module = py_warnings global() variable in PyCatchWarningTests 1242 module = c_warnings global() variable in CEnvironmentVariableTests 1245 module = py_warnings global() variable in PyEnvironmentVariableTests 1252 module = original_warnings global() variable in _DeprecatedTest [all...] |
/third_party/python/Python/clinic/ |
H A D | sysmodule.c.h | 6 "addaudithook($module, /, hook)\n" 15 sys_addaudithook_impl(PyObject *module, PyObject *hook); 18 sys_addaudithook(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) in sys_addaudithook() argument 31 return_value = sys_addaudithook_impl(module, hook); in sys_addaudithook() 38 "displayhook($module, object, /)\n" 47 "excepthook($module, exctype, value, traceback, /)\n" 56 sys_excepthook_impl(PyObject *module, PyObject *exctype, PyObject *value, 60 sys_excepthook(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in sys_excepthook() argument 73 return_value = sys_excepthook_impl(module, exctype, value, traceback); in sys_excepthook() 80 "exception($module, /)\ 96 sys_exception(PyObject *module, PyObject *Py_UNUSED(ignored)) sys_exception() argument 117 sys_exc_info(PyObject *module, PyObject *Py_UNUSED(ignored)) sys_exc_info() argument 157 sys_exit(PyObject *module, PyObject *const *args, Py_ssize_t nargs) sys_exit() argument 189 sys_getdefaultencoding(PyObject *module, PyObject *Py_UNUSED(ignored)) sys_getdefaultencoding() argument 207 sys_getfilesystemencoding(PyObject *module, PyObject *Py_UNUSED(ignored)) sys_getfilesystemencoding() argument 225 sys_getfilesystemencodeerrors(PyObject *module, PyObject *Py_UNUSED(ignored)) sys_getfilesystemencodeerrors() argument 247 sys_intern(PyObject *module, PyObject *arg) sys_intern() argument 281 sys_gettrace(PyObject *module, PyObject *Py_UNUSED(ignored)) sys_gettrace() argument 301 sys_getprofile(PyObject *module, PyObject *Py_UNUSED(ignored)) sys_getprofile() argument 326 sys_setswitchinterval(PyObject *module, PyObject *arg) sys_setswitchinterval() argument 360 sys_getswitchinterval(PyObject *module, PyObject *Py_UNUSED(ignored)) sys_getswitchinterval() argument 392 sys_setrecursionlimit(PyObject *module, PyObject *arg) sys_setrecursionlimit() argument 425 sys_set_coroutine_origin_tracking_depth(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) sys_set_coroutine_origin_tracking_depth() argument 460 sys_get_coroutine_origin_tracking_depth(PyObject *module, PyObject *Py_UNUSED(ignored)) sys_get_coroutine_origin_tracking_depth() argument 490 sys_get_asyncgen_hooks(PyObject *module, PyObject *Py_UNUSED(ignored)) sys_get_asyncgen_hooks() argument 512 sys_getrecursionlimit(PyObject *module, PyObject *Py_UNUSED(ignored)) sys_getrecursionlimit() argument 542 sys_getwindowsversion(PyObject *module, PyObject *Py_UNUSED(ignored)) sys_getwindowsversion() argument 570 sys__enablelegacywindowsfsencoding(PyObject *module, PyObject *Py_UNUSED(ignored)) sys__enablelegacywindowsfsencoding() argument 600 sys_setdlopenflags(PyObject *module, PyObject *arg) sys_setdlopenflags() argument 634 sys_getdlopenflags(PyObject *module, PyObject *Py_UNUSED(ignored)) sys_getdlopenflags() argument 655 sys_mdebug(PyObject *module, PyObject *arg) sys_mdebug() argument 685 sys_get_int_max_str_digits(PyObject *module, PyObject *Py_UNUSED(ignored)) sys_get_int_max_str_digits() argument 703 sys_set_int_max_str_digits(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) sys_set_int_max_str_digits() argument 742 sys_getrefcount(PyObject *module, PyObject *object) sys_getrefcount() argument 771 sys_gettotalrefcount(PyObject *module, PyObject *Py_UNUSED(ignored)) sys_gettotalrefcount() argument 800 sys__getquickenedcount(PyObject *module, PyObject *Py_UNUSED(ignored)) sys__getquickenedcount() argument 828 sys_getallocatedblocks(PyObject *module, PyObject *Py_UNUSED(ignored)) sys_getallocatedblocks() argument 864 sys__getframe(PyObject *module, PyObject *const *args, Py_ssize_t nargs) sys__getframe() argument 901 sys__current_frames(PyObject *module, PyObject *Py_UNUSED(ignored)) sys__current_frames() argument 921 sys__current_exceptions(PyObject *module, PyObject *Py_UNUSED(ignored)) sys__current_exceptions() argument 943 sys_call_tracing(PyObject *module, PyObject *const *args, Py_ssize_t nargs) sys_call_tracing() argument 980 sys__debugmallocstats(PyObject *module, PyObject *Py_UNUSED(ignored)) sys__debugmallocstats() argument 998 sys__clear_type_cache(PyObject *module, PyObject *Py_UNUSED(ignored)) sys__clear_type_cache() argument 1016 sys_is_finalizing(PyObject *module, PyObject *Py_UNUSED(ignored)) sys_is_finalizing() argument 1036 sys_getandroidapilevel(PyObject *module, PyObject *Py_UNUSED(ignored)) sys_getandroidapilevel() argument [all...] |
/third_party/python/Modules/ |
H A D | _stat.c | 3 * The module defines all S_IF*, S_I*, UF_*, SF_* and ST_* constants to 5 * backward compatibility with the old stat.py module. 500 stat_exec(PyObject *module) in stat_exec() argument 502 #define ADD_INT_MACRO(module, macro) \ in stat_exec() 504 if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \ in stat_exec() 509 ADD_INT_MACRO(module, S_IFDIR); in stat_exec() 510 ADD_INT_MACRO(module, S_IFCHR); in stat_exec() 511 ADD_INT_MACRO(module, S_IFBLK); in stat_exec() 512 ADD_INT_MACRO(module, S_IFREG); in stat_exec() 513 ADD_INT_MACRO(module, S_IFIF in stat_exec() [all...] |
H A D | syslogmodule.c | 50 /* syslog module */ 67 * because the syslog module can still be used because openlog(3) in syslog_get_argv() 272 /* List of functions defined in the module */ 286 syslog_exec(PyObject *module) in syslog_exec() argument 288 #define ADD_INT_MACRO(module, macro) \ in syslog_exec() 290 if (PyModule_AddIntConstant(module, #macro, macro) < 0) { \ in syslog_exec() 295 ADD_INT_MACRO(module, LOG_EMERG); in syslog_exec() 296 ADD_INT_MACRO(module, LOG_ALERT); in syslog_exec() 297 ADD_INT_MACRO(module, LOG_CRIT); in syslog_exec() 298 ADD_INT_MACRO(module, LOG_ER in syslog_exec() [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | jsDeclarationsFunctionsCjs.js | 2 module.exports.a = function a() {} 4 module.exports.b = function b() {} 5 module.exports.b.cat = "cat"; 7 module.exports.c = function c() {} 8 module.exports.c.Cls = class {} 15 module.exports.d = function d(a, b) { return /** @type {*} */(null); } 23 module.exports.e = function e(a, b) { return /** @type {*} */(null); } 29 module.exports.f = function f(a) { 32 module.exports.f.self = module [all...] |
H A D | jsDeclarationsExportDefinePropertyEmit.js | 2 Object.defineProperty(module.exports, "a", { value: function a() {} }); 4 Object.defineProperty(module.exports, "b", { value: function b() {} }); 5 Object.defineProperty(module.exports.b, "cat", { value: "cat" }); 13 Object.defineProperty(module.exports, "d", { value: d }); 23 Object.defineProperty(module.exports, "e", { value: e }); 32 Object.defineProperty(module.exports, "f", { value: f }); 33 Object.defineProperty(module.exports.f, "self", { value: module.exports.f }); 37 * @param {{y: typeof module.exports.b}} b 42 Object.defineProperty(module [all...] |
H A D | augmentedTypesModules.js | 2 // module then var 3 module m1 { } 6 module m1a { var y = 2; } // error 9 module m1b { export var y = 2; } // error 12 module m1c { 17 module m1d { // error 22 // module then function 23 module m2 { } 24 function m2() { }; // ok since the module is not instantiated 26 module m2 [all...] |
/third_party/node/deps/v8/src/objects/ |
H A D | module.cc | 5 #include "src/objects/module.h" 18 #include "src/objects/module-inl.h" 21 #include "src/objects/source-text-module.h" 22 #include "src/objects/synthetic-module-inl.h" 30 void PrintModuleName(Module module, std::ostream& os) { in PrintModuleName() argument 31 if (module.IsSourceTextModule()) { in PrintModuleName() 32 SourceTextModule::cast(module).GetScript().GetNameOrSourceURL().Print(os); in PrintModuleName() 34 SyntheticModule::cast(module).name().Print(os); in PrintModuleName() 41 void PrintStatusTransition(Module module, Module::Status old_status) { in PrintStatusTransition() argument 44 os << "Changing module statu in PrintStatusTransition() 49 PrintStatusMessage(Module module, const char* message) PrintStatusMessage() argument 57 SetStatusInternal(Module module, Module::Status new_status) SetStatusInternal() argument 78 RecordErrorUsingPendingException(Isolate* isolate, Handle<Module> module) RecordErrorUsingPendingException() argument 85 RecordError(Isolate* isolate, Handle<Module> module, Handle<Object> error) RecordError() argument 105 ResetGraph(Isolate* isolate, Handle<Module> module) ResetGraph() argument 132 Reset(Isolate* isolate, Handle<Module> module) Reset() argument 160 ResolveExport(Isolate* isolate, Handle<Module> module, Handle<String> module_specifier, Handle<String> export_name, MessageLocation loc, bool must_resolve, Module::ResolveSet* resolve_set) ResolveExport() argument 179 Instantiate( Isolate* isolate, Handle<Module> module, v8::Local<v8::Context> context, v8::Module::ResolveModuleCallback callback, DeprecatedResolveCallback callback_without_import_assertions) Instantiate() argument 207 PrepareInstantiate( Isolate* isolate, Handle<Module> module, v8::Local<v8::Context> context, v8::Module::ResolveModuleCallback callback, DeprecatedResolveCallback callback_without_import_assertions) PrepareInstantiate() argument 227 FinishInstantiate(Isolate* isolate, Handle<Module> module, ZoneForwardList<Handle<SourceTextModule>>* stack, unsigned* dfs_index, Zone* zone) FinishInstantiate() argument 245 Evaluate(Isolate* isolate, Handle<Module> module) Evaluate() argument 295 GetModuleNamespace(Isolate* isolate, Handle<Module> module) GetModuleNamespace() argument [all...] |
H A D | source-text-module.cc | 5 #include "src/objects/source-text-module.h" 12 #include "src/objects/module-inl.h" 126 Isolate* isolate, Handle<SourceTextModule> module, Handle<String> name, in CreateIndirectExport() 128 Handle<ObjectHashTable> exports(module->exports(), isolate); in CreateIndirectExport() 131 module->set_exports(*exports); in CreateIndirectExport() 135 Handle<SourceTextModule> module, in CreateExport() 140 module->regular_exports().set(ExportIndex(cell_index), *cell); in CreateExport() 142 Handle<ObjectHashTable> exports(module->exports(), isolate); in CreateExport() 148 module->set_exports(*exports); in CreateExport() 168 Handle<SourceTextModule> module, in LoadVariable() 125 CreateIndirectExport( Isolate* isolate, Handle<SourceTextModule> module, Handle<String> name, Handle<SourceTextModuleInfoEntry> entry) CreateIndirectExport() argument 134 CreateExport(Isolate* isolate, Handle<SourceTextModule> module, int cell_index, Handle<FixedArray> names) CreateExport() argument 167 LoadVariable(Isolate* isolate, Handle<SourceTextModule> module, int cell_index) LoadVariable() argument 173 StoreVariable(Handle<SourceTextModule> module, int cell_index, Handle<Object> value) StoreVariable() argument 181 ResolveExport( Isolate* isolate, Handle<SourceTextModule> module, Handle<String> module_specifier, Handle<String> export_name, MessageLocation loc, bool must_resolve, Module::ResolveSet* resolve_set) ResolveExport() argument 246 ResolveImport( Isolate* isolate, Handle<SourceTextModule> module, Handle<String> name, int module_request_index, MessageLocation loc, bool must_resolve, Module::ResolveSet* resolve_set) ResolveImport() argument 266 ResolveExportUsingStarExports( Isolate* isolate, Handle<SourceTextModule> module, Handle<String> module_specifier, Handle<String> export_name, MessageLocation loc, bool must_resolve, Module::ResolveSet* resolve_set) ResolveExportUsingStarExports() argument 322 PrepareInstantiate( Isolate* isolate, Handle<SourceTextModule> module, v8::Local<v8::Context> context, v8::Module::ResolveModuleCallback callback, Module::DeprecatedResolveCallback callback_without_import_assertions) PrepareInstantiate() argument 398 RunInitializationCode(Isolate* isolate, Handle<SourceTextModule> module) RunInitializationCode() argument 422 MaybeTransitionComponent( Isolate* isolate, Handle<SourceTextModule> module, ZoneForwardList<Handle<SourceTextModule>>* stack, Status new_status) MaybeTransitionComponent() argument 453 FinishInstantiate( Isolate* isolate, Handle<SourceTextModule> module, ZoneForwardList<Handle<SourceTextModule>>* stack, unsigned* dfs_index, Zone* zone) FinishInstantiate() argument 538 FetchStarExports(Isolate* isolate, Handle<SourceTextModule> module, Zone* zone, UnorderedModuleSet* visited) FetchStarExports() argument 623 Handle<SourceTextModule> module = worklist.top(); GatherAsyncParentCompletions() local 666 GetModuleNamespace( Isolate* isolate, Handle<SourceTextModule> module, int module_request) GetModuleNamespace() argument 673 GetImportMeta( Isolate* isolate, Handle<SourceTextModule> module) GetImportMeta() argument 686 Evaluate( Isolate* isolate, Handle<SourceTextModule> module) Evaluate() argument 752 AsyncModuleExecutionFulfilled( Isolate* isolate, Handle<SourceTextModule> module) AsyncModuleExecutionFulfilled() argument 854 AsyncModuleExecutionRejected( Isolate* isolate, Handle<SourceTextModule> module, Handle<Object> exception) AsyncModuleExecutionRejected() argument 912 ExecuteAsyncModule( Isolate* isolate, Handle<SourceTextModule> module) ExecuteAsyncModule() argument 978 InnerExecuteAsyncModule( Isolate* isolate, Handle<SourceTextModule> module, Handle<JSPromise> capability) InnerExecuteAsyncModule() argument 999 ExecuteModule( Isolate* isolate, Handle<SourceTextModule> module) ExecuteModule() argument 1018 InnerModuleEvaluation( Isolate* isolate, Handle<SourceTextModule> module, ZoneForwardList<Handle<SourceTextModule>>* stack, unsigned* dfs_index) InnerModuleEvaluation() argument 1178 Reset(Isolate* isolate, Handle<SourceTextModule> module) Reset() argument [all...] |
/third_party/python/Lib/test/test_importlib/ |
H A D | test_lazy.py | 17 def exec_module(self, module): 27 lazy_loader = factory('module name', 'module path', kw='kw') 29 self.assertEqual(('module name', 'module path'), loader.args) 50 def exec_module(self, module): 51 exec(self.source_code, module.__dict__) 52 self.loaded = module 68 module = spec.loader.create_module(spec) 69 if module i [all...] |
/third_party/python/Modules/clinic/ |
H A D | readline.c.h | 6 "parse_and_bind($module, string, /)\n" 15 "read_init_file($module, filename=None, /)\n" 26 readline_read_init_file_impl(PyObject *module, PyObject *filename_obj); 29 readline_read_init_file(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in readline_read_init_file() argument 42 return_value = readline_read_init_file_impl(module, filename_obj); in readline_read_init_file() 49 "read_history_file($module, filename=None, /)\n" 60 readline_read_history_file_impl(PyObject *module, PyObject *filename_obj); 63 readline_read_history_file(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in readline_read_history_file() argument 76 return_value = readline_read_history_file_impl(module, filename_obj); in readline_read_history_file() 83 "write_history_file($module, filenam 97 readline_write_history_file(PyObject *module, PyObject *const *args, Py_ssize_t nargs) readline_write_history_file() argument 134 readline_append_history_file(PyObject *module, PyObject *const *args, Py_ssize_t nargs) readline_append_history_file() argument 175 readline_set_history_length(PyObject *module, PyObject *arg) readline_set_history_length() argument 203 readline_get_history_length(PyObject *module, PyObject *Py_UNUSED(ignored)) readline_get_history_length() argument 226 readline_set_completion_display_matches_hook(PyObject *module, PyObject *const *args, Py_ssize_t nargs) readline_set_completion_display_matches_hook() argument 261 readline_set_startup_hook(PyObject *module, PyObject *const *args, Py_ssize_t nargs) readline_set_startup_hook() argument 299 readline_set_pre_input_hook(PyObject *module, PyObject *const *args, Py_ssize_t nargs) readline_set_pre_input_hook() argument 333 readline_get_completion_type(PyObject *module, PyObject *Py_UNUSED(ignored)) readline_get_completion_type() argument 351 readline_get_begidx(PyObject *module, PyObject *Py_UNUSED(ignored)) readline_get_begidx() argument 369 readline_get_endidx(PyObject *module, PyObject *Py_UNUSED(ignored)) readline_get_endidx() argument 396 readline_remove_history_item(PyObject *module, PyObject *arg) readline_remove_history_item() argument 427 readline_replace_history_item(PyObject *module, PyObject *const *args, Py_ssize_t nargs) readline_replace_history_item() argument 477 readline_set_auto_history(PyObject *module, PyObject *arg) readline_set_auto_history() argument 505 readline_get_completer_delims(PyObject *module, PyObject *Py_UNUSED(ignored)) readline_get_completer_delims() argument 527 readline_set_completer(PyObject *module, PyObject *const *args, Py_ssize_t nargs) readline_set_completer() argument 559 readline_get_completer(PyObject *module, PyObject *Py_UNUSED(ignored)) readline_get_completer() argument 577 readline_get_history_item(PyObject *module, PyObject *arg) readline_get_history_item() argument 605 readline_get_current_history_length(PyObject *module, PyObject *Py_UNUSED(ignored)) readline_get_current_history_length() argument 623 readline_get_line_buffer(PyObject *module, PyObject *Py_UNUSED(ignored)) readline_get_line_buffer() argument 643 readline_clear_history(PyObject *module, PyObject *Py_UNUSED(ignored)) readline_clear_history() argument 672 readline_redisplay(PyObject *module, PyObject *Py_UNUSED(ignored)) readline_redisplay() argument [all...] |
H A D | gcmodule.c.h | 6 "enable($module, /)\n" 15 gc_enable_impl(PyObject *module); 18 gc_enable(PyObject *module, PyObject *Py_UNUSED(ignored)) in gc_enable() argument 20 return gc_enable_impl(module); in gc_enable() 24 "disable($module, /)\n" 33 gc_disable_impl(PyObject *module); 36 gc_disable(PyObject *module, PyObject *Py_UNUSED(ignored)) in gc_disable() argument 38 return gc_disable_impl(module); in gc_disable() 42 "isenabled($module, /)\n" 51 gc_isenabled_impl(PyObject *module); 54 gc_isenabled(PyObject *module, PyObject *Py_UNUSED(ignored)) gc_isenabled() argument 88 gc_collect(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) gc_collect() argument 144 gc_set_debug(PyObject *module, PyObject *arg) gc_set_debug() argument 172 gc_get_debug(PyObject *module, PyObject *Py_UNUSED(ignored)) gc_get_debug() argument 200 gc_get_threshold(PyObject *module, PyObject *Py_UNUSED(ignored)) gc_get_threshold() argument 218 gc_get_count(PyObject *module, PyObject *Py_UNUSED(ignored)) gc_get_count() argument 242 gc_get_objects(PyObject *module, PyObject *const *args, Py_ssize_t nargs, PyObject *kwnames) gc_get_objects() argument 281 gc_get_stats(PyObject *module, PyObject *Py_UNUSED(ignored)) gc_get_stats() argument 323 gc_freeze(PyObject *module, PyObject *Py_UNUSED(ignored)) gc_freeze() argument 343 gc_unfreeze(PyObject *module, PyObject *Py_UNUSED(ignored)) gc_unfreeze() argument 361 gc_get_freeze_count(PyObject *module, PyObject *Py_UNUSED(ignored)) gc_get_freeze_count() argument [all...] |
H A D | _tracemalloc.c.h | 6 "is_tracing($module, /)\n" 9 "Return True if the tracemalloc module is tracing Python memory allocations."); 15 _tracemalloc_is_tracing_impl(PyObject *module); 18 _tracemalloc_is_tracing(PyObject *module, PyObject *Py_UNUSED(ignored)) in _tracemalloc_is_tracing() argument 20 return _tracemalloc_is_tracing_impl(module); in _tracemalloc_is_tracing() 24 "clear_traces($module, /)\n" 33 _tracemalloc_clear_traces_impl(PyObject *module); 36 _tracemalloc_clear_traces(PyObject *module, PyObject *Py_UNUSED(ignored)) in _tracemalloc_clear_traces() argument 38 return _tracemalloc_clear_traces_impl(module); in _tracemalloc_clear_traces() 42 "_get_traces($module, /)\ 59 _tracemalloc__get_traces(PyObject *module, PyObject *Py_UNUSED(ignored)) _tracemalloc__get_traces() argument 93 _tracemalloc_start(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _tracemalloc_start() argument 130 _tracemalloc_stop(PyObject *module, PyObject *Py_UNUSED(ignored)) _tracemalloc_stop() argument 151 _tracemalloc_get_traceback_limit(PyObject *module, PyObject *Py_UNUSED(ignored)) _tracemalloc_get_traceback_limit() argument 171 _tracemalloc_get_tracemalloc_memory(PyObject *module, PyObject *Py_UNUSED(ignored)) _tracemalloc_get_tracemalloc_memory() argument 191 _tracemalloc_get_traced_memory(PyObject *module, PyObject *Py_UNUSED(ignored)) _tracemalloc_get_traced_memory() argument 211 _tracemalloc_reset_peak(PyObject *module, PyObject *Py_UNUSED(ignored)) _tracemalloc_reset_peak() argument [all...] |
H A D | _operator.c.h | 6 "truth($module, a, /)\n" 15 _operator_truth_impl(PyObject *module, PyObject *a); 18 _operator_truth(PyObject *module, PyObject *a) in _operator_truth() argument 23 _return_value = _operator_truth_impl(module, a); in _operator_truth() 34 "add($module, a, b, /)\n" 43 _operator_add_impl(PyObject *module, PyObject *a, PyObject *b); 46 _operator_add(PyObject *module, PyObject *const *args, Py_ssize_t nargs) in _operator_add() argument 57 return_value = _operator_add_impl(module, a, b); in _operator_add() 64 "sub($module, a, b, /)\n" 73 _operator_sub_impl(PyObject *module, PyObjec 76 _operator_sub(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator_sub() argument 106 _operator_mul(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator_mul() argument 136 _operator_matmul(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator_matmul() argument 166 _operator_floordiv(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator_floordiv() argument 196 _operator_truediv(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator_truediv() argument 226 _operator_mod(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator_mod() argument 301 _operator_lshift(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator_lshift() argument 331 _operator_rshift(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator_rshift() argument 361 _operator_not_(PyObject *module, PyObject *a) _operator_not_() argument 389 _operator_and_(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator_and_() argument 419 _operator_xor(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator_xor() argument 449 _operator_or_(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator_or_() argument 479 _operator_iadd(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator_iadd() argument 509 _operator_isub(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator_isub() argument 539 _operator_imul(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator_imul() argument 569 _operator_imatmul(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator_imatmul() argument 599 _operator_ifloordiv(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator_ifloordiv() argument 629 _operator_itruediv(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator_itruediv() argument 659 _operator_imod(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator_imod() argument 689 _operator_ilshift(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator_ilshift() argument 719 _operator_irshift(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator_irshift() argument 749 _operator_iand(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator_iand() argument 779 _operator_ixor(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator_ixor() argument 809 _operator_ior(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator_ior() argument 839 _operator_concat(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator_concat() argument 869 _operator_iconcat(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator_iconcat() argument 899 _operator_contains(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator_contains() argument 934 _operator_indexOf(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator_indexOf() argument 969 _operator_countOf(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator_countOf() argument 1004 _operator_getitem(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator_getitem() argument 1035 _operator_setitem(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator_setitem() argument 1067 _operator_delitem(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator_delitem() argument 1097 _operator_eq(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator_eq() argument 1127 _operator_ne(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator_ne() argument 1157 _operator_lt(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator_lt() argument 1187 _operator_le(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator_le() argument 1217 _operator_gt(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator_gt() argument 1247 _operator_ge(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator_ge() argument 1277 _operator_pow(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator_pow() argument 1307 _operator_ipow(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator_ipow() argument 1346 _operator_is_(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator_is_() argument 1376 _operator_is_not(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator_is_not() argument 1413 _operator_length_hint(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator_length_hint() argument 1473 _operator__compare_digest(PyObject *module, PyObject *const *args, Py_ssize_t nargs) _operator__compare_digest() argument [all...] |
/third_party/python/Lib/importlib/ |
H A D | util.py | 28 """Resolve a relative module name to an absolute one.""" 33 '(required for relative module names)') 43 """Return the spec for the specified module. 45 First, sys.modules is checked to see if the module was already imported. If 47 set to None, then ValueError is raised. If the module is not in 60 module = sys.modules[name] 61 if module is None: 64 spec = module.__spec__ 74 """Return the spec for the specified module. 76 First, sys.modules is checked to see if the module wa [all...] |
H A D | _bootstrap.py | 3 This module is NOT meant to be directly imported! It has been designed such 6 work. One should use importlib as the public-facing version of this module. 10 # IMPORTANT: Whenever making changes to this module, be sure to run a top-level 12 # of the module updated. Not doing so will result in the Makefile to fail for 13 # all others who don't have a ./python around to freeze the module 54 # A dict mapping module names to weakrefs of _ModuleLock instances 102 Acquire the module lock. If a potential deadlock is detected, 180 """Get or create the module lock for a given module name. 217 """Acquires then releases the module loc [all...] |
/third_party/python/Lib/test/test_importlib/import_/ |
H A D | test_fromlist.py | 11 If direct ``import ...`` statement is used, the root module or package is 12 returned [import return]. But if fromlist is set, then the specified module 20 with util.mock_spec('pkg.__init__', 'pkg.module') as importer: 22 module = self.__import__('pkg.module') 23 self.assertEqual(module.__name__, 'pkg') 27 with util.mock_spec('pkg.__init__', 'pkg.module')as importer: 29 module = self.__import__('pkg.module', fromlist=['attr']) 30 self.assertEqual(module [all...] |
/third_party/skia/third_party/externals/freetype/src/pshinter/ |
H A D | pshmod.c | 5 * FreeType PostScript hinter module implementation (body). 25 /* the Postscript Hinter module structure */ 38 /* finalize module */ 40 ps_hinter_done( PS_Hinter_Module module ) in ps_hinter_done() 42 module->t1_funcs.hints = NULL; in ps_hinter_done() 43 module->t2_funcs.hints = NULL; in ps_hinter_done() 45 ps_hints_done( &module->ps_hints ); in ps_hinter_done() 49 /* initialize module, create hints recorder and the interface */ 51 ps_hinter_init( PS_Hinter_Module module ) in FT_CALLBACK_DEF() 53 FT_Memory memory = module in FT_CALLBACK_DEF() [all...] |
/third_party/skia/third_party/externals/spirv-tools/test/opt/loop_optimizations/ |
H A D | fusion_compatibility.cpp | 101 Module* module = context->module(); in TEST_F() local 102 EXPECT_NE(nullptr, module) << "Assembling failed for shader:\n" in TEST_F() 104 Function& f = *module->begin(); in TEST_F() 186 Module* module = context->module(); in TEST_F() local 187 EXPECT_NE(nullptr, module) << "Assembling failed for shader:\n" in TEST_F() 189 Function& f = *module->begin(); in TEST_F() 272 Module* module = context->module(); in TEST_F() local 359 Module* module = context->module(); TEST_F() local 447 Module* module = context->module(); TEST_F() local 535 Module* module = context->module(); TEST_F() local 633 Module* module = context->module(); TEST_F() local 734 Module* module = context->module(); TEST_F() local 834 Module* module = context->module(); TEST_F() local 937 Module* module = context->module(); TEST_F() local 1042 Module* module = context->module(); TEST_F() local 1175 Module* module = context->module(); TEST_F() local 1269 Module* module = context->module(); TEST_F() local 1381 Module* module = context->module(); TEST_F() local 1473 Module* module = context->module(); TEST_F() local 1564 Module* module = context->module(); TEST_F() local 1662 Module* module = context->module(); TEST_F() local 1771 Module* module = context->module(); TEST_F() local [all...] |
H A D | unroll_simple.cpp | 188 Module* module = context->module(); in TEST_F() local 189 EXPECT_NE(nullptr, module) << "Assembling failed for ushader:\n" in TEST_F() 372 Module* module = context->module(); in TEST_F() local 373 EXPECT_NE(nullptr, module) << "Assembling failed for ushader:\n" in TEST_F() 550 Module* module = context->module(); in TEST_F() local 551 EXPECT_NE(nullptr, module) << "Assembling failed for ushader:\n" in TEST_F() 568 for (Function& f : *context()->module()) { 711 Module* module = context->module(); TEST_F() local 882 Module* module = context->module(); TEST_F() local 960 Module* module = context->module(); TEST_F() local 1054 Module* module = context->module(); TEST_F() local 1323 Module* module = context->module(); TEST_F() local 1448 Module* module = context->module(); TEST_F() local 1620 Module* module = context->module(); TEST_F() local 1738 Module* module = context->module(); TEST_F() local 1782 Module* module = context->module(); TEST_F() local 1949 Module* module = context->module(); TEST_F() local 2090 Module* module = context->module(); TEST_F() local 2230 Module* module = context->module(); TEST_F() local 2383 Module* module = context->module(); TEST_F() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/loop_optimizations/ |
H A D | fusion_compatibility.cpp | 101 Module* module = context->module(); in TEST_F() local 102 EXPECT_NE(nullptr, module) << "Assembling failed for shader:\n" in TEST_F() 104 Function& f = *module->begin(); in TEST_F() 186 Module* module = context->module(); in TEST_F() local 187 EXPECT_NE(nullptr, module) << "Assembling failed for shader:\n" in TEST_F() 189 Function& f = *module->begin(); in TEST_F() 272 Module* module = context->module(); in TEST_F() local 359 Module* module = context->module(); TEST_F() local 447 Module* module = context->module(); TEST_F() local 535 Module* module = context->module(); TEST_F() local 633 Module* module = context->module(); TEST_F() local 734 Module* module = context->module(); TEST_F() local 834 Module* module = context->module(); TEST_F() local 937 Module* module = context->module(); TEST_F() local 1042 Module* module = context->module(); TEST_F() local 1175 Module* module = context->module(); TEST_F() local 1269 Module* module = context->module(); TEST_F() local 1381 Module* module = context->module(); TEST_F() local 1473 Module* module = context->module(); TEST_F() local 1564 Module* module = context->module(); TEST_F() local 1662 Module* module = context->module(); TEST_F() local 1771 Module* module = context->module(); TEST_F() local [all...] |
/third_party/spirv-tools/test/opt/loop_optimizations/ |
H A D | fusion_compatibility.cpp | 98 Module* module = context->module(); in TEST_F() local 99 EXPECT_NE(nullptr, module) << "Assembling failed for shader:\n" in TEST_F() 101 Function& f = *module->begin(); in TEST_F() 183 Module* module = context->module(); in TEST_F() local 184 EXPECT_NE(nullptr, module) << "Assembling failed for shader:\n" in TEST_F() 186 Function& f = *module->begin(); in TEST_F() 269 Module* module = context->module(); in TEST_F() local 356 Module* module = context->module(); TEST_F() local 444 Module* module = context->module(); TEST_F() local 532 Module* module = context->module(); TEST_F() local 630 Module* module = context->module(); TEST_F() local 731 Module* module = context->module(); TEST_F() local 831 Module* module = context->module(); TEST_F() local 934 Module* module = context->module(); TEST_F() local 1039 Module* module = context->module(); TEST_F() local 1172 Module* module = context->module(); TEST_F() local 1266 Module* module = context->module(); TEST_F() local 1378 Module* module = context->module(); TEST_F() local 1470 Module* module = context->module(); TEST_F() local 1561 Module* module = context->module(); TEST_F() local 1659 Module* module = context->module(); TEST_F() local 1768 Module* module = context->module(); TEST_F() local [all...] |
/third_party/skia/third_party/externals/freetype/src/autofit/ |
H A D | afmodule.c | 5 * Auto-fitter module implementation (body). 75 AF_Module module ) in af_property_get_face_globals() 89 error = af_face_globals_new( face, &globals, module ); in af_property_get_face_globals() 113 AF_Module module = (AF_Module)ft_module; in af_property_set() local 144 module->fallback_style = ss; in af_property_set() 170 module->default_script = *default_script; in af_property_set() 187 error = af_property_get_face_globals( prop->face, &globals, module ); in af_property_set() 244 module->darken_params[0] = x1; in af_property_set() 245 module->darken_params[1] = y1; in af_property_set() 246 module in af_property_set() 293 AF_Module module = (AF_Module)ft_module; af_property_get() local 402 AF_Module module = (AF_Module)ft_module; FT_CALLBACK_DEF() local [all...] |