Home
last modified time | relevance | path

Searched refs:proto (Results 1 – 25 of 65) sorted by relevance

123

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/
Dmicroprotocols.c55 pysqlite_microprotocols_add(PyTypeObject *type, PyObject *proto, PyObject *cast) in pysqlite_microprotocols_add() argument
60 if (proto == NULL) proto = (PyObject*)&pysqlite_PrepareProtocolType; in pysqlite_microprotocols_add()
62 key = Py_BuildValue("(OO)", (PyObject*)type, proto); in pysqlite_microprotocols_add()
76 pysqlite_microprotocols_adapt(PyObject *obj, PyObject *proto, PyObject *alt) in pysqlite_microprotocols_adapt() argument
85 key = Py_BuildValue("(OO)", (PyObject*)obj->ob_type, proto); in pysqlite_microprotocols_adapt()
97 if (PyObject_HasAttrString(proto, "__adapt__")) { in pysqlite_microprotocols_adapt()
98 PyObject *adapted = PyObject_CallMethod(proto, "__adapt__", "O", obj); in pysqlite_microprotocols_adapt()
113 PyObject *adapted = PyObject_CallMethod(obj, "__conform__","O", proto); in pysqlite_microprotocols_adapt()
138 PyObject *proto = (PyObject*)&pysqlite_PrepareProtocolType; in pysqlite_adapt() local
140 if (!PyArg_ParseTuple(args, "O|OO", &obj, &proto, &alt)) return NULL; in pysqlite_adapt()
[all …]
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/
Dpickletester.py411 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 in protocols:
462 s = self.dumps(l, proto)
[all …]
Dtest_xpickle.py39 def dumps(self, arg, proto=0, fast=False): argument
41 return cPickle.dumps(arg, proto)
51 def dumps(self, arg, proto=0, fast=False): argument
53 return pickle.dumps(arg, proto)
85 def send_to_worker(self, python, obj, proto): argument
104 data = self.module.dumps((proto, obj), proto)
114 def dumps(self, arg, proto=0, fast=False): argument
115 return self.send_to_worker(self.python, arg, proto)
147 for proto in pickletester.protocols[1:]:
149 pickle = self.dumps(value, proto)
[all …]
Dtest_pickle.py13 def dumps(self, arg, proto=0, fast=0): argument
15 return pickle.dumps(arg, proto)
28 def dumps(self, arg, proto=0, fast=0): argument
30 p = pickle.Pickler(f, proto)
44 def dumps(self, arg, proto=0, fast=0): argument
49 p = PersPickler(f, proto)
Dtest_cpickle.py18 def dumps(self, arg, proto=0): argument
20 p = cPickle.Pickler(f, proto)
34 def dumps(self, arg, proto=0): argument
35 p = cPickle.Pickler(proto)
48 def dumps(self, arg, proto=0): argument
50 p = cPickle.Pickler(f, proto)
Dtest_pickletools.py9 def dumps(self, arg, proto=0, fast=0): argument
10 return pickletools.optimize(pickle.dumps(arg, proto))
Dtest_socketserver.py84 def pickaddr(self, proto): argument
85 if proto == socket.AF_INET:
156 def stream_examine(self, proto, addr): argument
157 s = socket.socket(proto, socket.SOCK_STREAM)
167 def dgram_examine(self, proto, addr): argument
168 s = socket.socket(proto, socket.SOCK_DGRAM)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dpickletools.py855 stack_before, stack_after, proto, doc): argument
876 assert isinstance(proto, int) and 0 <= proto <= 2
877 self.proto = proto
892 proto=0,
917 proto=1,
931 proto=1,
943 proto=1,
956 proto=0,
974 proto=2,
985 proto=2,
[all …]
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:
546 if n <= 3 and proto >= 2:
[all …]
Dsocket.py185 def __init__(self, family=AF_INET, type=SOCK_STREAM, proto=0, _sock=None): argument
187 _sock = _realsocket(family, type, proto)
221 proto = property(lambda self: self._sock.proto, doc="the socket protocol") variable in _socketobject
554 af, socktype, proto, canonname, sa = res
557 sock = socket(af, socktype, proto)
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
Dgetservbyport.c44 getservbyport(int port, const char *proto) in getservbyport() argument
53 ___getservbyproto_yp = (char *)proto; in getservbyport()
60 if (proto == 0 || strcmp(p->s_proto, proto) == 0) in getservbyport()
Dgetservbyname.c43 getservbyname(IN const char *name, IN const char *proto) in getservbyname() argument
53 ___getservbyproto_yp = (char *)proto; in getservbyname()
65 if (proto == 0 || strcmp(p->s_proto, proto) == 0) in getservbyname()
Dgetprotoent.c49 static struct protoent proto; variable
90 proto.p_name = p; in getprotoent()
100 proto.p_proto = atoi(cp); in getprotoent()
101 q = proto.p_aliases = proto_aliases; in getprotoent()
117 return (&proto); in getprotoent()
Dgetproto.c43 getprotobynumber(register int proto) in getprotobynumber() argument
49 if (p->p_proto == proto) in getprotobynumber()
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/antlr/
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.h \
[all …]
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.h \
[all …]
/device/google/trout/hal/vehicle/2.0/agl_build/
DCMakeLists.txt21 ${trout_NATIVE_VHAL_ROOT_DIR}/impl/vhal_v2_0/proto
23 ${trout_NATIVE_VHAL_ROOT_DIR}/impl/vhal_v2_0/proto/VehicleHalProto.proto
24 ${trout_VHAL_SRC_ROOT}/proto/VehicleServer.proto)
/device/google/trout/hal/dumpstate/1.1/
DAndroid.bp25 "proto/DumpstateServer.proto",
41 "proto/DumpstateServer.proto",
/device/google/trout/hal/vehicle/2.0/
DAndroid.bp64 …(in)) -Ihardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/proto -Iexternal/protobu…
66 "proto/VehicleServer.proto",
80 …(in)) -Ihardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/proto -Iexternal/protobu…
82 "proto/VehicleServer.proto",
/device/google/trout/hal/audiocontrol/2.0/
DAndroid.bp39 "proto/AudioFocusControl.proto",
55 "proto/AudioFocusControl.proto",
/device/google/trout/hal/dumpstate/1.1/agl_build/
DCMakeLists.txt15 ${dumpstate_SRC_ROOT}/proto/DumpstateServer.proto)
/device/google/trout/hal/audiocontrol/2.0/agl_build/
DCMakeLists.txt15 ${trout_AUDIOFOCUS_SRC_ROOT}/proto/AudioFocusControl.proto)
/device/google/cuttlefish/host/commands/assemble_cvd/
DAndroid.bp19 "cdisk_spec.proto",
21 proto: {
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dsocket.py189 def __init__(self, family=AF_INET, type=SOCK_STREAM, proto=0, _sock=None): argument
191 _sock = _realsocket(family, type, proto)
225 proto = property(lambda self: self._sock.proto, doc="the socket protocol") variable in _socketobject
558 af, socktype, proto, canonname, sa = res
561 sock = socket(af, socktype, proto)

123