Home
last modified time | relevance | path

Searched refs:suffix (Results 1 – 25 of 74) sorted by relevance

123

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dtempfile.py259 def mkstemp(suffix="", prefix=template, dir=None, text=False): argument
293 return _mkstemp_inner(dir, prefix, suffix, flags)
296 def mkdtemp(suffix="", prefix=template, dir=None): argument
316 file = _os.path.join(dir, prefix + name + suffix)
327 def mktemp(suffix="", prefix=template, dir=None): argument
350 file = _os.path.join(dir, prefix + name + suffix)
419 def NamedTemporaryFile(mode='w+b', bufsize=-1, suffix="", argument
447 (fd, name) = _mkstemp_inner(dir, prefix, suffix, flags)
457 def TemporaryFile(mode='w+b', bufsize=-1, suffix="", argument
478 (fd, name) = _mkstemp_inner(dir, prefix, suffix, flags)
[all …]
Dimputil.py53 def add_suffix(self, suffix, importFunc): argument
55 self.fs_imp.add_suffix(suffix, importFunc)
532 def add_suffix(self, suffix, importFunc): argument
534 self.suffixes.append((suffix, importFunc))
567 for suffix, importFunc in self.suffixes:
568 filename = pathname + suffix
Dmimetypes.py262 suffix, datatype = _winreg.QueryValueEx(key,
269 suffix = suffix.encode(default_encoding) # omit in 3.x!
272 self.add_type(ctype, suffix, strict)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Dgprof2html.py59 prefix, fname, suffix = m.group(1, 2, 3)
65 (prefix, fname, fname, fname, suffix))
68 (prefix, fname, fname, suffix))
/device/linaro/hikey/hifi/xaf/hifi-dpf/build_hikey/hifi_hikey_lsp/
Dspecs9 # The %O suffix on the start and end files indicates that the system's
10 # standard suffix for object files (e.g., ".o") should be appended.
11 # The %s suffix tells the compiler driver to search for the file in the
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/antlr/
Dbits.c534 DefErrSetWithSuffix(int nilOK, set *f, int subst, char *name, const char* suffix) in DefErrSetWithSuffix() argument
536 DefErrSetWithSuffix(nilOK, f, subst, name, suffix ) in DefErrSetWithSuffix()
541 char *suffix;
544 if ( GenCC ) return DefErrSetForCC1(nilOK, f, subst, name, suffix );
545 else return DefErrSetForC1(nilOK, f, subst, name, suffix);
552 DefErrSetForC1(int nilOK, set *f, int subst, char * name, const char * suffix) in DefErrSetForC1() argument
554 DefErrSetForC1(nilOK, f, subst, name, suffix) in DefErrSetForC1()
559 const char *suffix;
572 fprintf(DefFile, "extern SetWordType %s%s[];\n", name, suffix);
578 suffix,
[all …]
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/support/genmk/
Dgenmk_old.c649 void pfiles(files, n, suffix) in pfiles() argument
652 char *suffix;
669 if ( suffix == NULL ) printf("%s", *files);
674 if ( strcmp(suffix, "o")==0 ) printf("%s%s", *files, OBJ_FILE_SUFFIX);
675 else printf("%s.%s", *files, suffix);
683 void pclasses(classes, n, suffix) in pclasses() argument
686 char *suffix;
694 if ( suffix == NULL ) printf("%s", *classes);
697 if ( strcmp(suffix, "o")==0 ) printf("%s%s", *classes, OBJ_FILE_SUFFIX);
698 else printf("%s.%s", *classes, suffix);
Dgenmk.c73 void pfiles(char **files, int n, char *suffix);
931 void pfiles(char **files, int n, char *suffix) in pfiles() argument
933 void pfiles(files, n, suffix) in pfiles()
936 char *suffix;
954 if ( suffix == NULL ) printf("%s", *files);
959 if ( strcmp(suffix, "o")==0 ) printf("%s%s", *files, OBJ_FILE_SUFFIX);
960 else printf("%s.%s", *files, suffix);
969 pclasses(char **classes, int n, char *suffix) in pclasses() argument
971 pclasses(classes, n, suffix) in pclasses()
974 char *suffix;
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/unicode/
Dgencodec.py271 suffix = 'table'
273 suffix = 'map'
292 ''' % (encodingname, name, suffix, suffix)]
301 (suffix, suffix))
/device/google/cuttlefish/host/libs/config/
Dfetcher_config.cpp200 std::string FetcherConfig::FindCvdFileWithSuffix(const std::string& suffix) const { in FindCvdFileWithSuffix()
207 auto expected_pos = file.size() - suffix.size(); in FindCvdFileWithSuffix()
208 if (file.rfind(suffix) == expected_pos) { in FindCvdFileWithSuffix()
212 LOG(ERROR) << "Could not find file ending in " << suffix; in FindCvdFileWithSuffix()
Dfetcher_config.h82 std::string FindCvdFileWithSuffix(const std::string& suffix) const;
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_dbm.py13 for suffix in ['', '.pag', '.dir', '.db']:
14 test_support.unlink(self.filename + suffix)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/
Dextension.py188 suffix = os.path.splitext(word)[1]
191 if suffix in (".c", ".cc", ".cpp", ".cxx", ".c++", ".m", ".mm"):
231 elif suffix in (".a", ".so", ".sl", ".o", ".dylib"):
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/msi/
Dmsilib.py489 suffix = parts[-1].upper()
491 suffix = None
493 if len(prefix) <= 8 and (not suffix or len(suffix)<=3):
494 if suffix:
495 file = prefix+"."+suffix
501 if suffix:
502 suffix = suffix[:3]
505 if suffix:
506 file = "%s~%d.%s" % (prefix, pos, suffix)
/device/google/cuttlefish_vmm/
Dgen_android_bp.sh40 local suffix="-linux-gnu"
42 echo ${arch}${suffix}
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dimportdl.h24 char *suffix; member
Dimport.c160 for (scan = _PyImport_DynLoadFiletab; scan->suffix != NULL; ++scan) in _PyImport_Init()
163 for (scan = _PyImport_StandardFiletab; scan->suffix != NULL; ++scan) in _PyImport_Init()
174 filetab[countD + countS].suffix = NULL; in _PyImport_Init()
180 for (; filetab->suffix != NULL; filetab++) { in _PyImport_Init()
182 if (strcmp(filetab->suffix, ".pyc") == 0) in _PyImport_Init()
183 filetab->suffix = ".pyo"; in _PyImport_Init()
185 if (strcmp(filetab->suffix, "/pyc") == 0) in _PyImport_Init()
186 filetab->suffix = "/pyo"; in _PyImport_Init()
1528 for (fdp = _PyImport_Filetab; fdp->suffix != NULL; fdp++) { in find_module()
1540 while (scan->suffix != NULL) { in find_module()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dimportdl.h24 char *suffix; member
Dimport.c132 for (scan = _PyImport_DynLoadFiletab; scan->suffix != NULL; ++scan) in _PyImport_Init()
135 for (scan = _PyImport_StandardFiletab; scan->suffix != NULL; ++scan) in _PyImport_Init()
146 filetab[countD + countS].suffix = NULL; in _PyImport_Init()
152 for (; filetab->suffix != NULL; filetab++) { in _PyImport_Init()
154 if (strcmp(filetab->suffix, ".pyc") == 0) in _PyImport_Init()
155 filetab->suffix = ".pyo"; in _PyImport_Init()
157 if (strcmp(filetab->suffix, "/pyc") == 0) in _PyImport_Init()
158 filetab->suffix = "/pyo"; in _PyImport_Init()
1448 for (fdp = _PyImport_Filetab; fdp->suffix != NULL; fdp++) { in find_module()
1460 while (scan->suffix != NULL) { in find_module()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/logging/
Dhandlers.py189 self.suffix = "%Y-%m-%d_%H-%M-%S"
193 self.suffix = "%Y-%m-%d_%H-%M"
197 self.suffix = "%Y-%m-%d_%H"
201 self.suffix = "%Y-%m-%d"
210 self.suffix = "%Y-%m-%d"
308 suffix = fileName[plen:]
309 if self.extMatch.match(suffix):
335 dfn = self.baseFilename + "." + time.strftime(self.suffix, timeTuple)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dzipimport.c13 char suffix[14]; member
270 for (zso = zip_searchorder; *zso->suffix; zso++) { in get_module_info()
271 strcpy(path + len, zso->suffix); in get_module_info()
1125 for (zso = zip_searchorder; *zso->suffix; zso++) { in get_module_code()
1128 strcpy(path + len, zso->suffix); in get_module_code()
1188 zip_searchorder[0].suffix[0] = SEP; in initzipimport()
1189 zip_searchorder[1].suffix[0] = SEP; in initzipimport()
1190 zip_searchorder[2].suffix[0] = SEP; in initzipimport()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Dzipimport.c13 char suffix[14]; member
270 for (zso = zip_searchorder; *zso->suffix; zso++) { in get_module_info()
271 strcpy(path + len, zso->suffix); in get_module_info()
1153 for (zso = zip_searchorder; *zso->suffix; zso++) { in get_module_code()
1156 strcpy(path + len, zso->suffix); in get_module_code()
1216 zip_searchorder[0].suffix[0] = SEP; in initzipimport()
1217 zip_searchorder[1].suffix[0] = SEP; in initzipimport()
1218 zip_searchorder[2].suffix[0] = SEP; in initzipimport()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Python/
Dimport.c132 for (scan = _PyImport_DynLoadFiletab; scan->suffix != NULL; ++scan) in _PyImport_Init()
135 for (scan = _PyImport_StandardFiletab; scan->suffix != NULL; ++scan) in _PyImport_Init()
146 filetab[countD + countS].suffix = NULL; in _PyImport_Init()
152 for (; filetab->suffix != NULL; filetab++) { in _PyImport_Init()
154 if (strcmp(filetab->suffix, ".pyc") == 0) in _PyImport_Init()
155 filetab->suffix = ".pyo"; in _PyImport_Init()
157 if (strcmp(filetab->suffix, "/pyc") == 0) in _PyImport_Init()
158 filetab->suffix = "/pyo"; in _PyImport_Init()
1448 for (fdp = _PyImport_Filetab; fdp->suffix != NULL; fdp++) { in find_module()
1460 while (scan->suffix != NULL) { in find_module()
[all …]
/device/google/trout/hal/sensors/2.0/
Diio_utils.cpp61 static bool str_has_suffix(const char* s, const char* suffix) { in str_has_suffix() argument
62 if (!s || !suffix) return false; in str_has_suffix()
65 const auto len_suffix = strlen(suffix); in str_has_suffix()
67 return std::equal(s + len_s - len_suffix, s + len_s, suffix); in str_has_suffix()
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/dlg/
Doutput.c706 char * ClassName(char *suffix) in ClassName() argument
708 char * ClassName(suffix) in ClassName()
709 char *suffix; in ClassName()
715 sprintf(buf, "%s%s", class_name, suffix);

123