Home
last modified time | relevance | path

Searched refs:file_reader (Results 1 – 16 of 16) sorted by relevance

/third_party/mindspore/tests/ut/python/mindrecord/
Dutils.py41 with open(ann_file, "r") as file_reader:
42 lines = file_reader.readlines()
49 with open(os.path.join(img_dir, filename), "rb") as file_reader:
50 img = file_reader.read()
73 with open(file_name, "r") as file_reader:
74 lines = file_reader.readlines()
80 with open(os.path.join(dir_name, img), "rb") as file_reader:
81 img_data = file_reader.read()
82 with open(os.path.join(dir_name, label), "rb") as file_reader:
83 label_data = file_reader.read()
[all …]
/third_party/ninja/src/
Dparser.h29 Parser(State* state, FileReader* file_reader) in Parser()
30 : state_(state), file_reader_(file_reader) {} in Parser()
Ddyndep_parser.h26 DyndepParser(State* state, FileReader* file_reader,
Ddyndep_parser.cc25 DyndepParser::DyndepParser(State* state, FileReader* file_reader, in DyndepParser() argument
27 : Parser(state, file_reader) in DyndepParser()
Dmanifest_parser.h43 ManifestParser(State* state, FileReader* file_reader,
Dmanifest_parser.cc26 ManifestParser::ManifestParser(State* state, FileReader* file_reader, in ManifestParser() argument
28 : Parser(state, file_reader), in ManifestParser()
/third_party/skia/third_party/externals/microhttpd/src/examples/
Dfileserver_example.c33 file_reader (void *cls, uint64_t pos, char *buf, size_t max) in file_reader() function
87 &file_reader, in ahc_echo()
Dhttps_fileserver_example.c99 file_reader (void *cls, uint64_t pos, char *buf, size_t max) in file_reader() function
156 &file_reader, file, in http_ahc()
Dfileserver_example_dirs.c34 file_reader (void *cls, uint64_t pos, char *buf, size_t max) in file_reader() function
147 &file_reader, in ahc_echo()
Dfileserver_example_external_select.c33 file_reader (void *cls, uint64_t pos, char *buf, size_t max) in file_reader() function
88 &file_reader, in ahc_echo()
/third_party/mindspore/tests/ut/python/dataset/
Dtest_minddataset_multi_images_and_ndarray.py40 … with open("../data/mindrecord/testImageNetData/images/image_00010.jpg", "rb") as file_reader:
41 img_data = file_reader.read()
Dtest_paddeddataset.py378 with open(ann_file, "r") as file_reader:
379 lines = file_reader.readlines()
386 with open(os.path.join(img_dir, filename), "rb") as file_reader:
387 img = file_reader.read()
Dtest_minddataset_padded.py597 with open(ann_file, "r") as file_reader:
598 lines = file_reader.readlines()
605 with open(os.path.join(img_dir, filename), "rb") as file_reader:
606 img = file_reader.read()
Dtest_minddataset_sampler.py776 with open(ann_file, "r") as file_reader:
777 lines = file_reader.readlines()
784 with open(os.path.join(img_dir, filename), "rb") as file_reader:
785 img = file_reader.read()
Dtest_minddataset.py936 with open(ann_file, "r") as file_reader:
937 lines = file_reader.readlines()
944 with open(os.path.join(img_dir, filename), "rb") as file_reader:
945 img = file_reader.read()
970 with open(file_name, "r") as file_reader:
971 lines = file_reader.readlines()
979 with open(os.path.join(dir_name, path), "rb") as file_reader:
980 img5 += [file_reader.read()]
1021 with open(image_path, "rb") as file_reader:
1022 img = file_reader.read()
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/
Dresponse.c316 file_reader (void *cls, uint64_t pos, char *buf, size_t max) in file_reader() function
372 &file_reader, in MHD_create_response_from_fd_at_offset()