/external/sdv/vsomeip/third_party/boost/filesystem/test/ |
D | deprecated_test.cpp | 49 PATH_CHECK(path("").normalize(), ""); in normalize_test() 50 PATH_CHECK(path("/").normalize(), "/"); in normalize_test() 51 PATH_CHECK(path("//").normalize(), "//"); in normalize_test() 52 PATH_CHECK(path("///").normalize(), "/"); in normalize_test() 53 PATH_CHECK(path("f").normalize(), "f"); in normalize_test() 54 PATH_CHECK(path("foo").normalize(), "foo"); in normalize_test() 55 PATH_CHECK(path("foo/").normalize(), "foo/."); in normalize_test() 56 PATH_CHECK(path("f/").normalize(), "f/."); in normalize_test() 57 PATH_CHECK(path("/foo").normalize(), "/foo"); in normalize_test() 58 PATH_CHECK(path("foo/bar").normalize(), "foo/bar"); in normalize_test() [all …]
|
/external/apache-commons-io/src/test/java/org/apache/commons/io/ |
D | FilenameUtilsTest.java | 751 assertNull(FilenameUtils.normalize(null)); in testNormalize() 752 assertNull(FilenameUtils.normalize(":")); in testNormalize() 753 assertNull(FilenameUtils.normalize("1:\\a\\b\\c.txt")); in testNormalize() 754 assertNull(FilenameUtils.normalize("1:")); in testNormalize() 755 assertNull(FilenameUtils.normalize("1:a")); in testNormalize() 756 assertNull(FilenameUtils.normalize("\\\\\\a\\b\\c.txt")); in testNormalize() 757 assertNull(FilenameUtils.normalize("\\\\a")); in testNormalize() 759 assertEquals("a" + SEP + "b" + SEP + "c.txt", FilenameUtils.normalize("a\\b/c.txt")); in testNormalize() 760 … assertEquals("" + SEP + "a" + SEP + "b" + SEP + "c.txt", FilenameUtils.normalize("\\a\\b/c.txt")); in testNormalize() 761 …assertEquals("C:" + SEP + "a" + SEP + "b" + SEP + "c.txt", FilenameUtils.normalize("C:\\a\\b/c.txt… in testNormalize() [all …]
|
/external/okio/okio/src/commonTest/kotlin/okio/ |
D | PathTest.kt | 329 assertEquals("/", "/".toPath(normalize = true).toString()) in stringToAbsolutePath() 330 assertEquals("/a", "/a".toPath(normalize = true).toString()) in stringToAbsolutePath() 331 assertEquals("/a", "/a/".toPath(normalize = true).toString()) in stringToAbsolutePath() 332 assertEquals("/a/b/c", "/a/b/c".toPath(normalize = true).toString()) in stringToAbsolutePath() 333 assertEquals("/a/b/c", "/a/b/c/".toPath(normalize = true).toString()) in stringToAbsolutePath() 342 assertEquals("/", "/..".toPath(normalize = true).toString()) in stringToAbsolutePathWithTraversal() 343 assertEquals("/", "/../".toPath(normalize = true).toString()) in stringToAbsolutePathWithTraversal() 344 assertEquals("/", "/../..".toPath(normalize = true).toString()) in stringToAbsolutePathWithTraversal() 345 assertEquals("/", "/../../".toPath(normalize = true).toString()) in stringToAbsolutePathWithTraversal() 355 assertEquals("/", "//".toPath(normalize = true).toString()) in stringToAbsolutePathWithEmptySegments() [all …]
|
/external/okio/okio/src/jvmMain/kotlin/okio/ |
D | Path.kt | 78 actual operator fun div(child: String): Path = commonResolve(child, normalize = false) in div() 81 actual operator fun div(child: ByteString): Path = commonResolve(child, normalize = false) in div() 84 actual operator fun div(child: Path): Path = commonResolve(child, normalize = false) in div() 86 actual fun resolve(child: String, normalize: Boolean): Path = in div() 87 commonResolve(child, normalize = normalize) in div() 89 actual fun resolve(child: ByteString, normalize: Boolean): Path = in div() 90 commonResolve(child, normalize = normalize) in div() 92 actual fun resolve(child: Path, normalize: Boolean): Path = in div() 93 commonResolve(child = child, normalize = normalize) in div() 119 actual fun String.toPath(normalize: Boolean): Path = commonToPath(normalize) in div() [all …]
|
/external/skia/resources/sksl/intrinsics/ |
D | Normalize.sksl | 6 float normalizeZero = normalize(0); 7 // Ensure that it is harmless to normalize a gigantic value. 8 float normalizeHuge = normalize(1E34); 13 return (normalize(inputVal.x) == expectedVec.x && 14 normalize(inputVal.xy) == expectedVec.xy && 15 normalize(inputVal.xyz) == expectedVec.xyz && 16 normalize(inputVal.xyzw) == expectedVec.xyzw && 17 normalize(constVec.x) == expectedVec.x && 18 normalize(constVec.yx) == expectedVec.yx && 19 normalize(constVec.zxy) == expectedVec.zxy && [all …]
|
/external/okio/okio/src/nonJvmMain/kotlin/okio/ |
D | Path.kt | 70 actual operator fun div(child: String): Path = commonResolve(child, normalize = false) in div() 72 actual operator fun div(child: ByteString): Path = commonResolve(child, normalize = false) in div() 74 actual operator fun div(child: Path): Path = commonResolve(child, normalize = false) in div() 76 actual fun resolve(child: String, normalize: Boolean): Path = in div() 77 commonResolve(child, normalize = normalize) in div() 79 actual fun resolve(child: ByteString, normalize: Boolean): Path = in div() 80 commonResolve(child, normalize = normalize) in div() 82 actual fun resolve(child: Path, normalize: Boolean): Path = in div() 83 commonResolve(child = child, normalize = normalize) in div() 100 actual fun String.toPath(normalize: Boolean): Path = commonToPath(normalize) in div()
|
/external/perfetto/ui/src/trace_processor/ |
D | sql_utils_unittest.ts | 18 function normalize(s: string): string { function 23 expect(normalize(constraintsToQueryPrefix({}))).toEqual(''); 28 normalize( 38 normalize( 51 normalize( 61 normalize( 75 expect(normalize(constraintsToQuerySuffix({limit: 3}))).toEqual('LIMIT 3'); 80 normalize( 90 normalize( 103 normalize(
|
/external/angle/third_party/glslang/src/Test/ |
D | hlsl.init2.frag | 28 normalize(float3(1, 1, 1)) * (n += step), 29 normalize(float3(-1, -1, -1)) * (n += step), 30 normalize(float3(-1, -1, 1)) * (n += step), 31 normalize(float3(-1, 1, -1)) * (n += step), 32 normalize(float3(-1, 1, 1)) * (n += step), 33 normalize(float3(1, -1, -1)) * (n += step), 34 normalize(float3(1, -1, 1)) * (n += step), 35 normalize(float3(1, 1, -1)) * (n += step) }; 37 const struct one { float3 a; } oneNonConst = { normalize(float3(-1, 1, 1)) * (n += step) }; 39 float3 b; } twoNonConst = { normalize(float3(-1, 1, 1)) * (n += step), [all …]
|
/external/deqp-deps/glslang/Test/ |
D | hlsl.init2.frag | 28 normalize(float3(1, 1, 1)) * (n += step), 29 normalize(float3(-1, -1, -1)) * (n += step), 30 normalize(float3(-1, -1, 1)) * (n += step), 31 normalize(float3(-1, 1, -1)) * (n += step), 32 normalize(float3(-1, 1, 1)) * (n += step), 33 normalize(float3(1, -1, -1)) * (n += step), 34 normalize(float3(1, -1, 1)) * (n += step), 35 normalize(float3(1, 1, -1)) * (n += step) }; 37 const struct one { float3 a; } oneNonConst = { normalize(float3(-1, 1, 1)) * (n += step) }; 39 float3 b; } twoNonConst = { normalize(float3(-1, 1, 1)) * (n += step), [all …]
|
/external/llvm/unittests/ADT/ |
D | TripleTest.cpp | 267 EXPECT_EQ("", Triple::normalize("")); in TEST() 268 EXPECT_EQ("-", Triple::normalize("-")); in TEST() 269 EXPECT_EQ("--", Triple::normalize("--")); in TEST() 270 EXPECT_EQ("---", Triple::normalize("---")); in TEST() 271 EXPECT_EQ("----", Triple::normalize("----")); in TEST() 273 EXPECT_EQ("a", Triple::normalize("a")); in TEST() 274 EXPECT_EQ("a-b", Triple::normalize("a-b")); in TEST() 275 EXPECT_EQ("a-b-c", Triple::normalize("a-b-c")); in TEST() 276 EXPECT_EQ("a-b-c-d", Triple::normalize("a-b-c-d")); in TEST() 278 EXPECT_EQ("i386-b-c", Triple::normalize("i386-b-c")); in TEST() [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/array_ops/ |
D | edit_distance_op_test.py | 39 normalize, argument 44 hypothesis=hypothesis_st, truth=truth_st, normalize=normalize) 57 normalize, argument 74 normalize=normalize, 86 normalize=normalize, 103 normalize=True, 118 normalize=False, 138 normalize=False, 144 normalize=True, 162 normalize=True, [all …]
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | TimeValue.h | 101 : seconds_( seconds ), nanos_( nanos ) { this->normalize(); } in seconds_() 112 this->normalize(); in TimeValue() 130 this->normalize(); 140 this->normalize(); 287 this->normalize(); in seconds() 298 this->normalize(); in nanoseconds() 305 this->normalize(); in microseconds() 312 this->normalize(); in milliseconds() 320 this->normalize(); in usec() 328 this->normalize(); in msec() [all …]
|
/external/llvm/include/llvm/Support/ |
D | TimeValue.h | 101 : seconds_( seconds ), nanos_( nanos ) { this->normalize(); } in seconds_() 112 this->normalize(); in TimeValue() 130 this->normalize(); 140 this->normalize(); 287 this->normalize(); in seconds() 298 this->normalize(); in nanoseconds() 305 this->normalize(); in microseconds() 312 this->normalize(); in milliseconds() 320 this->normalize(); in usec() 328 this->normalize(); in msec() [all …]
|
/external/okio/okio/src/commonMain/kotlin/okio/internal/ |
D | Path.kt | 192 internal inline fun Path.commonResolve(child: String, normalize: Boolean): Path { in commonResolve() 193 return commonResolve(Buffer().writeUtf8(child), normalize = normalize) in commonResolve() 197 internal inline fun Path.commonResolve(child: ByteString, normalize: Boolean): Path { in commonResolve() 198 return commonResolve(Buffer().write(child), normalize = normalize) in commonResolve() 202 internal inline fun Path.commonResolve(child: Buffer, normalize: Boolean): Path { in commonResolve() 203 return commonResolve(child.toPath(normalize = false), normalize = normalize) in commonResolve() 206 internal fun Path.commonResolve(child: Path, normalize: Boolean): Path { in commonResolve() 217 return buffer.toPath(normalize = normalize) in commonResolve() 262 return buffer.toPath(normalize = false) in commonRelativeTo() 267 return toString().toPath(normalize = true) in commonNormalized() [all …]
|
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/pack200/ |
D | Pack200Utils.java | 57 public static void normalize(final File jar) in normalize() method in Pack200Utils 59 normalize(jar, jar, null); in normalize() 78 public static void normalize(final File jar, final Map<String, String> props) in normalize() method in Pack200Utils 80 normalize(jar, jar, props); in normalize() 103 public static void normalize(final File from, final File to) in normalize() method in Pack200Utils 105 normalize(from, to, null); in normalize() 127 public static void normalize(final File from, final File to, Map<String, String> props) in normalize() method in Pack200Utils
|
/external/libvpx/tools/3D-Reconstruction/sketch_3D_reconstruction/ |
D | Camera.pde | 14 this.axis.normalize(); 38 dir.normalize(); 40 left.normalize(); 66 dir.normalize(); 69 left.normalize(); 71 axis.normalize(); 78 dir.normalize(); 84 dir.normalize(); 90 dir.normalize(); 92 left.normalize(); [all …]
|
/external/deqp/external/vulkancts/data/vulkan/amber/crash_test/ |
D | divbyzero_comp.amber | 35 // normalize float 36 ssbo.data[3] = int(normalize(val)); 37 // normalize vec2 38 ssbo.data[4] = int(normalize(vec2(val))[ival]); 39 // normalize vec3 40 ssbo.data[5] = int(normalize(vec3(val))[ival]); 41 // normalize vec4 42 ssbo.data[6] = int(normalize(vec4(val))[ival]);
|
D | divbyzero_frag.amber | 52 // normalize float 53 color_out = vec4(normalize(fragcoord.y - 8.0), 1.0, 0.0, 1.0); 56 // normalize vec2 57 color_out = vec4(normalize(fragcoord.yy - vec2(8.0)), 0.0, 1.0); 60 // normalize vec3 61 color_out = vec4(normalize(fragcoord.yyy - vec3(8.0)), 1.0); 64 // normalize vec4 65 color_out = normalize(fragcoord.yyyy - vec4(8.0));
|
D | divbyzero_vert.amber | 41 // normalize float 42 ssbo.data[3] = int(normalize(val)); 43 // normalize vec2 44 ssbo.data[4] = int(normalize(vec2(val))[ival]); 45 // normalize vec3 46 ssbo.data[5] = int(normalize(vec3(val))[ival]); 47 // normalize vec4 48 ssbo.data[6] = int(normalize(vec4(val))[ival]);
|
/external/icu/icu4j/main/core/src/test/java/com/ibm/icu/dev/test/normalizer/ |
D | NormalizationMonkeyTest.java | 56 String uncodeNorm = unicode_NFD.normalize(source); in TestNormalize() 57 String icuNorm = Normalizer.normalize(source, Normalizer.NFD); in TestNormalize() 64 uncodeNorm = unicode_NFC.normalize(source); in TestNormalize() 65 icuNorm = Normalizer.normalize(source, Normalizer.NFC); in TestNormalize() 72 uncodeNorm = unicode_NFKD.normalize(source); in TestNormalize() 73 icuNorm = Normalizer.normalize(source, Normalizer.NFKD); in TestNormalize() 80 uncodeNorm = unicode_NFKC.normalize(source); in TestNormalize() 81 icuNorm = Normalizer.normalize(source, Normalizer.NFKC); in TestNormalize()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/ |
D | NormalizationMonkeyTest.java | 59 String uncodeNorm = unicode_NFD.normalize(source); in TestNormalize() 60 String icuNorm = Normalizer.normalize(source, Normalizer.NFD); in TestNormalize() 67 uncodeNorm = unicode_NFC.normalize(source); in TestNormalize() 68 icuNorm = Normalizer.normalize(source, Normalizer.NFC); in TestNormalize() 75 uncodeNorm = unicode_NFKD.normalize(source); in TestNormalize() 76 icuNorm = Normalizer.normalize(source, Normalizer.NFKD); in TestNormalize() 83 uncodeNorm = unicode_NFKC.normalize(source); in TestNormalize() 84 icuNorm = Normalizer.normalize(source, Normalizer.NFKC); in TestNormalize()
|
/external/licenseclassifier/v2/ |
D | tokenizer.go | 74 func tokenizeStream(src io.Reader, normalize bool, dict *dictionary, updateDict bool) (*indexedDocu… 132 linebuf = append(linebuf, flushBuf(len(linebuf), obuf, normalize, ld)) 137 appendToDoc(&doc, dict, line, linebuf, ld, normalize, updateDict, linebuf) 141 if !normalize { 161 if normalize { 183 linebuf = append(linebuf, flushBuf(len(linebuf), obuf, normalize, ld)) 185 appendToDoc(&doc, dict, line, linebuf, ld, normalize, updateDict, linebuf) 227 linebuf = append(linebuf, flushBuf(len(linebuf), obuf, normalize, ld)) 230 appendToDoc(&doc, dict, line, linebuf, ld, normalize, updateDict, linebuf) 240 …exedDocument, dict *dictionary, line int, in []tokenID, ld *dictionary, normalize bool, updateDict… [all …]
|
/external/s2-geometry-library-java/tests/com/google/common/geometry/ |
D | S2EdgeUtilTest.java | 46 a = S2Point.normalize(a); in assertCrossing() 47 b = S2Point.normalize(b); in assertCrossing() 48 c = S2Point.normalize(c); in assertCrossing() 49 d = S2Point.normalize(d); in assertCrossing() 157 S2Point p1 = S2Point.normalize(new S2Point(x1, y1, z1)); in getEdgeBound() 158 S2Point p2 = S2Point.normalize(new S2Point(x2, y2, z2)); in getEdgeBound() 189 return S2Point.normalize(new S2Point(x, y, z)); in S2NP() 268 a0 = S2Point.normalize(a0); in assertWedge() 269 ab1 = S2Point.normalize(ab1); in assertWedge() 270 a2 = S2Point.normalize(a2); in assertWedge() [all …]
|
/external/libxml2/test/XPath/expr/ |
D | strings | 43 normalize-space(" abc def ") 44 normalize-space(" abc def") 45 normalize-space("abc def ") 46 normalize-space(" abcdef ") 47 normalize-space(" abcdef") 48 normalize-space("abcdef ")
|
/external/pytorch/aten/src/ATen/native/xnnpack/ |
D | Pooling.h | 21 : kernel(normalize(kernel_)), in Parameters() 22 padding(normalize(padding_)), in Parameters() 23 stride(normalize(stride_)), in Parameters() 24 dilation(normalize(dilation_)) { in Parameters() 28 static std::array<int64_t, 2> normalize(const IntArrayRef parameter) { in normalize() function
|