Home
last modified time | relevance | path

Searched refs:atoi (Results 1 – 25 of 39) sorted by relevance

12

/Zephyr-latest/drivers/rtc/
Drtc_shell.c70 tm_time->tm_year = atoi(year) - 1900; in consume_date()
71 tm_time->tm_mon = atoi(month) - 1; in consume_date()
72 tm_time->tm_mday = atoi(day); in consume_date()
108 tm_time->tm_hour = atoi(hour); in consume_time()
109 tm_time->tm_min = atoi(minute); in consume_time()
110 tm_time->tm_sec = atoi(second); in consume_time()
/Zephyr-latest/subsys/task_wdt/
Dtask_wdt_shell.c44 uint32_t period = atoi(argv[1]) * MSEC_PER_SEC; in cmd_add()
72 int ret = task_wdt_feed(atoi(argv[1])); in cmd_feed()
91 int ret = task_wdt_delete(atoi(argv[1])); in cmd_del()
/Zephyr-latest/subsys/net/lib/shell/
Dvirtual.c124 virtual_iface = net_if_get_by_index(atoi(argv[1])); in cmd_virtual_attach()
130 lower_iface = net_if_get_by_index(atoi(argv[2])); in cmd_virtual_attach()
154 virtual_iface = net_if_get_by_index(atoi(argv[1])); in cmd_virtual_detach()
Dcapture.c202 if_index = atoi(argv[arg++]); in cmd_net_capture_enable()
/Zephyr-latest/lib/libc/minimal/source/stdlib/
Datoi.c31 int atoi(const char *s) in atoi() function
/Zephyr-latest/subsys/net/l2/ieee802154/
Dieee802154_shell.c101 params.pan_id = atoi(argv[1]); in cmd_ieee802154_associate()
112 params.short_addr = (uint16_t) atoi(ext_addr); in cmd_ieee802154_associate()
180 chan = atoi(p); in parse_channel_set()
267 params.duration = atoi(argv[3]); in cmd_ieee802154_scan()
318 channel = (uint16_t)atoi(argv[1]); in cmd_ieee802154_set_chan()
382 pan_id = (uint16_t)atoi(argv[1]); in cmd_ieee802154_set_pan_id()
523 short_addr = (uint16_t)atoi(argv[1]); in cmd_ieee802154_set_short_addr()
582 tx_power = (int16_t)atoi(argv[1]); in cmd_ieee802154_set_tx_power()
/Zephyr-latest/tests/ztest/ztest_param/src/
Dmain.c20 printf("Passed int value:%d\n", atoi(data)); in ZTEST_P()
/Zephyr-latest/subsys/net/lib/wifi_credentials/
Dwifi_credentials_backend_settings.c36 int idx = atoi(key); in zephyr_settings_backend_load_val_cb()
73 int idx = atoi(key); in zephyr_settings_backend_load_key_cb()
/Zephyr-latest/samples/shields/npm6001_ek/src/
Dmain.c326 pin = atoi(optarg); in cmd_gpio_configure()
371 pin = (gpio_pin_t)atoi(argv[1]); in cmd_gpio_get()
390 pin = (gpio_pin_t)atoi(argv[1]); in cmd_gpio_set()
391 val = atoi(argv[2]); in cmd_gpio_set()
407 pin = (gpio_pin_t)atoi(argv[1]); in cmd_gpio_toggle()
/Zephyr-latest/drivers/modem/
Dwncm14a2a.c515 ictx.last_socket_id = atoi(value); in on_cmd_atcmdecho()
626 ictx.mdm_rssi = atoi(value); in on_cmd_atcmdinfo_rssi()
671 ictx.last_error = -atoi(value); in on_cmd_sockexterror()
689 ictx.last_error = atoi(value); in on_cmd_sockdial()
704 sock->socket_id = atoi(value); in on_cmd_sockcreat()
720 write_len = atoi(value); in on_cmd_sockwrite()
785 actual_length = atoi(value); in on_cmd_sockread()
888 socket_id = atoi(value); in on_cmd_sockdataind()
904 left_bytes = atoi(delim2); in on_cmd_sockdataind()
970 ictx.ev_csps = atoi(&value[p2]); in on_cmd_socknotifyev()
[all …]
Dsimcom-sim7080.c113 int result = atoi(argv[1]); in MODEM_CMD_DEFINE()
369 return sockread_common(mdata.current_sock_fd, data, atoi(argv[0]), len); in MODEM_CMD_DEFINE()
654 state = atoi(argv[0]); in MODEM_CMD_DEFINE()
712 port = atoi(service); in offload_getaddrinfo()
872 sock_fd = atoi(argv[0]); in MODEM_CMD_DEFINE()
904 sockfd = atoi(argv[0]); in MODEM_CMD_DEFINE()
905 state = atoi(argv[1]); in MODEM_CMD_DEFINE()
942 int error = atoi(argv[0]); in MODEM_CMD_DEFINE()
1056 mdata.mdm_registration = atoi(argv[1]); in MODEM_CMD_DEFINE()
1070 mdata.mdm_cgatt = atoi(argv[0]); in MODEM_CMD_DEFINE()
[all …]
/Zephyr-latest/tests/lib/c_lib/common/src/
Dmain.c423 zassert_equal(atoi("123"), 123, "atoi error"); in ZTEST()
424 zassert_equal(atoi("2c5"), 2, "atoi error"); in ZTEST()
425 zassert_equal(atoi("acd"), 0, "atoi error"); in ZTEST()
426 zassert_equal(atoi(" "), 0, "atoi error"); in ZTEST()
427 zassert_equal(atoi(""), 0, "atoi error"); in ZTEST()
428 zassert_equal(atoi("3-4e"), 3, "atoi error"); in ZTEST()
429 zassert_equal(atoi("8+1c"), 8, "atoi error"); in ZTEST()
430 zassert_equal(atoi("+3"), 3, "atoi error"); in ZTEST()
431 zassert_equal(atoi("-1"), -1, "atoi error"); in ZTEST()
/Zephyr-latest/lib/libc/minimal/include/
Dstdlib.h25 int atoi(const char *s);
/Zephyr-latest/lib/acpi/
Dacpi_shell.c208 bus = atoi(argv[1]); in dump_prt()
209 dev_num = atoi(argv[2]); in dump_prt()
210 func = atoi(argv[3]); in dump_prt()
/Zephyr-latest/drivers/lora/
Drylrxxx.c150 radio_err = atoi(argv[1]); in on_err()
167 msg.addr = atoi(argv[1]); in on_rx()
168 msg.length = atoi(argv[2]); in on_rx()
170 msg.rssi = atoi(argv[4]); in on_rx()
171 msg.snr = atoi(argv[5]); in on_rx()
/Zephyr-latest/lib/libc/minimal/
DCMakeLists.txt17 source/stdlib/atoi.c
/Zephyr-latest/subsys/mgmt/hawkbit/
Dshell.c136 hawkbit_set_server_port(atoi(argv[1])); in cmd_set_port()
/Zephyr-latest/subsys/net/l2/wifi/
Dwifi_shell.c645 params->security = atoi(state->optarg); in __wifi_args_to_params()
694 switch (atoi(state->optarg)) { in __wifi_args_to_params()
705 PR_ERROR("Invalid band: %d\n", atoi(state->optarg)); in __wifi_args_to_params()
717 params->mfp = atoi(state->optarg); in __wifi_args_to_params()
746 switch (atoi(state->optarg)) { in __wifi_args_to_params()
757 PR_ERROR("Invalid bandwidth: %d\n", atoi(state->optarg)); in __wifi_args_to_params()
788 params->suiteb_type = atoi(state->optarg); in __wifi_args_to_params()
791 params->TLS_cipher = atoi(state->optarg); in __wifi_args_to_params()
794 params->eap_ver = atoi(state->optarg); in __wifi_args_to_params()
1014 val = atoi(state->optarg); in wifi_scan_args_to_params()
[all …]
/Zephyr-latest/drivers/wifi/eswifi/
Deswifi_core.c111 res->rssi = atoi(str); in __parse_scan_res()
127 res->channel = atoi(str); in __parse_scan_res()
211 ip[byte++] = atoi(str); in __parse_ipv4_address()
385 eswifi->sta.rssi = atoi(rsp); in eswifi_status_work()
Deswifi_offload.c460 ip[i++] = atoi(str); in eswifi_offload_async_msg()
462 port = atoi(str); in eswifi_offload_async_msg()
/Zephyr-latest/drivers/fpga/
Dfpga_shell.c97 (uint32_t)atoi(argv[3])); in cmd_load()
/Zephyr-latest/modules/lvgl/
Dlvgl_shell.c119 index = atoi(argv[1]); in cmd_lvgl_monkey_set()
/Zephyr-latest/scripts/coccinelle/
Dsymbols.txt12 atoi
/Zephyr-latest/tests/posix/single_process/src/
Denv.c153 zassert_equal(atoi(buf), i); in ZTEST()
/Zephyr-latest/tests/subsys/logging/log_backend_fs/src/
Dlog_fs_test.c222 test_mask |= 1 << atoi(&ent.name[strlen(log_prefix)]); in ZTEST()

12