/third_party/nghttp2/doc/_exts/rubydomain/ |
H A D | rubydomain.py | 111 modname = self.options.get( 116 modname = None 137 signode['module'] = modname 154 modname = self.options.get( 156 if modname and modname != 'exceptions': 157 nodetext = modname + separators[self.objtype] 192 def get_index_text(self, modname, name): 203 modname = '' 205 modname [all...] |
/third_party/python/Lib/test/ |
H A D | test___all__.py | 41 def check_all(self, modname): 44 (f".*{modname}", DeprecationWarning), 50 exec("import %s" % modname, names) 55 raise FailedImport(modname) 56 if not hasattr(sys.modules[modname], "__all__"): 57 raise NoAll(modname) 59 with self.subTest(module=modname): 65 exec("from %s import *" % modname, names) 69 modname, e.__class__.__name__, e)) 77 all_list = sys.modules[modname] [all...] |
H A D | test_file_eintr.py | 46 self.modname) 187 modname = '_io' variable in CTestFileIOSignalInterrupt 190 modname = '_pyio' variable in PyTestFileIOSignalInterrupt 198 self.modname) 209 modname = '_io' variable in CTestBufferedIOSignalInterrupt 212 modname = '_pyio' variable in PyTestBufferedIOSignalInterrupt 221 self.modname) 248 modname = '_io' variable in CTestTextIOSignalInterrupt 251 modname = '_pyio' variable in PyTestTextIOSignalInterrupt
|
H A D | mp_preload.py | 12 modname = "test.mp_preload" 14 __import__(modname) 15 ctx.set_forkserver_preload([modname])
|
/third_party/python/Tools/scripts/ |
H A D | freeze_modules.py | 122 frozenid, pyfile, modname, ispkg, section = item 130 yield FrozenModule(modname, ispkg, section, source) 144 The info consists of: (frozenid, pyfile, modname, ispkg, section). 149 frozenid : modname 150 frozenid : modname = pyfile 152 "frozenid" and "modname" must be valid module names (dot-separated 153 identifiers). If "modname" is not provided then "frozenid" is used. 165 As with "frozenid", angle brackets around "modname" indicate 167 have been provided and patterns in "modname" are not supported. 168 Also, if "modname" ha 247 def modname(self): global() member in FrozenSource 299 def modname(self): global() member in FrozenModule [all...] |
/third_party/python/Lib/ |
H A D | pkgutil.py | 158 modname = inspect.getmodulename(fn) 159 if modname=='__init__' or modname in yielded: 165 if not modname and os.path.isdir(path) and '.' not in fn: 166 modname = fn 180 if modname and '.' not in modname: 181 yielded[modname] = 1 182 yield prefix + modname, ispkg 242 modname [all...] |
H A D | pydoc.py | 200 def classname(object, modname): 203 if object.__module__ != modname: 648 def classlink(self, object, modname): 653 module.__name__, name, classname(object, modname)) 654 return classname(object, modname) 722 def formattree(self, tree, modname, parent=None): 729 result = result + self.classlink(c, modname) 733 parents.append(self.classlink(base, modname)) 738 entry, modname, c) 791 key, modname [all...] |
/third_party/ltp/testcases/kernel/syscalls/delete_module/ |
H A D | delete_module02.c | 39 static char modname[20]; variable 42 char *modname; member 48 { modname, ENOENT, "nonexistent module", 0}, 52 { modname, EPERM, "non-superuser", 1}, 59 if (!tc->modname) in do_delete_module() 60 tc->modname = tst_get_bad_addr(NULL); in do_delete_module() 66 TEST(tst_syscall(__NR_delete_module, tc->modname, 0)); in do_delete_module() 88 sprintf(modname, "%s_%d", BASEMODNAME, getpid()); in setup()
|
/third_party/python/Lib/test/support/ |
H A D | import_helper.py | 37 def forget(modname): 43 unload(modname) 45 source = os.path.join(dirname, modname + '.py') 88 for modname in list(sys.modules): 89 if modname in names or modname.startswith(prefixes): 90 orig_modules[modname] = sys.modules.pop(modname) 149 for modname in blocked: 150 sys.modules[modname] [all...] |
/third_party/elfutils/tests/ |
H A D | line2addr.c | 45 const char *modname = dwfl_module_info (mod, NULL, NULL, NULL, in print_address() local 49 printf ("%s(%s)+%#" PRIx64, modname, secname, address); in print_address() 51 printf ("%s+%#" PRIx64, modname, address); in print_address() 70 const char *modname, Dwarf_Addr base __attribute__ ((unused)), in handle_module() 91 if (modname[0] != '\0') in handle_module() 92 printf (" (%s:", modname); in handle_module() 94 printf (" %s%s:%d", modname[0] != '\0' ? "" : "(", in handle_module() 98 if (modname[0] != '\0' in handle_module() 68 handle_module(Dwfl_Module *mod __attribute__ ((unused)), void **udata __attribute__ ((unused)), const char *modname, Dwarf_Addr base __attribute__ ((unused)), Dwarf *dbg __attribute__ ((unused)), Dwarf_Addr bias __attribute__ ((unused)), void *arg) handle_module() argument
|
H A D | funcscopes.c | 129 const char *modname = dwfl_module_info (dwfl_cumodule (a->cu), NULL, in handle_function() local 133 if (modname == NULL) in handle_function() 135 if (modname[0] == '\0') in handle_function() 136 modname = fname; in handle_function() 137 printf ("%s: %#" PRIx64 " .. %#" PRIx64 "\n", modname, start, end); in handle_function()
|
/third_party/python/Python/ |
H A D | makeopcodetargets.py | 15 def find_module(modname): 20 return imp.load_module(modname, *imp.find_module(modname, [modpath])) 22 def find_module(modname): 26 os.path.dirname(os.path.dirname(__file__)), "Lib", modname + ".py") 27 return SourceFileLoader(modname, modpath).load_module()
|
/third_party/python/Lib/test/test_zoneinfo/ |
H A D | _support.py | 72 for modname in list(sys.modules): 73 if modname.split(".", 1)[0] != "tzdata": # pragma: nocover 76 tzdata_modules[modname] = sys.modules.pop(modname) 97 for modname, module in tzdata_modules.items(): 98 sys.modules[modname] = module
|
/third_party/node/src/ |
H A D | node_binding.h | 29 #define NODE_BINDING_CONTEXT_AWARE_CPP(modname, regfunc, priv, flags) \ 37 NODE_STRINGIFY(modname), \ 40 void _register_##modname() { node_module_register(&_module); } 60 #define NODE_BINDING_CONTEXT_AWARE_INTERNAL(modname, regfunc) \ 61 NODE_BINDING_CONTEXT_AWARE_CPP(modname, regfunc, nullptr, NM_F_INTERNAL) 64 #define NODE_BINDING_PER_ISOLATE_INIT(modname, per_isolate_func) \ 65 void _register_isolate_##modname(node::IsolateData* isolate_data, \
|
H A D | node_api.h | 59 #define NAPI_MODULE_X(modname, regfunc, priv, flags) \ 67 #modname, \ 71 NAPI_C_CTOR(_register_ ## modname) { \ 83 #define NAPI_MODULE(modname, regfunc) \ 91 #define NAPI_MODULE(modname, regfunc) \ 92 NAPI_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
|
/third_party/python/Tools/wasm/ |
H A D | wasm_assets.py | 181 for modname in disabled: 182 modules[modname] = False 197 modname = key[7:-6].lower() 198 if modname not in modules: 199 modules[modname] = value == "yes" 247 for modname, modfiles in OMIT_MODULE_FILES.items(): 248 if not extmods.get(modname):
|
/third_party/python/Lib/encodings/ |
H A D | __init__.py | 93 for modname in modnames: 94 if not modname or '.' in modname: 99 mod = __import__('encodings.' + modname, fromlist=_import_tail, 102 # ImportError may occur because 'encodings.(modname)' does not exist, 150 _aliases[alias] = modname
|
/third_party/python/Modules/ |
H A D | _lsprof.c | 142 PyObject *modname = NULL; in normalizeUserObj() local 145 modname = mod; in normalizeUserObj() 146 Py_INCREF(modname); in normalizeUserObj() 149 modname = PyModule_GetNameObject(mod); in normalizeUserObj() 150 if (modname == NULL) in normalizeUserObj() 154 if (modname != NULL) { in normalizeUserObj() 155 if (!_PyUnicode_EqualToASCIIString(modname, "builtins")) { in normalizeUserObj() 157 result = PyUnicode_FromFormat("<%U.%s>", modname, in normalizeUserObj() 159 Py_DECREF(modname); in normalizeUserObj() 162 Py_DECREF(modname); in normalizeUserObj() 172 PyObject *modname = fn->m_module; normalizeUserObj() local [all...] |
/third_party/python/Lib/unittest/test/testmock/ |
H A D | __init__.py | 13 modname = "unittest.test.testmock." + fn[:-3] 14 __import__(modname) 15 module = sys.modules[modname]
|
/third_party/node/test/node-api/test_null_init/ |
H A D | test_null_init.c | 39 #define NAPI_MODULE_TEST(modname, regfunc) \ 46 #modname, \ 50 NAPI_C_CTOR(_register_##modname) { napi_module_register(&_module); } \
|
/third_party/python/Lib/distutils/tests/ |
H A D | __init__.py | 29 modname = "distutils.tests." + fn[:-3] 34 __import__(modname) 35 module = sys.modules[modname]
|
/third_party/python/Lib/unittest/test/ |
H A D | __init__.py | 13 modname = "unittest.test." + fn[:-3] 15 __import__(modname) 18 module = sys.modules[modname]
|
/third_party/musl/porting/linux/user/src/locale/ |
H A D | dcngettext.c | 207 const char *dirname, *locname, *catname, *modname, *locp; in dcngettext() local 221 modname = memchr(locname, '@', loclen); in dcngettext() 222 if (!modname) { in dcngettext() 223 modname = locname + loclen; in dcngettext() 225 alt_modlen = modlen = loclen - (modname-locname); in dcngettext() 226 loclen = modname-locname; in dcngettext() 240 (int)alt_modlen, modname, catname, domainname); in dcngettext()
|
/third_party/musl/src/locale/ |
H A D | dcngettext.c | 181 const char *dirname, *locname, *catname, *modname, *locp; in dcngettext() local 195 modname = memchr(locname, '@', loclen); in dcngettext() 196 if (!modname) modname = locname + loclen; in dcngettext() 197 alt_modlen = modlen = loclen - (modname-locname); in dcngettext() 198 loclen = modname-locname; in dcngettext() 210 (int)alt_modlen, modname, catname, domainname); in dcngettext()
|
/third_party/python/Lib/ctypes/test/ |
H A D | test_values.py | 72 modname = entry.name.decode("ascii") variable in PythonValuesTestCase.test_frozentable.struct_frozen 73 modules.append(modname) 74 with self.subTest(modname): 81 spec = importlib.util.find_spec(modname)
|