/external/sg3_utils/src/ |
D | sg_z_act_query.c | 250 decode_z_act_query(const uint8_t * ziBuff, int act_len, uint32_t zar_len, in decode_z_act_query() argument 258 if ((uint32_t)act_len < zar_len) { in decode_z_act_query() 259 num_desc = (act_len >= 64) ? ((act_len - 64) / Z_ACT_DESC_LEN) : 0; in decode_z_act_query() 260 if (act_len == op->max_alloc) { in decode_z_act_query() 270 if (act_len <= 8) in decode_z_act_query() 274 if (act_len > 19) in decode_z_act_query() 281 if (act_len > 31) in decode_z_act_query() 287 if (act_len <= 9) in decode_z_act_query() 308 if (act_len <= 10) in decode_z_act_query() 311 if (act_len <= 11) in decode_z_act_query() [all …]
|
D | sg_rep_zones.c | 423 decode_rep_zones(const uint8_t * rzBuff, int act_len, uint32_t decod_len, in decode_rep_zones() argument 433 if ((uint32_t)act_len < decod_len) { in decode_rep_zones() 434 num_zd = (act_len >= 64) ? ((act_len - 64) / REPORT_ZONES_DESC_LEN) in decode_rep_zones() 436 if (act_len == op->maxlen) { in decode_rep_zones() 468 if (((uint32_t)act_len < decod_len) && in decode_rep_zones() 469 ((num_zd * REPORT_ZONES_DESC_LEN) + 64 > act_len)) { in decode_rep_zones() 534 decode_rep_realms(const uint8_t * rzBuff, int act_len, in decode_rep_realms() argument 545 if (act_len < 12) { in decode_rep_realms() 546 pr2serr("need more than 12 bytes to decode, got %u\n", act_len); in decode_rep_realms() 551 if (act_len < 20) in decode_rep_realms() [all …]
|
D | sg_opcodes.c | 716 int k, j, m, n, cd_len, serv_act, len, act_len, opcode, res; in list_all_codes() local 886 d, sizeof(d), &act_len, true, op->verbose); in list_all_codes() 891 cdb_sz = (cdb_sz < act_len) ? cdb_sz : act_len; in list_all_codes() 1114 int cd_len, res, len, act_len, rq_len, in_len, vb; in main() local 1260 act_len = in_len; in main() 1335 res = do_rstmf(ptvp, op->do_repd, rsoc_buff, rq_len, &act_len, true, in main() 1340 rsoc_buff, rq_len, &act_len, true, vb); in main() 1351 act_len = (rq_len < act_len) ? rq_len : act_len; in main() 1354 if (act_len < 4) { in main() 1355 pr2serr("Actual length of response [%d] is too small\n", act_len); in main() [all …]
|
D | sg_ses_microcode.c | 301 int do_len, rem, res, rsp_len, k, n, num, mc_status, resid, act_len, verb; in send_then_receive() local 429 act_len = din_len - resid; in send_then_receive() 435 if (rsp_len > act_len) { in send_then_receive() 437 "%d]>>>\n", act_len, rsp_len); in send_then_receive() 438 rsp_len = act_len; in send_then_receive() 486 int res, c, len, k, n, rsp_len, resid, act_len, din_len, verb; in main() local 849 act_len = din_len - resid; in main() 855 if (rsp_len > act_len) { in main() 857 "need %d]>>>\n", act_len, rsp_len); in main() 858 rsp_len = act_len; in main()
|
D | sg_inq.c | 2550 int res, len, rlen, act_len; in std_inq_process() local 2584 act_len = rlen; in std_inq_process() 2586 act_len = (rlen < len) ? rlen : len; in std_inq_process() 2588 if (act_len > (rlen - resid)) in std_inq_process() 2589 act_len = rlen - resid; in std_inq_process() 2590 if (act_len < SAFE_STD_INQ_RESP_LEN) in std_inq_process() 2591 rsp_buff[act_len] = '\0'; in std_inq_process() 2596 op->maxlen = act_len; in std_inq_process()
|
/external/webrtc/modules/audio_coding/codecs/opus/ |
D | opus_unittest.cc | 225 int act_len = WebRtcOpus_Decode(decoder, bitstream_, encoded_bytes_, in EncodeDecode() local 227 EXPECT_EQ(est_len, act_len); in EncodeDecode() 228 return act_len; in EncodeDecode() 236 int act_len = WebRtcOpus_Decode(decoder, NULL, 0, in EncodeDecode() local 239 EXPECT_EQ(est_len, act_len); in EncodeDecode() 240 total_dtx_len += act_len; in EncodeDecode()
|
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/ |
D | scsimain.c | 2725 int sg_fd, k, j, num, len, act_len; in do_scsi_inquiry() local 2795 act_len = len; in do_scsi_inquiry() 2798 act_len = len; in do_scsi_inquiry() 2841 if (act_len == len) in do_scsi_inquiry()
|