Home
last modified time | relevance | path

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

12345678910>>...37

/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/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/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/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/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/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()
/third_party/boringssl/src/third_party/googletest/test/
Dgtest_json_test_utils.py35 def normalize(obj): function
54 return normalize(value)
58 return [normalize(x) for x in obj]
/third_party/googletest/googletest/test/
Dgtest_json_test_utils.py35 def normalize(obj): function
54 return normalize(value)
58 return [normalize(x) for x in obj]
/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
/third_party/cmsis/CMSIS/DSP/Source/TransformFunctions/
Darm_dct4_f32.c324 *pbuff++ = in * S->normalize; in arm_dct4_f32()
327 *pbuff++ = in * S->normalize; in arm_dct4_f32()
330 *pbuff++ = in * S->normalize; in arm_dct4_f32()
333 *pbuff++ = in * S->normalize; in arm_dct4_f32()
436 *pbuff++ = in * S->normalize; in arm_dct4_f32()
/third_party/python/Lib/test/
Dtest_unicodedata.py188 self.assertEqual(self.db.normalize('NFC', text), text)
194 self.assertEqual(self.db.normalize('NFC', a), b)
204 self.assertEqual(self.db.normalize('NFC', u1176_str_a), u1176_str_b)
205 self.assertEqual(self.db.normalize('NFC', u11a7_str_a), u11a7_str_b)
206 self.assertEqual(self.db.normalize('NFC', u11c3_str_a), u11c3_str_b)
345 return unicodedata.normalize("NFC", str)
348 return unicodedata.normalize("NFKC", str)
351 return unicodedata.normalize("NFD", str)
354 return unicodedata.normalize("NFKD", str)
400 self.assertRaises(TypeError, unicodedata.normalize)
[all …]
/third_party/node/deps/npm/node_modules/normalize-package-data/lib/
Dnormalize.js1 module.exports = normalize
4 normalize.fixer = fixer
20 function normalize (data, warn, strict) { function
/third_party/boost/boost/geometry/strategies/spherical/
Dpoint_in_point.hpp72 strategy::normalize::spherical_point::apply(point1, point1_normalized); in apply()
74 strategy::normalize::spherical_point::apply(point2, point2_normalized); in apply()
100 strategy::normalize::spherical_point::apply(point1, point1_normalized); in apply()
102 strategy::normalize::spherical_point::apply(point2, point2_normalized); in apply()

12345678910>>...37