/third_party/nghttp2/doc/_exts/sphinxcontrib/ |
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])
|
D | test_trace.py | 24 modname = os.path.splitext(os.path.basename(__file__))[0] 25 return fix_ext_py(__file__), modname 391 modname = 'test.tracedmodules.testmod' 393 if modname in sys.modules: 394 del sys.modules[modname] 406 modname = trace._fullmodname(sys.modules[modname].__file__) 407 self.assertIn(modname, coverage) 408 self.assertEqual(coverage[modname], (5, 100))
|
/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/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/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/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/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/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()
|
D | importdl.c | 39 PyObject *modname = NULL; in get_encoded_name() local 79 modname = _PyObject_CallMethodId(encoded, &PyId_replace, "cc", '-', '_'); in get_encoded_name() 80 if (modname == NULL) in get_encoded_name() 85 return modname; in get_encoded_name()
|
/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/Lib/unittest/test/testmock/ |
D | __init__.py | 13 modname = "unittest.test.testmock." + fn[:-3] 14 __import__(modname) 15 module = sys.modules[modname]
|
/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]
|
/third_party/musl/src/locale/ |
D | dcngettext.c | 151 const char *dirname, *locname, *catname, *modname, *locp; in dcngettext() local 165 modname = memchr(locname, '@', loclen); in dcngettext() 166 if (!modname) modname = locname + loclen; in dcngettext() 167 alt_modlen = modlen = loclen - (modname-locname); in dcngettext() 168 loclen = modname-locname; in dcngettext() 180 (int)alt_modlen, modname, catname, domainname); in dcngettext()
|
/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/porting/linux/user/src/locale/ |
D | dcngettext.c | 194 const char *dirname, *locname, *catname, *modname, *locp; in dcngettext() local 208 modname = memchr(locname, '@', loclen); in dcngettext() 209 if (!modname) { in dcngettext() 210 modname = locname + loclen; in dcngettext() 212 alt_modlen = modlen = loclen - (modname-locname); in dcngettext() 213 loclen = modname-locname; in dcngettext() 227 (int)alt_modlen, modname, catname, domainname); in dcngettext()
|
/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)
|