/external/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 …]
|
/external/ltp/testcases/kernel/syscalls/readdir/ |
D | readdir01.c | 152 int nfiles, fd; in main() local 184 nfiles = Nfiles; in main() 187 nfiles = (lc % 90) + 10; in main() 190 for (cnt = 0; cnt < nfiles; cnt++) { in main() 226 if (cnt == nfiles) { in main() 229 nfiles); in main() 230 } else if (cnt > nfiles) { in main() 234 nfiles, cnt); in main() 239 nfiles, cnt); in main() 245 for (cnt = 0; cnt < nfiles; cnt++) { in main()
|
/external/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 …]
|
/external/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 | 568 size_t nfiles; in read_srclines() local 569 get_uleb128 (nfiles, linep, lineendp); in read_srclines() 571 if (nforms == 0 && nfiles != 0) in read_srclines() 576 if (nforms != 0 && nfiles > (size_t) (lineendp - linep) / nforms) in read_srclines() 581 for (unsigned int n = 0; n < nfiles; n++) in read_srclines() 999 files->nfiles = nfilelist; in read_srclines()
|
D | dwarf_decl_file.c | 80 if (idx >= cu->files->nfiles) in dwarf_decl_file()
|
D | libdw.h | 635 size_t *nfiles) 731 Dwarf_Files **srcfiles, size_t *nfiles, 974 Dwarf_Files **files, size_t *nfiles)
|
/external/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()
|
/external/libevent/ |
D | devpoll.c | 123 int dpfd, nfiles = NEVENT; in devpoll_init() local 132 nfiles = rl.rlim_cur; in devpoll_init() 146 devpollop->events = mm_calloc(nfiles, sizeof(struct pollfd)); in devpoll_init() 152 devpollop->nevents = nfiles; in devpoll_init() 154 devpollop->changes = mm_calloc(nfiles, sizeof(struct pollfd)); in devpoll_init()
|
/external/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()
|
/external/blktrace/btreplay/ |
D | btreplay.c | 153 static int nfiles = 0; // Number of files to handle variable 419 nfiles); in set_reclaim_done() 425 nfiles); in wait_reclaims_done() 431 nfiles); in set_replay_ready() 437 nfiles); in wait_replays_ready() 443 nfiles); in set_replay_done() 449 nfiles); in wait_replays_done() 455 nfiles); in set_iter_done() 461 nfiles); in wait_iters_done() 475 assert(1 <= iter_start && iter_start <= nfiles); in wait_iter_start() [all …]
|
/external/one-true-awk/ |
D | run.c | 1686 int nfiles; variable 1690 nfiles = FOPEN_MAX; in stdinit() 1691 files = calloc(nfiles, sizeof(*files)); in stdinit() 1693 FATAL("can't allocate file memory for %u files", nfiles); in stdinit() 1713 for (i=0; i < nfiles; i++) in openfile() 1723 for (i=0; i < nfiles; i++) in openfile() 1726 if (i >= nfiles) { in openfile() 1728 int nnf = nfiles + FOPEN_MAX; in openfile() 1732 memset(&nf[nfiles], 0, FOPEN_MAX * sizeof(*nf)); in openfile() 1733 nfiles = nnf; in openfile() [all …]
|
/external/e2fsprogs/contrib/ |
D | fsstress.c | 127 int nfiles; member 574 flist[i].nfiles = 0; in main() 590 if (ftp->nfiles == ftp->nslots) { in add_to_flist() 594 fep = &ftp->fents[ftp->nfiles++]; in add_to_flist() 751 if (slot != ftp->nfiles - 1) { in del_from_flist() 753 dcache_purge(ftp->fents[ftp->nfiles - 1].id); in del_from_flist() 754 ftp->fents[slot] = ftp->fents[--ftp->nfiles]; in del_from_flist() 756 ftp->nfiles--; in del_from_flist() 768 for (fep = flp->fents, efep = &fep[flp->nfiles]; fep < efep; fep++) { in dirid_to_fent() 844 for (j = 0, fep = flp->fents; j < flp->nfiles; j++, fep++) { in fix_parent() [all …]
|
/external/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 …]
|
/external/elfutils/libdwfl/ |
D | dwfl_lineinfo.c | 53 if (unlikely (info->file >= info->files->nfiles)) in dwfl_lineinfo()
|
/external/u-boot/fs/ |
D | fs.c | 46 int nfiles = 0, ndirs = 0; in fs_ls_generic() local 58 nfiles++; in fs_ls_generic() 64 printf("\n%d file(s), %d dir(s)\n\n", nfiles, ndirs); in fs_ls_generic()
|
/external/elfutils/include/elfutils/ |
D | libdw.h | 635 size_t *nfiles) 731 Dwarf_Files **srcfiles, size_t *nfiles, 974 Dwarf_Files **files, size_t *nfiles)
|