Home
last modified time | relevance | path

Searched refs:typ (Results 1 – 19 of 19) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dimaplib.py192 typ, dat = self.capability()
283 typ, dat = self._untagged_response('OK', [None], name)
285 return typ, dat
286 typ, dat = self.noop() # Prod server for response
287 return self._untagged_response(typ, dat, name)
349 typ, dat = self._simple_command('AUTHENTICATE', mech)
350 if typ != 'OK':
353 return typ, dat
361 typ, dat = self._simple_command(name)
362 return self._untagged_response(typ, dat, name)
[all …]
Dpprint.py138 typ = _type(object)
146 r = getattr(typ, "__repr__", None)
147 if issubclass(typ, dict) and r is dict.__repr__:
176 if ((issubclass(typ, list) and r is list.__repr__) or
177 (issubclass(typ, tuple) and r is tuple.__repr__) or
178 (issubclass(typ, set) and r is set.__repr__) or
179 (issubclass(typ, frozenset) and r is frozenset.__repr__)
182 if issubclass(typ, list):
185 elif issubclass(typ, set):
193 elif issubclass(typ, frozenset):
[all …]
Ddummy_thread.py118 def __exit__(self, typ, val, tb): argument
Dpkgutil.py59 def register(typ, func=None): argument
61 return lambda f: register(typ, f)
62 registry[typ] = func
D_pyio.py231 def __get__(self, obj, typ): argument
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dgenobject.c217 PyObject *typ; in gen_throw() local
221 if (!PyArg_UnpackTuple(args, "throw", 1, 3, &typ, &val, &tb)) in gen_throw()
234 Py_INCREF(typ); in gen_throw()
238 if (PyExceptionClass_Check(typ)) { in gen_throw()
239 PyErr_NormalizeException(&typ, &val, &tb); in gen_throw()
242 else if (PyExceptionInstance_Check(typ)) { in gen_throw()
252 val = typ; in gen_throw()
253 typ = PyExceptionInstance_Class(typ); in gen_throw()
254 Py_INCREF(typ); in gen_throw()
261 typ->ob_type->tp_name); in gen_throw()
[all …]
Dstructseq.c240 PyTypeObject *typ = Py_TYPE(obj); in structseq_repr() local
254 len = strlen(typ->tp_name) > TYPE_MAXSIZE ? TYPE_MAXSIZE : in structseq_repr()
255 strlen(typ->tp_name); in structseq_repr()
256 strncpy(pbuf, typ->tp_name, len); in structseq_repr()
264 cname = typ->tp_members[i].name; in structseq_repr()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dgenobject.c220 PyObject *typ; in gen_throw() local
224 if (!PyArg_UnpackTuple(args, "throw", 1, 3, &typ, &val, &tb)) in gen_throw()
237 Py_INCREF(typ); in gen_throw()
241 if (PyExceptionClass_Check(typ)) { in gen_throw()
242 PyErr_NormalizeException(&typ, &val, &tb); in gen_throw()
245 else if (PyExceptionInstance_Check(typ)) { in gen_throw()
255 val = typ; in gen_throw()
256 typ = PyExceptionInstance_Class(typ); in gen_throw()
257 Py_INCREF(typ); in gen_throw()
264 typ->ob_type->tp_name); in gen_throw()
[all …]
Dstructseq.c241 PyTypeObject *typ = Py_TYPE(obj); in structseq_repr() local
255 len = strlen(typ->tp_name) > TYPE_MAXSIZE ? TYPE_MAXSIZE : in structseq_repr()
256 strlen(typ->tp_name); in structseq_repr()
257 strncpy(pbuf, typ->tp_name, len); in structseq_repr()
265 cname = typ->tp_members[i].name; in structseq_repr()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_future4.py7 def assertType(self, obj, typ): argument
8 self.assertTrue(type(obj) is typ,
9 "type(%r) is %r, not %r" % (obj, type(obj), typ))
Dtest_marshal.py254 for typ in (int, long, float, complex, tuple, list, dict, set, frozenset):
257 subtyp = type('subtyp', (typ,), {})
Dtest_sys.py77 typ, value, traceback = sys.exc_info()
78 self.assertTrue(typ is not None)
85 typ, value, traceback = sys.exc_info()
86 self.assertTrue(typ is None)
/device/google/contexthub/contexthubhal/
Dnanohubhal.h66 HubMessage(const hub_app_name_t *name, uint32_t typ, uint32_t transaction_id, in HubMessage() argument
69 message_type = typ; in HubMessage()
81 HubMessage(const hub_app_name_t *name, uint32_t typ, uint16_t endpoint, const void *data, in HubMessage() argument
82 uint32_t len) : HubMessage(name, typ, 0, endpoint, data, len) { } in HubMessage()
Dsystem_comms.h461 static void sendToApp(uint32_t typ, uint32_t transactionId, const void *data, uint32_t len) { in sendToApp() argument
465 …NanoHub::sendToApp(HubMessage(&get_hub_info()->os_app_name, typ, transactionId, ENDPOINT_BROADCAST… in sendToApp()
/device/google/contexthub/contexthubhal/test/
Dmain.cpp90 void sendToSystem(uint32_t typ, void *data, uint32_t len) { in sendToSystem() argument
91 mParent->sendMessage(mHub->hub_id, mHub->os_app_name, typ, data, len); in sendToSystem()
141 int sendMessage(uint32_t id, hub_app_name_t app, uint32_t typ, void *data, uint32_t len) { in sendMessage() argument
144 .message_type = typ, in sendMessage()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Ddummy_thread.py118 def __exit__(self, typ, val, tb): argument
Dpkgutil.py59 def register(typ, func=None): argument
61 return lambda f: register(typ, f)
62 registry[typ] = func
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_io/
Dbufferedio.c694 PyObject *typ, *val, *tb; in _trap_eintr() local
703 PyErr_Fetch(&typ, &val, &tb); in _trap_eintr()
704 PyErr_NormalizeException(&typ, &val, &tb); in _trap_eintr()
709 Py_DECREF(typ); in _trap_eintr()
715 PyErr_Restore(typ, val, tb); in _trap_eintr()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/_io/
Dbufferedio.c722 PyObject *typ, *val, *tb; in _PyIO_trap_eintr() local
731 PyErr_Fetch(&typ, &val, &tb); in _PyIO_trap_eintr()
732 PyErr_NormalizeException(&typ, &val, &tb); in _PyIO_trap_eintr()
737 Py_DECREF(typ); in _PyIO_trap_eintr()
743 PyErr_Restore(typ, val, tb); in _PyIO_trap_eintr()