/Zephyr-latest/include/zephyr/sys/ |
D | util_listify.h | 15 #define Z_UTIL_LISTIFY_0(F, sep, ...) argument 17 #define Z_UTIL_LISTIFY_1(F, sep, ...) \ argument 20 #define Z_UTIL_LISTIFY_2(F, sep, ...) \ argument 21 Z_UTIL_LISTIFY_1(F, sep, __VA_ARGS__) __DEBRACKET sep \ 24 #define Z_UTIL_LISTIFY_3(F, sep, ...) \ argument 25 Z_UTIL_LISTIFY_2(F, sep, __VA_ARGS__) __DEBRACKET sep \ 28 #define Z_UTIL_LISTIFY_4(F, sep, ...) \ argument 29 Z_UTIL_LISTIFY_3(F, sep, __VA_ARGS__) __DEBRACKET sep \ 32 #define Z_UTIL_LISTIFY_5(F, sep, ...) \ argument 33 Z_UTIL_LISTIFY_4(F, sep, __VA_ARGS__) __DEBRACKET sep \ [all …]
|
D | util_loops.h | 25 #define Z_FOR_LOOP_0(z_call, sep, fixed_arg0, fixed_arg1, ...) argument 27 #define Z_FOR_LOOP_1(z_call, sep, fixed_arg0, fixed_arg1, x) \ argument 30 #define Z_FOR_LOOP_2(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \ argument 31 Z_FOR_LOOP_1(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \ 32 __DEBRACKET sep \ 35 #define Z_FOR_LOOP_3(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \ argument 36 Z_FOR_LOOP_2(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \ 37 __DEBRACKET sep \ 40 #define Z_FOR_LOOP_4(z_call, sep, fixed_arg0, fixed_arg1, x, ...) \ argument 41 Z_FOR_LOOP_3(z_call, sep, fixed_arg0, fixed_arg1, ##__VA_ARGS__) \ [all …]
|
D | util_macro.h | 470 #define LISTIFY(LEN, F, sep, ...) UTIL_CAT(Z_UTIL_LISTIFY_, LEN)(F, sep, __VA_ARGS__) argument 493 #define FOR_EACH(F, sep, ...) \ argument 494 Z_FOR_EACH(F, sep, REVERSE_ARGS(__VA_ARGS__)) 585 #define FOR_EACH_IDX(F, sep, ...) \ argument 586 Z_FOR_EACH_IDX(F, sep, REVERSE_ARGS(__VA_ARGS__)) 613 #define FOR_EACH_FIXED_ARG(F, sep, fixed_arg, ...) \ argument 614 Z_FOR_EACH_FIXED_ARG(F, sep, fixed_arg, REVERSE_ARGS(__VA_ARGS__)) 641 #define FOR_EACH_IDX_FIXED_ARG(F, sep, fixed_arg, ...) \ argument 642 Z_FOR_EACH_IDX_FIXED_ARG(F, sep, fixed_arg, REVERSE_ARGS(__VA_ARGS__))
|
/Zephyr-latest/scripts/native_simulator/common/src/include/ |
D | nsi_cpu_if_internal.h | 19 #define FUNCT_LIST(pre, post, sep) \ argument 20 FUNCT(0, pre, post) NSI_DEBRACKET sep \ 21 FUNCT(1, pre, post) NSI_DEBRACKET sep \ 22 FUNCT(2, pre, post) NSI_DEBRACKET sep \ 23 FUNCT(3, pre, post) NSI_DEBRACKET sep \ 24 FUNCT(4, pre, post) NSI_DEBRACKET sep \ 25 FUNCT(5, pre, post) NSI_DEBRACKET sep \ 26 FUNCT(6, pre, post) NSI_DEBRACKET sep \ 27 FUNCT(7, pre, post) NSI_DEBRACKET sep \ 28 FUNCT(8, pre, post) NSI_DEBRACKET sep \ [all …]
|
/Zephyr-latest/subsys/bluetooth/host/classic/ |
D | avdtp.c | 79 static void avdtp_sep_lock(struct bt_avdtp_sep *sep) in avdtp_sep_lock() argument 81 if (sep != NULL) { in avdtp_sep_lock() 82 k_sem_take(&sep->sem_lock, K_FOREVER); in avdtp_sep_lock() 86 static void avdtp_sep_unlock(struct bt_avdtp_sep *sep) in avdtp_sep_unlock() argument 88 if (sep != NULL) { in avdtp_sep_unlock() 89 k_sem_give(&sep->sem_lock); in avdtp_sep_unlock() 93 static void bt_avdtp_set_state(struct bt_avdtp_sep *sep, uint8_t state) in bt_avdtp_set_state() argument 95 sep->state = state; in bt_avdtp_set_state() 97 sep->sep_info.inuse = 1U; in bt_avdtp_set_state() 99 sep->sep_info.inuse = 0U; in bt_avdtp_set_state() [all …]
|
D | a2dp.c | 124 static int a2dp_get_capabilities_ind(struct bt_avdtp *session, struct bt_avdtp_sep *sep, in a2dp_get_capabilities_ind() argument 129 __ASSERT(sep, "Invalid sep"); in a2dp_get_capabilities_ind() 136 ep = CONTAINER_OF(sep, struct bt_a2dp_ep, sep); in a2dp_get_capabilities_ind() 140 net_buf_add_u8(rsp_buf, sep->sep_info.media_type << 4U); in a2dp_get_capabilities_ind() 148 static int a2dp_process_config_ind(struct bt_avdtp *session, struct bt_avdtp_sep *sep, in a2dp_process_config_ind() argument 166 __ASSERT(sep, "Invalid sep"); in a2dp_process_config_ind() 168 ep = CONTAINER_OF(sep, struct bt_a2dp_ep, sep); in a2dp_process_config_ind() 253 static int a2dp_set_config_ind(struct bt_avdtp *session, struct bt_avdtp_sep *sep, uint8_t int_seid, in a2dp_set_config_ind() argument 256 __ASSERT(sep, "Invalid sep"); in a2dp_set_config_ind() 257 return a2dp_process_config_ind(session, sep, int_seid, buf, errcode, false); in a2dp_set_config_ind() [all …]
|
D | avdtp_internal.h | 162 struct bt_avdtp_sep *sep; member 174 struct bt_avdtp_sep *sep; member 187 int (*get_capabilities_ind)(struct bt_avdtp *session, struct bt_avdtp_sep *sep, 190 int (*set_configuration_ind)(struct bt_avdtp *session, struct bt_avdtp_sep *sep, 193 int (*re_configuration_ind)(struct bt_avdtp *session, struct bt_avdtp_sep *sep, 196 int (*open_ind)(struct bt_avdtp *session, struct bt_avdtp_sep *sep, uint8_t *errcode); 198 int (*close_ind)(struct bt_avdtp *session, struct bt_avdtp_sep *sep, uint8_t *errcode); 200 int (*start_ind)(struct bt_avdtp *session, struct bt_avdtp_sep *sep, uint8_t *errcode); 202 int (*suspend_ind)(struct bt_avdtp *session, struct bt_avdtp_sep *sep, uint8_t *errcode); 204 int (*abort_ind)(struct bt_avdtp *session, struct bt_avdtp_sep *sep, uint8_t *errcode); [all …]
|
/Zephyr-latest/soc/nordic/ |
D | validate_rram_partitions.c | 11 #define PAIR__(f, sep, arg_first, ...) FOR_EACH_FIXED_ARG(f, sep, arg_first, __VA_ARGS__) argument 12 #define PAIR_(f, sep, args_to_expand) PAIR__(f, sep, args_to_expand) argument 13 #define PAIR(n, f, sep, ...) PAIR_(f, sep, GET_ARGS_LESS_N(n, __VA_ARGS__)) argument 27 #define FOR_EACH_PAIR(f, sep, ...) \ argument 28 LISTIFY(NUM_VA_ARGS_LESS_1(__VA_ARGS__), PAIR, sep, f, sep, __VA_ARGS__)
|
/Zephyr-latest/subsys/bluetooth/controller/hci/ |
D | hci.c | 2967 struct bt_hci_evt_le_connectionless_iq_report *sep; in le_df_connectionless_iq_report() local 3033 sep = meta_evt(buf, BT_HCI_EVT_LE_CONNECTIONLESS_IQ_REPORT, in le_df_connectionless_iq_report() 3034 (sizeof(*sep) + in le_df_connectionless_iq_report() 3040 sep->sync_handle = sys_cpu_to_le16(sync_handle); in le_df_connectionless_iq_report() 3041 sep->rssi = sys_cpu_to_le16(rssi); in le_df_connectionless_iq_report() 3042 sep->rssi_ant_id = iq_report->rssi_ant_id; in le_df_connectionless_iq_report() 3043 sep->cte_type = iq_report->cte_info.type; in le_df_connectionless_iq_report() 3045 sep->chan_idx = iq_report->chan_idx; in le_df_connectionless_iq_report() 3046 sep->per_evt_counter = sys_cpu_to_le16(per_evt_counter); in le_df_connectionless_iq_report() 3048 if (sep->cte_type == BT_HCI_LE_AOA_CTE) { in le_df_connectionless_iq_report() [all …]
|
/Zephyr-latest/include/zephyr/ |
D | devicetree.h | 3113 #define DT_FOREACH_CHILD_SEP(node_id, fn, sep) \ argument 3114 DT_CAT(node_id, _FOREACH_CHILD_SEP)(fn, sep) 3149 #define DT_FOREACH_CHILD_SEP_VARGS(node_id, fn, sep, ...) \ argument 3150 DT_CAT(node_id, _FOREACH_CHILD_SEP_VARGS)(fn, sep, __VA_ARGS__) 3186 #define DT_FOREACH_CHILD_STATUS_OKAY_SEP(node_id, fn, sep) \ argument 3187 DT_CAT(node_id, _FOREACH_CHILD_STATUS_OKAY_SEP)(fn, sep) 3229 #define DT_FOREACH_CHILD_STATUS_OKAY_SEP_VARGS(node_id, fn, sep, ...) \ argument 3230 DT_CAT(node_id, _FOREACH_CHILD_STATUS_OKAY_SEP_VARGS)(fn, sep, __VA_ARGS__) 3327 #define DT_FOREACH_PROP_ELEM_SEP(node_id, prop, fn, sep) \ argument 3328 DT_CAT4(node_id, _P_, prop, _FOREACH_PROP_ELEM_SEP)(fn, sep) [all …]
|
/Zephyr-latest/scripts/build/ |
D | subfolder_list.py | 48 symlink = create_links + os.path.sep + symbase 61 linkname = symbase + '_' + reldir.replace(os.path.sep, '_') 62 symlink = create_links + os.path.sep + linkname
|
D | parse_syscalls.py | 104 path.endswith(os.path.join(os.sep, 'toolchain',
|
/Zephyr-latest/lib/libc/minimal/source/string/ |
D | string.c | 161 char *strtok_r(char *str, const char *sep, char **state) in strtok_r() argument 168 while (*start && strchr(sep, *start)) { in strtok_r() 179 while (*end && !strchr(sep, *end)) { in strtok_r()
|
/Zephyr-latest/subsys/input/ |
D | input_utils.c | 144 char *sep = (i + 1) < cfg->col_size ? " " : ""; in kbd_matrix_state_log_entry() local 147 ret = snprintf(buf, size, "%" PRIkbdrow "%s", data[i], sep); in kbd_matrix_state_log_entry() 149 ret = snprintf(buf, size, "%s%s", blank, sep); in kbd_matrix_state_log_entry()
|
/Zephyr-latest/include/zephyr/bluetooth/classic/ |
D | avdtp.h | 130 void (*media_data_cb)(struct bt_avdtp_sep *sep, struct net_buf *buf);
|
D | a2dp.h | 43 .sep = {.sep_info = {.media_type = BT_AVDTP_AUDIO, .tsep = _role}}, \ 333 struct bt_avdtp_sep sep; member
|
/Zephyr-latest/lib/libc/minimal/include/ |
D | string.h | 30 extern char *strtok_r(char *str, const char *sep, char **state);
|
/Zephyr-latest/tests/drivers/can/host/pytest/ |
D | conftest.py | 32 ctx = fixture.split(sep=':', maxsplit=1)[1]
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/ |
D | radio_df.c | 35 #define FOR_EACH_DFE_GPIO(fn, sep) \ argument 36 FOR_EACH(fn, sep, 0, 1, 2, 3, 4, 5, 6, 7)
|
/Zephyr-latest/scripts/tests/twister/ |
D | test_testsuite.py | 323 os.sep, 330 os.sep, 350 os.path.join(os.sep, TEST_DATA_REL_PATH, 'test_b', 'test_b.check_1'), 351 os.path.join(os.sep, TEST_DATA_REL_PATH, 'test_b', 'test_b.check_1')
|
D | test_handlers.py | 1626 os.path.sep + 'qemu-fifo' 1628 assert handler.pid_fn == sysbuild_build_dir + os.path.sep + 'qemu.pid' 1634 os.path.sep + 'qemu.pid') 1644 assert result == ['dummy_cmd', '-C', 'sysbuild' + os.path.sep + 'dummy_dir',
|
/Zephyr-latest/include/zephyr/zbus/ |
D | zbus.h | 237 #define FOR_EACH_FIXED_ARG_NONEMPTY_TERM(F, sep, fixed_arg, ...) \ argument 243 F, sep, fixed_arg, \ 245 __DEBRACKET sep))
|
/Zephyr-latest/tests/lib/c_lib/common/src/ |
D | main.c | 1031 void test_strtok_r_do(char *str, char *sep, int tlen, in test_strtok_r_do() argument 1039 tok = strtok_r(buf, sep, &state); in test_strtok_r_do() 1044 tok = strtok_r(NULL, sep, &state); in test_strtok_r_do() 1049 "strtok_r error '%s' / '%s'", str, sep); in test_strtok_r_do() 1052 "strtok_r error '%s' / '%s'", str, sep); in test_strtok_r_do()
|
/Zephyr-latest/scripts/ci/coverage/ |
D | coverage_analysis.py | 303 sep = path.split(str, n) 304 if len(sep) <= n: 306 return len(path) - len(sep[-1]) - len(str)
|
/Zephyr-latest/scripts/pylib/twister/twisterlib/ |
D | testinstance.py | 75 source_dir_rel = testsuite.source_dir_rel.rsplit(os.pardir+os.path.sep, 1)[-1] 218 can_run = fixture in map(lambda f: f.split(sep=':')[0], fixtures)
|