| /subsys/net/lib/lwm2m/ |
| A D | lwm2m_shell.c | 211 int8_t temp = 0; in cmd_read() local 217 shell_print(sh, "%d", temp); in cmd_read() 219 int16_t temp = 0; in cmd_read() local 227 int32_t temp = 0; in cmd_read() local 235 int64_t temp = 0; in cmd_read() local 243 uint8_t temp = 0; in cmd_read() local 251 uint16_t temp = 0; in cmd_read() local 259 uint32_t temp = 0; in cmd_read() local 267 double temp = 0; in cmd_read() local 275 bool temp; in cmd_read() local [all …]
|
| A D | ipso_timer.c | 106 uint32_t temp = 0U; in start_timer() local 117 temp = timer->min_off_time * MSEC_PER_SEC; in start_timer() 118 if (k_uptime_get() < timer->trigger_offset + temp) { in start_timer() 129 temp = timer->delay_duration * MSEC_PER_SEC; in start_timer() 130 k_work_reschedule(&timer->timer_work, K_MSEC(temp)); in start_timer() 159 uint32_t temp = 0U; in remaining_time_read_cb() local 168 temp = timer_data[i].delay_duration * MSEC_PER_SEC; in remaining_time_read_cb() 169 temp -= (k_uptime_get() - timer_data[i].trigger_offset); in remaining_time_read_cb() 184 uint32_t temp; in cumulative_time_read_cb() local 191 temp = timer_data[i].cumulative_time_ms; in cumulative_time_read_cb() [all …]
|
| A D | lwm2m_rw_plain_text.c | 184 uint64_t temp; in plain_text_read_int() local 193 temp = 0; in plain_text_read_int() 204 temp = temp * 10ULL + (c - '0'); in plain_text_read_int() 205 if (temp > ((uint64_t)INT64_MAX + (neg ? 1ULL : 0ULL))) { in plain_text_read_int() 217 *value = neg ? -temp : temp; in plain_text_read_int()
|
| A D | ipso_buzzer.c | 102 uint32_t temp = 0U; in start_buzzer() local 112 temp = (uint32_t)(buzzer->min_off_time * MSEC_PER_SEC); in start_buzzer() 113 if (k_uptime_get() < buzzer->trigger_offset + temp) { in start_buzzer() 122 temp = (uint32_t)(buzzer->delay_duration * MSEC_PER_SEC); in start_buzzer() 123 k_work_reschedule(&buzzer->buzzer_work, K_MSEC(temp)); in start_buzzer()
|
| A D | lwm2m_rw_oma_tlv.c | 586 uint8_t temp[sizeof(int64_t)]; in get_number() local 606 *value = (int8_t)temp[0]; in get_number() 609 *value = (int16_t)sys_get_be16(temp); in get_number() 612 *value = (int32_t)sys_get_be32(temp); in get_number() 615 *value = (int64_t)sys_get_be64(temp); in get_number() 643 int64_t temp; in get_s32() local 646 size = get_number(in, &temp, 4); in get_s32() 651 *value = (int32_t)temp; in get_s32() 725 int64_t temp; in get_bool() local 728 size = get_number(in, &temp, 2); in get_bool() [all …]
|
| A D | lwm2m_rw_json.c | 643 uint64_t temp; in read_int() local 650 temp = 0; in read_int() 667 temp = temp * 10ULL + (c - '0'); in read_int() 668 if (temp > ((uint64_t)INT64_MAX + (neg ? 1ULL : 0ULL))) { in read_int() 678 *value = neg ? -temp : temp; in read_int()
|
| A D | lwm2m_registry.c | 775 uint8_t temp = (value != 0 ? 1 : 0); in lwm2m_set_bool() local 777 return lwm2m_engine_set(path, &temp, 1); in lwm2m_set_bool() 1045 int8_t temp = 0; in lwm2m_get_bool() local 1047 ret = lwm2m_get_s8(path, &temp); in lwm2m_get_bool() 1049 *value = temp != 0; in lwm2m_get_bool()
|
| A D | lwm2m_rw_senml_json.c | 1395 struct lwm2m_obj_path_list temp; in do_read_op_senml_json() local 1405 temp.path = msg->path; in do_read_op_senml_json() 1407 sys_slist_append(&lwm2m_path_list, &temp.node); in do_read_op_senml_json()
|
| /subsys/portability/cmsis_rtos_v2/ |
| A D | kernel.c | 41 int temp = _current->base.sched_locked; in osKernelLock() local 49 return temp; in osKernelLock() 57 int temp = _current->base.sched_locked; in osKernelUnlock() local 65 return temp; in osKernelUnlock()
|
| /subsys/mgmt/mcumgr/transport/src/ |
| A D | smp_lorawan.c | 74 uint8_t temp; in smp_lorawan_uplink_thread() local 77 lorawan_get_payload_sizes(&data_size, &temp); in smp_lorawan_uplink_thread() 195 uint8_t temp; in smp_lorawan_uplink() local 197 lorawan_get_payload_sizes(&data_size, &temp); in smp_lorawan_uplink() 227 uint8_t temp; in smp_lorawan_get_mtu() local 229 lorawan_get_payload_sizes(&max_data_size, &temp); in smp_lorawan_get_mtu()
|
| /subsys/mgmt/mcumgr/grp/enum_mgmt/src/ |
| A D | enum_mgmt.c | 280 uint32_t temp = 0; in enum_mgmt_cb_list_entries() local 289 if (!zcbor_uint32_decode(state, &temp)) { in enum_mgmt_cb_list_entries() 293 list[i] = (uint16_t)temp; in enum_mgmt_cb_list_entries()
|
| /subsys/net/lib/mqtt/ |
| A D | mqtt_decoder.c | 391 struct mqtt_utf8_pair temp = { 0 }; in decode_user_property() local 394 if (unpack_utf8_str(buf, &temp.name) < 0) { in decode_user_property() 398 if (unpack_utf8_str(buf, &temp.value) < 0) { in decode_user_property() 402 prop_len = (2 * sizeof(uint16_t)) + temp.name.size + temp.value.size; in decode_user_property() 420 memcpy(chosen, &temp, sizeof(struct mqtt_utf8_pair)); in decode_user_property()
|
| /subsys/modbus/ |
| A D | modbus_server.c | 732 uint8_t temp = 0; in mbs_fc15_coils_write() local 777 temp = ctx->rx_adu.data[data_ix++]; in mbs_fc15_coils_write() 780 if (temp & BIT(0)) { in mbs_fc15_coils_write() 796 temp >>= 1; in mbs_fc15_coils_write()
|
| /subsys/net/ip/ |
| A D | utils.c | 139 int temp; in net_value_to_udec() local 148 temp = value / divisor; in net_value_to_udec() 150 if ((precision > i) || (temp != 0)) { in net_value_to_udec() 152 *buf++ = (char) (temp + '0'); in net_value_to_udec()
|