/Zephyr-latest/subsys/net/lib/lwm2m/ |
D | lwm2m_rw_senml_cbor.c | 63 struct record *current; 162 struct record *record = GET_CBOR_FD_REC(fd); in put_basename() local 164 record->record_bn.record_bn.value = basename; in put_basename() 165 record->record_bn.record_bn.len = len; in put_basename() 166 record->record_bn_present = 1; in put_basename() 259 struct record *record = GET_CBOR_FD_REC(fd); in put_begin_r() local 261 record->record_n.record_n.value = name; in put_begin_r() 262 record->record_n.record_n.len = len; in put_begin_r() 263 record->record_n_present = 1; in put_begin_r() 277 struct record *out_record; in put_data_timestamp() [all …]
|
D | lwm2m_senml_cbor.cddl | 1 lwm2m_senml = [1* record] 3 record = {
|
D | lwm2m_senml_cbor_types.h | 108 struct record { struct 124 struct record lwm2m_senml_record_m[CONFIG_LWM2M_RW_SENML_CBOR_RECORDS];
|
D | lwm2m_senml_cbor.patch | 38 …)decode_record, state, (*&(*result).lwm2m_senml_record_m), sizeof(struct record))) || (zcbor_list_… 39 …)decode_record, state, (*&(*result).lwm2m_senml_record_m), sizeof(struct record))) || (zcbor_list_… 111 …*)encode_record, state, (*&(*input).lwm2m_senml_record_m), sizeof(struct record))) || (zcbor_list_… 112 …*)encode_record, state, (*&(*input).lwm2m_senml_record_m), sizeof(struct record))) || (zcbor_list_… 182 struct record { 203 - struct record lwm2m_senml_record_m[99]; 204 + struct record lwm2m_senml_record_m[CONFIG_LWM2M_RW_SENML_CBOR_RECORDS];
|
D | lwm2m_senml_cbor_encode.c | 39 static bool encode_record(zcbor_state_t *state, const struct record *input); 177 static bool encode_record(zcbor_state_t *state, const struct record *input) in encode_record() 215 state, (*&(*input).lwm2m_senml_record_m), sizeof(struct record))) || in encode_lwm2m_senml()
|
D | lwm2m_senml_cbor_decode.c | 39 static bool decode_record(zcbor_state_t *state, struct record *result); 165 static bool decode_record(zcbor_state_t *state, struct record *result) in decode_record() 220 state, (*&(*result).lwm2m_senml_record_m), sizeof(struct record))) || in decode_lwm2m_senml()
|
/Zephyr-latest/scripts/dts/ |
D | edtlib_logger.py | 18 def format(self, record): argument 19 record.levelnamelower = record.levelname.lower() 20 return super().format(record)
|
/Zephyr-latest/subsys/net/lib/dns/ |
D | dns_sd.c | 921 bool dns_sd_rec_match(const struct dns_sd_rec *record, in dns_sd_rec_match() argument 942 if (!rec_is_valid(record)) { in dns_sd_rec_match() 943 LOG_DBG("DNS SD record at %p is invalid", record); in dns_sd_rec_match() 953 record->instance, filter->instance, in dns_sd_rec_match() 954 record->service, filter->service, in dns_sd_rec_match() 955 record->proto, filter->proto, in dns_sd_rec_match() 956 record->domain, filter->domain, in dns_sd_rec_match() 983 if (*(record->port) != *(filter->port)) { in dns_sd_rec_match() 991 int dns_sd_query_extract(const uint8_t *query, size_t query_size, struct dns_sd_rec *record, in dns_sd_query_extract() argument 1029 dns_sd_create_wildcard_filter(record); in dns_sd_query_extract() [all …]
|
D | dns_sd.h | 68 int dns_sd_query_extract(const uint8_t *query, size_t query_size, struct dns_sd_rec *record, 115 bool dns_sd_rec_match(const struct dns_sd_rec *record,
|
D | mdns_responder.c | 358 const struct dns_sd_rec *record; in send_sd_response() local 463 DNS_SD_GET(rec_num - 1, &record); in send_sd_response() 466 record = &external_records[ext_rec_num - 1]; in send_sd_response() 471 if (dns_sd_rec_match(record, &filter)) { in send_sd_response() 473 record->instance, record->service, in send_sd_response() 474 record->proto, record->domain, in send_sd_response() 475 ntohs(*(record->port))); in send_sd_response() 479 ret = dns_sd_handle_service_type_enum(record, addr4, addr6, in send_sd_response() 487 ret = dns_sd_handle_ptr_query(record, addr4, addr6, in send_sd_response()
|
/Zephyr-latest/tests/bsim/bluetooth/audio/src/ |
D | has_client_test.c | 74 static void check_preset_record(const struct bt_has_preset_record *record, in check_preset_record() argument 78 if (record->properties != expected_properties || strcmp(record->name, expected_name)) { in check_preset_record() 80 record->properties, record->name, expected_properties, expected_name); in check_preset_record() 85 const struct bt_has_preset_record *record, bool is_last) in preset_read_rsp_cb() argument 92 if (record->index == test_preset_index_1) { in preset_read_rsp_cb() 95 check_preset_record(record, test_preset_properties, test_preset_name_1); in preset_read_rsp_cb() 96 } else if (record->index == test_preset_index_5) { in preset_read_rsp_cb() 99 check_preset_record(record, test_preset_properties, test_preset_name_5); in preset_read_rsp_cb() 101 FAIL("unexpected index 0x%02x", record->index); in preset_read_rsp_cb() 106 const struct bt_has_preset_record *record, bool is_last) in preset_update_cb() argument [all …]
|
/Zephyr-latest/scripts/pylib/pytest-twister-harness/tests/device/ |
D | binary_adapter_test.py | 127 for record in caplog.records: 128 if record.message == warning_msg: 129 assert record.levelname == 'DEBUG' 136 for record in caplog.records: 137 if record.message == warning_msg: 138 assert record.levelname == 'DEBUG'
|
/Zephyr-latest/tests/net/lib/dns_sd/src/ |
D | main.c | 633 DNS_SD_REGISTER_TCP_SERVICE(record, in ZTEST() 662 zassert_equal(false, dns_sd_rec_match(&record, NULL), ""); in ZTEST() 663 zassert_equal(false, dns_sd_rec_match(&record, &filter_nok), ""); in ZTEST() 664 zassert_equal(true, dns_sd_rec_match(&record, &filter_ok), ""); in ZTEST() 770 struct dns_sd_rec record; in ZTEST() local 796 dns_sd_query_extract(query, ARRAY_SIZE(query), &record, label, size, &n), in ZTEST() 799 zassert_true(dns_sd_is_service_type_enumeration(&record), ""); in ZTEST() 810 DNS_SD_FOREACH(record) { in ZTEST() 811 if (!rec_is_valid(record)) { in ZTEST() 818 DNS_SD_FOREACH(record) { in ZTEST() [all …]
|
/Zephyr-latest/subsys/bluetooth/audio/shell/ |
D | has_client.c | 52 const struct bt_has_preset_record *record, bool is_last) in has_client_preset_read_rsp_cb() argument 60 record->index, record->properties, record->name); in has_client_preset_read_rsp_cb()
|
/Zephyr-latest/include/zephyr/bluetooth/audio/ |
D | has.h | 177 const struct bt_has_preset_record *record, bool is_last); 192 const struct bt_has_preset_record *record, bool is_last);
|
/Zephyr-latest/tests/net/lib/mdns_responder/src/ |
D | main.c | 39 struct dns_sd_rec *record; member 198 services[i].record = &records[i]; in test_setup() 255 if (services[i].record == rec) { in free_ext_record() 350 services[i].record->text_size = txt_len; in alloc_ext_record() 352 return services[i].record; in alloc_ext_record()
|
/Zephyr-latest/subsys/bluetooth/host/classic/ |
D | sdp.c | 473 struct bt_sdp_record *record; in find_services() local 541 record = matching_recs[rec_idx]; in find_services() 543 if (!record) { in find_services() 550 for (att_idx = 0U; att_idx < record->attr_count; in find_services() 552 search_uuid(&record->attrs[att_idx].val, in find_services() 586 struct bt_sdp_record *record; in sdp_svc_search_req() local 645 record = matching_recs[cont_state]; in sdp_svc_search_req() 647 if (!record) { in sdp_svc_search_req() 685 net_buf_add_be32(resp_buf, record->handle); in sdp_svc_search_req() 788 static uint8_t bt_sdp_foreach_attr(struct bt_sdp_record *record, uint8_t idx, in bt_sdp_foreach_attr() argument [all …]
|
/Zephyr-latest/scripts/pylib/twister/twisterlib/ |
D | harness.py | 54 self.record = None 99 self.record = config.get('record', {}) 100 if self.record: 101 self.record_pattern = re.compile(self.record.get("regex", "")) 102 self.record_as_json = self.record.get("as_json") 113 def translate_record(self, record: dict) -> dict: 116 if k not in record: 119 record[k] = json.loads(record[k]) if record[k] else {} 124 record[k] = { 'ERROR': { 'msg': str(parse_error), 'doc': record[k] } } 125 return record [all …]
|
/Zephyr-latest/subsys/bluetooth/audio/ |
D | has_client.c | 69 struct bt_has_preset_record record; in handle_read_preset_rsp() local 86 record.index = pdu->index; in handle_read_preset_rsp() 87 record.properties = pdu->properties; in handle_read_preset_rsp() 88 record.name = name; in handle_read_preset_rsp() 99 client_cb->preset_read_rsp(&inst->has, 0, &record, !!pdu->is_last); in handle_read_preset_rsp() 106 struct bt_has_preset_record record; in handle_generic_update() local 117 record.index = pdu->index; in handle_generic_update() 118 record.properties = pdu->properties; in handle_generic_update() 119 record.name = name; in handle_generic_update() 130 client_cb->preset_update(&inst->has, pdu->prev_index, &record, is_last); in handle_generic_update()
|
D | Kconfig.has | 24 int "Preset record list size"
|
/Zephyr-latest/samples/drivers/i2s/i2s_codec/ |
D | README.rst | 12 record i2s data and send to codec with DMA.
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | access.c | 671 8 + dev_comp2->record[i].elem_offset_cnt + dev_comp2->record[i].data_len; in bt_mesh_comp_data_get_page_2() 691 data_buf_add_le16_offset(buf, dev_comp2->record[i].id, &offset); in bt_mesh_comp_data_get_page_2() 692 data_buf_add_u8_offset(buf, dev_comp2->record[i].version.x, &offset); in bt_mesh_comp_data_get_page_2() 693 data_buf_add_u8_offset(buf, dev_comp2->record[i].version.y, &offset); in bt_mesh_comp_data_get_page_2() 694 data_buf_add_u8_offset(buf, dev_comp2->record[i].version.z, &offset); in bt_mesh_comp_data_get_page_2() 695 data_buf_add_u8_offset(buf, dev_comp2->record[i].elem_offset_cnt, &offset); in bt_mesh_comp_data_get_page_2() 696 if (dev_comp2->record[i].elem_offset_cnt) { in bt_mesh_comp_data_get_page_2() 697 data_buf_add_mem_offset(buf, dev_comp2->record[i].elem_offset, in bt_mesh_comp_data_get_page_2() 698 dev_comp2->record[i].elem_offset_cnt, &offset); in bt_mesh_comp_data_get_page_2() 701 data_buf_add_le16_offset(buf, dev_comp2->record[i].data_len, &offset); in bt_mesh_comp_data_get_page_2() [all …]
|
/Zephyr-latest/doc/services/profiling/ |
D | perf.rst | 12 The ``perf record`` shell command starts a timer with the perf tracer function.
|
/Zephyr-latest/samples/subsys/profiling/perf/ |
D | README.rst | 29 uart:~$ perf record <duration> <frequency>
|
/Zephyr-latest/samples/net/dns_resolve/ |
D | README.rst | 14 - If IPv4 is enabled, then A record for ``www.zephyrproject.org`` is 16 - If IPv6 is enabled, then AAAA record for ``www.zephyrproject.org`` is
|