Home
last modified time | relevance | path

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

/external/protobuf/benchmarks/
DProtoBench.java90 final byte[] inputData = readAllBytes(file); in runTest()
190 private static byte[] readAllBytes(String filename) throws IOException { in readAllBytes() method in ProtoBench
/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/turbine/java/com/google/turbine/options/
DTurbineOptionsParser.java163 argumentDeque, ARG_SPLITTER.split(new String(Files.readAllBytes(paramsPath), UTF_8))); in expandParamsFiles()
/external/turbine/javatests/com/google/turbine/bytecode/
DClassWriterTest.java89 byte[] original = Files.readAllBytes(out.resolve("test/Test.class")); in roundTrip()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
DAnalyseJavaParserTest.java56 byte[] encoded = Files.readAllBytes(Paths.get(file.getAbsolutePath())); in readFile()
DAnalyseNewJavaParserTest.java61 byte[] encoded = Files.readAllBytes(Paths.get(file.getAbsolutePath())); in readFile()
DAnalyseJavaSymbolSolver060Test.java77 byte[] encoded = Files.readAllBytes(Paths.get(file.getAbsolutePath())); in readFile()
/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.java171 return Files.readAllBytes(path); in toByteArrayOrDie()
/external/turbine/javatests/com/google/turbine/lower/
DIntegrationTestSupport.java517 result.put(r.substring(0, r.length() - ".class".length()), Files.readAllBytes(path)); in runJavac()