Lines Matching refs:itself
84 PyObject *CFRange_New(CFRange *itself) in CFRange_New() argument
86 return Py_BuildValue("ll", (long)itself->location, (long)itself->length); in CFRange_New()
126 PyObject *CFTypeRefObj_New(CFTypeRef itself) in CFTypeRefObj_New() argument
129 if (itself == NULL) in CFTypeRefObj_New()
136 it->ob_itself = itself; in CFTypeRefObj_New()
404 CFTypeRef itself; in CFTypeRefObj_tp_init() local
407 if (PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, CFTypeRefObj_Convert, &itself)) in CFTypeRefObj_tp_init()
409 ((CFTypeRefObject *)_self)->ob_itself = itself; in CFTypeRefObj_tp_init()
488 PyObject *CFArrayRefObj_New(CFArrayRef itself) in CFArrayRefObj_New() argument
491 if (itself == NULL) in CFArrayRefObj_New()
499 it->ob_itself = itself; in CFArrayRefObj_New()
608 CFArrayRef itself; in CFArrayRefObj_tp_init() local
611 if (PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, CFArrayRefObj_Convert, &itself)) in CFArrayRefObj_tp_init()
613 ((CFArrayRefObject *)_self)->ob_itself = itself; in CFArrayRefObj_tp_init()
618 if (PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, CFTypeRefObj_Convert, &itself)) in CFArrayRefObj_tp_init()
620 ((CFArrayRefObject *)_self)->ob_itself = itself; in CFArrayRefObj_tp_init()
699 PyObject *CFMutableArrayRefObj_New(CFMutableArrayRef itself) in CFMutableArrayRefObj_New() argument
702 if (itself == NULL) in CFMutableArrayRefObj_New()
710 it->ob_itself = itself; in CFMutableArrayRefObj_New()
848 CFMutableArrayRef itself; in CFMutableArrayRefObj_tp_init() local
851 if (PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, CFMutableArrayRefObj_Convert, &itself)) in CFMutableArrayRefObj_tp_init()
853 ((CFMutableArrayRefObject *)_self)->ob_itself = itself; in CFMutableArrayRefObj_tp_init()
858 if (PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, CFTypeRefObj_Convert, &itself)) in CFMutableArrayRefObj_tp_init()
860 ((CFMutableArrayRefObject *)_self)->ob_itself = itself; in CFMutableArrayRefObj_tp_init()
939 PyObject *CFDictionaryRefObj_New(CFDictionaryRef itself) in CFDictionaryRefObj_New() argument
942 if (itself == NULL) in CFDictionaryRefObj_New()
950 it->ob_itself = itself; in CFDictionaryRefObj_New()
1041 CFDictionaryRef itself; in CFDictionaryRefObj_tp_init() local
1044 if (PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, CFDictionaryRefObj_Convert, &itself)) in CFDictionaryRefObj_tp_init()
1046 ((CFDictionaryRefObject *)_self)->ob_itself = itself; in CFDictionaryRefObj_tp_init()
1051 if (PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, CFTypeRefObj_Convert, &itself)) in CFDictionaryRefObj_tp_init()
1053 ((CFDictionaryRefObject *)_self)->ob_itself = itself; in CFDictionaryRefObj_tp_init()
1132 PyObject *CFMutableDictionaryRefObj_New(CFMutableDictionaryRef itself) in CFMutableDictionaryRefObj_New() argument
1135 if (itself == NULL) in CFMutableDictionaryRefObj_New()
1143 it->ob_itself = itself; in CFMutableDictionaryRefObj_New()
1218 CFMutableDictionaryRef itself; in CFMutableDictionaryRefObj_tp_init() local
1221 …f (PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, CFMutableDictionaryRefObj_Convert, &itself)) in CFMutableDictionaryRefObj_tp_init()
1223 ((CFMutableDictionaryRefObject *)_self)->ob_itself = itself; in CFMutableDictionaryRefObj_tp_init()
1228 if (PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, CFTypeRefObj_Convert, &itself)) in CFMutableDictionaryRefObj_tp_init()
1230 ((CFMutableDictionaryRefObject *)_self)->ob_itself = itself; in CFMutableDictionaryRefObj_tp_init()
1309 PyObject *CFDataRefObj_New(CFDataRef itself) in CFDataRefObj_New() argument
1312 if (itself == NULL) in CFDataRefObj_New()
1320 it->ob_itself = itself; in CFDataRefObj_New()
1449 CFDataRef itself; in CFDataRefObj_tp_init() local
1452 if (PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, CFDataRefObj_Convert, &itself)) in CFDataRefObj_tp_init()
1454 ((CFDataRefObject *)_self)->ob_itself = itself; in CFDataRefObj_tp_init()
1459 if (PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, CFTypeRefObj_Convert, &itself)) in CFDataRefObj_tp_init()
1461 ((CFDataRefObject *)_self)->ob_itself = itself; in CFDataRefObj_tp_init()
1540 PyObject *CFMutableDataRefObj_New(CFMutableDataRef itself) in CFMutableDataRefObj_New() argument
1543 if (itself == NULL) in CFMutableDataRefObj_New()
1551 it->ob_itself = itself; in CFMutableDataRefObj_New()
1714 CFMutableDataRef itself; in CFMutableDataRefObj_tp_init() local
1717 if (PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, CFMutableDataRefObj_Convert, &itself)) in CFMutableDataRefObj_tp_init()
1719 ((CFMutableDataRefObject *)_self)->ob_itself = itself; in CFMutableDataRefObj_tp_init()
1724 if (PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, CFTypeRefObj_Convert, &itself)) in CFMutableDataRefObj_tp_init()
1726 ((CFMutableDataRefObject *)_self)->ob_itself = itself; in CFMutableDataRefObj_tp_init()
1805 PyObject *CFStringRefObj_New(CFStringRef itself) in CFStringRefObj_New() argument
1808 if (itself == NULL) in CFStringRefObj_New()
1816 it->ob_itself = itself; in CFStringRefObj_New()
2457 CFStringRef itself; in CFStringRefObj_tp_init() local
2460 if (PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, CFStringRefObj_Convert, &itself)) in CFStringRefObj_tp_init()
2462 ((CFStringRefObject *)_self)->ob_itself = itself; in CFStringRefObj_tp_init()
2467 if (PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, CFTypeRefObj_Convert, &itself)) in CFStringRefObj_tp_init()
2469 ((CFStringRefObject *)_self)->ob_itself = itself; in CFStringRefObj_tp_init()
2548 PyObject *CFMutableStringRefObj_New(CFMutableStringRef itself) in CFMutableStringRefObj_New() argument
2551 if (itself == NULL) in CFMutableStringRefObj_New()
2559 it->ob_itself = itself; in CFMutableStringRefObj_New()
2845 CFMutableStringRef itself; in CFMutableStringRefObj_tp_init() local
2848 if (PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, CFMutableStringRefObj_Convert, &itself)) in CFMutableStringRefObj_tp_init()
2850 ((CFMutableStringRefObject *)_self)->ob_itself = itself; in CFMutableStringRefObj_tp_init()
2855 if (PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, CFTypeRefObj_Convert, &itself)) in CFMutableStringRefObj_tp_init()
2857 ((CFMutableStringRefObject *)_self)->ob_itself = itself; in CFMutableStringRefObj_tp_init()
2936 PyObject *CFURLRefObj_New(CFURLRef itself) in CFURLRefObj_New() argument
2939 if (itself == NULL) in CFURLRefObj_New()
2947 it->ob_itself = itself; in CFURLRefObj_New()
3497 CFURLRef itself; in CFURLRefObj_tp_init() local
3500 if (PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, CFURLRefObj_Convert, &itself)) in CFURLRefObj_tp_init()
3502 ((CFURLRefObject *)_self)->ob_itself = itself; in CFURLRefObj_tp_init()
3507 if (PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, CFTypeRefObj_Convert, &itself)) in CFURLRefObj_tp_init()
3509 ((CFURLRefObject *)_self)->ob_itself = itself; in CFURLRefObj_tp_init()
4828 PyObject *CFObj_New(CFTypeRef itself) in CFObj_New() argument
4830 if (itself == NULL) in CFObj_New()
4835 if (CFGetTypeID(itself) == CFArrayGetTypeID()) return CFArrayRefObj_New((CFArrayRef)itself); in CFObj_New()
4836 …if (CFGetTypeID(itself) == CFDictionaryGetTypeID()) return CFDictionaryRefObj_New((CFDictionaryRef… in CFObj_New()
4837 if (CFGetTypeID(itself) == CFDataGetTypeID()) return CFDataRefObj_New((CFDataRef)itself); in CFObj_New()
4838 if (CFGetTypeID(itself) == CFStringGetTypeID()) return CFStringRefObj_New((CFStringRef)itself); in CFObj_New()
4839 if (CFGetTypeID(itself) == CFURLGetTypeID()) return CFURLRefObj_New((CFURLRef)itself); in CFObj_New()
4841 return CFTypeRefObj_New(itself); in CFObj_New()