Home
last modified time | relevance | path

Searched refs:text_file (Results 1 – 25 of 660) sorted by relevance

12345678910>>...27

/dports/science/lammps/lammps-stable_29Sep2021/unittest/formats/
H A Dtest_dump_atom_compressed.cpp50 ASSERT_FILE_EXISTS(text_file); in TEST_F()
58 delete_file(text_file); in TEST_F()
79 ASSERT_FILE_EXISTS(text_file); in TEST_F()
87 delete_file(text_file); in TEST_F()
238 delete_file(text_file); in TEST_F()
262 delete_file(text_file); in TEST_F()
287 delete_file(text_file); in TEST_F()
312 delete_file(text_file); in TEST_F()
337 delete_file(text_file); in TEST_F()
362 delete_file(text_file); in TEST_F()
[all …]
H A Dtest_dump_custom_compressed.cpp48 ASSERT_FILE_EXISTS(text_file); in TEST_F()
54 ASSERT_FILE_EQUAL(text_file, converted_file); in TEST_F()
55 delete_file(text_file); in TEST_F()
78 ASSERT_FILE_EXISTS(text_file); in TEST_F()
85 delete_file(text_file); in TEST_F()
108 ASSERT_FILE_EXISTS(text_file); in TEST_F()
115 delete_file(text_file); in TEST_F()
135 ASSERT_FILE_EXISTS(text_file); in TEST_F()
142 delete_file(text_file); in TEST_F()
319 ASSERT_FILE_EXISTS(text_file); in TEST_F()
[all …]
H A Dtest_dump_atom.cpp316 ASSERT_FILE_EXISTS(text_file); in TEST_F()
323 delete_file(text_file); in TEST_F()
337 ASSERT_FILE_EXISTS(text_file); in TEST_F()
344 delete_file(text_file); in TEST_F()
358 ASSERT_FILE_EXISTS(text_file); in TEST_F()
365 delete_file(text_file); in TEST_F()
380 ASSERT_FILE_EXISTS(text_file); in TEST_F()
387 delete_file(text_file); in TEST_F()
409 delete_file(text_file); in TEST_F()
431 delete_file(text_file); in TEST_F()
[all …]
H A Dtest_dump_xyz_compressed.cpp101 auto text_file = text_dump_filename(base_name); in TEST_F() local
109 generate_text_and_compressed_dump(text_file, compressed_file, "", "", "", "checksum no", 1); in TEST_F()
111 generate_text_and_compressed_dump(text_file, compressed_file, "", "", 1); in TEST_F()
141 auto text_file = text_dump_filename(base_name); in TEST_F() local
148 generate_text_and_compressed_dump(text_file, compressed_file, "", "pad 3", 1); in TEST_F()
183 auto text_file = text_dump_filename(base_name); in TEST_F() local
192 generate_text_and_compressed_dump(text_file, compressed_file, "", "maxfiles 2", 2); in TEST_F()
254 auto text_file = text_dump_filename(base_name); in TEST_F() local
262 ASSERT_FILE_EXISTS(text_file); in TEST_F()
269 ASSERT_FILE_EQUAL(text_file, converted_file); in TEST_F()
[all …]
H A Dtest_dump_local_compressed.cpp212 auto text_file = text_dump_filename(base_name); in TEST_F() local
221 generate_text_and_compressed_dump(text_file, compressed_file, fields, fields, "", in TEST_F()
224 generate_text_and_compressed_dump(text_file, compressed_file, fields, "", 1); in TEST_F()
254 auto text_file = text_dump_filename(base_name); in TEST_F() local
262 generate_text_and_compressed_dump(text_file, compressed_file, fields, "pad 3", 1); in TEST_F()
297 auto text_file = text_dump_filename(base_name); in TEST_F() local
374 auto text_file = text_dump_filename(base_name); in TEST_F() local
378 generate_text_and_compressed_dump(text_file, compressed_file, fields, fields, "", in TEST_F()
383 ASSERT_FILE_EXISTS(text_file); in TEST_F()
390 ASSERT_FILE_EQUAL(text_file, converted_file); in TEST_F()
[all …]
H A Dtest_dump_custom.cpp61 void generate_text_and_binary_dump(std::string text_file, std::string binary_file, in generate_text_and_binary_dump() argument
193 auto text_file = "dump_custom_text_run1.melt"; in TEST_F() local
197 generate_text_and_binary_dump(text_file, binary_file, fields, "units yes", 1); in TEST_F()
199 ASSERT_FILE_EXISTS(text_file); in TEST_F()
205 ASSERT_FILE_EQUAL(text_file, converted_file); in TEST_F()
206 delete_file(text_file); in TEST_F()
234 auto text_file = "dump_custom_tri_text_run1.melt"; in TEST_F() local
240 generate_text_and_binary_dump(text_file, binary_file, fields, "units yes", 1); in TEST_F()
242 ASSERT_FILE_EXISTS(text_file); in TEST_F()
248 ASSERT_FILE_EQUAL(text_file, converted_file); in TEST_F()
[all …]
/dports/science/afni/afni-AFNI_21.3.16/.githooks/
H A Dtest_hooks.py20 text_file = Path("sample_repo.py")
21 text_file.write_text(sample_text)
24 return text_file
33 text_file = make_sample_repo(SAMPLE_TEXT)
36 text_file.write_text(SAMPLE_TEXT.replace("print('hi')", "print('bye')"))
61 text_file = make_sample_repo(SAMPLE_TEXT)
64 text_file.write_text(SAMPLE_TEXT.replace("print('hi')", "print('bye')"))
66 text_file.write_text(text_file.read_text() + "\nprint('An unblackened line')\n")
/dports/graphics/colmap/colmap-3.6/src/util/
H A Dply.cc333 std::fstream text_file(path, std::ios::out); in WriteBinaryPlyPoints() local
334 CHECK(text_file.is_open()) << path; in WriteBinaryPlyPoints()
336 text_file << "ply" << std::endl; in WriteBinaryPlyPoints()
340 text_file << "property float x" << std::endl; in WriteBinaryPlyPoints()
356 text_file << "end_header" << std::endl; in WriteBinaryPlyPoints()
357 text_file.close(); in WriteBinaryPlyPoints()
410 std::fstream text_file(path, std::ios::out); in WriteBinaryPlyMesh() local
411 CHECK(text_file.is_open()); in WriteBinaryPlyMesh()
413 text_file << "ply" << std::endl; in WriteBinaryPlyMesh()
421 text_file << "end_header" << std::endl; in WriteBinaryPlyMesh()
[all …]
/dports/devel/gdcm/gdcm-3.0.10/Examples/Cxx/
H A DELSCINT1WaveToText.cxx44 bool wave2stream( std::ostream &text_file, const char *in, size_t len ) in wave2stream() argument
48text_file << "COMPLETE_WAVE" << '\t' << "MASK" << '\t' << "AQUISITION_PROFIL" << '\t' << "EN… in wave2stream()
54text_file << buffer[i+74] << '\t' << buffer[i+75] << '\t' << 0 << '\t' << " … in wave2stream()
56text_file << buffer[i+74] << '\t' << buffer[i+75] << '\t' << 0 << '\t' << buf… in wave2stream()
58text_file << buffer[i+74] << '\t' << buffer[i+75] << '\t' << 0 << '\t' << " … in wave2stream()
60text_file << buffer[i+74] << '\t' << buffer[i+75] << '\t' << 1 << '\t' << " … in wave2stream()
62text_file << buffer[i+74] << '\t' << buffer[i+75] << '\t' << 1 << '\t' << buf… in wave2stream()
64text_file << buffer[i+74] << '\t' << buffer[i+75] << '\t' << 1 << '\t' << " … in wave2stream()
69text_file << buffer[i+74] << '\t' << buffer[i+75] << '\t' << 0 << '\t' << " … in wave2stream()
71text_file << buffer[i+74] << '\t' << buffer[i+75] << '\t' << 0 << '\t' << buf… in wave2stream()
[all …]
/dports/devel/cscout/cscout-bd7dfac/btyacc/
H A Ddtor.c194 if (quote) putc(*p++, text_file); in gen_yydestruct()
198 putc(*p++, text_file); in gen_yydestruct()
200 putc('\t', text_file); in gen_yydestruct()
207 fprintf(text_file, "(*val)"); in gen_yydestruct()
216 fprintf(text_file, "(*pos)"); in gen_yydestruct()
222 putc(*p++, text_file); } in gen_yydestruct()
224 putc('\n', text_file); in gen_yydestruct()
225 fprintf(text_file, "#\n"); in gen_yydestruct()
227 fprintf(text_file, " }\n"); in gen_yydestruct()
229 fprintf(text_file, " default:\n" in gen_yydestruct()
[all …]
/dports/devel/libdap/libdap-3.20.8/unit-tests/
H A Dchunked_iostream_test.cc70 string text_file; member in chunked_iostream_test
375 single_char_write(text_file, 32); in test_write_1_read_1_text_file()
376 single_char_read(text_file, 32); in test_write_1_read_1_text_file()
377 string cmp = "cmp " + text_file + " " + text_file + ".plain"; in test_write_1_read_1_text_file()
409 string cmp = "cmp " + text_file + " " + text_file + ".plain"; in test_write_1_read_128_text_file()
434 single_char_read(text_file, 32); in test_write_24_read_1_text_file()
435 string cmp = "cmp " + text_file + " " + text_file + ".plain"; in test_write_24_read_1_text_file()
463 string cmp = "cmp " + text_file + " " + text_file + ".plain"; in test_write_24_read_128_text_file()
489 single_char_read(text_file, 32); in test_write_128_read_1_text_file()
490 string cmp = "cmp " + text_file + " " + text_file + ".plain"; in test_write_128_read_1_text_file()
[all …]
/dports/graphics/colmap/colmap-3.6/src/mvs/
H A Dconsistency_graph.cc71 std::fstream text_file(path, std::ios::in | std::ios::binary); in Read() local
72 CHECK(text_file.is_open()) << path; in Read()
79 text_file >> width >> unused_char >> height >> unused_char >> depth >> in Read()
81 const std::streampos pos = text_file.tellg(); in Read()
82 text_file.close(); in Read()
104 std::fstream text_file(path, std::ios::out); in Write() local
105 CHECK(text_file.is_open()) << path; in Write()
106 text_file << map_.cols() << "&" << map_.rows() << "&" << 1 << "&"; in Write()
107 text_file.close(); in Write()
H A Dmat.h158 std::fstream text_file(path, std::ios::in | std::ios::binary); in Read()
159 CHECK(text_file.is_open()) << path; in Read()
162 text_file >> width_ >> unused_char >> height_ >> unused_char >> depth_ >> in Read()
164 std::streampos pos = text_file.tellg(); in Read()
165 text_file.close(); in Read()
181 std::fstream text_file(path, std::ios::out); in Write()
182 CHECK(text_file.is_open()) << path; in Write()
183 text_file << width_ << "&" << height_ << "&" << depth_ << "&"; in Write()
184 text_file.close(); in Write()
/dports/www/firefox-esr/firefox-91.8.0/gfx/wr/wrench/script/
H A Dgen-many-images.py7 with open("../benchmarks/many-images.yaml", "w") as text_file:
8 text_file.write("root:\n")
9 text_file.write(" items:\n")
14text_file.write(" - image: solid-color({0}, {1}, 0, 255, {2}, {2})\n".format(x, y, SIZE))
15 text_file.write(" bounds: {0} {1} {2} {2}\n".format(xb, yb, SIZE))
/dports/lang/spidermonkey78/firefox-78.9.0/gfx/wr/wrench/script/
H A Dgen-many-images.py7 with open("../benchmarks/many-images.yaml", "w") as text_file:
8 text_file.write("root:\n")
9 text_file.write(" items:\n")
14text_file.write(" - image: solid-color({0}, {1}, 0, 255, {2}, {2})\n".format(x, y, SIZE))
15 text_file.write(" bounds: {0} {1} {2} {2}\n".format(xb, yb, SIZE))
/dports/www/firefox/firefox-99.0/gfx/wr/wrench/script/
H A Dgen-many-images.py7 with open("../benchmarks/many-images.yaml", "w") as text_file:
8 text_file.write("root:\n")
9 text_file.write(" items:\n")
14text_file.write(" - image: solid-color({0}, {1}, 0, 255, {2}, {2})\n".format(x, y, SIZE))
15 text_file.write(" bounds: {0} {1} {2} {2}\n".format(xb, yb, SIZE))
/dports/mail/thunderbird/thunderbird-91.8.0/gfx/wr/wrench/script/
H A Dgen-many-images.py7 with open("../benchmarks/many-images.yaml", "w") as text_file:
8 text_file.write("root:\n")
9 text_file.write(" items:\n")
14text_file.write(" - image: solid-color({0}, {1}, 0, 255, {2}, {2})\n".format(x, y, SIZE))
15 text_file.write(" bounds: {0} {1} {2} {2}\n".format(xb, yb, SIZE))
/dports/japanese/canna-lib/Canna37p3/cmd/mkbindic/
H A Dmkbindic.cpp36 text_file=;
87 text_file=$1;
100 if [ ! -r $text_file ]; then
104 if [ -d $text_file ]; then
235 cp $text_file $cpp_text;
250 mv $text_file $bck_text;
254 mv $bck_text $text_file;
265 crxdic $flag $compat_flag -o $dic_name $text_file;
267 mv $bck_text $text_file;
275 mv $bck_text $text_file;
[all …]
/dports/japanese/canna-server/Canna37p3/cmd/mkbindic/
H A Dmkbindic.cpp36 text_file=;
87 text_file=$1;
100 if [ ! -r $text_file ]; then
104 if [ -d $text_file ]; then
235 cp $text_file $cpp_text;
250 mv $text_file $bck_text;
254 mv $bck_text $text_file;
265 crxdic $flag $compat_flag -o $dic_name $text_file;
267 mv $bck_text $text_file;
275 mv $bck_text $text_file;
[all …]
/dports/www/cpp-httplib/cpp-httplib-0.10.0/example/
H A Dupload.cc41 auto text_file = req.get_file_value("text_file"); in __anon4d881ee80202() local
45 << "text file length: " << text_file.content.length() << endl in __anon4d881ee80202()
46 << "text file name: " << text_file.filename << endl; in __anon4d881ee80202()
53 ofstream ofs(text_file.filename); in __anon4d881ee80202()
54 ofs << text_file.content; in __anon4d881ee80202()
/dports/print/harfbuzz-hb-view/harfbuzz-3.4.0/util/
H A Dtext-options.hh40 g_free (text_file); in ~text_options_t()
51 if (!text && !text_file) in post_parse()
52 text_file = g_strdup ("-"); in post_parse()
54 if (text && text_file) in post_parse()
62 if (text_file) in post_parse()
64 if (0 != strcmp (text_file, "-")) in post_parse()
65 in_fp = fopen (text_file, "r"); in post_parse()
72 text_file, strerror (errno)); in post_parse()
80 char *text_file = nullptr; member
338 …{"text-file", 0, 0, G_OPTION_ARG_STRING, &this->text_file, "Set input text file-name", "filename… in add_options()
/dports/print/harfbuzz-icu/harfbuzz-3.4.0/util/
H A Dtext-options.hh40 g_free (text_file); in ~text_options_t()
51 if (!text && !text_file) in post_parse()
52 text_file = g_strdup ("-"); in post_parse()
54 if (text && text_file) in post_parse()
62 if (text_file) in post_parse()
64 if (0 != strcmp (text_file, "-")) in post_parse()
65 in_fp = fopen (text_file, "r"); in post_parse()
72 text_file, strerror (errno)); in post_parse()
80 char *text_file = nullptr; member
338 …{"text-file", 0, 0, G_OPTION_ARG_STRING, &this->text_file, "Set input text file-name", "filename… in add_options()
/dports/print/harfbuzz/harfbuzz-3.4.0/util/
H A Dtext-options.hh40 g_free (text_file); in ~text_options_t()
51 if (!text && !text_file) in post_parse()
52 text_file = g_strdup ("-"); in post_parse()
54 if (text && text_file) in post_parse()
62 if (text_file) in post_parse()
64 if (0 != strcmp (text_file, "-")) in post_parse()
65 in_fp = fopen (text_file, "r"); in post_parse()
72 text_file, strerror (errno)); in post_parse()
80 char *text_file = nullptr; member
338 …{"text-file", 0, 0, G_OPTION_ARG_STRING, &this->text_file, "Set input text file-name", "filename… in add_options()
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/C3/src/lib_quadrature/
H A Dmytoc.py39 text_file = open("legquadrules.c","w") variable
40 text_file.write("%s" % totstring)
41 text_file.close()
90 text_file = open("legquadrules2.c","w") variable
91 text_file.write("%s" % totstring)
92 text_file.close()
/dports/math/pspp/pspp-1.4.1/src/ui/gui/
H A Dpsppire-delimited-text.c161 g_value_set_int (value, text_file->first_line);
164 g_value_set_pointer (value, text_file->delimiters);
540 text_file->child = NULL;
541 text_file->first_line = 0;
544 text_file->const_cache.string = NULL;
545 text_file->const_cache.length = 0;
546 text_file->cache_row = -1;
547 memset (text_file->cache_starts, 0, sizeof text_file->cache_starts);
549 text_file->max_delimiters = 0;
551 text_file->dispose_has_run = FALSE;
[all …]

12345678910>>...27