Searched refs:tmp_str (Results 1 – 5 of 5) sorted by relevance
/Zephyr-latest/subsys/fs/fcb/ |
D | fcb_elem_info.c | 22 uint8_t tmp_str[FCB_TMP_BUF_SZ]; in fcb_elem_crc8() local 35 rc = fcb_flash_read(_fcb, loc->fe_sector, loc->fe_elem_off, tmp_str, 2); in fcb_elem_crc8() 40 cnt = fcb_get_len(_fcb, tmp_str, &len); in fcb_elem_crc8() 48 crc8 = crc8_ccitt(crc8, tmp_str, cnt); in fcb_elem_crc8() 54 if (blk_sz > sizeof(tmp_str)) { in fcb_elem_crc8() 55 blk_sz = sizeof(tmp_str); in fcb_elem_crc8() 58 rc = fcb_flash_read(_fcb, loc->fe_sector, off, tmp_str, blk_sz); in fcb_elem_crc8() 62 crc8 = crc8_ccitt(crc8, tmp_str, blk_sz); in fcb_elem_crc8() 76 uint8_t tmp_str[2]; in fcb_elem_endmarker_fixed() local 85 rc = fcb_flash_read(_fcb, loc->fe_sector, loc->fe_elem_off, tmp_str, 2); in fcb_elem_endmarker_fixed() [all …]
|
D | fcb_append.c | 66 uint8_t tmp_str[MAX(8, fcb->f_align)]; in fcb_append() local 69 memset(tmp_str, fcb->f_erase_value, sizeof(tmp_str)); in fcb_append() 71 cnt = fcb_put_len(fcb, tmp_str, len); in fcb_append() 78 __ASSERT_NO_MSG(cnt <= sizeof(tmp_str)); in fcb_append() 101 rc = fcb_flash_write(fcb, active->fe_sector, active->fe_elem_off, tmp_str, cnt); in fcb_append()
|
/Zephyr-latest/tests/subsys/mgmt/mcumgr/os_mgmt_datetime/src/ |
D | smp_test_util.c | 69 char tmp_str[32]; in create_mcumgr_datetime_set_packet() local 71 sprintf(tmp_str, "%4d-%02d-%02dT%02d:%02d:%02d", (uint16_t)a_time->tm_year, in create_mcumgr_datetime_set_packet() 75 return create_mcumgr_datetime_set_packet_str(zse, version2, tmp_str, buffer, in create_mcumgr_datetime_set_packet()
|
/Zephyr-latest/subsys/net/lib/lwm2m/ |
D | lwm2m_senml_cbor_encode.c | 89 struct zcbor_string tmp_str; in encode_repeated_record_union() local 116 ((tmp_str.value = in encode_repeated_record_union() 118 tmp_str.len = in encode_repeated_record_union() 121 &tmp_str))))) && in encode_repeated_record_union()
|
D | lwm2m_senml_cbor_decode.c | 89 struct zcbor_string tmp_str; in decode_repeated_record_union() local 109 ((((zcbor_tstr_expect(state, ((tmp_str.value = (uint8_t *)"vlo", in decode_repeated_record_union() 110 tmp_str.len = sizeof("vlo") - 1, in decode_repeated_record_union() 111 &tmp_str))))) && in decode_repeated_record_union()
|