Home
last modified time | relevance | path

Searched refs:data_file (Results 1 – 25 of 32) sorted by relevance

12

/third_party/openssl/test/recipes/
D90-test_includes.t17 ok(run(test(["conf_include_test", data_file("includes.cnf")])), "test directory includes");
18 ok(run(test(["conf_include_test", data_file("includes-file.cnf")])), "test file includes");
19 ok(run(test(["conf_include_test", data_file("includes-eq.cnf")])), "test includes with equal charac…
20 ok(run(test(["conf_include_test", data_file("includes-eq-ws.cnf")])), "test includes with equal and…
22 ok(run(test(["conf_include_test", data_file("vms-includes.cnf")])),
24 ok(run(test(["conf_include_test", data_file("vms-includes-file.cnf")])),
27 ok(run(test(["conf_include_test", data_file("includes-broken.cnf"), "f"])), "test broken includes");
D04-test_pem.t86 my @data = run(app([@common, data_file($input)], stderr => undef), capture => 1);
93 …my @common = ($cmd, "pkey", "-inform", "PEM", "-passin", "file:" . data_file("wellknown"), "-noout…
97 @data = run(app([@common, data_file($input)], stderr => undef), capture => 1);
106 my @data = run(app([@common, data_file("beermug.pem")], stderr => undef), capture => 1);
D15-test_ecparam.t23 my @valid = glob(data_file("valid", "*.pem"));
24 my @invalid = glob(data_file("invalid", "*.pem"));
D80-test_ocsp.t217 ok(run(test(["ocspapitest", data_file("cert.pem"), data_file("key.pem")])),
D30-test_evp.t24 ok(run(test(["evp_test", data_file("$f")])),
D10-test_bn.t24 ok(run(test(["bntest", data_file($f)])),
D95-test_external_krb5.t23 ok(run(cmd([data_file("krb5.sh")])), "running krb5 tests");
D95-test_external_pyca.t27 ok(run(cmd(["sh", data_file("cryptography.sh")])),
D15-test_mp_rsa.t24 my $cleartext = data_file("plain_text");
D90-test_store.t298 "-config", data_file("ca.cnf"), "-nodes",
306 "-config", data_file("user.cnf"),
/third_party/lwip/src/apps/http/makefsdata/
Dmakefsdata.c115 int process_sub(FILE *data_file, FILE *struct_file);
116 int process_file(FILE *data_file, FILE *struct_file, const char *filename);
117 int file_write_http_header(FILE *data_file, const char *filename, int file_size, u16_t *http_hdr_le…
183 FILE *data_file; in main() local
297 data_file = fopen("fsdata.tmp", "wb"); in main()
298 if (data_file == NULL) { in main()
305 fclose(data_file); in main()
311 fprintf(data_file, "#include \"lwip/apps/fs.h\"" NEWLINE); in main()
312 fprintf(data_file, "#include \"lwip/def.h\"" NEWLINE NEWLINE NEWLINE); in main()
314 fprintf(data_file, "#define file_NULL (struct fsdata_file *) NULL" NEWLINE NEWLINE NEWLINE); in main()
[all …]
/third_party/mindspore/tests/ut/cpp/dataset/
Dc_api_text_vocab_test.cc48 std::string data_file = datasets_root_path_ + "/testVocab/words.txt"; in TEST_F() local
49 std::shared_ptr<Dataset> ds = TextFile({data_file}, 0, ShuffleMode::kFalse); in TEST_F()
102 std::string data_file = datasets_root_path_ + "/testVocab/words.txt"; in TEST_F() local
103 std::shared_ptr<Dataset> ds = TextFile({data_file}, 0, ShuffleMode::kFalse); in TEST_F()
157 std::string data_file = datasets_root_path_ + "/testVocab/words.txt"; in TEST_F() local
158 std::shared_ptr<Dataset> ds = TextFile({data_file}, 0, ShuffleMode::kFalse); in TEST_F()
204 std::string data_file = datasets_root_path_ + "/testVocab/words.txt"; in TEST_F() local
205 std::shared_ptr<Dataset> ds = TextFile({data_file}, 0, ShuffleMode::kFalse); in TEST_F()
231 std::string data_file = datasets_root_path_ + "/testVocab/words.txt"; in TEST_F() local
232 std::shared_ptr<Dataset> ds = TextFile({data_file}, 0, ShuffleMode::kFalse); in TEST_F()
[all …]
Dc_api_text_test.cc43 std::string data_file = datasets_root_path_ + "/testTokenizerData/basic_tokenizer.txt"; in TEST_F() local
44 std::shared_ptr<Dataset> ds = TextFile({data_file}, 0, ShuffleMode::kFalse); in TEST_F()
104 std::string data_file = datasets_root_path_ + "/testTokenizerData/basic_tokenizer.txt"; in TEST_F() local
105 std::shared_ptr<Dataset> ds = TextFile({data_file}, 0, ShuffleMode::kFalse); in TEST_F()
154 std::string data_file = datasets_root_path_ + "/testTokenizerData/basic_tokenizer.txt"; in TEST_F() local
155 std::shared_ptr<Dataset> ds = TextFile({data_file}, 0, ShuffleMode::kFalse); in TEST_F()
232 std::string data_file = datasets_root_path_ + "/testTokenizerData/bert_tokenizer.txt"; in TEST_F() local
233 std::shared_ptr<Dataset> ds = TextFile({data_file}, 0, ShuffleMode::kFalse); in TEST_F()
291 std::string data_file = datasets_root_path_ + "/testTokenizerData/bert_tokenizer.txt"; in TEST_F() local
292 std::shared_ptr<Dataset> ds = TextFile({data_file}, 0, ShuffleMode::kFalse); in TEST_F()
[all …]
Dc_api_text_sentence_piece_vocab_test.cc52 std::string data_file = datasets_root_path_ + "/testTokenizerData/sentencepiece_tokenizer.txt"; in TEST_F() local
53 std::shared_ptr<Dataset> ds = TextFile({data_file}, 0, ShuffleMode::kFalse); in TEST_F()
114 std::string data_file = datasets_root_path_ + "/testTokenizerData/sentencepiece_tokenizer.txt"; in TEST_F() local
115 std::shared_ptr<Dataset> ds = TextFile({data_file}, 0, ShuffleMode::kFalse); in TEST_F()
193 std::string data_file = datasets_root_path_ + "/testTokenizerData/sentencepiece_tokenizer.txt"; in TEST_F() local
194 std::shared_ptr<Dataset> ds = TextFile({data_file}, 0, ShuffleMode::kFalse); in TEST_F()
217 std::string data_file = datasets_root_path_ + "/testTokenizerData/sentencepiece_tokenizer.txt"; in TEST_F() local
218 std::shared_ptr<Dataset> ds = TextFile({data_file}, 0, ShuffleMode::kFalse); in TEST_F()
241 std::string data_file = datasets_root_path_ + "/testTokenizerData/sentencepiece_tokenizer.txt"; in TEST_F() local
242 std::shared_ptr<Dataset> ds = TextFile({data_file}, 0, ShuffleMode::kFalse); in TEST_F()
[all …]
Dc_api_dataset_ops_test.cc605 std::string data_file = datasets_root_path_ + "/test_tf_file_3_images/train-0000-of-0001.data"; in TEST_F() local
607 …std::shared_ptr<Dataset> ds = TFRecord({data_file}, schema_file, {"image", "label"}, 0, ShuffleMod… in TEST_F()
662 std::string data_file = datasets_root_path_ + "/test_tf_file_3_images/train-0000-of-0001.data"; in TEST_F() local
664 …std::shared_ptr<Dataset> ds = TFRecord({data_file}, schema_file, {"image", "label"}, 0, ShuffleMod… in TEST_F()
709 std::string data_file = datasets_root_path_ + "/test_tf_file_3_images/train-0000-of-0001.data"; in TEST_F() local
711 …std::shared_ptr<Dataset> ds = TFRecord({data_file}, schema_file, {"image", "label"}, 0, ShuffleMod… in TEST_F()
731 std::string data_file = datasets_root_path_ + "/test_tf_file_3_images/train-0000-of-0001.data"; in TEST_F() local
733 …std::shared_ptr<Dataset> ds = TFRecord({data_file}, schema_file, {"image", "label"}, 0, ShuffleMod… in TEST_F()
767 std::string data_file = datasets_root_path_ + "/test_tf_file_3_images/train-0000-of-0001.data"; in TEST_F() local
769 …std::shared_ptr<Dataset> ds = TFRecord({data_file}, schema_file, {"image", "label"}, 0, ShuffleMod… in TEST_F()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/datasetops/source/
Dusps_op.cc103 for (auto data_file : op->FileNames()) { in CountTotalRows() local
104 *count += op->CountRows(data_file); in CountTotalRows()
109 int64_t USPSOp::CountRows(const std::string &data_file) { in CountRows() argument
111 data_file_reader.open(data_file, std::ios::in); in CountRows()
113 MS_LOG(ERROR) << "Invalid file, failed to open file: " << data_file; in CountRows()
166 Status USPSOp::LoadFile(const std::string &data_file, int64_t start_offset, int64_t end_offset, int… in LoadFile() argument
167 std::ifstream data_file_reader(data_file); in LoadFile()
169 RETURN_STATUS_UNEXPECTED("Invalid file, failed to open file: " + data_file); in LoadFile()
190 tRow.setPath({data_file}); in LoadFile()
Dusps_op.h87 int64_t CountRows(const std::string &data_file);
95 …Status LoadFile(const std::string &data_file, int64_t start_offset, int64_t end_offset, int32_t wo…
/third_party/mbedtls/tests/scripts/
Dgenerate_test_code.py926 def add_input_info(funcs_file, data_file, template_file, argument
942 snippets['test_case_data_file'] = data_file
1002 def generate_intermediate_data_file(data_file, out_data_file, argument
1016 with FileWrapper(data_file) as data_f, \
1041 data_file = input_info['data_file']
1049 ('Data file', data_file),
1060 add_input_info(funcs_file, data_file, template_file,
1063 generate_intermediate_data_file(data_file, out_data_file,
1121 data_file_name = os.path.basename(args.data_file)
1133 generate_code(funcs_file=args.funcs_file, data_file=args.data_file,
Dcheck_test_cases.py85 with open(data_file_name, 'rb') as data_file:
86 for line_number, line in enumerate(data_file, 1):
/third_party/python/Lib/test/test_asyncio/
Dutils.py40 def data_file(filename): function
51 ONLYCERT = data_file('ssl_cert.pem')
52 ONLYKEY = data_file('ssl_key.pem')
53 SIGNED_CERTFILE = data_file('keycert3.pem')
54 SIGNING_CA = data_file('pycacert.pem')
/third_party/mindspore/tests/st/model_zoo_tests/transformer/
Dtest_transformer.py96 def load_test_data(batch_size=1, data_file=None): argument
98 data_set = ds.MindDataset(data_file,
163 dataset = load_test_data(batch_size=config.batch_size, data_file=DATA_DIR)
/third_party/mbedtls/tests/
DCMakeLists.txt87 set(data_file variable
90 set(data_file variable
103 -d ${data_file}
112 ${data_file}
/third_party/mindspore/mindspore/profiler/parser/
Doptime_parser.py67 with open(self._hwts_output_file, 'r') as data_file:
68 lines = data_file.readlines()
Dminddata_analyzer.py561 data_file = open(output_csv_path_filename, 'w')
564 csv_writer = csv.writer(data_file)
575 data_file.close()
/third_party/gn/src/gn/
Dfunction_exec_script.cc115 [ rebase_path("data_file.txt", root_build_dir) ])

12