/third_party/nghttp2/doc/_exts/rubydomain/ |
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): argument 203 modname = '' 205 modname = self.options.get( 210 prefix = modname and modname + '::' or '' [all …]
|
/third_party/python/Lib/test/ |
D | test___all__.py | 17 def check_all(self, modname): argument 25 exec("import %s" % modname, names) 30 raise FailedImport(modname) 31 if not hasattr(sys.modules[modname], "__all__"): 32 raise NoAll(modname) 34 with self.subTest(module=modname): 40 exec("from %s import *" % modname, names) 44 modname, e.__class__.__name__, e)) 52 all_list = sys.modules[modname].__all__ 54 self.assertCountEqual(all_set, all_list, "in module {}".format(modname)) [all …]
|
D | test_file_eintr.py | 43 self.modname) 184 modname = '_io' variable in CTestFileIOSignalInterrupt 187 modname = '_pyio' variable in PyTestFileIOSignalInterrupt 195 self.modname) 206 modname = '_io' variable in CTestBufferedIOSignalInterrupt 209 modname = '_pyio' variable in PyTestBufferedIOSignalInterrupt 218 self.modname) 245 modname = '_io' variable in CTestTextIOSignalInterrupt 248 modname = '_pyio' variable in PyTestTextIOSignalInterrupt
|
D | mp_preload.py | 12 modname = "test.mp_preload" variable 14 __import__(modname) 15 ctx.set_forkserver_preload([modname])
|
/third_party/python/Lib/ |
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 = inspect.getmodulename(fn) 243 if modname=='__init__' or modname in yielded: 249 if not modname and os.path.isdir(path) and '.' not in fn: [all …]
|
D | pydoc.py | 199 def classname(object, modname): argument 202 if object.__module__ != modname: 642 def classlink(self, object, modname): argument 647 module.__name__, name, classname(object, modname)) 648 return classname(object, modname) 716 def formattree(self, tree, modname, parent=None): argument 723 result = result + self.classlink(c, modname) 727 parents.append(self.classlink(base, modname)) 732 entry, modname, c) 787 key, modname = base.__name__, base.__module__ [all …]
|
/third_party/python/Lib/test/support/ |
D | import_helper.py | 35 def forget(modname): argument 41 unload(modname) 43 source = os.path.join(dirname, modname + '.py') 86 for modname in list(sys.modules): 87 if modname in names or modname.startswith(prefixes): 88 orig_modules[modname] = sys.modules.pop(modname) 127 for modname in blocked: 128 sys.modules[modname] = None 133 for modname in fresh: 134 __import__(modname)
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/wayland/ |
D | SDL_waylanddyn.c | 93 #define SDL_WAYLAND_MODULE(modname) int SDL_WAYLAND_HAVE_##modname = 0; argument 111 #define SDL_WAYLAND_MODULE(modname) SDL_WAYLAND_HAVE_##modname = 0; in SDL_WAYLAND_UnloadSymbols() argument 146 #define SDL_WAYLAND_MODULE(modname) SDL_WAYLAND_HAVE_##modname = 1; /* default yes */ in SDL_WAYLAND_LoadSymbols() argument 149 #define SDL_WAYLAND_MODULE(modname) thismod = &SDL_WAYLAND_HAVE_##modname; in SDL_WAYLAND_LoadSymbols() argument 165 #define SDL_WAYLAND_MODULE(modname) SDL_WAYLAND_HAVE_##modname = 1; /* default yes */ in SDL_WAYLAND_LoadSymbols()
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/mir/ |
D | SDL_mirdyn.c | 85 #define SDL_MIR_MODULE(modname) int SDL_MIR_HAVE_##modname = 0; argument 103 #define SDL_MIR_MODULE(modname) SDL_MIR_HAVE_##modname = 0; in SDL_MIR_UnloadSymbols() argument 138 #define SDL_MIR_MODULE(modname) SDL_MIR_HAVE_##modname = 1; /* default yes */ in SDL_MIR_LoadSymbols() argument 141 #define SDL_MIR_MODULE(modname) thismod = &SDL_MIR_HAVE_##modname; in SDL_MIR_LoadSymbols() argument 157 #define SDL_MIR_MODULE(modname) SDL_MIR_HAVE_##modname = 1; /* default yes */ in SDL_MIR_LoadSymbols()
|
/third_party/ltp/testcases/kernel/syscalls/delete_module/ |
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/flutter/skia/third_party/externals/sdl/src/video/x11/ |
D | SDL_x11dyn.c | 119 #define SDL_X11_MODULE(modname) int SDL_X11_HAVE_##modname = 0; argument 133 #define SDL_X11_MODULE(modname) SDL_X11_HAVE_##modname = 0; in SDL_X11_UnloadSymbols() argument 171 #define SDL_X11_MODULE(modname) SDL_X11_HAVE_##modname = 1; /* default yes */ in SDL_X11_LoadSymbols() argument 174 #define SDL_X11_MODULE(modname) thismod = &SDL_X11_HAVE_##modname; in SDL_X11_LoadSymbols() argument 196 #define SDL_X11_MODULE(modname) SDL_X11_HAVE_##modname = 1; /* default yes */ in SDL_X11_LoadSymbols()
|
/third_party/elfutils/tests/ |
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() argument 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()
|
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/ |
D | makeopcodetargets.py | 15 def find_module(modname): argument 20 return imp.load_module(modname, *imp.find_module(modname, [modpath])) 22 def find_module(modname): argument 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/ |
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/ |
D | node_binding.h | 27 #define NODE_MODULE_CONTEXT_AWARE_CPP(modname, regfunc, priv, flags) \ argument 35 NODE_STRINGIFY(modname), \ 38 void _register_##modname() { node_module_register(&_module); } 47 #define NODE_MODULE_CONTEXT_AWARE_INTERNAL(modname, regfunc) \ argument 48 NODE_MODULE_CONTEXT_AWARE_CPP(modname, regfunc, nullptr, NM_F_INTERNAL)
|
D | node_api.h | 59 #define NAPI_MODULE_X(modname, regfunc, priv, flags) \ argument 67 #modname, \ 71 NAPI_C_CTOR(_register_ ## modname) { \ 83 #define NAPI_MODULE(modname, regfunc) \ argument 91 #define NAPI_MODULE(modname, regfunc) \ argument 92 NAPI_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
|
/third_party/python/Lib/encodings/ |
D | __init__.py | 93 for modname in modnames: 94 if not modname or '.' in modname: 99 mod = __import__('encodings.' + modname, fromlist=_import_tail, 150 _aliases[alias] = modname
|
/third_party/python/Modules/ |
D | _lsprof.c | 136 PyObject *modname = NULL; in normalizeUserObj() local 139 modname = mod; in normalizeUserObj() 140 Py_INCREF(modname); in normalizeUserObj() 143 modname = PyModule_GetNameObject(mod); in normalizeUserObj() 144 if (modname == NULL) in normalizeUserObj() 148 if (modname != NULL) { in normalizeUserObj() 149 if (!_PyUnicode_EqualToASCIIString(modname, "builtins")) { in normalizeUserObj() 151 result = PyUnicode_FromFormat("<%U.%s>", modname, in normalizeUserObj() 153 Py_DECREF(modname); in normalizeUserObj() 156 Py_DECREF(modname); in normalizeUserObj() [all …]
|
/third_party/musl/src/locale/ |
D | dcngettext.c | 162 const char *dirname, *locname, *catname, *modname, *locp; in dcngettext() local 176 modname = memchr(locname, '@', loclen); in dcngettext() 177 if (!modname) modname = locname + loclen; in dcngettext() 178 alt_modlen = modlen = loclen - (modname-locname); in dcngettext() 179 loclen = modname-locname; in dcngettext() 191 (int)alt_modlen, modname, catname, domainname); in dcngettext()
|
/third_party/musl/porting/linux/user/src/locale/ |
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/python/Lib/unittest/test/testmock/ |
D | __init__.py | 13 modname = "unittest.test.testmock." + fn[:-3] 14 __import__(modname) 15 module = sys.modules[modname]
|
/third_party/ejdb/src/bindings/ejdb2_node/ |
D | node_api.h | 59 #define NAPI_MODULE_X(modname, regfunc, priv, flags) \ argument 67 #modname, \ 71 NAPI_C_CTOR(_register_ ## modname) { \ 83 #define NAPI_MODULE(modname, regfunc) \ argument 91 #define NAPI_MODULE(modname, regfunc) \ argument 92 NAPI_MODULE_X(modname, regfunc, NULL, 0) // NOLINT (readability/null_usage)
|
/third_party/python/Lib/unittest/test/ |
D | __init__.py | 13 modname = "unittest.test." + fn[:-3] 14 __import__(modname) 15 module = sys.modules[modname]
|
/third_party/python/Lib/distutils/tests/ |
D | __init__.py | 29 modname = "distutils.tests." + fn[:-3] 34 __import__(modname) 35 module = sys.modules[modname]
|