Home
last modified time | relevance | path

Searched refs:slash (Results 1 – 25 of 455) sorted by relevance

12345678910>>...19

/external/okio/okio/src/commonMain/kotlin/okio/internal/
DPath.kt209 val slash = slash ?: child.slash ?: Path.DIRECTORY_SEPARATOR.toSlash() in commonResolve() constant
214 buffer.write(slash) in commonResolve()
253 val slash = other.slash ?: slash ?: Path.DIRECTORY_SEPARATOR.toSlash() in commonRelativeTo() constant
256 buffer.write(slash) in commonRelativeTo()
260 buffer.write(slash) in commonRelativeTo()
270 private val Path.slash: ByteString? constant
305 var slash: ByteString? = null in toPath() variable
313 slash = slash ?: byte.toSlash() in toPath()
316 val windowsUncPath = leadingSlashCount >= 2 && slash == BACKSLASH in toPath()
319 result.write(slash!!) in toPath()
[all …]
/external/cronet/stable/third_party/apache-portable-runtime/src/strings/
Dapr_fnmatch.c79 const int slash = !!(flags & APR_FNM_PATHNAME); in fnmatch_ch() local
115 if (slash && (**pattern == '/')) in fnmatch_ch()
132 if (!**pattern || (slash && (**pattern == '/'))) in fnmatch_ch()
166 if (!**string || (slash && (**string == '/'))) in fnmatch_ch()
184 if (!**string || !**pattern || (slash && ((**string == '/') || (**pattern == '/')))) in fnmatch_ch()
198 const int slash = !!(flags & APR_FNM_PATHNAME); in apr_fnmatch() local
218 if (slash && escape && (*pattern == '\\') && (pattern[1] == '/')) in apr_fnmatch()
220 if (slash && (*pattern == '/') && (*string == '/')) { in apr_fnmatch()
243 if (slash) { in apr_fnmatch()
260 if (slash && ((*pattern == '/') in apr_fnmatch()
[all …]
/external/cronet/tot/third_party/apache-portable-runtime/src/strings/
Dapr_fnmatch.c79 const int slash = !!(flags & APR_FNM_PATHNAME); in fnmatch_ch() local
115 if (slash && (**pattern == '/')) in fnmatch_ch()
132 if (!**pattern || (slash && (**pattern == '/'))) in fnmatch_ch()
166 if (!**string || (slash && (**string == '/'))) in fnmatch_ch()
184 if (!**string || !**pattern || (slash && ((**string == '/') || (**pattern == '/')))) in fnmatch_ch()
198 const int slash = !!(flags & APR_FNM_PATHNAME); in apr_fnmatch() local
218 if (slash && escape && (*pattern == '\\') && (pattern[1] == '/')) in apr_fnmatch()
220 if (slash && (*pattern == '/') && (*string == '/')) { in apr_fnmatch()
243 if (slash) { in apr_fnmatch()
260 if (slash && ((*pattern == '/') in apr_fnmatch()
[all …]
/external/e2fsprogs/util/
Dlibecho.c42 char *slash; in echo_files() local
49 while((slash = strrchr(f, '/')) != NULL) in echo_files()
50 *slash = '\\'; in echo_files()
54 slash = strrchr(filepath, '\\'); in echo_files()
56 if (slash) { in echo_files()
57 slash++; in echo_files()
58 *slash = 0; in echo_files()
/external/nist-sip/java/gov/nist/javax/sip/stack/
DHopImpl.java101 int slash = hop.indexOf('/',colon); in HopImpl() local
106 if (slash>0) { in HopImpl()
107 portstr = hop.substring(colon+1,slash); in HopImpl()
108 this.transport = hop.substring(slash+1); in HopImpl()
119 if (slash>0) { in HopImpl()
120 this.host = hop.substring(0,slash); in HopImpl()
121 this.transport = hop.substring(slash+1); in HopImpl()
/external/cronet/tot/testing/libfuzzer/proto/
Durl_proto_converter.cc17 std::string SlashToString(int slash) { in SlashToString() argument
18 if (slash == url_proto::Url::NONE) in SlashToString()
20 if (slash == url_proto::Url::FORWARD) in SlashToString()
22 if (slash == url_proto::Url::BACKWARD) { in SlashToString()
44 for (const int slash : url.slashes()) in Convert() local
45 url_string += SlashToString(slash); in Convert()
/external/cronet/stable/testing/libfuzzer/proto/
Durl_proto_converter.cc17 std::string SlashToString(int slash) { in SlashToString() argument
18 if (slash == url_proto::Url::NONE) in SlashToString()
20 if (slash == url_proto::Url::FORWARD) in SlashToString()
22 if (slash == url_proto::Url::BACKWARD) { in SlashToString()
44 for (const int slash : url.slashes()) in Convert() local
45 url_string += SlashToString(slash); in Convert()
/external/cronet/tot/testing/libfuzzer/fuzzers/
Durl_parse_proto_fuzzer.cc40 std::string Slash_to_string(int slash) { in Slash_to_string() argument
41 if (slash == url_proto::Url::NONE) in Slash_to_string()
43 if (slash == url_proto::Url::FORWARD) in Slash_to_string()
45 if (slash == url_proto::Url::BACKWARD) { in Slash_to_string()
69 for (const int slash : url.slashes()) in protobuf_to_string() local
70 url_string += Slash_to_string(slash); in protobuf_to_string()
/external/cronet/stable/testing/libfuzzer/fuzzers/
Durl_parse_proto_fuzzer.cc40 std::string Slash_to_string(int slash) { in Slash_to_string() argument
41 if (slash == url_proto::Url::NONE) in Slash_to_string()
43 if (slash == url_proto::Url::FORWARD) in Slash_to_string()
45 if (slash == url_proto::Url::BACKWARD) { in Slash_to_string()
69 for (const int slash : url.slashes()) in protobuf_to_string() local
70 url_string += Slash_to_string(slash); in protobuf_to_string()
/external/iproute2/tc/
Df_flower.c88 char addr[ETH_ALEN], *slash; in flower_parse_eth_addr() local
90 slash = strchr(str, '/'); in flower_parse_eth_addr()
91 if (slash) in flower_parse_eth_addr()
92 *slash = '\0'; in flower_parse_eth_addr()
99 if (slash) { in flower_parse_eth_addr()
102 if (!get_unsigned(&bits, slash + 1, 10)) { in flower_parse_eth_addr()
111 ret = ll_addr_a2n(addr, sizeof(addr), slash + 1); in flower_parse_eth_addr()
122 if (slash) in flower_parse_eth_addr()
123 *slash = '/'; in flower_parse_eth_addr()
321 char *slash; in flower_parse_u8() local
[all …]
Df_fw.c51 char *slash; in fw_parse_opt() local
53 if ((slash = strchr(handle, '/')) != NULL) in fw_parse_opt()
54 *slash = '\0'; in fw_parse_opt()
59 if (slash) { in fw_parse_opt()
60 if (get_u32(&mask, slash+1, 0)) { in fw_parse_opt()
/external/google-breakpad/src/processor/
Dpathname_stripper.cc45 string::size_type slash = path.rfind('/'); in File() local
49 if (slash != string::npos && in File()
50 (backslash == string::npos || slash > backslash)) { in File()
51 file_start = slash + 1; in File()
/external/python/cpython3/Mac/Tools/
Dpythonw.c173 char* slash = strrchr(path, '/'); in main() local
174 if (slash) { in main()
176 replaced = slash[1]; in main()
177 slash[1] = 0; in main()
181 slash[1] = replaced; in main()
182 if (strlcat(real_path, slash, sizeof(real_path)) > sizeof(real_path)) { in main()
/external/lzma/CPP/7zip/UI/Common/
DArchiveName.cpp81 const int slash = dirPrefix.ReverseFind_PathSepar(); in CreateArchiveName() local
82 if (slash >= 0 && slash != (int)dirPrefix.Len() - 1) in CreateArchiveName()
83 name = dirPrefix.Ptr(slash + 1); in CreateArchiveName()
115 const int slash = a.ReverseFind_PathSepar(); in CreateArchiveName() local
117 const wchar_t *s = a.Ptr(slash + 1); in CreateArchiveName()
/external/iproute2/rdma/
Dutils.c55 char *slash; in get_port_from_argv() local
57 slash = strchr(rd_argv(rd), '/'); in get_port_from_argv()
59 return slash ? atoi(slash + 1) : 0; in get_port_from_argv()
254 char *slash; in dev_map_lookup() local
258 slash = strrchr(dev_name, '/'); in dev_map_lookup()
259 if (slash) in dev_map_lookup()
260 *slash = '\0'; in dev_map_lookup()
/external/nist-sip/java/gov/nist/javax/sip/header/
DContentLanguage.java132 final int slash = languageTag.indexOf('-'); in setLanguageTag() local
133 if (slash>=0) { in setLanguageTag()
134 … this.locale = new Locale(languageTag.substring(0,slash), languageTag.substring(slash+1) ); in setLanguageTag()
DProtocol.java105 int slash = name_and_version.indexOf('/'); in setProtocol() local
106 if (slash>0) { in setProtocol()
107 this.protocolName = name_and_version.substring(0,slash); in setProtocol()
108 this.protocolVersion = name_and_version.substring( slash+1 ); in setProtocol()
DStatusLine.java172 boolean slash = false; in getVersionMajor()
175 slash = false; in getVersionMajor()
176 if (slash) { in getVersionMajor()
183 slash = true; in getVersionMajor()
/external/grpc-grpc/test/core/end2end/tests/
Dno_logging.cc80 auto slash = filename.rfind('/'); in NoLog() local
81 if (slash != absl::string_view::npos) { in NoLog()
82 filename = filename.substr(slash + 1); in NoLog()
84 slash = filename.rfind('\\'); in NoLog()
85 if (slash != absl::string_view::npos) { in NoLog()
86 filename = filename.substr(slash + 1); in NoLog()
/external/rust/android-crates-io/crates/mime/src/
Dlib.rs45 slash: usize, field
141 source: &self.source.as_ref()[..self.slash], in type_()
161 source: &self.source.as_ref()[self.slash + 1..end], in subtype()
684 ($id:ident, $src:expr, $slash:expr) => (
685 mime_constant!($id, $src, $slash, None);
687 ($id:ident, $src:expr, $slash:expr, $plus:expr) => (
688 mime_constant!(FULL $id, $src, $slash, $plus, ParamSource::None);
691 ($id:ident, $src:expr, $slash:expr, $plus:expr, $params:expr) => (
692 mime_constant!(FULL $id, $src, $slash, $plus, ParamSource::Utf8($params));
696 (FULL $id:ident, $src:expr, $slash:expr, $plus:expr, $params:expr) => (
[all …]
/external/libusb/libusb/os/
Dlinux_netlink.c192 const char *tmp, *slash; in linux_netlink_parse() local
251 slash = strrchr(tmp, '/'); in linux_netlink_parse()
252 if (!slash) in linux_netlink_parse()
255 *busnum = (uint8_t)(strtoul(slash - 3, NULL, 10) & 0xff); in linux_netlink_parse()
261 *devaddr = (uint8_t)(strtoul(slash + 1, NULL, 10) & 0xff); in linux_netlink_parse()
274 slash = strrchr(tmp, '/'); in linux_netlink_parse()
275 if (slash) in linux_netlink_parse()
276 *sys_name = slash + 1; in linux_netlink_parse()
/external/fonttools/Tests/feaLib/data/
Dspec5d1.fea5 sub [one one.oldstyle] [slash fraction] [two two.oldstyle] by onehalf;
25 sub one slash two by onehalf;
26 sub one.oldstyle slash two by onehalf;
29 sub one slash two.oldstyle by onehalf;
30 sub one.oldstyle slash two.oldstyle by onehalf;
/external/curl/lib/
Dnoproxy.c220 char *slash; in Curl_check_noproxy() local
231 slash = strchr(check, '/'); in Curl_check_noproxy()
233 if(slash) { in Curl_check_noproxy()
236 bits = (unsigned int)atoi(slash + 1); in Curl_check_noproxy()
237 *slash = 0; /* null terminate there */ in Curl_check_noproxy()
/external/googleapis/google/chat/v1/
Dannotation.proto74 // The metadata for a slash command.
102 // Annotation metadata for slash commands (/).
111 // Invoke slash command in space.
118 // The type of slash command.
121 // The name of the invoked slash command.
124 // The command ID of the invoked slash command.
127 // Indicates whether the slash command is for a dialog.
174 // A slash command is invoked.
/external/json-schema-validator/src/main/java/com/networknt/schema/
DAbsoluteIri.java129 int slash = iri.lastIndexOf('/'); in parent() local
130 if (slash != -1 && slash > scheme) { in parent()
131 return iri.substring(0, slash); in parent()

12345678910>>...19