Searched defs:split (Results 1 - 17 of 17) sorted by last modified time

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Lib/
H A Dntpath.py16 __all__ = ["normcase","isabs","join","splitdrive","split","splitext",
111 # but b is empty; since, e.g., split('a/') produces
125 pparts = p.split(':', 2)
144 if len(p.split(':', 2)) > 1:
169 def split(p): function
203 return split(p)[1]
210 return split(p)[0]
434 comps = path.split("\\")
497 return is_unc, prefix, [x for x in rest.split(sep) if x]
H A Dpydoc.py57 from string import expandtabs, find, join, lower, split, strip, rfind, rstrip namespace
88 lines = split(strip(doc), '\n')
111 text = join(split(text, pairs[0]), pairs[1])
208 result = strip(split(line, '"""')[0])
311 for part in split(path, '.')[1:]:
390 methodname = 'repr_' + join(split(type(x).__name__), '_')
590 parts = split(name, '.')
955 methodname = 'repr_' + join(split(type(x).__name__), '_')
992 lines = split(text, '\n')
1382 lines = split(plai
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
H A Dre.py82 split Split a string by the occurrences of a pattern.
113 __all__ = [ "match", "search", "sub", "subn", "split", "findall",
168 def split(pattern, string, maxsplit=0, flags=0): function
171 return _compile(pattern, flags).split(string, maxsplit)
H A Dstring.py48 Split the argument into words using split, capitalize each
53 sep is used to split and join the words.
56 return (sep or ' ').join(x.capitalize() for x in s.split(sep))
283 def split(s, sep=None, maxsplit=-1): function
284 """split(s [,sep [,maxsplit]]) -> list of strings
291 (split and splitfields are synonymous)
294 return s.split(sep, maxsplit)
295 splitfields = split
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
H A Dunicodeobject.c2343 /* On narrow builds we split characters outside the BMP into two
5350 #include "stringlib/split.h"
5837 PyObject *split(PyUnicodeObject *self, function
6057 list = split(self, NULL, -1);
7459 result = split((PyUnicodeObject *)s, (PyUnicodeObject *)sep, maxsplit);
7467 "S.split([sep [,maxsplit]]) -> list of strings\n\
7481 if (!PyArg_ParseTuple(args, "|On:split", &substring, &maxcount))
7485 return split(self, NULL, maxcount);
7487 return split(self, (PyUnicodeObject *)substring, maxcount);
7902 {"split", (PyCFunctio
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Lib/
H A Dntpath.py30 __all__ = ["normcase","isabs","join","splitdrive","split","splitext",
192 def split(p): function
226 return split(p)[1]
233 return split(p)[0]
464 comps = path.split("\\")
527 return is_unc, prefix, [x for x in rest.split(sep) if x]
H A Dpydoc.py71 from string import expandtabs, find, join, lower, split, strip, rfind, rstrip namespace
103 lines = split(strip(doc), '\n')
126 text = join(split(text, pairs[0]), pairs[1])
253 result = strip(split(line, '"""')[0])
356 for part in split(path, '.')[1:]:
435 methodname = 'repr_' + join(split(type(x).__name__), '_')
641 parts = split(name, '.')
1018 methodname = 'repr_' + join(split(type(x).__name__), '_')
1055 lines = split(text, '\n')
1454 lines = plain(_encode(plain(text), getattr(sys.stdout, 'encoding', _encoding))).split('\
[all...]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
H A DUserString.py118 def split(self, sep=None, maxsplit=-1): member in class:UserString
119 return self.data.split(sep, maxsplit)
223 called_in_dir, called_as = os.path.split(sys.argv[0])
H A Dntpath.py16 __all__ = ["normcase","isabs","join","splitdrive","split","splitext",
111 # but b is empty; since, e.g., split('a/') produces
164 def split(p): function
198 return split(p)[1]
205 return split(p)[0]
429 comps = path.split("\\")
492 return is_unc, prefix, [x for x in rest.split(sep) if x]
H A Dposixpath.py20 __all__ = ["normcase","isabs","join","splitdrive","split","splitext",
80 def split(p): function
108 # Return the tail (basename) part of a path, same as split(path)[1].
116 # Return the head (dirname) part of a path, same as split(path)[0].
324 comps = path.split('/')
359 bits = ['/'] + filename.split('/')[1:]
361 bits = [''] + filename.split('/')
406 start_list = [x for x in abspath(start).split(sep) if x]
407 path_list = [x for x in abspath(path).split(sep) if x]
H A Dpydoc.py57 from string import expandtabs, find, join, lower, split, strip, rfind, rstrip namespace
88 lines = split(strip(doc), '\n')
111 text = join(split(text, pairs[0]), pairs[1])
208 result = strip(split(line, '"""')[0])
311 for part in split(path, '.')[1:]:
390 methodname = 'repr_' + join(split(type(x).__name__), '_')
590 parts = split(name, '.')
955 methodname = 'repr_' + join(split(type(x).__name__), '_')
992 lines = split(text, '\n')
1378 lines = split(plai
[all...]
H A Dre.py82 split Split a string by the occurrences of a pattern.
109 __all__ = [ "match", "search", "sub", "subn", "split", "findall",
164 def split(pattern, string, maxsplit=0, flags=0): function
167 return _compile(pattern, flags).split(string, maxsplit)
H A Dshlex.py7 # Posix compliance, split(), string arguments, and
19 __all__ = ["shlex", "split"]
274 def split(s, comments=False, posix=True): function
H A Dstring.py48 Split the argument into words using split, capitalize each
53 sep is used to split and join the words.
56 return (sep or ' ').join(x.capitalize() for x in s.split(sep))
281 def split(s, sep=None, maxsplit=-1): function
282 """split(s [,sep [,maxsplit]]) -> list of strings
289 (split and splitfields are synonymous)
292 return s.split(sep, maxsplit)
293 splitfields = split
H A Dstringold.py104 def split(s, sep=None, maxsplit=0): function
105 """split(str [,sep [,maxsplit]]) -> list of strings
112 (split and splitfields are synonymous)
115 return s.split(sep, maxsplit)
116 splitfields = split
372 Split the argument into words using split, capitalize each
378 return join(map(capitalize, s.split(sep)), sep or ' ')
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
H A Dunicodeobject.c2276 /* On narrow builds we split characters outside the BMP into two
5255 #include "stringlib/split.h"
5742 PyObject *split(PyUnicodeObject *self, function
5962 list = split(self, NULL, -1);
7351 result = split((PyUnicodeObject *)s, (PyUnicodeObject *)sep, maxsplit);
7359 "S.split([sep [,maxsplit]]) -> list of strings\n\
7373 if (!PyArg_ParseTuple(args, "|On:split", &substring, &maxcount))
7377 return split(self, NULL, maxcount);
7379 return split(self, (PyUnicodeObject *)substring, maxcount);
7798 {"split", (PyCFunctio
[all...]
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/
H A DLongFilePathOsPath.py41 split = os.path.split variable

Completed in 186 milliseconds