Home
last modified time | relevance | path

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

/external/blktrace/btt/
Daqd.c34 char *oname; in aqd_alloc() local
42 oname = malloc(strlen(aqd_name) + strlen(dip->dip_name) + 32); in aqd_alloc()
43 sprintf(oname, "%s_%s_aqd.dat", aqd_name, dip->dip_name); in aqd_alloc()
44 if ((ap->fp = my_fopen(oname, "w")) == NULL) { in aqd_alloc()
45 perror(oname); in aqd_alloc()
46 free(oname); in aqd_alloc()
50 add_file(ap->fp, oname); in aqd_alloc()
Dbno_dump.c30 char *oname; in bno_dump_open() local
32 oname = malloc(strlen(bno_dump_name) + strlen(dip->dip_name) + 32); in bno_dump_open()
33 sprintf(oname, "%s_%s_%c.dat", bno_dump_name, dip->dip_name, rwc); in bno_dump_open()
34 if ((fp = my_fopen(oname, "w")) == NULL) { in bno_dump_open()
35 perror(oname); in bno_dump_open()
36 free(oname); in bno_dump_open()
38 add_file(fp, oname); in bno_dump_open()
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()
56 free(oname); in seek_open()
58 add_file(fp, oname); in seek_open()
220 char *oname; in seeki_alloc() local
224 oname = malloc(strlen(sps_name) + strlen(dip->dip_name) + 32); in seeki_alloc()
225 sprintf(oname, "%s_%s.dat", sps_name, dip->dip_name); in seeki_alloc()
[all …]
Dplat.c32 char *oname; in plat_alloc() local
41 oname = malloc(strlen(dip->dip_name) + strlen(post) + 32); in plat_alloc()
42 sprintf(oname, "%s%s_plat.dat", dip->dip_name, post); in plat_alloc()
43 if ((pp->fp = my_fopen(oname, "w")) == NULL) { in plat_alloc()
44 perror(oname); in plat_alloc()
45 free(oname); in plat_alloc()
49 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()
112 void add_file(FILE *fp, char *oname) in add_file() argument
117 fip->oname = oname; in add_file()
Dunplug_hist.c71 char *oname = malloc(tlen); in unplug_hist_free() local
73 sprintf(oname, "%s_%s.dat", unplug_hist_name, in unplug_hist_free()
75 if ((fp = my_fopen(oname, "w")) != NULL) { in unplug_hist_free()
83 perror(oname); in unplug_hist_free()
85 free(oname); in unplug_hist_free()
Dlatency.c36 char oname[tlen]; in latency_open() local
38 sprintf(oname, "%s_%s_%s.dat", name, dip->dip_name, post); in latency_open()
39 if ((fp = my_fopen(oname, "w")) == NULL) in latency_open()
40 perror(oname); in latency_open()
42 add_file(fp, strdup(oname)); in latency_open()
Dglobals.h251 void add_file(FILE *fp, char *oname);
/external/python/cpython3/Objects/
Dobject.c871 PyObject *oname = _PyUnicode_FromId(name); /* borrowed */ in _PyObject_GetAttrId() local
872 if (!oname) in _PyObject_GetAttrId()
874 result = PyObject_GetAttr(v, oname); in _PyObject_GetAttrId()
882 PyObject *oname = _PyUnicode_FromId(name); /* borrowed */ in _PyObject_HasAttrId() local
883 if (!oname) in _PyObject_HasAttrId()
885 result = PyObject_HasAttr(v, oname); in _PyObject_HasAttrId()
893 PyObject *oname = _PyUnicode_FromId(name); /* borrowed */ in _PyObject_SetAttrId() local
894 if (!oname) in _PyObject_SetAttrId()
896 result = PyObject_SetAttr(v, oname, w); in _PyObject_SetAttrId()
977 PyObject *oname = _PyUnicode_FromId(name); /* borrowed */ in _PyObject_LookupAttrId() local
[all …]
Dtypeobject.c3133 PyObject *oname; in _PyType_LookupId() local
3134 oname = _PyUnicode_FromId(name); /* borrowed */ in _PyType_LookupId()
3135 if (oname == NULL) in _PyType_LookupId()
3137 return _PyType_Lookup(type, oname); in _PyType_LookupId()
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
DCodeMangler.java283 String oname; in process() local
286 oname = name.substring(0, ix); in process()
288 oname = name; in process()
290 oname += ".java"; in process()
291 File fout = new File(outdir, oname); in process()
/external/scapy/scapy/layers/
Dinet.py280 oname, ofmt = TCPOptions[0][onum]
287 opt.append((oname, oval))
295 for oname, oval in x:
296 if isinstance(oname, str):
297 if oname == "NOP":
300 elif oname == "EOL":
303 elif oname in TCPOptions[1]:
304 onum = TCPOptions[1][oname]
313 warning("option [%s] unknown. Skipped.", oname)
316 onum = oname
Dtftp.py329 opt = [x for x in options.options if x.oname.upper() == "BLKSIZE"]
423 opt = [x for x in options.options if x.oname.upper() == "BLKSIZE"]
/external/openssh/
Dssh-keyscan.c395 conalloc(char *iname, char *oname, int keytype) in conalloc() argument
415 debug3("%s: oname %s kt %d", __func__, oname, keytype); in conalloc()
421 fdcon[s].c_output_name = xstrdup(oname); in conalloc()
/external/libpng/contrib/tools/
Dpngcp.c314 # define VL(oname, name, type, search)\ argument
315 { oname, type, search, VLSIZE(name), VLNAME(name) },
316 # define VLO(oname, name, search) VL(oname, name, OPTION, search) argument
/external/python/cpython3/Modules/
Dsocketmodule.c6511 PyObject *oname; local
6515 PyUnicode_FSConverter, &oname))
6518 index = if_nametoindex(PyBytes_AS_STRING(oname));
6519 Py_DECREF(oname);
Dposixmodule.c6326 PyObject *oname; in posix_initgroups() local
6337 PyUnicode_FSConverter, &oname, in posix_initgroups()
6341 PyUnicode_FSConverter, &oname, in posix_initgroups()
6345 username = PyBytes_AS_STRING(oname); in posix_initgroups()
6348 Py_DECREF(oname); in posix_initgroups()
/external/python/cpython3/Lib/test/
Ddatetimetester.py199 oname = orig.tzname(None)
203 self.assertEqual(orig.tzname(None), oname)
210 self.assertEqual(derived.tzname(None), oname)
/external/scapy/test/
Dregression.uts709 …filename="fname")/TFTP_Options(options=[TFTP_Option(oname="blksize", value="8192"),TFTP_Option(ona…
712 y[TFTP_Option].oname
713 y[TFTP_Option:2].oname
714 assert(len(y[TFTP_Options].options) == 2 and y[TFTP_Option].oname == b"blksize")