Home
last modified time | relevance | path

Searched refs:file_names (Results 1 – 21 of 21) sorted by relevance

/third_party/mindspore/tests/ut/cpp/mindrecord/
Dut_shard_writer_test.cc188 std::vector<std::string> file_names; in TEST_F() local
190 file_names.push_back("./train_base64.mindrecord01"); in TEST_F()
194 fw.Open(file_names); in TEST_F()
208 fw.OpenForAppend(file_names[0]); in TEST_F()
213 for (const auto &oneFile : file_names) { in TEST_F()
323 std::vector<std::string> file_names; in TEST_F() local
327 file_names.push_back("./train_base64.mindrecord01"); in TEST_F()
328 file_names.push_back("./train_base64.mindrecord02"); in TEST_F()
329 file_names.push_back("./train_base64.mindrecord03"); in TEST_F()
331 fw.Open(file_names); in TEST_F()
[all …]
Dut_common.cc199 std::vector<std::string> file_names; in ShardWriterImageNet() local
202 file_names.emplace_back(std::string("./imagenet.shard0") + std::to_string(i)); in ShardWriterImageNet()
203 MS_LOG(INFO) << "shard name is: " << common::SafeCStr(file_names[i - 1]); in ShardWriterImageNet()
209 fw_init.Open(file_names); in ShardWriterImageNet()
279 std::vector<std::string> file_names; in ShardWriterImageNetOneSample() local
281 file_names.emplace_back(std::string("./OneSample.shard0") + std::to_string(i)); in ShardWriterImageNetOneSample()
282 MS_LOG(INFO) << "shard name is: " << common::SafeCStr(file_names[i - 1]); in ShardWriterImageNetOneSample()
288 fw_init.Open(file_names); in ShardWriterImageNetOneSample()
367 std::vector<std::string> file_names; in ShardWriterImageNetOpenForAppend() local
369 file_names.emplace_back(std::string("./OpenForAppendSample.shard0") + std::to_string(i)); in ShardWriterImageNetOpenForAppend()
[all …]
/third_party/jerryscript/targets/nuttx-stm32f4/
Djerry_main.c317 const char *file_names[JERRY_MAX_COMMAND_LINE_ARGS]; in main() local
377 file_names[files_counter++] = argv[i]; in main()
412 const jerry_char_t *source_p = read_file (file_names[i], &source_size); in main()
420 ret_value = jerry_parse ((jerry_char_t *) file_names[i], in main()
421 strlen (file_names[i]), in main()
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_sanity.c249 static const char *file_names[TGSI_FILE_COUNT] = variable
281 report_error( ctx, "%s: Undeclared %s register", file_names[reg->file], name ); in check_register_usage()
290 report_error( ctx, "%s[%d][%d]: Undeclared %s register", file_names[reg->file], in check_register_usage()
294 report_error( ctx, "%s[%d]: Undeclared %s register", file_names[reg->file], in check_register_usage()
383 file_names[reg->file], reg->indices[0] ); in check_and_declare()
531 file_names[reg->file], reg->indices[0] ); in epilog()
/third_party/grpc/tools/run_tests/python_utils/
Dfilter_pull_request_tests.py134 def _can_skip_tests(file_names, triggers): argument
141 for file_name in file_names:
/third_party/skia/buildtools/checkdeps/
Dbuilddeps.py332 file_names = []
339 file_names.append(full_name)
342 yield (current_dir_rules, file_names)
/third_party/jerryscript/jerry-main/
Dmain-unix.c482 JERRY_VLA (const char *, file_names, argc); in main()
655 file_names[files_counter++] = cli_consume_string (&cli_state); in main()
736 const jerry_char_t *source_p = (jerry_char_t *) read_file (file_names[i], &source_size); in main()
750 ret_value = jerry_parse ((jerry_char_t *) file_names[i], in main()
751 strlen (file_names[i]), in main()
/third_party/mindspore/mindspore/core/load_mindir/
Dload_model.h29 std::vector<std::shared_ptr<FuncGraph>> LoadMindIRs(const std::vector<std::string> file_names, bool…
Dload_model.cc202 std::vector<std::shared_ptr<FuncGraph>> LoadMindIRs(std::vector<std::string> file_names, bool is_li… in LoadMindIRs() argument
206 for (const auto &file_name : file_names) { in LoadMindIRs()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/consumers/
Dtree_consumer.cc247 std::vector<std::string> file_names; in Save() local
249 file_names.push_back(dataset_path_); in Save()
252 file_names.push_back(dataset_path_ + std::to_string(i)); in Save()
259 RETURN_IF_NOT_OK(mindrecord::ShardWriter::Initialize(&mr_writer, file_names)); in Save()
309 RETURN_IF_NOT_OK(mindrecord::ShardIndexGenerator::Finalize(file_names)); in Save()
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/include/
Dshard_index_generator.h61 static Status Finalize(const std::vector<std::string> file_names);
Dshard_writer.h107 …ialize(const std::unique_ptr<ShardWriter> *writer_ptr, const std::vector<std::string> &file_names);
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/io/
Dshard_index_generator.cc590 Status ShardIndexGenerator::Finalize(const std::vector<std::string> file_names) { in Finalize() argument
591 CHECK_FAIL_RETURN_UNEXPECTED(!file_names.empty(), "Mindrecord files is empty."); in Finalize()
592 ShardIndexGenerator sg{file_names[0]}; in Finalize()
Dshard_writer.cc1129 const std::vector<std::string> &file_names) { in Initialize() argument
1131 RETURN_IF_NOT_OK((*writer_ptr)->Open(file_names, false)); in Initialize()
/third_party/mindspore/mindspore/ccsrc/minddata/mindrecord/meta/
Dshard_header.cc199 std::vector<std::string> file_names(file_paths.size()); in InitByFiles() local
200 …std::transform(file_paths.begin(), file_paths.end(), file_names.begin(), [](std::string fp) -> std… in InitByFiles()
205 shard_addresses_ = std::move(file_names); in InitByFiles()
/third_party/protobuf/src/google/protobuf/
Ddescriptor_database.cc73 std::vector<std::string> file_names; in ForAllFileProtos() local
74 if (!db->FindAllFileNames(&file_names)) { in ForAllFileProtos()
79 for (const auto& f : file_names) { in ForAllFileProtos()
/third_party/freetype/src/base/
Dftobjs.c2247 char* file_names[FT_RACCESS_N_RULES]; in load_face_in_embedded_rfork() local
2257 args->pathname, file_names, offsets, errors ); in load_face_in_embedded_rfork()
2279 args2.pathname = file_names[i] ? file_names[i] : args->pathname; in load_face_in_embedded_rfork()
2308 if ( file_names[i] ) in load_face_in_embedded_rfork()
2309 FT_FREE( file_names[i] ); in load_face_in_embedded_rfork()
/third_party/flutter/skia/third_party/externals/freetype/src/base/
Dftobjs.c2229 char* file_names[FT_RACCESS_N_RULES]; in load_face_in_embedded_rfork() local
2239 args->pathname, file_names, offsets, errors ); in load_face_in_embedded_rfork()
2261 args2.pathname = file_names[i] ? file_names[i] : args->pathname; in load_face_in_embedded_rfork()
2290 if ( file_names[i] ) in load_face_in_embedded_rfork()
2291 FT_FREE( file_names[i] ); in load_face_in_embedded_rfork()
/third_party/skia/third_party/externals/freetype/src/base/
Dftobjs.c2291 char* file_names[FT_RACCESS_N_RULES]; in load_face_in_embedded_rfork() local
2301 args->pathname, file_names, offsets, errors ); in load_face_in_embedded_rfork()
2323 args2.pathname = file_names[i] ? file_names[i] : args->pathname; in load_face_in_embedded_rfork()
2352 if ( file_names[i] ) in load_face_in_embedded_rfork()
2353 FT_FREE( file_names[i] ); in load_face_in_embedded_rfork()
/third_party/flatbuffers/include/flatbuffers/
Didl.h1162 const std::string &file_names);
/third_party/gettext/build-aux/
Dtexi2html15577 my @file_names = &$Texi2HTML::Config::image_files($base,$args[4]);
15579 foreach my $file (@file_names)