| /external/gflags/test/ |
| D | CMakeLists.txt | 56 set (SLASH "\\\\") variable 58 set (SLASH "/") variable 65 add_gflags_test(help-reporting 1 "${SLASH}gflags_reporting.cc:" "" gflags_unittest --help) 81 add_gflags_test(helpfull 1 "${SLASH}gflags_reporting.cc:" "" gflags_unittest --helpfull) 84 add_gflags_test(helpshort 1 "${SLASH}gflags_unittest.cc:" "${SLASH}gflags_reporting.cc:" gflags_un… 87 add_gflags_test(helpshort-tldflag1 1 "tldflag1" "${SLASH}google.cc:" gflags_unittest --helpshort) 88 add_gflags_test(helpshort-tldflag2 1 "tldflag2" "${SLASH}google.cc:" gflags_unittest --helpshort) 91 add_gflags_test(helpshort-main 1 "${SLASH}gflags_unittest-main.cc:" "${SLASH}gflags_reporting.cc:" … 92 add_gflags_test(helpshort_main 1 "${SLASH}gflags_unittest_main.cc:" "${SLASH}gflags_reporting.cc:" … 97 add_gflags_test(helpon=gflags 1 "${SLASH}gflags.cc:" "${SLASH}gflags_unittest.cc:" gflags_unittest… [all …]
|
| /external/okio/okio/src/commonMain/kotlin/okio/internal/ |
| D | Path.kt | 29 private val SLASH = "/".encodeUtf8() constant 56 /** This function skips the root then splits on slash. */ 122 if (bytes.indexOf(SLASH) != -1) return null in commonVolumeLetter() 132 val lastSlash = bytes.lastIndexOf(SLASH) 154 if (bytes == DOT || bytes == SLASH || bytes == BACKSLASH || lastSegmentIsDotDot()) { in commonParent() 186 if (bytes.rangeEquals(bytes.size - 3, SLASH, 0, 1)) return true // Ends with "/..". in Path() 215 val slash = slash ?: child.slash ?: Path.DIRECTORY_SEPARATOR.toSlash() in commonResolve() constant 220 buffer.write(slash) in commonResolve() 254 val slash = other.slash ?: slash ?: Path.DIRECTORY_SEPARATOR.toSlash() in commonRelativeTo() constant 257 buffer.write(slash) in commonRelativeTo() [all …]
|
| /external/cronet/url/ |
| D | url_canon_path.cc | 113 // Single dot followed by a slash. in ClassifyAfterDot() 114 *consumed_len = 1; // Consume the slash in ClassifyAfterDot() 127 // Double dot followed by a slash. in ClassifyAfterDot() 138 // Rewinds the output to the previous slash. It is assumed that the output 139 // ends with a slash and this doesn't count (we call this when we are 141 // slash). 143 // This will stop at the first slash (assumed to be at position 147 // It searches for a literal slash rather than including a backslash as well 150 // The output is guaranteed to end in a slash when this function completes. 158 return; // We're at the first slash, nothing to do. in BackUpToPreviousSlash() [all …]
|
| /external/fonttools/Tests/feaLib/data/ |
| D | spec5d1.ttx | 46 <Ligature components="slash,two" glyph="onehalf"/> 47 <Ligature components="slash,two.oldstyle" glyph="onehalf"/> 52 <Ligature components="slash,two" glyph="onehalf"/> 53 <Ligature components="slash,two.oldstyle" glyph="onehalf"/> 65 <Ligature components="slash,two" glyph="onehalf"/> 67 <Ligature components="slash,two.oldstyle" glyph="onehalf"/> 71 <Ligature components="slash,two" glyph="onehalf"/> 73 <Ligature components="slash,two.oldstyle" glyph="onehalf"/>
|
| D | spec5d1.fea | 5 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/aws-sdk-java-v2/core/auth/src/test/java/software/amazon/awssdk/auth/signer/internal/ |
| D | Aws4SignerPathNormalizationTest.java | 34 // Handling slash in data() 35 tc("Empty path -> (initial) slash added", "", "/"), in data() 36 tc("Slash -> unchanged", "/", "/"), in data() 37 tc("Single segment with initial slash -> unchanged", "/foo", "/foo"), in data() 38 tc("Single segment no slash -> slash prepended", "foo", "/foo"), in data() 40 tc("Multiple segments with trailing slash -> unchanged", "/foo/bar/", "/foo/bar/"), in data() 43 …tc("Multiple segments, urlEncoded slash -> encodes percent", "/foo%2Fbar", "/foo%252Fbar", true, t… in data() 49 …tc("Multiple segments with ending dot -> should remove dot and trailing slash", "/foo/bar/.", "/fo… in data() 54 …tc("Multiple segments, urlEncoded slash -> encodes percent", "/foo%2F.%2Fbar", "/foo%252F.%252Fbar… in data()
|
| /external/e2fsprogs/util/ |
| D | libecho.c | 42 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/iproute2/man/man8/ |
| D | tc-flower.8 | 100 provided by following the address with a slash and then the mask. It may be 132 is provided by following the value with a slash and then the mask. If the mask 146 option to tc filter, optionally followed by a slash and the prefix length. 159 is provided by following the value with a slash and then the mask. If the mask 167 address with a slash and then the mask. The mask must be as a number which 178 must be a valid IPv4 address optionally followed by a slash and the prefix 189 following the address with a slash and then the mask. It may be provided as 198 provided by following the address with a slash and then the mask. It may be 214 must be a valid IPv4 or IPv6 address optionally followed by a slash and the
|
| /external/iproute2/tc/ |
| D | f_flower.c | 88 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 …]
|
| /external/googleapis/google/chat/v1/ |
| D | annotation.proto | 74 // 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/cronet/testing/libfuzzer/proto/ |
| D | url_proto_converter.cc | 15 std::string SlashToString(int slash) { in SlashToString() argument 16 if (slash == url_proto::Url::NONE) in SlashToString() 18 if (slash == url_proto::Url::FORWARD) in SlashToString() 20 if (slash == url_proto::Url::BACKWARD) { in SlashToString() 23 assert(false && "Received unexpected value for slash"); in SlashToString() 42 for (const int slash : url.slashes()) in Convert() local 43 url_string += SlashToString(slash); in Convert()
|
| /external/ipsec-tools/src/libipsec/ |
| D | policy_parse.y | 144 %token SLASH HYPHEN 287 : protocol SLASH mode SLASH addresses SLASH level 288 | protocol SLASH mode SLASH addresses SLASH 289 | protocol SLASH mode SLASH addresses 290 | protocol SLASH mode SLASH 291 | protocol SLASH mode SLASH SLASH level 292 | protocol SLASH mode 293 | protocol SLASH {
|
| /external/aws-sdk-java-v2/core/http-auth-aws/src/test/java/software/amazon/awssdk/http/auth/aws/internal/signer/ |
| D | V4CanonicalRequestTest.java | 34 // Handling slash in data() 35 tc("Empty path -> (initial) slash added", "", "/"), in data() 36 tc("Slash -> unchanged", "/", "/"), in data() 37 tc("Single segment with initial slash -> unchanged", "/foo", "/foo"), in data() 38 tc("Single segment no slash -> slash prepended", "foo", "/foo"), in data() 40 tc("Multiple segments with trailing slash -> unchanged", "/foo/bar/", "/foo/bar/"), in data() 43 …tc("Multiple segments, urlEncoded slash -> encodes percent", "/foo%2Fbar", "/foo%252Fbar", true, t… in data() 49 …tc("Multiple segments with ending dot -> should remove dot and trailing slash", "/foo/bar/.", "/fo… in data() 54 …tc("Multiple segments, urlEncoded slash -> encodes percent", "/foo%2F.%2Fbar", "/foo%252F.%252Fbar… in data()
|
| /external/cronet/third_party/apache-portable-runtime/src/strings/ |
| D | apr_fnmatch.c | 79 const int slash = !!(flags & APR_FNM_PATHNAME); in fnmatch_ch() local 115 if (slash && (**pattern == '/')) in fnmatch_ch() 129 * or ranges containing a slash in FNM_PATHNAME mode pattern in fnmatch_ch() 132 if (!**pattern || (slash && (**pattern == '/'))) in fnmatch_ch() 166 if (!**string || (slash && (**string == '/'))) in fnmatch_ch() 182 /* Refuse to advance over trailing slash or nulls 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() [all …]
|
| /external/lzma/CPP/7zip/UI/Common/ |
| D | ArchiveName.cpp | 81 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 116 // if (name.Len() >= a.Len() - slash + 1) continue; in CreateArchiveName() 117 const wchar_t *s = a.Ptr(slash + 1); in CreateArchiveName()
|
| /external/iproute2/rdma/ |
| D | utils.c | 55 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/cronet/testing/libfuzzer/fuzzers/ |
| D | url_parse_proto_fuzzer.cc | 36 std::string Slash_to_string(int slash) { in Slash_to_string() argument 37 if (slash == url_proto::Url::NONE) in Slash_to_string() 39 if (slash == url_proto::Url::FORWARD) in Slash_to_string() 41 if (slash == url_proto::Url::BACKWARD) { in Slash_to_string() 44 assert(false && "Received unexpected value for slash"); in Slash_to_string() 65 for (const int slash : url.slashes()) in protobuf_to_string() local 66 url_string += Slash_to_string(slash); in protobuf_to_string()
|
| /external/nist-sip/java/gov/nist/javax/sip/stack/ |
| D | HopImpl.java | 101 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/rust/crates/matchit/src/ |
| D | error.rs | 80 /// // a route exists without the trailing slash 85 /// // a route exists with a trailing slash 98 /// The path was missing a trailing slash. 100 /// The path had an extra trailing slash. 119 MatchError::MissingTrailingSlash => "match error: expected trailing slash", in fmt() 120 MatchError::ExtraTrailingSlash => "match error: found extra trailing slash", in fmt()
|
| /external/jacoco/org.jacoco.core/src/org/jacoco/core/runtime/ |
| D | CommandLineSupport.java | 25 private static final char SLASH = '\\'; field in CommandLineSupport 37 if (c == QUOTE || c == SLASH) { in quote() 38 escaped.append(SLASH); in quote() 102 } else if (c == SLASH) { in split() 103 current.append(SLASH); in split() 110 if (c == QUOTE || c == SLASH) { in split()
|
| /external/google-cloud-java/java-servicedirectory/proto-google-cloud-servicedirectory-v1/src/main/java/com/google/cloud/servicedirectory/v1/ |
| D | EndpointOrBuilder.java | 115 * separated by a slash (/). The name segment is required and must be 63 120 * not longer than 253 characters in total, followed by a slash (/). 145 * separated by a slash (/). The name segment is required and must be 63 150 * not longer than 253 characters in total, followed by a slash (/). 178 * separated by a slash (/). The name segment is required and must be 63 183 * not longer than 253 characters in total, followed by a slash (/). 208 * separated by a slash (/). The name segment is required and must be 63 213 * not longer than 253 characters in total, followed by a slash (/). 242 * separated by a slash (/). The name segment is required and must be 63 247 * not longer than 253 characters in total, followed by a slash (/).
|
| /external/erofs-utils/lib/ |
| D | rebuild.c | 65 char *slash = memchr(s, '/', path + len - s); in erofs_rebuild_get_dentry() local 67 if (slash) { in erofs_rebuild_get_dentry() 68 if (s == slash) { in erofs_rebuild_get_dentry() 72 *slash = '\0'; in erofs_rebuild_get_dentry() 82 if (aufs && !slash) { in erofs_rebuild_get_dentry() 95 if (d->type != EROFS_FT_DIR && slash) in erofs_rebuild_get_dentry() 108 } else if (!slash) { in erofs_rebuild_get_dentry() 121 if (slash) { in erofs_rebuild_get_dentry() 122 *slash = '/'; in erofs_rebuild_get_dentry() 123 s = slash + 1; in erofs_rebuild_get_dentry()
|
| /external/sdk-platform-java/gapic-generator-java/src/main/java/com/google/api/generator/gapic/protoparser/ |
| D | ResourceReferenceParser.java | 38 private static final String SLASH = "/"; field in ResourceReferenceParser 56 if (resourceReference.resourceTypeString().indexOf(SLASH) < 0) { in parseResourceNames() 61 k.substring(k.lastIndexOf(SLASH) + 1) in parseResourceNames() 121 String[] tokens = parentPattern.split(SLASH); in parseParentResourceName() 136 // Assume that non-slash separators will only ever appear in the last component of a patetrn. in parseParentResourceName() 140 resourceTypeString.substring(resourceTypeString.indexOf(SLASH) + 1).toLowerCase(); in parseParentResourceName() 165 resourceTypeString.substring(0, resourceTypeString.indexOf(SLASH)), in parseParentResourceName()
|
| /external/rust/crates/mime/src/ |
| D | lib.rs | 45 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/grpc-grpc/test/core/end2end/tests/ |
| D | no_logging.cc | 80 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()
|