/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/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/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/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/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/gettext/gettext-tools/src/ |
D | msgl-cat.c | 113 size_t nfiles = file_list->nitems; in catenate_msgdomain_list() local 122 mdlps = XNMALLOC (nfiles, msgdomain_list_ty *); in catenate_msgdomain_list() 123 for (n = 0; n < nfiles; n++) in catenate_msgdomain_list() 127 canon_charsets = XNMALLOC (nfiles, const char **); in catenate_msgdomain_list() 128 for (n = 0; n < nfiles; n++) in catenate_msgdomain_list() 217 identifications = XNMALLOC (nfiles, const char **); in catenate_msgdomain_list() 218 for (n = 0; n < nfiles; n++) in catenate_msgdomain_list() 280 for (n = 0; n < nfiles; n++) in catenate_msgdomain_list() 350 for (n = 0; n < nfiles; n++) in catenate_msgdomain_list() 381 if (nfiles > 0) in catenate_msgdomain_list() [all …]
|
D | user-email.sh.in | 150 nfiles="" 153 nfiles="$nfiles $file" 156 files="$nfiles"
|
/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/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() 758 if (slot != ftp->nfiles - 1) { in del_from_flist() 760 dcache_purge(ftp->fents[ftp->nfiles - 1].id); in del_from_flist() 761 ftp->fents[slot] = ftp->fents[--ftp->nfiles]; in del_from_flist() 763 ftp->nfiles--; in del_from_flist() 775 for (fep = flp->fents, efep = &fep[flp->nfiles]; fep < efep; fep++) { in dirid_to_fent() 851 for (j = 0, fep = flp->fents; j < flp->nfiles; j++, fep++) { in fix_parent() [all …]
|
/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()
|