Home
last modified time | relevance | path

Searched refs:rec (Results 1 – 19 of 19) sorted by relevance

/Zephyr-latest/subsys/bluetooth/services/ots/
Dots_client.c1596 struct dirlisting_record_t *rec) in decode_record() argument
1600 rec->len = net_buf_simple_pull_le16(buf); in decode_record()
1602 if (rec->len > buf->len) { in decode_record()
1605 rec->len, buf->len); in decode_record()
1609 if ((start_len - buf->len) + BT_OTS_OBJ_ID_SIZE > rec->len) { in decode_record()
1612 rec->len); in decode_record()
1616 rec->metadata.id = net_buf_simple_pull_le48(buf); in decode_record()
1621 (void)bt_ots_obj_id_to_str(rec->metadata.id, t, sizeof(t)); in decode_record()
1625 if ((start_len - buf->len) + sizeof(uint8_t) > rec->len) { in decode_record()
1628 rec->len); in decode_record()
[all …]
/Zephyr-latest/include/zephyr/net/
Ddns_sd.h255 static inline size_t dns_sd_txt_size(const struct dns_sd_rec *rec) in dns_sd_txt_size() argument
257 return rec->text_size; in dns_sd_txt_size()
277 bool dns_sd_is_service_type_enumeration(const struct dns_sd_rec *rec);
/Zephyr-latest/scripts/build/
Duf2conv.py176 rec = []
178 rec.append(int(line[i:i+2], 16))
180 tp = rec[3]
182 upper = ((rec[4] << 8) | rec[5]) << 16
184 upper = ((rec[4] << 8) | rec[5]) << 4
188 addr = upper + ((rec[1] << 8) | rec[2])
192 while i < len(rec) - 1:
196 currblock.bytes[addr & 0xff] = rec[i]
/Zephyr-latest/lib/heap/
Dmulti_heap.c107 const struct sys_multi_heap_rec *rec = sys_multi_heap_get_heap(mheap, ptr); in sys_multi_heap_aligned_realloc() local
109 __ASSERT_NO_MSG(rec); in sys_multi_heap_aligned_realloc()
112 void *new_ptr = sys_heap_aligned_realloc(rec->heap, ptr, align, bytes); in sys_multi_heap_aligned_realloc()
118 size_t old_size = sys_heap_usable_size(rec->heap, ptr); in sys_multi_heap_aligned_realloc()
/Zephyr-latest/subsys/net/lib/lwm2m/
Dlwm2m_rw_senml_cbor.c719 static int do_write_op_item(struct lwm2m_message *msg, struct record *rec) in do_write_op_item() argument
742 if (rec->record_n_present) { in do_write_op_item()
743 len = MIN(sizeof(name) - 1, rec->record_n.record_n.len); in do_write_op_item()
744 snprintk(name, len + 1, "%s", rec->record_n.record_n.value); in do_write_op_item()
757 fd->current = rec; in do_write_op_item()
996 struct record *rec = &fd->dcd.lwm2m_senml_record_m[idx]; in do_write_op_senml_cbor() local
999 if (rec->record_bn_present) { in do_write_op_senml_cbor()
1001 rec->record_bn.record_bn.len); in do_write_op_senml_cbor()
1003 snprintk(fd->basename, len + 1, "%s", rec->record_bn.record_bn.value); in do_write_op_senml_cbor()
1008 for (int jdx = 0; jdx < rec->record_key_value_pair_m_count; jdx++) { in do_write_op_senml_cbor()
[all …]
/Zephyr-latest/drivers/serial/
Duart_psoc6.c137 uint32_t rec; in uart_psoc6_poll_in() local
139 rec = Cy_SCB_UART_Get(config->base); in uart_psoc6_poll_in()
140 *c = (unsigned char)(rec & 0xff); in uart_psoc6_poll_in()
142 return ((rec == CY_SCB_UART_RX_NO_DATA) ? -1 : 0); in uart_psoc6_poll_in()
Duart_ifx_cat1.c169 cy_rslt_t rec; in ifx_cat1_uart_poll_in() local
172 rec = cyhal_uart_getc(&data->obj, c, 0u); in ifx_cat1_uart_poll_in()
174 return ((rec == CY_SCB_UART_RX_NO_DATA) ? -1 : 0); in ifx_cat1_uart_poll_in()
/Zephyr-latest/subsys/bluetooth/host/classic/
Dsdp.c112 struct bt_sdp_record *rec; member
147 typedef uint8_t (*bt_sdp_svc_func_t)(struct bt_sdp_record *rec,
426 struct bt_sdp_record *rec = db; in bt_sdp_foreach_svc() local
428 while (rec) { in bt_sdp_foreach_svc()
429 if (func(rec, user_data) == BT_SDP_ITER_STOP) { in bt_sdp_foreach_svc()
433 rec = rec->next; in bt_sdp_foreach_svc()
435 return rec; in bt_sdp_foreach_svc()
447 static uint8_t insert_record(struct bt_sdp_record *rec, void *user_data) in insert_record() argument
451 rec_list[rec->index] = rec; in insert_record()
848 if ((sad->state->current_svc != sad->rec->index) && in select_attrs()
[all …]
/Zephyr-latest/arch/x86/zefi/
Dprintf.h144 #define CALL_VPF(rec) \ argument
/Zephyr-latest/tests/net/lib/mdns_responder/src/
Dmain.c252 static void free_ext_record(struct dns_sd_rec *rec) in free_ext_record() argument
255 if (services[i].record == rec) { in free_ext_record()
/Zephyr-latest/scripts/kconfig/
Dguiconfig.py707 def rec(node): function
715 res += rec(node.list)
722 shown_children = rec(node.list)
731 return rec(menu.list)
745 def rec(node): function
752 res += rec(node.list)
755 shown_children = rec(node.list)
766 return rec(menu.list)
Dmenuconfig.py1492 def rec(node): function
1502 res += rec(node.list)
1509 shown_children = rec(node.list)
1543 seen_syms = {node.item for node in rec(menu.list)
1547 for node in rec(choice_node.list):
1556 return rec(menu.list)
Dkconfiglib.py6157 def rec(subexpr): function
6161 rec(subexpr[1])
6165 rec(subexpr[2])
6171 rec(expr)
6209 def rec(subexpr): function
6211 rec(subexpr[1])
6212 rec(subexpr[2])
6216 rec(expr)
/Zephyr-latest/drivers/can/
Dcan_xmc4xxx.c456 uint8_t rec = XMC_CAN_NODE_GetTransmitErrorCounter(dev_cfg->can); in can_xmc4xxx_get_state_from_status() local
460 err_cnt->rx_err_cnt = rec; in can_xmc4xxx_get_state_from_status()
474 } else if (tec >= 128 || rec >= 128) { in can_xmc4xxx_get_state_from_status()
/Zephyr-latest/cmake/bintools/llvm/
Dtarget_bintools.cmake25 # such as intel hex, s-rec, binary, etc.
/Zephyr-latest/cmake/bintools/gnu/
Dtarget_bintools.cmake25 # such as intel hex, s-rec, binary, etc.
/Zephyr-latest/subsys/net/lib/dns/
Ddns_sd.c1142 bool dns_sd_is_service_type_enumeration(const struct dns_sd_rec *rec) in dns_sd_is_service_type_enumeration() argument
1151 return dns_sd_rec_match(rec, &filter); in dns_sd_is_service_type_enumeration()
/Zephyr-latest/scripts/pylib/twister/twisterlib/
Dharness.py132 rec = self.translate_record(
135 self.recording.append(rec)
/Zephyr-latest/cmake/bintools/
Dbintools_template.cmake140 # elfconvert to use for transforming an elf file into another format, such as intel hex, s-rec, bin…