/Zephyr-latest/subsys/bluetooth/host/ |
D | settings.h | 26 size_t val_len); 29 void bt_testing_settings_store_hook(const char *key, const void *value, size_t val_len); 41 int bt_settings_store_sc(uint8_t id, const bt_addr_le_t *addr, const void *value, size_t val_len); 44 int bt_settings_store_cf(uint8_t id, const bt_addr_le_t *addr, const void *value, size_t val_len); 47 int bt_settings_store_ccc(uint8_t id, const bt_addr_le_t *addr, const void *value, size_t val_len); 50 int bt_settings_store_hash(const void *value, size_t val_len); 53 int bt_settings_store_name(const void *value, size_t val_len); 56 int bt_settings_store_appearance(const void *value, size_t val_len); 65 int bt_settings_store_link_key(const bt_addr_le_t *addr, const void *value, size_t val_len); 68 int bt_settings_store_keys(uint8_t id, const bt_addr_le_t *addr, const void *value, size_t val_len);
|
D | settings.c | 301 __weak void bt_testing_settings_store_hook(const char *key, const void *value, size_t val_len) in bt_testing_settings_store_hook() argument 305 ARG_UNUSED(val_len); in bt_testing_settings_store_hook() 314 size_t val_len) in bt_settings_store() argument 334 bt_testing_settings_store_hook(key_str, value, val_len); in bt_settings_store() 337 return settings_save_one(key_str, value, val_len); in bt_settings_store() 366 int bt_settings_store_sc(uint8_t id, const bt_addr_le_t *addr, const void *value, size_t val_len) in bt_settings_store_sc() argument 368 return bt_settings_store("sc", id, addr, value, val_len); in bt_settings_store_sc() 376 int bt_settings_store_cf(uint8_t id, const bt_addr_le_t *addr, const void *value, size_t val_len) in bt_settings_store_cf() argument 378 return bt_settings_store("cf", id, addr, value, val_len); in bt_settings_store_cf() 386 int bt_settings_store_ccc(uint8_t id, const bt_addr_le_t *addr, const void *value, size_t val_len) in bt_settings_store_ccc() argument [all …]
|
/Zephyr-latest/tests/subsys/settings/nvs/src/ |
D | settings_test_nvs.c | 27 const void *value, size_t val_len)); 63 size_t val_len; in c1_handle_set() local 81 val_len = len; in c1_handle_set() 82 zassert_equal(val_len, sizeof(val8_un), in c1_handle_set() 83 "value length: %d, ought equal 1", val_len); in c1_handle_set() 99 const void *value, size_t val_len)) in c1_handle_export() argument
|
/Zephyr-latest/tests/subsys/settings/file/src/ |
D | settings_test_file.c | 27 const void *value, size_t val_len)); 72 size_t val_len; in c1_handle_set() local 76 val_len = len; in c1_handle_set() 77 zassert_true(val_len == 1, "bad set-value size"); in c1_handle_set() 85 val_len = len; in c1_handle_set() 86 zassert_true(val_len == 2, "bad set-value size"); in c1_handle_set() 94 val_len = len; in c1_handle_set() 95 zassert_true(val_len == 8, "bad set-value size"); in c1_handle_set() 112 const void *value, size_t val_len)) in c1_handle_export() argument
|
/Zephyr-latest/tests/subsys/settings/fcb/src/ |
D | settings_test_fcb.c | 34 const void *value, size_t val_len)); 40 const void *value, size_t val_len)); 46 const void *value, size_t val_len)); 99 size_t val_len; in c1_handle_set() local 117 val_len = len; in c1_handle_set() 118 zassert_equal(val_len, sizeof(val8_un), in c1_handle_set() 119 "value length: %d, ought equal 1", val_len); in c1_handle_set() 135 const void *value, size_t val_len)) in c1_handle_export() argument 294 const void *value, size_t val_len)) in c2_handle_export() argument 323 size_t val_len; in c3_handle_set() local [all …]
|
D | settings_test_compress_deleted.c | 30 int c4_handle_export(int (*cb)(const char *name, const void *value, size_t val_len)); 48 int c4_handle_export(int (*cb)(const char *name, const void *value, size_t val_len)) in c4_handle_export() argument
|
/Zephyr-latest/subsys/settings/src/ |
D | settings_line.c | 24 int settings_line_write(const char *name, const char *value, size_t val_len, in settings_line_write() argument 41 len_field = settings_line_len_calc(name, val_len); in settings_line_write() 83 rem = val_len; in settings_line_write() 150 int settings_line_len_calc(const char *name, size_t val_len) in settings_line_len_calc() argument 153 return strlen(name) + 1 + val_len; in settings_line_len_calc() 326 static int settings_line_cmp(char const *val, size_t val_len, in settings_line_cmp() argument 335 if (val_len == 0) { in settings_line_cmp() 339 for (rem = val_len; rem > 0; rem -= len_read) { in settings_line_cmp() 375 if (len_read != cdca->val_len) { in settings_line_dup_check_cb() 380 if (!settings_line_cmp(cdca->val, cdca->val_len, in settings_line_dup_check_cb()
|
D | settings_file.c | 30 const char *value, size_t val_len); 228 size_t val_len) in settings_file_save_and_compress() argument 341 rc = settings_line_write(name, value, val_len, 0, &loc3); in settings_file_save_and_compress() 372 const char *value, size_t val_len) in settings_file_save_priv() argument 392 val_len); in settings_file_save_priv() 403 rc = settings_line_write(name, value, val_len, 0, in settings_file_save_priv() 424 const char *value, size_t val_len) in settings_file_save() argument 428 if (val_len > 0 && value == NULL) { in settings_file_save() 438 cdca.val_len = val_len; in settings_file_save() 443 return settings_file_save_priv(cs, name, value, val_len); in settings_file_save()
|
D | settings_priv.h | 20 int settings_line_write(const char *name, const char *value, size_t val_len, 24 int settings_line_len_calc(const char *name, size_t val_len); 43 size_t val_len; member
|
D | settings_fcb.c | 33 const char *value, size_t val_len); 325 const char *value, size_t val_len) in settings_fcb_save_priv() argument 337 len = settings_line_len_calc(name, val_len); in settings_fcb_save_priv() 356 rc = settings_line_write(name, value, val_len, 0, (void *)&loc); in settings_fcb_save_priv() 368 const char *value, size_t val_len) in settings_fcb_save() argument 372 if (val_len > 0 && value == NULL) { in settings_fcb_save() 382 cdca.val_len = val_len; in settings_fcb_save() 387 return settings_fcb_save_priv(cs, name, value, val_len); in settings_fcb_save()
|
D | settings_store.c | 94 int settings_save_one(const char *name, const void *value, size_t val_len) in settings_save_one() argument 106 rc = cs->cs_itf->csi_save(cs, name, (char *)value, val_len); in settings_save_one()
|
D | settings_nvs.c | 34 const char *value, size_t val_len); 216 const char *value, size_t val_len) in settings_nvs_save() argument 229 delete = ((value == NULL) || (val_len == 0)); in settings_nvs_save() 332 value, val_len); in settings_nvs_save()
|
/Zephyr-latest/include/zephyr/settings/ |
D | settings.h | 111 size_t val_len)); 178 size_t val_len)); 354 int settings_save_one(const char *name, const void *value, size_t val_len); 468 const char *value, size_t val_len);
|
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/settings/src/ |
D | settings.c | 129 const char *value, size_t val_len) in settings_custom_save() argument 149 if (strlen(name) > ENTRY_NAME_MAX_LEN || val_len > SETTINGS_MAX_VAL_LEN) { in settings_custom_save() 159 if (val_len) { in settings_custom_save() 170 while (valcnt < (val_len * 2)) { in settings_custom_save()
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/settings_mgmt/src/ |
D | settings.c | 22 static int val_handle_export(int (*cb)(const char *name, const void *value, size_t val_len)); 62 static int val_handle_export(int (*cb)(const char *name, const void *value, size_t val_len)) in val_handle_export() argument
|
/Zephyr-latest/tests/net/lib/wifi_credentials_backend_settings/src/ |
D | main.c | 88 static int custom_settings_save_one(const char *name, const void *value, size_t val_len) in custom_settings_save_one() argument 91 zassert_true(val_len <= ENTRY_MAX_LEN, "Value length exceeds ENTRY_MAX_LEN"); in custom_settings_save_one() 97 memcpy(fake_settings_buf[i], value, val_len); in custom_settings_save_one() 98 fake_settings_buf_lens[i] = val_len; in custom_settings_save_one()
|
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/settings_clear/src/ |
D | bt_settings_hook.c | 130 void bt_testing_settings_store_hook(const char *key, const void *value, size_t val_len) in bt_testing_settings_store_hook() argument 133 LOG_HEXDUMP_DBG(value, val_len, "Data:"); in bt_testing_settings_store_hook()
|
/Zephyr-latest/subsys/bluetooth/services/ |
D | dis.c | 169 static void read_udi_subval(const char *str, uint16_t val_len, char *buf, uint16_t *bytes_read, in read_udi_subval() argument 173 if (val_len == sizeof('\0')) { in read_udi_subval() 181 if (*index + val_len < offset) { in read_udi_subval() 182 *index += val_len; in read_udi_subval() 186 for (uint16_t i = 0; i < val_len; i++) { in read_udi_subval()
|
/Zephyr-latest/samples/subsys/settings/src/ |
D | main.c | 41 const void *value, size_t val_len)); 47 const void *value, size_t val_len)); 159 const void *value, size_t val_len)) in alpha_handle_export() argument 171 const void *value, size_t val_len)) in beta_handle_export() argument
|
/Zephyr-latest/include/zephyr/usb/class/ |
D | usb_audio.h | 203 uint8_t val_len; member
|
/Zephyr-latest/tests/bluetooth/mesh/brg/src/ |
D | main.c | 49 int settings_save_one(const char *name, const void *value, size_t val_len) in settings_save_one() argument 52 ztest_check_expected_value(val_len); in settings_save_one() 53 ztest_check_expected_data(value, val_len); in settings_save_one() 330 ztest_expect_value(settings_save_one, val_len, 1); in pending_store_enable_create_expectations() 341 ztest_expect_value(settings_save_one, val_len, in pending_store_tbl_create_expectations()
|
/Zephyr-latest/tests/subsys/settings/fcb_init/src/ |
D | settings_test_fcb_init.c | 64 const void *value, size_t val_len)) in c1_export() argument
|
/Zephyr-latest/subsys/bluetooth/audio/ |
D | tbs.c | 749 size_t val_len; in read_incoming_uri() local 762 val_len = sizeof(inc_call_target->call_index) + strlen(inc_call_target->uri); in read_incoming_uri() 764 return bt_gatt_attr_read(conn, attr, buf, len, offset, inc_call_target, val_len); in read_incoming_uri() 1334 size_t val_len; in read_friendly_name() local 1344 val_len = sizeof(friendly_name->call_index) + strlen(friendly_name->uri); in read_friendly_name() 1346 return bt_gatt_attr_read(conn, attr, buf, len, offset, friendly_name, val_len); in read_friendly_name() 1363 size_t val_len; in read_incoming_call() local 1374 val_len = sizeof(remote_uri->call_index) + strlen(remote_uri->uri); in read_incoming_call() 1376 return bt_gatt_attr_read(conn, attr, buf, len, offset, remote_uri, val_len); in read_incoming_call()
|
/Zephyr-latest/tests/bluetooth/mesh/rpl/src/ |
D | main.c | 221 int settings_save_one(const char *name, const void *value, size_t val_len) in settings_save_one() argument
|
/Zephyr-latest/doc/services/settings/ |
D | index.rst | 214 size_t val_len)) 307 const char *value, size_t val_len)
|