Searched refs:readAllBytes (Results 1 – 13 of 13) sorted by relevance
90 final byte[] inputData = readAllBytes(file); in runTest()190 private static byte[] readAllBytes(String filename) throws IOException { in readAllBytes() method in ProtoBench
19 return new String(Files.readAllBytes(Paths.get(absolutePath)), UTF_8); in readFileAsString()
335 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()
183 String source = new String(Files.readAllBytes(fooPath)); in filerClassesWithTabIndent()212 assertThat(new String(Files.readAllBytes(fooPath), UTF_8)).isEqualTo("" in fileIsUtf8()
82 buf = Files.readAllBytes(f.toPath()); in XPathExpressionParser()
163 argumentDeque, ARG_SPLITTER.split(new String(Files.readAllBytes(paramsPath), UTF_8))); in expandParamsFiles()
89 byte[] original = Files.readAllBytes(out.resolve("test/Test.class")); in roundTrip()
56 byte[] encoded = Files.readAllBytes(Paths.get(file.getAbsolutePath())); in readFile()
61 byte[] encoded = Files.readAllBytes(Paths.get(file.getAbsolutePath())); in readFile()
77 byte[] encoded = Files.readAllBytes(Paths.get(file.getAbsolutePath())); in readFile()
142 return Files.readAllBytes(path); in readAllBytesOrExit()
171 return Files.readAllBytes(path); in toByteArrayOrDie()
517 result.put(r.substring(0, r.length() - ".class".length()), Files.readAllBytes(path)); in runJavac()