/external/blktrace/btt/ |
aqd.c | 34 char *oname; local 42 oname = malloc(strlen(aqd_name) + strlen(str) + 32); 43 sprintf(oname, "%s_%s.dat", aqd_name, str); 44 if ((ap->fp = my_fopen(oname, "w")) == NULL) { 45 perror(oname); 48 add_file(ap->fp, oname);
|
latency.c | 35 char oname[strlen(name) + 32]; local 40 sprintf(oname, "%s_%03d,%03d_%s.dat", name, mjr, mnr, post); 41 if ((fp = my_fopen(oname, "w")) == NULL) 42 perror(oname); 44 add_file(fp, strdup(oname));
|
bno_dump.c | 30 char *oname; local 36 oname = malloc(strlen(bno_dump_name) + 32); 37 sprintf(oname, "%s_%03d,%03d_%c.dat", bno_dump_name, mjr, mnr, rwc); 38 if ((fp = my_fopen(oname, "w")) == NULL) 39 perror(oname); 41 add_file(fp, oname);
|
plat.c | 32 char *oname; local 41 oname = malloc(strlen(str) + 32); 42 sprintf(oname, "%s.dat", str); 43 if ((pp->fp = my_fopen(oname, "w")) == NULL) { 44 perror(oname); 47 add_file(pp->fp, oname);
|
unplug_hist.c | 71 char *oname = malloc(strlen(unplug_hist_name) + 32); local 73 sprintf(oname, "%s_%03d,%03d.dat", unplug_hist_name, mjr, mnr); 74 if ((fp = my_fopen(oname, "w")) != NULL) { 82 perror(oname); 84 free(oname);
|
misc.c | 37 char *oname; member in struct:file_info 57 if (!stat(fip->oname, &buf) && (buf.st_size == 0)) 58 unlink(fip->oname); 61 free(fip->oname); 118 void add_file(FILE *fp, char *oname) 123 fip->oname = oname;
|
seek.c | 48 char *oname; local 52 oname = malloc(strlen(seek_name) + strlen(str) + 32); 53 sprintf(oname, "%s_%s_%c.dat", seek_name, str, rw); 54 if ((fp = my_fopen(oname, "w")) == NULL) 55 perror(oname); 57 add_file(fp, oname); 221 char *oname; local 225 oname = malloc(strlen(sps_name) + strlen(str) + 32); 226 sprintf(oname, "%s_%s.dat", sps_name, str); 227 if ((sip->sps_fp = my_fopen(oname, "w")) == NULL [all...] |
/bionic/libc/netbsd/nameser/ |
ns_print.c | 767 const char *oname = name; local 771 return (name - oname - (name > oname)); 785 return (name - oname);
|
/external/liblzf/ |
lzf.c | 331 compose_name (const char *fname, char *oname) 343 strcpy (oname, fname); 344 strcat (oname, ".lzf"); 354 strcpy (oname, fname); 355 p = &oname[strlen (oname)] - 4; 356 if (p < oname || strcmp (p, ".lzf")) 374 char oname[PATH_MAX + 1]; local 377 if (compose_name (fname, oname)) 410 fd2 = open_out (oname); [all...] |
/external/bluetooth/bluez/health/ |
hdp_types.h | 86 char *oname; /* Name of the owner application */ member in struct:hdp_application
|
/frameworks/base/services/java/com/android/server/pm/ |
Settings.java | 1277 String oname = parser.getAttributeValue(null, "old"); local [all...] |