• Home
  • Raw
  • Download

Lines Matching refs:buf

62     char buf[100];  in restart_root_service()  local
66 snprintf(buf, sizeof(buf), "adbd is already running as root\n"); in restart_root_service()
67 writex(fd, buf, strlen(buf)); in restart_root_service()
72 snprintf(buf, sizeof(buf), "adbd cannot run as root in production builds\n"); in restart_root_service()
73 writex(fd, buf, strlen(buf)); in restart_root_service()
79 snprintf(buf, sizeof(buf), "restarting adbd as root\n"); in restart_root_service()
80 writex(fd, buf, strlen(buf)); in restart_root_service()
87 char buf[100]; in restart_tcp_service() local
92 snprintf(buf, sizeof(buf), "invalid port\n"); in restart_tcp_service()
93 writex(fd, buf, strlen(buf)); in restart_tcp_service()
100 snprintf(buf, sizeof(buf), "restarting in TCP mode port: %d\n", port); in restart_tcp_service()
101 writex(fd, buf, strlen(buf)); in restart_tcp_service()
107 char buf[100]; in restart_usb_service() local
110 snprintf(buf, sizeof(buf), "restarting in USB mode\n"); in restart_usb_service()
111 writex(fd, buf, strlen(buf)); in restart_usb_service()
117 char buf[100]; in reboot_service() local
125 snprintf(buf, sizeof(buf), "reboot string too long. length=%d\n", ret); in reboot_service()
126 writex(fd, buf, strlen(buf)); in reboot_service()
132 snprintf(buf, sizeof(buf), "reboot failed: %d\n", ret); in reboot_service()
133 writex(fd, buf, strlen(buf)); in reboot_service()
610 char buf[4096]; in connect_service() local
615 connect_emulator(host + 4, buf, sizeof(buf)); in connect_service()
617 connect_device(host, buf, sizeof(buf)); in connect_service()
621 snprintf(resp, sizeof(resp), "%04x%s",(unsigned)strlen(buf), buf); in connect_service()