Lines Matching refs:s
31 result = coap_opt_parse(teststr.s, teststr.length, &option); in t_parse_option1()
46 result = coap_opt_parse(teststr.s, teststr.length, &option); in t_parse_option2()
50 CU_ASSERT(option.value == teststr.s + 1); in t_parse_option2()
62 result = coap_opt_parse(teststr.s, teststr.length, &option); in t_parse_option3()
66 CU_ASSERT(option.value == teststr.s + 1); 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()
128 result = coap_opt_parse(teststr.s, teststr.length, &option); 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()
188 teststr.s[0] = 0xee; in t_parse_option13()
189 teststr.s[1] = 0x00; in t_parse_option13()
190 teststr.s[2] = 0x0b; in t_parse_option13()
191 teststr.s[3] = 0x00; in t_parse_option13()
192 teststr.s[4] = 0xe7; in t_parse_option13()
197 result = coap_opt_parse(teststr.s, teststr.length, &option); in t_parse_option13()
812 int s; in t_filter_option2() local
817 for (s = 0; s < COAP_OPT_FILTER_SHORT; s++) { in t_filter_option2()
818 CU_ASSERT(coap_option_filter_set(filter, s)); in t_filter_option2()
896 #define OPTION_TEST(n,s) \ in t_init_option_tests() argument
897 if (!CU_add_test(suite[0], s, t_parse_option##n)) { \ in t_init_option_tests()
918 #define OPTION_ENCODER_TEST(n,s) \ in t_init_option_tests() argument
919 if (!CU_add_test(suite[1], s, t_encode_option##n)) { \ in t_init_option_tests()
939 #define OPTION_ACCESSOR_TEST(n,s) \ in t_init_option_tests() argument
940 if (!CU_add_test(suite[2], s, t_access_option##n)) { \ in t_init_option_tests()
959 #define OPTION_ITERATOR_TEST(n,s) \ in t_init_option_tests() argument
960 if (!CU_add_test(suite[3], s, t_iterate_option##n)) { \ in t_init_option_tests()
982 #define OPTION_FILTER_TEST(n,s) \ in t_init_option_tests() argument
983 if (!CU_add_test(suite[4], s, t_filter_option##n)) { \ in t_init_option_tests()