/external/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()
|
/external/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()
|
/external/one-true-awk/ |
D | main.c | 51 char *pfile[MAX_PFILE]; /* program filenames from -f's */ variable 105 pfile[npfile++] = &argv[1][2]; in main() 112 pfile[npfile++] = argv[1]; in main() 201 if (strcmp(pfile[curpfile], "-") == 0) in pgetc() 203 else if ((yyin = fopen(pfile[curpfile], "r")) == NULL) in pgetc() 204 FATAL("can't open file %s", pfile[curpfile]); in pgetc() 219 return pfile[curpfile]; in cursource()
|
/external/dtc/ |
D | fstree.c | 53 FILE *pfile; in read_fstree() local 55 pfile = fopen(tmpname, "rb"); in read_fstree() 56 if (! pfile) { in read_fstree() 62 data_copy_file(pfile, in read_fstree() 65 fclose(pfile); in read_fstree()
|
/external/u-boot/scripts/dtc/ |
D | fstree.c | 53 FILE *pfile; in read_fstree() local 55 pfile = fopen(tmpname, "rb"); in read_fstree() 56 if (! pfile) { in read_fstree() 62 data_copy_file(pfile, in read_fstree() 65 fclose(pfile); in read_fstree()
|
/external/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
|
/external/python/cpython2/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()
|
/external/python/cpython3/Tools/scripts/ |
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()
|
D | pickle2db.py | 68 pfile = sys.stdin 72 pfile = open(args[0], 'rb') 136 (key, val) = pickle.load(pfile) 142 pfile.close()
|
/external/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 | 70 rc_register_file * pfile, unsigned int * pindex);
|
/external/swiftshader/third_party/LLVM/test/CodeGen/PowerPC/ |
D | 2008-03-17-RegScavengerCrash.ll | 8 define i32 @cpp_interpret_string(i32 %pfile, %struct.cpp_string* %from, i32 %wide) nounwind { 29 …call fastcc void @emit_numeric_escape( i32 %pfile, i32 0, %struct._cpp_strbuf* null, i32 %wide ) n…
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/PowerPC/ |
D | 2008-03-17-RegScavengerCrash.ll | 8 define i32 @cpp_interpret_string(i32 %pfile, %struct.cpp_string* %from, i32 %wide) nounwind { 29 …call fastcc void @emit_numeric_escape( i32 %pfile, i32 0, %struct._cpp_strbuf* null, i32 %wide ) n…
|
/external/llvm/test/CodeGen/PowerPC/ |
D | 2008-03-17-RegScavengerCrash.ll | 8 define i32 @cpp_interpret_string(i32 %pfile, %struct.cpp_string* %from, i32 %wide) nounwind { 29 …call fastcc void @emit_numeric_escape( i32 %pfile, i32 0, %struct._cpp_strbuf* null, i32 %wide ) n…
|
/external/python/cpython3/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:
|
/external/python/cpython2/Lib/ |
D | trace.py | 285 for ((pfile, pmod, pfunc), (cfile, cmod, cfunc)) in calls: 286 if pfile != lastfile: 288 print "***", pfile, "***" 289 lastfile = pfile 291 if cfile != pfile and lastcfile != cfile:
|
/external/toolchain-utils/go/patch/ |
D | go2.patch | 59 pfile := strings.Replace(goname, ".go", ".o", -1) 64 - cmd = append(cmd, pfile) 66 + _, err = runcmd(findGoCmd(), "tool", "link", "-w", "-o", "a.exe", "-L", ".", pfile)
|
/external/stressapptest/src/ |
D | worker.h | 436 virtual bool OpenFile(int *pfile); 708 virtual bool OpenDevice(int *pfile);
|
D | worker.cc | 1595 bool FileThread::OpenFile(int *pfile) { in OpenFile() argument 1608 *pfile = fd; in OpenFile() 2727 bool DiskThread::OpenDevice(int *pfile) { in OpenDevice() argument 2739 *pfile = fd; in OpenDevice()
|
/external/libaom/libaom/third_party/googletest/src/googletest/src/ |
D | gtest.cc | 3869 FILE* pfile = posix::FOpen(premature_exit_filepath, "w"); in ScopedPrematureExitFile() local 3870 fwrite("0", 1, 1, pfile); in ScopedPrematureExitFile() 3871 fclose(pfile); in ScopedPrematureExitFile()
|
/external/mesa3d/src/gtest/src/ |
D | gtest.cc | 3868 FILE* pfile = posix::FOpen(premature_exit_filepath, "w"); in ScopedPrematureExitFile() local 3869 fwrite("0", 1, 1, pfile); in ScopedPrematureExitFile() 3870 fclose(pfile); in ScopedPrematureExitFile()
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/src/ |
D | gtest.cc | 3868 FILE* pfile = posix::FOpen(premature_exit_filepath, "w"); in ScopedPrematureExitFile() local 3869 fwrite("0", 1, 1, pfile); in ScopedPrematureExitFile() 3870 fclose(pfile); in ScopedPrematureExitFile()
|