Home
last modified time | relevance | path

Searched refs:Py_None (Results 1 – 25 of 450) sorted by relevance

12345678910>>...18

/external/python/cpython2/Modules/
Dglmodule.c116 Py_INCREF(Py_None); in gl_varray()
117 return Py_None; in gl_varray()
150 Py_INCREF(Py_None); in gl_varray()
151 return Py_None; in gl_varray()
225 Py_INCREF(Py_None); in gen_nvarray()
226 return Py_None; in gen_nvarray()
313 Py_INCREF(Py_None); in gl_nurbssurface()
314 return Py_None; in gl_nurbssurface()
373 Py_INCREF(Py_None); in gl_nurbscurve()
374 return Py_None; in gl_nurbscurve()
[all …]
Dflmodule.c164 Py_INCREF(Py_None); in generic_set_call_back()
165 return Py_None; in generic_set_call_back()
172 Py_INCREF(Py_None); in generic_call()
173 return Py_None; in generic_call()
243 Py_INCREF(Py_None); in generic_set_object_shortcut()
244 return Py_None; in generic_set_object_shortcut()
414 Py_INCREF(Py_None); in call_forms_INf()
415 return Py_None; in call_forms_INf()
428 Py_INCREF(Py_None); in call_forms_INfINf()
429 return Py_None; in call_forms_INfINf()
[all …]
Dcdmodule.c25 Py_INCREF(Py_None); in CD_allowremoval()
26 return Py_None; in CD_allowremoval()
37 Py_INCREF(Py_None); in CD_preventremoval()
38 return Py_None; in CD_preventremoval()
62 Py_INCREF(Py_None); in CD_close()
63 return Py_None; in CD_close()
83 Py_INCREF(Py_None); in CD_eject()
84 return Py_None; in CD_eject()
162 Py_INCREF(Py_None); in CD_play()
163 return Py_None; in CD_play()
[all …]
/external/libxml2/python/
Dtypes.c132 Py_INCREF(Py_None); in libxml_charPtrWrap()
133 return (Py_None); in libxml_charPtrWrap()
149 Py_INCREF(Py_None); in libxml_charPtrConstWrap()
150 return (Py_None); in libxml_charPtrConstWrap()
165 Py_INCREF(Py_None); in libxml_xmlCharPtrWrap()
166 return (Py_None); in libxml_xmlCharPtrWrap()
182 Py_INCREF(Py_None); in libxml_xmlCharPtrConstWrap()
183 return (Py_None); in libxml_xmlCharPtrConstWrap()
198 Py_INCREF(Py_None); in libxml_constcharPtrWrap()
199 return (Py_None); in libxml_constcharPtrWrap()
[all …]
Dlibxml_wrap.h63 #define PyxmlNode_Get(v) (((v) == Py_None) ? NULL : \
71 #define PyxmlXPathContext_Get(v) (((v) == Py_None) ? NULL : \
79 #define PyxmlXPathParserContext_Get(v) (((v) == Py_None) ? NULL : \
87 #define PyparserCtxt_Get(v) (((v) == Py_None) ? NULL : \
95 #define PyValidCtxt_Get(v) (((v) == Py_None) ? NULL : \
103 #define Pycatalog_Get(v) (((v) == Py_None) ? NULL : \
112 #define PyxmlReg_Get(v) (((v) == Py_None) ? NULL : \
122 #define PyxmlTextReader_Get(v) (((v) == Py_None) ? NULL : \
130 #define PyxmlTextReaderLocator_Get(v) (((v) == Py_None) ? NULL : \
139 #define PyURI_Get(v) (((v) == Py_None) ? NULL : \
[all …]
/external/python/cpython2/Mac/Modules/cg/
D_CGmodule.c137 Py_INCREF(Py_None); in CGContextRefObj_CGContextSaveGState()
138 _res = Py_None; in CGContextRefObj_CGContextSaveGState()
148 Py_INCREF(Py_None); in CGContextRefObj_CGContextRestoreGState()
149 _res = Py_None; in CGContextRefObj_CGContextRestoreGState()
165 Py_INCREF(Py_None); in CGContextRefObj_CGContextScaleCTM()
166 _res = Py_None; in CGContextRefObj_CGContextScaleCTM()
182 Py_INCREF(Py_None); in CGContextRefObj_CGContextTranslateCTM()
183 _res = Py_None; in CGContextRefObj_CGContextTranslateCTM()
196 Py_INCREF(Py_None); in CGContextRefObj_CGContextRotateCTM()
197 _res = Py_None; in CGContextRefObj_CGContextRotateCTM()
[all …]
/external/python/cpython2/Mac/Modules/qd/
D_Qdmodule.c141 Py_INCREF(Py_None); in GrafObj_MacSetPort()
142 _res = Py_None; in GrafObj_MacSetPort()
665 Py_INCREF(Py_None); in GrafObj_SectRegionWithPortClipRegion()
666 _res = Py_None; in GrafObj_SectRegionWithPortClipRegion()
682 Py_INCREF(Py_None); in GrafObj_SectRegionWithPortVisibleRegion()
683 _res = Py_None; in GrafObj_SectRegionWithPortVisibleRegion()
753 Py_INCREF(Py_None); in GrafObj_SetPortBounds()
754 _res = Py_None; in GrafObj_SetPortBounds()
770 Py_INCREF(Py_None); in GrafObj_SetPortOpColor()
771 _res = Py_None; in GrafObj_SetPortOpColor()
[all …]
/external/python/cpython2/Mac/Modules/menu/
D_Menumodule.c39 Py_INCREF(Py_None); in OptMenuObj_New()
40 return Py_None; in OptMenuObj_New()
48 if ( v == Py_None ) { in OptMenuObj_Convert()
103 Py_INCREF(Py_None); in MenuObj_DisposeMenu()
104 _res = Py_None; in MenuObj_DisposeMenu()
117 Py_INCREF(Py_None); in MenuObj_CalcMenuSize()
118 _res = Py_None; in MenuObj_CalcMenuSize()
175 Py_INCREF(Py_None); in MenuObj_SetMenuFont()
176 _res = Py_None; in MenuObj_SetMenuFont()
209 Py_INCREF(Py_None); in MenuObj_SetMenuExcludesMarkColumn()
[all …]
/external/python/cpython2/Mac/Modules/mlte/
D_Mltemodule.c42 if (v == Py_None) in OptFSSpecPtr_Convert()
57 if (v == Py_None) in OptGWorldObj_Convert()
115 Py_INCREF(Py_None); in TXNObj_TXNDeleteObject()
116 _res = Py_None; in TXNObj_TXNDeleteObject()
138 Py_INCREF(Py_None); in TXNObj_TXNResizeFrame()
139 _res = Py_None; in TXNObj_TXNResizeFrame()
167 Py_INCREF(Py_None); in TXNObj_TXNSetFrameBounds()
168 _res = Py_None; in TXNObj_TXNSetFrameBounds()
184 Py_INCREF(Py_None); in TXNObj_TXNKeyDown()
185 _res = Py_None; in TXNObj_TXNKeyDown()
[all …]
/external/python/cpython2/Mac/Modules/te/
D_TEmodule.c114 Py_INCREF(Py_None); in TEObj_TESetText()
115 _res = Py_None; in TEObj_TESetText()
143 Py_INCREF(Py_None); in TEObj_TEIdle()
144 _res = Py_None; in TEObj_TEIdle()
163 Py_INCREF(Py_None); in TEObj_TESetSelect()
164 _res = Py_None; in TEObj_TESetSelect()
177 Py_INCREF(Py_None); in TEObj_TEActivate()
178 _res = Py_None; in TEObj_TEActivate()
191 Py_INCREF(Py_None); in TEObj_TEDeactivate()
192 _res = Py_None; in TEObj_TEDeactivate()
[all …]
/external/python/cpython2/Mac/Modules/win/
D_Winmodule.c76 if (v == Py_None) { *p_itself = NULL; return 1; } in WinObj_Convert()
137 Py_INCREF(Py_None); in WinObj_CloneWindow()
138 _res = Py_None; in WinObj_CloneWindow()
168 Py_INCREF(Py_None); in WinObj_RetainWindow()
169 _res = Py_None; in WinObj_RetainWindow()
184 Py_INCREF(Py_None); in WinObj_ReleaseWindow()
185 _res = Py_None; in WinObj_ReleaseWindow()
200 Py_INCREF(Py_None); in WinObj_ReshapeCustomWindow()
201 _res = Py_None; in WinObj_ReshapeCustomWindow()
276 Py_INCREF(Py_None); in WinObj_ChangeWindowAttributes()
[all …]
/external/python/cpython2/Mac/Modules/app/
D_Appmodule.c192 Py_INCREF(Py_None); in App_RegisterAppearanceClient()
193 _res = Py_None; in App_RegisterAppearanceClient()
208 Py_INCREF(Py_None); in App_UnregisterAppearanceClient()
209 _res = Py_None; in App_UnregisterAppearanceClient()
232 Py_INCREF(Py_None); in App_SetThemePen()
233 _res = Py_None; in App_SetThemePen()
256 Py_INCREF(Py_None); in App_SetThemeBackground()
257 _res = Py_None; in App_SetThemeBackground()
280 Py_INCREF(Py_None); in App_SetThemeTextColor()
281 _res = Py_None; in App_SetThemeTextColor()
[all …]
/external/python/cpython2/Modules/_sqlite/
Dcursor.c90 Py_INCREF(Py_None); in pysqlite_cursor_init()
91 Py_XSETREF(self->description, Py_None); in pysqlite_cursor_init()
93 Py_INCREF(Py_None); in pysqlite_cursor_init()
94 Py_XSETREF(self->lastrowid, Py_None); in pysqlite_cursor_init()
102 Py_INCREF(Py_None); in pysqlite_cursor_init()
103 Py_XSETREF(self->row_factory, Py_None); in pysqlite_cursor_init()
223 converter = Py_None; in pysqlite_build_row_cast_map()
227 if (converter != Py_None) { in pysqlite_build_row_cast_map()
244 Py_INCREF(Py_None); in _pysqlite_build_column_name()
245 return Py_None; in _pysqlite_build_column_name()
[all …]
Dconnection.c91 Py_INCREF(Py_None); in pysqlite_connection_init()
92 self->row_factory = Py_None; in pysqlite_connection_init()
248 if (statement != Py_None) { in pysqlite_do_all_statements()
261 if ((PyObject*)cursor != Py_None) { in pysqlite_do_all_statements()
357 if (cursor && self->row_factory != Py_None) { in pysqlite_connection_cursor()
396 Py_INCREF(Py_None); in pysqlite_connection_close()
397 return Py_None; in pysqlite_connection_close()
454 Py_INCREF(Py_None); in _pysqlite_connection_begin()
455 return Py_None; in _pysqlite_connection_begin()
499 Py_INCREF(Py_None); in pysqlite_connection_commit()
[all …]
/external/python/cpython2/Mac/Modules/dlg/
D_Dlgmodule.c75 if (callback == Py_None) { in Dlg_PassFilterProc()
141 if (itself == NULL) { Py_INCREF(Py_None); return Py_None; } in DlgObj_New()
151 if (v == Py_None) { *p_itself = NULL; return 1; } in DlgObj_Convert()
178 Py_INCREF(Py_None); in DlgObj_DrawDialog()
179 _res = Py_None; in DlgObj_DrawDialog()
195 Py_INCREF(Py_None); in DlgObj_UpdateDialog()
196 _res = Py_None; in DlgObj_UpdateDialog()
212 Py_INCREF(Py_None); in DlgObj_HideDialogItem()
213 _res = Py_None; in DlgObj_HideDialogItem()
229 Py_INCREF(Py_None); in DlgObj_ShowDialogItem()
[all …]
/external/python/cpython2/Mac/Modules/ah/
D_AHmodule.c36 Py_INCREF(Py_None); in Ah_AHSearch()
37 _res = Py_None; in Ah_AHSearch()
51 Py_INCREF(Py_None); in Ah_AHGotoMainTOC()
52 _res = Py_None; in Ah_AHGotoMainTOC()
72 Py_INCREF(Py_None); in Ah_AHGotoPage()
73 _res = Py_None; in Ah_AHGotoPage()
90 Py_INCREF(Py_None); in Ah_AHLookupAnchor()
91 _res = Py_None; in Ah_AHLookupAnchor()
105 Py_INCREF(Py_None); in Ah_AHRegisterHelpBook()
106 _res = Py_None; in Ah_AHRegisterHelpBook()
/external/python/cpython2/Mac/Modules/list/
D_Listmodule.c132 Py_INCREF(Py_None); in ListObj_LDelColumn()
133 _res = Py_None; in ListObj_LDelColumn()
149 Py_INCREF(Py_None); in ListObj_LDelRow()
150 _res = Py_None; in ListObj_LDelRow()
219 Py_INCREF(Py_None); in ListObj_LSize()
220 _res = Py_None; in ListObj_LSize()
233 Py_INCREF(Py_None); in ListObj_LSetDrawingMode()
234 _res = Py_None; in ListObj_LSetDrawingMode()
250 Py_INCREF(Py_None); in ListObj_LScroll()
251 _res = Py_None; in ListObj_LScroll()
[all …]
/external/python/cpython2/Mac/Modules/drag/
D_Dragmodule.c92 Py_INCREF(Py_None); in DragObj_DisposeDrag()
93 _res = Py_None; in DragObj_DisposeDrag()
123 Py_INCREF(Py_None); in DragObj_AddDragItemFlavor()
124 _res = Py_None; in DragObj_AddDragItemFlavor()
154 Py_INCREF(Py_None); in DragObj_SetDragItemFlavorData()
155 _res = Py_None; in DragObj_SetDragItemFlavorData()
182 Py_INCREF(Py_None); in DragObj_SetDragImage()
183 _res = Py_None; in DragObj_SetDragImage()
204 Py_INCREF(Py_None); in DragObj_ChangeDragBehaviors()
205 _res = Py_None; in DragObj_ChangeDragBehaviors()
[all …]
/external/python/cpython2/Mac/Modules/icn/
D_Icnmodule.c55 Py_INCREF(Py_None); in Icn_PlotCIcon()
56 _res = Py_None; in Icn_PlotCIcon()
71 Py_INCREF(Py_None); in Icn_DisposeCIcon()
72 _res = Py_None; in Icn_DisposeCIcon()
107 Py_INCREF(Py_None); in Icn_PlotIcon()
108 _res = Py_None; in Icn_PlotIcon()
134 Py_INCREF(Py_None); in Icn_PlotIconID()
135 _res = Py_None; in Icn_PlotIconID()
175 Py_INCREF(Py_None); in Icn_AddIconToSuite()
176 _res = Py_None; in Icn_AddIconToSuite()
[all …]
/external/python/cpython2/Mac/Modules/ctl/
D_Ctlmodule.c189 Py_INCREF(Py_None); in CtlObj_HiliteControl()
190 _res = Py_None; in CtlObj_HiliteControl()
203 Py_INCREF(Py_None); in CtlObj_ShowControl()
204 _res = Py_None; in CtlObj_ShowControl()
217 Py_INCREF(Py_None); in CtlObj_HideControl()
218 _res = Py_None; in CtlObj_HideControl()
263 Py_INCREF(Py_None); in CtlObj_ActivateControl()
264 _res = Py_None; in CtlObj_ActivateControl()
279 Py_INCREF(Py_None); in CtlObj_DeactivateControl()
280 _res = Py_None; in CtlObj_DeactivateControl()
[all …]
/external/python/cpython2/Mac/Modules/help/
D_Helpmodule.c60 Py_INCREF(Py_None); in Help_HMSetHelpTagsDisplayed()
61 _res = Py_None; in Help_HMSetHelpTagsDisplayed()
75 Py_INCREF(Py_None); in Help_HMSetTagDelay()
76 _res = Py_None; in Help_HMSetTagDelay()
107 Py_INCREF(Py_None); in Help_HMSetMenuHelpFromBalloonRsrc()
108 _res = Py_None; in Help_HMSetMenuHelpFromBalloonRsrc()
128 Py_INCREF(Py_None); in Help_HMSetDialogHelpFromBalloonRsrc()
129 _res = Py_None; in Help_HMSetDialogHelpFromBalloonRsrc()
141 Py_INCREF(Py_None); in Help_HMHideTag()
142 _res = Py_None; in Help_HMHideTag()
/external/python/cpython2/RISCOS/Modules/
Driscosmodule.c40 Py_INCREF(Py_None); in riscos_remove()
41 return Py_None; in riscos_remove()
51 Py_INCREF(Py_None); in riscos_rename()
52 return Py_None; in riscos_rename()
70 Py_INCREF(Py_None); in riscos_chdir()
71 return Py_None; in riscos_chdir()
114 Py_INCREF(Py_None); in riscos_mkdir()
115 return Py_None; in riscos_mkdir()
240 Py_INCREF(Py_None); in riscos_chmod()
241 return Py_None; in riscos_chmod()
[all …]
/external/python/cpython3/Modules/_sqlite/
Dcursor.c47 Py_INCREF(Py_None); in pysqlite_cursor_init()
48 Py_XSETREF(self->description, Py_None); in pysqlite_cursor_init()
50 Py_INCREF(Py_None); in pysqlite_cursor_init()
51 Py_XSETREF(self->lastrowid, Py_None); in pysqlite_cursor_init()
59 Py_INCREF(Py_None); in pysqlite_cursor_init()
60 Py_XSETREF(self->row_factory, Py_None); in pysqlite_cursor_init()
183 converter = Py_None; in pysqlite_build_row_cast_map()
264 converter = Py_None; in _pysqlite_fetch_one_row()
267 if (converter != Py_None) { in _pysqlite_fetch_one_row()
271 Py_INCREF(Py_None); in _pysqlite_fetch_one_row()
[all …]
/external/python/cpython2/Python/
Dsysmodule.c102 if (o == Py_None) { in sys_displayhook()
103 Py_INCREF(Py_None); in sys_displayhook()
104 return Py_None; in sys_displayhook()
106 if (PyObject_SetAttrString(builtins, "_", Py_None) != 0) in sys_displayhook()
122 Py_INCREF(Py_None); in sys_displayhook()
123 return Py_None; in sys_displayhook()
139 Py_INCREF(Py_None); in sys_excepthook()
140 return Py_None; in sys_excepthook()
156 tstate->exc_type != NULL ? tstate->exc_type : Py_None, in sys_exc_info()
157 tstate->exc_value != NULL ? tstate->exc_value : Py_None, in sys_exc_info()
[all …]
/external/python/cpython2/Mac/Modules/snd/
D_Sndmodule.c89 Py_INCREF(Py_None); in SndCh_SndDoCommand()
90 _res = Py_None; in SndCh_SndDoCommand()
105 Py_INCREF(Py_None); in SndCh_SndDoImmediate()
106 _res = Py_None; in SndCh_SndDoImmediate()
124 Py_INCREF(Py_None); in SndCh_SndPlay()
125 _res = Py_None; in SndCh_SndPlay()
161 Py_INCREF(Py_None); in SndCh_SndGetInfo()
162 _res = Py_None; in SndCh_SndGetInfo()
180 Py_INCREF(Py_None); in SndCh_SndSetInfo()
181 _res = Py_None; in SndCh_SndSetInfo()
[all …]

12345678910>>...18