Lines Matching refs:iter
571 uint8_t iter) in verify_block1_request() argument
577 "req:%d,Couldn't get block size", iter); in verify_block1_request()
580 if (iter < iter_max) { in verify_block1_request()
582 req_ctx->current, block_size * iter, in verify_block1_request()
583 "req:%d,Couldn't get the current block position", iter); in verify_block1_request()
587 "req:%d,Couldn't get the current block position", iter); in verify_block1_request()
591 "req:%d,Couldn't packet total size", iter); in verify_block1_request()
595 uint8_t iter) in verify_block1_response() argument
598 "rsp:%d,Couldn't get block size", iter); in verify_block1_response()
600 coap_block_size_to_bytes(COAP_BLOCK_32) * (iter - 1U), in verify_block1_response()
601 "rsp:%d, Couldn't get the current block position", iter); in verify_block1_response()
603 "rsp:%d, Couldn't packet total size", iter); in verify_block1_response()
713 uint8_t iter) in verify_block2_request() argument
716 "req:%d,Couldn't get block size", iter); in verify_block2_request()
718 coap_block_size_to_bytes(COAP_BLOCK_64) * (iter - 1U), in verify_block2_request()
719 "req:%d, Couldn't get the current block position", iter); in verify_block2_request()
721 "req:%d,Couldn't packet total size", iter); in verify_block2_request()
725 uint8_t iter) in verify_block2_response() argument
731 "rsp:%d,Couldn't get block size", iter); in verify_block2_response()
734 if (iter < iter_max) { in verify_block2_response()
736 rsp_ctx->current, block_size * iter, in verify_block2_response()
737 "req:%d,Couldn't get the current block position", iter); in verify_block2_response()
741 "req:%d,Current block position does not match total size", iter); in verify_block2_response()
745 "rsp:%d, Couldn't packet total size", iter); in verify_block2_response()