/external/f2fs-tools/tools/sg_write_buffer/ |
D | sg_lib.c | 169 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 …]
|
/external/f2fs-tools/tools/sg_write_buffer/include/ |
D | sg_lib.h | 145 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 …]
|
/external/selinux/libsemanage/src/ |
D | utilities.c | 38 size_t buff_len = 0; in semanage_findval() local 46 while (getline(&buff, &buff_len, fd) > 0) { in semanage_findval() 314 size_t buff_len = 0; in semanage_slurp_file_filter() local 317 while (getline(&line, &buff_len, file) >= 0) { in semanage_slurp_file_filter() 324 buff_len = 0; in semanage_slurp_file_filter()
|
D | genhomedircon.c | 216 size_t buff_len = 0; in get_shell_list() local 222 while ((len = getline(&temp, &buff_len, shells)) > 0) { in get_shell_list()
|
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/ |
D | sg_err.h | 159 extern void sg_get_command_name(unsigned char opcode, int buff_len,
|
D | sg_err.c | 1361 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()
|
/external/drm_hwcomposer/ |
D | hwcomposer.cpp | 217 int buff_len) { in hwc_dump() argument 224 std::min((size_t)buff_len, out_str.length() + 1)); in hwc_dump() 225 buff[buff_len - 1] = '\0'; in hwc_dump()
|
/external/compiler-rt/lib/asan/ |
D | asan_report.cc | 361 uptr buff_len) { in ThreadNameWithParenthesis() argument 366 internal_strncat(buff, name, buff_len - 4); in ThreadNameWithParenthesis() 372 uptr buff_len) { in ThreadNameWithParenthesis() argument 376 return ThreadNameWithParenthesis(t, buff, buff_len); in ThreadNameWithParenthesis()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_linux.cc | 445 uptr buff_len; in ReadNullSepFileToArray() local 447 if (!ReadFileToBuffer(path, &buff, &buff_size, &buff_len, 1024 * 1024)) { in ReadNullSepFileToArray()
|