Home
last modified time | relevance | path

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

/external/autotest/client/common_lib/
Di2c_slave.py52 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.c378 PyObject *err_value = NULL, *reason_obj = NULL, *lib_obj = NULL; in fill_and_set_sslerror() local
398 lib_obj = PyDict_GetItem(lib_codes_to_names, key); in fill_and_set_sslerror()
400 if (lib_obj == NULL) { in fill_and_set_sslerror()
409 if (reason_obj && lib_obj) in fill_and_set_sslerror()
411 lib_obj, reason_obj, errstr, lineno); in fill_and_set_sslerror()
412 else if (lib_obj) in fill_and_set_sslerror()
414 lib_obj, errstr, lineno); in fill_and_set_sslerror()
433 if (lib_obj == NULL) in fill_and_set_sslerror()
434 lib_obj = Py_None; in fill_and_set_sslerror()
435 if (PyObject_SetAttrString(err_value, "library", lib_obj)) in fill_and_set_sslerror()