Searched refs:proto (Results 1 - 25 of 46) sorted by relevance

12

/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
H A Dgetservbyport.c44 getservbyport(int port, const char *proto) argument
53 ___getservbyproto_yp = (char *)proto;
60 if (proto == 0 || strcmp(p->s_proto, proto) == 0)
H A Dgetproto.c43 getprotobynumber(register int proto) argument
49 if (p->p_proto == proto)
H A Dgetservbyname.c43 getservbyname(IN const char *name, IN const char *proto) argument
53 ___getservbyproto_yp = (char *)proto;
65 if (proto == 0 || strcmp(p->s_proto, proto) == 0)
H A Dgetprotoent.c49 static struct protoent proto; variable in typeref:struct:protoent
90 proto.p_name = p;
100 proto.p_proto = atoi(cp);
101 q = proto.p_aliases = proto_aliases;
117 return (&proto);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/
H A Dmicroprotocols.c55 pysqlite_microprotocols_add(PyTypeObject *type, PyObject *proto, PyObject *cast) argument
60 if (proto == NULL) proto = (PyObject*)&pysqlite_PrepareProtocolType;
62 key = Py_BuildValue("(OO)", (PyObject*)type, proto);
76 pysqlite_microprotocols_adapt(PyObject *obj, PyObject *proto, PyObject *alt) argument
85 key = Py_BuildValue("(OO)", (PyObject*)obj->ob_type, proto);
97 if (PyObject_HasAttrString(proto, "__adapt__")) {
98 PyObject *adapted = PyObject_CallMethod(proto, "__adapt__", "O", obj);
113 PyObject *adapted = PyObject_CallMethod(obj, "__conform__","O", proto);
138 PyObject *proto local
[all...]
H A Dmicroprotocols.h46 PyTypeObject *type, PyObject *proto, PyObject *cast);
48 PyObject *obj, PyObject *proto, PyObject *alt);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
H A Dpickletester.py12 # for proto in protocols:
411 for proto in protocols:
413 s = self.dumps(x, proto)
418 s = self.dumps(x, proto)
423 s = self.dumps(x, proto)
431 for proto in protocols:
432 s = self.dumps(expected, proto)
451 for proto, expected in (0, DATA0_DIS), (1, DATA1_DIS):
452 s = self.dumps(self._testdata, proto)
461 for proto i
[all...]
H A Dtest_pickle.py13 def dumps(self, arg, proto=0, fast=0):
15 return pickle.dumps(arg, proto)
28 def dumps(self, arg, proto=0, fast=0):
30 p = pickle.Pickler(f, proto)
44 def dumps(self, arg, proto=0, fast=0):
49 p = PersPickler(f, proto)
H A Dtest_pickletools.py9 def dumps(self, arg, proto=0, fast=0):
10 return pickletools.optimize(pickle.dumps(arg, proto))
H A Dtest_xpickle.py39 def dumps(self, arg, proto=0, fast=False):
41 return cPickle.dumps(arg, proto)
51 def dumps(self, arg, proto=0, fast=False):
53 return pickle.dumps(arg, proto)
85 def send_to_worker(self, python, obj, proto):
94 proto: pickle protocol number to use.
104 data = self.module.dumps((proto, obj), proto)
114 def dumps(self, arg, proto=0, fast=False):
115 return self.send_to_worker(self.python, arg, proto)
[all...]
H A Dtest_cpickle.py18 def dumps(self, arg, proto=0):
20 p = cPickle.Pickler(f, proto)
34 def dumps(self, arg, proto=0):
35 p = cPickle.Pickler(proto)
48 def dumps(self, arg, proto=0):
50 p = cPickle.Pickler(f, proto)
H A Dtest_socketserver.py84 def pickaddr(self, proto):
85 if proto == socket.AF_INET:
156 def stream_examine(self, proto, addr):
157 s = socket.socket(proto, socket.SOCK_STREAM)
167 def dgram_examine(self, proto, addr):
168 s = socket.socket(proto, socket.SOCK_DGRAM)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
H A Dpickletools.py21 # (== the highest .proto attr value among all the opcodes in the pickle).
848 'proto',
855 stack_before, stack_after, proto, doc):
876 assert isinstance(proto, int) and 0 <= proto <= 2
877 self.proto = proto
892 proto=0,
917 proto=1,
931 proto
[all...]
H A Dsocket.py185 def __init__(self, family=AF_INET, type=SOCK_STREAM, proto=0, _sock=None):
187 _sock = _realsocket(family, type, proto)
221 proto = property(lambda self: self._sock.proto, doc="the socket protocol") variable in class:_socketobject
554 af, socktype, proto, canonname, sa = res
557 sock = socket(af, socktype, proto)
H A Dcopy_reg.py59 def _reduce_ex(self, proto):
60 assert proto < 2
H A Dpickle.py205 self.proto = int(protocol)
222 if self.proto >= 2:
223 self.write(PROTO + chr(self.proto))
306 rv = reduce(self.proto)
361 if self.proto >= 2 and getattr(func, "__name__", "") == "__newobj__":
431 if self.proto >= 2:
462 if self.proto >= 2:
534 proto = self.proto
538 if proto
[all...]
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/antlr/
H A DAntlrDDK.mak43 $(ANTLR_SRC)\proto.h \
58 $(ANTLR_SRC)\proto.h \
72 $(ANTLR_SRC)\proto.h \
84 $(ANTLR_SRC)\proto.h \
95 $(ANTLR_SRC)\proto.h \
106 $(ANTLR_SRC)\proto.h \
117 $(ANTLR_SRC)\proto.h \
128 $(ANTLR_SRC)\proto.h \
138 $(ANTLR_SRC)\proto.h \
154 $(ANTLR_SRC)\proto
[all...]
H A DAntlrMS.mak44 $(ANTLR_SRC)\proto.h \
59 $(ANTLR_SRC)\proto.h \
73 $(ANTLR_SRC)\proto.h \
85 $(ANTLR_SRC)\proto.h \
96 $(ANTLR_SRC)\proto.h \
107 $(ANTLR_SRC)\proto.h \
118 $(ANTLR_SRC)\proto.h \
129 $(ANTLR_SRC)\proto.h \
139 $(ANTLR_SRC)\proto.h \
155 $(ANTLR_SRC)\proto
[all...]
/device/google/marlin/camera/QCamera2/stack/mm-camera-test/src/
H A Dmm_qcamera_socket.c128 tuneserver_protocol_t *p = tsctrl->proto;
228 tuneserver_protocol_t *p = tsctrl->proto;
230 switch (tsctrl->proto->next_recv_code) {
312 tsctrl->proto = malloc(sizeof(tuneserver_protocol_t));
313 if (!tsctrl->proto) {
318 tsctrl->proto->current_cmd = 0xFFFF;
319 tsctrl->proto->next_recv_code = TUNESERVER_RECV_COMMAND;
320 tsctrl->proto->next_recv_len = 2;
321 tsctrl->proto->recv_buf = NULL;
322 tsctrl->proto
[all...]
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/src/
H A Dmm_qcamera_socket.c121 tuneserver_protocol_t *p = tsctrl->proto;
221 tuneserver_protocol_t *p = tsctrl->proto;
223 switch (tsctrl->proto->next_recv_code) {
305 tsctrl->proto = malloc(sizeof(tuneserver_protocol_t));
306 if (!tsctrl->proto) {
311 tsctrl->proto->current_cmd = 0xFFFF;
312 tsctrl->proto->next_recv_code = TUNESERVER_RECV_COMMAND;
313 tsctrl->proto->next_recv_len = 2;
314 tsctrl->proto->recv_buf = NULL;
315 tsctrl->proto
[all...]
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/src/
H A Dmm_qcamera_socket.c121 tuneserver_protocol_t *p = tsctrl->proto;
221 tuneserver_protocol_t *p = tsctrl->proto;
223 switch (tsctrl->proto->next_recv_code) {
305 tsctrl->proto = malloc(sizeof(tuneserver_protocol_t));
306 if (!tsctrl->proto) {
311 tsctrl->proto->current_cmd = 0xFFFF;
312 tsctrl->proto->next_recv_code = TUNESERVER_RECV_COMMAND;
313 tsctrl->proto->next_recv_len = 2;
314 tsctrl->proto->recv_buf = NULL;
315 tsctrl->proto
[all...]
/device/google/dragon/recovery/updater/
H A Dflash_ec.c53 struct ec_response_get_protocol_info proto; member in struct:ec_data
104 &dev->proto, sizeof(dev->proto));
155 uint32_t read_size = dev->proto.max_response_packet_size
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
H A Dsocket.py189 def __init__(self, family=AF_INET, type=SOCK_STREAM, proto=0, _sock=None):
191 _sock = _realsocket(family, type, proto)
225 proto = property(lambda self: self._sock.proto, doc="the socket protocol") variable in class:_socketobject
558 af, socktype, proto, canonname, sa = res
561 sock = socket(af, socktype, proto)
H A Dcopy_reg.py59 def _reduce_ex(self, proto):
60 assert proto < 2
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
H A Dgetaddrinfo.c345 char *proto; local
347 proto = NULL;
350 proto = NULL;
353 proto = "udp";
356 proto = "tcp";
362 if ((sp = getservbyname(servname, proto)) == NULL)

Completed in 4657 milliseconds

12