Home
last modified time | relevance | path

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

12345678910>>...39

/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 …]
/third_party/glslang/Test/
Dhlsl.init2.frag28 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 …]
/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/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/typescript/tests/baselines/reference/
DcontextualOverloadListFromUnionWithPrimitiveNoImplicitAny.types2 // must target esnext for `String.normalize` to exist
13 normalize?: (match: {x: string}) => void;
14 >normalize : ((match: { x: string;}) => void) | undefined
25 …s) => false, normalize: match => match.x, }} : { field: { validate: (_t: string, _p: num…
28 >field : { validate: (_t: string, _p: number, _s: Rule) => false; normalize: (match: any) => any; }
29 …_p, _s) => false, normalize: match => match.x, } : { validate: (_t: string, _p: number, …
39 normalize: match => match.x,
40 >normalize : (match: any) => any
DcontextualOverloadListFromUnionWithPrimitiveNoImplicitAny.symbols2 // must target esnext for `String.normalize` to exist
18 normalize?: (match: {x: string}) => void;
19 >normalize : Symbol(FullRule.normalize, Decl(contextualOverloadListFromUnionWithPrimitiveNoImplicit…
42 normalize: match => match.x,
43 >normalize : Symbol(normalize, Decl(contextualOverloadListFromUnionWithPrimitiveNoImplicitAny.ts, 1…
/third_party/vk-gl-cts/external/vulkancts/data/vulkan/amber/crash_test/
Ddivbyzero_comp.amber35 // 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]);
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_vert.amber41 // 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]);
Ddivbyzero_geom.amber45 // normalize float
46 ssbo.data[3] = int(normalize(val));
47 // normalize vec2
48 ssbo.data[4] = int(normalize(vec2(val))[ival]);
49 // normalize vec3
50 ssbo.data[5] = int(normalize(vec3(val))[ival]);
51 // normalize vec4
52 ssbo.data[6] = int(normalize(vec4(val))[ival]);
Ddivbyzero_tese.amber68 // normalize float
69 ssbo.data[3] = int(normalize(val));
70 // normalize vec2
71 ssbo.data[4] = int(normalize(vec2(val))[ival]);
72 // normalize vec3
73 ssbo.data[5] = int(normalize(vec3(val))[ival]);
74 // normalize vec4
75 ssbo.data[6] = int(normalize(vec4(val))[ival]);
Ddivbyzero_tesc.amber52 // normalize float
53 ssbo.data[3] = int(normalize(val));
54 // normalize vec2
55 ssbo.data[4] = int(normalize(vec2(val))[ival]);
56 // normalize vec3
57 ssbo.data[5] = int(normalize(vec3(val))[ival]);
58 // normalize vec4
59 ssbo.data[6] = int(normalize(vec4(val))[ival]);
/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/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/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/node/deps/npm/test/fixtures/
Dsandbox.js53 const normalize = (str) => str function
120 let clean = normalize(snapshot)
138 .split(normalize(this[_proxy].execPath)).join('{EXECPATH}')
139 .split(normalize(_process.execPath)).join('{REALEXECPATH}')
140 .split(normalize(this.global)).join('{GLOBALPREFIX}')
141 .split(normalize(realGlobalPrefix)).join('{REALGLOBALREFIX}')
142 .split(normalize(this.project)).join('{LOCALPREFIX}')
143 .split(normalize(this.home)).join('{HOME}')
145 .split(normalize(dirname(dirname(__dirname)))).join('{NPMDIR}')
146 .split(normalize(tmpdir())).join('{TMP}')
[all …]
/third_party/libsnd/src/
Dflac.c107 static void f2flac8_array (const float *src, int32_t *dest, int count, int normalize) ;
108 static void f2flac16_array (const float *src, int32_t *dest, int count, int normalize) ;
109 static void f2flac24_array (const float *src, int32_t *dest, int count, int normalize) ;
110 static void f2flac8_clip_array (const float *src, int32_t *dest, int count, int normalize) ;
111 static void f2flac16_clip_array (const float *src, int32_t *dest, int count, int normalize) ;
112 static void f2flac24_clip_array (const float *src, int32_t *dest, int count, int normalize) ;
113 static void d2flac8_array (const double *src, int32_t *dest, int count, int normalize) ;
114 static void d2flac16_array (const double *src, int32_t *dest, int count, int normalize) ;
115 static void d2flac24_array (const double *src, int32_t *dest, int count, int normalize) ;
116 static void d2flac8_clip_array (const double *src, int32_t *dest, int count, int normalize) ;
[all …]
Dpcm.c1771 f2sc_array (const float *src, signed char *dest, int count, int normalize) in f2sc_array() argument
1774 normfact = normalize ? (1.0 * 0x7F) : 1.0 ; in f2sc_array()
1782 f2sc_clip_array (const float *src, signed char *dest, int count, int normalize) in f2sc_clip_array() argument
1785 normfact = normalize ? (8.0 * 0x10000000) : (1.0 * 0x1000000) ; in f2sc_clip_array()
1830 f2uc_array (const float *src, unsigned char *dest, int count, int normalize) in f2uc_array() argument
1833 normfact = normalize ? (1.0 * 0x7F) : 1.0 ; in f2uc_array()
1841 f2uc_clip_array (const float *src, unsigned char *dest, int count, int normalize) in f2uc_clip_array() argument
1844 normfact = normalize ? (8.0 * 0x10000000) : (1.0 * 0x1000000) ; in f2uc_clip_array()
1889 f2bes_array (const float *src, short *dest, int count, int normalize) in f2bes_array() argument
1894 normfact = normalize ? (1.0 * 0x7FFF) : 1.0 ; in f2bes_array()
[all …]
/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/node/deps/npm/node_modules/@npmcli/package-json/lib/
Dindex.js6 const normalize = require('./normalize.js') constant
113 static async normalize (path, opts) { method in PackageJson
116 return p.normalize(opts)
253 async normalize (opts = {}) { method in PackageJson
257 await normalize(this, opts)
265 await normalize(this, opts)
272 await normalize(this, opts)
/third_party/skia/tests/sksl/intrinsics/
DNormalize.glsl8 …(((((normalize(inputVal.x) == expectedVec.x && normalize(inputVal.xy) == expectedVec.xy) && normal…
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DFilteredNormalizer2.java47 public StringBuilder normalize(CharSequence src, StringBuilder dest) { in normalize() method in FilteredNormalizer2
52 normalize(src, dest, UnicodeSet.SpanCondition.SIMPLE); in normalize()
60 public Appendable normalize(CharSequence src, Appendable dest) { in normalize() method in FilteredNormalizer2
64 return normalize(src, dest, UnicodeSet.SpanCondition.SIMPLE); in normalize()
228 private Appendable normalize(CharSequence src, Appendable dest, in normalize() method in FilteredNormalizer2
245 … dest.append(norm2.normalize(src.subSequence(prevSpanLimit, spanLimit), tempDest)); in normalize()
264 return normalize(second, first); in normalizeSecondAndAppend()
294 normalize(rest, first, UnicodeSet.SpanCondition.NOT_CONTAINED); in normalizeSecondAndAppend()
/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()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DNorm2AllModes.java32 public StringBuilder normalize(CharSequence src, StringBuilder dest) { in normalize() method in Norm2AllModes.NoopNormalizer2
41 public Appendable normalize(CharSequence src, Appendable dest) { in normalize() method in Norm2AllModes.NoopNormalizer2
99 public StringBuilder normalize(CharSequence src, StringBuilder dest) { in normalize() method in Norm2AllModes.Normalizer2WithImpl
104 normalize(src, new Normalizer2Impl.ReorderingBuffer(impl, dest, src.length())); in normalize()
108 public Appendable normalize(CharSequence src, Appendable dest) { in normalize() method in Norm2AllModes.Normalizer2WithImpl
114 normalize(src, buffer); in normalize()
118 … protected abstract void normalize(CharSequence src, Normalizer2Impl.ReorderingBuffer buffer); in normalize() method in Norm2AllModes.Normalizer2WithImpl
184 protected void normalize(CharSequence src, Normalizer2Impl.ReorderingBuffer buffer) { in normalize() method in Norm2AllModes.DecomposeNormalizer2
218 protected void normalize(CharSequence src, Normalizer2Impl.ReorderingBuffer buffer) { in normalize() method in Norm2AllModes.ComposeNormalizer2
276 protected void normalize(CharSequence src, Normalizer2Impl.ReorderingBuffer buffer) { in normalize() method in Norm2AllModes.FCDNormalizer2

12345678910>>...39