Home
last modified time | relevance | path

Searched refs:Py_BuildValue (Results 1 – 25 of 258) sorted by relevance

1234567891011

/external/python/cpython2/Mac/Modules/qt/
D_Qtmodule.c60 return Py_BuildValue("O&lO&", PyMac_Buildwide, &itself->value, itself->scale, in QtTimeRecord_New()
63 return Py_BuildValue("O&lO", PyMac_Buildwide, &itself->value, itself->scale, in QtTimeRecord_New()
286 _res = Py_BuildValue("l", in MovieCtlObj_MCSetMovie()
304 _res = Py_BuildValue("O&", in MovieCtlObj_MCGetIndMovie()
319 _res = Py_BuildValue("l", in MovieCtlObj_MCRemoveAllMovies()
337 _res = Py_BuildValue("l", in MovieCtlObj_MCRemoveAMovie()
352 _res = Py_BuildValue("l", in MovieCtlObj_MCRemoveMovie()
370 _res = Py_BuildValue("l", in MovieCtlObj_MCIsPlayerEvent()
391 _res = Py_BuildValue("l", in MovieCtlObj_MCDoAction()
409 _res = Py_BuildValue("l", in MovieCtlObj_MCSetControllerAttached()
[all …]
/external/python/cpython2/Mac/Modules/evt/
D_Evtmodule.c34 _res = Py_BuildValue("O&", in Evt_GetMouse()
49 _res = Py_BuildValue("b", in Evt_Button()
64 _res = Py_BuildValue("b", in Evt_StillDown()
79 _res = Py_BuildValue("b", in Evt_WaitMouseUp()
94 _res = Py_BuildValue("l", in Evt_GetCaretTime()
109 _res = Py_BuildValue("s#", in Evt_GetKeys()
124 _res = Py_BuildValue("l", in Evt_GetDblTime()
159 _res = Py_BuildValue("bO&", in Evt_GetNextEvent()
179 _res = Py_BuildValue("bO&", in Evt_EventAvail()
235 _res = Py_BuildValue("O&", in Evt_GetGlobalMouse()
[all …]
/external/python/cpython2/Mac/Modules/launch/
D_Launchmodule.c54 return Py_BuildValue("{s:is:O&s:O&s:O&s:O&s:i}", in LSItemInfoRecord_New()
62 return Py_BuildValue("{s:is:O&s:O&s:O&}", in LSItemInfoRecord_New()
87 _res = Py_BuildValue("O&", in Launch_LSCopyItemInfoForRef()
107 _res = Py_BuildValue("O&", in Launch_LSCopyItemInfoForURL()
127 _res = Py_BuildValue("l", in Launch_LSGetExtensionInfo()
144 _res = Py_BuildValue("O&", in Launch_LSCopyDisplayNameForRef()
161 _res = Py_BuildValue("O&", in Launch_LSCopyDisplayNameForURL()
214 _res = Py_BuildValue("O&", in Launch_LSCopyKindStringForRef()
231 _res = Py_BuildValue("O&", in Launch_LSCopyKindStringForURL()
253 _res = Py_BuildValue("O&O&", in Launch_LSGetApplicationForItem()
[all …]
/external/python/cpython2/Mac/Modules/te/
D_TEmodule.c39 …return Py_BuildValue("lllO&", (long)itself->tsFont, (long)itself->tsFace, (long)itself->tsSize, Qd… in TextStyle_New()
129 _res = Py_BuildValue("O&", in TEObj_TEGetText()
421 _res = Py_BuildValue("h", in TEObj_TEGetOffset()
439 _res = Py_BuildValue("O&", in TEObj_TEGetPoint()
491 _res = Py_BuildValue("O&", in TEObj_TEGetStyleHandle()
514 _res = Py_BuildValue("O&hh", in TEObj_TEGetStyle()
594 _res = Py_BuildValue("O&", in TEObj_TEGetStyleScrapHandle()
638 _res = Py_BuildValue("l", in TEObj_TEGetHeight()
659 _res = Py_BuildValue("bhO&", in TEObj_TEContinuousStyle()
708 _res = Py_BuildValue("l", in TEObj_TENumStyles()
[all …]
/external/python/cpython2/Mac/Modules/cf/
D_CFmodule.c86 return Py_BuildValue("ll", (long)itself->location, (long)itself->length); in CFRange_New()
176 _res = Py_BuildValue("l", in CFTypeRefObj_CFGetTypeID()
191 _res = Py_BuildValue("O&", in CFTypeRefObj_CFRetain()
220 _res = Py_BuildValue("l", in CFTypeRefObj_CFGetRetainCount()
238 _res = Py_BuildValue("l", in CFTypeRefObj_CFEqual()
253 _res = Py_BuildValue("l", in CFTypeRefObj_CFHash()
268 _res = Py_BuildValue("O&", in CFTypeRefObj_CFCopyDescription()
281 _res = Py_BuildValue("O&", in CFTypeRefObj_CFPropertyListCreateXMLData()
297 _res = Py_BuildValue("O&", in CFTypeRefObj_CFPropertyListCreateDeepCopy()
336 _res = Py_BuildValue("O&", in CFTypeRefObj_CFPropertyListCreateFromXMLData()
[all …]
/external/python/cpython2/Mac/Modules/fm/
D_Fmmodule.c29 return Py_BuildValue("O&O&O&O&O&", in FMRec_New()
67 _res = Py_BuildValue("O&", in Fm_GetFontName()
85 _res = Py_BuildValue("h", in Fm_GetFNum()
105 _res = Py_BuildValue("b", in Fm_RealFont()
136 _res = Py_BuildValue("O&", in Fm_FontMetrics()
167 _res = Py_BuildValue("h", in Fm_GetDefFontSize()
187 _res = Py_BuildValue("b", in Fm_IsOutline()
218 _res = Py_BuildValue("b", in Fm_GetOutlinePreferred()
249 _res = Py_BuildValue("b", in Fm_GetPreserveGlyph()
264 _res = Py_BuildValue("h", in Fm_GetSysFont()
[all …]
/external/python/cpython2/Mac/Modules/file/
D_Filemodule.c78 return Py_BuildValue("(HlH)", ptr->highSeconds, ptr->lowSeconds, ptr->fraction); in UTCDateTime_New()
113 return Py_BuildValue("u#", itself->unicode, itself->length); in PyMac_BuildHFSUniStr255()
209 return Py_BuildValue("H", self->ob_itself.nodeFlags); in FSCatalogInfo_get_nodeFlags()
220 return Py_BuildValue("h", self->ob_itself.volume); in FSCatalogInfo_get_volume()
231 return Py_BuildValue("l", self->ob_itself.parentDirID); in FSCatalogInfo_get_parentDirID()
242 return Py_BuildValue("l", self->ob_itself.nodeID); in FSCatalogInfo_get_nodeID()
253 return Py_BuildValue("O&", UTCDateTime_New, &self->ob_itself.createDate); in FSCatalogInfo_get_createDate()
264 return Py_BuildValue("O&", UTCDateTime_New, &self->ob_itself.contentModDate); in FSCatalogInfo_get_contentModDate()
275 return Py_BuildValue("O&", UTCDateTime_New, &self->ob_itself.attributeModDate); in FSCatalogInfo_get_attributeModDate()
286 return Py_BuildValue("O&", UTCDateTime_New, &self->ob_itself.accessDate); in FSCatalogInfo_get_accessDate()
[all …]
/external/python/cpython2/Mac/Modules/osa/
D_OSAmodule.c98 _res = Py_BuildValue("l", in OSAObj_OSALoad()
125 _res = Py_BuildValue("O&", in OSAObj_OSAStore()
152 _res = Py_BuildValue("l", in OSAObj_OSAExecute()
179 _res = Py_BuildValue("O&", in OSAObj_OSADisplay()
203 _res = Py_BuildValue("O&", in OSAObj_OSAScriptError()
271 _res = Py_BuildValue("l", in OSAObj_OSAGetScriptInfo()
289 _res = Py_BuildValue("O&", in OSAObj_OSAScriptingComponentName()
313 _res = Py_BuildValue("l", in OSAObj_OSACompile()
334 _res = Py_BuildValue("l", in OSAObj_OSACopyID()
358 _res = Py_BuildValue("O&", in OSAObj_OSAGetSource()
[all …]
/external/python/cpython2/Mac/Modules/ctl/
D_Ctlmodule.c44 return Py_BuildValue("hhhhhhO&O&", itself->flags, itself->font,
66 return Py_BuildValue("O&l", PyMac_BuildOSType, itself->signature, itself->id); in PyControlID_New()
232 _res = Py_BuildValue("b", in CtlObj_IsControlActive()
247 _res = Py_BuildValue("b", in CtlObj_IsControlVisible()
316 _res = Py_BuildValue("b", in CtlObj_IsControlEnabled()
382 _res = Py_BuildValue("O&h", in CtlObj_GetBestControlRect()
504 _res = Py_BuildValue("h", in CtlObj_TestControl()
525 _res = Py_BuildValue("b", in CtlObj_HandleControlContextualMenuClick()
549 _res = Py_BuildValue("l", in CtlObj_GetControlClickActivation()
573 _res = Py_BuildValue("h", in CtlObj_HandleControlKey()
[all …]
/external/python/cpython2/Mac/Modules/qd/
D_Qdmodule.c45 return Py_BuildValue("lll", (long)itself->red, (long)itself->green, (long)itself->blue); in QdRGB_New()
67 return Py_BuildValue("hhhh", itself->ascent, itself->descent, in QdFI_New()
158 _res = Py_BuildValue("bO&", in GrafObj_QDSwapPort()
174 _res = Py_BuildValue("b", in GrafObj_IsValidPort()
189 _res = Py_BuildValue("O&", in GrafObj_GetPortPixMap()
204 _res = Py_BuildValue("O&", in GrafObj_GetPortBitMapForCopyBits()
220 _res = Py_BuildValue("O&", in GrafObj_GetPortBounds()
236 _res = Py_BuildValue("O&", in GrafObj_GetPortForeColor()
252 _res = Py_BuildValue("O&", in GrafObj_GetPortBackColor()
268 _res = Py_BuildValue("O&", in GrafObj_GetPortOpColor()
[all …]
/external/python/cpython2/Mac/Modules/menu/
D_Menumodule.c132 _res = Py_BuildValue("H", in MenuObj_CountMenuItems()
152 _res = Py_BuildValue("hH", in MenuObj_GetMenuFont()
190 _res = Py_BuildValue("b", in MenuObj_GetMenuExcludesMarkColumn()
224 _res = Py_BuildValue("b", in MenuObj_IsValidMenu()
239 _res = Py_BuildValue("l", in MenuObj_GetMenuRetainCount()
289 _res = Py_BuildValue("O&", in MenuObj_DuplicateMenu()
307 _res = Py_BuildValue("O&", in MenuObj_CopyMenuTitleAsCFString()
357 _res = Py_BuildValue("b", in MenuObj_IsMenuSizeInvalid()
609 _res = Py_BuildValue("h", in MenuObj_AppendMenuItemTextWithCFString()
661 _res = Py_BuildValue("l", in MenuObj_PopUpMenuSelect()
[all …]
/external/python/cpython2/Mac/Modules/list/
D_Listmodule.c97 _res = Py_BuildValue("h", in ListObj_LAddColumn()
115 _res = Py_BuildValue("h", in ListObj_LAddRow()
167 _res = Py_BuildValue("bO&", in ListObj_LGetSelect()
180 _res = Py_BuildValue("O&", in ListObj_LLastClick()
201 _res = Py_BuildValue("bO&", in ListObj_LNextCell()
321 _res = Py_BuildValue("b", in ListObj_LClick()
380 _res = Py_BuildValue("s#", in ListObj_LGetCell()
398 _res = Py_BuildValue("O&", in ListObj_LRect()
467 _res = Py_BuildValue("hh", in ListObj_LGetCellDataLocation()
480 _res = Py_BuildValue("O&", in ListObj_GetListPort()
[all …]
/external/python/cpython2/Mac/Modules/win/
D_Winmodule.c121 _res = Py_BuildValue("l", in WinObj_GetWindowOwnerCount()
152 _res = Py_BuildValue("l", in WinObj_GetWindowRetainCount()
218 _res = Py_BuildValue("h", in WinObj_GetWindowWidgetHilite()
236 _res = Py_BuildValue("l", in WinObj_GetWindowClass()
254 _res = Py_BuildValue("l", in WinObj_GetWindowAttributes()
337 _res = Py_BuildValue("lO&", in WinObj_GetWindowModality()
375 _res = Py_BuildValue("O&", in WinObj_GetWindowContentColor()
620 _res = Py_BuildValue("O&", in WinObj_GetNextWindowOfClass()
657 _res = Py_BuildValue("O&", in WinObj_CopyWindowAlternateTitle()
706 _res = Py_BuildValue("l", in WinObj_GetWRefCon()
[all …]
/external/python/cpython2/Mac/Modules/snd/
D_Sndihooks.c77 return Py_BuildValue("d", d); in PyMac_BuildUFixed()
101 return Py_BuildValue("h", nchannel);
122 return Py_BuildValue("h", nchannel);
165 return Py_BuildValue("h", onoff);
208 return Py_BuildValue("O&", ResObj_New, names);
229 return Py_BuildValue("h", source);
272 return Py_BuildValue("h", onoff);
315 return Py_BuildValue("O&", PyMac_BuildUFixed, sample_rate);
358 return Py_BuildValue("h", bits);
443 rrates = Py_BuildValue("O&O&", frates[0], frates[1]);
[all …]
D_Sndmodule.c142 _res = Py_BuildValue("s#", in SndCh_SndChannelStatus()
313 return Py_BuildValue("l", self->ob_spb.inRefNum); in SPBObj_get_inRefNum()
324 return Py_BuildValue("l", self->ob_spb.count); in SPBObj_get_count()
335 return Py_BuildValue("l", self->ob_spb.milliseconds); in SPBObj_get_milliseconds()
346 return Py_BuildValue("h", self->ob_spb.error); in SPBObj_get_error()
467 _res = Py_BuildValue("O&", in Snd_SndNewChannel()
487 _res = Py_BuildValue("O&", in Snd_SndSoundManagerVersion()
504 _res = Py_BuildValue("s#", in Snd_SndManagerStatus()
516 _res = Py_BuildValue("h", in Snd_SndGetSysBeepState()
545 _res = Py_BuildValue("l", in Snd_GetSysBeepVolume()
[all …]
/external/python/cpython2/Mac/Modules/cm/
D_Cmmodule.c39 return Py_BuildValue("O&O&O&ll", in CmpDesc_New()
159 _res = Py_BuildValue("O&", in CmpInstObj_GetComponentInstanceStorage()
195 _res = Py_BuildValue("l", in CmpInstObj_ComponentFunctionImplemented()
210 _res = Py_BuildValue("l", in CmpInstObj_GetComponentVersion()
228 _res = Py_BuildValue("l", in CmpInstObj_ComponentSetTarget()
414 _res = Py_BuildValue("O&", in CmpObj_GetComponentInfo()
429 _res = Py_BuildValue("O&", in CmpObj_OpenComponent()
444 _res = Py_BuildValue("O&", in CmpObj_ResolveComponentAlias()
484 _res = Py_BuildValue("l", in CmpObj_GetComponentRefcon()
516 _res = Py_BuildValue("h", in CmpObj_OpenComponentResFile()
[all …]
/external/python/cpython2/Mac/Modules/res/
D_Resmodule.c108 _res = Py_BuildValue("h", in ResObj_HomeResFile()
181 _res = Py_BuildValue("h", in ResObj_GetResAttrs()
205 _res = Py_BuildValue("hO&O&", in ResObj_GetResInfo()
277 _res = Py_BuildValue("l", in ResObj_GetResourceSizeOnDisk()
296 _res = Py_BuildValue("l", in ResObj_GetMaxResourceSize()
411 _res = Py_BuildValue("O&", in ResObj_GetNextFOND()
467 _res = Py_BuildValue("i", old); in ResObj_AutoDispose()
719 _res = Py_BuildValue("h", in Res_CurResFile()
758 _res = Py_BuildValue("h", in Res_CountTypes()
777 _res = Py_BuildValue("h", in Res_Count1Types()
[all …]
/external/autotest/utils/named_semaphore/
Dnamedsem.c36 return Py_BuildValue("i", result); in namedsem_sem_close()
48 return Py_BuildValue("i", result); in namedsem_sem_unlink()
60 return Py_BuildValue("i", result); in namedsem_sem_wait()
72 return Py_BuildValue("i", result); in namedsem_sem_post()
85 return Py_BuildValue("i", sval); in namedsem_sem_getvalue()
/external/python/cpython2/Mac/Modules/icn/
D_Icnmodule.c36 _res = Py_BuildValue("O&", in Icn_GetCIcon()
88 _res = Py_BuildValue("O&", in Icn_GetIcon()
151 _res = Py_BuildValue("O&", in Icn_NewIconSuite()
198 _res = Py_BuildValue("O&", in Icn_GetIconFromSuite()
221 _res = Py_BuildValue("O&", in Icn_GetIconSuite()
319 _res = Py_BuildValue("O&", in Icn_GetLabel()
345 _res = Py_BuildValue("b", in Icn_PtInIconID()
371 _res = Py_BuildValue("b", in Icn_PtInIconSuite()
397 _res = Py_BuildValue("b", in Icn_RectInIconID()
423 _res = Py_BuildValue("b", in Icn_RectInIconSuite()
[all …]
/external/python/cpython2/Mac/Modules/dlg/
D_Dlgmodule.c42 args = Py_BuildValue("O&O&", DlgObj_WhichDialog, dialog, PyMac_BuildEventRecord, event); in Dlg_UnivFilterProc()
97 args = Py_BuildValue("O&h", DlgObj_WhichDialog, dialog, item); in Dlg_UnivUserItemProc()
247 _res = Py_BuildValue("h", in DlgObj_FindDialogItem()
326 _res = Py_BuildValue("hO&O&", in DlgObj_GetDialogItem()
412 _res = Py_BuildValue("h", in DlgObj_CountDITL()
503 _res = Py_BuildValue("bO&h", in DlgObj_StdFilterProc()
599 _res = Py_BuildValue("O&", in DlgObj_GetDialogItemAsControl()
715 _res = Py_BuildValue("hll", in DlgObj_GetDialogTimeout()
754 _res = Py_BuildValue("H", in DlgObj_GetModalDialogEventMask()
769 _res = Py_BuildValue("O&", in DlgObj_GetDialogWindow()
[all …]
/external/python/cpython3/Modules/
D_uuidmodule.c20 return Py_BuildValue("y#i", (const char *) uuid, sizeof(uuid), res); in py_uuid_generate_time_safe()
27 return Py_BuildValue("y#i", buf, sizeof(uuid), (int) status); in py_uuid_generate_time_safe()
29 return Py_BuildValue("y#i", (const char *) &uuid, sizeof(uuid), (int) status); in py_uuid_generate_time_safe()
33 return Py_BuildValue("y#O", (const char *) uuid, sizeof(uuid), Py_None); in py_uuid_generate_time_safe()
/external/python/cpython2/Mac/Modules/qdoffs/
D_Qdoffsmodule.c82 _res = Py_BuildValue("O&", in GWorldObj_GetGWorldDevice()
97 _res = Py_BuildValue("O&", in GWorldObj_GetGWorldPixMap()
112 _res = Py_BuildValue("O&", in GWorldObj_as_GrafPtr()
228 _res = Py_BuildValue("O&", in Qdoffs_NewGWorld()
245 _res = Py_BuildValue("b", in Qdoffs_LockPixels()
292 _res = Py_BuildValue("lO&", in Qdoffs_UpdateGWorld()
310 _res = Py_BuildValue("O&O&", in Qdoffs_GetGWorld()
443 _res = Py_BuildValue("l", in Qdoffs_GetPixelsState()
479 _res = Py_BuildValue("l", in Qdoffs_GetPixRowBytes()
504 _res = Py_BuildValue("O&O&", in Qdoffs_NewScreenBuffer()
[all …]
/external/python/cpython2/Mac/Modules/ae/
D_AEmodule.c105 _res = Py_BuildValue("O&", in AEDesc_AECoerceDesc()
123 _res = Py_BuildValue("O&", in AEDesc_AEDuplicateDesc()
141 _res = Py_BuildValue("l", in AEDesc_AECountItems()
228 _res = Py_BuildValue("O&O&s#", in AEDesc_AEGetNthPtr()
258 _res = Py_BuildValue("O&O&", in AEDesc_AEGetNthDesc()
282 _res = Py_BuildValue("O&l", in AEDesc_AESizeOfNthItem()
387 _res = Py_BuildValue("O&s#", in AEDesc_AEGetParamPtr()
414 _res = Py_BuildValue("O&", in AEDesc_AEGetParamDesc()
437 _res = Py_BuildValue("O&l", in AEDesc_AESizeOfParam()
492 _res = Py_BuildValue("O&s#", in AEDesc_AEGetAttributePtr()
[all …]
/external/python/cpython2/Mac/Modules/carbonevt/
D_CarbonEvtmodule.c48 return Py_BuildValue("ff", in->x, in->y);
152 _res = Py_BuildValue("O&", in EventRef_RetainEvent()
164 _res = Py_BuildValue("l", in EventRef_GetEventRetainCount()
212 _res = Py_BuildValue("l", in EventRef_GetEventClass()
224 _res = Py_BuildValue("l", in EventRef_GetEventKind()
236 _res = Py_BuildValue("d", in EventRef_GetEventTime()
264 _res = Py_BuildValue("b", in EventRef_IsUserCancelEventRef()
278 _res = Py_BuildValue("bO&", in EventRef_ConvertEventRefToEventRecord()
294 _res = Py_BuildValue("b", in EventRef_IsEventInMask()
343 _res = Py_BuildValue("s#", buffer, bufferSize); in EventRef_GetEventParameter()
[all …]
/external/python/cpython2/Modules/
Dpuremodule.c71 return Py_BuildValue("i", status); in call_voidarg_function()
84 return Py_BuildValue("i", status); in call_stringarg_function()
112 return Py_BuildValue("i", status); in call_stringorint_function()
129 return Py_BuildValue("i", status); in call_printfish_function()
142 return Py_BuildValue("i", id); in call_intasaddr_function()
157 return Py_BuildValue("i", status); in call_stringandint_function()
325 return Py_BuildValue("l", (long)data); in pure_purify_get_user_data()
347 PyObject* memobj = Py_BuildValue("lil", memrep, user_size, in map_pool_callback()
386 PyObject* intobj = Py_BuildValue("i", id); in PurifyMapPoolIdCallback()
470 return Py_BuildValue("i", status); in pure_purify_name_thread()
[all …]

1234567891011