Home | History | Annotate | Download | only in python2.7

Lines Matching refs:PyObject

63     to declare any variables of type "PyObject *".  This should be enough
134 int PyObject_Print(PyObject *o, FILE *fp, int flags);
146 int PyObject_HasAttrString(PyObject *o, char *attr_name);
158 PyObject* PyObject_GetAttrString(PyObject *o, char *attr_name);
168 int PyObject_HasAttr(PyObject *o, PyObject *attr_name);
180 PyObject* PyObject_GetAttr(PyObject *o, PyObject *attr_name);
191 int PyObject_SetAttrString(PyObject *o, char *attr_name, PyObject *v);
201 int PyObject_SetAttr(PyObject *o, PyObject *attr_name, PyObject *v);
211 int PyObject_DelAttrString(PyObject *o, char *attr_name);
222 int PyObject_DelAttr(PyObject *o, PyObject *attr_name);
231 PyAPI_FUNC(int) PyObject_Cmp(PyObject *o1, PyObject *o2, int *result);
244 int PyObject_Compare(PyObject *o1, PyObject *o2);
256 PyObject *PyObject_Repr(PyObject *o);
268 PyObject *PyObject_Str(PyObject *o);
281 PyObject *PyObject_Unicode(PyObject *o);
293 PyAPI_FUNC(int) PyCallable_Check(PyObject *o);
304 PyAPI_FUNC(PyObject *) PyObject_Call(PyObject *callable_object,
305 PyObject *args, PyObject *kw);
314 PyAPI_FUNC(PyObject *) PyObject_CallObject(PyObject *callable_object,
315 PyObject *args);
326 PyAPI_FUNC(PyObject *) PyObject_CallFunction(PyObject *callable_object,
340 PyAPI_FUNC(PyObject *) PyObject_CallMethod(PyObject *o, char *m,
352 PyAPI_FUNC(PyObject *) _PyObject_CallFunction_SizeT(PyObject *callable,
354 PyAPI_FUNC(PyObject *) _PyObject_CallMethod_SizeT(PyObject *o,
358 PyAPI_FUNC(PyObject *) PyObject_CallFunctionObjArgs(PyObject *callable,
364 as PyObject * values, terminated by a NULL. Returns the
370 PyAPI_FUNC(PyObject *) PyObject_CallMethodObjArgs(PyObject *o,
371 PyObject *m, ...);
375 C arguments. The C arguments are provided as PyObject *
384 long PyObject_Hash(PyObject *o);
395 int PyObject_IsTrue(PyObject *o);
405 int PyObject_Not(PyObject *o);
413 PyAPI_FUNC(PyObject *) PyObject_Type(PyObject *o);
421 PyAPI_FUNC(Py_ssize_t) PyObject_Size(PyObject *o);
433 PyAPI_FUNC(Py_ssize_t) PyObject_Length(PyObject *o);
436 PyAPI_FUNC(Py_ssize_t) _PyObject_LengthHint(PyObject *o, Py_ssize_t);
444 PyAPI_FUNC(PyObject *) PyObject_GetItem(PyObject *o, PyObject *key);
453 PyAPI_FUNC(int) PyObject_SetItem(PyObject *o, PyObject *key, PyObject *v);
461 PyAPI_FUNC(int) PyObject_DelItemString(PyObject *o, char *key);
469 PyAPI_FUNC(int) PyObject_DelItem(PyObject *o, PyObject *key);
476 PyObject *obj,
492 PyAPI_FUNC(int) PyObject_CheckReadBuffer(PyObject *obj);
501 PyAPI_FUNC(int) PyObject_AsReadBuffer(PyObject *obj,
517 PyAPI_FUNC(int) PyObject_AsWriteBuffer(PyObject *obj,
542 PyAPI_FUNC(int) PyObject_GetBuffer(PyObject *obj, Py_buffer *view,
588 PyAPI_FUNC(int) PyObject_CopyData(PyObject *dest, PyObject *src);
608 PyAPI_FUNC(int) PyBuffer_FillInfo(Py_buffer *view, PyObject *o, void *buf,
623 PyAPI_FUNC(PyObject *) PyObject_Format(PyObject* obj,
624 PyObject *format_spec);
632 PyAPI_FUNC(PyObject *) PyObject_GetIter(PyObject *);
642 PyAPI_FUNC(PyObject *) PyIter_Next(PyObject *);
650 PyAPI_FUNC(int) PyNumber_Check(PyObject *o);
660 PyAPI_FUNC(PyObject *) PyNumber_Add(PyObject *o1, PyObject *o2);
669 PyAPI_FUNC(PyObject *) PyNumber_Subtract(PyObject *o1, PyObject *o2);
678 PyAPI_FUNC(PyObject *) PyNumber_Multiply(PyObject *o1, PyObject *o2);
688 PyAPI_FUNC(PyObject *) PyNumber_Divide(PyObject *o1, PyObject *o2);
697 PyAPI_FUNC(PyObject *) PyNumber_FloorDivide(PyObject *o1, PyObject *o2);
707 PyAPI_FUNC(PyObject *) PyNumber_TrueDivide(PyObject *o1, PyObject *o2);
717 PyAPI_FUNC(PyObject *) PyNumber_Remainder(PyObject *o1, PyObject *o2);
727 PyAPI_FUNC(PyObject *) PyNumber_Divmod(PyObject *o1, PyObject *o2);
737 PyAPI_FUNC(PyObject *) PyNumber_Power(PyObject *o1, PyObject *o2,
738 PyObject *o3);
747 PyAPI_FUNC(PyObject *) PyNumber_Negative(PyObject *o);
755 PyAPI_FUNC(PyObject *) PyNumber_Positive(PyObject *o);
763 PyAPI_FUNC(PyObject *) PyNumber_Absolute(PyObject *o);
771 PyAPI_FUNC(PyObject *) PyNumber_Invert(PyObject *o);
781 PyAPI_FUNC(PyObject *) PyNumber_Lshift(PyObject *o1, PyObject *o2);
791 PyAPI_FUNC(PyObject *) PyNumber_Rshift(PyObject *o1, PyObject *o2);
800 PyAPI_FUNC(PyObject *) PyNumber_And(PyObject *o1, PyObject *o2);
810 PyAPI_FUNC(PyObject *) PyNumber_Xor(PyObject *o1, PyObject *o2);
820 PyAPI_FUNC(PyObject *) PyNumber_Or(PyObject *o1, PyObject *o2);
831 int PyNumber_Coerce(PyObject **p1, PyObject **p2);
834 PyObject*.
853 PyAPI_FUNC(PyObject *) PyNumber_Index(PyObject *o);
860 PyAPI_FUNC(Py_ssize_t) PyNumber_AsSsize_t(PyObject *o, PyObject *exc);
871 PyAPI_FUNC(PyObject *) _PyNumber_ConvertIntegralToInt(
872 PyObject *integral,
883 PyAPI_FUNC(PyObject *) PyNumber_Int(PyObject *o);
892 PyAPI_FUNC(PyObject *) PyNumber_Long(PyObject *o);
901 PyAPI_FUNC(PyObject *) PyNumber_Float(PyObject *o);
911 PyAPI_FUNC(PyObject *) PyNumber_InPlaceAdd(PyObject *o1, PyObject *o2);
920 PyAPI_FUNC(PyObject *) PyNumber_InPlaceSubtract(PyObject *o1, PyObject *o2);
929 PyAPI_FUNC(PyObject *) PyNumber_InPlaceMultiply(PyObject *o1, PyObject *o2);
938 PyAPI_FUNC(PyObject *) PyNumber_InPlaceDivide(PyObject *o1, PyObject *o2);
947 PyAPI_FUNC(PyObject *) PyNumber_InPlaceFloorDivide(PyObject *o1,
948 PyObject *o2);
958 PyAPI_FUNC(PyObject *) PyNumber_InPlaceTrueDivide(PyObject *o1,
959 PyObject *o2);
969 PyAPI_FUNC(PyObject *) PyNumber_InPlaceRemainder(PyObject *o1, PyObject *o2);
978 PyAPI_FUNC(PyObject *) PyNumber_InPlacePower(PyObject *o1, PyObject *o2,
979 PyObject *o3);
988 PyAPI_FUNC(PyObject *) PyNumber_InPlaceLshift(PyObject *o1, PyObject *o2);
997 PyAPI_FUNC(PyObject *) PyNumber_InPlaceRshift(PyObjectPyObject *o2);
1006 PyAPI_FUNC(PyObject *) PyNumber_InPlaceAnd(PyObject *o1, PyObject *o2);
1015 PyAPI_FUNC(PyObject *) PyNumber_InPlaceXor(PyObject *o1, PyObject *o2);
1024 PyAPI_FUNC(PyObject *) PyNumber_InPlaceOr(PyObject *o1, PyObject *o2);
1034 PyAPI_FUNC(PyObject *) PyNumber_ToBase(PyObject *n, int base);
1045 PyAPI_FUNC(int) PySequence_Check(PyObject *o);
1055 PyAPI_FUNC(Py_ssize_t) PySequence_Size(PyObject *o);
1064 PyAPI_FUNC(Py_ssize_t) PySequence_Length(PyObject *o);
1068 PyAPI_FUNC(PyObject *) PySequence_Concat(PyObject *o1, PyObject *o2);
1077 PyAPI_FUNC(PyObject *) PySequence_Repeat(PyObject *o, Py_ssize_t count);
1086 PyAPI_FUNC(PyObject *) PySequence_GetItem(PyObject *o, Py_ssize_t i);
1093 PyAPI_FUNC(PyObject *) PySequence_GetSlice(PyObject *o, Py_ssize_t i1, Py_ssize_t i2);
1102 PyAPI_FUNC(int) PySequence_SetItem(PyObject *o, Py_ssize_t i, PyObject *v);
1111 PyAPI_FUNC(int) PySequence_DelItem(PyObject *o, Py_ssize_t i);
1119 PyAPI_FUNC(int) PySequence_SetSlice(PyObject *o, Py_ssize_t i1, Py_ssize_t i2,
1120 PyObject *v);
1128 PyAPI_FUNC(int) PySequence_DelSlice(PyObject *o, Py_ssize_t i1, Py_ssize_t i2);
1136 PyAPI_FUNC(PyObject *) PySequence_Tuple(PyObject *o);
1144 PyAPI_FUNC(PyObject *) PySequence_List(PyObject *o);
1150 PyAPI_FUNC(PyObject *) PySequence_Fast(PyObject *o, const char* m);
1186 PyAPI_FUNC(Py_ssize_t) PySequence_Count(PyObject *o, PyObject *value);
1195 PyAPI_FUNC(int) PySequence_Contains(PyObject *seq, PyObject *ob);
1204 PyAPI_FUNC(Py_ssize_t) _PySequence_IterSearch(PyObject *seq,
1205 PyObject *obj, int operation);
1219 PyAPI_FUNC(int) PySequence_In(PyObject *o, PyObject *value);
1230 PyAPI_FUNC(Py_ssize_t) PySequence_Index(PyObject *o, PyObject *value);
1240 PyAPI_FUNC(PyObject *) PySequence_InPlaceConcat(PyObject *o1, PyObject *o2);
1249 PyAPI_FUNC(PyObject *) PySequence_InPlaceRepeat(PyObject *o, Py_ssize_t count);
1260 PyAPI_FUNC(int) PyMapping_Check(PyObject *o);
1269 PyAPI_FUNC(Py_ssize_t) PyMapping_Size(PyObject *o);
1279 PyAPI_FUNC(Py_ssize_t) PyMapping_Length(PyObject *o);
1285 int PyMapping_DelItemString(PyObject *o, char *key);
1295 int PyMapping_DelItem(PyObject *o, PyObject *key);
1303 PyAPI_FUNC(int) PyMapping_HasKeyString(PyObject *o, char *key);
1313 PyAPI_FUNC(int) PyMapping_HasKey(PyObject *o, PyObject *key);
1326 PyObject *PyMapping_Keys(PyObject *o);
1336 PyObject *PyMapping_Values(PyObject *o);
1346 PyObject *PyMapping_Items(PyObject *o);
1356 PyAPI_FUNC(PyObject *) PyMapping_GetItemString(PyObject *o, char *key);
1364 PyAPI_FUNC(int) PyMapping_SetItemString(PyObject *o, char *key,
1365 PyObject *value);
1374 PyAPI_FUNC(int) PyObject_IsInstance(PyObject *object, PyObject *typeorclass);
1377 PyAPI_FUNC(int) PyObject_IsSubclass(PyObject *object, PyObject *typeorclass);
1381 PyAPI_FUNC(int) _PyObject_RealIsInstance(PyObject *inst, PyObject *cls);
1383 PyAPI_FUNC(int) _PyObject_RealIsSubclass(PyObject *derived, PyObject *cls);