Searched refs:out2f (Results 1 – 2 of 2) sorted by relevance
/external/sg3_utils/src/ |
D | sg_dd.c | 1816 char out2f[INOUTF_SZ]; in main() local 1822 out2f[0] = '\0'; in main() 1948 if ('\0' != out2f[0]) { in main() 1952 memcpy(out2f, buf, INOUTF_SZ - 1); in main() 1953 out2f[INOUTF_SZ - 1] = '\0'; in main() 2196 if (out2f[0]) { in main() 2197 out2_type = dd_filetype(out2f); in main() 2198 if ((out2fd = open(out2f, O_WRONLY | O_CREAT, 0666)) < 0) { in main() 2201 ME "could not open %s for writing", out2f); in main() 2472 if (out2f[0]) { in main()
|
/external/sg3_utils/testing/ |
D | sgh_dd.cpp | 4008 char * inf, char * outf, char * out2f, char * outregf) in parse_cmdline_sanity() argument 4168 if ('\0' != out2f[0]) { in parse_cmdline_sanity() 4172 memcpy(out2f, buf, INOUTF_SZ); in parse_cmdline_sanity() 4173 out2f[INOUTF_SZ - 1] = '\0'; /* noisy compiler */ in parse_cmdline_sanity() 4439 char out2f[INOUTF_SZ]; in main() local 4476 out2f[0] = '\0'; in main() 4482 res = parse_cmdline_sanity(argc, argv, clp, inf, outf, out2f, outregf); in main() 4647 if (out2f[0]) in main() 4649 if (out2f[0] && ('-' != out2f[0])) { in main() 4652 clp->out2_type = dd_filetype(out2f, out2_st_size); in main() [all …]
|