Home
last modified time | relevance | path

Searched refs:sep (Results 1 – 25 of 116) sorted by relevance

12345

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_print.py22 lambda args, sep, end, file: print(*args),
24 lambda args, sep, end, file: print(file=file, *args),
26 lambda args, sep, end, file: print(end=end, *args),
28 lambda args, sep, end, file: print(end=end, file=file, *args),
30 lambda args, sep, end, file: print(sep=sep, *args),
32 lambda args, sep, end, file: print(sep=sep, file=file, *args),
34 lambda args, sep, end, file: print(sep=sep, end=end, *args),
36 lambda args, sep, end, file: print(sep=sep, end=end, file=file, *args),
48 sep=NotDefined, end=NotDefined, file=NotDefined): argument
55 fn = dispatch[(sep is not NotDefined,
[all …]
Dtest_locale.py166 self.sep = locale.localeconv()['thousands_sep']
169 self._test_format("%f", 1024, grouping=1, out='1%s024.000000' % self.sep)
176 if self.sep:
178 out=('-4%s200' % self.sep).rjust(10))
180 out=('-4%s200' % self.sep).ljust(10))
183 self._test_format("%d", 4200, grouping=True, out='4%s200' % self.sep)
184 self._test_format("%+d", 4200, grouping=True, out='+4%s200' % self.sep)
185 self._test_format("%+d", -4200, grouping=True, out='-4%s200' % self.sep)
189 out=('4%s200' % self.sep).rjust(10))
191 out=('-4%s200' % self.sep).ljust(10))
[all …]
Dtest_zipimport.py40 return path.replace(os.sep, '.')
188 packdir = TESTPACK + os.sep
194 packdir = TESTPACK + os.sep
195 packdir2 = packdir + TESTPACK2 + os.sep
202 packdir = TESTPACK + os.sep
203 packdir2 = packdir + TESTPACK2 + os.sep
239 zi2 = zipimport.zipimporter(TEMP_ZIP + os.sep + TESTPACK)
241 self.assertEqual(zi2.prefix, TESTPACK + os.sep)
247 packdir = TESTPACK + os.sep
248 packdir2 = packdir + TESTPACK2 + os.sep
[all …]
Dtest_generators.py1123 sep = "+" + "-+" * n
1124 print sep
1129 print sep
1320 sep = "+" + ("-" * w + "+") * n
1321 print sep
1325 print sep
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/classes/
DRev.py77 sep = ', '
80 sep = ', '
83 sep = ''
86 sep = ', '
88 return wrap[:1] + sep.join(outstrs) + wrap[-1:]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dstringold.py104 def split(s, sep=None, maxsplit=0): argument
115 return s.split(sep, maxsplit)
119 def join(words, sep = ' '): argument
129 return sep.join(words)
369 def capwords(s, sep=None): argument
378 return join(map(capitalize, s.split(sep)), sep or ' ')
Dmultifile.py95 for i, sep in enumerate(reversed(self.stack)):
96 if marker == self.section_divider(sep):
99 elif marker == self.end_marker(sep):
133 def push(self, sep): argument
136 self.stack.append(sep)
Dstring.py45 def capwords(s, sep=None): argument
56 return (sep or ' ').join(x.capitalize() for x in s.split(sep))
281 def split(s, sep=None, maxsplit=-1): argument
292 return s.split(sep, maxsplit)
296 def rsplit(s, sep=None, maxsplit=-1): argument
305 return s.rsplit(sep, maxsplit)
308 def join(words, sep = ' '): argument
318 return sep.join(words)
Dimputil.py454 sep = '/'
457 sep = '\\'
460 sep = '\\'
463 sep = '\\'
469 def join(a, b, sep=sep): argument
473 if lastchar == '/' or lastchar == sep:
475 return a + sep + b
DUserString.py105 def partition(self, sep): argument
106 return self.data.partition(sep)
115 def rpartition(self, sep): argument
116 return self.data.rpartition(sep)
118 def split(self, sep=None, maxsplit=-1): argument
119 return self.data.split(sep, maxsplit)
120 def rsplit(self, sep=None, maxsplit=-1): argument
121 return self.data.rsplit(sep, maxsplit)
/device/google/cuttlefish_common/guest/hals/camera/
DEmulatedQemuCamera.cpp89 char* sep = strchr(first_dim, 'x'); in Initialize() local
90 if (sep == NULL) { in Initialize()
95 *sep = '\0'; in Initialize()
97 const int y = atoi(sep + 1); in Initialize()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/bgen/bgen/
DbgenGenerator.py190 sep = ",\n" + ' '*len("if (!PyArg_ParseTuple(")
191 fmt, lst = self.getargsFormatArgs(sep)
202 def getargsFormatArgs(self, sep): argument
213 lst = lst + sep + args
228 sep = ",\n" + ' '*len(s)
233 if args: s = sep + s
251 sep = ",\n" + ' '*len("return Py_BuildValue(")
252 fmt, lst = self.mkvalueFormatArgs(sep)
265 def mkvalueFormatArgs(self, sep): argument
274 lst = lst + sep + arg.mkvalueArgs()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/
Dfix_print.py54 sep = end = file = None
66 if sep is not None or end is not None or file is not None:
67 if sep is not None:
68 self.add_kwarg(l_args, u"sep", String(repr(sep)))
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/stringlib/
Dpartition.h14 const STRINGLIB_CHAR* sep, Py_ssize_t sep_len) in stringlib_partition() argument
28 pos = fastsearch(str, str_len, sep, sep_len, -1, FAST_SEARCH); in stringlib_partition()
64 const STRINGLIB_CHAR* sep, Py_ssize_t sep_len) in stringlib_rpartition() argument
78 pos = fastsearch(str, str_len, sep, sep_len, -1, FAST_RSEARCH); in stringlib_rpartition()
Dsplit.h150 const STRINGLIB_CHAR* sep, Py_ssize_t sep_len, in stringlib_split() argument
161 return stringlib_split_char(str_obj, str, str_len, sep[0], maxcount); in stringlib_split()
169 pos = fastsearch(str+i, str_len-i, sep, sep_len, -1, FAST_SEARCH); in stringlib_split()
292 const STRINGLIB_CHAR* sep, Py_ssize_t sep_len, in stringlib_rsplit() argument
303 return stringlib_rsplit_char(str_obj, str, str_len, sep[0], maxcount); in stringlib_rsplit()
311 pos = fastsearch(str, j, sep, sep_len, -1, FAST_RSEARCH); in stringlib_rsplit()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/
Dpartition.h14 const STRINGLIB_CHAR* sep, Py_ssize_t sep_len) in stringlib_partition() argument
28 pos = fastsearch(str, str_len, sep, sep_len, -1, FAST_SEARCH); in stringlib_partition()
64 const STRINGLIB_CHAR* sep, Py_ssize_t sep_len) in stringlib_rpartition() argument
78 pos = fastsearch(str, str_len, sep, sep_len, -1, FAST_RSEARCH); in stringlib_rpartition()
Dsplit.h150 const STRINGLIB_CHAR* sep, Py_ssize_t sep_len, in stringlib_split() argument
161 return stringlib_split_char(str_obj, str, str_len, sep[0], maxcount); in stringlib_split()
169 pos = fastsearch(str+i, str_len-i, sep, sep_len, -1, FAST_SEARCH); in stringlib_split()
292 const STRINGLIB_CHAR* sep, Py_ssize_t sep_len, in stringlib_rsplit() argument
303 return stringlib_rsplit_char(str_obj, str, str_len, sep[0], maxcount); in stringlib_rsplit()
311 pos = fastsearch(str, j, sep, sep_len, -1, FAST_RSEARCH); in stringlib_rsplit()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dstring.py45 def capwords(s, sep=None): argument
56 return (sep or ' ').join(x.capitalize() for x in s.split(sep))
283 def split(s, sep=None, maxsplit=-1): argument
294 return s.split(sep, maxsplit)
298 def rsplit(s, sep=None, maxsplit=-1): argument
307 return s.rsplit(sep, maxsplit)
310 def join(words, sep = ' '): argument
320 return sep.join(words)
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Core/
DFileHook.py39 gEXCEPTION_LIST = ['Conf'+os.sep+'DistributionPackageDatabase.db', '.tmp', gBACKUPFILE]
118 if os.sep != "/" and os.sep in arcname:
119 arcname = arcname.replace(os.sep, '/')
154 … works = self.workspace if str(self.workspace).endswith(os.sep) else (self.workspace + os.sep)
159 if full == path or path.startswith(full + os.sep) or os.path.split(full)[0] == path:
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Lib/
Dntpath.py41 sep = '\\' variable
102 return result_drive + sep + result_path
132 normp = p.replace(altsep, sep)
133 if (normp[0:2] == sep*2) and (normp[2:3] != sep):
138 index = normp.find(sep, 2)
141 index2 = normp.find(sep, index + 1)
218 return genericpath._splitext(p, sep, altsep, extsep)
527 return is_unc, prefix, [x for x in rest.split(sep) if x]
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dllex.c270 static void read_long_string (LexState *ls, SemInfo *seminfo, int sep) { in read_long_string() argument
281 if (skip_sep(ls) == sep) { in read_long_string()
300 seminfo->ts = luaX_newstring(ls, luaZ_buffer(ls->buff) + (2 + sep), in read_long_string()
301 luaZ_bufflen(ls->buff) - 2*(2 + sep)); in read_long_string()
419 int sep = skip_sep(ls); in llex() local
421 if (sep >= 0) { in llex()
422 read_long_string(ls, NULL, sep); /* skip long comment */ in llex()
433 int sep = skip_sep(ls); in llex() local
434 if (sep >= 0) { in llex()
435 read_long_string(ls, seminfo, sep); in llex()
[all …]
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
Dfgetstr.c98 __fgetstr(FILE *fp, size_t *lenp, int sep) in __fgetstr() argument
118 if ((p = memchr((void *)fp->_p, sep, (size_t)fp->_r)) != NULL) { in __fgetstr()
160 if ((p = memchr((void *)fp->_p, sep, (size_t)fp->_r)) == NULL) in __fgetstr()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Dgetbuildinfo.c49 const char *sep = *revision ? ":" : ""; in Py_GetBuildInfo() local
54 "%s%s%s, %.20s, %.9s", hgid, sep, revision, in Py_GetBuildInfo()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dgetbuildinfo.c49 const char *sep = *revision ? ":" : ""; in Py_GetBuildInfo() local
54 "%s%s%s, %.20s, %.9s", hgid, sep, revision, in Py_GetBuildInfo()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
DLongFilePathOsPath.py45 sep = os.path.sep variable

12345