/external/python/cpython2/Mac/Modules/res/ |
D | _Resmodule.c | 54 if (itself == NULL) return PyMac_Error(resNotFound); in ResObj_New() 106 if (_err != noErr) return PyMac_Error(_err); in ResObj_HomeResFile() 124 if (_err != noErr) return PyMac_Error(_err); in ResObj_MacLoadResource() 142 if (_err != noErr) return PyMac_Error(_err); in ResObj_ReleaseResource() 160 if (_err != noErr) return PyMac_Error(_err); in ResObj_DetachResource() 179 if (_err != noErr) return PyMac_Error(_err); in ResObj_GetResAttrs() 203 if (_err != noErr) return PyMac_Error(_err); in ResObj_GetResInfo() 229 if (_err != noErr) return PyMac_Error(_err); in ResObj_SetResInfo() 256 if (_err != noErr) return PyMac_Error(_err); in ResObj_AddResource() 275 if (_err != noErr) return PyMac_Error(_err); in ResObj_GetResourceSizeOnDisk() [all …]
|
/external/python/cpython2/Mac/Modules/app/ |
D | _Appmodule.c | 191 if (_err != noErr) return PyMac_Error(_err); in App_RegisterAppearanceClient() 207 if (_err != noErr) return PyMac_Error(_err); in App_UnregisterAppearanceClient() 231 if (_err != noErr) return PyMac_Error(_err); in App_SetThemePen() 255 if (_err != noErr) return PyMac_Error(_err); in App_SetThemeBackground() 279 if (_err != noErr) return PyMac_Error(_err); in App_SetThemeTextColor() 303 if (_err != noErr) return PyMac_Error(_err); in App_SetThemeWindowBackground() 324 if (_err != noErr) return PyMac_Error(_err); in App_DrawThemeWindowHeader() 345 if (_err != noErr) return PyMac_Error(_err); in App_DrawThemeWindowListViewHeader() 366 if (_err != noErr) return PyMac_Error(_err); in App_DrawThemePlacard() 387 if (_err != noErr) return PyMac_Error(_err); in App_DrawThemeEditTextFrame() [all …]
|
/external/python/cpython2/Mac/Modules/osa/ |
D | _OSAmodule.c | 97 if (_err != noErr) return PyMac_Error(_err); in OSAObj_OSALoad() 124 if (_err != noErr) return PyMac_Error(_err); in OSAObj_OSAStore() 151 if (_err != noErr) return PyMac_Error(_err); in OSAObj_OSAExecute() 178 if (_err != noErr) return PyMac_Error(_err); in OSAObj_OSADisplay() 202 if (_err != noErr) return PyMac_Error(_err); in OSAObj_OSAScriptError() 221 if (_err != noErr) return PyMac_Error(_err); in OSAObj_OSADispose() 246 if (_err != noErr) return PyMac_Error(_err); in OSAObj_OSASetScriptInfo() 270 if (_err != noErr) return PyMac_Error(_err); in OSAObj_OSAGetScriptInfo() 288 if (_err != noErr) return PyMac_Error(_err); in OSAObj_OSAScriptingComponentName() 312 if (_err != noErr) return PyMac_Error(_err); in OSAObj_OSACompile() [all …]
|
/external/python/cpython2/Mac/Modules/ae/ |
D | _AEmodule.c | 104 if (_err != noErr) return PyMac_Error(_err); in AEDesc_AECoerceDesc() 122 if (_err != noErr) return PyMac_Error(_err); in AEDesc_AEDuplicateDesc() 140 if (_err != noErr) return PyMac_Error(_err); in AEDesc_AECountItems() 168 if (_err != noErr) return PyMac_Error(_err); in AEDesc_AEPutPtr() 190 if (_err != noErr) return PyMac_Error(_err); in AEDesc_AEPutDesc() 227 if (_err != noErr) return PyMac_Error(_err); in AEDesc_AEGetNthPtr() 257 if (_err != noErr) return PyMac_Error(_err); in AEDesc_AEGetNthDesc() 281 if (_err != noErr) return PyMac_Error(_err); in AEDesc_AESizeOfNthItem() 301 if (_err != noErr) return PyMac_Error(_err); in AEDesc_AEDeleteItem() 329 if (_err != noErr) return PyMac_Error(_err); in AEDesc_AEPutParamPtr() [all …]
|
/external/python/cpython2/Mac/Modules/file/ |
D | _Filemodule.c | 557 if (itself == NULL) return PyMac_Error(resNotFound); in FInfo_New() 745 if (itself == NULL) return PyMac_Error(resNotFound); in Alias_New() 790 if (_err != noErr) return PyMac_Error(_err); in Alias_ResolveAlias() 809 if (_err != noErr) return PyMac_Error(_err); in Alias_GetAliasInfo() 833 if (_err != noErr) return PyMac_Error(_err); in Alias_ResolveAliasWithMountFlags() 858 if (_err != noErr) return PyMac_Error(_err); in Alias_FollowFinderAlias() 884 if (_err != noErr) return PyMac_Error(_err); in Alias_FSResolveAliasWithMountFlags() 906 if (_err != noErr) return PyMac_Error(_err); in Alias_FSResolveAlias() 929 if (_err != noErr) return PyMac_Error(_err); in Alias_FSFollowFinderAlias() 1096 if (itself == NULL) return PyMac_Error(resNotFound); in FSSpec_New() [all …]
|
/external/python/cpython2/Mac/Modules/ctl/ |
D | _Ctlmodule.c | 150 if (itself == NULL) return PyMac_Error(resNotFound); in CtlObj_New() 262 if (_err != noErr) return PyMac_Error(_err); in CtlObj_ActivateControl() 278 if (_err != noErr) return PyMac_Error(_err); in CtlObj_DeactivateControl() 300 if (_err != noErr) return PyMac_Error(_err); in CtlObj_SetControlVisibility() 331 if (_err != noErr) return PyMac_Error(_err); in CtlObj_EnableControl() 347 if (_err != noErr) return PyMac_Error(_err); in CtlObj_DisableControl() 381 if (_err != noErr) return PyMac_Error(_err); in CtlObj_GetBestControlRect() 401 if (_err != noErr) return PyMac_Error(_err); in CtlObj_SetControlFontStyle() 437 if (_err != noErr) return PyMac_Error(_err); in CtlObj_SetUpControlBackground() 459 if (_err != noErr) return PyMac_Error(_err); in CtlObj_SetUpControlTextColor() [all …]
|
/external/python/cpython2/Mac/Modules/snd/ |
D | _Sndihooks.c | 100 return PyMac_Error(err); 121 return PyMac_Error(err); 142 return PyMac_Error(err); 164 return PyMac_Error(err); 185 return PyMac_Error(err); 207 return PyMac_Error(err); 228 return PyMac_Error(err); 249 return PyMac_Error(err); 271 return PyMac_Error(err); 292 return PyMac_Error(err); [all …]
|
D | _Sndmodule.c | 88 if (_err != noErr) return PyMac_Error(_err); in SndCh_SndDoCommand() 104 if (_err != noErr) return PyMac_Error(_err); in SndCh_SndDoImmediate() 123 if (_err != noErr) return PyMac_Error(_err); in SndCh_SndPlay() 141 if (_err != noErr) return PyMac_Error(_err); in SndCh_SndChannelStatus() 160 if (_err != noErr) return PyMac_Error(_err); in SndCh_SndGetInfo() 179 if (_err != noErr) return PyMac_Error(_err); in SndCh_SndSetInfo() 466 if (_err != noErr) return PyMac_Error(_err); in Snd_SndNewChannel() 503 if (_err != noErr) return PyMac_Error(_err); in Snd_SndManagerStatus() 530 if (_err != noErr) return PyMac_Error(_err); in Snd_SndSetSysBeepState() 544 if (_err != noErr) return PyMac_Error(_err); in Snd_GetSysBeepVolume() [all …]
|
/external/python/cpython2/Mac/Modules/drag/ |
D | _Dragmodule.c | 91 if (_err != noErr) return PyMac_Error(_err); in DragObj_DisposeDrag() 122 if (_err != noErr) return PyMac_Error(_err); in DragObj_AddDragItemFlavor() 153 if (_err != noErr) return PyMac_Error(_err); in DragObj_SetDragItemFlavorData() 181 if (_err != noErr) return PyMac_Error(_err); in DragObj_SetDragImage() 203 if (_err != noErr) return PyMac_Error(_err); in DragObj_ChangeDragBehaviors() 225 if (_err != noErr) return PyMac_Error(_err); in DragObj_TrackDrag() 243 if (_err != noErr) return PyMac_Error(_err); in DragObj_CountDragItems() 264 if (_err != noErr) return PyMac_Error(_err); in DragObj_GetDragItemReferenceNumber() 285 if (_err != noErr) return PyMac_Error(_err); in DragObj_CountDragItemFlavors() 309 if (_err != noErr) return PyMac_Error(_err); in DragObj_GetFlavorType() [all …]
|
/external/python/cpython2/Mac/Modules/icn/ |
D | _Icnmodule.c | 133 if (_err != noErr) return PyMac_Error(_err); in Icn_PlotIconID() 150 if (_err != noErr) return PyMac_Error(_err); in Icn_NewIconSuite() 174 if (_err != noErr) return PyMac_Error(_err); in Icn_AddIconToSuite() 197 if (_err != noErr) return PyMac_Error(_err); in Icn_GetIconFromSuite() 220 if (_err != noErr) return PyMac_Error(_err); in Icn_GetIconSuite() 241 if (_err != noErr) return PyMac_Error(_err); in Icn_DisposeIconSuite() 268 if (_err != noErr) return PyMac_Error(_err); in Icn_PlotIconSuite() 295 if (_err != noErr) return PyMac_Error(_err); in Icn_LoadIconCache() 318 if (_err != noErr) return PyMac_Error(_err); in Icn_GetLabel() 449 if (_err != noErr) return PyMac_Error(_err); in Icn_IconIDToRgn() [all …]
|
/external/python/cpython2/Mac/Modules/ |
D | icgluemodule.c | 70 return PyMac_Error(err); in ici_ICGetSeed() 88 return PyMac_Error(err); in ici_ICBegin() 109 return PyMac_Error(err); in ici_ICFindPrefHandle() 132 return PyMac_Error(err); in ici_ICSetPref() 151 return PyMac_Error(err); in ici_ICCountPref() 170 return PyMac_Error(err); in ici_ICGetIndPref() 188 return PyMac_Error(err); in ici_ICDeletePref() 206 return PyMac_Error(err); in ici_ICEnd() 225 return PyMac_Error(err); in ici_ICEditPreferences() 250 return PyMac_Error(err); in ici_ICParseURL() [all …]
|
D | OSATerminology.c | 41 if (err) return PyMac_Error(err); in PyOSA_GetAppTerminology() 50 if (err) return PyMac_Error(err); in PyOSA_GetAppTerminology() 66 if (err) return PyMac_Error(err); in PyOSA_GetSysTerminology() 73 if (err) return PyMac_Error(err); in PyOSA_GetSysTerminology()
|
D | MacOS.c | 94 PyMac_Error(err); in rf_read() 122 PyMac_Error(err); in rf_write() 167 PyMac_Error(err); in rf_seek() 194 PyMac_Error(err); in rf_tell() 657 PyMac_Error(err); 668 PyMac_Error(err);
|
/external/python/cpython2/Mac/Modules/launch/ |
D | _Launchmodule.c | 86 if (_err != noErr) return PyMac_Error(_err); in Launch_LSCopyItemInfoForRef() 106 if (_err != noErr) return PyMac_Error(_err); in Launch_LSCopyItemInfoForURL() 126 if (_err != noErr) return PyMac_Error(_err); in Launch_LSGetExtensionInfo() 143 if (_err != noErr) return PyMac_Error(_err); in Launch_LSCopyDisplayNameForRef() 160 if (_err != noErr) return PyMac_Error(_err); in Launch_LSCopyDisplayNameForURL() 178 if (_err != noErr) return PyMac_Error(_err); in Launch_LSSetExtensionHiddenForRef() 196 if (_err != noErr) return PyMac_Error(_err); in Launch_LSSetExtensionHiddenForURL() 213 if (_err != noErr) return PyMac_Error(_err); in Launch_LSCopyKindStringForRef() 230 if (_err != noErr) return PyMac_Error(_err); in Launch_LSCopyKindStringForURL() 252 if (_err != noErr) return PyMac_Error(_err); in Launch_LSGetApplicationForItem() [all …]
|
/external/python/cpython2/Mac/Modules/scrap/ |
D | _Scrapmodule.c | 71 if (_err != noErr) return PyMac_Error(_err); in ScrapObj_GetScrapFlavorFlags() 89 if (_err != noErr) return PyMac_Error(_err); in ScrapObj_GetScrapFlavorSize() 108 if (_err != noErr) return PyMac_Error(_err); in ScrapObj_GetScrapFlavorData() 117 return PyMac_Error(_err); in ScrapObj_GetScrapFlavorData() 140 if (_err != noErr) return PyMac_Error(_err); in ScrapObj_PutScrapFlavor() 155 if (_err != noErr) return PyMac_Error(_err); in ScrapObj_GetScrapFlavorCount() 174 if (_err != noErr) return PyMac_Error(_err); in ScrapObj_GetScrapFlavorInfoList() 261 if (_err != noErr) return PyMac_Error(_err); in Scrap_LoadScrap() 274 if (_err != noErr) return PyMac_Error(_err); in Scrap_UnloadScrap() 288 if (_err != noErr) return PyMac_Error(_err); in Scrap_GetCurrentScrap() [all …]
|
/external/python/cpython2/Mac/Modules/folder/ |
D | _Foldermodule.c | 42 if (_err != noErr) return PyMac_Error(_err); in Folder_FindFolder() 61 if (_err != noErr) return PyMac_Error(_err); in Folder_ReleaseFolder() 84 if (_err != noErr) return PyMac_Error(_err); in Folder_FSFindFolder() 120 if (_err != noErr) return PyMac_Error(_err); in Folder_AddFolderDescriptor() 139 if (_err != noErr) return PyMac_Error(_err); in Folder_GetFolderTypes() 155 if (_err != noErr) return PyMac_Error(_err); in Folder_RemoveFolderDescriptor() 179 if (_err != noErr) return PyMac_Error(_err); in Folder_GetFolderName() 206 if (_err != noErr) return PyMac_Error(_err); in Folder_AddFolderRouting() 224 if (_err != noErr) return PyMac_Error(_err); in Folder_RemoveFolderRouting() 246 if (_err != noErr) return PyMac_Error(_err); in Folder_FindFolderRouting() [all …]
|
/external/python/cpython2/Mac/Modules/win/ |
D | _Winmodule.c | 59 if (itself == NULL) return PyMac_Error(resNotFound); in WinObj_New() 120 if (_err != noErr) return PyMac_Error(_err); in WinObj_GetWindowOwnerCount() 136 if (_err != noErr) return PyMac_Error(_err); in WinObj_CloneWindow() 167 if (_err != noErr) return PyMac_Error(_err); in WinObj_RetainWindow() 183 if (_err != noErr) return PyMac_Error(_err); in WinObj_ReleaseWindow() 199 if (_err != noErr) return PyMac_Error(_err); in WinObj_ReshapeCustomWindow() 217 if (_err != noErr) return PyMac_Error(_err); in WinObj_GetWindowWidgetHilite() 235 if (_err != noErr) return PyMac_Error(_err); in WinObj_GetWindowClass() 253 if (_err != noErr) return PyMac_Error(_err); in WinObj_GetWindowAttributes() 275 if (_err != noErr) return PyMac_Error(_err); in WinObj_ChangeWindowAttributes() [all …]
|
/external/python/cpython2/Mac/Modules/help/ |
D | _Helpmodule.c | 31 if (_err != noErr) return PyMac_Error(_err); in Help_HMGetHelpMenu() 59 if (_err != noErr) return PyMac_Error(_err); in Help_HMSetHelpTagsDisplayed() 74 if (_err != noErr) return PyMac_Error(_err); in Help_HMSetTagDelay() 88 if (_err != noErr) return PyMac_Error(_err); in Help_HMGetTagDelay() 106 if (_err != noErr) return PyMac_Error(_err); in Help_HMSetMenuHelpFromBalloonRsrc() 127 if (_err != noErr) return PyMac_Error(_err); in Help_HMSetDialogHelpFromBalloonRsrc() 140 if (_err != noErr) return PyMac_Error(_err); in Help_HMHideTag()
|
/external/python/cpython2/Mac/Modules/menu/ |
D | _Menumodule.c | 151 if (_err != noErr) return PyMac_Error(_err); in MenuObj_GetMenuFont() 174 if (_err != noErr) return PyMac_Error(_err); in MenuObj_SetMenuFont() 208 if (_err != noErr) return PyMac_Error(_err); in MenuObj_SetMenuExcludesMarkColumn() 254 if (_err != noErr) return PyMac_Error(_err); in MenuObj_RetainMenu() 270 if (_err != noErr) return PyMac_Error(_err); in MenuObj_ReleaseMenu() 288 if (_err != noErr) return PyMac_Error(_err); in MenuObj_DuplicateMenu() 306 if (_err != noErr) return PyMac_Error(_err); in MenuObj_CopyMenuTitleAsCFString() 325 if (_err != noErr) return PyMac_Error(_err); in MenuObj_SetMenuTitleWithCFString() 341 if (_err != noErr) return PyMac_Error(_err); in MenuObj_InvalidateMenuSize() 509 if (_err != noErr) return PyMac_Error(_err); in MenuObj_AppendMenuItemText() [all …]
|
/external/python/cpython2/Mac/Modules/mlte/ |
D | _Mltemodule.c | 82 if (itself == NULL) return PyMac_Error(resNotFound); in TXNObj_New() 436 if (_err != noErr) return PyMac_Error(_err); in TXNObj_TXNCut() 452 if (_err != noErr) return PyMac_Error(_err); in TXNObj_TXNCopy() 468 if (_err != noErr) return PyMac_Error(_err); in TXNObj_TXNPaste() 484 if (_err != noErr) return PyMac_Error(_err); in TXNObj_TXNClear() 557 if (_err != noErr) return PyMac_Error(_err); in TXNObj_TXNSetSelection() 581 if (_err != noErr) return PyMac_Error(_err); in TXNObj_TXNCountRunsInRange() 620 if (_err != noErr) return PyMac_Error(_err); in TXNObj_TXNGetData() 647 if (_err != noErr) return PyMac_Error(_err); in TXNObj_TXNGetDataEncoded() 678 if (_err != noErr) return PyMac_Error(_err); in TXNObj_TXNSetDataFromFile() [all …]
|
/external/python/cpython2/Mac/Modules/carbonevt/ |
D | _CarbonEvtmodule.c | 199 if (_err != noErr) return PyMac_Error(_err); in EventRef_SetEventParameter() 251 if (_err != noErr) return PyMac_Error(_err); in EventRef_SetEventTime() 309 if (_err != noErr) return PyMac_Error(_err); in EventRef_SendEventToEventTarget() 332 return PyMac_Error(_err); in EventRef_GetEventParameter() 341 return PyMac_Error(_err); in EventRef_GetEventParameter() 503 if (_err != noErr) return PyMac_Error(_err); in EventQueueRef_PostEventToQueue() 522 if (_err != noErr) return PyMac_Error(_err); in EventQueueRef_FlushEventsMatchingListFromQueue() 535 if (_err != noErr) return PyMac_Error(_err); in EventQueueRef_FlushEventQueue() 563 if (_err != noErr) return PyMac_Error(_err); in EventQueueRef_RemoveEventFromQueue() 718 if (_err != noErr) return PyMac_Error(_err); in EventLoopRef_QuitEventLoop() [all …]
|
/external/python/cpython2/Mac/Modules/ah/ |
D | _AHmodule.c | 35 if (_err != noErr) return PyMac_Error(_err); in Ah_AHSearch() 50 if (_err != noErr) return PyMac_Error(_err); in Ah_AHGotoMainTOC() 71 if (_err != noErr) return PyMac_Error(_err); in Ah_AHGotoPage() 89 if (_err != noErr) return PyMac_Error(_err); in Ah_AHLookupAnchor() 104 if (_err != noErr) return PyMac_Error(_err); in Ah_AHRegisterHelpBook()
|
/external/python/cpython2/Mac/Modules/ibcarbon/ |
D | _IBCarbon.c | 68 if (_err != noErr) return PyMac_Error(_err); in IBNibRefObj_CreateWindowFromNib() 86 if (_err != noErr) return PyMac_Error(_err); in IBNibRefObj_CreateMenuFromNib() 104 if (_err != noErr) return PyMac_Error(_err); in IBNibRefObj_CreateMenuBarFromNib() 120 if (_err != noErr) return PyMac_Error(_err); in IBNibRefObj_SetMenuBarFromNib() 223 if (_err != noErr) return PyMac_Error(_err); in IBCarbon_CreateNibReference()
|
/external/python/cpython2/Mac/Modules/cm/ |
D | _Cmmodule.c | 110 if (_err != noErr) return PyMac_Error(_err); in CmpInstObj_CloseComponent() 126 if (_err != noErr) return PyMac_Error(_err); in CmpInstObj_GetComponentInstanceError() 386 if (_err != noErr) return PyMac_Error(_err); in CmpObj_UnregisterComponent() 413 if (_err != noErr) return PyMac_Error(_err); in CmpObj_GetComponentInfo() 468 if (_err != noErr) return PyMac_Error(_err); in CmpObj_GetComponentPublicIndString() 539 if (_err != noErr) return PyMac_Error(_err); in CmpObj_GetComponentResource() 564 if (_err != noErr) return PyMac_Error(_err); in CmpObj_GetComponentIndString() 598 if (_err != noErr) return PyMac_Error(_err); in CmpObj_SetDefaultComponent() 632 if (_err != noErr) return PyMac_Error(_err); in CmpObj_UncaptureComponent() 651 if (_err != noErr) return PyMac_Error(_err); in CmpObj_GetComponentIconSuite() [all …]
|
/external/python/cpython2/Mac/Modules/dlg/ |
D | _Dlgmodule.c | 456 if (_err != noErr) return PyMac_Error(_err); in DlgObj_InsertDialogItem() 481 if (_err != noErr) return PyMac_Error(_err); in DlgObj_RemoveDialogItems() 523 if (_err != noErr) return PyMac_Error(_err); in DlgObj_SetDialogDefaultItem() 542 if (_err != noErr) return PyMac_Error(_err); in DlgObj_SetDialogCancelItem() 561 if (_err != noErr) return PyMac_Error(_err); in DlgObj_SetDialogTracksCursor() 577 if (_err != noErr) return PyMac_Error(_err); in DlgObj_AutoSizeDialog() 598 if (_err != noErr) return PyMac_Error(_err); in DlgObj_GetDialogItemAsControl() 623 if (_err != noErr) return PyMac_Error(_err); in DlgObj_MoveDialogItem() 648 if (_err != noErr) return PyMac_Error(_err); in DlgObj_SizeDialogItem() 670 if (_err != noErr) return PyMac_Error(_err); in DlgObj_AppendDialogItemList() [all …]
|