Home
last modified time | relevance | path

Searched refs:ReadFile (Results 1 - 25 of 139) sorted by relevance

123456

/third_party/musl/libc-test/src/functionalext/unittest/
H A Dunit_test_assert_fail_dialog.c47 char* ReadFile(const char *filename) in ReadFile() function
156 char *BufferAbort = strdup(ReadFile(FILE_ABORT)); in main()
157 char *BufferIgnore = strdup(ReadFile(FILE_IGNORE)); in main()
158 char *BufferRetry = strdup(ReadFile(FILE_RETRY)); in main()
/third_party/mindspore/test/unittest/
H A Dmindspore_unit_test.cpp345 printf("==========ReadFile==========\n"); in HWTEST()
349 char *imageBuf = ReadFile(imagePath, ptrSize1); in HWTEST()
833 printf("==========ReadFile==========\n"); in HWTEST()
837 char *imageBuf = ReadFile(imagePath, ptrSize1); in HWTEST()
856 printf("==========ReadFile==========\n"); in HWTEST()
860 char *imageBuf = ReadFile(imagePath, ptrSize1); in HWTEST()
882 printf("==========ReadFile==========\n"); in HWTEST()
886 char *imageBuf = ReadFile(imagePath, ptrSize1); in HWTEST()
906 printf("==========ReadFile==========\n"); in HWTEST()
910 char *imageBuf = ReadFile(imagePat in HWTEST()
[all...]
/third_party/skia/third_party/externals/spirv-tools/tools/
H A 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/
H A 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/
H A Dmain.go65 defSource, err := ioutil.ReadFile(defPath)
99 tmpl, err := ioutil.ReadFile(tmplPath)
136 existing, err := ioutil.ReadFile(path)
/third_party/rust/crates/syn/examples/dump-syntax/src/
H A Dmain.rs32 ReadFile(io::Error),
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/spirv-tools/tools/
H A 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/skia/experimental/tskit/go/gen_types/
H A 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/
H A Dtest_windows_utils.py31 ov1.ReadFile(h1, 100)
105 ovout.ReadFile(p.stdout.handle, 100)
106 overr.ReadFile(p.stderr.handle, 100)
/third_party/ninja/src/
H A Ddisk_interface.h28 /// Result of ReadFile.
37 virtual Status ReadFile(const std::string& path, std::string* contents,
77 virtual Status ReadFile(const std::string& path, std::string* contents,
H A Ddisk_interface_test.cc201 TEST_F(DiskInterfaceTest, ReadFile) { in TEST_F()
205 disk_.ReadFile("foobar", &content, &err)); in TEST_F()
218 disk_.ReadFile(kTestFile, &content, &err)); in TEST_F()
274 virtual Status ReadFile(const string& path, string* contents, string* err) { in ReadFile() function
/third_party/protobuf/benchmarks/util/
H A Dproto3_data_stripper.cc13 std::string ReadFile(const std::string& name) { in ReadFile() function
39 std::string dataset_payload = ReadFile(input_file); in main()
H A 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/mindspore/test/utils/
H A Dmodel_utils.cpp102 printf("==========ReadFile==========\n"); in FillInputsData()
107 char *imageBuf = ReadFile(imagePath, ptrSize1); in FillInputsData()
170 char *graphBuf = ReadFile(graphPath, ptrSize); in ModelPredict()
221 char *graphBuf = ReadFile(graphPath, ptrSize); in ModelPredict_ModelBuild()
249 char *graphBuf = ReadFile(graphPath, ptrSize); in ModelTrain()
/third_party/node/tools/
H A Djs2c.py41 def ReadFile(filename): function
123 code = ReadFile(filename)
166 config = ReadFile(config_filename)
/third_party/node/deps/v8/src/torque/
H A 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/
H A 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(pat
1194 def ReadFile(self, path): global() member in MetaBuildWrapper
[all...]
/third_party/icu/tools/scripts/
H A Duconfig_vars_test.py19 def ReadFile(filename): function
192 orig_uconfig_file = ReadFile('common/unicode/uconfig.h')
/third_party/skia/third_party/externals/swiftshader/third_party/marl/tools/cmd/benchdiff/
H A Dmain.go61 fileA, err := ioutil.ReadFile(pathA)
70 fileB, err := ioutil.ReadFile(pathB)
/third_party/skia/third_party/externals/tint/fuzzers/
H A 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/googletest/googlemock/scripts/generator/cpp/
H A Dutils.py26 def ReadFile(filename, print_error=True): function
/third_party/musl/libc-test/src/functional/
H A Drenameat2_test.c54 static void ReadFile(char *path, size_t len, char *buf) in ReadFile() function
75 ReadFile(path, readCount, buf); in CompareFileString()
/third_party/protobuf/benchmarks/cpp/
H A Dcpp_benchmark.cc194 std::string ReadFile(const std::string& name) { in ReadFile() function
249 RegisterBenchmarks(ReadFile(argv[i])); in main()
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/tools/
H A Dgen-grammar.go84 tf, err := ioutil.ReadFile(*templatePath)
205 return ioutil.ReadFile(path)
/third_party/skia/third_party/externals/swiftshader/tests/regres/testlist/
H A Dtestlist.go58 tests, err := ioutil.ReadFile(file)
141 i, err := ioutil.ReadFile(jsonPath)

Completed in 11 milliseconds

123456