/aosp_15_r20/external/okio/okio/src/commonMain/kotlin/okio/internal/ |
H A 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 …]
|
/aosp_15_r20/external/gflags/test/ |
H A 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 …]
|
/aosp_15_r20/frameworks/compile/slang/ |
D | slang_rs_reflect_utils.cpp | 37 const char *slash = dot - 1; in GetFileNameStem() local 38 while (slash >= fileName) { in GetFileNameStem() 39 if (*slash == OS_PATH_SEPARATOR) { in GetFileNameStem() 42 if ((*slash == '.') && (*dot == 0)) { in GetFileNameStem() 43 dot = slash; in GetFileNameStem() 45 --slash; in GetFileNameStem() 47 ++slash; in GetFileNameStem() 48 return string(slash, dot - slash); in GetFileNameStem() 71 const char *slash = dot - 1; in InternalFileNameConvert() local 72 while (slash >= rsFileName) { in InternalFileNameConvert() [all …]
|
/aosp_15_r20/external/cronet/url/ |
H A 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 …]
|
/aosp_15_r20/external/iproute2/tc/ |
H A 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 …]
|
/aosp_15_r20/external/cronet/third_party/apache-portable-runtime/src/strings/ |
H A 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 …]
|
/aosp_15_r20/bionic/libc/upstream-openbsd/lib/libc/gen/ |
H A D | fnmatch.c | 149 const int slash = !!(flags & FNM_PATHNAME); in fnmatch_ch() local 183 if (slash && (**pattern == '/')) in fnmatch_ch() 212 * terminated or ranges containing a slash in in fnmatch_ch() 216 if (!**pattern || (slash && (**pattern == '/'))) in fnmatch_ch() 255 if (!**string || (slash && (**string == '/'))) in fnmatch_ch() 272 /* Refuse to advance over trailing slash or NULs */ in fnmatch_ch() 274 (slash && ((**string == '/') || (**pattern == '/')))) in fnmatch_ch() 288 const int slash = !!(flags & FNM_PATHNAME); in fnmatch() local 307 if (slash && escape && (*pattern == '\\') && (pattern[1] == '/')) in fnmatch() 309 if (slash && (*pattern == '/') && (*string == '/')) { in fnmatch() [all …]
|
/aosp_15_r20/external/rust/android-crates-io/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 …]
|
/aosp_15_r20/external/aws-sdk-java-v2/core/auth/src/test/java/software/amazon/awssdk/auth/signer/internal/ |
H A 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()
|
/aosp_15_r20/external/python/google-api-python-client/docs/dyn/ |
D | remotebuildexecution_v2.actionResults.html | 132 …The path separator is a forward slash `/`. Since this is a relative path, it MUST NOT begin with a… 151 …The path separator is a forward slash `/`. Since this is a relative path, it MUST NOT begin with a… 152 …", # The target path of the symlink. The path separator is a forward slash `/`. The target pa… 167 …The path separator is a forward slash `/`. Since this is a relative path, it MUST NOT begin with a… 168 …", # The target path of the symlink. The path separator is a forward slash `/`. The target pa… 189 …The path separator is a forward slash `/`. Since this is a relative path, it MUST NOT begin with a… 204 …The path separator is a forward slash `/`. Since this is a relative path, it MUST NOT begin with a… 205 …", # The target path of the symlink. The path separator is a forward slash `/`. The target pa… 253 …The path separator is a forward slash `/`. Since this is a relative path, it MUST NOT begin with a… 272 …The path separator is a forward slash `/`. Since this is a relative path, it MUST NOT begin with a… [all …]
|
/aosp_15_r20/prebuilts/go/linux-x86/src/go/printer/ |
D | comment.go | 69 slash := list[0].Slash 72 Slash: slash, 91 Slash: slash, 97 Slash: slash, 102 Slash: slash,
|
/aosp_15_r20/prebuilts/go/linux-x86/src/path/ |
D | path.go | 5 // Package path implements utility routines for manipulating slash-separated 57 // 1. Replace multiple slashes with a single slash. 64 // The returned path ends in a slash only if it is the root "/". 84 // it is the leading slash or it is a leading ../../.. prefix. 121 // add slash if needed 140 // Split splits path immediately following the final slash, 142 // If there is no slash in path, Split returns an empty dir and 177 // in the final slash-separated element of path; 220 // If the path consists entirely of slashes followed by non-slash bytes, Dir 221 // returns a single slash. In any other case, the returned path does not end in a [all …]
|
/aosp_15_r20/frameworks/native/cmds/servicemanager/ |
H A D | NameUtil.h | 32 size_t slash = name.find('/'); in fill() local 33 if (slash == std::string_view::npos) { in fill() 37 if (name.find('/', slash + 1) != std::string_view::npos) { in fill() 41 if (slash == 0 || slash + 1 == name.size()) { in fill() 45 if (name.rfind('.', slash) != std::string_view::npos) { in fill() 48 nname->package = name.substr(0, slash); in fill() 49 nname->instance = name.substr(slash + 1); in fill()
|
/aosp_15_r20/external/aws-sdk-java-v2/core/http-auth-aws/src/test/java/software/amazon/awssdk/http/auth/aws/internal/signer/ |
H A 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()
|
/aosp_15_r20/external/iproute2/man/man8/ |
H A 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
|
/aosp_15_r20/external/fonttools/Tests/feaLib/data/ |
H A 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"/>
|
/aosp_15_r20/external/curl/lib/ |
H A D | smb.c | 437 char *slash; in smb_connect() local 458 slash = strchr(conn->user, '/'); in smb_connect() 459 if(!slash) in smb_connect() 460 slash = strchr(conn->user, '\\'); in smb_connect() 462 if(slash) { in smb_connect() 463 smbc->user = slash + 1; in smb_connect() 467 smbc->domain[slash - conn->user] = 0; in smb_connect() 1161 char *slash; in smb_parse_url_path() local 1175 slash = strchr(smbc->share, '/'); in smb_parse_url_path() 1176 if(!slash) in smb_parse_url_path() [all …]
|
/aosp_15_r20/external/googleapis/google/chat/v1/ |
H A 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.
|
/aosp_15_r20/external/google-cloud-java/java-servicedirectory/proto-google-cloud-servicedirectory-v1/src/main/java/com/google/cloud/servicedirectory/v1/ |
H A 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 (/).
|
/aosp_15_r20/external/e2fsprogs/util/ |
H A 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()
|
/aosp_15_r20/external/iproute2/ip/ |
H A D | iprule.c | 456 char *slash; in iprule_list_flush_or_save() local 460 slash = strchr(*argv, '/'); in iprule_list_flush_or_save() 461 if (slash != NULL) in iprule_list_flush_or_save() 462 *slash = '\0'; in iprule_list_flush_or_save() 466 if (slash) { in iprule_list_flush_or_save() 467 if (get_u32(&fwmask, slash+1, 0)) in iprule_list_flush_or_save() 469 slash+1); in iprule_list_flush_or_save() 640 char *slash; in iprule_modify() local 645 slash = strchr(*argv, '/'); in iprule_modify() 646 if (slash != NULL) in iprule_modify() [all …]
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/std/src/sys/path/ |
H A D | unix.rs | 36 // "If a pathname begins with two successive <slash> characters, the in absolute() 37 // first component following the leading <slash> characters may be in absolute() 39 // two leading <slash> characters shall be treated as a single <slash> in absolute() 54 // least one non- <slash> character and contains one or more trailing in absolute() 55 // <slash> characters". in absolute() 56 // A trailing <slash> is also meaningful if "a symbolic link is in absolute()
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/std/src/sys/path/ |
H A D | unix.rs | 36 // "If a pathname begins with two successive <slash> characters, the in absolute() 37 // first component following the leading <slash> characters may be in absolute() 39 // two leading <slash> characters shall be treated as a single <slash> in absolute() 54 // least one non- <slash> character and contains one or more trailing in absolute() 55 // <slash> characters". in absolute() 56 // A trailing <slash> is also meaningful if "a symbolic link is in absolute()
|
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/std/src/sys/path/ |
H A D | unix.rs | 36 // "If a pathname begins with two successive <slash> characters, the in absolute() 37 // first component following the leading <slash> characters may be in absolute() 39 // two leading <slash> characters shall be treated as a single <slash> in absolute() 54 // least one non- <slash> character and contains one or more trailing in absolute() 55 // <slash> characters". in absolute() 56 // A trailing <slash> is also meaningful if "a symbolic link is in absolute()
|
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/std/src/sys/path/ |
H A D | unix.rs | 36 // "If a pathname begins with two successive <slash> characters, the in absolute() 37 // first component following the leading <slash> characters may be in absolute() 39 // two leading <slash> characters shall be treated as a single <slash> in absolute() 54 // least one non- <slash> character and contains one or more trailing in absolute() 55 // <slash> characters". in absolute() 56 // A trailing <slash> is also meaningful if "a symbolic link is in absolute()
|