/external/regex-re2/re2/testing/ |
regexp_generator.cc | 244 vector<string> Split(const StringPiece& sep, const StringPiece& s) { 247 if (sep.size() == 0) 251 for (const char *q = s.begin(); q + sep.size() <= s.end(); q++) { 252 if (StringPiece(q, sep.size()) == sep) { 254 p = q + sep.size();
|
/external/tcpdump/ |
print-sctp.c | 76 const char *sep; local 124 sep = "\n\t"; 126 sep = " ("; 145 printf("%s%d) [Bad chunk length %u]", sep, chunkCount+1, chunkLength); 158 printf("%s%d) ", sep, chunkCount+1); 352 sep = ", (";
|
/ndk/sources/host-tools/make-3.81/ |
vmsjobs.c | 474 char *sep; local 509 p = sep = q = cmd; 527 p = sep = q; 534 sep = q; 538 sep = q; 542 sep = q - 1; 547 if (sep - p > 78) 550 fwrite (p, 1, sep - p, outfile); 551 p = sep; 552 if (*sep) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_zipimport.py | 40 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...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_zipimport.py | 40 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...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/tests/ |
test_filelist.py | 30 """Converts '/' in a string to os.sep""" 31 return s.replace('/', os.sep) 46 sep = os.sep 47 if os.sep == '\\': 48 sep = re.escape(os.sep) 52 ('foo*', r'foo[^%(sep)s]*\Z(?ms)'), 53 ('foo?', r'foo[^%(sep)s]\Z(?ms)'), 54 ('foo??', r'foo[^%(sep)s][^%(sep)s]\Z(?ms)') [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/tests/ |
test_filelist.py | 30 """Converts '/' in a string to os.sep""" 31 return s.replace('/', os.sep) 46 sep = os.sep 47 if os.sep == '\\': 48 sep = re.escape(os.sep) 52 ('foo*', r'foo[^%(sep)s]*\Z(?ms)'), 53 ('foo?', r'foo[^%(sep)s]\Z(?ms)'), 54 ('foo??', r'foo[^%(sep)s][^%(sep)s]\Z(?ms)') [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
string.py | 45 def capwords(s, sep=None): 46 """capwords(s [,sep]) -> string 50 join. If the optional second argument sep is absent or None, 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): 282 """split(s [,sep [,maxsplit]]) -> list of strings 284 Return a list of the words in the string s, using sep as the 286 maxsplit places (resulting in at most maxsplit+1 words). If sep [all...] |
posixpath.py | 33 "curdir","pardir","sep","pathsep","defpath","altsep","extsep", 40 sep = '/' variable 105 return genericpath._splitext(p, sep, altsep, extsep) 375 path = sep 378 name, _, rest = rest.partition(sep) 422 start_list = [x for x in abspath(start).split(sep) if x] 423 path_list = [x for x in abspath(path).split(sep) if x]
|
UserString.py | 105 def partition(self, sep): 106 return self.data.partition(sep) 115 def rpartition(self, sep): 116 return self.data.rpartition(sep) 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/ |
string.py | 45 def capwords(s, sep=None): 46 """capwords(s [,sep]) -> string 50 join. If the optional second argument sep is absent or None, 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): 282 """split(s [,sep [,maxsplit]]) -> list of strings 284 Return a list of the words in the string s, using sep as the 286 maxsplit places (resulting in at most maxsplit+1 words). If sep [all...] |
posixpath.py | 33 "curdir","pardir","sep","pathsep","defpath","altsep","extsep", 40 sep = '/' variable 105 return genericpath._splitext(p, sep, altsep, extsep) 375 path = sep 378 name, _, rest = rest.partition(sep) 422 start_list = [x for x in abspath(start).split(sep) if x] 423 path_list = [x for x in abspath(path).split(sep) if x]
|
/frameworks/base/core/java/android/content/ |
ComponentName.java | 208 int sep = str.indexOf('/'); local 209 if (sep < 0 || (sep+1) >= str.length()) { 212 String pkg = str.substring(0, sep); 213 String cls = str.substring(sep+1);
|
/hardware/ti/omap4xxx/camera/ |
CameraHalUtilClasses.cpp | 211 const char sep = ','; local 249 if ( sep != *pEnd ) 260 if ( sep != *pEnd ) 271 if ( sep != *pEnd ) 282 if ( sep != *pEnd )
|
/external/bison/src/ |
print_graph.c | 118 char const *sep = ""; local 122 obstack_sgrow (oout, sep); 124 sep = ", ";
|
/external/iptables/extensions/ |
libxt_CT.c | 87 const char *sep = ""; local 93 printf("%s%s", sep, tbl[i].name); 94 sep = ",";
|
/ndk/sources/host-tools/make-3.81/w32/ |
pathstuff.c | 134 char sep; /* what flavor of separator used in old path */ local 187 sep = *etok; 212 *etok = sep;
|
/external/chromium/sdch/open-vcdiff/src/ |
gflags_reporting.cc | 234 const char* sep = strrchr(filename, PATH_SEPARATOR); local 235 return sep ? sep + 1 : filename; 239 string::size_type sep = filename.rfind(PATH_SEPARATOR); local 240 return filename.substr(0, (sep == string::npos) ? 0 : sep);
|
/external/e2fsprogs/intl/ |
l10nflist.c | 111 except the last into the character SEP. */ 113 argz_stringify__ (char *argz, size_t len, int sep) 121 *argz++ = sep; 125 # define __argz_stringify(argz, len, sep) argz_stringify__ (argz, len, sep) 128 # define __argz_stringify(argz, len, sep) \ 129 INTUSE(__argz_stringify) (argz, len, sep)
|
/external/javassist/src/main/javassist/ |
ClassPoolTail.java | 43 char sep = File.separatorChar; local 44 String filename = directory + sep 45 + classname.replace('.', sep) + ".class"; 54 char sep = File.separatorChar; local 55 String filename = directory + sep 56 + classname.replace('.', sep) + ".class";
|
/external/open-vcdiff/gflags/src/ |
gflags_reporting.cc | 234 const char* sep = strrchr(filename, PATH_SEPARATOR); local 235 return sep ? sep + 1 : filename; 239 string::size_type sep = filename.rfind(PATH_SEPARATOR); local 240 return filename.substr(0, (sep == string::npos) ? 0 : sep);
|
/external/chromium_org/third_party/WebKit/Source/bindings/scripts/ |
idl_compiler.py | 88 return relative_dir_local.replace(os.path.sep, posixpath.sep)
|
/external/chromium_org/third_party/leveldatabase/src/doc/bench/ |
db_bench_tree_db.cc | 196 const char* sep = strchr(line, ':'); 197 if (sep == NULL) { 200 Slice key = TrimSpace(Slice(line, sep - 1 - line)); 201 Slice val = TrimSpace(Slice(sep + 1)); 325 const char* sep = strchr(benchmarks, ','); local 327 if (sep == NULL) { 331 name = Slice(benchmarks, sep - benchmarks); 332 benchmarks = sep + 1;
|
/external/stlport/src/ |
num_get.cpp | 88 bool _STLP_CALL __get_fdigit_or_sep(wchar_t& c, wchar_t sep, 90 if (c == sep) {
|
/ndk/sources/cxx-stl/stlport/src/ |
num_get.cpp | 88 bool _STLP_CALL __get_fdigit_or_sep(wchar_t& c, wchar_t sep, 90 if (c == sep) {
|