Home
last modified time | relevance | path

Searched refs:ReadFile (Results 1 – 25 of 157) sorted by relevance

1234567

/third_party/cef/tests/ceftests/
Dzip_reader_unittest.cc148 ASSERT_EQ(reader->ReadFile(buff, sizeof(buff)), 19); in TEST()
159 ASSERT_EQ(reader->ReadFile(buff, sizeof(buff)), 20); in TEST()
167 ASSERT_EQ(reader->ReadFile(buff, sizeof(buff)), 20); in TEST()
180 ASSERT_EQ(reader->ReadFile(buff, sizeof(buff)), 21); in TEST()
192 ASSERT_EQ(reader->ReadFile(buff, sizeof(buff)), 20); in TEST()
203 ASSERT_EQ(reader->ReadFile(buff, sizeof(buff)), 20); in TEST()
/third_party/mindspore/test/unittest/
Dmindspore_unit_test.cpp349 char *imageBuf = ReadFile(imagePath, ptrSize1);
837 char *imageBuf = ReadFile(imagePath, ptrSize1);
860 char *imageBuf = ReadFile(imagePath, ptrSize1);
886 char *imageBuf = ReadFile(imagePath, ptrSize1);
910 char *imageBuf = ReadFile(imagePath, ptrSize1);
935 char *imageBuf = ReadFile(imagePath, ptrSize1);
959 char *imageBuf = ReadFile(imagePath, ptrSize1);
984 char *imageBuf = ReadFile(imagePath, ptrSize1);
1012 char *imageBuf = ReadFile(imagePath, ptrSize1);
1049 char *imageBuf = ReadFile(imagePath, ptrSize1);
[all …]
/third_party/skia/third_party/externals/spirv-tools/tools/
Dio.h37 void ReadFile(FILE* file, std::vector<T>* data) { in ReadFile() function
90 ReadFile(fp, data); in ReadBinaryFile()
112 ReadFile(fp, data); in ReadTextFile()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/
Dio.h37 void ReadFile(FILE* file, std::vector<T>* data) { in ReadFile() function
90 ReadFile(fp, data); in ReadBinaryFile()
112 ReadFile(fp, data); in ReadTextFile()
/third_party/skia/third_party/externals/tint/tools/src/cmd/intrinsic-gen/
Dmain.go65 defSource, err := ioutil.ReadFile(defPath)
99 tmpl, err := ioutil.ReadFile(tmplPath)
136 existing, err := ioutil.ReadFile(path)
/third_party/spirv-tools/tools/
Dio.h43 void ReadFile(FILE* file, std::vector<T>* data) { in ReadFile() function
96 ReadFile(fp, data); in ReadBinaryFile()
118 ReadFile(fp, data); in ReadTextFile()
/third_party/rust/crates/syn/examples/dump-syntax/src/
Dmain.rs32 ReadFile(io::Error), enumerator
46 ReadFile(error) => write!(f, "Unable to read file: {}", error), in fmt()
72 let code = fs::read_to_string(&filepath).map_err(Error::ReadFile)?; in try_main()
/third_party/skia/experimental/tskit/go/gen_types/
Dgen_types_test.go16 contents := testutils.ReadFile(t, "bindings1.cpp")
17 expectedOutput := testutils.ReadFile(t, "expectedambientnamespace1.d.ts")
/third_party/python/Lib/test/test_asyncio/
Dtest_windows_utils.py31 ov1.ReadFile(h1, 100)
105 ovout.ReadFile(p.stdout.handle, 100)
106 overr.ReadFile(p.stderr.handle, 100)
/third_party/node/tools/
Djs2c.py41 def ReadFile(filename): function
117 code = ReadFile(filename)
160 config = ReadFile(config_filename)
/third_party/ninja/src/
Ddisk_interface.h37 virtual Status ReadFile(const std::string& path, std::string* contents,
81 virtual Status ReadFile(const std::string& path, std::string* contents,
Ddisk_interface_test.cc171 TEST_F(DiskInterfaceTest, ReadFile) { in TEST_F() argument
175 disk_.ReadFile("foobar", &content, &err)); in TEST_F()
188 disk_.ReadFile(kTestFile, &content, &err)); in TEST_F()
244 virtual Status ReadFile(const string& path, string* contents, string* err) { in ReadFile() function
/third_party/protobuf/benchmarks/util/
Dproto3_data_stripper.cc13 std::string ReadFile(const std::string& name) { in ReadFile() function
39 std::string dataset_payload = ReadFile(input_file); in main()
Dgogo_data_scrubber.cc13 std::string ReadFile(const std::string& name) { in ReadFile() function
39 std::string dataset_payload = ReadFile(input_file); in main()
/third_party/node/deps/v8/src/torque/
Dtorque-compiler.cc21 base::Optional<std::string> ReadFile(const std::string& path) { in ReadFile() function
34 auto maybe_content = ReadFile(SourceFileMap::AbsolutePath(source_id)); in ReadAndParseTorqueFile()
37 maybe_content = ReadFile(*maybe_path); in ReadAndParseTorqueFile()
/third_party/node/deps/v8/tools/mb/
Dmb.py288 contents = self.ReadFile(path)
515 args_contents = self.ReadFile(gn_args_path)
550 contents = json.loads(self.ReadFile(path))
562 contents = ast.literal_eval(self.ReadFile(self.args.config_file))
582 isolate_map = ast.literal_eval(self.ReadFile(isolate_map))
700 contents = self.ReadFile(path)
758 runtime_deps = self.ReadFile(runtime_deps_path).splitlines()
883 content = self.ReadFile(self.ToAbsPath(args_file))
968 gn_outp_str = self.ReadFile(gn_output_path)
1051 inp = json.loads(self.ReadFile(path))
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/marl/tools/cmd/benchdiff/
Dmain.go61 fileA, err := ioutil.ReadFile(pathA)
70 fileB, err := ioutil.ReadFile(pathB)
/third_party/skia/third_party/externals/tint/fuzzers/
Dtint_black_box_fuzz_target.cc41 bool ReadFile(const std::string& input_file, std::vector<T>* buffer) { in ReadFile() function
101 if (!ReadFile<uint8_t>(input_filename, &data)) { in main()
/third_party/icu/tools/scripts/
Duconfig_vars_test.py19 def ReadFile(filename): function
192 orig_uconfig_file = ReadFile('common/unicode/uconfig.h')
/third_party/mindspore/test/utils/
Dmodel_utils.cpp107 char *imageBuf = ReadFile(imagePath, ptrSize1); in FillInputsData()
170 char *graphBuf = ReadFile(graphPath, ptrSize); in ModelPredict()
222 char *graphBuf = ReadFile(graphPath, ptrSize); in ModelTrain()
/third_party/googletest/googlemock/scripts/generator/cpp/
Dutils.py26 def ReadFile(filename, print_error=True): function
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/tools/
Dgen-grammar.go84 tf, err := ioutil.ReadFile(*templatePath)
205 return ioutil.ReadFile(path)
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/tools/
Dgen-grammar.go84 tf, err := ioutil.ReadFile(*templatePath)
205 return ioutil.ReadFile(path)
/third_party/spirv-tools/utils/vscode/src/tools/
Dgen-grammar.go84 tf, err := ioutil.ReadFile(*templatePath)
205 return ioutil.ReadFile(path)
/third_party/skia/third_party/externals/swiftshader/tests/regres/testlist/
Dtestlist.go58 tests, err := ioutil.ReadFile(file)
141 i, err := ioutil.ReadFile(jsonPath)

1234567