Searched defs:hostbuf (Results 1 - 1 of 1) sorted by relevance

/system/core/adb/
H A Dadb.c1241 char hostbuf[100]; local
1244 strncpy(hostbuf, host, sizeof(hostbuf) - 1);
1246 if (portstr - host >= (ptrdiff_t)sizeof(hostbuf)) {
1251 hostbuf[portstr - host] = 0;
1260 snprintf(serial, sizeof(serial), "%s:%d", hostbuf, port);
1266 fd = socket_network_client(hostbuf, port, SOCK_STREAM);
1419 char hostbuf[100]; local
1422 snprintf(hostbuf, sizeof(hostbuf)
[all...]

Completed in 5 milliseconds