Home
last modified time | relevance | path

Searched refs:oname (Results 1 – 12 of 12) sorted by relevance

/external/blktrace/btt/
Daqd.c34 char *oname; in aqd_alloc() local
42 oname = malloc(strlen(aqd_name) + strlen(str) + 32); in aqd_alloc()
43 sprintf(oname, "%s_%s.dat", aqd_name, str); in aqd_alloc()
44 if ((ap->fp = my_fopen(oname, "w")) == NULL) { in aqd_alloc()
45 perror(oname); in aqd_alloc()
48 add_file(ap->fp, oname); in aqd_alloc()
Dbno_dump.c30 char *oname; in bno_dump_open() local
36 oname = malloc(strlen(bno_dump_name) + 32); in bno_dump_open()
37 sprintf(oname, "%s_%03d,%03d_%c.dat", bno_dump_name, mjr, mnr, rwc); in bno_dump_open()
38 if ((fp = my_fopen(oname, "w")) == NULL) in bno_dump_open()
39 perror(oname); in bno_dump_open()
41 add_file(fp, oname); in bno_dump_open()
Dplat.c32 char *oname; in plat_alloc() local
41 oname = malloc(strlen(str) + 32); in plat_alloc()
42 sprintf(oname, "%s.dat", str); in plat_alloc()
43 if ((pp->fp = my_fopen(oname, "w")) == NULL) { in plat_alloc()
44 perror(oname); in plat_alloc()
47 add_file(pp->fp, oname); in plat_alloc()
Dmisc.c37 char *oname; member
57 if (!stat(fip->oname, &buf) && (buf.st_size == 0)) in clean_files()
58 unlink(fip->oname); in clean_files()
61 free(fip->oname); in clean_files()
118 void add_file(FILE *fp, char *oname) in add_file() argument
123 fip->oname = oname; in add_file()
Dseek.c48 char *oname; in seek_open() local
52 oname = malloc(strlen(seek_name) + strlen(str) + 32); in seek_open()
53 sprintf(oname, "%s_%s_%c.dat", seek_name, str, rw); in seek_open()
54 if ((fp = my_fopen(oname, "w")) == NULL) in seek_open()
55 perror(oname); in seek_open()
57 add_file(fp, oname); in seek_open()
221 char *oname; in seeki_alloc() local
225 oname = malloc(strlen(sps_name) + strlen(str) + 32); in seeki_alloc()
226 sprintf(oname, "%s_%s.dat", sps_name, str); in seeki_alloc()
227 if ((sip->sps_fp = my_fopen(oname, "w")) == NULL) in seeki_alloc()
[all …]
Dunplug_hist.c71 char *oname = malloc(strlen(unplug_hist_name) + 32); in unplug_hist_free() local
73 sprintf(oname, "%s_%03d,%03d.dat", unplug_hist_name, mjr, mnr); in unplug_hist_free()
74 if ((fp = my_fopen(oname, "w")) != NULL) { in unplug_hist_free()
82 perror(oname); in unplug_hist_free()
84 free(oname); in unplug_hist_free()
Dlatency.c35 char oname[strlen(name) + 32]; in latency_open() local
40 sprintf(oname, "%s_%03d,%03d_%s.dat", name, mjr, mnr, post); in latency_open()
41 if ((fp = my_fopen(oname, "w")) == NULL) in latency_open()
42 perror(oname); in latency_open()
44 add_file(fp, strdup(oname)); in latency_open()
Dglobals.h246 void add_file(FILE *fp, char *oname);
/external/liblzf/
Dlzf.c331 compose_name (const char *fname, char *oname) in compose_name() argument
343 strcpy (oname, fname); in compose_name()
344 strcat (oname, ".lzf"); in compose_name()
354 strcpy (oname, fname); in compose_name()
355 p = &oname[strlen (oname)] - 4; in compose_name()
356 if (p < oname || strcmp (p, ".lzf")) in compose_name()
374 char oname[PATH_MAX + 1]; in run_file() local
377 if (compose_name (fname, oname)) in run_file()
410 fd2 = open_out (oname); in run_file()
413 fprintf (stderr, "%s: %s: ", imagename, oname); in run_file()
[all …]
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/python-yasm/pyxelator/
Dwrap_yasm.py20 def mk_tao(CPPFLAGS = "", CPP = "gcc -E", modname = '_yasm', oname = None, YASM_DIR = ".", **option… argument
21 if oname is None:
22 oname = modname+'.pyx'
36 unit = WorkUnit(files,modname,oname,False,mark_cb=cb,extradefs=extradefs,
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
Dfile.c539 char **oname) in yasm_fopen_include() argument
550 if (oname) in yasm_fopen_include()
551 *oname = combine; in yasm_fopen_include()
563 if (oname) in yasm_fopen_include()
564 *oname = combine; in yasm_fopen_include()
572 if (oname) in yasm_fopen_include()
573 *oname = NULL; in yasm_fopen_include()
Dfile.h223 /*@null@*/ /*@out@*/ /*@only@*/ char **oname);