Home
last modified time | relevance | path

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

1234

/third_party/nghttp2/doc/_exts/rubydomain/
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])
/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/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/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/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/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/elfutils/tests/
Dline2addr.c45 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()
Dfuncscopes.c129 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/
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()
/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/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/src/locale/
Ddcngettext.c162 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/
Ddcngettext.c207 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__.py13 modname = "unittest.test.testmock." + fn[:-3]
14 __import__(modname)
15 module = sys.modules[modname]
/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)
/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]

1234