/third_party/ltp/testcases/kernel/sched/hyperthreading/ht_affinity/ |
D | ht_utils.c | 62 FILE *pfile; in get_cpu_count() local 65 pfile = fopen(CPUINFO_PATH, "r"); in get_cpu_count() 66 if (pfile == NULL) in get_cpu_count() 71 while (fgets(buf, 255, pfile) != NULL) { in get_cpu_count() 76 fclose(pfile); in get_cpu_count() 88 FILE *pfile; in get_current_cpu() local 92 pfile = fopen(buf, "r"); in get_current_cpu() 93 if (pfile == NULL) in get_current_cpu() 96 if (fscanf(pfile, "%d %s %c %d %d %d %d %d %d %d %d %d %d %d %d %d %d\ in get_current_cpu() 98 fclose(pfile); in get_current_cpu() [all …]
|
D | ht_affinity.c | 131 FILE *pfile; in get_porc_affinity() local 135 if ((pfile = fopen(buf, "r")) == NULL) in get_porc_affinity() 138 if (fgets(buf, 255, pfile) == NULL) { in get_porc_affinity() 139 fclose(pfile); in get_porc_affinity() 143 fclose(pfile); in get_porc_affinity()
|
/third_party/ltp/testcases/kernel/sched/hyperthreading/ht_enabled/ |
D | ht_utils.c | 66 FILE *pfile; in get_cpu_count() local 69 pfile = fopen(CPUINFO_PATH, "r"); in get_cpu_count() 70 if (pfile == NULL) in get_cpu_count() 75 while (fgets(buf, 255, pfile) != NULL) { in get_cpu_count() 80 fclose(pfile); in get_cpu_count() 92 FILE *pfile; in get_current_cpu() local 96 if ((pfile = fopen(buf, "r")) == NULL) in get_current_cpu() 99 if (fscanf(pfile, "%d %s %c %d %d %d %d %d %d %d %d %d %d %d %d %d\ in get_current_cpu() 101 fclose(pfile); in get_current_cpu() 105 fclose(pfile); in get_current_cpu()
|
/third_party/ltp/testcases/kernel/fs/scsi/ltpfs/ |
D | LtpfsCmds.c | 36 static int ltpdev_open(struct inode *inode, struct file *pfile); 37 static int ltpdev_release(struct inode *inode, struct file *pfile); 38 static int ltpdev_ioctl(struct inode *pinode, struct file *pfile, 69 static int ltpdev_open(struct inode *pinode, struct file *pfile) in ltpdev_open() argument 75 static int ltpdev_release(struct inode *pinode, struct file *pfile) in ltpdev_release() argument 82 static int ltpdev_ioctl(struct inode *pinode, struct file *pfile, in ltpdev_ioctl() argument
|
/third_party/python/Tools/scripts/ |
D | pickle2db.py | 68 pfile = sys.stdin 72 pfile = open(args[0], 'rb') 136 (key, val) = pickle.load(pfile) 142 pfile.close()
|
D | db2pickle.py | 64 pfile = sys.stdout 68 pfile = open(args[1], 'wb') 127 pickle.dump((k, db[k]), pfile, 1==1) 130 pfile.close()
|
/third_party/mesa3d/src/gallium/drivers/r300/compiler/ |
D | radeon_emulate_branches.c | 132 rc_register_file * pfile, unsigned int * pindex) in remap_proxy_function() argument 135 struct proxy_info * proxy = get_proxy_info(sap, *pfile, *pindex); in remap_proxy_function() 138 *pfile = RC_FILE_TEMPORARY; in remap_proxy_function() 249 rc_register_file * pfile, unsigned int * pindex) in remap_output_function() argument 253 if (*pfile == RC_FILE_OUTPUT && *pindex == data->Output) { in remap_output_function() 254 *pfile = RC_FILE_TEMPORARY; in remap_output_function()
|
D | radeon_remove_constants.c | 38 rc_register_file * pfile, unsigned int * pindex) in remap_regs() argument 42 if (*pfile == RC_FILE_CONSTANT) { in remap_regs()
|
D | radeon_dataflow.h | 72 rc_register_file * pfile, unsigned int * pindex);
|
/third_party/libsnd/src/ |
D | file_io.c | 86 static int psf_open_fd (PSF_FILE * pfile) ; 539 psf_open_fd (PSF_FILE * pfile) in psf_open_fd() argument 553 switch (pfile->mode) in psf_open_fd() 575 fd = open (pfile->path.c, oflag) ; in psf_open_fd() 577 fd = open (pfile->path.c, oflag, mode) ; in psf_open_fd() 614 static HANDLE psf_open_handle (PSF_FILE * pfile) ; 762 psf_open_handle (PSF_FILE * pfile) in psf_open_handle() argument 768 switch (pfile->mode) in psf_open_handle() 792 if (!pfile->use_wchar) in psf_open_handle() 799 …handle = CreateFile2 (pfile->path.wc, dwDesiredAccess, dwShareMode, dwCreationDistribution, &cfPar… in psf_open_handle() [all …]
|
/third_party/python/Lib/ |
D | trace.py | 226 for ((pfile, pmod, pfunc), (cfile, cmod, cfunc)) \ 228 if pfile != lastfile: 230 print("***", pfile, "***") 231 lastfile = pfile 233 if cfile != pfile and lastcfile != cfile:
|
/third_party/alsa-utils/alsaloop/ |
D | alsaloop.h | 194 FILE *pfile; member
|
D | pcmjob.c | 774 if (lhandle->loopback->pfile) in writeit() 776 r, lhandle->frame_size, lhandle->loopback->pfile); in writeit() 1384 loop->pfile = fopen(FILE_PWRITE, "w+"); in pcmjob_init() 1458 if (loop->pfile) { in pcmjob_done() 1459 fclose(loop->pfile); in pcmjob_done() 1460 loop->pfile = NULL; in pcmjob_done()
|
/third_party/libabigail/tests/data/test-read-dwarf/ |
D | test21-pr19092.so.abi | 3134 …<parameter type-id='type-id-222' name='pfile' filepath='../.././libcpp/charset.c' line='700' colum… 3138 …<parameter type-id='type-id-222' name='pfile' filepath='../.././libcpp/charset.c' line='740' colum… 3142 …<parameter type-id='type-id-222' name='pfile' filepath='../.././libcpp/charset.c' line='770' colum… 3147 …<parameter type-id='type-id-222' name='pfile' filepath='../.././libcpp/charset.c' line='983' colum… 3155 …<parameter type-id='type-id-222' name='pfile' filepath='../.././libcpp/charset.c' line='1371' colu… 3163 …<parameter type-id='type-id-222' name='pfile' filepath='../.././libcpp/charset.c' line='1452' colu… 3171 …<parameter type-id='type-id-222' name='pfile' filepath='../.././libcpp/charset.c' line='1602' colu… 3178 …<parameter type-id='type-id-222' name='pfile' filepath='../.././libcpp/charset.c' line='1634' colu… 3184 …<parameter type-id='type-id-222' name='pfile' filepath='../.././libcpp/charset.c' line='1698' colu… 3306 …<parameter type-id='type-id-222' name='pfile' filepath='../.././libcpp/directives.c' line='392' co… [all …]
|
/third_party/libabigail/tests/data/test-annotate/ |
D | test21-pr19092.so.abi | 4789 …<parameter type-id='type-id-222' name='pfile' filepath='../.././libcpp/charset.c' line='700' colum… 4796 …<parameter type-id='type-id-222' name='pfile' filepath='../.././libcpp/charset.c' line='740' colum… 4803 …<parameter type-id='type-id-222' name='pfile' filepath='../.././libcpp/charset.c' line='770' colum… 4812 …<parameter type-id='type-id-222' name='pfile' filepath='../.././libcpp/charset.c' line='983' colum… 4827 …<parameter type-id='type-id-222' name='pfile' filepath='../.././libcpp/charset.c' line='1371' colu… 4842 …<parameter type-id='type-id-222' name='pfile' filepath='../.././libcpp/charset.c' line='1452' colu… 4857 …<parameter type-id='type-id-222' name='pfile' filepath='../.././libcpp/charset.c' line='1602' colu… 4870 …<parameter type-id='type-id-222' name='pfile' filepath='../.././libcpp/charset.c' line='1634' colu… 4881 …<parameter type-id='type-id-222' name='pfile' filepath='../.././libcpp/charset.c' line='1698' colu… 5058 …<parameter type-id='type-id-222' name='pfile' filepath='../.././libcpp/directives.c' line='392' co… [all …]
|
/third_party/mesa3d/src/gtest/src/ |
D | gtest.cc | 4504 FILE* pfile = posix::FOpen(premature_exit_filepath, "w"); in ScopedPrematureExitFile() local 4505 fwrite("0", 1, 1, pfile); in ScopedPrematureExitFile() 4506 fclose(pfile); in ScopedPrematureExitFile()
|
/third_party/googletest/googletest/src/ |
D | gtest.cc | 5020 FILE* pfile = posix::FOpen(premature_exit_filepath, "w"); in ScopedPrematureExitFile() local 5021 fwrite("0", 1, 1, pfile); in ScopedPrematureExitFile() 5022 fclose(pfile); in ScopedPrematureExitFile()
|
/third_party/cef/tools/distrib/gtest/ |
D | gtest-all.cc | 6506 FILE* pfile = posix::FOpen(premature_exit_filepath, "w"); in ScopedPrematureExitFile() local 6507 fwrite("0", 1, 1, pfile); in ScopedPrematureExitFile() 6508 fclose(pfile); in ScopedPrematureExitFile()
|
/third_party/libbpf/.github/actions/build-selftests/ |
D | vmlinux.h | 72155 struct dentry *pfile; member
|