Home
last modified time | relevance | path

Searched refs:nfiles (Results 1 - 25 of 31) sorted by relevance

12

/third_party/ltp/testcases/kernel/syscalls/fork/
H A Dfork09.c61 static int mypid, nfiles; variable
97 for (nfiles = first; nfiles < OPEN_MAX; nfiles++) { in main()
98 sprintf(filname, "file%d.%d", nfiles, mypid); in main()
99 fildeses[nfiles] = fopen(filname, "a"); in main()
100 if (fildeses[nfiles] == NULL) { in main()
105 "file %d %s errno = %d", nfiles, in main()
113 tst_resm(TINFO, "Parent reporting %d files open", nfiles - 1); in main()
120 nfiles in main()
[all...]
/third_party/skia/third_party/externals/libpng/contrib/libtests/
H A Dtimepng.c193 static int perform_one_test(FILE *fp, int nfiles, png_int_32 transforms) in perform_one_test() argument
203 for (i=0; i<nfiles; ++i) in perform_one_test()
367 int nfiles = 0; in main() local
401 nfiles = atoi(argv[3]); in main()
402 if (nfiles <= 0) in main()
412 nfiles &= PNG_UINT_31_MAX; in main()
511 if (argc > 1 && nfiles > 0) in main()
520 if (nfiles == INT_MAX) in main()
527 ++nfiles; in main()
531 else if (nfiles in main()
[all...]
/third_party/ltp/testcases/kernel/syscalls/readdir/
H A Dreaddir01.c26 static int nfiles = 10; variable
34 for (i = 0; i < nfiles; i++) { in setup()
56 if (cnt == nfiles) { in verify_readdir()
57 tst_res(TPASS, "found all %d that were created", nfiles); in verify_readdir()
60 cnt > nfiles ? "more" : "less", nfiles, cnt); in verify_readdir()
/third_party/elfutils/libdw/
H A Ddwarf_getsrcfiles.c39 dwarf_getsrcfiles (Dwarf_Die *cudie, Dwarf_Files **files, size_t *nfiles) in dwarf_getsrcfiles() argument
80 res = INTUSE(dwarf_getsrcfiles) (&skeldie, files, nfiles); in dwarf_getsrcfiles()
103 if (nfiles != NULL) in dwarf_getsrcfiles()
104 *nfiles = cu->files->nfiles; in dwarf_getsrcfiles()
H A Ddwarf_macro_getsrcfiles.c37 Dwarf_Files **files, size_t *nfiles) in dwarf_macro_getsrcfiles()
47 *nfiles = 0; in dwarf_macro_getsrcfiles()
84 *nfiles = table->files->nfiles; in dwarf_macro_getsrcfiles()
36 dwarf_macro_getsrcfiles(Dwarf *dbg, Dwarf_Macro *macro, Dwarf_Files **files, size_t *nfiles) dwarf_macro_getsrcfiles() argument
H A Ddwarf_next_lines.c39 Dwarf_Files **srcfiles, size_t *nfiles, in dwarf_next_lines()
188 if (nfiles != NULL) in dwarf_next_lines()
191 *nfiles = (*srcfiles)->nfiles; in dwarf_next_lines()
193 *nfiles = 0; in dwarf_next_lines()
37 dwarf_next_lines(Dwarf *dbg, Dwarf_Off off, Dwarf_Off *next_off, Dwarf_CU **cu, Dwarf_Files **srcfiles, size_t *nfiles, Dwarf_Lines **srclines, size_t *nlines) dwarf_next_lines() argument
H A Ddwarf_getsrcdirs.c42 *result = (void *) &files->info[files->nfiles]; in dwarf_getsrcdirs()
H A Ddwarf_line_file.c42 if (line->file >= line->files->nfiles) in dwarf_line_file()
H A Ddwarf_filesrc.c41 if (file == NULL || idx >= file->nfiles) in dwarf_filesrc()
H A Ddwarf_getsrclines.c574 size_t nfiles; in read_srclines()
575 get_uleb128 (nfiles, linep, lineendp); in read_srclines()
577 if (nforms == 0 && nfiles != 0) in read_srclines()
581 the file. Filters out insanely large nfiles. */ in read_srclines()
582 if (nforms != 0 && nfiles > (size_t) (lineendp - linep) / nforms) in read_srclines()
587 for (unsigned int n = 0; n < nfiles; n++) in read_srclines()
1031 files->nfiles = nfilelist; in read_srclines()
H A Ddwarf_linesrc.c43 if (line->file >= line->files->nfiles) in dwarf_linesrc()
H A Ddwarf_decl_file.c81 if (idx >= cu->files->nfiles) in dwarf_decl_file()
H A Dlibdw.h642 size_t *nfiles)
747 Dwarf_Files **srcfiles, size_t *nfiles,
990 Dwarf_Files **files, size_t *nfiles)
H A Ddwarf_getscopevar.c61 if (idx >= files->nfiles) in file_matches()
H A Ddwarf_getsrc_file.c92 if (lastfile >= line->files->nfiles) in dwarf_getsrc_file()
/third_party/ltp/testcases/kernel/syscalls/mkdir/
H A Dmkdir09.c27 static int nfiles = 10; variable
40 for (j = 0; j < nfiles; j += NCHILD) { in test1()
60 for (j = 1; j < nfiles; j += NCHILD) { in test2()
80 for (j = 2; j < nfiles; j += NCHILD) { in test3()
86 for (j = 2; j < nfiles; j += NCHILD) { in test3()
132 for (j = 0; j < nfiles; j += NCHILD) { in setup()
/third_party/elfutils/tests/
H A Dget-files.c71 size_t nfiles; in main() local
72 if (dwarf_getsrcfiles (die, &files, &nfiles) != 0) in main()
95 for (size_t i = 0; i < nfiles; ++i) in main()
H A Dnext-files.c54 size_t nfiles; in main() local
57 &files, &nfiles, NULL, NULL)) == 0) in main()
77 for (size_t i = 0; i < nfiles; ++i) in main()
H A Ddwarf-getmacros.c62 size_t nfiles; in mac() local
63 if (dwarf_macro_getsrcfiles (dbg, macro, &files, &nfiles) < 0) in mac()
/third_party/node/deps/undici/src/node_modules/@fastify/busboy/lib/types/
H A Dmultipart.js64 let nfiles = 0
156 if (nfiles === filesLimit) {
164 ++nfiles
/third_party/elfutils/libdwfl/
H A Ddwfl_lineinfo.c53 if (unlikely (info->file >= info->files->nfiles)) in dwfl_lineinfo()
H A Ddwfl_module_getsrc_file.c92 if (unlikely (line->file >= line->files->nfiles)) in dwfl_module_getsrc_file()
/third_party/ltp/testcases/kernel/fs/fsstress/
H A Dfsstress.c101 int nfiles; member
548 flist[i].nfiles = 0; in main()
564 if (ftp->nfiles == ftp->nslots) { in add_to_flist()
568 fep = &ftp->fents[ftp->nfiles++]; in add_to_flist()
725 if (slot != ftp->nfiles - 1) { in del_from_flist()
727 dcache_purge(ftp->fents[ftp->nfiles - 1].id); in del_from_flist()
728 ftp->fents[slot] = ftp->fents[--ftp->nfiles]; in del_from_flist()
730 ftp->nfiles--; in del_from_flist()
742 for (fep = flp->fents, efep = &fep[flp->nfiles]; fep < efep; fep++) { in dirid_to_fent()
818 for (j = 0, fep = flp->fents; j < flp->nfiles; in fix_parent()
[all...]
/third_party/optimized-routines/math/test/
H A Dmathtest.c1541 int i, nfiles = 0; in main() local
1609 files[nfiles++] = "testfile"; in main()
1670 files[nfiles++] = p; in main()
1676 if (nfiles) { in main()
1677 for (i = 0; i < nfiles; i++) { in main()
/third_party/elfutils/src/
H A Dnm.c642 size_t nfiles; in get_local_names() local
643 if (dwarf_getsrcfiles (cudie, &files, &nfiles) != 0) in get_local_names()
666 if (dwarf_formudata (attr, &fileidx) != 0 || fileidx >= nfiles) in get_local_names()

Completed in 15 milliseconds

12