/external/bison/lib/ |
progname.c | 46 const char *slash; local 59 slash = strrchr (argv0, '/'); 60 base = (slash != NULL ? slash + 1 : argv0);
|
/external/blktrace/btt/ |
trace.c | 81 char *slash = strchr(iop->pdu, '/'); local 82 if (slash) 83 *slash = '\0';
|
/external/qemu/distrib/sdl-1.2.15/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/chromium_org/chrome/common/favicon/ |
favicon_url_parser.cc | 55 size_t slash = path.find("/", parsed_index); local 56 if (slash == std::string::npos) 65 size_str = path.substr(parsed_index, slash - parsed_index); 69 slash - scale_delimiter - 1); 94 parsed_index = slash + 1;
|
/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)) {
|
/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 );
|
/bionic/libc/unistd/ |
fnmatch.c | 151 const int slash = !!(flags & FNM_PATHNAME); local 187 if (slash && (**pattern == '/')) 208 * or ranges containing a slash in FNM_PATHNAME mode pattern 211 if (!**pattern || (slash && (**pattern == '/'))) 245 if (!**string || (slash && (**string == '/'))) 261 /* Refuse to advance over trailing slash or nulls 263 if (!**string || !**pattern || (slash && ((**string == '/') || (**pattern == '/')))) 277 const int slash = !!(flags & FNM_PATHNAME); local 302 if (slash && escape && (*pattern == '\\') && (pattern[1] == '/')) 304 if (slash && (*pattern == '/') && (*string == '/')) [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);
|
/external/libppp/src/ |
auth.c | 167 const char *slash; local 193 if ((slash = strrchr(name, '\\')) != NULL && slash[1]) { 195 name = slash + 1; 212 const char *slash; local 262 if ((slash = strrchr(name, '\\')) != NULL && slash[1]) { 264 name = slash + 1; 295 const char *slash; local 318 if ((slash = strrchr(name, '\\')) != NULL && slash[1]) 346 const char *slash; local [all...] |
/external/linux-tools-perf/util/ |
exec_cmd.c | 27 const char *slash; local 31 slash = argv0 + strlen(argv0); 33 while (argv0 <= slash && !is_dir_sep(*slash)) 34 slash--; 36 if (slash >= argv0) { 37 argv0_path = strndup(argv0, slash - argv0); 38 return argv0_path ? slash + 1 : NULL;
|
/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/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/chromium_org/chrome/browser/ui/webui/ntp/ |
favicon_webui_handler.cc | 87 size_t slash = path.find("/", prefix.length()); local 88 path = path.substr(slash + 1);
|
/external/chromium_org/net/tools/dump_cache/ |
url_to_filename_encoder.cc | 120 // Note: instead of outputing an empty segment, we let the second slash 281 char slash = '\\'; local 283 char slash = '/'; 285 output.append(&slash, 1);
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/ |
intel_regions.c | 91 char *p = strings[i], *slash = strings[i]; local 94 slash = p; 98 DBG("%s:", slash);
|
/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/mesa3d/src/mesa/drivers/dri/intel/ |
intel_regions.c | 91 char *p = strings[i], *slash = strings[i]; local 94 slash = p; 98 DBG("%s:", slash);
|
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/ |
SharedStorageAgent.java | 73 int slash = relpath.indexOf('/'); local 74 if (slash > 0) { 76 int i = Integer.parseInt(relpath.substring(0, slash)); 78 outFile = new File(mVolumes[i].getPath(), relpath.substring(slash + 1)); 84 if (DEBUG) Slog.w(TAG, "Bad volume number token: " + relpath.substring(0, slash));
|
/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/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/chromium_org/net/http/ |
mock_http_cache.cc | 28 size_t slash = key.find('/'); local 29 DCHECK(slash != std::string::npos); 30 url = GURL(key.substr(slash + 1));
|
/external/chromium_org/third_party/freetype/src/base/ |
ftrfork.c | 784 const char* slash; local 800 slash = tmp + 1; 804 slash = original_name; 809 ft_strcat( new_name, slash );
|