Home
last modified time | relevance | path

Searched refs:obuff (Results 1 – 5 of 5) sorted by relevance

/external/ltp/testcases/kernel/io/disktest/
Ddump.c38 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 …]
Dchildmain.c497 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/arm-trusted-firmware/plat/amlogic/common/
Daml_scpi.c146 uint32_t aml_scpi_get_chip_id(uint8_t *obuff, uint32_t osize) in aml_scpi_get_chip_id() argument
163 memcpy((void *)obuff, (const void *)response, osize); in aml_scpi_get_chip_id()
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dsg_err.c991 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()
/external/arm-trusted-firmware/plat/amlogic/common/include/
Daml_private.h34 uint32_t aml_scpi_get_chip_id(uint8_t *obuff, uint32_t osize);