Home
last modified time | relevance | path

Searched refs:hostbuf (Results 1 – 1 of 1) sorted by relevance

/system/core/adb/
Dadb.c1408 char hostbuf[100]; in connect_device() local
1411 strncpy(hostbuf, host, sizeof(hostbuf) - 1); in connect_device()
1413 if (portstr - host >= (ptrdiff_t)sizeof(hostbuf)) { in connect_device()
1418 hostbuf[portstr - host] = 0; in connect_device()
1427 snprintf(serial, sizeof(serial), "%s:%d", hostbuf, port); in connect_device()
1433 fd = socket_network_client(hostbuf, port, SOCK_STREAM); in connect_device()
1586 char hostbuf[100]; in handle_host_request() local
1589 snprintf(hostbuf, sizeof(hostbuf) - 1, "%s:5555", serial); in handle_host_request()
1590 serial = hostbuf; in handle_host_request()