Home
last modified time | relevance | path

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

12345678910>>...17

/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()
168 Py_INCREF(args); in partial_call()
171 Py_INCREF(pto->args); in partial_call()
236 Py_INCREF(pto->dict); in partial_get_dict()
258 Py_INCREF(value); in partial_set_dict()
302 Py_INCREF(fnargs); in partial_setstate()
311 Py_INCREF(kw); in partial_setstate()
317 Py_INCREF(fn); in partial_setstate()
321 Py_INCREF(dict); in partial_setstate()
[all …]
D_elementtree.c112 #define Py_RETURN_NONE return Py_INCREF(Py_None), Py_None
154 Py_INCREF(object); PyTuple_SET_ITEM(args, 0, (PyObject*) object); in deepcopy()
155 Py_INCREF(memo); PyTuple_SET_ITEM(args, 1, (PyObject*) memo); in deepcopy()
180 Py_INCREF(result); in list_join()
271 Py_INCREF(attrib); in element_new_extra()
325 Py_INCREF(tag); in element_new()
328 Py_INCREF(Py_None); in element_new()
331 Py_INCREF(Py_None); in element_new()
405 Py_INCREF(element); in element_add_subelement()
491 Py_INCREF(Py_None); in element()
[all …]
/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.c26 Py_INCREF(code); in PyFunction_NewWithQualName()
28 Py_INCREF(globals); in PyFunction_NewWithQualName()
31 Py_INCREF(op->func_name); in PyFunction_NewWithQualName()
44 Py_INCREF(doc); in PyFunction_NewWithQualName()
55 Py_INCREF(module); in PyFunction_NewWithQualName()
62 Py_INCREF(op->func_qualname); in PyFunction_NewWithQualName()
124 Py_INCREF(defaults); in PyFunction_SetDefaults()
154 Py_INCREF(defaults); in PyFunction_SetKwDefaults()
185 Py_INCREF(closure); in PyFunction_SetClosure()
217 Py_INCREF(annotations); in PyFunction_SetAnnotations()
[all …]
/external/python/cpython3/Modules/
D_curses_panel.c62 Py_INCREF(Py_None); in PyCursesCheckERR()
180 if (X (self->pan) == FALSE) { Py_INCREF(Py_False); return Py_False; } \
181 else { Py_INCREF(Py_True); return Py_True; } }
216 Py_INCREF(wo); in Panel_NoArgNoReturnFunction()
248 Py_INCREF(Py_None); in PyCursesPanel_above()
257 Py_INCREF(po); in PyCursesPanel_above()
273 Py_INCREF(Py_None); in PyCursesPanel_below()
282 Py_INCREF(po); in PyCursesPanel_below()
289 Py_INCREF(self->wo); in PyCursesPanel_window()
320 Py_INCREF(temp); in PyCursesPanel_replace_panel()
[all …]
D_functoolsmodule.c61 Py_INCREF(func); in partial_new()
70 Py_INCREF(nargs); in partial_new()
74 Py_INCREF(pargs); in partial_new()
92 Py_INCREF(kw); in partial_new()
300 Py_INCREF(fnargs); in partial_setstate()
309 Py_INCREF(kw); in partial_setstate()
315 Py_INCREF(fn); in partial_setstate()
319 Py_INCREF(dict); in partial_setstate()
472 Py_INCREF(ko->cmp); in keyobject_call()
474 Py_INCREF(object); in keyobject_call()
[all …]
D_elementtree.c218 Py_INCREF(attrib); in create_extra()
266 Py_INCREF(tag); in create_new_element()
269 Py_INCREF(Py_None); in create_new_element()
272 Py_INCREF(Py_None); in create_new_element()
295 Py_INCREF(Py_None); in element_new()
298 Py_INCREF(Py_None); in element_new()
301 Py_INCREF(Py_None); in element_new()
399 Py_INCREF(tag); in element_init()
403 Py_INCREF(Py_None); in element_init()
408 Py_INCREF(Py_None); in element_init()
[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()
521 Py_INCREF(PyTuple_GET_ITEM(args, 0)); in SystemExit_init()
525 Py_INCREF(args); in SystemExit_init()
[all …]
/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/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/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/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/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()
91 Py_INCREF(Py_None); in pysqlite_cursor_init()
94 Py_INCREF(Py_None); in pysqlite_cursor_init()
103 Py_INCREF(Py_None); in pysqlite_cursor_init()
245 Py_INCREF(Py_None); in _pysqlite_build_column_name()
335 Py_INCREF(Py_None); in _pysqlite_fetch_one_row()
353 Py_INCREF(Py_None); in _pysqlite_fetch_one_row()
400 Py_INCREF(Py_None); in _pysqlite_fetch_one_row()
482 Py_INCREF(second_argument); in _pysqlite_query_execute()
513 Py_INCREF(second_argument); in _pysqlite_query_execute()
[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/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/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/
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()
222 Py_INCREF(&NoddyType); in PyInit_noddy3()
/external/python/cpython2/Mac/Modules/carbonevt/
D_CarbonEvtmodule.c175 Py_INCREF(Py_None); in EventRef_ReleaseEvent()
200 Py_INCREF(Py_None); in EventRef_SetEventParameter()
252 Py_INCREF(Py_None); in EventRef_SetEventTime()
310 Py_INCREF(Py_None); in EventRef_SendEventToEventTarget()
504 Py_INCREF(Py_None); in EventQueueRef_PostEventToQueue()
523 Py_INCREF(Py_None); in EventQueueRef_FlushEventsMatchingListFromQueue()
536 Py_INCREF(Py_None); in EventQueueRef_FlushEventQueue()
564 Py_INCREF(Py_None); in EventQueueRef_RemoveEventFromQueue()
719 Py_INCREF(Py_None); in EventLoopRef_QuitEventLoop()
849 Py_INCREF(Py_None); in EventLoopTimerRef_RemoveEventLoopTimer()
[all …]

12345678910>>...17