Home
last modified time | relevance | path

Searched refs:Py_INCREF (Results 1 – 25 of 476) sorted by relevance

12345678910>>...20

/external/python/cpython2/Modules/
Dglmodule.c116 Py_INCREF(Py_None); in gl_varray()
150 Py_INCREF(Py_None); in gl_varray()
225 Py_INCREF(Py_None); in gen_nvarray()
313 Py_INCREF(Py_None); in gl_nurbssurface()
373 Py_INCREF(Py_None); in gl_nurbscurve()
415 Py_INCREF(Py_None); in gl_pwlcurve()
439 Py_INCREF(Py_None); in pick_select()
603 Py_INCREF(Py_None); in gl_lrectwrite()
811 Py_INCREF(Py_None); in gl_clear()
840 Py_INCREF(Py_None); in gl_devport()
[all …]
D_curses_panel.c33 Py_INCREF(Py_None); in PyCursesCheckERR()
152 if (X (self->pan) == FALSE) { Py_INCREF(Py_False); return Py_False; } \
153 else { Py_INCREF(Py_True); return Py_True; } }
187 Py_INCREF(wo); in Panel_NoArgNoReturnFunction()
219 Py_INCREF(Py_None); in PyCursesPanel_above()
228 Py_INCREF(po); in PyCursesPanel_above()
244 Py_INCREF(Py_None); in PyCursesPanel_below()
253 Py_INCREF(po); in PyCursesPanel_below()
260 Py_INCREF(self->wo); in PyCursesPanel_window()
291 Py_INCREF(temp); in PyCursesPanel_replace_panel()
[all …]
D_functoolsmodule.c22 Py_INCREF(result); in functools_reduce()
128 Py_INCREF(func); in partial_new()
169 Py_INCREF(args); in partial_call()
172 Py_INCREF(pto->args); in partial_call()
237 Py_INCREF(pto->dict); in partial_get_dict()
259 Py_INCREF(value); in partial_set_dict()
303 Py_INCREF(fnargs); in partial_setstate()
312 Py_INCREF(kw); in partial_setstate()
318 Py_INCREF(fn); in partial_setstate()
322 Py_INCREF(dict); in partial_setstate()
[all …]
Dxxsubtype.c42 Py_INCREF(Py_None); in spamlist_setstate()
56 Py_INCREF(self); in spamlist_specialmeth()
58 Py_INCREF(args); in spamlist_specialmeth()
60 Py_INCREF(kw); in spamlist_specialmeth()
167 Py_INCREF(Py_None); in spamdict_setstate()
288 Py_INCREF(&spamlist_type); in initxxsubtype()
293 Py_INCREF(&spamdict_type); in initxxsubtype()
/external/libxml2/python/
Dtypes.c132 Py_INCREF(Py_None); in libxml_charPtrWrap()
149 Py_INCREF(Py_None); in libxml_charPtrConstWrap()
165 Py_INCREF(Py_None); in libxml_xmlCharPtrWrap()
182 Py_INCREF(Py_None); in libxml_xmlCharPtrConstWrap()
198 Py_INCREF(Py_None); in libxml_constcharPtrWrap()
214 Py_INCREF(Py_None); in libxml_constxmlCharPtrWrap()
230 Py_INCREF(Py_None); in libxml_xmlDocPtrWrap()
247 Py_INCREF(Py_None); in libxml_xmlNodePtrWrap()
263 Py_INCREF(Py_None); in libxml_xmlURIPtrWrap()
279 Py_INCREF(Py_None); in libxml_xmlNsPtrWrap()
[all …]
/external/python/cpython2/Mac/Modules/cg/
D_CGmodule.c137 Py_INCREF(Py_None); in CGContextRefObj_CGContextSaveGState()
148 Py_INCREF(Py_None); in CGContextRefObj_CGContextRestoreGState()
165 Py_INCREF(Py_None); in CGContextRefObj_CGContextScaleCTM()
182 Py_INCREF(Py_None); in CGContextRefObj_CGContextTranslateCTM()
196 Py_INCREF(Py_None); in CGContextRefObj_CGContextRotateCTM()
210 Py_INCREF(Py_None); in CGContextRefObj_CGContextConcatCTM()
236 Py_INCREF(Py_None); in CGContextRefObj_CGContextSetLineWidth()
250 Py_INCREF(Py_None); in CGContextRefObj_CGContextSetLineCap()
264 Py_INCREF(Py_None); in CGContextRefObj_CGContextSetLineJoin()
278 Py_INCREF(Py_None); in CGContextRefObj_CGContextSetMiterLimit()
[all …]
/external/python/cpython3/Objects/
Dfuncobject.c27 Py_INCREF(module); in PyFunction_NewWithQualName()
42 Py_INCREF(code); in PyFunction_NewWithQualName()
44 Py_INCREF(globals); in PyFunction_NewWithQualName()
47 Py_INCREF(op->func_name); in PyFunction_NewWithQualName()
62 Py_INCREF(doc); in PyFunction_NewWithQualName()
72 Py_INCREF(op->func_qualname); in PyFunction_NewWithQualName()
134 Py_INCREF(defaults); in PyFunction_SetDefaults()
164 Py_INCREF(defaults); in PyFunction_SetKwDefaults()
195 Py_INCREF(closure); in PyFunction_SetClosure()
227 Py_INCREF(annotations); in PyFunction_SetAnnotations()
[all …]
Dweakrefobject.c137 Py_INCREF(object); in weakref_call()
154 Py_INCREF(obj); in weakref_hash()
172 Py_INCREF(obj); in weakref_repr()
221 Py_INCREF(obj); in weakref_richcompare()
222 Py_INCREF(other_obj); in weakref_richcompare()
314 Py_INCREF(ref); in weakref___new__()
443 Py_INCREF(proxy); \
454 Py_INCREF(x); \
455 Py_INCREF(y); \
472 Py_INCREF(proxy); \
[all …]
/external/python/cpython2/Objects/
Dfuncobject.c20 Py_INCREF(code); in PyFunction_New()
22 Py_INCREF(globals); in PyFunction_New()
25 Py_INCREF(op->func_name); in PyFunction_New()
36 Py_INCREF(doc); in PyFunction_New()
53 Py_INCREF(module); in PyFunction_New()
113 Py_INCREF(defaults); in PyFunction_SetDefaults()
143 Py_INCREF(closure); in PyFunction_SetClosure()
194 Py_INCREF(op->func_dict); in func_get_dict()
218 Py_INCREF(value); in func_set_dict()
229 Py_INCREF(op->func_code); in func_get_code()
[all …]
Dexceptions.c61 Py_INCREF(args); in BaseException_init()
65 Py_INCREF(PyTuple_GET_ITEM(self->args, 0)); in BaseException_init()
266 Py_INCREF(self->dict); in BaseException_get_dict()
281 Py_INCREF(val); in BaseException_set_dict()
290 Py_INCREF(Py_None); in BaseException_get_args()
293 Py_INCREF(self->args); in BaseException_get_args()
320 Py_INCREF(msg); in BaseException_get_message()
335 Py_INCREF(self->message); in BaseException_get_message()
517 Py_INCREF(PyTuple_GET_ITEM(args, 0)); in SystemExit_init()
521 Py_INCREF(args); in SystemExit_init()
[all …]
/external/python/cpython2/Objects/stringlib/
Dpartition.h36 Py_INCREF(str_obj); in stringlib_partition()
38 Py_INCREF(STRINGLIB_EMPTY); in stringlib_partition()
40 Py_INCREF(STRINGLIB_EMPTY); in stringlib_partition()
47 Py_INCREF(sep_obj); in stringlib_partition()
86 Py_INCREF(STRINGLIB_EMPTY); in stringlib_rpartition()
88 Py_INCREF(STRINGLIB_EMPTY); in stringlib_rpartition()
90 Py_INCREF(str_obj); in stringlib_rpartition()
97 Py_INCREF(sep_obj); in stringlib_rpartition()
/external/python/cpython3/Objects/stringlib/
Dpartition.h38 Py_INCREF(str_obj); in STRINGLIB()
40 Py_INCREF(STRINGLIB_EMPTY); in STRINGLIB()
42 Py_INCREF(STRINGLIB_EMPTY); in STRINGLIB()
49 Py_INCREF(sep_obj); in STRINGLIB()
93 Py_INCREF(STRINGLIB_EMPTY); in STRINGLIB()
95 Py_INCREF(STRINGLIB_EMPTY); in STRINGLIB()
97 Py_INCREF(str_obj); in STRINGLIB()
104 Py_INCREF(sep_obj); in STRINGLIB()
/external/python/cpython2/Mac/Modules/qd/
D_Qdmodule.c141 Py_INCREF(Py_None); in GrafObj_MacSetPort()
665 Py_INCREF(Py_None); in GrafObj_SectRegionWithPortClipRegion()
682 Py_INCREF(Py_None); in GrafObj_SectRegionWithPortVisibleRegion()
753 Py_INCREF(Py_None); in GrafObj_SetPortBounds()
770 Py_INCREF(Py_None); in GrafObj_SetPortOpColor()
787 Py_INCREF(Py_None); in GrafObj_SetPortTextFont()
804 Py_INCREF(Py_None); in GrafObj_SetPortTextSize()
821 Py_INCREF(Py_None); in GrafObj_SetPortTextFace()
838 Py_INCREF(Py_None); in GrafObj_SetPortTextMode()
855 Py_INCREF(Py_None); in GrafObj_SetPortVisibleRegion()
[all …]
/external/python/cpython2/Modules/_sqlite/
Dmodule.c105 Py_INCREF(result); in module_complete()
134 Py_INCREF(Py_None); in module_enable_shared_cache()
167 Py_INCREF(Py_None); in module_register_adapter()
197 Py_INCREF(Py_None); in module_register_converter()
215 Py_INCREF(Py_None); in enable_callback_tracebacks()
322 Py_INCREF(&pysqlite_ConnectionType); in init_sqlite3()
324 Py_INCREF(&pysqlite_CursorType); in init_sqlite3()
326 Py_INCREF(&pysqlite_CacheType); in init_sqlite3()
328 Py_INCREF(&pysqlite_StatementType); in init_sqlite3()
330 Py_INCREF(&pysqlite_PrepareProtocolType); in init_sqlite3()
[all …]
Dcursor.c80 Py_INCREF(connection); in pysqlite_cursor_init()
90 Py_INCREF(Py_None); in pysqlite_cursor_init()
93 Py_INCREF(Py_None); in pysqlite_cursor_init()
102 Py_INCREF(Py_None); in pysqlite_cursor_init()
244 Py_INCREF(Py_None); in _pysqlite_build_column_name()
334 Py_INCREF(Py_None); in _pysqlite_fetch_one_row()
352 Py_INCREF(Py_None); in _pysqlite_fetch_one_row()
399 Py_INCREF(Py_None); in _pysqlite_fetch_one_row()
481 Py_INCREF(second_argument); in _pysqlite_query_execute()
512 Py_INCREF(second_argument); in _pysqlite_query_execute()
[all …]
/external/python/cpython2/Mac/Modules/menu/
D_Menumodule.c39 Py_INCREF(Py_None); in OptMenuObj_New()
103 Py_INCREF(Py_None); in MenuObj_DisposeMenu()
117 Py_INCREF(Py_None); in MenuObj_CalcMenuSize()
175 Py_INCREF(Py_None); in MenuObj_SetMenuFont()
209 Py_INCREF(Py_None); in MenuObj_SetMenuExcludesMarkColumn()
255 Py_INCREF(Py_None); in MenuObj_RetainMenu()
271 Py_INCREF(Py_None); in MenuObj_ReleaseMenu()
326 Py_INCREF(Py_None); in MenuObj_SetMenuTitleWithCFString()
342 Py_INCREF(Py_None); in MenuObj_InvalidateMenuSize()
374 Py_INCREF(Py_None); in MenuObj_MacAppendMenu()
[all …]
/external/python/cpython2/Mac/Modules/mlte/
D_Mltemodule.c115 Py_INCREF(Py_None); in TXNObj_TXNDeleteObject()
138 Py_INCREF(Py_None); in TXNObj_TXNResizeFrame()
167 Py_INCREF(Py_None); in TXNObj_TXNSetFrameBounds()
184 Py_INCREF(Py_None); in TXNObj_TXNKeyDown()
201 Py_INCREF(Py_None); in TXNObj_TXNAdjustCursor()
218 Py_INCREF(Py_None); in TXNObj_TXNClick()
232 Py_INCREF(Py_None); in TXNObj_TXNSelectAll()
249 Py_INCREF(Py_None); in TXNObj_TXNFocus()
263 Py_INCREF(Py_None); in TXNObj_TXNUpdate()
280 Py_INCREF(Py_None); in TXNObj_TXNDraw()
[all …]
/external/python/cpython3/Modules/
D_heapqmodule.c39 Py_INCREF(newitem); in siftdown()
40 Py_INCREF(parent); in siftdown()
87 Py_INCREF(a); in siftup()
88 Py_INCREF(b); in siftup()
159 Py_INCREF(lastelt); in heappop_internal()
209 Py_INCREF(item); in heapreplace_internal()
270 Py_INCREF(item); in _heapq_heappushpop_impl()
275 Py_INCREF(top); in _heapq_heappushpop_impl()
281 Py_INCREF(item); in _heapq_heappushpop_impl()
291 Py_INCREF(item); in _heapq_heappushpop_impl()
[all …]
/external/python/cpython2/Mac/Modules/te/
D_TEmodule.c114 Py_INCREF(Py_None); in TEObj_TESetText()
143 Py_INCREF(Py_None); in TEObj_TEIdle()
163 Py_INCREF(Py_None); in TEObj_TESetSelect()
177 Py_INCREF(Py_None); in TEObj_TEActivate()
191 Py_INCREF(Py_None); in TEObj_TEDeactivate()
208 Py_INCREF(Py_None); in TEObj_TEKey()
222 Py_INCREF(Py_None); in TEObj_TECut()
236 Py_INCREF(Py_None); in TEObj_TECopy()
250 Py_INCREF(Py_None); in TEObj_TEPaste()
264 Py_INCREF(Py_None); in TEObj_TEDelete()
[all …]
/external/python/cpython2/Mac/Modules/dlg/
D_Dlgmodule.c79 Py_INCREF(callback); in Dlg_PassFilterProc()
141 if (itself == NULL) { Py_INCREF(Py_None); return Py_None; } in DlgObj_New()
178 Py_INCREF(Py_None); in DlgObj_DrawDialog()
195 Py_INCREF(Py_None); in DlgObj_UpdateDialog()
212 Py_INCREF(Py_None); in DlgObj_HideDialogItem()
229 Py_INCREF(Py_None); in DlgObj_ShowDialogItem()
261 Py_INCREF(Py_None); in DlgObj_DialogCut()
275 Py_INCREF(Py_None); in DlgObj_DialogPaste()
289 Py_INCREF(Py_None); in DlgObj_DialogCopy()
303 Py_INCREF(Py_None); in DlgObj_DialogDelete()
[all …]
/external/python/cpython2/Mac/Modules/win/
D_Winmodule.c137 Py_INCREF(Py_None); in WinObj_CloneWindow()
168 Py_INCREF(Py_None); in WinObj_RetainWindow()
184 Py_INCREF(Py_None); in WinObj_ReleaseWindow()
200 Py_INCREF(Py_None); in WinObj_ReshapeCustomWindow()
276 Py_INCREF(Py_None); in WinObj_ChangeWindowAttributes()
295 Py_INCREF(Py_None); in WinObj_SetWindowClass()
317 Py_INCREF(Py_None); in WinObj_SetWindowModality()
357 Py_INCREF(Py_None); in WinObj_SetWindowContentColor()
394 Py_INCREF(Py_None); in WinObj_GetWindowContentPattern()
413 Py_INCREF(Py_None); in WinObj_SetWindowContentPattern()
[all …]
/external/python/cpython2/Mac/Modules/app/
D_Appmodule.c192 Py_INCREF(Py_None); in App_RegisterAppearanceClient()
208 Py_INCREF(Py_None); in App_UnregisterAppearanceClient()
232 Py_INCREF(Py_None); in App_SetThemePen()
256 Py_INCREF(Py_None); in App_SetThemeBackground()
280 Py_INCREF(Py_None); in App_SetThemeTextColor()
304 Py_INCREF(Py_None); in App_SetThemeWindowBackground()
325 Py_INCREF(Py_None); in App_DrawThemeWindowHeader()
346 Py_INCREF(Py_None); in App_DrawThemeWindowListViewHeader()
367 Py_INCREF(Py_None); in App_DrawThemePlacard()
388 Py_INCREF(Py_None); in App_DrawThemeEditTextFrame()
[all …]
/external/python/cpython3/Doc/includes/
Dcustom3.c54 Py_INCREF(first); in Custom_init()
60 Py_INCREF(last); in Custom_init()
76 Py_INCREF(self->first); in Custom_getfirst()
94 Py_INCREF(value); in Custom_setfirst()
103 Py_INCREF(self->last); in Custom_getlast()
121 Py_INCREF(value); in Custom_setlast()
181 Py_INCREF(&CustomType); in PyInit_custom3()
Dcustom4.c70 Py_INCREF(first); in Custom_init()
76 Py_INCREF(last); in Custom_init()
92 Py_INCREF(self->first); in Custom_getfirst()
108 Py_INCREF(value); in Custom_setfirst()
117 Py_INCREF(self->last); in Custom_getlast()
133 Py_INCREF(value); in Custom_setlast()
195 Py_INCREF(&CustomType); in PyInit_custom4()
/external/python/cpython2/Doc/includes/
Dnoddy3.c58 Py_INCREF(first); in Noddy_init()
65 Py_INCREF(last); in Noddy_init()
82 Py_INCREF(self->first); in Noddy_getfirst()
101 Py_INCREF(value); in Noddy_setfirst()
110 Py_INCREF(self->last); in Noddy_getlast()
129 Py_INCREF(value); in Noddy_setlast()
239 Py_INCREF(&NoddyType); in initnoddy3()

12345678910>>...20