Searched refs:optf (Results 1 - 25 of 31) sorted by relevance

12

/macosx-10.10.1/xnu-2782.1.97/tools/tests/libMicro/
H A Dstrftime.c41 static char *optf = DEFF; variable
72 optf = optarg;
86 (void) sprintf(result, "%8s", optf);
115 (void) strftime(s, MAXSIZE, optf, &ts->ts_tm1);
116 (void) strftime(s, MAXSIZE, optf, &ts->ts_tm2);
117 (void) strftime(s, MAXSIZE, optf, &ts->ts_tm1);
118 (void) strftime(s, MAXSIZE, optf, &ts->ts_tm2);
119 (void) strftime(s, MAXSIZE, optf, &ts->ts_tm1);
120 (void) strftime(s, MAXSIZE, optf, &ts->ts_tm2);
121 (void) strftime(s, MAXSIZE, optf,
[all...]
H A Dfcntl.c45 static char *optf = DEFF; variable
67 optf = optarg;
78 if ((fd = open(optf, O_RDONLY)) == -1) {
H A Drealpath.c41 static char *optf = DEFF; variable
63 optf = optarg;
79 if (realpath(optf, path) == NULL)
H A Dstat.c40 static char *optf = DEFF; variable
63 optf = optarg;
81 if (stat(optf, &sbuf) == -1)
H A Disatty.c43 static char *optf = DEFF; variable
71 optf = optarg;
89 open(optf, O_RDONLY) : 1024);
H A Dmemcpy.c46 static int optf; variable
82 optf++;
104 if (optf)
135 if (optf) {
H A Dmemmove.c46 static int optf; variable
82 optf++;
104 if (optf)
135 if (optf) {
H A Dclose.c43 static char *optf = DEFF; variable
73 optf = optarg;
118 open(optf, O_RDONLY) : i + 1024);
H A Ddup.c43 static char *optf = DEFF; variable
74 optf = optarg;
86 fd = (open(optf, O_RDONLY));
H A Dlseek.c49 static char *optf = DEFF; variable
80 optf = optarg;
97 ts->ts_fd = open(optf, O_RDONLY);
H A Dopen.c50 static char *optf = DEFF; variable
74 optf = optarg;
117 ts->ts_fds[i] = open(optf, O_RDONLY);
H A Dpread.c49 static char *optf = DEFF; variable
81 optf = optarg;
95 fd = open(optf, O_RDONLY);
H A Dpwrite.c50 static char *optf = DEFF; variable
81 optf = optarg;
95 fd = open(optf, O_WRONLY);
H A Dread.c51 static char *optf = DEFF; variable
84 optf = optarg;
108 ts->ts_fd = open(optf, O_RDONLY);
H A Dsocket.c46 static char *optf = DEFF; variable
85 optf = optarg;
99 family = lookup_family(optf);
H A Dwrite.c51 static char *optf = DEFF; variable
91 optf = optarg;
110 ts->ts_fd = open(optf, O_WRONLY);
H A Dmsync.c48 static char *optf = DEFF; variable
90 optf = optarg;
125 if ((fd = open(optf, O_RDWR)) < 0) {
H A Dwritev.c54 static char *optf = DEFF; variable
86 optf = optarg;
108 ts->ts_fd = open(optf, O_WRONLY);
/macosx-10.10.1/xnu-2782.1.97/tools/tests/libMicro/apple/
H A Dcreate_file.c98 static char * optf; // allocated in benchmark_init, freed in benchmark_fini. variable
124 optf = malloc(MAXPATHLEN);
125 sprintf(optf, "/tmp/create_file_%d", getpid());
141 strncpy(optf, optarg, 20);
142 (void)fprintf(stderr, "optf = %s\n", optf);
196 if (!open(optf, O_CREAT))
244 free(optf);
H A Dlmbench_openclose.c45 static char *optf = DEFF; variable
68 optf = optarg;
96 fd = open(optf, 0);
H A Dlmbench_stat.c48 static char *optf = DEFF; variable
71 optf = optarg;
99 if (stat(optf, &sbuf) == -1)
H A Dlmbench_fstat.c53 static char *optf = DEFF; variable
77 optf = optarg;
95 ts->ts_fd = open(optf, O_RDONLY);
H A Dlmbench_read.c54 static char *optf = DEFF; variable
87 optf = optarg;
111 ts->ts_fd = open(optf, O_RDONLY);
H A Dlmbench_write.c54 static char *optf = DEFF; variable
94 optf = optarg;
113 ts->ts_fd = open(optf, O_WRONLY);
H A Dlmbench_lat_sig_prot.c85 static char *optf = "/Volumes/data/darbench/bin-i386/lmbench_lat_sig_prot"; variable
203 (void) fprintf(stderr, "benchmark_optswitch: FILENAME entry = %s\n",optf);
204 //strcpy(optf, optarg);
223 (void) fprintf(stderr, "benchmark_initworker: entry = %s\n",optf);
225 ts->fname = optf;

Completed in 138 milliseconds

12