Lines Matching refs:block
163 coap_block_t block; in t_wellknown4() local
169 CU_ASSERT(coap_get_block(response, COAP_OPTION_BLOCK2, &block) != 0); in t_wellknown4()
171 CU_ASSERT(block.num == 0); in t_wellknown4()
172 CU_ASSERT(block.m == 1); in t_wellknown4()
173 CU_ASSERT(1 << (block.szx + 4) in t_wellknown4()
186 coap_block_t block; in t_wellknown5() local
201 CU_ASSERT(coap_get_block(response, COAP_OPTION_BLOCK2, &block) != 0); in t_wellknown5()
203 CU_ASSERT(block.num == inblock.num); in t_wellknown5()
204 CU_ASSERT(block.m == 1); in t_wellknown5()
205 CU_ASSERT(1 << (block.szx + 4) in t_wellknown5()
214 coap_block_t block = { .num = 0, .szx = 6 }; in t_wellknown6() local
229 ((block.num << 4) | block.szx)), buf)) { in t_wellknown6()
240 CU_ASSERT(coap_get_block(response, COAP_OPTION_BLOCK2, &block) != 0); in t_wellknown6()
242 block.num++; in t_wellknown6()
244 } while (block.m == 1); in t_wellknown6()