Home
last modified time | relevance | path

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

12345678910>>...17

/external/v8/test/intl/string/
Dnormalization.js36 assertEquals('ti\u00ea\u0301ng Vi\u00ea\u0323t'.normalize('NFKD'),
37 'ti\u1ebfng Vi\u1ec7t'.normalize('NFKD')); // all precomposed
40 assertEquals('Google\u0020Maps'.normalize('NFKD'), // normal space
41 'Google\u00a0Maps'.normalize('NFKD')); // non-breaking space
42 assertEquals('Google\u0020Maps'.normalize('NFKD'), // normal space
43 'Google\u2002Maps'.normalize('NFKD')); // en-space
44 assertEquals('Google\u0020Maps'.normalize('NFKD'), // normal space
45 'Google\u2003Maps'.normalize('NFKD')); // em-space
46 assertEquals('Google\u0020Maps'.normalize('NFKD'), // normal space
47 'Google\u3000Maps'.normalize('NFKC')); // ideographic space
[all …]
/external/llvm/unittests/ADT/
DTripleTest.cpp184 EXPECT_EQ("", Triple::normalize("")); in TEST()
185 EXPECT_EQ("-", Triple::normalize("-")); in TEST()
186 EXPECT_EQ("--", Triple::normalize("--")); in TEST()
187 EXPECT_EQ("---", Triple::normalize("---")); in TEST()
188 EXPECT_EQ("----", Triple::normalize("----")); in TEST()
190 EXPECT_EQ("a", Triple::normalize("a")); in TEST()
191 EXPECT_EQ("a-b", Triple::normalize("a-b")); in TEST()
192 EXPECT_EQ("a-b-c", Triple::normalize("a-b-c")); in TEST()
193 EXPECT_EQ("a-b-c-d", Triple::normalize("a-b-c-d")); in TEST()
195 EXPECT_EQ("i386-b-c", Triple::normalize("i386-b-c")); in TEST()
[all …]
/external/llvm/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 …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/
DNormalizationMonkeyTest.java57 String uncodeNorm = unicode_NFD.normalize(source); in TestNormalize()
58 String icuNorm = Normalizer.normalize(source, Normalizer.NFD); in TestNormalize()
65 uncodeNorm = unicode_NFC.normalize(source); in TestNormalize()
66 icuNorm = Normalizer.normalize(source, Normalizer.NFC); in TestNormalize()
73 uncodeNorm = unicode_NFKD.normalize(source); in TestNormalize()
74 icuNorm = Normalizer.normalize(source, Normalizer.NFKD); in TestNormalize()
81 uncodeNorm = unicode_NFKC.normalize(source); in TestNormalize()
82 icuNorm = Normalizer.normalize(source, Normalizer.NFKC); in TestNormalize()
/external/chromium-trace/trace-viewer/third_party/Paste/paste/
Dresponse.py30 return dict.__getitem__(self, self.normalize(key))
33 dict.__setitem__(self, self.normalize(key), value)
36 dict.__delitem__(self, self.normalize(key))
39 return dict.__contains__(self, self.normalize(key))
44 return dict.get(self, self.normalize(key), failobj)
47 return dict.setdefault(self, self.normalize(key), failobj)
50 return dict.pop(self, self.normalize(key), *args)
54 self[self.normalize(key)] = other[key]
56 def normalize(self, key): member in HeaderDict
60 key = self.normalize(key)
/external/deqp/framework/delibs/decpp/
DdeFilePath.cpp84 FilePath& FilePath::normalize (void) in normalize() function in de::FilePath
135 FilePath FilePath::normalize (const FilePath& path) in normalize() function in de::FilePath
137 return FilePath(path).normalize(); in normalize()
174 FilePath normPath = FilePath::normalize(*this); in exists()
182 FilePath normPath = FilePath::normalize(*this); in getType()
227 DE_TEST_ASSERT(string(".") == FilePath(".//.").normalize().getPath()); in FilePath_selfTest()
228 DE_TEST_ASSERT(string(".") == FilePath(".").normalize().getPath()); in FilePath_selfTest()
229 …("..") + FilePath::separator + "test") == FilePath("foo/../bar/../../test").normalize().getPath()); in FilePath_selfTest()
230 …ePath::separator + "foo.txt") == FilePath("/foo\\bar/..\\dir\\..\\foo.txt").normalize().getPath()); in FilePath_selfTest()
231 …ath::separator + "foo.txt") == FilePath("c:/foo\\bar/..\\dir\\..\\foo.txt").normalize().getPath()); in FilePath_selfTest()
[all …]
/external/mockftpserver/tags/2.0.1/src/test/groovy/org/mockftpserver/fake/filesystem/
DWindowsFakeFileSystemTest.groovy77 assert fileSystem.normalize("a:\\") == "a:\\"
78 assert fileSystem.normalize("a:/") == "a:\\"
79 assert fileSystem.normalize("b:/abc") == path("b:", "abc")
80 assert fileSystem.normalize("c:\\abc\\def") == path("c:", "abc", "def")
81 assert fileSystem.normalize("d:/abc/def") == path("d:", "abc", "def")
82 assert fileSystem.normalize("e:\\abc/def/..") == path("e:", "abc")
83 assert fileSystem.normalize("f:/abc/def/../ghi") == path("f:", "abc", "ghi")
84 assert fileSystem.normalize("g:\\abc\\def\\.") == path("g:", "abc", "def")
85 assert fileSystem.normalize("h:/abc\\def\\./ghi") == path("h:", "abc", "def", "ghi")
86 assert fileSystem.normalize("c:\\abc").toLowerCase() == path("c:", "abc")
[all …]
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/groovy/org/mockftpserver/fake/filesystem/
DFakeWindowsFileSystemTest.groovy74 assert fileSystem.normalize("a:\\") == "a:\\"
75 assert fileSystem.normalize("a:/") == "a:\\"
76 assert fileSystem.normalize("b:/abc") == path("b:","abc")
77 assert fileSystem.normalize("c:\\abc\\def") == path("c:","abc","def")
78 assert fileSystem.normalize("d:/abc/def") == path("d:","abc","def")
79 assert fileSystem.normalize("e:\\abc/def/..") == path("e:","abc")
80 assert fileSystem.normalize("f:/abc/def/../ghi") == path("f:","abc","ghi")
81 assert fileSystem.normalize("g:\\abc\\def\\.") == path("g:","abc","def")
82 assert fileSystem.normalize("h:/abc\\def\\./ghi") == path("h:","abc","def", "ghi")
83 assert fileSystem.normalize("c:\\abc").toLowerCase() == path("c:","abc")
[all …]
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/
DWindowsFakeFileSystemTest.groovy73 assert fileSystem.normalize("a:\\") == "a:\\"
74 assert fileSystem.normalize("a:/") == "a:\\"
75 assert fileSystem.normalize("b:/abc") == path("b:", "abc")
76 assert fileSystem.normalize("c:\\abc\\def") == path("c:", "abc", "def")
77 assert fileSystem.normalize("d:/abc/def") == path("d:", "abc", "def")
78 assert fileSystem.normalize("e:\\abc/def/..") == path("e:", "abc")
79 assert fileSystem.normalize("f:/abc/def/../ghi") == path("f:", "abc", "ghi")
80 assert fileSystem.normalize("g:\\abc\\def\\.") == path("g:", "abc", "def")
81 assert fileSystem.normalize("h:/abc\\def\\./ghi") == path("h:", "abc", "def", "ghi")
82 assert fileSystem.normalize("c:\\abc").toLowerCase() == path("c:", "abc")
[all …]
/external/mockftpserver/tags/2.0.2/src/test/groovy/org/mockftpserver/fake/filesystem/
DWindowsFakeFileSystemTest.groovy77 assert fileSystem.normalize("a:\\") == "a:\\"
78 assert fileSystem.normalize("a:/") == "a:\\"
79 assert fileSystem.normalize("b:/abc") == path("b:", "abc")
80 assert fileSystem.normalize("c:\\abc\\def") == path("c:", "abc", "def")
81 assert fileSystem.normalize("d:/abc/def") == path("d:", "abc", "def")
82 assert fileSystem.normalize("e:\\abc/def/..") == path("e:", "abc")
83 assert fileSystem.normalize("f:/abc/def/../ghi") == path("f:", "abc", "ghi")
84 assert fileSystem.normalize("g:\\abc\\def\\.") == path("g:", "abc", "def")
85 assert fileSystem.normalize("h:/abc\\def\\./ghi") == path("h:", "abc", "def", "ghi")
86 assert fileSystem.normalize("c:\\abc").toLowerCase() == path("c:", "abc")
[all …]
/external/mockftpserver/tags/2.0-rc1/src/test/groovy/org/mockftpserver/fake/filesystem/
DWindowsFakeFileSystemTest.groovy73 assert fileSystem.normalize("a:\\") == "a:\\"
74 assert fileSystem.normalize("a:/") == "a:\\"
75 assert fileSystem.normalize("b:/abc") == path("b:", "abc")
76 assert fileSystem.normalize("c:\\abc\\def") == path("c:", "abc", "def")
77 assert fileSystem.normalize("d:/abc/def") == path("d:", "abc", "def")
78 assert fileSystem.normalize("e:\\abc/def/..") == path("e:", "abc")
79 assert fileSystem.normalize("f:/abc/def/../ghi") == path("f:", "abc", "ghi")
80 assert fileSystem.normalize("g:\\abc\\def\\.") == path("g:", "abc", "def")
81 assert fileSystem.normalize("h:/abc\\def\\./ghi") == path("h:", "abc", "def", "ghi")
82 assert fileSystem.normalize("c:\\abc").toLowerCase() == path("c:", "abc")
[all …]
/external/mockftpserver/tags/2.2/src/test/groovy/org/mockftpserver/fake/filesystem/
DWindowsFakeFileSystemTest.groovy75 assert fileSystem.normalize("a:\\") == "a:\\"
76 assert fileSystem.normalize("a:/") == "a:\\"
77 assert fileSystem.normalize("b:/abc") == path("b:", "abc")
78 assert fileSystem.normalize("c:\\abc\\def") == path("c:", "abc", "def")
79 assert fileSystem.normalize("d:/abc/def") == path("d:", "abc", "def")
80 assert fileSystem.normalize("e:\\abc/def/..") == path("e:", "abc")
81 assert fileSystem.normalize("f:/abc/def/../ghi") == path("f:", "abc", "ghi")
82 assert fileSystem.normalize("g:\\abc\\def\\.") == path("g:", "abc", "def")
83 assert fileSystem.normalize("h:/abc\\def\\./ghi") == path("h:", "abc", "def", "ghi")
84 assert fileSystem.normalize("c:\\abc").toLowerCase() == path("c:", "abc")
[all …]
/external/mockftpserver/tags/2.0/src/test/groovy/org/mockftpserver/fake/filesystem/
DWindowsFakeFileSystemTest.groovy73 assert fileSystem.normalize("a:\\") == "a:\\"
74 assert fileSystem.normalize("a:/") == "a:\\"
75 assert fileSystem.normalize("b:/abc") == path("b:", "abc")
76 assert fileSystem.normalize("c:\\abc\\def") == path("c:", "abc", "def")
77 assert fileSystem.normalize("d:/abc/def") == path("d:", "abc", "def")
78 assert fileSystem.normalize("e:\\abc/def/..") == path("e:", "abc")
79 assert fileSystem.normalize("f:/abc/def/../ghi") == path("f:", "abc", "ghi")
80 assert fileSystem.normalize("g:\\abc\\def\\.") == path("g:", "abc", "def")
81 assert fileSystem.normalize("h:/abc\\def\\./ghi") == path("h:", "abc", "def", "ghi")
82 assert fileSystem.normalize("c:\\abc").toLowerCase() == path("c:", "abc")
[all …]
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/
DWindowsFakeFileSystemTest.groovy73 assert fileSystem.normalize("a:\\") == "a:\\"
74 assert fileSystem.normalize("a:/") == "a:\\"
75 assert fileSystem.normalize("b:/abc") == path("b:", "abc")
76 assert fileSystem.normalize("c:\\abc\\def") == path("c:", "abc", "def")
77 assert fileSystem.normalize("d:/abc/def") == path("d:", "abc", "def")
78 assert fileSystem.normalize("e:\\abc/def/..") == path("e:", "abc")
79 assert fileSystem.normalize("f:/abc/def/../ghi") == path("f:", "abc", "ghi")
80 assert fileSystem.normalize("g:\\abc\\def\\.") == path("g:", "abc", "def")
81 assert fileSystem.normalize("h:/abc\\def\\./ghi") == path("h:", "abc", "def", "ghi")
82 assert fileSystem.normalize("c:\\abc").toLowerCase() == path("c:", "abc")
[all …]
/external/mockftpserver/tags/2.3/src/test/groovy/org/mockftpserver/fake/filesystem/
DWindowsFakeFileSystemTest.groovy75 assert fileSystem.normalize("a:\\") == "a:\\"
76 assert fileSystem.normalize("a:/") == "a:\\"
77 assert fileSystem.normalize("b:/abc") == path("b:", "abc")
78 assert fileSystem.normalize("c:\\abc\\def") == path("c:", "abc", "def")
79 assert fileSystem.normalize("d:/abc/def") == path("d:", "abc", "def")
80 assert fileSystem.normalize("e:\\abc/def/..") == path("e:", "abc")
81 assert fileSystem.normalize("f:/abc/def/../ghi") == path("f:", "abc", "ghi")
82 assert fileSystem.normalize("g:\\abc\\def\\.") == path("g:", "abc", "def")
83 assert fileSystem.normalize("h:/abc\\def\\./ghi") == path("h:", "abc", "def", "ghi")
84 assert fileSystem.normalize("c:\\abc").toLowerCase() == path("c:", "abc")
[all …]
/external/mockftpserver/tags/2.1/src/test/groovy/org/mockftpserver/fake/filesystem/
DWindowsFakeFileSystemTest.groovy77 assert fileSystem.normalize("a:\\") == "a:\\"
78 assert fileSystem.normalize("a:/") == "a:\\"
79 assert fileSystem.normalize("b:/abc") == path("b:", "abc")
80 assert fileSystem.normalize("c:\\abc\\def") == path("c:", "abc", "def")
81 assert fileSystem.normalize("d:/abc/def") == path("d:", "abc", "def")
82 assert fileSystem.normalize("e:\\abc/def/..") == path("e:", "abc")
83 assert fileSystem.normalize("f:/abc/def/../ghi") == path("f:", "abc", "ghi")
84 assert fileSystem.normalize("g:\\abc\\def\\.") == path("g:", "abc", "def")
85 assert fileSystem.normalize("h:/abc\\def\\./ghi") == path("h:", "abc", "def", "ghi")
86 assert fileSystem.normalize("c:\\abc").toLowerCase() == path("c:", "abc")
[all …]
/external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/
DWindowsFakeFileSystemTest.groovy75 assert fileSystem.normalize("a:\\") == "a:\\"
76 assert fileSystem.normalize("a:/") == "a:\\"
77 assert fileSystem.normalize("b:/abc") == path("b:", "abc")
78 assert fileSystem.normalize("c:\\abc\\def") == path("c:", "abc", "def")
79 assert fileSystem.normalize("d:/abc/def") == path("d:", "abc", "def")
80 assert fileSystem.normalize("e:\\abc/def/..") == path("e:", "abc")
81 assert fileSystem.normalize("f:/abc/def/../ghi") == path("f:", "abc", "ghi")
82 assert fileSystem.normalize("g:\\abc\\def\\.") == path("g:", "abc", "def")
83 assert fileSystem.normalize("h:/abc\\def\\./ghi") == path("h:", "abc", "def", "ghi")
84 assert fileSystem.normalize("c:\\abc").toLowerCase() == path("c:", "abc")
[all …]
/external/mockftpserver/tags/2.4/src/test/groovy/org/mockftpserver/fake/filesystem/
DWindowsFakeFileSystemTest.groovy75 assert fileSystem.normalize("a:\\") == "a:\\"
76 assert fileSystem.normalize("a:/") == "a:\\"
77 assert fileSystem.normalize("b:/abc") == path("b:", "abc")
78 assert fileSystem.normalize("c:\\abc\\def") == path("c:", "abc", "def")
79 assert fileSystem.normalize("d:/abc/def") == path("d:", "abc", "def")
80 assert fileSystem.normalize("e:\\abc/def/..") == path("e:", "abc")
81 assert fileSystem.normalize("f:/abc/def/../ghi") == path("f:", "abc", "ghi")
82 assert fileSystem.normalize("g:\\abc\\def\\.") == path("g:", "abc", "def")
83 assert fileSystem.normalize("h:/abc\\def\\./ghi") == path("h:", "abc", "def", "ghi")
84 assert fileSystem.normalize("c:\\abc").toLowerCase() == path("c:", "abc")
[all …]
/external/mockftpserver/tags/2.5/src/test/groovy/org/mockftpserver/fake/filesystem/
DWindowsFakeFileSystemTest.groovy75 assert fileSystem.normalize("a:\\") == "a:\\"
76 assert fileSystem.normalize("a:/") == "a:\\"
77 assert fileSystem.normalize("b:/abc") == path("b:", "abc")
78 assert fileSystem.normalize("c:\\abc\\def") == path("c:", "abc", "def")
79 assert fileSystem.normalize("d:/abc/def") == path("d:", "abc", "def")
80 assert fileSystem.normalize("e:\\abc/def/..") == path("e:", "abc")
81 assert fileSystem.normalize("f:/abc/def/../ghi") == path("f:", "abc", "ghi")
82 assert fileSystem.normalize("g:\\abc\\def\\.") == path("g:", "abc", "def")
83 assert fileSystem.normalize("h:/abc\\def\\./ghi") == path("h:", "abc", "def", "ghi")
84 assert fileSystem.normalize("c:\\abc").toLowerCase() == path("c:", "abc")
[all …]
/external/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…
/external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/Water/
Dsimple_water.frag63 vec4 lightTS = normalize(lightDir);
64 vec4 viewt = normalize(viewDir);
67 fdist =normalize( fdist * 2.0 - 1.0)* m_distortionScale;
74 vec4 vNorm = normalize(nmap);
101 vec4 L=normalize(viewLightDir);
102 vec4 E=normalize(viewCamDir);
103 vec4 vRef = normalize(reflect(-L,vNorm));
114 vec4 fresnelTerm = vec4(0.02+0.97*pow((1.0-dot(normalize(viewt), vNorm)),5.0));
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/
DDataReadWriteTest.java29 private String normalize(String str) { in normalize() method in DataReadWriteTest
54 assertEquals(null, "<Test></Test>", normalize(str)); in testOpenClose()
69 assertEquals(null, "<x>true</x><y>false</y>", normalize(str)); in testBool()
102 assertEquals("" + j, target, normalize(str)); in testBoolArray()
123 assertEquals(null, "<x>a</x><y>b</y>", normalize(str)); in testCharacter()
156 assertEquals("" + j, target, normalize(str)); in testCharacterArray()
179 assertEquals(null, "<x>zero</x><y>one</y>", normalize(str)); in testNamedIndex()
213 assertEquals("" + j, target, normalize(str)); in testNamedIndexArray()
237 assertEquals("\n'" + normalize(str) + "' = \n'<x>" + t + "</x>", "<x>" in testString()
238 + t + "</x>", normalize(str)); in testString()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DFilteredNormalizer2.java45 public StringBuilder normalize(CharSequence src, StringBuilder dest) { in normalize() method in FilteredNormalizer2
50 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()
226 private Appendable normalize(CharSequence src, Appendable dest, in normalize() method in FilteredNormalizer2
243 … dest.append(norm2.normalize(src.subSequence(prevSpanLimit, spanLimit), tempDest)); in normalize()
262 return normalize(second, first); in normalizeSecondAndAppend()
292 normalize(rest, first, UnicodeSet.SpanCondition.NOT_CONTAINED); in normalizeSecondAndAppend()
/external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Light/
DLighting.vert74 vec3 I = normalize( g_CameraPosition - worldPos ).xyz;
75 vec3 N = normalize( (g_WorldMatrix * vec4(inNormal, 0.0)).xyz );
92 lightDir = vec4(normalize(tempVec), 1.0);
118 vec3 L=normalize(lightVec.xyz);
119 vec3 spotdir = normalize(g_LightDirection.xyz);
142 vec3 wvNormal = normalize(g_NormalMatrix * inNormal);
143 vec3 viewDir = normalize(-wvPosition);
155 vec3 wvTangent = normalize(g_NormalMatrix * inTangent.xyz);
174 vNormal = normalize(g_NormalMatrix * inTangent.xyz);
/external/replicaisland/src/com/replica/replicaisland/
DOrbitalMagnetComponent.java78 mRim.normalize(); in applyMagnetism()
92 mDelta.normalize(); in applyMagnetism()
100 mDelta.normalize(); in applyMagnetism()
105 mVelocity.normalize(); in applyMagnetism()
120 targetVelocity.normalize(); in applyMagnetism()

12345678910>>...17