Home
last modified time | relevance | path

Searched refs:num_files (Results 1 – 25 of 54) sorted by relevance

123

/external/e2fsprogs/misc/
Dmk_hugefiles.c63 static unsigned long num_files; variable
384 else if (num_files > 1) in mk_hugefile()
500 num_files = get_int_from_profile(fs_types, "num_hugefiles", 0); in mk_hugefiles()
535 d = int_log10(num_files) + 1; in mk_hugefiles()
554 if (num_blocks == 0 && num_files == 0) in mk_hugefiles()
555 num_files = 1; in mk_hugefiles()
557 if (num_files == 0 && num_blocks) { in mk_hugefiles()
558 num_files = fs_blocks / num_blocks; in mk_hugefiles()
559 fs_blocks -= (num_files / 16) + 1; in mk_hugefiles()
560 fs_blocks -= calc_overhead(fs, num_blocks) * num_files; in mk_hugefiles()
[all …]
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_cmdline.c108 load_glsl(unsigned num_files, char* const* files, gl_shader_stage stage) in load_glsl() argument
120 prog = standalone_compile_shader(&options, num_files, files, &local_ctx); in load_glsl()
289 int num_files = 0; in main() local
328 if (num_files != 0) in main()
332 if (num_files != 0) in main()
335 filenames[num_files++] = filename; in main()
344 if (num_files >= ARRAY_SIZE(filenames)) in main()
350 if (num_files >= ARRAY_SIZE(filenames)) in main()
356 if (num_files >= ARRAY_SIZE(filenames)) in main()
364 filenames[num_files++] = filename; in main()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dmatching_files_op.cc45 int num_files = 0; in Compute() local
50 num_files += all_fnames[i].size(); in Compute()
54 context, context->allocate_output("filenames", TensorShape({num_files}), in Compute()
64 std::sort(&output(0), &output(0) + num_files); in Compute()
/external/libcups/berkeley/
Dlpr.c41 int num_files; /* Number of files to print */ in main() local
57 num_files = 0; in main()
294 else if (num_files < 1000) in main()
308 files[num_files] = argv[i]; in main()
309 num_files ++; in main()
361 if (num_files > 0) in main()
363 job_id = cupsPrintFiles(printer, num_files, files, title, num_options, options); in main()
371 for (i = 0; i < num_files; i ++) in main()
/external/rust/crates/grpcio-sys/grpc/tools/run_tests/sanity/
Dcore_banned_functions.py53 num_files = 0 variable
57 num_files += 1
73 assert num_files > 300 # we definitely have more than 300 files
/external/grpc-grpc/tools/run_tests/sanity/
Dcore_banned_functions.py53 num_files = 0 variable
57 num_files += 1
73 assert num_files > 300 # we definitely have more than 300 files
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/serialization/
Dtextline_dataset_serialization_test.py42 num_files = 5
44 num_outputs = num_files * lines_per_file
47 num_files,
/external/libcups/systemv/
Dlp.c44 int num_files; /* Number of files to print */ in main() local
79 num_files = 0; in main()
224 if (num_files > 0) in main()
514 if (num_files || job_id) in main()
524 else if (num_files < 1000 && job_id == 0) in main()
536 files[num_files] = argv[i]; in main()
537 num_files ++; in main()
596 if (num_files > 0) in main()
597 job_id = cupsPrintFiles(printer, num_files, files, title, num_options, options); in main()
643 printer, job_id, num_files); in main()
/external/linux-kselftest/tools/testing/selftests/tc-testing/
Dtdc_multibatch.py54 num_files = args.num_files variable
60 for i in range(num_files):
/external/webrtc/rtc_base/
Dfile_rotating_stream.cc176 size_t num_files) in FileRotatingStream() argument
185 RTC_DCHECK_GT(num_files, 1); in FileRotatingStream()
188 for (size_t i = 0; i < num_files; ++i) { in FileRotatingStream()
189 file_names_.push_back(GetFilePath(i, num_files)); in FileRotatingStream()
191 rotation_index_ = num_files - 1; in FileRotatingStream()
329 size_t num_files) const { in GetFilePath()
330 RTC_DCHECK_LT(index, num_files); in GetFilePath()
335 const int max_digits = std::snprintf(nullptr, 0, "%zu", num_files - 1); in GetFilePath()
Dfile_rotating_stream.h42 size_t num_files);
98 std::string GetFilePath(size_t index, size_t num_files) const;
/external/autotest/client/tests/aiostress/
Daio-stress.c247 int num_files; member
930 int num_files, int depth, argument
933 size_t bytes = num_files * depth * sizeof(*t->ios);
942 for (i = 0 ; i < depth * num_files; i++) {
966 t->events = malloc(sizeof(struct io_event) * depth * num_files);
971 memset(t->events, 0, num_files * sizeof(struct io_event)*depth);
973 t->num_global_ios = num_files * depth;
994 int setup_shared_mem(int num_threads, int num_files, int depth, argument
1002 total_ram = num_files * depth * padded_reclen + num_threads;
1171 if (t->stage_mb_trans && t->num_files > 0) {
[all …]
/external/ltp/testcases/kernel/io/ltp-aiodio/
Daio-stress.c249 int num_files; member
950 int num_files, int depth, int reclen, int max_io_submit) argument
953 size_t bytes = num_files * depth * sizeof(*t->ios);
962 for (i = 0; i < depth * num_files; i++) {
986 t->events = malloc(sizeof(struct io_event) * depth * num_files);
991 memset(t->events, 0, num_files * sizeof(struct io_event) * depth);
993 t->num_global_ios = num_files * depth;
1011 int setup_shared_mem(int num_threads, int num_files, int depth, argument
1019 total_ram = num_files * depth * padded_reclen + num_threads;
1192 if (t->stage_mb_trans && t->num_files > 0) {
[all …]
/external/flac/src/metaflac/
Doperations.c47 static FLAC__bool do_shorthand_operation__add_replay_gain(char **filenames, unsigned num_files, FLA…
108 for(i = 0; i < options->num_files; i++) in do_major_operation()
262 for(i = 0; i < options->num_files; i++) in do_shorthand_operations()
266 if(ok && options->num_files > 0) { in do_shorthand_operations()
269 …ok = do_shorthand_operation__add_replay_gain(options->filenames, options->num_files, options->pres… in do_shorthand_operations()
271 …ok = do_shorthand_operation__add_replay_gain(options->filenames, options->num_files, options->pres… in do_shorthand_operations()
398 FLAC__bool do_shorthand_operation__add_replay_gain(char **filenames, unsigned num_files, FLAC__bool… in do_shorthand_operation__add_replay_gain() argument
410 FLAC__ASSERT(num_files > 0); in do_shorthand_operation__add_replay_gain()
412 for(i = 0; i < num_files; i++) { in do_shorthand_operation__add_replay_gain()
457 0 == (title_gains = safe_malloc_mul_2op_(sizeof(float), /*times*/num_files)) || in do_shorthand_operation__add_replay_gain()
[all …]
/external/libcups/cups/
Dutil.c748 int num_files, /* I - Number of files */ in cupsPrintFiles() argument
754 …m_files=%d, files=%p, title=\"%s\", num_options=%d, options=%p)", name, num_files, (void *)files, … in cupsPrintFiles()
760 return (cupsPrintFiles2(CUPS_HTTP_DEFAULT, name, num_files, files, title, in cupsPrintFiles()
776 int num_files, /* I - Number of files */ in cupsPrintFiles2() argument
795 …les=%p, title=\"%s\", num_options=%d, options=%p)", (void *)http, name, num_files, (void *)files, … in cupsPrintFiles2()
801 if (!name || num_files < 1 || !files) in cupsPrintFiles2()
825 for (i = 0; i < num_files; i ++) in cupsPrintFiles2()
847 i == (num_files - 1)); in cupsPrintFiles2()
/external/tensorflow/tensorflow/tools/gcs_test/python/
Dgcs_smoke.py86 num_files = 10
87 files_to_create = ["file_%d.txt" % n for n in range(num_files)]
135 num_files = 5
138 for n in range(num_files)]
140 for n in range(num_files)]
/external/llvm-project/lldb/source/API/
DSBFileSpecList.cpp114 uint32_t num_files = m_opaque_up->GetSize(); in GetDescription() local
115 strm.Printf("%d files: ", num_files); in GetDescription()
116 for (uint32_t i = 0; i < num_files; i++) { in GetDescription()
/external/capstone/suite/cstest/src/
Dhelper.c220 void listdir(const char *name, char ***files, int *num_files) in listdir() argument
235 listdir(path, files, num_files); in listdir()
237 cnt = *num_files; in listdir()
242 *num_files = cnt; in listdir()
Dmain.c308 int num_files, i; in test_folder() local
311 num_files = 0; in test_folder()
312 listdir(folder, &files, &num_files); in test_folder()
313 for (i = 0; i < num_files; ++i) { in test_folder()
/external/tensorflow/tensorflow/tools/docs/
Dgenerate2.py277 num_files = len(list(out_path.rglob("*")))
278 if num_files < 2000:
280 "(found {}).".format(num_files))
/external/llvm-project/lldb/source/Core/
DFileSpecList.cpp63 const size_t num_files = m_files.size(); in FindFileIndex() local
69 for (size_t idx = start_idx; idx < num_files; ++idx) { in FindFileIndex()
/external/libcups/scheduler/
Djob.c465 else if (job->file_time && job->file_time <= curtime && job->num_files > 0) in cupsdCleanJobs()
551 job, job->id, job->current_file, job->num_files); in cupsdContinueJob()
749 if ((job->compressions[job->current_file] && (!job->printer->remote || job->num_files == 1)) || in cupsdContinueJob()
750 (!job->printer->remote && job->printer->raw && job->num_files > 1)) in cupsdContinueJob()
850 job->current_file == (job->num_files - 1)) in cupsdContinueJob()
882 argc = 6 + job->num_files; in cupsdContinueJob()
905 if (job->printer->remote && job->num_files > 1) in cupsdContinueJob()
907 for (i = 0; i < job->num_files; i ++) in cupsdContinueJob()
1114 job->current_file = job->num_files; in cupsdContinueJob()
1276 if (job->current_file == job->num_files || in cupsdContinueJob()
[all …]
/external/flac/src/flac/
Dmain.c272 uint32_t num_files; member
358 if(option_values.num_files == 0) { in do_it()
460 if(option_values.num_files > 1 && option_values.cmdline_forced_outfilename) { in do_it()
466 …if(!option_values.mode_decode && 0 != option_values.cuesheet_filename && option_values.num_files >… in do_it()
490 if(option_values.num_files == 0) { in do_it()
495 if(option_values.num_files > 1) in do_it()
497 for(i = 0, retval = 0; i < option_values.num_files; i++) { in do_it()
511 if(option_values.num_files == 0) { in do_it()
516 if(option_values.num_files > 1) in do_it()
518 for(i = 0, retval = 0; i < option_values.num_files; i++) { in do_it()
[all …]
/external/libcups/backend/
Dipp.c215 int num_files; /* Number of files to print */ in main() local
596 num_files = 0; in main()
610 num_files = argc - 6; in main()
614 fprintf(stderr, "DEBUG: %d files to send in job...\n", num_files); in main()
683 if (num_files == 0) in main()
1387 if (http->version < HTTP_VERSION_1_1 && num_files == 0) in main()
1413 num_files = 1; in main()
1415 else if (http->version < HTTP_VERSION_1_1 && num_files == 1) in main()
1586 request = new_request((num_files > 1 || create_job) ? IPP_OP_CREATE_JOB : in main()
1597 if (num_files > 1 || create_job) in main()
[all …]
/external/libvpx/libvpx/test/
Dvpx_temporal_svc_encoder.sh85 local num_files="$(($2 - 1))"
86 for stream_num in $(seq 0 ${num_files}); do

123