Lines Matching refs:ok
75 bool ok; in mcumgr_ret_decode() local
87 ok = zcbor_map_decode_bulk(state, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in mcumgr_ret_decode()
89 if (ok && in mcumgr_ret_decode()
97 return ok; in mcumgr_ret_decode()
104 bool ok; in ZTEST() local
129 ok = create_mcumgr_format_packet(zse, query_fake, buffer, buffer_out, &buffer_size, in ZTEST()
131 zassert_true(ok, "Expected packet creation to be successful"); in ZTEST()
159 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST()
161 zassert_true(ok, "Expected decode to be successful"); in ZTEST()
191 bool ok; in ZTEST() local
216 ok = create_mcumgr_format_packet(zse, query_fake, buffer, buffer_out, &buffer_size, in ZTEST()
218 zassert_true(ok, "Expected packet creation to be successful"); in ZTEST()
246 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST()
248 zassert_true(ok, "Expected decode to be successful"); in ZTEST()
277 bool ok; in ZTEST() local
302 ok = create_mcumgr_format_packet(zse, query_fake, buffer, buffer_out, &buffer_size, in ZTEST()
304 zassert_true(ok, "Expected packet creation to be successful"); in ZTEST()
332 ok = zcbor_map_decode_bulk(zsd, output_decode, ARRAY_SIZE(output_decode), &decoded) == 0; in ZTEST()
334 zassert_true(ok, "Expected decode to be successful"); in ZTEST()