Home
last modified time | relevance | path

Searched refs:lib_obj (Results 1 – 3 of 3) sorted by relevance

/external/autotest/client/common_lib/
Di2c_node.py53 self.lib_obj = self._loadSharedLibrary()
84 fd = self.lib_obj.GetDeviceFile(self.adapter_nr)
119 ret = self.lib_obj.setNodeAddress(self.fd, addr)
139 if self.lib_obj.WriteByte(self.fd, reg, byte) < 0:
159 byte_read = self.lib_obj.ReadByte(self.fd, reg)
180 if self.lib_obj.WriteWord(self.fd, reg, ctypes.c_uint16(word)) < 0:
201 word_read = self.lib_obj.ReadWord(self.fd, reg)
/external/python/cpython2/Modules/
D_ssl.c409 PyObject *err_value = NULL, *reason_obj = NULL, *lib_obj = NULL; in fill_and_set_sslerror() local
429 lib_obj = PyDict_GetItem(lib_codes_to_names, key); in fill_and_set_sslerror()
431 if (lib_obj == NULL) { in fill_and_set_sslerror()
440 if (reason_obj && lib_obj) in fill_and_set_sslerror()
442 lib_obj, reason_obj, errstr, lineno); in fill_and_set_sslerror()
443 else if (lib_obj) in fill_and_set_sslerror()
445 lib_obj, errstr, lineno); in fill_and_set_sslerror()
464 if (lib_obj == NULL) in fill_and_set_sslerror()
465 lib_obj = Py_None; in fill_and_set_sslerror()
466 if (PyObject_SetAttrString(err_value, "library", lib_obj)) in fill_and_set_sslerror()
/external/python/cpython3/Modules/
D_ssl.c608 PyObject *err_value = NULL, *reason_obj = NULL, *lib_obj = NULL; in fill_and_set_sslerror() local
632 lib_obj = PyDict_GetItemWithError(lib_codes_to_names, key); in fill_and_set_sslerror()
634 if (lib_obj == NULL && PyErr_Occurred()) { in fill_and_set_sslerror()
687 if (verify_obj && reason_obj && lib_obj) in fill_and_set_sslerror()
689 lib_obj, reason_obj, errstr, verify_obj, in fill_and_set_sslerror()
691 else if (reason_obj && lib_obj) in fill_and_set_sslerror()
693 lib_obj, reason_obj, errstr, lineno); in fill_and_set_sslerror()
694 else if (lib_obj) in fill_and_set_sslerror()
696 lib_obj, errstr, lineno); in fill_and_set_sslerror()
716 if (lib_obj == NULL) in fill_and_set_sslerror()
[all …]