Home
last modified time | relevance | path

Searched refs:fullname (Results 1 - 25 of 180) sorted by relevance

12345678

/third_party/python/Lib/
H A Dzipimport.py105 # 'fullname', or whether it could be a portion of a namespace
109 def find_loader(self, fullname, path=None):
110 """find_loader(fullname, path=None) -> self, str or None.
112 Search for a module specified by 'fullname'. 'fullname' must be the
124 mi = _get_module_info(self, fullname)
132 # We're only interested in the last path component of fullname
134 modpath = _get_module_path(self, fullname)
145 # 'fullname'. Return self if we can, None if we can't.
146 def find_module(self, fullname, pat
[all...]
H A Dpkgutil.py213 def find_module(self, fullname, path=None):
215 subname = fullname.split(".")[-1]
216 if subname != fullname and self.path is None:
226 return ImpLoader(fullname, file, filename, etc)
274 def __init__(self, fullname, file, filename, etc):
281 self.fullname = fullname
284 def load_module(self, fullname):
287 mod = imp.load_module(fullname, self.file, self.filename, self.etc)
307 def _fix_name(self, fullname)
[all...]
H A Dcompileall.py40 fullname = os.path.join(dir, name)
41 if not os.path.isdir(fullname):
42 yield fullname
44 os.path.isdir(fullname) and not os.path.islink(fullname)):
45 yield from _walk_dir(fullname, maxlevels=maxlevels - 1,
125 def compile_file(fullname, ddir=None, force=False, rx=None, quiet=0,
131 Arguments (only fullname is required):
133 fullname: the file to byte-compile
157 fullname
[all...]
H A Dlinecache.py17 # or a tuple (size, mtime, lines, fullname) once loaded.
68 size, mtime, lines, fullname = entry
72 stat = os.stat(fullname)
91 fullname = filename
93 stat = os.stat(fullname)
113 fullname
124 fullname = os.path.join(dirname, basename)
129 stat = os.stat(fullname)
136 with tokenize.open(fullname) as fp:
143 cache[filename] = size, mtime, lines, fullname
[all...]
/third_party/python/Lib/importlib/
H A D_bootstrap_external.py622 def _find_module_shim(self, fullname):
635 loader, portions = self.find_loader(fullname)
857 '\\Modules\\{fullname}')
860 '\\Modules\\{fullname}\\Debug')
871 def _search_registry(cls, fullname):
876 key = registry_key.format(fullname=fullname,
886 def find_spec(cls, fullname, path=None, target=None):
887 filepath = cls._search_registry(fullname)
896 spec = _bootstrap.spec_from_loader(fullname,
[all...]
H A Dabc.py62 def find_module(self, fullname, path=None):
64 The fullname is a str and the optional path is a str or None.
82 def find_module(self, fullname, path):
85 If no module is found, return None. The fullname is a str and
100 found = self.find_spec(fullname, path)
119 def find_loader(self, fullname):
122 The fullname is a str. The namespace portion is a sequence of
141 found = self.find_spec(fullname)
186 def is_package(self, fullname):
188 module is a package. The fullname i
[all...]
H A D_bootstrap.py254 def _requires_builtin_wrapper(self, fullname):
255 if fullname not in sys.builtin_module_names:
256 raise ImportError('{!r} is not a built-in module'.format(fullname),
257 name=fullname)
258 return fxn(self, fullname)
265 def _requires_frozen_wrapper(self, fullname):
266 if not _imp.is_frozen(fullname):
267 raise ImportError('{!r} is not a frozen module'.format(fullname),
268 name=fullname)
269 return fxn(self, fullname)
[all...]
H A Dutil.py90 fullname = resolve_name(name, package) if name.startswith('.') else name
91 if fullname not in sys.modules:
92 parent_name = fullname.rpartition('.')[0]
100 f"while trying to find {fullname!r}", name=fullname) from e
103 return _find_spec(fullname, parent_path)
105 module = sys.modules[fullname]
204 def module_for_loader_wrapper(self, fullname, *args, **kwargs):
205 with _module_to_load(fullname) as module:
208 is_package = self.is_package(fullname)
[all...]
/third_party/ntfs-3g/ntfsprogs/
H A Dntfsusermap.c541 char *fullname; in account() local
543 fullname = (char *)malloc(strlen(dir) + strlen(name) + 2); in account()
544 if (fullname) { in account()
545 strcpy(fullname, dir); in account()
546 strcat(fullname, "/"); in account()
547 strcat(fullname, name); in account()
549 fullname, OWNER_SECURITY_INFORMATION, in account()
554 fullname, GROUP_SECURITY_INFORMATION, in account()
561 fullname, DACL_SECURITY_INFORMATION, in account()
569 free(fullname); in account()
587 char *fullname; callback() local
783 char *fullname; outputmap() local
[all...]
/third_party/mesa3d/src/freedreno/rnn/
H A Dpath.c44 char *fullname; in find_in_path() local
46 int ret = asprintf(&fullname, "%.*s/%s%s", (int)plen, path, name, exts[i]); in find_in_path()
50 FILE *file = fopen(fullname, "r"); in find_in_path()
53 *pfullname = fullname; in find_in_path()
55 free(fullname); in find_in_path()
58 free(fullname); in find_in_path()
H A Drnn.h98 char *fullname; member
108 char *fullname; member
161 char *fullname; member
169 char *fullname; member
183 char *fullname; member
224 char *fullname; member
/third_party/nghttp2/doc/_exts/rubydomain/
H A Drubydomain.py52 def ruby_rsplit(fullname):
53 items = [item for item in rb_separator.findall(fullname)]
118 fullname = name
122 fullname = name_prefix + name
127 fullname = classname + separator + name_prefix + name
132 fullname = name_prefix + name
135 fullname = name
139 signode['fullname'] = fullname
167 return fullname, name_prefi
[all...]
/third_party/python/Lib/test/
H A Dtest_pkg.py15 fullname = os.path.join(root, name)
16 if os.path.isdir(fullname) and not os.path.islink(fullname):
17 cleanout(fullname)
19 os.remove(fullname)
80 fullname = root
82 fullname = os.path.join(fullname, c)
84 os.mkdir(fullname)
86 with open(fullname, "
[all...]
/third_party/python/Lib/test/test_importlib/import_/
H A Dtest_api.py15 def find_spec(cls, fullname, path=None, target=None):
16 if fullname == SUBMOD_NAME:
17 spec = machinery.ModuleSpec(fullname, cls)
32 def find_module(cls, fullname, path):
33 if fullname == SUBMOD_NAME:
37 def load_module(cls, fullname):
38 if fullname == SUBMOD_NAME:
H A Dtest___loader__.py12 def find_spec(self, fullname, path=None, target=None):
13 return machinery.ModuleSpec(fullname, self)
38 def find_module(self, fullname, path=None):
41 def load_module(self, fullname):
42 sys.modules[fullname] = self.module
/third_party/libfuse/test/
H A Dtest_examples.py519 fullname = mnt_dir + "/" + name
520 srcname = fullname
526 os.unlink(fullname)
528 os.stat(fullname)
534 fullname = mnt_dir + "/" + dirname
535 os.mkdir(fullname)
536 fstat = os.stat(fullname)
538 assert os.listdir(fullname) == []
545 fullname = mnt_dir + "/" + name
546 srcname = fullname
[all...]
/third_party/python/Tools/scripts/
H A Dpathfix.py108 fullname = os.path.join(dirname, name)
109 if os.path.islink(fullname): pass
110 elif os.path.isdir(fullname):
111 subdirs.append(fullname)
113 if fix(fullname): bad = 1
114 for fullname in subdirs:
115 if recursedown(fullname): bad = 1
H A Dfixcid.py107 fullname = os.path.join(dirname, name)
108 if os.path.islink(fullname): pass
109 elif os.path.isdir(fullname):
110 subdirs.append(fullname)
112 if fix(fullname): bad = 1
113 for fullname in subdirs:
114 if recursedown(fullname): bad = 1
/third_party/protobuf/php/ext/google/protobuf/
H A Dnames.c183 static void fill_classname(const char *fullname, in fill_classname() argument
192 size_t fullname_len = strlen(fullname); in fill_classname()
197 while (j < fullname_len && fullname[j] != '.') { in fill_classname()
200 fill_prefix(fullname + i, j - i, prefix, package, classname); in fill_classname()
201 fill_segment(fullname + i, j - i, classname, false); in fill_classname()
209 char *GetPhpClassname(const upb_filedef *file, const char *fullname) { in GetPhpClassname() argument
221 fill_classname(fullname, package, prefix, &namesink); in GetPhpClassname()
/third_party/elfutils/src/
H A Dsize.c98 static void handle_elf (Elf *elf, const char *fullname, const char *fname);
388 const char *fullname) in show_sysv()
406 INTERNAL_ERROR (fullname); in show_sysv()
430 INTERNAL_ERROR (fullname); in show_sysv()
515 const char *fullname) in show_bsd()
531 INTERNAL_ERROR (fullname); in show_bsd()
588 show_segments (Elf *elf, const char *fullname) in show_segments() argument
592 INTERNAL_ERROR (fullname); in show_segments()
603 INTERNAL_ERROR (fullname); in show_segments()
638 char fullname[prefix_le in handle_elf() local
387 show_sysv(Elf *elf, const char *prefix, const char *fname, const char *fullname) show_sysv() argument
514 show_bsd(Elf *elf, const char *prefix, const char *fname, const char *fullname) show_bsd() argument
[all...]
H A Dnm.c725 show_symbols_sysv (Ebl *ebl, GElf_Word strndx, const char *fullname, in show_symbols_sysv() argument
731 INTERNAL_ERROR (fullname); in show_symbols_sysv()
767 printf (_("\n\nSymbols from %s:\n\n"), fullname); in show_symbols_sysv()
771 print_file_name ? (int) strlen (fullname) + 1: 0, "", in show_symbols_sysv()
828 fputs_unlocked (fullname, stdout); in show_symbols_sysv()
929 const char *prefix, const char *fname, const char *fullname, in show_symbols_bsd()
975 fputs_unlocked (fullname, stdout); in show_symbols_bsd()
1061 const char *prefix, const char *fullname, GElf_SymX *syms, in show_symbols_posix()
1065 printf ("%s:\n", fullname); in show_symbols_posix()
1107 fputs_unlocked (fullname, stdou in show_symbols_posix()
928 show_symbols_bsd(Elf *elf, const GElf_Ehdr *ehdr, GElf_Word strndx, const char *prefix, const char *fname, const char *fullname, GElf_SymX *syms, size_t nsyms) show_symbols_bsd() argument
1060 show_symbols_posix(Elf *elf, const GElf_Ehdr *ehdr, GElf_Word strndx, const char *prefix, const char *fullname, GElf_SymX *syms, size_t nsyms) show_symbols_posix() argument
1226 show_symbols(int fd, Ebl *ebl, GElf_Ehdr *ehdr, Elf_Scn *scn, Elf_Scn *xndxscn, GElf_Shdr *shdr, const char *prefix, const char *fname, const char *fullname) show_symbols() argument
1534 char fullname[prefix_len + 1 + fname_len + suffix_len]; handle_elf() local
[all...]
/third_party/python/Lib/test/support/
H A Dos_helper.py370 fullname = os.path.join(path, name)
372 mode = os.lstat(fullname).st_mode
375 % (fullname, exc),
379 _waitfor(_rmtree_inner, fullname, waitall=True)
380 _force_run(fullname, os.rmdir, fullname)
382 _force_run(fullname, os.unlink, fullname)
414 fullname = os.path.join(path, name)
416 mode = os.lstat(fullname)
[all...]
/third_party/python/Lib/test/test_importlib/
H A Dutil.py251 def find_module(self, fullname, path=None):
252 if fullname not in self.modules:
257 def load_module(self, fullname):
258 if fullname not in self.modules:
261 sys.modules[fullname] = self.modules[fullname]
262 if fullname in self.module_code:
264 self.module_code[fullname]()
266 del sys.modules[fullname]
268 return self.modules[fullname]
[all...]
/third_party/skia/tools/gpu/gl/
H A DGLTestContext.h64 SkString fullname(name);
65 fullname.append(ext);
66 *out = reinterpret_cast<Proc>(this->onPlatformGetProcAddress(fullname.c_str()));
/third_party/protobuf/php/src/Google/Protobuf/Internal/
H A DEnumDescriptor.php96 $fullname = ""; variable
104 $fullname);
105 $desc->setFullName($fullname);

Completed in 21 milliseconds

12345678