/external/swiftshader/third_party/LLVM/unittests/ADT/ |
D | TripleTest.cpp | 118 EXPECT_EQ("", Triple::normalize("")); in TEST() 119 EXPECT_EQ("-", Triple::normalize("-")); in TEST() 120 EXPECT_EQ("--", Triple::normalize("--")); in TEST() 121 EXPECT_EQ("---", Triple::normalize("---")); in TEST() 122 EXPECT_EQ("----", Triple::normalize("----")); in TEST() 124 EXPECT_EQ("a", Triple::normalize("a")); in TEST() 125 EXPECT_EQ("a-b", Triple::normalize("a-b")); in TEST() 126 EXPECT_EQ("a-b-c", Triple::normalize("a-b-c")); in TEST() 127 EXPECT_EQ("a-b-c-d", Triple::normalize("a-b-c-d")); in TEST() 129 EXPECT_EQ("i386-b-c", Triple::normalize("i386-b-c")); in TEST() [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/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/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/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | TimeValue.h | 89 : seconds_( seconds ), nanos_( nanos ) { this->normalize(); } in seconds_() 100 this->normalize(); in TimeValue() 118 this->normalize(); 128 this->normalize(); 286 this->normalize(); in seconds() 297 this->normalize(); in nanoseconds() 304 this->normalize(); in microseconds() 311 this->normalize(); in milliseconds() 319 this->normalize(); in usec() 327 this->normalize(); in msec() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/normalizer/ |
D | NormalizationMonkeyTest.java | 54 String uncodeNorm = unicode_NFD.normalize(source); in TestNormalize() 55 String icuNorm = Normalizer.normalize(source, Normalizer.NFD); in TestNormalize() 62 uncodeNorm = unicode_NFC.normalize(source); in TestNormalize() 63 icuNorm = Normalizer.normalize(source, Normalizer.NFC); in TestNormalize() 70 uncodeNorm = unicode_NFKD.normalize(source); in TestNormalize() 71 icuNorm = Normalizer.normalize(source, Normalizer.NFKD); in TestNormalize() 78 uncodeNorm = unicode_NFKC.normalize(source); in TestNormalize() 79 icuNorm = Normalizer.normalize(source, Normalizer.NFKC); in TestNormalize()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
D | NormalizationMonkeyTest.java | 53 String uncodeNorm = unicode_NFD.normalize(source); in TestNormalize() 54 String icuNorm = Normalizer.normalize(source, Normalizer.NFD); in TestNormalize() 61 uncodeNorm = unicode_NFC.normalize(source); in TestNormalize() 62 icuNorm = Normalizer.normalize(source, Normalizer.NFC); in TestNormalize() 69 uncodeNorm = unicode_NFKD.normalize(source); in TestNormalize() 70 icuNorm = Normalizer.normalize(source, Normalizer.NFKD); in TestNormalize() 77 uncodeNorm = unicode_NFKC.normalize(source); in TestNormalize() 78 icuNorm = Normalizer.normalize(source, Normalizer.NFKC); in TestNormalize()
|
/external/deqp/framework/delibs/decpp/ |
D | deFilePath.cpp | 94 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 …]
|
/external/mockftpserver/tags/2.4/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | WindowsFakeFileSystemTest.groovy | 75 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/ |
D | WindowsFakeFileSystemTest.groovy | 75 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.x_Before_IDEA/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | FakeWindowsFileSystemTest.groovy | 74 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/ |
D | WindowsFakeFileSystemTest.groovy | 73 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/ |
D | WindowsFakeFileSystemTest.groovy | 75 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.2/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | WindowsFakeFileSystemTest.groovy | 75 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-rc3/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | WindowsFakeFileSystemTest.groovy | 73 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.1/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | WindowsFakeFileSystemTest.groovy | 77 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.1/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | WindowsFakeFileSystemTest.groovy | 77 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/ |
D | WindowsFakeFileSystemTest.groovy | 75 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/ |
D | WindowsFakeFileSystemTest.groovy | 73 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-rc1/src/test/groovy/org/mockftpserver/fake/filesystem/ |
D | WindowsFakeFileSystemTest.groovy | 73 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/ |
D | WindowsFakeFileSystemTest.groovy | 77 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/libxml2/test/schematron/ |
D | zvon6.sct | 4 <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/python/cpython2/Tools/world/ |
D | world | 141 def parse(file, normalize): argument 150 if normalize: 169 if normalize: 198 if normalize: 207 normalize = 0 226 normalize = 1 246 parse(parsefile, normalize)
|
/external/python/cpython2/Lib/test/ |
D | test_normalization.py | 7 from unicodedata import normalize, unidata_version 20 return normalize("NFC", str) 23 return normalize("NFKC", str) 26 return normalize("NFD", str) 29 return normalize("NFKD", str) 95 normalize('NFC', u'\ud55c\uae00')
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/ |
D | DataReadWriteTest.java | 25 private String normalize(String str) { in normalize() method in DataReadWriteTest 51 assertEquals(null, "<Test></Test>", normalize(str)); in testOpenClose() 67 assertEquals(null, "<x>true</x><y>false</y>", normalize(str)); in testBool() 101 assertEquals("" + j, target, normalize(str)); in testBoolArray() 123 assertEquals(null, "<x>a</x><y>b</y>", normalize(str)); in testCharacter() 157 assertEquals("" + j, target, normalize(str)); in testCharacterArray() 181 assertEquals(null, "<x>zero</x><y>one</y>", normalize(str)); in testNamedIndex() 216 assertEquals("" + j, target, normalize(str)); in testNamedIndexArray() 241 assertEquals("\n'" + normalize(str) + "' = \n'<x>" + t + "</x>", "<x>" in testString() 242 + t + "</x>", normalize(str)); in testString() [all …]
|