Home
last modified time | relevance | path

Searched refs:modname (Results 1 – 25 of 68) sorted by relevance

123

/third_party/nghttp2/doc/_exts/sphinxcontrib/
Drubydomain.py111 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/
Dtest___all__.py17 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 …]
Dtest_file_eintr.py43 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
Dmp_preload.py12 modname = "test.mp_preload" variable
14 __import__(modname)
15 ctx.set_forkserver_preload([modname])
Dtest_trace.py24 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/
Dimport_helper.py35 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/
Ddelete_module02.c39 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/
Dpkgutil.py158 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 …]
Dpydoc.py199 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/
DSDL_waylanddyn.c93 #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/
DSDL_mirdyn.c85 #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/
DSDL_x11dyn.c119 #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/
Dmakeopcodetargets.py15 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()
Dimportdl.c39 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.py72 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/
Dnode_binding.h27 #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)
Dnode_api.h59 #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__.py93 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__.py13 modname = "unittest.test.testmock." + fn[:-3]
14 __import__(modname)
15 module = sys.modules[modname]
/third_party/python/Lib/unittest/test/
D__init__.py13 modname = "unittest.test." + fn[:-3]
14 __import__(modname)
15 module = sys.modules[modname]
/third_party/python/Lib/distutils/tests/
D__init__.py29 modname = "distutils.tests." + fn[:-3]
34 __import__(modname)
35 module = sys.modules[modname]
/third_party/musl/src/locale/
Ddcngettext.c151 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.c136 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/
Ddcngettext.c194 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/
Dnode_api.h59 #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)

123