OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:clientFd
(Results
1 - 2
of
2
) sorted by null
/libcore/luni/src/test/java/libcore/io/
OsTest.java
102
FileDescriptor
clientFd
= Libcore.os.accept(serverFd, peerAddress);
103
checkSockName(
clientFd
, isAbstract, address);
106
checkNoPeerName(
clientFd
);
108
StructUcred credentials = Libcore.os.getsockoptUcred(
clientFd
, SOL_SOCKET, SO_PEERCRED);
114
Libcore.os.read(
clientFd
, request, 0, request.length);
118
Libcore.os.write(
clientFd
, response, 0, response.length);
120
Libcore.os.close(
clientFd
);
128
FileDescriptor
clientFd
= Libcore.os.socket(AF_UNIX, SOCK_STREAM, 0);
130
Libcore.os.connect(
clientFd
, address);
131
checkNoSockName(
clientFd
);
[
all
...]
/libcore/luni/src/main/native/
libcore_io_Posix.cpp
737
jint
clientFd
= NET_FAILURE_RETRY(env, int, accept, javaFd, peer, peerLength);
738
if (
clientFd
== -1 || !fillSocketAddress(env, javaSocketAddress, ss, *peerLength)) {
739
close(
clientFd
);
742
return (
clientFd
!= -1) ? jniCreateFileDescriptor(env,
clientFd
) : NULL;
[
all
...]
Completed in 150 milliseconds