Lines Matching refs:adapted
92 PyObject *adapted = PyObject_CallFunctionObjArgs(adapter, obj, NULL); in pysqlite_microprotocols_adapt() local
93 return adapted; in pysqlite_microprotocols_adapt()
99 PyObject *adapted = _PyObject_CallMethodId(proto, &PyId___adapt__, "O", obj); in pysqlite_microprotocols_adapt() local
101 if (adapted) { in pysqlite_microprotocols_adapt()
102 if (adapted != Py_None) { in pysqlite_microprotocols_adapt()
103 return adapted; in pysqlite_microprotocols_adapt()
105 Py_DECREF(adapted); in pysqlite_microprotocols_adapt()
116 PyObject *adapted = _PyObject_CallMethodId(obj, &PyId___conform__,"O", proto); in pysqlite_microprotocols_adapt() local
118 if (adapted) { in pysqlite_microprotocols_adapt()
119 if (adapted != Py_None) { in pysqlite_microprotocols_adapt()
120 return adapted; in pysqlite_microprotocols_adapt()
122 Py_DECREF(adapted); in pysqlite_microprotocols_adapt()