/external/blktrace/btt/ |
trace.c | 81 char *slash = strchr(iop->pdu, '/'); local 82 if (slash) 83 *slash = '\0';
|
/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/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/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/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 );
|
/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);
|
/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/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/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/bluetooth/glib/tests/ |
uri-test.c | 273 gchar *slash, *p; local 276 while ((slash = strchr (p, '/')) != NULL) 278 *slash = '\\'; 279 p = slash + 1;
|
/external/chromium/net/tools/dump_cache/ |
url_to_filename_encoder.cc | 120 // Note: instead of outputing an empty segment, we let the second slash 283 char slash = '\\'; local 285 char slash = '/'; 287 output.append(&slash, 1);
|
/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);
|
/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);
|
/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...] |
/bootable/recovery/minelf/ |
Retouch.c | 220 char* slash = strchr(binary_name+1, '/'); local 221 if (slash != NULL) { 222 int count = slash - binary_name;
|
/development/tools/a3dconvert/ |
ObjLoader.cpp | 83 const char slash = '/'; local 86 size_t firstSeparator = mRawFaces[i].find_first_of(slash); 87 size_t nextSeparator = mRawFaces[i].find_last_of(slash); 90 // Insert 0 instead of the slash to avoid substrings
|
/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/llvm/lib/Archive/ |
ArchiveReader.cpp | 202 char* slash = (char*) memchr(Hdr->name, '/', 16); local 203 if (slash == 0) 204 slash = Hdr->name + 16; 205 pathname.assign(Hdr->name, slash - Hdr->name);
|
/external/oprofile/opcontrol/ |
opcontrol.cpp | 713 char* slash = strrchr(command, '/'); local 714 strcpy(slash ? slash + 1 : command, "oprofiled --session-dir="OP_DATA_DIR);
|
/frameworks/base/cmds/dumpstate/ |
utils.c | 268 /* skip initial slash */ 348 char *slash = strrchr(anr_traces_dir, '/'); local 349 if (slash != NULL) { 350 *slash = '\0';
|
/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;
|
/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;
|