/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Library/I2CLib/ |
D | I2CLib.c | 40 I2C_Disable(UINT32 Socket,UINT8 Port) in I2C_Disable() argument 47 UINTN Base = GetI2cBase(Socket, Port); in I2C_Disable() 82 I2C_Enable(UINT32 Socket,UINT8 Port) in I2C_Enable() argument 87 UINTN Base = GetI2cBase(Socket, Port); in I2C_Enable() 106 void I2C_SetTarget(UINT32 Socket,UINT8 Port,UINT32 I2cDeviceAddr) in I2C_SetTarget() argument 109 UINTN Base = GetI2cBase(Socket, Port); in I2C_SetTarget() 122 I2CInit(UINT32 Socket, UINT32 Port, SPEED_MODE SpeedMode) in I2CInit() argument 132 UINTN Base = GetI2cBase(Socket, Port); in I2CInit() 134 if((Socket >= MAX_SOCKET) || (Port >= I2C_PORT_MAX) || (SpeedMode >= SPEED_MODE_MAX)){ in I2CInit() 139 Status = I2C_Disable(Socket,Port); in I2CInit() [all …]
|
D | I2CLibRuntime.c | 32 UINTN GetI2cBase (UINT32 Socket, UINT8 Port) in GetI2cBase() argument 34 if (gI2cBase[Socket][Port] == 0) { in GetI2cBase() 35 gI2cBase[Socket][Port] = PlatformGetI2cBase(Socket, Port); in GetI2cBase() 38 return gI2cBase[Socket][Port]; in GetI2cBase() 48 UINT32 Socket; in I2cLibVirtualNotifyEvent() local 53 for (Socket = 0; Socket < MAX_SOCKET; Socket++) { in I2cLibVirtualNotifyEvent() 55 if (gI2cBase[Socket][Port] != 0) { in I2cLibVirtualNotifyEvent() 56 EfiConvertPointer (0x0, (VOID **)&gI2cBase[Socket][Port]); in I2cLibVirtualNotifyEvent() 65 I2cLibRuntimeSetup (UINT32 Socket, UINT8 Port) in I2cLibRuntimeSetup() argument 69 UINTN Base = GetI2cBase (Socket, Port); in I2cLibRuntimeSetup()
|
D | I2CLibCommon.c | 24 UINTN GetI2cBase (UINT32 Socket, UINT8 Port) in GetI2cBase() argument 26 return PlatformGetI2cBase(Socket, Port); in GetI2cBase() 30 I2cLibRuntimeSetup (UINT32 Socket, UINT8 Port) in I2cLibRuntimeSetup() argument
|
D | I2CLibInternal.h | 22 UINTN GetI2cBase (UINT32 Socket, UINT8 Port); 25 I2cLibRuntimeSetup (UINT32 Socket, UINT8 Port);
|
/device/generic/goldfish/wifi/ipv6proxy/ |
D | socket.h | 28 class Socket { 49 Socket(); 53 Socket(Socket&& other) noexcept; 54 ~Socket(); 60 Socket& operator=(Socket&& other) noexcept; 142 Socket(const Socket&); 143 Socket& operator=(const Socket&);
|
D | socket.cpp | 32 Socket::Socket() : mState(State::New), mSocket(-1) { in Socket() function in Socket 35 Socket::Socket(Socket&& other) noexcept : mState(other.mState), mSocket(other.mSocket) { in Socket() function in Socket 40 Socket::~Socket() { in ~Socket() 48 Socket& Socket::operator=(Socket&& other) noexcept { in operator =() 60 Result Socket::open(int domain, int type, int protocol) { in open() 72 Result Socket::setInterface(const std::string& interface) { in setInterface() 82 Result Socket::setMulticastHopLimit(int hopLimit) { in setMulticastHopLimit() 92 Result Socket::setUnicastHopLimit(int hopLimit) { in setUnicastHopLimit() 102 Result Socket::setTransparent(bool transparent) { in setTransparent() 113 Result Socket::bind(const Address& address) { in bind() [all …]
|
D | interface.h | 38 Socket& ipSocket() { return mIpSocket; } in ipSocket() 39 Socket& icmpSocket() { return mIcmpSocket; } in icmpSocket() 50 Socket mIpSocket; 51 Socket mIcmpSocket;
|
D | proxy.h | 27 class Socket; variable 54 bool receiveIfPossible(const pollfd&, Socket& socket, Message* message);
|
/device/generic/goldfish/dhcp/common/ |
D | socket.h | 25 class Socket { 27 Socket(); 28 Socket(const Socket&) = delete; 29 ~Socket(); 31 Socket& operator=(const Socket&) = delete;
|
D | socket.cpp | 64 Socket::Socket() : mSocketFd(-1) { in Socket() function in Socket 67 Socket::~Socket() { in ~Socket() 75 Result Socket::open(int domain, int type, int protocol) { in open() 86 Result Socket::bind(const void* sockaddr, size_t sockaddrLength) { in bind() 101 Result Socket::bindIp(in_addr_t address, uint16_t port) { in bindIp() 111 Result Socket::bindRaw(unsigned int interfaceIndex) { in bindRaw() 121 Result Socket::sendOnInterface(unsigned int interfaceIndex, in sendOnInterface() 166 Result Socket::sendRawUdp(in_addr_t source, in sendRawUdp() 234 Result Socket::receiveFromInterface(Message* message, in receiveFromInterface() 267 Result Socket::receiveRawUdp(uint16_t expectedPort, in receiveRawUdp() [all …]
|
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/D03/Library/OemMiscLib2P/ |
D | OemMiscLib2PHi1610.c | 35 BOOLEAN OemIsSocketPresent (UINTN Socket) in OemIsSocketPresent() argument 37 if (0 == Socket) in OemIsSocketPresent() 42 if(1 == Socket) in OemIsSocketPresent() 70 UINTN OemGetDimmSlot(UINTN Socket, UINTN Channel) in OemGetDimmSlot() argument
|
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/D02/Library/OemMiscLibD02/ |
D | OemMiscLibD02.c | 29 BOOLEAN OemIsSocketPresent (UINTN Socket) in OemIsSocketPresent() argument 31 if (0 == Socket) in OemIsSocketPresent() 44 UINTN OemGetDimmSlot(UINTN Socket, UINTN Channel) in OemGetDimmSlot() argument
|
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/D05/Library/OemMiscLibD05/ |
D | OemMiscLibD05.c | 41 BOOLEAN OemIsSocketPresent (UINTN Socket) in OemIsSocketPresent() argument 43 if (PcdGet32(PcdSocketMask) & (1 << Socket)) { in OemIsSocketPresent() 68 UINTN OemGetDimmSlot(UINTN Socket, UINTN Channel) in OemGetDimmSlot() argument
|
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Include/Library/ |
D | PlatformSysCtrlLib.h | 52 UINTN PlatformGetI2cBase(UINT32 Socket,UINT8 Port); 60 DawFindFreeWindow (UINTN Socket, UINTN *DawIndex); 62 VOID DawSetWindow (UINTN Socket, UINTN WindowIndex, UINT32 Value); 83 UINTN PlatformGetCpuFreq (UINT8 Socket);
|
D | I2CLib.h | 41 UINT32 Socket; member 50 I2CInit(UINT32 Socket, UINT32 Port, SPEED_MODE SpeedMode); 70 I2CSdaConfig(UINT32 Socket, UINT32 Port);
|
D | OemMiscLib.h | 34 BOOLEAN OemIsSocketPresent (UINTN Socket); 41 UINTN OemGetDimmSlot(UINTN Socket, UINTN Channel);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
D | _ssl.c | 117 PySocketSockObject *Socket; /* Socket on which we're layered */ member 196 if (ret == 0 || !obj->Socket) { in PySSL_SetError() 202 return obj->Socket->errorhandler(); in PySSL_SetError() 283 self->Socket = NULL; in newPySSLObject() 407 self->Socket = Sock; in newPySSLObject() 408 Py_INCREF(self->Socket); in newPySSLObject() 465 nonblocking = (self->Socket->sock_timeout >= 0.0); in PySSL_SSLdo_handshake() 480 sockstate = check_socket_and_wait_for_timeout(self->Socket, 0); in PySSL_SSLdo_handshake() 482 sockstate = check_socket_and_wait_for_timeout(self->Socket, 1); in PySSL_SSLdo_handshake() 1101 Py_XDECREF(self->Socket); in PySSL_dealloc() [all …]
|
/device/linaro/poplar/sepolicy/ |
D | hal_bluetooth_default.te | 4 # Socket creation under /data/misc/bluedroid. 14 # Socket creation under /data/misc/bluedroid.
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Tcp4Dxe/ |
D | SockInterface.c | 397 SOCKET *Socket; in SockAccept() local 443 Socket = NET_LIST_USER_STRUCT (ListEntry, SOCKET, ConnectionList); in SockAccept() 445 if (SOCK_IS_CONNECTED (Socket)) { in SockAccept() 446 ListenToken->NewChildHandle = Socket->SockHandle; in SockAccept() 451 ASSERT (Socket->Parent != NULL); in SockAccept() 453 Socket->Parent->ConnCnt--; in SockAccept() 458 Socket->Parent->ConnCnt) in SockAccept() 460 Socket->Parent = NULL; in SockAccept()
|
/device/google/cuttlefish_common/common/libs/fs/ |
D | shared_fd.cpp | 281 SharedFD SharedFD::Socket(int domain, int socket_type, int protocol) { in Socket() function in cvd::SharedFD 299 SharedFD rval = SharedFD::Socket(PF_UNIX, in_type, 0); in SocketLocalClient() 314 SharedFD rval = SharedFD::Socket(AF_INET, type, 0); in SocketLocalClient() 331 SharedFD rval = SharedFD::Socket(AF_INET, type, 0); in SocketLocalServer() 362 SharedFD rval = SharedFD::Socket(PF_UNIX, in_type, 0); in SocketLocalServer() 399 auto vsock = cvd::SharedFD::Socket(AF_VSOCK, type, 0); in VsockServer() 422 auto vsock = cvd::SharedFD::Socket(AF_VSOCK, type, 0); in VsockClient()
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/SmBiosMiscDxe/ |
D | MiscProcessorInformationFunction.c | 160 CHAR16 *Socket=NULL; 268 Socket = SmbiosMiscGetString (TokenToGet); 269 SocketStrLen = StrLen(Socket); 337 SmbiosRecord-> Socket= 1; 440 UnicodeStrToAsciiStr(Socket, OptionalStrStart);
|
/device/google/cuttlefish_common/tests/ril/src/com/android/cuttlefish/ril/tests/ |
D | RilE2eTests.java | 40 import java.net.Socket; 128 try (Socket s = new Socket("google.com", 80)) { in testRilConnects()
|
/device/google/cuttlefish_common/tests/wifi/src/com/android/cuttlefish/wifi/tests/ |
D | WifiE2eTests.java | 36 import java.net.Socket; 182 try (Socket s = new Socket("google.com", 80)) { in testWifiConnects()
|
/device/linaro/bootloader/edk2/NetworkPkg/TcpDxe/ |
D | SockInterface.c | 411 SOCKET *Socket; in SockAccept() local 460 Socket = NET_LIST_USER_STRUCT (ListEntry, SOCKET, ConnectionList); in SockAccept() 462 if (SOCK_IS_CONNECTED (Socket)) { in SockAccept() 463 ListenToken->NewChildHandle = Socket->SockHandle; in SockAccept() 468 ASSERT (Socket->Parent != NULL); in SockAccept() 470 Socket->Parent->ConnCnt--; in SockAccept() 475 Socket->Parent->ConnCnt) in SockAccept() 477 Socket->Parent = NULL; in SockAccept()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Sockets/DataSource/ |
D | DataSource.c | 52 int Socket = -1; variable 337 if ( -1 != Socket ) { in SocketClose() 341 CloseStatus = close ( Socket ); in SocketClose() 345 Socket )); in SocketClose() 346 Socket = -1; in SocketClose() 434 ConnectStatus = connect ( Socket, in SocketConnect() 519 Socket = socket ( Family, in SocketNew() 522 if ( -1 != Socket ) { in SocketNew() 525 Socket )); in SocketNew() 528 } while ( -1 == Socket ); in SocketNew() [all …]
|