Searched refs:lib_obj (Results 1 – 3 of 3) sorted by relevance
/external/autotest/client/common_lib/ |
D | i2c_slave.py | 52 self.lib_obj = self._loadSharedLibrary() 83 fd = self.lib_obj.GetDeviceFile(self.adapter_nr) 118 ret = self.lib_obj.SetSlaveAddress(self.fd, addr) 138 if self.lib_obj.WriteByte(self.fd, reg, byte) < 0: 158 byte_read = self.lib_obj.ReadByte(self.fd, reg) 179 if self.lib_obj.WriteWord(self.fd, reg, ctypes.c_uint16(word)) < 0: 200 word_read = self.lib_obj.ReadWord(self.fd, reg)
|
/external/python/cpython2/Modules/ |
D | _ssl.c | 409 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.c | 577 PyObject *err_value = NULL, *reason_obj = NULL, *lib_obj = NULL; in fill_and_set_sslerror() local 602 lib_obj = PyDict_GetItem(lib_codes_to_names, key); in fill_and_set_sslerror() 604 if (lib_obj == NULL) { in fill_and_set_sslerror() 657 if (verify_obj && reason_obj && lib_obj) in fill_and_set_sslerror() 659 lib_obj, reason_obj, errstr, verify_obj, in fill_and_set_sslerror() 661 else if (reason_obj && lib_obj) in fill_and_set_sslerror() 663 lib_obj, reason_obj, errstr, lineno); in fill_and_set_sslerror() 664 else if (lib_obj) in fill_and_set_sslerror() 666 lib_obj, errstr, lineno); in fill_and_set_sslerror() 686 if (lib_obj == NULL) in fill_and_set_sslerror() [all …]
|