Home
last modified time | relevance | path

Searched refs:expected_offset (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/subsys/net/ip/
Dipv4_fragment.c246 unsigned int expected_offset = 0; in fragments_are_ready() local
270 if (offset < expected_offset) { in fragments_are_ready()
273 } else if (offset != expected_offset) { in fragments_are_ready()
284 expected_offset += payload_len; in fragments_are_ready()
Dipv6_fragment.c381 unsigned int expected_offset = 0; in fragments_are_ready() local
405 if (offset < expected_offset) { in fragments_are_ready()
410 } else if (offset != expected_offset) { in fragments_are_ready()
421 expected_offset += payload_len; in fragments_are_ready()
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dvcp_vol_ctlr_test.c691 const int16_t expected_offset = g_vocs_offset + 1; in test_vocs_state_set() local
696 err = bt_vocs_state_set(NULL, expected_offset); in test_vocs_state_set()
722 err = bt_vocs_state_set(vcp_included.vocs[0], expected_offset); in test_vocs_state_set()
728 WAIT_FOR_COND(g_write_complete && expected_offset == g_vocs_offset); in test_vocs_state_set()
Dvcp_vol_rend_test.c659 const int16_t expected_offset = g_vocs_offset + 1; in test_vocs_state_set() local
664 err = bt_vocs_state_set(NULL, expected_offset); in test_vocs_state_set()
689 err = bt_vocs_state_set(vcp_included.vocs[0], expected_offset); in test_vocs_state_set()
695 WAIT_FOR_COND(expected_offset == g_vocs_offset); in test_vocs_state_set()
/Zephyr-latest/tests/kernel/common/src/
Dbitarray.c450 size_t expected_offset; in alloc_and_free_interval() local
465 expected_offset = 4; in alloc_and_free_interval()
479 zassert_equal(offset, expected_offset, in alloc_and_free_interval()
481 expected_offset, offset, cnt); in alloc_and_free_interval()
491 expected_offset += 8; in alloc_and_free_interval()
/Zephyr-latest/drivers/gpio/
Dgpio_pca_series.c832 uint8_t expected_offset = 0U; in gpio_pca_series_cache_test() local
847 if (cache_offset != expected_offset) { in gpio_pca_series_cache_test()
849 reg_type, cache_offset, expected_offset); in gpio_pca_series_cache_test()
853 expected_offset += cache_size; in gpio_pca_series_cache_test()
/Zephyr-latest/scripts/dts/python-devicetree/tests/
Dtest_dtlib.py509 def verify_label2offset(label, expected_prop, expected_offset): argument
513 (expected_prop, expected_offset), \
/Zephyr-latest/tests/net/lib/coap/src/
Dmain.c1285 #define ASSERT_OPTIONS_AND_PAYLOAD(cpkt, expected_opt_len, expected_data, expected_offset, \ argument
1289 zassert_equal(expected_offset, expected_data_l); \
1293 zassert_equal(expected_offset, cpkt.offset, "Wrong offset"); \
1294 zassert_mem_equal(expected_data, cpkt.data, expected_offset, "Wrong data"); \