Lines Matching refs:ok
109 bool ok; in ZTEST() local
130 ok = create_enum_mgmt_count_packet(zse, buffer, buffer_out, &buffer_size); in ZTEST()
131 zassert_true(ok, "Expected packet creation to be successful"); in ZTEST()
162 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST()
163 zassert_true(ok, "Expected decode to be successful"); in ZTEST()
208 bool ok; in ZTEST() local
231 ok = create_enum_mgmt_list_packet(zse, buffer, buffer_out, &buffer_size); in ZTEST()
232 zassert_true(ok, "Expected packet creation to be successful"); in ZTEST()
263 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST()
264 zassert_true(ok, "Expected decode to be successful"); in ZTEST()
311 bool ok; in ZTEST() local
337 ok = create_enum_mgmt_single_packet(zse, buffer, buffer_out, &buffer_size, i); in ZTEST()
338 zassert_true(ok, "Expected packet creation to be successful"); in ZTEST()
370 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), in ZTEST()
372 zassert_true(ok, "Expected decode to be successful"); in ZTEST()
427 bool ok; in parse_details_entries() local
444 ok = zcbor_map_decode_bulk(state, output_decode, ARRAY_SIZE(output_decode), in parse_details_entries()
446 zassert_true(ok, "Expected decode to be successful"); in parse_details_entries()
505 bool ok; in ZTEST() local
543 ok = create_enum_mgmt_details_packet(zse, buffer, buffer_out, &buffer_size, NULL, 0); in ZTEST()
544 zassert_true(ok, "Expected packet creation to be successful"); in ZTEST()
575 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST()
576 zassert_true(ok, "Expected decode to be successful"); in ZTEST()
603 bool ok; in ZTEST() local
624 ok = create_enum_mgmt_details_packet(zse, buffer, buffer_out, &buffer_size, NULL, 0); in ZTEST()
625 zassert_true(ok, "Expected packet creation to be successful"); in ZTEST()
659 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST()
660 zassert_true(ok, "Expected decode to be successful"); in ZTEST()
675 bool ok; in ZTEST() local
713 ok = create_enum_mgmt_details_packet(zse, buffer, buffer_out, &buffer_size, NULL, 0); in ZTEST()
714 zassert_true(ok, "Expected packet creation to be successful"); in ZTEST()
747 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST()
748 zassert_true(ok, "Expected decode to be successful"); in ZTEST()
782 bool ok; in mgmt_event_cmd_callback() local
784 ok = zcbor_tstr_put_lit(enum_data->zse, "test") && in mgmt_event_cmd_callback()
787 if (!ok) { in mgmt_event_cmd_callback()