HomeSort by relevance Sort by last modified time
    Searched refs:sock_type (Results 1 - 23 of 23) sorted by null

  /external/autotest/client/cros/netprotos/
fake_host.py 19 def socket(self, family, sock_type):
23 @param sock_type: The socket type, for example SOCK_DGRAM.
26 sock = FakeSocket(self, family, sock_type)
38 def __init__(self, host, family, sock_type):
41 self._sock_type = sock_type
interface_host.py 34 def socket(self, family, sock_type):
40 @param sock_type: must be socket.SOCK_DGRAM.
43 if family != socket.AF_INET or sock_type != socket.SOCK_DGRAM:
  /device/google/marlin/camera/QCamera2/stack/mm-camera-interface/inc/
mm_camera_sock.h 52 int mm_camera_socket_create(int cam_id, mm_camera_sock_type_t sock_type);
  /hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/inc/
mm_camera_sock.h 52 int mm_camera_socket_create(int cam_id, mm_camera_sock_type_t sock_type);
  /device/google/marlin/camera/QCamera2/stack/mm-camera-interface/src/
mm_camera_sock.c 46 * @sock_type: socket type, TCP/UDP
50 int mm_camera_socket_create(int cam_id, mm_camera_sock_type_t sock_type)
57 switch (sock_type)
66 LOGE("unknown socket type =%d", sock_type);
  /hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/
mm_camera_sock.c 46 * @sock_type: socket type, TCP/UDP
50 int mm_camera_socket_create(int cam_id, mm_camera_sock_type_t sock_type)
57 switch (sock_type)
66 LOGE("unknown socket type =%d", sock_type);
  /external/ltp/testcases/network/netstress/
netstress.c 99 static int sock_type = SOCK_STREAM; variable
234 if (errno == ETIME && sock_type != SOCK_STREAM) {
249 int cfd = SAFE_SOCKET(family, sock_type, protocol);
398 hints.ai_socktype = sock_type;
523 if (sock_type == SOCK_STREAM &&
538 if (sock_type == SOCK_STREAM &&
569 hints.ai_socktype = sock_type;
579 sfd = SAFE_SOCKET(family, sock_type, protocol);
805 sock_type = SOCK_DGRAM;
810 sock_type = SOCK_DCCP
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/
socketmodule.h 128 int sock_type; /* Socket type, e.g., SOCK_STREAM */ member in struct:__anon4241
174 PySocketModule.Sock_Type,
189 PyTypeObject *Sock_Type;
210 &PySocketModule.Sock_Type, (PyObject*)&Sock,
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
socketmodule.h 128 int sock_type; /* Socket type, e.g., SOCK_STREAM */ member in struct:__anon4475
175 PySocketModule.Sock_Type,
190 PyTypeObject *Sock_Type;
211 &PySocketModule.Sock_Type, (PyObject*)&Sock,
socketmodule.c 453 The sock_type variable contains pointers to various functions,
454 some of which call new_sockobject(), which uses sock_type, so
456 static PyTypeObject sock_type; variable
790 s->sock_type = type;
816 PyType_GenericNew(&sock_type, NULL, NULL);
3208 static PyTypeObject sock_type = { variable
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
socketmodule.h 128 int sock_type; /* Socket type, e.g., SOCK_STREAM */ member in struct:__anon4816
174 PySocketModule.Sock_Type,
189 PyTypeObject *Sock_Type;
210 &PySocketModule.Sock_Type, (PyObject*)&Sock,
socketmodule.c 448 The sock_type variable contains pointers to various functions,
449 some of which call new_sockobject(), which uses sock_type, so
451 static PyTypeObject sock_type; variable
732 s->sock_type = type;
758 PyType_GenericNew(&sock_type, NULL, NULL);
3126 static PyTypeObject sock_type = { variable
    [all...]
  /external/python/cpython2/Modules/
socketmodule.h 128 int sock_type; /* Socket type, e.g., SOCK_STREAM */ member in struct:__anon32870
175 PySocketModule.Sock_Type,
190 PyTypeObject *Sock_Type;
211 &PySocketModule.Sock_Type, (PyObject*)&Sock,
socketmodule.c 477 The sock_type variable contains pointers to various functions,
478 some of which call new_sockobject(), which uses sock_type, so
480 static PyTypeObject sock_type; variable
814 s->sock_type = type;
840 PyType_GenericNew(&sock_type, NULL, NULL);
3233 static PyTypeObject sock_type = { variable
    [all...]
  /external/honggfuzz/
subproc.c 245 int sock_type = SOCK_STREAM; local
247 sock_type |= SOCK_CLOEXEC;
249 if (socketpair(AF_UNIX, sock_type, 0, sv) == -1) {
  /external/python/cpython3/Modules/
socketmodule.h 172 int sock_type; /* Socket type, e.g., SOCK_STREAM */ member in struct:__anon33498
218 PySocketModule.Sock_Type,
233 PyTypeObject *Sock_Type;
socketmodule.c 492 The sock_type variable contains pointers to various functions,
493 some of which call new_sockobject(), which uses sock_type, so
495 static PyTypeObject sock_type; variable
637 s->sock_type &= (~SOCK_NONBLOCK);
639 s->sock_type |= SOCK_NONBLOCK;
934 s->sock_type = type;
965 PyType_GenericNew(&sock_type, NULL, NULL);
4788 static PyTypeObject sock_type = { variable
    [all...]
  /external/autotest/client/deps/lansim/src/py/
host.py 229 def socket(self, family, sock_type):
236 @param sock_type: The socket type, only SOCK_DGRAM is supported.
242 if sock_type != socket.SOCK_DGRAM:
  /tools/test/connectivity/acts/framework/acts/test_utils/net/
socket_test_utils.py 28 def open_android_socket(ad, domain, sock_type, ip, port):
34 3. sock_type - UDP or TCP socket
41 fd_key = ad.droid.openSocket(domain, sock_type, ip, port)
  /tools/test/connectivity/acts/tests/google/net/
IpSecTest.py 108 sock_type,
133 fd_a = sutils.open_android_socket(dut_a, domain, sock_type, ip_a, port)
134 fd_b = sutils.open_android_socket(dut_b, domain, sock_type, ip_b, port)
168 if sock_type == cconst.SOCK_STREAM:
207 if sock_type == cconst.SOCK_STREAM:
  /external/parameter-framework/asio-1.10.6/include/asio/detail/
socket_ops.hpp 247 std::size_t servlen, int sock_type, asio::error_code& ec);
253 std::size_t servlen, int sock_type, asio::error_code& ec);
  /kernel/tests/net/test/
net_test.py 128 def Socket(family, sock_type, protocol):
129 s = socket(family, sock_type, protocol)
  /external/python/cpython3/Lib/test/
test_asyncore.py 734 sock_type = socket.SOCK_STREAM | SOCK_NONBLOCK
737 (sock_type | socket.SOCK_CLOEXEC, sock_type))
739 self.assertEqual(s.socket.type, sock_type)

Completed in 345 milliseconds