Searched refs:CHECK (Results 1 – 9 of 9) sorted by relevance
/Zephyr-latest/soc/nordic/ |
D | validate_enabled_instances.c | 34 #define CHECK(idx) \ macro 50 BUILD_ASSERT(CHECK(0), MSG(0)); 52 BUILD_ASSERT(CHECK(1), MSG(1)); 53 BUILD_ASSERT(CHECK(2), MSG(2)); 54 BUILD_ASSERT(CHECK(3), MSG(3)); 55 BUILD_ASSERT(CHECK(00), MSG(00)); 56 BUILD_ASSERT(CHECK(20), MSG(20)); 57 BUILD_ASSERT(CHECK(21), MSG(21)); 58 BUILD_ASSERT(CHECK(22), MSG(22)); 59 BUILD_ASSERT(CHECK(30), MSG(30));
|
/Zephyr-latest/samples/net/sockets/http_get/src/ |
D | http_get.c | 44 #define CHECK(r) { if (r < 0) { printf("Error: %d\n", (int)r); exit(1); } } macro 97 CHECK(sock); in main() 104 CHECK(setsockopt(sock, SOL_TLS, TLS_SEC_TAG_LIST, in main() 107 CHECK(setsockopt(sock, SOL_TLS, TLS_HOSTNAME, in main() 112 CHECK(connect(sock, res->ai_addr, res->ai_addrlen)); in main() 114 CHECK(send(sock, REQUEST, SSTRLEN(REQUEST), 0)); in main()
|
/Zephyr-latest/lib/utils/ |
D | rb.c | 12 #define CHECK(n) /**/ macro 23 CHECK(n); in get_child() 36 CHECK(n); in set_child() 49 CHECK(n); in get_color() 65 CHECK(n); in set_color() 115 CHECK(get_child(parent, 0U) == child || get_child(parent, 1U) == child); in get_side() 132 CHECK(stacksz >= 2); in rotate() 164 CHECK((get_child(node, 0U) == NULL) || in fix_extra_red() 166 CHECK((get_child(node, 1U) == NULL) || in fix_extra_red() 176 CHECK(stacksz >= 2); in fix_extra_red() [all …]
|
/Zephyr-latest/samples/net/sockets/dumb_http_server/src/ |
D | socket_dumb_http.c | 33 #define CHECK(r) { if (r == -1) { printf("Error: " #r "\n"); exit(1); } } macro 66 CHECK(serv); in main() 71 CHECK(bind(serv, (struct sockaddr *)&bind_addr, sizeof(bind_addr))); in main() 73 CHECK(listen(serv, 5)); in main()
|
/Zephyr-latest/samples/net/sockets/big_http_download/src/ |
D | big_http_download.c | 75 #define CHECK(r) { if (r == -1) { printf("Error: " #r "\n"); exit(1); } } macro 274 CHECK(sock); in download() 285 CHECK(setsockopt(sock, SOL_TLS, TLS_SEC_TAG_LIST, in download() 288 CHECK(setsockopt(sock, SOL_TLS, TLS_HOSTNAME, in download() 293 CHECK(setsockopt(sock, SOL_SOCKET, SO_RCVTIMEO, &timeout, in download() 295 CHECK(setsockopt(sock, SOL_SOCKET, SO_SNDTIMEO, &timeout, in download() 298 CHECK(connect(sock, ai->ai_addr, ai->ai_addrlen)); in download()
|
/Zephyr-latest/lib/heap/ |
D | heap.c | 29 CHECK(!(((uintptr_t)ret) & (big_heap(h) ? 7 : 3))); in chunk_mem() 38 CHECK(!chunk_used(h, c)); in free_list_remove_bidx() 39 CHECK(b->next != 0); in free_list_remove_bidx() 40 CHECK(h->avail_buckets & BIT(bidx)); in free_list_remove_bidx() 73 CHECK((h->avail_buckets & BIT(bidx)) == 0); in free_list_add_bidx() 81 CHECK(h->avail_buckets & BIT(bidx)); in free_list_add_bidx() 111 CHECK(rc > lc); in split_chunks() 112 CHECK(rc - lc < chunk_size(h, lc)); in split_chunks() 216 CHECK(bi <= bucket_idx(h, h->end_chunk)); in alloc_chunk() 242 CHECK(b->next != 0); in alloc_chunk() [all …]
|
D | heap.h | 18 #define CHECK(x) __ASSERT(x, "") macro 20 #define CHECK(x) /**/ macro 123 CHECK(c <= h->end_chunk); in chunk_set() 129 CHECK(val == (uint32_t)val); in chunk_set() 132 CHECK(val == (uint16_t)val); in chunk_set()
|
D | heap_validate.c | 64 CHECK(empties_match); in check_nexts() 67 CHECK(valid_chunk(h, b->next)); in check_nexts()
|
/Zephyr-latest/ |
D | Kconfig.zephyr | 634 prompt "Error checking behavior for CHECK macro"
|