Home
last modified time | relevance | path

Searched refs:normalize (Results 1 – 25 of 1152) sorted by relevance

12345678910>>...47

/third_party/boost/libs/filesystem/test/
Ddeprecated_test.cpp49 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 …]
/third_party/node/test/parallel/
Dtest-path-normalize.js6 assert.strictEqual(path.win32.normalize('./fixtures///b/../b/c.js'),
8 assert.strictEqual(path.win32.normalize('/foo/../../../bar'), '\\bar');
9 assert.strictEqual(path.win32.normalize('a//b//../b'), 'a\\b');
10 assert.strictEqual(path.win32.normalize('a//b//./c'), 'a\\b\\c');
11 assert.strictEqual(path.win32.normalize('a//b//.'), 'a\\b');
12 assert.strictEqual(path.win32.normalize('//server/share/dir/file.ext'),
14 assert.strictEqual(path.win32.normalize('/a/b/c/../../../x/y/z'), '\\x\\y\\z');
15 assert.strictEqual(path.win32.normalize('C:'), 'C:.');
16 assert.strictEqual(path.win32.normalize('C:..\\abc'), 'C:..\\abc');
17 assert.strictEqual(path.win32.normalize('C:..\\..\\abc\\..\\def'),
[all …]
Dtest-process-chdir.js33 assert.strictEqual(process.cwd().normalize(), dir.normalize());
36 assert.strictEqual(process.cwd().normalize(),
37 path.resolve(tmpdir.path).normalize());
/third_party/node/deps/npm/node_modules/npm-normalize-package-bin/test/
Dobject.js1 const normalize = require('../') constant
16 t.strictSame(normalize(pkg), expect)
17 t.strictSame(normalize(normalize(pkg)), expect, 'double sanitize ok')
36 t.strictSame(normalize(pkg), expect)
37 t.strictSame(normalize(normalize(pkg)), expect, 'double sanitize ok')
57 t.strictSame(normalize(pkg), expect)
58 t.strictSame(normalize(normalize(pkg)), expect, 'double sanitize ok')
78 t.strictSame(normalize(pkg), expect)
79 t.strictSame(normalize(normalize(pkg)), expect, 'double sanitize ok')
85 t.strictSame(normalize(pkg), expect)
[all …]
Dnobin.js1 const normalize = require('../') constant
9 t.strictSame(normalize(pkg), expect)
10 t.strictSame(normalize(normalize(pkg)), expect, 'double sanitize ok')
15 t.strictSame(normalize(pkg), expect)
16 t.strictSame(normalize(normalize(pkg)), expect, 'double sanitize ok')
21 t.strictSame(normalize(pkg), expect)
22 t.strictSame(normalize(normalize(pkg)), expect, 'double sanitize ok')
27 t.strictSame(normalize(pkg), expect)
28 t.strictSame(normalize(normalize(pkg)), expect, 'double sanitize ok')
33 t.strictSame(normalize(pkg), expect)
[all …]
Dstring.js1 const normalize = require('../') constant
7 t.strictSame(normalize(pkg), expect)
8 t.strictSame(normalize(normalize(pkg)), expect, 'double sanitize ok')
14 t.strictSame(normalize(pkg), expect)
15 t.strictSame(normalize(normalize(pkg)), expect, 'double sanitize ok')
21 t.strictSame(normalize(pkg), expect)
22 t.strictSame(normalize(normalize(pkg)), expect, 'double sanitize ok')
28 t.strictSame(normalize(pkg), expect)
29 t.strictSame(normalize(normalize(pkg)), expect, 'double sanitize ok')
35 t.strictSame(normalize(pkg), expect)
[all …]
Darray.js1 const normalize = require('../') constant
11 t.strictSame(normalize(pkg), expect)
12 t.strictSame(normalize(normalize(pkg)), expect, 'double sanitize ok')
21 t.strictSame(normalize(pkg), expect)
22 t.strictSame(normalize(normalize(pkg)), expect, 'double sanitize ok')
28 t.strictSame(normalize(pkg), expect)
29 t.strictSame(normalize(normalize(pkg)), expect, 'double sanitize ok')
35 t.strictSame(normalize(pkg), expect)
36 t.strictSame(normalize(normalize(pkg)), expect, 'double sanitize ok')
/third_party/glslang/Test/
Dhlsl.init2.frag27 normalize(float3(1, 1, 1)) * (n += step),
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) };
36 const struct one { float3 a; } oneNonConst = { normalize(float3(-1, 1, 1)) * (n += step) };
38 float3 b; } twoNonConst = { normalize(float3(-1, 1, 1)) * (n += step),
[all …]
/third_party/skia/resources/sksl/intrinsics/
DNormalize.sksl8 return (normalize(inputVal.x) == expectedVec.x &&
9 normalize(inputVal.xy) == expectedVec.xy &&
10 normalize(inputVal.xyz) == expectedVec.xyz &&
11 normalize(inputVal.xyzw) == expectedVec.xyzw &&
12 normalize(constVec.x) == expectedVec.x &&
13 normalize(constVec.yx) == expectedVec.yx &&
14 normalize(constVec.zxy) == expectedVec.zxy &&
15 normalize(constVec.xyzw) == expectedVec.xyzw) ? colorGreen : colorRed;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DTimeValue.h101 : 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 …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/normalizer/
DNormalizationMonkeyTest.java59 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()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
DNormalizationMonkeyTest.java56 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()
/third_party/vk-gl-cts/external/vulkancts/data/vulkan/amber/crash_test/
Ddivbyzero_frag.amber52 // 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));
Ddivbyzero_comp.amber35 // normalize float
36 ssbo_array[3].data = int(normalize(val));
37 // normalize vec2
38 ssbo_array[4].data = int(normalize(vec2(val))[ival]);
39 // normalize vec3
40 ssbo_array[5].data = int(normalize(vec3(val))[ival]);
41 // normalize vec4
42 ssbo_array[6].data = int(normalize(vec4(val))[ival]);
/third_party/vk-gl-cts/framework/delibs/decpp/
DdeFilePath.cpp94 FilePath& FilePath::normalize (void) in normalize() function in de::FilePath
134 FilePath FilePath::normalize (const FilePath& path) in normalize() function in de::FilePath
136 return FilePath(path).normalize(); in normalize()
173 FilePath normPath = FilePath::normalize(*this); in exists()
181 FilePath normPath = FilePath::normalize(*this); in getType()
226 DE_TEST_ASSERT(string(".") == FilePath(".//.").normalize().getPath()); in FilePath_selfTest()
227 DE_TEST_ASSERT(string(".") == FilePath(".").normalize().getPath()); in FilePath_selfTest()
228 …("..") + FilePath::separator + "test") == FilePath("foo/../bar/../../test").normalize().getPath()); in FilePath_selfTest()
229 …ePath::separator + "foo.txt") == FilePath("/foo\\bar/..\\dir\\..\\foo.txt").normalize().getPath()); in FilePath_selfTest()
230 …ath::separator + "foo.txt") == FilePath("c:/foo\\bar/..\\dir\\..\\foo.txt").normalize().getPath()); in FilePath_selfTest()
[all …]
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/text/kernels/
Dnormalize_utf8_op.cc32 const icu::Normalizer2 *normalize = nullptr; in Compute() local
39 normalize = icu::Normalizer2::getNFCInstance(error); in Compute()
44 normalize = icu::Normalizer2::getNFKCInstance(error); in Compute()
49 normalize = icu::Normalizer2::getNFDInstance(error); in Compute()
54 normalize = icu::Normalizer2::getNFKDInstance(error); in Compute()
67normalize->normalizeUTF8(0, icu::StringPiece((*iter).data(), (*iter).size()), sink, nullptr, error… in Compute()
/third_party/libsnd/src/
Dflac.c98 static void f2flac8_array (const float *src, int32_t *dest, int count, int normalize) ;
99 static void f2flac16_array (const float *src, int32_t *dest, int count, int normalize) ;
100 static void f2flac24_array (const float *src, int32_t *dest, int count, int normalize) ;
101 static void f2flac8_clip_array (const float *src, int32_t *dest, int count, int normalize) ;
102 static void f2flac16_clip_array (const float *src, int32_t *dest, int count, int normalize) ;
103 static void f2flac24_clip_array (const float *src, int32_t *dest, int count, int normalize) ;
104 static void d2flac8_array (const double *src, int32_t *dest, int count, int normalize) ;
105 static void d2flac16_array (const double *src, int32_t *dest, int count, int normalize) ;
106 static void d2flac24_array (const double *src, int32_t *dest, int count, int normalize) ;
107 static void d2flac8_clip_array (const double *src, int32_t *dest, int count, int normalize) ;
[all …]
Dpcm.c1763 f2sc_array (const float *src, signed char *dest, int count, int normalize) in f2sc_array() argument
1766 normfact = normalize ? (1.0 * 0x7F) : 1.0 ; in f2sc_array()
1774 f2sc_clip_array (const float *src, signed char *dest, int count, int normalize) in f2sc_clip_array() argument
1777 normfact = normalize ? (8.0 * 0x10000000) : (1.0 * 0x1000000) ; in f2sc_clip_array()
1822 f2uc_array (const float *src, unsigned char *dest, int count, int normalize) in f2uc_array() argument
1825 normfact = normalize ? (1.0 * 0x7F) : 1.0 ; in f2uc_array()
1833 f2uc_clip_array (const float *src, unsigned char *dest, int count, int normalize) in f2uc_clip_array() argument
1836 normfact = normalize ? (8.0 * 0x10000000) : (1.0 * 0x1000000) ; in f2uc_clip_array()
1881 f2bes_array (const float *src, short *dest, int count, int normalize) in f2bes_array() argument
1886 normfact = normalize ? (1.0 * 0x7FFF) : 1.0 ; in f2bes_array()
[all …]
/third_party/libxml2/test/schematron/
Dzvon6.sct4 <report test="normalize-space(.) = 'aaa' or normalize-space(.) = 'bbb'">O.K.</report>
5 …<assert test="normalize-space(.) = 'aaa' or normalize-space(.) = 'bbb'">The AAA value is not permi…
/third_party/skia/tests/sksl/intrinsics/
DNormalize.glsl8 …(((((normalize(inputVal.x) == expectedVec.x && normalize(inputVal.xy) == expectedVec.xy) && normal…
/third_party/node/deps/npm/node_modules/npm-normalize-package-bin/
DREADME.md1 # npm-normalize-package-bin
8 const normalize = require('npm-normalize-package-bin')
10 console.log(normalize(pkg)) // {name:'foo', bin:{foo: 'bar'}}
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/duration/
DDataReadWriteTest.java31 private String normalize(String str) { in normalize() method in DataReadWriteTest
57 assertEquals(null, "<Test></Test>", normalize(str)); in testOpenClose()
73 assertEquals(null, "<x>true</x><y>false</y>", normalize(str)); in testBool()
107 assertEquals("" + j, target, normalize(str)); in testBoolArray()
129 assertEquals(null, "<x>a</x><y>b</y>", normalize(str)); in testCharacter()
163 assertEquals("" + j, target, normalize(str)); in testCharacterArray()
187 assertEquals(null, "<x>zero</x><y>one</y>", normalize(str)); in testNamedIndex()
222 assertEquals("" + j, target, normalize(str)); in testNamedIndexArray()
247 assertEquals("\n'" + normalize(str) + "' = \n'<x>" + t + "</x>", "<x>" in testString()
248 + t + "</x>", normalize(str)); in testString()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/
DDataReadWriteTest.java28 private String normalize(String str) { in normalize() method in DataReadWriteTest
54 assertEquals(null, "<Test></Test>", normalize(str)); in testOpenClose()
70 assertEquals(null, "<x>true</x><y>false</y>", normalize(str)); in testBool()
104 assertEquals("" + j, target, normalize(str)); in testBoolArray()
126 assertEquals(null, "<x>a</x><y>b</y>", normalize(str)); in testCharacter()
160 assertEquals("" + j, target, normalize(str)); in testCharacterArray()
184 assertEquals(null, "<x>zero</x><y>one</y>", normalize(str)); in testNamedIndex()
219 assertEquals("" + j, target, normalize(str)); in testNamedIndexArray()
244 assertEquals("\n'" + normalize(str) + "' = \n'<x>" + t + "</x>", "<x>" in testString()
245 + t + "</x>", normalize(str)); in testString()
[all …]
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtx/
Dorthonormalize.inl11 r[0] = normalize(r[0]);
15 r[1] = normalize(r[1]);
20 r[2] = normalize(r[2]);
28 return normalize(x - y * dot(y, x));
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
DFilteredNormalizer2.java46 public StringBuilder normalize(CharSequence src, StringBuilder dest) { in normalize() method in FilteredNormalizer2
51 normalize(src, dest, UnicodeSet.SpanCondition.SIMPLE); in normalize()
58 public Appendable normalize(CharSequence src, Appendable dest) { in normalize() method in FilteredNormalizer2
62 return normalize(src, dest, UnicodeSet.SpanCondition.SIMPLE); in normalize()
214 private Appendable normalize(CharSequence src, Appendable dest, in normalize() method in FilteredNormalizer2
231 … dest.append(norm2.normalize(src.subSequence(prevSpanLimit, spanLimit), tempDest)); in normalize()
250 return normalize(second, first); in normalizeSecondAndAppend()
280 normalize(rest, first, UnicodeSet.SpanCondition.NOT_CONTAINED); in normalizeSecondAndAppend()

12345678910>>...47