Home
last modified time | relevance | path

Searched refs:getFileExtension (Results 1 – 16 of 16) sorted by relevance

/external/guava/guava-tests/test/com/google/common/io/
DMoreFilesTest.java335 assertEquals("txt", MoreFiles.getFileExtension(FS.getPath(".txt"))); in testGetFileExtension()
336 assertEquals("txt", MoreFiles.getFileExtension(FS.getPath("blah.txt"))); in testGetFileExtension()
337 assertEquals("txt", MoreFiles.getFileExtension(FS.getPath("blah..txt"))); in testGetFileExtension()
338 assertEquals("txt", MoreFiles.getFileExtension(FS.getPath(".blah.txt"))); in testGetFileExtension()
339 assertEquals("txt", MoreFiles.getFileExtension(root().resolve("tmp/blah.txt"))); in testGetFileExtension()
340 assertEquals("gz", MoreFiles.getFileExtension(FS.getPath("blah.tar.gz"))); in testGetFileExtension()
341 assertEquals("", MoreFiles.getFileExtension(root())); in testGetFileExtension()
342 assertEquals("", MoreFiles.getFileExtension(FS.getPath("."))); in testGetFileExtension()
343 assertEquals("", MoreFiles.getFileExtension(FS.getPath(".."))); in testGetFileExtension()
344 assertEquals("", MoreFiles.getFileExtension(FS.getPath("..."))); in testGetFileExtension()
[all …]
DFilesTest.java616 assertEquals("txt", Files.getFileExtension(".txt")); in testGetFileExtension()
617 assertEquals("txt", Files.getFileExtension("blah.txt")); in testGetFileExtension()
618 assertEquals("txt", Files.getFileExtension("blah..txt")); in testGetFileExtension()
619 assertEquals("txt", Files.getFileExtension(".blah.txt")); in testGetFileExtension()
620 assertEquals("txt", Files.getFileExtension("/tmp/blah.txt")); in testGetFileExtension()
621 assertEquals("gz", Files.getFileExtension("blah.tar.gz")); in testGetFileExtension()
622 assertEquals("", Files.getFileExtension("/")); in testGetFileExtension()
623 assertEquals("", Files.getFileExtension(".")); in testGetFileExtension()
624 assertEquals("", Files.getFileExtension("..")); in testGetFileExtension()
625 assertEquals("", Files.getFileExtension("...")); in testGetFileExtension()
[all …]
/external/guava/android/guava-tests/test/com/google/common/io/
DFilesTest.java616 assertEquals("txt", Files.getFileExtension(".txt")); in testGetFileExtension()
617 assertEquals("txt", Files.getFileExtension("blah.txt")); in testGetFileExtension()
618 assertEquals("txt", Files.getFileExtension("blah..txt")); in testGetFileExtension()
619 assertEquals("txt", Files.getFileExtension(".blah.txt")); in testGetFileExtension()
620 assertEquals("txt", Files.getFileExtension("/tmp/blah.txt")); in testGetFileExtension()
621 assertEquals("gz", Files.getFileExtension("blah.tar.gz")); in testGetFileExtension()
622 assertEquals("", Files.getFileExtension("/")); in testGetFileExtension()
623 assertEquals("", Files.getFileExtension(".")); in testGetFileExtension()
624 assertEquals("", Files.getFileExtension("..")); in testGetFileExtension()
625 assertEquals("", Files.getFileExtension("...")); in testGetFileExtension()
[all …]
/external/turbine/javatests/com/google/turbine/bytecode/sig/
DSigIntegrationTest.java20 import static com.google.common.io.MoreFiles.getFileExtension;
74 .filter(p -> getFileExtension(p).equals("class")) in forEachBootclass()
84 stream.filter(p -> getFileExtension(p).equals("class")).forEachOrdered(consumer); in forEachBootclass()
/external/google-java-format/core/src/test/java/com/google/googlejavaformat/java/
DFormatterIntegrationTest.java18 import static com.google.common.io.Files.getFileExtension;
70 String extension = getFileExtension(subPath.getFileName().toString()); in data()
/external/deqp/framework/delibs/decpp/
DdeFilePath.hpp62 std::string getFileExtension (void) const;
DdeFilePath.cpp161 std::string FilePath::getFileExtension (void) const in getFileExtension() function in de::FilePath
/external/emma/core/java12/com/vladium/util/
DFiles.java186 public static String getFileExtension (final File file) in getFileExtension() method in Files
/external/deqp/framework/common/
DtcuImageIO.cpp57 string ext = de::FilePath(fileName).getFileExtension(); in loadImage()
/external/turbine/javatests/com/google/turbine/lower/
DIntegrationTestSupport.java20 import static com.google.common.io.MoreFiles.getFileExtension;
566 if (getFileExtension(path).equals("class")) { in runJavac()
/external/deqp/external/vulkancts/vkscpc/
Dvkscpc.cpp76 if (filePath.getFileExtension() != "json") in importFilesForExternalCompiler()
/external/deqp/framework/opengl/
DgluTexture.cpp218 std::string ext = de::FilePath(levelFileNames[0]).getFileExtension(); in create()
443 std::string ext = de::FilePath(filenames[0]).getFileExtension(); in create()
/external/guava/guava/src/com/google/common/io/
DFiles.java804 public static String getFileExtension(String fullName) { in getFileExtension() method
DMoreFiles.java465 public static String getFileExtension(Path path) {
/external/guava/android/guava/src/com/google/common/io/
DFiles.java804 public static String getFileExtension(String fullName) { in getFileExtension() method
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureTestUtil.cpp1709 std::string ext = de::FilePath(filenames[0]).getFileExtension(); in loadTexture2D()
1770 std::string ext = de::FilePath(filenames[0]).getFileExtension(); in loadTextureCube()