Searched refs:accept (Results 1 - 12 of 12) sorted by relevance

/system/core/toolbox/
H A Dreadtty.c68 char *accept = NULL; local
90 accept = optarg;
138 if(accept && strchr(accept, buf[0]) == NULL) {
/system/core/adb/
H A Dsysdeps.h216 #undef accept macro
217 #define accept ___xxx_accept macro
404 fd = accept(serverfd, addr, addrlen);
411 #undef accept macro
412 #define accept ___xxx_accept macro
H A Dsysdeps_win32.c751 #undef accept macro
768 fh->fh_socket = accept( serverfh->fh_socket, addr, addrlen );
771 D( "adb_socket_accept: accept on fd %d return error %ld\n", serverfd, GetLastError() );
775 snprintf( fh->name, sizeof(fh->name), "%d(accept:%s)", _fh_to_int(fh), serverfh->name );
1439 * to scale WaitForMultipleObjects to accept an arbitrary number of handles. The
/system/bluetooth/tools/
H A Dsock_shutdown_test.c196 printf("%d: accept(%d)\n", gettid(), fd);
197 ret = accept(fd, addr, &len);
198 printf("%d: accept(%d) = %d\n", gettid(), fd, ret);
H A Dasocket_test.c227 printf("%d: accept(%d)\n", gettid(), fd);
228 ret = accept(fd, addr, &len);
229 printf("%d: accept(%d) = %d\n", gettid(), fd, ret);
495 // accept in one thread. close then write in another
642 // accept in one thread, connect from two different threads
H A Dsocktest.c226 printf("%ld: accept(%d)\n", pthread_self(), fd);
227 ret = accept(fd, addr, &len);
228 printf("%ld: accept(%d) = %d\n", pthread_self(), fd, ret);
567 // accept in one thread. close then write in another
714 // accept in one thread, connect from two different threads
/system/core/libcutils/
H A Dabort_socket.c152 /* ready to accept() without blocking */
154 ret = accept(s->fd, addr, addrlen);
H A Dmq.c1027 int socket = accept(listenerFd->fd, NULL, NULL);
1029 ALOGW("accept() error: %s", strerror(errno));
/system/core/libsysutils/src/
H A DSocketListener.cpp194 c = accept(mSock, &addr, &alen);
195 SLOGV("%s got %d from accept", mSocketName, c);
198 SLOGE("accept failed (%s)", strerror(errno));
/system/core/debuggerd/
H A Ddebuggerd.c462 fd = accept(s, &addr, &alen);
464 XLOG("accept failed: %s\n", strerror(errno));
/system/core/init/
H A Dproperty_service.c421 if ((s = accept(property_set_fd, (struct sockaddr *) &addr, &addr_size)) < 0) {
/system/security/keystore/
H A Dkeystore.cpp1442 while ((sock = accept(controlSocket, NULL, 0)) != -1) {
1472 ALOGE("accept: %s", strerror(errno));

Completed in 167 milliseconds