Home
last modified time | relevance | path

Searched refs:zcbor_log (Results 1 – 12 of 12) sorted by relevance

/zcbor-3.7.0/tests/decode/test7_suit9_simple/src/
Dmain.c99 zcbor_log("test_vector at: 0x%zx\r\n", (size_t)test_vector2); in ZTEST()
100 zcbor_log("test_vector end at: 0x%zx\r\n", in ZTEST()
119 zcbor_log("test_vector at: 0x%zx\r\n", (size_t)test_vector5); in ZTEST()
120 zcbor_log("test_vector end at: 0x%zx\r\n", in ZTEST()
/zcbor-3.7.0/samples/pet/src/
Dpet_decode.c29 zcbor_log("%s\r\n", __func__); in decode_Pet()
41 zcbor_log("%s error: %s\r\n", __func__, zcbor_error_str(zcbor_peek_error(state))); in decode_Pet()
43 zcbor_log("%s success\r\n", __func__); in decode_Pet()
Dpet_encode.c29 zcbor_log("%s\r\n", __func__); in encode_Pet()
42 zcbor_log("%s error: %s\r\n", __func__, zcbor_error_str(zcbor_peek_error(state))); in encode_Pet()
44 zcbor_log("%s success\r\n", __func__); in encode_Pet()
/zcbor-3.7.0/tests/decode/test2_suit/src/
Dmain.c48 zcbor_log("test_vector at: 0x%zu\r\n", (size_t)test_vector1); in ZTEST()
49 zcbor_log("test_vector end at: 0x%zu\r\n", in ZTEST()
128 zcbor_log("\r\n"); in ZTEST()
169 zcbor_log("\r\n"); in ZTEST()
/zcbor-3.7.0/include/
Dzcbor_common.h189 zcbor_log("ZCBOR_FAIL "); \
197 zcbor_log("ZCBOR_FAIL_IF(" #expr ") "); \
204 zcbor_log("ZCBOR_ERR(%d) ", err); \
212 zcbor_log("ZCBOR_ERR_IF(" #expr ", %d) ", err); \
Dzcbor_print.h42 #define zcbor_log(...) zcbor_do_print(__VA_ARGS__) macro
47 #define zcbor_log(...)
/zcbor-3.7.0/src/
Dzcbor_common.c42 zcbor_log("New backup (level %zu)\n", i); in zcbor_new_backup()
55 zcbor_log("No backups available.\r\n"); in zcbor_process_backup()
63 zcbor_log("Process backup (level %zu, flags 0x%x)\n", i, flags); in zcbor_process_backup()
68 zcbor_log("Payload pointer out of date.\r\n"); in zcbor_process_backup()
81 zcbor_log("elem_count: %zu (expected max %zu)\r\n", in zcbor_process_backup()
Dzcbor_encode.c32 zcbor_log("Should not come here.\r\n"); in log2ceil()
144 zcbor_log("uint with size %zu failed.\r\n", uint_size);
393 zcbor_log("list_count: %zu\r\n", list_count);
400 zcbor_log("max_num too small.\r\n");
459 zcbor_log("Error encoding %u (0x%p)\r\n", *input, input);
600 zcbor_log("Encoded %zu elements.\n", num_encode);
Dzcbor_decode.c91 #define PRINT_FUNC() zcbor_log("%s ", __func__);
222 zcbor_log("uint with size %zu failed.\r\n", result_size);
300 zcbor_log("%" PRIi64 " != %" PRIi64 "\r\n", actual, expected);
353 zcbor_log("%" PRIu64 " != %" PRIu64 "\r\n", actual, expected);
408 zcbor_log("error: 0x%zu > 0x%zu\r\n",
502 zcbor_log("New fragment length %zu\r\n", result->fragment.len);
518 zcbor_log("fragment length %zu\r\n", result->fragment.len);
881 zcbor_log("Found element at index %zu.\n", get_current_index(state, 1));
1025 zcbor_log("unprocessed element(s) in map: [%zu] = 0x%02x\n",
1080 zcbor_log("simple value %u != %u\r\n", actual, expected);
[all …]
/zcbor-3.7.0/tests/encode/test1_suit/src/
Dmain.c247 zcbor_log("\r\ntest %s\r\n", name); in test_command_sequence()
341 zcbor_log("test_vector at: 0x%zx\r\n", (size_t)input); in test_manifest()
342 zcbor_log("test_vector end at: 0x%zx\r\n", in test_manifest()
/zcbor-3.7.0/
DRELEASE_NOTES.md44 * Rename zcbor_print() to zcbor_log()
DREADME.md96 `ZCBOR_VERBOSE` | Print log messages on encoding/decoding errors (`zcbor_log()`), and als…