/third_party/ltp/testcases/kernel/syscalls/fork/ |
D | fork09.c | 61 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() 121 if (fclose(fildeses[nfiles]) == -1) { in main() 123 "#%d, errno = %d", nfiles, errno); in main() [all …]
|
/third_party/flutter/skia/third_party/externals/libpng/contrib/libtests/ |
D | timepng.c | 193 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 == 0) /* Read from stdin withoout --dissemble */ in main() [all …]
|
/third_party/skia/third_party/externals/libpng/contrib/libtests/ |
D | timepng.c | 193 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 == 0) /* Read from stdin withoout --dissemble */ in main() [all …]
|
/third_party/ltp/testcases/kernel/syscalls/readdir/ |
D | readdir01.c | 26 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/ |
D | dwarf_getsrcfiles.c | 39 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()
|
D | dwarf_macro_getsrcfiles.c | 37 Dwarf_Files **files, size_t *nfiles) in dwarf_macro_getsrcfiles() argument 47 *nfiles = 0; in dwarf_macro_getsrcfiles() 84 *nfiles = table->files->nfiles; in dwarf_macro_getsrcfiles()
|
D | dwarf_next_lines.c | 39 Dwarf_Files **srcfiles, size_t *nfiles, in dwarf_next_lines() argument 188 if (nfiles != NULL) in dwarf_next_lines() 191 *nfiles = (*srcfiles)->nfiles; in dwarf_next_lines() 193 *nfiles = 0; in dwarf_next_lines()
|
D | dwarf_getsrcdirs.c | 42 *result = (void *) &files->info[files->nfiles]; in dwarf_getsrcdirs()
|
D | dwarf_line_file.c | 42 if (line->file >= line->files->nfiles) in dwarf_line_file()
|
D | dwarf_filesrc.c | 41 if (file == NULL || idx >= file->nfiles) in dwarf_filesrc()
|
D | dwarf_linesrc.c | 43 if (line->file >= line->files->nfiles) in dwarf_linesrc()
|
D | dwarf_getsrclines.c | 574 size_t nfiles; in read_srclines() local 575 get_uleb128 (nfiles, linep, lineendp); in read_srclines() 577 if (nforms == 0 && nfiles != 0) 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()
|
D | dwarf_decl_file.c | 81 if (idx >= cu->files->nfiles) in dwarf_decl_file()
|
D | libdw.h | 642 size_t *nfiles) 747 Dwarf_Files **srcfiles, size_t *nfiles, 990 Dwarf_Files **files, size_t *nfiles)
|
D | dwarf_getscopevar.c | 61 if (idx >= files->nfiles) in file_matches()
|
D | dwarf_getsrc_file.c | 92 if (lastfile >= line->files->nfiles) in dwarf_getsrc_file()
|
/third_party/ltp/testcases/kernel/syscalls/mkdir/ |
D | mkdir09.c | 80 static int nfiles = 5; variable 111 nfiles = atoi(opt_nfiles); in main() 140 for (j = 0; j < nfiles; j++) { in runtest() 249 for (j = 0; j < nfiles; j += NCHILD) { in runtest() 333 for (j = 0; j < nfiles; j += NCHILD) { in dochild1() 369 for (j = 1; j < nfiles; j += NCHILD) { in dochild2() 404 for (j = 2; j < nfiles; j += NCHILD) { in dochild3() 418 for (j = 2; j < nfiles; j += NCHILD) { in dochild3()
|
/third_party/elfutils/tests/ |
D | next-files.c | 54 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()
|
D | get-files.c | 71 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()
|
D | dwarf-getmacros.c | 62 size_t nfiles; in mac() local 63 if (dwarf_macro_getsrcfiles (dbg, macro, &files, &nfiles) < 0) in mac()
|
/third_party/ltp/testcases/kernel/fs/fsstress/ |
D | fsstress.c | 100 int nfiles; member 547 flist[i].nfiles = 0; in main() 563 if (ftp->nfiles == ftp->nslots) { in add_to_flist() 567 fep = &ftp->fents[ftp->nfiles++]; in add_to_flist() 724 if (slot != ftp->nfiles - 1) { in del_from_flist() 726 dcache_purge(ftp->fents[ftp->nfiles - 1].id); in del_from_flist() 727 ftp->fents[slot] = ftp->fents[--ftp->nfiles]; in del_from_flist() 729 ftp->nfiles--; in del_from_flist() 741 for (fep = flp->fents, efep = &fep[flp->nfiles]; fep < efep; fep++) { in dirid_to_fent() 817 for (j = 0, fep = flp->fents; j < flp->nfiles; j++, fep++) { in fix_parent() [all …]
|
/third_party/elfutils/libdwfl/ |
D | dwfl_lineinfo.c | 53 if (unlikely (info->file >= info->files->nfiles)) in dwfl_lineinfo()
|
D | dwfl_module_getsrc_file.c | 92 if (unlikely (line->file >= line->files->nfiles)) in dwfl_module_getsrc_file()
|
/third_party/optimized-routines/math/test/ |
D | mathtest.c | 1541 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/ |
D | nm.c | 642 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()
|