Home
last modified time | relevance | path

Searched refs:slashes (Results 1 – 25 of 184) sorted by relevance

12345678

/external/python/cpython2/Tools/scripts/
Dfixdiv.py219 startlineno, endlineno, slashes = lineinfo = scanline(g)
233 if not slashes and not warnings:
235 elif slashes and not warnings:
236 report(slashes, "No conclusive evidence")
237 elif warnings and not slashes:
240 if len(slashes) > 1:
244 for (row, col), line in slashes:
266 for (row, col), line in slashes:
307 def report(slashes, message): argument
309 for (row, col), line in slashes:
[all …]
/external/python/cpython3/Tools/scripts/
Dfixdiv.py220 startlineno, endlineno, slashes = lineinfo = scanline(g)
234 if not slashes and not warnings:
236 elif slashes and not warnings:
237 report(slashes, "No conclusive evidence")
238 elif warnings and not slashes:
241 if len(slashes) > 1:
245 for (row, col), line in slashes:
267 for (row, col), line in slashes:
307 def report(slashes, message): argument
309 for (row, col), line in slashes:
[all …]
/external/bc/gen/
Dstrgen.c343 unsigned int count, slashes, err = IO_ERR; in main() local
378 i = count = slashes = 0; in main()
381 while (slashes < 2 && in[i] > 0) in main()
383 if (slashes == 1 && in[i] == '*' && in[i + 1] == '/' && in main()
386 slashes += 1; in main()
389 else if (!slashes && in[i] == '/' && in[i + 1] == '*') in main()
391 slashes += 1; in main()
/external/bazel-skylib/lib/
Dpaths.bzl42 (i.e., the basename). Any slashes immediately preceding the basename are not
55 # If there are multiple consecutive slashes, strip them all out as Python's
101 """Normalizes a path, eliminating double slashes and other redundant segments.
109 - Trailing slashes are removed, unless the path consists solely of slashes.
113 - Single and double leading slashes are preserved, but three or more leading
114 slashes are collapsed into a single leading slash.
115 - Multiple adjacent internal slashes are collapsed into a single slash.
/external/starlark-go/starlark/testdata/
Dpaths.star50 (i.e., the basename). Any slashes immediately preceding the basename are not
63 # If there are multiple consecutive slashes, strip them all out as Python's
109 """Normalizes a path, eliminating double slashes and other redundant segments.
117 - Trailing slashes are removed, unless the path consists solely of slashes.
121 - Single and double leading slashes are preserved, but three or more leading
122 slashes are collapsed into a single leading slash.
123 - Multiple adjacent internal slashes are collapsed into a single slash.
/external/curl/tests/data/
Dtest114240 HTTP redirect to http://// (four slashes!)
60 # 3, CURLE_URL_MALFORMAT for the four slashes
Dtest21435 # Needed for MSYS2 to not convert all backslashes to forward slashes
Dtest207224 file:// with unix path resolution behavior for the case of extra slashes
Dtest114145 HTTP redirect to http:/// (three slashes!)
/external/cronet/testing/libfuzzer/proto/
Durl.proto37 // The syntax rules of the two slashes that precede the host in a URL are
44 // We will therefore define slashes as a list of enum values (repeated
46 // appropriate kind and appropriate number of slashes to the URL.
47 repeated Slash slashes = 2 [packed = true];
75 // slashes. It does not need to start with "/" if there is no host (in data
Durl_proto_converter.cc42 for (const int slash : url.slashes()) in Convert()
/external/dokka/buildSrc/src/main/groovy/org/jetbrains/
DCrossPlatformExec.groovy79 // first replace all of the backslashes with forward slashes
81 // then replace all forward slashes with whatever the separator actually is
/external/angle/build/toolchain/nacl/
DBUILD.gn72 # Flip the slashes so that copy/paste of the commands works.
133 # Flip the slashes so that copy/paste of the commands works.
194 # Flip the slashes so that copy/paste of the commands works.
227 # Flip the slashes so that copy/paste of the commands works.
279 # Flip the slashes so that copy/paste of the commands works.
/external/dtc/
Dsrcpos.c61 int slashes = 0; in shorten_to_initial_path() local
68 slashes++; in shorten_to_initial_path()
73 int diff = initial_pathlen - slashes, i, j; in shorten_to_initial_path()
/external/grpc-grpc/src/compiler/
Dnode_generator.cc73 size_t slashes = std::count(from_filename.begin(), from_filename.end(), '/'); in GetRootPath() local
74 if (slashes == 0) { in GetRootPath()
78 for (size_t i = 0; i < slashes; i++) { in GetRootPath()
/external/rust/crates/grpcio-sys/grpc/src/compiler/
Dnode_generator.cc73 size_t slashes = std::count(from_filename.begin(), from_filename.end(), '/'); in GetRootPath() local
74 if (slashes == 0) { in GetRootPath()
78 for (size_t i = 0; i < slashes; i++) { in GetRootPath()
/external/e2fsprogs/util/
Dsymlinks.c130 int slashes = 2; in shorten_path() local
133 ++slashes; in shorten_path()
148 while (slashes-- > 0) { in shorten_path()
/external/cronet/build/toolchain/nacl/
DBUILD.gn72 # Flip the slashes so that copy/paste of the commands works.
133 # Flip the slashes so that copy/paste of the commands works.
194 # Flip the slashes so that copy/paste of the commands works.
227 # Flip the slashes so that copy/paste of the commands works.
/external/grpc-grpc/test/distrib/cpp/
Drun_distrib_test_cmake.bat22 @rem Install into ./testinstall, but use absolute path and foward slashes
29 @rem set absolute path to OpenSSL with forward slashes
/external/mockftpserver/tags/2.x_Before_IDEA/src/main/groovy/org/mockftpserver/fake/filesystem/
DFakeWindowsFileSystem.groovy26 …* <li>Either forward slashes (/) or backward slashes (\) are valid path separators (but are norm…
/external/python/cpython2/Doc/library/
Dos.path.rst222 lowercase. On Windows, it also converts forward slashes to backward slashes.
230 that contains symbolic links. On Windows, it converts forward slashes to
231 backward slashes. To normalize case, use :func:`normcase`.
288 *path* is empty, both *head* and *tail* are empty. Trailing slashes are
289 stripped from *head* unless it is the root (one or more slashes only). In
/external/rust/crates/grpcio-sys/grpc/test/distrib/cpp/
Drun_distrib_test_cmake.bat22 @rem Install into ./testinstall, but use absolute path and foward slashes
29 @rem set absolute path to OpenSSL with forward slashes
/external/python/cpython3/Doc/library/
Dos.path.rst328 pathname to lowercase, and also convert forward slashes to backward slashes.
340 that contains symbolic links. On Windows, it converts forward slashes to
341 backward slashes. To normalize case, use :func:`normcase`.
346 if a pathname begins with exactly two slashes, the first component
453 *path* is empty, both *head* and *tail* are empty. Trailing slashes are
454 stripped from *head* unless it is the root (one or more slashes only). In
/external/cronet/testing/libfuzzer/fuzzers/
Durl_parse_proto_fuzzer.cc65 for (const int slash : url.slashes()) in protobuf_to_string()
/external/angle/build/config/
Dchrome_build.gni48 # `branding_path_product` must not contain slashes.

12345678