Home
last modified time | relevance | path

Searched refs:called (Results 1 – 25 of 277) sorted by relevance

12345678910>>...12

/Zephyr-latest/tests/lib/hash_map/src/
Dforeach.c14 bool *called = (bool *)cookie; in foreach_callback() local
17 called[key] = true; in foreach_callback()
22 bool called[10] = {0}; in ZTEST() local
26 for (size_t i = 0; i < ARRAY_SIZE(called); ++i) { in ZTEST()
30 zassert_equal(ARRAY_SIZE(called), sys_hashmap_size(&map)); in ZTEST()
32 sys_hashmap_foreach(&map, foreach_callback, called); in ZTEST()
33 for (size_t i = 0; i < ARRAY_SIZE(called); ++i) { in ZTEST()
34 zassert_true(called[i], "entry %zu was not called", i + 1); in ZTEST()
/Zephyr-latest/tests/net/lib/mqtt_sn_client/src/
Dmqtt_sn_client.c26 int called; member
46 msg_send_data.called++; in msg_sendto()
57 static void assert_msg_send(int called, size_t msg_sz, const struct mqtt_sn_data *dest_addr) in assert_msg_send() argument
59 zassert_equal(msg_send_data.called, called, "msg_send called %d times instead of %d", in assert_msg_send()
60 msg_send_data.called, called); in assert_msg_send()
74 int called; member
80 evt_cb_data.called++; in evt_cb()
166 zassert_equal(evt_cb_data.called, 0, "Unexpected event"); in mqtt_sn_connect_no_will()
173 zassert_equal(evt_cb_data.called, 0, "Unexpected event"); in mqtt_sn_connect_no_will()
178 zassert_equal(evt_cb_data.called, 1, "NO event"); in mqtt_sn_connect_no_will()
[all …]
/Zephyr-latest/tests/subsys/modem/modem_chat/src/
Dmain.c315 bool called; in ZTEST() local
435 called = atomic_test_bit(&callback_called, MODEM_CHAT_UTEST_ON_SCRIPT_CALLBACK_BIT); in ZTEST()
436 zassert_true(called == false, "Script callback should not have been called yet"); in ZTEST()
441 called = atomic_test_bit(&callback_called, MODEM_CHAT_UTEST_ON_SCRIPT_CALLBACK_BIT); in ZTEST()
442 zassert_true(called == true, "Script callback should have been called"); in ZTEST()
451 bool called; in ZTEST() local
460 called = atomic_test_bit(&callback_called, MODEM_CHAT_UTEST_ON_SCRIPT_CALLBACK_BIT); in ZTEST()
461 zassert_true(called == false, "Script callback should not have been called yet"); in ZTEST()
466 called = atomic_test_bit(&callback_called, MODEM_CHAT_UTEST_ON_SCRIPT_CALLBACK_BIT); in ZTEST()
467 zassert_true(called == true, "Script callback should have been called"); in ZTEST()
[all …]
/Zephyr-latest/tests/drivers/uart/uart_mix_fifo_poll/
DREADME.txt2 being interrupted by another uart API call. That includes uart_poll_out called
3 from higher priority context, uart_fifo_fill called from UART interrupt context
4 and uart_tx called from higher priority context. Preemptions shall not lead to
7 This test is establishing 3 context from which uart_poll_out is called:
/Zephyr-latest/scripts/west_commands/tests/
Dtest_mdb.py205 assert require.called
213 assert require.called
222 assert require.called
234 assert require.called
242 assert require.called
259 assert require.called
267 assert require.called
285 assert require.called
296 assert require.called
Dtest_pyocd.py171 assert require.called
183 assert require.called
195 assert require.called
217 assert require.called
231 assert require.called
245 assert require.called
Dtest_nxp_s32dbg.py178 assert require.called
210 assert require.called
244 assert require.called
/Zephyr-latest/doc/hardware/peripherals/can/
Dtransceiver.rst14 from the CAN controller to the bus-levels. The bus lines are called
16 The transmit wire from the controller to the transceiver is called CAN TX,
17 and the receive wire is called CAN RX.
27 This structure is called a wired-AND.
/Zephyr-latest/cmake/sca/sparse/
Dsca.cmake8 # Create sparse.cmake which will be called as compiler launcher.
10 # cgcc is called, thereby ensuring correct behavior of sparse without a need
/Zephyr-latest/soc/nordic/common/
Darm_platform_init.ld7 /* Let SystemInit() be called in place of soc_reset_hook() by default. */
/Zephyr-latest/doc/connectivity/bluetooth/api/
Dl2cap.rst15 In addition to that it also contains the ``recv`` callback which is called
21 The ``recv`` callback is called directly from RX Thread thus it is not
31 ``accept`` which is called to authorize incoming connection requests and
/Zephyr-latest/doc/connectivity/usb/device/api/
Dusb_device.rst14 Upon completion the registered endpoint callback will be called. Before
17 is called. usb_read() should be used for retrieving the received data.
/Zephyr-latest/tests/ztest/fail/
DREADME.rst10 There's a subdirectory to this test called 'core'. This project builds a sample as a
17 Note that these can be called indirectly through failed asserts or assumptions.
/Zephyr-latest/subsys/mgmt/mcumgr/mgmt/
DKconfig20 To enable notifications in code, mgmt_callback_register() must be called with the
22 registered and will all be called when registered events occur.
33 to pass user_data when the defined handler is called.
/Zephyr-latest/doc/kernel/memory_management/
Ddemand_paging.rst122 called from the kernel paging code:
124 * :c:func:`k_mem_paging_eviction_init()` is called to initialize
125 the eviction algorithm. This is called at ``POST_KERNEL``.
127 * :c:func:`k_mem_paging_eviction_add()` is called each time a data page becomes
130 * :c:func:`k_mem_paging_eviction_remove()` is called when a data page is no
134 * :c:func:`k_mem_paging_eviction_select()` is called to select
143 There is one additional function which is called by the architecture's memory
173 * :c:func:`k_mem_paging_backing_store_init()` is called to
176 * :c:func:`k_mem_paging_backing_store_location_get()` is called to
182 * :c:func:`k_mem_paging_backing_store_location_free()` is called to
[all …]
/Zephyr-latest/tests/bsim/bluetooth/mesh/
DREADME.rst69 function is called once in each script with the following parameters:
85 The mesh_test module is never called from the framework, so each test harness
101 is presented to the test runner through an ``install`` function called from the
107 will run until the mesh_test module's ``FAIL`` macro is called, or until the
109 has been called - otherwise, it will fail.
/Zephyr-latest/doc/services/settings/
Dindex.rst38 This gets called when asking for a settings element value by its name using
42 This gets called when the value is loaded from persisted storage with
47 This gets called after the settings have been loaded in full.
53 This gets called to write all current settings. This happens
78 This gets called when loading values from persistent storage using
82 This gets called when saving a single setting to persistent storage using
86 This gets called when starting a save of all current settings using
90 This gets called after having saved of all current settings using
102 all of these are restored when :c:func:`settings_load()` is called.
109 initializes the FCB area, so it must be called before calling
[all …]
/Zephyr-latest/doc/connectivity/networking/
Dqemu_eth_setup.rst44 Ethernet driver. Driver is called ``e1000`` in Zephyr source tree.
46 Ethernet driver. Driver is called ``stellaris`` in Zephyr source tree.
48 Driver is called ``smsc911x`` in Zephyr source tree.
/Zephyr-latest/soc/silabs/
DKconfig.defconfig17 # large, especially with logs enabled. Since it is called from IDLE task,
/Zephyr-latest/scripts/build/
Dcheck_init_priorities_test.py269 self.assertFalse(validator.log.info.called)
270 self.assertFalse(validator.log.warning.called)
271 self.assertFalse(validator.log.error.called)
289 self.assertFalse(validator.log.info.called)
290 self.assertFalse(validator.log.warning.called)
291 self.assertFalse(validator.log.error.called)
/Zephyr-latest/doc/services/llext/
Dload.rst25 :c:func:`llext_add_domain` function must be called.
31 called after loading but before any function in it can be used; this is typical
33 same is true for cleanup functions that must be called before unloading the
40 :ref:`User Mode <usermode_api>`, and thus can be called from either kernel or
66 The :c:func:`llext_unload` function must be called to free the memory used by
/Zephyr-latest/boards/intel/socfpga_std/cyclonev_socdk/support/
Dappli_dl_cmd.gdb5 # this file is called by the runner for Cyclone V SoC DeKit
/Zephyr-latest/samples/bluetooth/extended_adv/
DREADME.rst80 Recycled cb called!
88 Recycled cb called!
96 Recycled cb called!
/Zephyr-latest/drivers/watchdog/
DKconfig.rpi_pico17 be called every interval prior to this time elapsing to prevent a
/Zephyr-latest/doc/develop/sca/
Dgcc.rst14 called with a ``-DZEPHYR_SCA_VARIANT=gcc`` parameter, e.g.

12345678910>>...12