Home
last modified time | relevance | path

Searched refs:STR_SZ (Results 1 – 10 of 10) sorted by relevance

/external/sg3_utils/src/
Dsg_read.c398 #define STR_SZ 1024 macro
434 char str[STR_SZ]; in main()
448 strncpy(str, argv[k], STR_SZ); in main()
449 str[STR_SZ - 1] = '\0'; in main()
Dsg_xcopy.c76 #define STR_SZ 1024 macro
1333 char str[STR_SZ]; in main()
1350 strncpy(str, argv[k], STR_SZ - 1); in main()
1351 str[STR_SZ - 1] = '\0'; in main()
Dsgm_dd.c719 #define STR_SZ 1024 macro
757 char str[STR_SZ]; in main()
776 snprintf(str, STR_SZ, "%s", argv[k]); in main()
Dsgp_dd.c130 #define STR_SZ 1024 macro
1391 char str[STR_SZ]; in main()
1423 strncpy(str, argv[k], STR_SZ); in main()
1424 str[STR_SZ - 1] = '\0'; in main()
Dsg_dd.c79 #define STR_SZ 1024 macro
1817 char str[STR_SZ]; in main()
1828 strncpy(str, argv[k], STR_SZ); in main()
1829 str[STR_SZ - 1] = '\0'; in main()
/external/sg3_utils/examples/
Dsgq_dd.c88 #define STR_SZ 1024 macro
743 char str[STR_SZ]; in main()
769 strncpy(str, argv[k], STR_SZ); in main()
/external/sg3_utils/testing/
Dsgs_dd.c120 #define STR_SZ 1024 macro
1248 char str[STR_SZ]; in main()
1273 strncpy(str, argv[k], STR_SZ); in main()
1274 str[STR_SZ - 1] = '\0'; in main()
Dsg_mrq_dd.cpp3517 #define STR_SZ 1024 macro
3533 char str[STR_SZ]; in parse_cmdline_sanity()
3543 strncpy(str, argv[k], STR_SZ); in parse_cmdline_sanity()
3544 str[STR_SZ - 1] = '\0'; in parse_cmdline_sanity()
Dsgh_dd.cpp4003 #define STR_SZ 1024 macro
4017 char str[STR_SZ]; in parse_cmdline_sanity()
4024 strncpy(str, argv[k], STR_SZ); in parse_cmdline_sanity()
4025 str[STR_SZ - 1] = '\0'; in parse_cmdline_sanity()
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dscsimain.c89 #define STR_SZ 1024 macro