Lines Matching refs:length

31   result = coap_opt_parse(teststr.s, teststr.length, &option);  in t_parse_option1()
34 CU_ASSERT(option.length == 0); in t_parse_option1()
46 result = coap_opt_parse(teststr.s, teststr.length, &option); in t_parse_option2()
49 CU_ASSERT(option.length == 1); in t_parse_option2()
62 result = coap_opt_parse(teststr.s, teststr.length, &option); in t_parse_option3()
65 CU_ASSERT(option.length == 12); in t_parse_option3()
78 result = coap_opt_parse(teststr.s, teststr.length, &option); in t_parse_option4()
90 result = coap_opt_parse(teststr.s, teststr.length, &option); in t_parse_option5()
102 result = coap_opt_parse(teststr.s, teststr.length, &option); in t_parse_option6()
114 result = coap_opt_parse(teststr.s, teststr.length, &option); in t_parse_option7()
117 CU_ASSERT(option.length == 0); in t_parse_option7()
128 result = coap_opt_parse(teststr.s, teststr.length, &option); in t_parse_option8()
131 CU_ASSERT(option.length == 0); in t_parse_option8()
142 result = coap_opt_parse(teststr.s, teststr.length, &option); in t_parse_option9()
155 result = coap_opt_parse(teststr.s, teststr.length, &option); in t_parse_option10()
167 result = coap_opt_parse(teststr.s, teststr.length, &option); in t_parse_option11()
179 result = coap_opt_parse(teststr.s, teststr.length, &option); in t_parse_option12()
197 result = coap_opt_parse(teststr.s, teststr.length, &option); in t_parse_option13()
200 CU_ASSERT(option.length == 500); in t_parse_option13()
208 unsigned int length = 4 + 65535; in t_parse_option14() local
210 data = (unsigned char *)malloc(length); in t_parse_option14()
224 result = coap_opt_parse(data, length, &option); in t_parse_option14()
225 CU_ASSERT(result == length); in t_parse_option14()
227 CU_ASSERT(option.length == 65535); in t_parse_option14()
436 .length = sizeof(teststr) in t_iterate_option1()
461 .length = sizeof(teststr) in t_iterate_option2()
487 .length = sizeof(teststr) in t_iterate_option3()
529 .length = sizeof(teststr) in t_iterate_option4()
570 .length = sizeof(teststr) in t_iterate_option5()
602 .length = sizeof(teststr) in t_iterate_option6()
646 .length = sizeof(teststr) in t_iterate_option7()
692 .length = sizeof(teststr) in t_iterate_option8()
722 .length = sizeof(teststr) in t_iterate_option9()
752 .length = sizeof(teststr) in t_iterate_option10()