Home
last modified time | relevance | path

Searched refs:readAllBytes (Results 1 – 24 of 24) sorted by relevance

/external/google-java-format/core/src/test/resources/com/google/googlejavaformat/java/testdata/
DUnformatted.input30 readAllBytes ( FileSystems . getDefault ( ) . getPath ( inputDirectory .
32 Charsets . UTF_8 ) ; byte [ ] expectedOutputBytes = Files . readAllBytes (
DUnformatted.output39 Files.readAllBytes(FileSystems.getDefault().getPath(inputDirectory.toString(), fileName));
42 Files.readAllBytes(
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DPathSubject.java318 byte[] actual = Files.readAllBytes(this.actual); in containsBytes()
334 byte[] expectedBytes = Files.readAllBytes(toPath(path)); in containsSameBytesAs()
335 if (!Arrays.equals(expectedBytes, Files.readAllBytes(actual))) { in containsSameBytesAs()
DJimfsFileSystemCloseTest.java427 Files.readAllBytes(file); in testFilesMethodsThrow()
DJimfsUnixLikeFileSystemTest.java1230 Files.readAllBytes(path("/link.txt")); in testSymbolicLinks()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowIoUtils.java19 return new String(Files.readAllBytes(Paths.get(absolutePath)), UTF_8); in readFileAsString()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/
DJDWPUnitDebuggeeProcessWrapper.java335 return Integer.valueOf(new String(Files.readAllBytes(proc.resolve("stat"))).split(" ")[0]); in getPid()
383 return new String(Files.readAllBytes(children.toPath())).split(" "); in ReadChildPids()
/external/javapoet/src/test/java/com/squareup/javapoet/
DFileWritingTest.java183 String source = new String(Files.readAllBytes(fooPath)); in filerClassesWithTabIndent()
212 assertThat(new String(Files.readAllBytes(fooPath), UTF_8)).isEqualTo("" in fileIsUtf8()
/external/cldr/tools/java/org/unicode/cldr/util/
DXPathExpressionParser.java82 buf = Files.readAllBytes(f.toPath()); in XPathExpressionParser()
/external/google-java-format/core/src/main/java/com/google/googlejavaformat/java/
DCommandLineOptionsParser.java201 String sequence = new String(Files.readAllBytes(path), UTF_8); in expandParamsFiles()
DMain.java127 input = new String(Files.readAllBytes(path), UTF_8); in formatFiles()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
DAnalyseJavaParserTest.java54 byte[] encoded = Files.readAllBytes(file); in readFile()
DAnalyseNewJavaParserTest.java59 byte[] encoded = Files.readAllBytes(file); in readFile()
DAnalyseJavaSymbolSolver060Test.java73 byte[] encoded = Files.readAllBytes(Paths.get(file.getAbsolutePath())); in readFile()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/utils/
DTestUtils.java55 byte[] bytes = Files.readAllBytes(Paths.get(resourceAsStream.toURI())); in readTextResource()
/external/turbine/javatests/com/google/turbine/bytecode/
DClassWriterTest.java90 byte[] original = Files.readAllBytes(out.resolve("test/Test.class")); in roundTrip()
/external/turbine/java/com/google/turbine/options/
DTurbineOptionsParser.java186 argumentDeque, ARG_SPLITTER.split(new String(Files.readAllBytes(paramsPath), UTF_8))); in expandParamsFiles()
/external/auto/common/src/test/java/com/google/auto/common/
DGeneratedAnnotationsTest.java130 return new String(Files.readAllBytes(tempDir.toPath().resolve("G.java")), UTF_8); in runProcessor()
/external/tensorflow/tensorflow/java/src/main/java/org/tensorflow/examples/
DLabelImage.java142 return Files.readAllBytes(path); in readAllBytesOrExit()
/external/turbine/java/com/google/turbine/binder/
DJimageClassBinder.java172 return Files.readAllBytes(path); in toByteArrayOrDie()
/external/exoplayer/tree/library/common/src/test/java/com/google/android/exoplayer2/util/
DParsableBitArrayTest.java33 public void readAllBytes() { in readAllBytes() method in ParsableBitArrayTest
/external/google-java-format/core/src/test/java/com/google/googlejavaformat/java/
DFormatterTest.java318 String output = new String(Files.readAllBytes(path), StandardCharsets.UTF_8); in importOrdering()
/external/guava/guava-tests/test/com/google/common/io/
DSourceSinkFactories.java552 return java.nio.file.Files.readAllBytes(file);
/external/turbine/javatests/com/google/turbine/lower/
DIntegrationTestSupport.java522 result.put(r.substring(0, r.length() - ".class".length()), Files.readAllBytes(path)); in runJavac()