Home
last modified time | relevance | path

Searched refs:pfile (Results 1 – 25 of 29) sorted by relevance

12

/external/ltp/testcases/kernel/sched/hyperthreading/ht_affinity/
Dht_utils.c62 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 …]
Dht_affinity.c131 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/
Dht_utils.c66 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/
Dmain.c50 char *pfile[MAX_PFILE]; /* program filenames from -f's */ variable
104 pfile[npfile++] = &argv[1][2]; in main()
111 pfile[npfile++] = argv[1]; in main()
200 if (strcmp(pfile[curpfile], "-") == 0) in pgetc()
202 else if ((yyin = fopen(pfile[curpfile], "r")) == NULL) in pgetc()
203 FATAL("can't open file %s", pfile[curpfile]); in pgetc()
218 return pfile[curpfile]; in cursource()
/external/dtc/
Dfstree.c53 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/
Dfstree.c53 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/
DLtpfsCmds.c36 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/cpython3/Tools/scripts/
Dpickle2db.py68 pfile = sys.stdin
72 pfile = open(args[0], 'rb')
136 (key, val) = pickle.load(pfile)
142 pfile.close()
Ddb2pickle.py64 pfile = sys.stdout
68 pfile = open(args[1], 'wb')
127 pickle.dump((k, db[k]), pfile, 1==1)
130 pfile.close()
/external/python/cpython2/Tools/scripts/
Ddb2pickle.py64 pfile = sys.stdout
68 pfile = open(args[1], 'wb')
127 pickle.dump((k, db[k]), pfile, 1==1)
130 pfile.close()
Dpickle2db.py68 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/
Dradeon_emulate_branches.c132 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()
Dradeon_remove_constants.c38 rc_register_file * pfile, unsigned int * pindex) in remap_regs() argument
42 if (*pfile == RC_FILE_CONSTANT) { in remap_regs()
Dradeon_dataflow.h70 rc_register_file * pfile, unsigned int * pindex);
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/PowerPC/
D2008-03-17-RegScavengerCrash.ll8 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/
D2008-03-17-RegScavengerCrash.ll8 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/cpython2/Lib/
Dtrace.py285 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/python/cpython3/Lib/
Dtrace.py225 for ((pfile, pmod, pfunc), (cfile, cmod, cfunc)) \
227 if pfile != lastfile:
229 print("***", pfile, "***")
230 lastfile = pfile
232 if cfile != pfile and lastcfile != cfile:
/external/toolchain-utils/go/patch/go-1.10.3/
Dgo2.patch43 pfile := strings.Replace(goname, ".go", ".o", -1)
48 - cmd = append(cmd, pfile)
51 + _, err = runcmd(findGoCmd(), "tool", "link", "-w", "-o", "a.exe", "-L", ".", pfile)
/external/toolchain-utils/go/patch/go-1.11.2/
Dgo2.patch51 pfile := strings.Replace(goname, ".go", ".o", -1)
57 cmd = append(cmd, pfile)
59 + _, err = runcmd(findGoCmd(), "tool", "link", "-w", "-o", "a.exe", "-L", ".", pfile)
/external/toolchain-utils/go/patch/go-1.10.2/
Dgo2.patch59 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/
Dworker.h436 virtual bool OpenFile(int *pfile);
708 virtual bool OpenDevice(int *pfile);
Dworker.cc1595 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/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/src/
Dgtest.cc3868 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/libvpx/libvpx/third_party/googletest/src/src/
Dgtest.cc4387 FILE* pfile = posix::FOpen(premature_exit_filepath, "w"); in ScopedPrematureExitFile() local
4388 fwrite("0", 1, 1, pfile); in ScopedPrematureExitFile()
4389 fclose(pfile); in ScopedPrematureExitFile()

12