Home | History | Annotate | Download | only in keystore

Lines Matching refs:sock

51     int sock = socket_local_client("keystore", ANDROID_SOCKET_NAMESPACE_RESERVED,
53 if (sock == -1) {
58 send(sock, argv[1], 1, 0);
64 send(sock, &bytes, 2, 0);
65 send(sock, argv[i], length, 0);
67 shutdown(sock, SHUT_WR);
70 if (recv(sock, &code, 1, 0) != 1) {
76 while ((i = recv(sock, &bytes[0], 1, 0)) == 1) {
79 if ((i = recv(sock, &bytes[1], 1, 0)) != 1) {
85 i = recv(sock, &bytes[offset], length - offset, 0);