/external/skia/tools/skpbench/ |
_adb_path.py | 20 return pathname.rsplit('/', maxsplit=1)[-1]
|
/external/skqp/tools/skpbench/ |
_adb_path.py | 20 return pathname.rsplit('/', maxsplit=1)[-1]
|
/external/python/cpython3/Objects/clinic/ |
bytesobject.c.h | 6 "split($self, /, sep=None, maxsplit=-1)\n" 15 " maxsplit\n" 23 bytes_split_impl(PyBytesObject *self, PyObject *sep, Py_ssize_t maxsplit); 29 static const char * const _keywords[] = {"sep", "maxsplit", NULL}; 32 Py_ssize_t maxsplit = -1; local 35 &sep, &maxsplit)) { 38 return_value = bytes_split_impl(self, sep, maxsplit); 123 "rsplit($self, /, sep=None, maxsplit=-1)\n" 132 " maxsplit\n" 142 bytes_rsplit_impl(PyBytesObject *self, PyObject *sep, Py_ssize_t maxsplit); 151 Py_ssize_t maxsplit = -1; local [all...] |
bytearrayobject.c.h | 170 "split($self, /, sep=None, maxsplit=-1)\n" 179 " maxsplit\n" 188 Py_ssize_t maxsplit); 194 static const char * const _keywords[] = {"sep", "maxsplit", NULL}; 197 Py_ssize_t maxsplit = -1; local 200 &sep, &maxsplit)) { 203 return_value = bytearray_split_impl(self, sep, maxsplit); 242 "rsplit($self, /, sep=None, maxsplit=-1)\n" 251 " maxsplit\n" 262 Py_ssize_t maxsplit); 271 Py_ssize_t maxsplit = -1; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
stringold.py | 104 def split(s, sep=None, maxsplit=0):
105 """split(str [,sep [,maxsplit]]) -> list of strings
108 delimiter string. If maxsplit is nonzero, splits into at most
109 maxsplit words If sep is not specified, any whitespace string
110 is a separator. Maxsplit defaults to 0.
115 return s.split(sep, maxsplit)
402 def replace(s, old, new, maxsplit=0):
403 """replace (str, old, new[, maxsplit]) -> string
406 old replaced by new. If the optional argument maxsplit is
407 given, only the first maxsplit occurrences are replaced. [all...] |
UserString.py | 107 def replace(self, old, new, maxsplit=-1):
108 return self.__class__(self.data.replace(old, new, maxsplit))
118 def split(self, sep=None, maxsplit=-1):
119 return self.data.split(sep, maxsplit)
120 def rsplit(self, sep=None, maxsplit=-1):
121 return self.data.rsplit(sep, maxsplit)
|
string.py | 281 def split(s, sep=None, maxsplit=-1):
282 """split(s [,sep [,maxsplit]]) -> list of strings
285 delimiter string. If maxsplit is given, splits at no more than
286 maxsplit places (resulting in at most maxsplit+1 words). If sep
292 return s.split(sep, maxsplit)
296 def rsplit(s, sep=None, maxsplit=-1):
297 """rsplit(s [,sep [,maxsplit]]) -> list of strings
301 to the front. If maxsplit is given, at most maxsplit splits are [all...] |
/external/python/cpython2/Lib/ |
stringold.py | 104 def split(s, sep=None, maxsplit=0): 105 """split(str [,sep [,maxsplit]]) -> list of strings 108 delimiter string. If maxsplit is nonzero, splits into at most 109 maxsplit words If sep is not specified, any whitespace string 110 is a separator. Maxsplit defaults to 0. 115 return s.split(sep, maxsplit) 402 def replace(s, old, new, maxsplit=0): 403 """replace (str, old, new[, maxsplit]) -> string 406 old replaced by new. If the optional argument maxsplit is 407 given, only the first maxsplit occurrences are replaced [all...] |
UserString.py | 107 def replace(self, old, new, maxsplit=-1): 108 return self.__class__(self.data.replace(old, new, maxsplit)) 118 def split(self, sep=None, maxsplit=-1): 119 return self.data.split(sep, maxsplit) 120 def rsplit(self, sep=None, maxsplit=-1): 121 return self.data.rsplit(sep, maxsplit)
|
string.py | 283 def split(s, sep=None, maxsplit=-1): 284 """split(s [,sep [,maxsplit]]) -> list of strings 287 delimiter string. If maxsplit is given, splits at no more than 288 maxsplit places (resulting in at most maxsplit+1 words). If sep 294 return s.split(sep, maxsplit) 298 def rsplit(s, sep=None, maxsplit=-1): 299 """rsplit(s [,sep [,maxsplit]]) -> list of strings 303 to the front. If maxsplit is given, at most maxsplit splits ar [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
stringold.py | 104 def split(s, sep=None, maxsplit=0): 105 """split(str [,sep [,maxsplit]]) -> list of strings 108 delimiter string. If maxsplit is nonzero, splits into at most 109 maxsplit words If sep is not specified, any whitespace string 110 is a separator. Maxsplit defaults to 0. 115 return s.split(sep, maxsplit) 402 def replace(s, old, new, maxsplit=0): 403 """replace (str, old, new[, maxsplit]) -> string 406 old replaced by new. If the optional argument maxsplit is 407 given, only the first maxsplit occurrences are replaced [all...] |
UserString.py | 107 def replace(self, old, new, maxsplit=-1): 108 return self.__class__(self.data.replace(old, new, maxsplit)) 118 def split(self, sep=None, maxsplit=-1): 119 return self.data.split(sep, maxsplit) 120 def rsplit(self, sep=None, maxsplit=-1): 121 return self.data.rsplit(sep, maxsplit)
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
stringold.py | 104 def split(s, sep=None, maxsplit=0): 105 """split(str [,sep [,maxsplit]]) -> list of strings 108 delimiter string. If maxsplit is nonzero, splits into at most 109 maxsplit words If sep is not specified, any whitespace string 110 is a separator. Maxsplit defaults to 0. 115 return s.split(sep, maxsplit) 402 def replace(s, old, new, maxsplit=0): 403 """replace (str, old, new[, maxsplit]) -> string 406 old replaced by new. If the optional argument maxsplit is 407 given, only the first maxsplit occurrences are replaced [all...] |
UserString.py | 107 def replace(self, old, new, maxsplit=-1): 108 return self.__class__(self.data.replace(old, new, maxsplit)) 118 def split(self, sep=None, maxsplit=-1): 119 return self.data.split(sep, maxsplit) 120 def rsplit(self, sep=None, maxsplit=-1): 121 return self.data.rsplit(sep, maxsplit)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
stringold.py | 104 def split(s, sep=None, maxsplit=0): 105 """split(str [,sep [,maxsplit]]) -> list of strings 108 delimiter string. If maxsplit is nonzero, splits into at most 109 maxsplit words If sep is not specified, any whitespace string 110 is a separator. Maxsplit defaults to 0. 115 return s.split(sep, maxsplit) 402 def replace(s, old, new, maxsplit=0): 403 """replace (str, old, new[, maxsplit]) -> string 406 old replaced by new. If the optional argument maxsplit is 407 given, only the first maxsplit occurrences are replaced [all...] |
UserString.py | 107 def replace(self, old, new, maxsplit=-1): 108 return self.__class__(self.data.replace(old, new, maxsplit)) 118 def split(self, sep=None, maxsplit=-1): 119 return self.data.split(sep, maxsplit) 120 def rsplit(self, sep=None, maxsplit=-1): 121 return self.data.rsplit(sep, maxsplit)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
stringold.py | 104 def split(s, sep=None, maxsplit=0): 105 """split(str [,sep [,maxsplit]]) -> list of strings 108 delimiter string. If maxsplit is nonzero, splits into at most 109 maxsplit words If sep is not specified, any whitespace string 110 is a separator. Maxsplit defaults to 0. 115 return s.split(sep, maxsplit) 402 def replace(s, old, new, maxsplit=0): 403 """replace (str, old, new[, maxsplit]) -> string 406 old replaced by new. If the optional argument maxsplit is 407 given, only the first maxsplit occurrences are replaced [all...] |
UserString.py | 107 def replace(self, old, new, maxsplit=-1): 108 return self.__class__(self.data.replace(old, new, maxsplit)) 118 def split(self, sep=None, maxsplit=-1): 119 return self.data.split(sep, maxsplit) 120 def rsplit(self, sep=None, maxsplit=-1): 121 return self.data.rsplit(sep, maxsplit)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/stringlib/ |
split.h | 20 #define PREALLOC_SIZE(maxsplit) \
21 (maxsplit >= MAX_PREALLOC ? MAX_PREALLOC : maxsplit+1)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/ |
split.h | 20 #define PREALLOC_SIZE(maxsplit) \
21 (maxsplit >= MAX_PREALLOC ? MAX_PREALLOC : maxsplit+1)
|
/external/python/cpython2/Objects/stringlib/ |
split.h | 20 #define PREALLOC_SIZE(maxsplit) \ 21 (maxsplit >= MAX_PREALLOC ? MAX_PREALLOC : maxsplit+1)
|
/external/python/cpython3/Objects/stringlib/ |
split.h | 17 #define PREALLOC_SIZE(maxsplit) \ 18 (maxsplit >= MAX_PREALLOC ? MAX_PREALLOC : maxsplit+1)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
string.py | 283 def split(s, sep=None, maxsplit=-1):
284 """split(s [,sep [,maxsplit]]) -> list of strings
287 delimiter string. If maxsplit is given, splits at no more than
288 maxsplit places (resulting in at most maxsplit+1 words). If sep
294 return s.split(sep, maxsplit)
298 def rsplit(s, sep=None, maxsplit=-1):
299 """rsplit(s [,sep [,maxsplit]]) -> list of strings
303 to the front. If maxsplit is given, at most maxsplit splits are [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
stropmodule.c | 30 split_whitespace(char *s, Py_ssize_t len, Py_ssize_t maxsplit)
63 if (maxsplit && (countsplit >= maxsplit) && i < len) {
86 "split(s [,sep [,maxsplit]]) -> list of strings\n"
87 "splitfields(s [,sep [,maxsplit]]) -> list of strings\n"
90 "delimiter string. If maxsplit is nonzero, splits into at most\n"
91 "maxsplit words. If sep is not specified, any whitespace string\n"
92 "is a separator. Maxsplit defaults to 0.\n"
100 Py_ssize_t splitcount, maxsplit;
local 108 maxsplit = 0; [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
stropmodule.c | 30 split_whitespace(char *s, Py_ssize_t len, Py_ssize_t maxsplit)
63 if (maxsplit && (countsplit >= maxsplit) && i < len) {
86 "split(s [,sep [,maxsplit]]) -> list of strings\n"
87 "splitfields(s [,sep [,maxsplit]]) -> list of strings\n"
90 "delimiter string. If maxsplit is nonzero, splits into at most\n"
91 "maxsplit words. If sep is not specified, any whitespace string\n"
92 "is a separator. Maxsplit defaults to 0.\n"
100 Py_ssize_t splitcount, maxsplit;
local 108 maxsplit = 0; [all...] |