Home
last modified time | relevance | path

Searched refs:modname (Results 1 – 25 of 69) 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__.py16 def check_all(self, modname): argument
24 exec("import %s" % modname, names)
29 raise FailedImport(modname)
30 if not hasattr(sys.modules[modname], "__all__"):
31 raise NoAll(modname)
33 with self.subTest(module=modname):
39 exec("from %s import *" % modname, names)
43 modname, e.__class__.__name__, e))
51 all_list = sys.modules[modname].__all__
53 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/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/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/python/Lib/
Dpkgutil.py159 modname = inspect.getmodulename(fn)
160 if modname=='__init__' or modname in yielded:
166 if not modname and os.path.isdir(path) and '.' not in fn:
167 modname = fn
181 if modname and '.' not in modname:
182 yielded[modname] = 1
183 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/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()
DSDL_x11dyn.h103 #define SDL_X11_MODULE(modname) extern int SDL_X11_HAVE_##modname; argument
/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
76 modname = _PyObject_CallMethodId(encoded, &PyId_replace, "cc", '-', '_'); in get_encoded_name()
77 if (modname == NULL) in get_encoded_name()
82 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/uboot/u-boot-2020.01/scripts/
DMakefile.build158 modname = $(basetarget)
160 $(multi-objs-m) : modname = $(modname-multi)
161 $(multi-objs-m:.o=.i) : modname = $(modname-multi)
162 $(multi-objs-m:.o=.s) : modname = $(modname-multi)
163 $(multi-objs-m:.o=.lst) : modname = $(modname-multi)
164 $(multi-objs-y) : modname = $(modname-multi)
165 $(multi-objs-y:.o=.i) : modname = $(modname-multi)
166 $(multi-objs-y:.o=.s) : modname = $(modname-multi)
167 $(multi-objs-y:.o=.lst) : modname = $(modname-multi)
/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__.py92 for modname in modnames:
93 if not modname or '.' in modname:
98 mod = __import__('encodings.' + modname, fromlist=_import_tail,
149 _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/distutils/tests/
D__init__.py28 modname = "distutils.tests." + fn[:-3]
33 __import__(modname)
34 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/Modules/
D_lsprof.c119 PyObject *modname = NULL; in normalizeUserObj() local
122 modname = mod; in normalizeUserObj()
123 Py_INCREF(modname); in normalizeUserObj()
126 modname = PyModule_GetNameObject(mod); in normalizeUserObj()
127 if (modname == NULL) in normalizeUserObj()
131 if (modname != NULL) { in normalizeUserObj()
132 if (!_PyUnicode_EqualToASCIIString(modname, "builtins")) { in normalizeUserObj()
134 result = PyUnicode_FromFormat("<%U.%s>", modname, in normalizeUserObj()
136 Py_DECREF(modname); in normalizeUserObj()
139 Py_DECREF(modname); in normalizeUserObj()
[all …]
/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/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/idlelib/
Dstackviewer.py69 modname = frame.f_globals["__name__"]
71 modname = "?"
78 item = "%s, line %d: %s" % (modname, lineno, sourceline)
80 item = "%s.%s(...), line %d: %s" % (modname, funcname,

123