Home
last modified time | relevance | path

Searched refs:port_str (Results 1 - 14 of 14) sorted by relevance

/third_party/libcoap/examples/
H A Detsi_iot_01.c580 char port_str[NI_MAXSERV] = "5683"; in main() local
595 strncpy(port_str, optarg, NI_MAXSERV-1); in main()
596 port_str[NI_MAXSERV - 1] = '\0'; in main()
609 ctx = get_context(addr_str, port_str); in main()
H A Doscore-interop-server.c576 char port_str[NI_MAXSERV] = "5683"; in main() local
633 strncpy(port_str, optarg, NI_MAXSERV-1); in main()
634 port_str[NI_MAXSERV - 1] = '\0'; in main()
668 ctx = get_context(addr_str, port_str); in main()
H A Dcoap-rd.c760 char port_str[NI_MAXSERV] = "5683"; in main() local
810 strncpy(port_str, optarg, NI_MAXSERV-1); in main()
811 port_str[NI_MAXSERV - 1] = '\0'; in main()
843 ctx = get_context(addr_str, port_str); in main()
H A Dcoap-client.c1588 char port_str[NI_MAXSERV] = ""; in main() local
1659 strncpy(port_str, optarg, NI_MAXSERV - 1); in main()
1660 port_str[NI_MAXSERV - 1] = '\0'; in main()
1845 port_str[0] ? port_str : NULL, in main()
H A Dcoap-server.c2714 char *port_str = NULL; in main() local
2826 port_str = optarg; in main()
2919 ctx = get_context(addr_str, port_str); in main()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
H A Dctrl_iface_udp.c382 char port_str[40]; local
451 os_snprintf(port_str, sizeof(port_str), "udp:%d", port);
453 wpa_s->conf->ctrl_interface = os_strdup(port_str);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
H A Dctrl_iface_udp.c398 char port_str[40]; local
467 os_snprintf(port_str, sizeof(port_str), "udp:%d", port);
469 wpa_s->conf->ctrl_interface = os_strdup(port_str);
/third_party/curl/tests/server/
H A Dsws.c1968 char port_str[11]; in main() local
1969 const char *location_str = port_str; in main()
2022 location_str = port_str; in main()
2029 location_str = port_str; in main()
2240 msnprintf(port_str, sizeof(port_str), "port %hu", port); in main()
/third_party/backends/backend/escl/
H A Descl.c1138 SANE_String_Const port_str = NULL; in escl_parse_name() local
1166 port_str = strchr(host, ':'); in escl_parse_name()
1167 if (port_str == NULL) { in escl_parse_name()
1171 port_str++; in escl_parse_name()
1172 device->port_nb = atoi(port_str); in escl_parse_name()
1178 device->ip_address = strndup(host, port_str - host - 1); in escl_parse_name()
/third_party/backends/backend/pixma/
H A Dpixma_bjnp.c1950 char port_str[BJNP_PORT_MAX]; in add_timeout_to_uri() local
1955 if (split_uri(uri, method, host, port_str, args ) != 0) in add_timeout_to_uri()
1960 port = atoi(port_str); in add_timeout_to_uri()
/third_party/selinux/libsepol/src/
H A Dkernel_to_cil.c2970 char port_str[4]; in write_selinux_ibendport_rules_to_cil() local
2976 rc = snprintf(port_str, 4, "%u", ibendportcon->u.ibendport.port); in write_selinux_ibendport_rules_to_cil()
2989 ibendportcon->u.ibendport.dev_name, port_str, ctx); in write_selinux_ibendport_rules_to_cil()
H A Dkernel_to_conf.c2840 char port_str[4]; in write_selinux_ibendport_rules_to_conf() local
2846 rc = snprintf(port_str, 4, "%u", ibendportcon->u.ibendport.port); in write_selinux_ibendport_rules_to_conf()
2858 sepol_printf(out, "ibendportcon %s %s %s\n", ibendportcon->u.ibendport.dev_name, port_str, ctx); in write_selinux_ibendport_rules_to_conf()
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/
H A Dap_ctrl_iface.c3513 char port_str[40], *tmp; in hostapd_ctrl_iface_init() local
3578 os_snprintf(port_str, sizeof(port_str), "udp:%d", port); in hostapd_ctrl_iface_init()
3579 tmp = os_strdup(port_str); in hostapd_ctrl_iface_init()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
H A Dap_ctrl_iface.c4164 char port_str[40], *tmp; in hostapd_ctrl_iface_init() local
4229 os_snprintf(port_str, sizeof(port_str), "udp:%d", port); in hostapd_ctrl_iface_init()
4230 tmp = os_strdup(port_str); in hostapd_ctrl_iface_init()

Completed in 41 milliseconds