Home
last modified time | relevance | path

Searched refs:buff_len (Results 1 – 7 of 7) sorted by relevance

/third_party/f2fs-tools/tools/sg_write_buffer/
Dsg_lib.c169 sg_get_scsi_status_str(int scsi_status, int buff_len, char * buff) in sg_get_scsi_status_str() argument
174 if ((NULL == buff) || (buff_len < 1)) in sg_get_scsi_status_str()
176 else if (1 == buff_len) { in sg_get_scsi_status_str()
198 scnpr(buff, buff_len, "Unknown status [0x%x]", scsi_status); in sg_get_scsi_status_str()
200 scnpr(buff, buff_len, "%s", ccp); in sg_get_scsi_status_str()
234 sg_get_sense_key_str(int sense_key, int buff_len, char * buff) in sg_get_sense_key_str() argument
236 if (1 == buff_len) { in sg_get_sense_key_str()
241 scnpr(buff, buff_len, "%s", sg_lib_sense_key_desc[sense_key]); in sg_get_sense_key_str()
243 scnpr(buff, buff_len, "invalid value: 0x%x", sense_key); in sg_get_sense_key_str()
249 sg_get_asc_ascq_str(int asc, int ascq, int buff_len, char * buff) in sg_get_asc_ascq_str() argument
[all …]
/third_party/f2fs-tools/tools/sg_write_buffer/include/
Dsg_lib.h145 int buff_len, char * buff);
149 void sg_get_opcode_name(unsigned char cdb_byte0, int peri_type, int buff_len,
155 int peri_type, int buff_len, char * buff);
158 void sg_get_scsi_status_str(int scsi_status, int buff_len, char * buff);
198 char * sg_get_sense_key_str(int sense_key, int buff_len, char * buff);
201 char * sg_get_asc_ascq_str(int asc, int ascq, int buff_len, char * buff);
242 int sb_len, bool raw_sinfo, int buff_len, char * buff);
264 char * sg_get_pdt_str(int pdt, int buff_len, char * buff);
275 char * sg_get_trans_proto_str(int tpi, int buff_len, char * buff);
281 int bplen, bool only_one, int buff_len,
[all …]
/third_party/mesa3d/include/android_stub/hardware/
Dfb.h143 void (*dump)(struct framebuffer_device_t* dev, char *buff, int buff_len);
Dgralloc.h396 void (*dump)(struct alloc_device_t *dev, char *buff, int buff_len);
/third_party/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dsg_err.h159 extern void sg_get_command_name(unsigned char opcode, int buff_len,
Dsg_err.c1361 void sg_get_command_name(unsigned char opcode, int buff_len, char *buff) in sg_get_command_name() argument
1365 if ((NULL == buff) || (buff_len < 1)) in sg_get_command_name()
1370 strncpy(buff, reserved, buff_len); in sg_get_command_name()
1373 strncpy(buff, vendor, buff_len); in sg_get_command_name()
1376 strncpy(buff, table[opcode & 0x1f], buff_len); in sg_get_command_name()
/third_party/gstreamer/gstreamer/tests/check/gst/
Dgstvalue.c3871 gsize buff_len = 8; in GST_START_TEST() local
3874 GstBuffer *buff = gst_buffer_new_wrapped (g_strdup (buff_str), buff_len); in GST_START_TEST()
3899 gst_buffer_extract_dup (buff, 0, -1, (gpointer *) & buff_val, &buff_len); in GST_START_TEST()
3900 fail_unless_equals_int (buff_len, 8); in GST_START_TEST()
3904 gst_buffer_extract_dup (buff, 0, -1, (gpointer *) & buff_val, &buff_len); in GST_START_TEST()
3905 fail_unless_equals_int (buff_len, 8); in GST_START_TEST()