Home
last modified time | relevance | path

Searched refs:datafile (Results 1 - 11 of 11) sorted by relevance

/third_party/ltp/testcases/kernel/sched/sched_stress/
H A Dsched_tc1.c163 FILE *datafile; /* file pointer to the open file */ in process_file() local
166 * Try and open the datafile in process_file()
168 if ((datafile = fopen(filename, "r")) == NULL) in process_file()
172 * Read the first record of the datafile, then read until end-of-file in process_file()
174 while (fgets(record, 80, datafile)) { in process_file()
175 if (feof(datafile)) in process_file()
180 * Close the datafile in process_file()
182 if (fclose(datafile)) in process_file()
H A Dsched_tc0.c176 FILE *datafile; /* file pointer to the open file */ in process_file() local
179 * Try and open the datafile in process_file()
181 if ((datafile = fopen(filename, "r")) == NULL) in process_file()
185 * Read the first record of the datafile, then read until end-of-file in process_file()
187 while (fgets(record, 80, datafile)) { in process_file()
188 if (feof(datafile)) in process_file()
193 * Close the datafile in process_file()
195 if (fclose(datafile)) in process_file()
H A Dsched_driver.c431 FILE *datafile; /* file pointer for temporary file */ local
455 if ((datafile = fopen("sch.measure", "r")) == NULL) {
462 fgets(temp, 50, datafile);
472 fgets(t2asc, 50, datafile);
479 if (fclose(datafile) != 0) {
/third_party/node/deps/v8/tools/
H A Dgc-nvp-trace-processor.py85 args = ['"%s"' % context.datafile,
118 def __init__(self, datafile, field_to_index):
119 self.datafile = datafile
155 with open(datafile_name, 'w') as datafile:
158 datafile.write('\t'.join(data_line))
159 datafile.write('\n')
161 def generate_script_and_datafile(plot, trace, datafile, output):
163 generate_datafile(datafile, trace, fields)
177 context = Context(datafile, field_to_inde
[all...]
/third_party/protobuf/benchmarks/php/
H A DPhpBenchmark.php98 $datafile = fopen($file, "r") or die("Unable to open file " . $file); variable
99 $bytes = fread($datafile, filesize($file));
/third_party/icu/icu4j/perf-tests/perldriver/
H A DPerfFramework4j.pm104 my $datafile = shift;
110 if($datafile) {
111 $locAndData .= " -f $datafile";
/third_party/icu/icu4c/source/test/perf/perldriver/
H A DPerfFramework.pm101 my $datafile = shift;
106 if($datafile) {
107 $locAndData .= " -f $datafile";
/third_party/skia/third_party/externals/freetype/src/tools/
H A Dafblue.pl26 die "usage: $prog datafile < infile > outfile\n" if $#ARGV != 0;
29 my $datafile = $ARGV[0];
31 my %diversions; # The extracted and massaged data from `datafile'.
89 warn "$datafile:$INPUT_LINE_NUMBER: warning: $message\n";
96 die "$datafile:$INPUT_LINE_NUMBER: error: $message\n";
234 open(DATA, $datafile) || die "$prog: can't open \`$datafile': $OS_ERROR\n";
537 my $s2 = "using data from file \`$datafile'.";
/third_party/nghttp2/src/
H A Dnghttp.h70 std::string datafile; member
H A Dh2load.cc2334 std::string datafile; in main() local
2406 datafile = optarg; in main()
2862 if (!datafile.empty()) { in main()
2863 config.data_fd = open(datafile.c_str(), O_RDONLY | O_BINARY); in main()
2865 std::cerr << "-d: Could not open file " << datafile << std::endl; in main()
2870 std::cerr << "-d: Could not stat file " << datafile << std::endl; in main()
2877 std::cerr << "-d: Could not mmap file " << datafile << std::endl; in main()
H A Dnghttp.cc2542 if (!config.datafile.empty()) { in run()
2543 if (config.datafile == "-") { in run()
2590 data_fd = open(config.datafile.c_str(), O_RDONLY | O_BINARY); in run()
2592 std::cerr << "[ERROR] Could not open file " << config.datafile in run()
2598 std::cerr << "[ERROR] Could not stat file " << config.datafile in run()
2959 config.datafile = optarg; in main()

Completed in 15 milliseconds