Searched refs:obuff (Results 1 – 4 of 4) sorted by relevance
/external/ltp/testcases/kernel/io/disktest/ |
D | dump.c | 38 int format_str(size_t iBytes, const char *ibuff, size_t ibuff_siz, char *obuff, in format_str() argument 47 (obuff == NULL) && (obuff_siz == 0)) { in format_str() 52 if ((ibuff == NULL) || (obuff == NULL) || (iBytes < 1)) in format_str() 55 memset(obuff, 0, obuff_siz); in format_str() 57 strncat(obuff, buff, (obuff_siz - 1) - strlen(obuff)); in format_str() 60 strncat(obuff, " ", (obuff_siz - 1) - strlen(obuff)); in format_str() 62 strncat(obuff, " ", (obuff_siz - 1) - strlen(obuff)); in format_str() 64 strncat(obuff, buff, (obuff_siz - 1) - strlen(obuff)); in format_str() 68 strncat(obuff, " ", (obuff_siz - 1) - strlen(obuff)); in format_str() 70 strncat(obuff, " ", (obuff_siz - 1) - strlen(obuff)); in format_str() [all …]
|
D | childmain.c | 497 char obuff[80]; in miscompare_dump() local 499 obuff[0] = 0; in miscompare_dump() 500 sprintf(obuff, "dump_%d.dat", args->pid); in miscompare_dump() 501 fpDumpFile = fopen(obuff, "a"); in miscompare_dump()
|
/external/u-boot/tools/ |
D | xway-swap-bytes.c | 14 short ibuff[BUFSIZ], obuff[BUFSIZ]; in main() local 18 memset (obuff, 0, sizeof (obuff)); in main() 20 obuff[i] = ibuff[i ^ 1]; in main() 25 if (write (1, obuff, len) != len) { in main()
|
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/ |
D | sg_err.c | 991 char obuff[256]; in sg_print_asc_ascq() local 1001 for (j = 0; *ccp && (j < sizeof(obuff)); ++ccp) { in sg_print_asc_ascq() 1006 strcpy(obuff + j, oup); in sg_print_asc_ascq() 1009 strcpy(obuff + j, "???"); in sg_print_asc_ascq() 1013 obuff[j++] = c; in sg_print_asc_ascq() 1015 if (j < sizeof(obuff)) in sg_print_asc_ascq() 1016 obuff[j] = '\0'; in sg_print_asc_ascq() 1018 obuff[sizeof(obuff) - 1] = '\0'; in sg_print_asc_ascq() 1019 fprintf(OUTP, "Additional sense: %s\n", obuff); in sg_print_asc_ascq()
|