/external/e2fsprogs/util/ |
libecho.c | 42 char *slash; local 49 while((slash = strrchr(f, '/')) != NULL) 50 *slash = '\\'; 54 slash = strrchr(filepath, '\\'); 56 if (slash) { 57 slash++; 58 *slash = 0;
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
ContentLanguage.java | 133 final int slash = languageTag.indexOf('-'); 134 if (slash>=0) { 135 this.locale = new Locale(languageTag.substring(0,slash), languageTag.substring(slash+1) ); 132 final int slash = languageTag.indexOf('-'); local
|
Protocol.java | 72 .append(SLASH) 74 .append(SLASH) 105 int slash = name_and_version.indexOf('/'); local 106 if (slash>0) { 107 this.protocolName = name_and_version.substring(0,slash); 108 this.protocolVersion = name_and_version.substring( slash+1 );
|
StatusLine.java | 172 boolean slash = false; 175 slash = false; 176 if (slash) { 183 slash = true;
|
RequestLine.java | 147 boolean slash = false; 151 if (slash) { 158 slash = true;
|
/external/webkit/Source/WebCore/platform/ |
LinkHash.cpp | 103 size_t slash = firstSlash; 105 size_t previousSlash = slash ? reverseFind(path.data(), path.size(), '/', slash - 1) : notFound; 108 path[slash] = 0; 109 path[slash + 1] = 0; 110 path[slash + 2] = 0; 112 for (size_t i = previousSlash; i < slash + 3; ++i) 115 slash += 3; 116 } while ((slash = findSlashDotDotSlash(path.data(), path.size(), slash)) != notFound) 126 size_t slash = firstSlash; local 140 size_t slash = firstSlash; local [all...] |
/frameworks/compile/slang/ |
slang_rs_reflect_utils.cpp | 34 const char *slash = dot - 1; local 35 while (slash >= fileName) { 36 if (*slash == OS_PATH_SEPARATOR) { 39 if ((*slash == '.') && (*dot == 0)) { 40 dot = slash; 42 --slash; 44 ++slash; 45 return string(slash, dot - slash); 68 const char *slash = dot - 1 local [all...] |
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
HopImpl.java | 101 int slash = hop.indexOf('/',colon); local 106 if (slash>0) { 107 portstr = hop.substring(colon+1,slash); 108 this.transport = hop.substring(slash+1); 119 if (slash>0) { 120 this.host = hop.substring(0,slash); 121 this.transport = hop.substring(slash+1);
|
/external/qemu/distrib/sdl-1.2.12/src/main/qtopia/ |
SDL_qtopia_main.cc | 21 int slash = appname.findRev("/"); local 22 if(slash != -1) { appname = appname.mid(slash+1); }
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
SerializationStressTest5.java | 156 String slash = System.getProperty("file.separator"); local 157 String begTarget = slash + "java" + slash; 164 fileName = fileName.replace(slash.charAt(0), '.'); 289 String slash = System.getProperty("file.separator"); local 291 if (!javaHome.endsWith(slash)) 292 javaHome += slash; 294 String[] wanted = { "java" + slash + "io", "java" + slash + "lang", 295 "java" + slash + "math", "java" + slash + "net" [all...] |
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/ |
SharedStorageAgent.java | 64 int slash = relpath.indexOf('/'); local 65 if (slash > 0) { 67 int i = Integer.parseInt(relpath.substring(0, slash)); 69 outFile = new File(mVolumes[i].getPath(), relpath.substring(slash + 1)); 75 if (DEBUG) Slog.w(TAG, "Bad volume number token: " + relpath.substring(0, slash));
|
/external/blktrace/btt/ |
trace.c | 81 char *slash = strchr(iop->pdu, '/'); local 82 if (slash) 83 *slash = '\0';
|
/external/chromium/net/tools/dump_cache/ |
url_to_filename_encoder.h | 52 // 3a) If the segment is empty, escape the second slash. i.e. if it was 138 const std::string slash("/"); 140 ReplaceAll(&filename, backslash, slash); 197 const std::string slash("/"); 199 ReplaceAll(path, slash, backslash);
|
/external/iproute2/tc/ |
f_fw.c | 45 char *slash; local 46 if ((slash = strchr(handle, '/')) != NULL) 47 *slash = '\0'; 52 if (slash) { 53 if (get_u32(&mask, slash+1, 0)) {
|
tc_util.c | 172 char * slash = strchr(str, '/'); local 174 if (slash) 175 *slash = 0; 180 if (slash) { 184 if (get_integer(&cell, slash+1, 0)) 186 *slash = '/'; 310 char * slash = strchr(str, '/'); local 312 if (slash) 313 *slash = 0; 318 if (slash) { [all...] |
/external/iptables/extensions/ |
libip6t_icmp6.c | 119 char *slash; local 124 slash = strchr(buffer, '/'); 126 if (slash) 127 *slash = '\0'; 133 if (slash) { 134 if (!xtables_strtoui(slash+1, NULL, &number, 0, UINT8_MAX)) 137 slash+1);
|
libipt_icmp.c | 143 char *slash; local 148 slash = strchr(buffer, '/'); 150 if (slash) 151 *slash = '\0'; 157 if (slash) { 158 if (!xtables_strtoui(slash+1, NULL, &number, 0, UINT8_MAX)) 161 slash+1);
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldFileTest.java | 38 private String slash = File.separator; field in class:OldFileTest 81 if (!dirName.regionMatches((dirName.length() - 1), slash, 0, 1)) 82 dirName += slash; 116 if (!userDir.regionMatches((userDir.length() - 1), slash, 0, 1)) 117 userDir += slash; 173 assertTrue("Test 1: URL does not end with slash.", 214 if (!userDir.regionMatches((userDir.length() - 1), slash, 0, 1)) 215 userDir += slash;
|
/external/ipsec-tools/src/libipsec/ |
policy_token.l | 78 slash \/ 146 {slash} { return(SLASH); }
|
/system/core/init/ |
util.c | 251 const char *slash; local 257 while ((slash = strchr(p, '/')) != NULL) { 258 width = slash - pathname; 259 p = slash + 1; 294 char *slash; local 297 slash = strrchr(newpath, '/'); 298 if (!slash) 300 width = slash - newpath;
|
/frameworks/base/core/java/android/webkit/ |
FileLoader.java | 117 int slash = mPath.indexOf('/'); local 118 int dot = mPath.indexOf('.', slash); 119 if (slash == -1 || dot == -1) { 125 String subClassName = mPath.substring(0, slash); 126 String fieldName = mPath.substring(slash + 1, dot);
|
/external/chromium/third_party/libjingle/source/talk/xmpp/ |
jid.cc | 54 // First find the slash and slice of that part 55 size_t slash = jid_string.find('/'); local 56 std::string resource_name = (slash == std::string::npos ? STR_EMPTY : 57 jid_string.substr(slash + 1)); 63 if (at < slash && at != std::string::npos) { 72 ( slash == std::string::npos 74 : slash - domain_begin);
|
/external/iproute2/ip/ |
iprule.c | 281 char *slash; local 284 if ((slash = strchr(*argv, '/')) != NULL) 285 *slash = '\0'; 289 if (slash) { 290 if (get_u32(&fwmask, slash+1, 0)) 291 invarg("fwmask value is invalid\n", slash+1);
|
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/ |
jsilver.sablecc | 138 {command, args} slash = '/'; // means divide or end command. 237 [i1]:cs_open slash [i3]:escape [i2]:cs_close 246 [i1]:cs_open slash [i3]:autoescape [i2]:cs_close 255 [i1]:cs_open slash [i3]:with [i2]:cs_close 265 [i1]:cs_open slash [i3]:loop [i2]:cs_close 276 [i1]:cs_open slash [i3]:loop [i2]:cs_close 288 commands [i1]:cs_open slash [i4]:loop [i2]:cs_close 300 [i1]:cs_open slash [i3]:each [i2]:cs_close 310 [i1]:cs_open slash [i3]:alt [i2]:cs_close 319 [i1]:cs_open slash [i3]:def [i2]:cs_clos [all...] |
/external/webkit/LayoutTests/fast/dom/HTMLAnchorElement/script-tests/ |
set-href-attribute-pathname.js | 5 debug("Set pathname that starts with slash"); 12 debug("Set pathname that does not start with slash and contains '?'"); 22 debug("Set pathname that starts with double slash and contains '#'");
|