Home
last modified time | relevance | path

Searched refs:PyArg_Parse (Results 1 – 25 of 75) sorted by relevance

123

/external/python/cpython2/Modules/
Dsvmodule.c47 if (!PyArg_Parse(args, "i", &invert)) in svc_conversion()
171 if (!PyArg_Parse(args, "")) in svc_UnlockCaptureData()
196 if (!PyArg_Parse(args, "(hhhh)", &x1, &x2, &y1, &y2)) in svc_lrectwrite()
213 if (!PyArg_Parse(args, "O", &file)) in svc_writefile()
241 if (!PyArg_Parse(args, "")) in svc_FindVisibleRegion()
331 if (!PyArg_Parse(args, "")) in sv_GetCaptureData()
356 if (!PyArg_Parse(args, "(ii)", &wid, &mode)) in sv_BindGLWindow()
370 if (!PyArg_Parse(args, "")) in sv_EndContinuousCapture()
385 if (!PyArg_Parse(args, "")) in sv_IsVideoDisplayed()
401 if (!PyArg_Parse(args, "(ii)", &x_offset, &y_offset)) in sv_OutputOffset()
[all …]
Dflmodule.c410 if (!PyArg_Parse(args, "f", &parameter)) return NULL; in call_forms_INf()
424 if (!PyArg_Parse(args, "(ff)", &par1, &par2)) return NULL; in call_forms_INfINf()
438 if (!PyArg_Parse(args, "i", &parameter)) return NULL; in call_forms_INi()
452 if (!PyArg_Parse(args, "s", &a)) return NULL; in call_forms_INc()
466 if (!PyArg_Parse(args, "s", &a)) return NULL; in call_forms_INstr()
482 if (!PyArg_Parse(args, "(is)", &a, &b)) return NULL; in call_forms_INiINstr()
497 if (!PyArg_Parse(args, "(ii)", &par1, &par2)) return NULL; in call_forms_INiINi()
618 if (!PyArg_Parse(args, "i", &i)) in get_browser_line()
667 if (!PyArg_Parse(args, "i", &i)) in isselected_browser_line()
1196 if (!PyArg_Parse(args, "(iis)", &place, &border, &name)) in form_show_form()
[all …]
Dgdbmmodule.c120 if (!PyArg_Parse(key, "s#", &krec.dptr, &krec.dsize) ) in dbm_subscript()
144 if (!PyArg_Parse(v, "s#", &krec.dptr, &krec.dsize) ) { in dbm_ass_sub()
163 if (!PyArg_Parse(w, "s#", &drec.dptr, &drec.dsize)) { in dbm_ass_sub()
Ddbmmodule.c102 if (!PyArg_Parse(key, "s#", &krec.dptr, &tmp_size) ) in dbm_subscript()
127 if ( !PyArg_Parse(v, "s#", &krec.dptr, &tmp_size) ) { in dbm_ass_sub()
146 if ( !PyArg_Parse(w, "s#", &drec.dptr, &tmp_size) ) { in dbm_ass_sub()
Darraymodule.c114 if (!PyArg_Parse(v, "c;array item must be char", &x)) in c_setitem()
137 if (!PyArg_Parse(v, "h;array item must be integer", &x)) in b_setitem()
166 if (!PyArg_Parse(v, "b;array item must be integer", &x)) in BB_setitem()
186 if (!PyArg_Parse(v, "u#;array item must be unicode character", &p, &len)) in u_setitem()
210 if (!PyArg_Parse(v, "h;array item must be integer", &x)) in h_setitem()
229 if (!PyArg_Parse(v, "i;array item must be integer", &x)) in HH_setitem()
257 if (!PyArg_Parse(v, "i;array item must be integer", &x)) in i_setitem()
282 if (!PyArg_Parse(v, "l;array item must be integer", &y)) in II_setitem()
313 if (!PyArg_Parse(v, "l;array item must be integer", &x)) in l_setitem()
337 if (!PyArg_Parse(v, "l;array item must be integer", &y)) in LL_setitem()
[all …]
Dbsddbmodule.c280 if (!PyArg_Parse(key, "i", &recno)) { in bsddb_subscript()
289 if (!PyArg_Parse(key, "s#", &data, &size)) { in bsddb_subscript()
331 if (!PyArg_Parse(key, "i", &recno)) { in bsddb_ass_sub()
340 if (!PyArg_Parse(key, "s#", &data, &size)) { in bsddb_ass_sub()
356 if (!PyArg_Parse(value, "s#", &data, &size)) { in bsddb_ass_sub()
Dclmodule.c229 if (!PyArg_Parse(args, "(is#)", &numberOfFrames, in clm_Compress()
279 if (!PyArg_Parse(args, "(is#)", &numberOfFrames, &compressedData, in clm_Decompress()
318 if (!PyArg_Parse(args, "O", &list)) in doParams()
392 if (!PyArg_Parse(args, "i", &paramID)) in do_get()
428 if (!PyArg_Parse(args, "(ii)", &paramID, &value)) { in clm_SetParam()
430 if (!PyArg_Parse(args, "(if)", &paramID, &fvalue)) { in clm_SetParam()
463 if (!PyArg_Parse(args, "s", &name)) in clm_GetParamID()
533 if (!PyArg_Parse(args, "i", &param)) in clm_GetMinMax()
555 if (!PyArg_Parse(args, "i", &param)) in clm_GetName()
584 if (!PyArg_Parse(args, "s#", &header, &headerSize)) in clm_ReadHeader()
[all …]
D_hashopenssl.c400 if (!PyArg_Parse(name_obj, "s", &nameStr)) { in EVP_tp_init()
552 if (!PyArg_Parse(name_obj, "s", &name)) { in EVP_new()
/external/python/cpython2/Mac/Modules/
DNav.c154 if ( !PyArg_Parse(value, "O&", AEDesc_Convert, defaultLocation_storage) ) { in filldialogoptions()
160 if ( !PyArg_Parse(value, "H", &opt->version) ) in filldialogoptions()
163 if ( !PyArg_Parse(value, "k", &opt->dialogOptionFlags) ) in filldialogoptions()
166 if ( !PyArg_Parse(value, "O&", PyMac_GetPoint, &opt->location) ) in filldialogoptions()
169 if ( !PyArg_Parse(value, "O&", PyMac_GetStr255, &opt->clientName) ) in filldialogoptions()
172 if ( !PyArg_Parse(value, "O&", PyMac_GetStr255, &opt->windowTitle) ) in filldialogoptions()
175 if ( !PyArg_Parse(value, "O&", PyMac_GetStr255, &opt->actionButtonLabel) ) in filldialogoptions()
178 if ( !PyArg_Parse(value, "O&", PyMac_GetStr255, &opt->cancelButtonLabel) ) in filldialogoptions()
181 if ( !PyArg_Parse(value, "O&", PyMac_GetStr255, &opt->savedFileName) ) in filldialogoptions()
184 if ( !PyArg_Parse(value, "O&", PyMac_GetStr255, &opt->message) ) in filldialogoptions()
[all …]
/external/python/cpython2/Include/
DPython.h150 #define PyArg_GetInt(v, a) PyArg_Parse((v), "i", (a))
154 #define PyArg_NoArgs(v) PyArg_Parse(v, "")
Dmodsupport.h15 #define PyArg_Parse _PyArg_Parse_SizeT macro
26 PyAPI_FUNC(int) PyArg_Parse(PyObject *, const char *, ...);
/external/python/cpython2/Python/
Dmactoolboxglue.c235 return PyArg_Parse(v, "(hhhh)", &r->left, &r->top, &r->right, &r->bottom); in PyMac_GetRect()
253 return PyArg_Parse(v, "(hh)", &p->h, &p->v); in PyMac_GetPoint()
269 return PyArg_Parse(v, "(Hkk(hh)H)", in PyMac_GetEventRecord()
297 if( !PyArg_Parse(v, "d", &d)) in PyMac_GetFixed()
325 return PyArg_Parse(v, "(kk)", &rv->hi, &rv->lo); in PyMac_Getwide()
/external/python/cpython2/RISCOS/Modules/
Dswimodule.c350 if(!PyArg_Parse(name,"i",&swino)) in swi_swi()
352 if(!PyArg_Parse(name,"s",&swiname)) return NULL; in swi_swi()
357 if(!PyArg_Parse(format,"s",&fmt)) return NULL; in swi_swi()
371 { case 'i':if(!PyArg_Parse(v,"i",&r.r[rno])) return NULL; in swi_swi()
373 case 's':if(!PyArg_Parse(v,"s",(char**)(&r.r[rno]))) return NULL; in swi_swi()
375 case 'b':if(!PyArg_Parse(v,"O",(PyObject**)&ao)) return NULL; in swi_swi()
379 case 'e':if(!PyArg_Parse(v,"O",(PyObject**)&ao)) return NULL; in swi_swi()
/external/python/cpython3/Modules/
Dfcntlmodule.c76 if (PyArg_Parse(arg, "s#", &str, &len)) { in fcntl_fcntl_impl()
95 parse_result = PyArg_Parse(arg, in fcntl_fcntl_impl()
184 if (PyArg_Parse(ob_arg, "w*:ioctl", &pstr)) { in fcntl_ioctl_impl()
237 if (PyArg_Parse(ob_arg, "s*:ioctl", &pstr)) { in fcntl_ioctl_impl()
261 if (!PyArg_Parse(ob_arg, in fcntl_ioctl_impl()
D_dbmmodule.c110 if (!PyArg_Parse(key, "s#", &krec.dptr, &tmp_size) ) in dbm_subscript()
134 if ( !PyArg_Parse(v, "s#", &krec.dptr, &tmp_size) ) { in dbm_ass_sub()
159 if ( !PyArg_Parse(w, "s#", &drec.dptr, &tmp_size) ) { in dbm_ass_sub()
345 if ( !PyArg_Parse(default_value, "s#", &val.dptr, &tmp_size) ) { in _dbm_dbm_setdefault_impl()
Darraymodule.c199 if (!PyArg_Parse(v, "h;array item must be integer", &x)) in b_setitem()
228 if (!PyArg_Parse(v, "b;array item must be integer", &x)) in BB_setitem()
245 if (!PyArg_Parse(v, "U;array item must be unicode character", &u)) { in u_setitem()
279 if (!PyArg_Parse(v, "h;array item must be integer", &x)) in h_setitem()
298 if (!PyArg_Parse(v, "i;array item must be integer", &x)) in HH_setitem()
326 if (!PyArg_Parse(v, "i;array item must be integer", &x)) in i_setitem()
398 if (!PyArg_Parse(v, "l;array item must be integer", &x)) in l_setitem()
450 if (!PyArg_Parse(v, "L;array item must be integer", &x)) in q_setitem()
503 if (!PyArg_Parse(v, "f;array item must be float", &x)) in f_setitem()
520 if (!PyArg_Parse(v, "d;array item must be float", &x)) in d_setitem()
Doverlapped.c934 if (!PyArg_Parse(bufobj, "y*", &self->user_buffer)) in Overlapped_ReadFileInto()
1041 if (!PyArg_Parse(bufobj, "y*", &self->user_buffer)) in Overlapped_WSARecvInto()
1081 if (!PyArg_Parse(bufobj, "y*", &self->user_buffer)) in Overlapped_WriteFile()
1137 if (!PyArg_Parse(bufobj, "y*", &self->user_buffer)) in Overlapped_WSASend()
1601 if (!PyArg_Parse(bufobj, "y*", &self->user_buffer)) { in Overlapped_WSASendTo()
/external/python/cpython2/Mac/Modules/file/
D_Filemodule.c72 return PyArg_Parse(v, "(HlH)", &ptr->highSeconds, &ptr->lowSeconds, &ptr->fraction); in UTCDateTime_Convert()
214 return PyArg_Parse(v, "H", &self->ob_itself.nodeFlags)-1; in FSCatalogInfo_set_nodeFlags()
225 return PyArg_Parse(v, "h", &self->ob_itself.volume)-1; in FSCatalogInfo_set_volume()
236 return PyArg_Parse(v, "l", &self->ob_itself.parentDirID)-1; in FSCatalogInfo_set_parentDirID()
247 return PyArg_Parse(v, "l", &self->ob_itself.nodeID)-1; in FSCatalogInfo_set_nodeID()
258 return PyArg_Parse(v, "O&", UTCDateTime_Convert, &self->ob_itself.createDate)-1; in FSCatalogInfo_set_createDate()
269 return PyArg_Parse(v, "O&", UTCDateTime_Convert, &self->ob_itself.contentModDate)-1; in FSCatalogInfo_set_contentModDate()
280 return PyArg_Parse(v, "O&", UTCDateTime_Convert, &self->ob_itself.attributeModDate)-1; in FSCatalogInfo_set_attributeModDate()
291 return PyArg_Parse(v, "O&", UTCDateTime_Convert, &self->ob_itself.accessDate)-1; in FSCatalogInfo_set_accessDate()
302 return PyArg_Parse(v, "O&", UTCDateTime_Convert, &self->ob_itself.backupDate)-1; in FSCatalogInfo_set_backupDate()
[all …]
/external/python/cpython3/Include/
Dmodsupport.h15 #define PyArg_Parse _PyArg_Parse_SizeT macro
39 PyAPI_FUNC(int) PyArg_Parse(PyObject *, const char *, ...);
/external/python/cpython3/Modules/clinic/
D_winapi.c.h84 if (!PyArg_Parse(arg, "" F_HANDLE ":CloseHandle", &handle)) { in _winapi_CloseHandle()
448 if (!PyArg_Parse(arg, "I:ExitProcess", &ExitCode)) { in _winapi_ExitProcess()
507 if (!PyArg_Parse(arg, "" F_HANDLE ":GetExitCodeProcess", &process)) { in _winapi_GetExitCodeProcess()
572 if (!PyArg_Parse(arg, "" F_HANDLE ":GetModuleFileName", &module_handle)) { in _winapi_GetModuleFileName()
605 if (!PyArg_Parse(arg, "k:GetStdHandle", &std_handle)) { in _winapi_GetStdHandle()
906 if (!PyArg_Parse(arg, "" F_POINTER ":VirtualQuerySize", &address)) { in _winapi_VirtualQuerySize()
D_gdbmmodule.c.h160 if (!PyArg_Parse(arg, "s#:nextkey", &key, &key_length)) { in _gdbm_gdbm_nextkey()
/external/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
DScriptInterpreterPython.cpp1094 return PyArg_Parse(py_return.get(), format, (char **)ret_value); in ExecuteOneLineWithReturn()
1100 return PyArg_Parse(py_return.get(), format, (char **)ret_value); in ExecuteOneLineWithReturn()
1104 return PyArg_Parse(py_return.get(), format, (bool *)ret_value); in ExecuteOneLineWithReturn()
1108 return PyArg_Parse(py_return.get(), format, (short *)ret_value); in ExecuteOneLineWithReturn()
1112 return PyArg_Parse(py_return.get(), format, (unsigned short *)ret_value); in ExecuteOneLineWithReturn()
1116 return PyArg_Parse(py_return.get(), format, (int *)ret_value); in ExecuteOneLineWithReturn()
1120 return PyArg_Parse(py_return.get(), format, (unsigned int *)ret_value); in ExecuteOneLineWithReturn()
1124 return PyArg_Parse(py_return.get(), format, (long *)ret_value); in ExecuteOneLineWithReturn()
1128 return PyArg_Parse(py_return.get(), format, (unsigned long *)ret_value); in ExecuteOneLineWithReturn()
1132 return PyArg_Parse(py_return.get(), format, (long long *)ret_value); in ExecuteOneLineWithReturn()
[all …]
/external/python/cpython2/Mac/Modules/snd/
D_Sndmodule.c34 return PyArg_Parse(v, "H", &pc->cmd); in SndCmd_Convert()
318 return -1 + PyArg_Parse(v, "l", &self->ob_spb.inRefNum); in SPBObj_set_inRefNum()
329 return -1 + PyArg_Parse(v, "l", &self->ob_spb.count); in SPBObj_set_count()
340 return -1 + PyArg_Parse(v, "l", &self->ob_spb.milliseconds); in SPBObj_set_milliseconds()
/external/python/cpython2/Mac/Modules/drag/
D_Dragmodule.c1033 PyArg_Parse(rv, "l", &i); in dragglue_TrackingHandler()
1059 PyArg_Parse(rv, "l", &i); in dragglue_ReceiveHandler()
1088 PyArg_Parse(rv, "l", &i); in dragglue_SendData()
/external/python/cpython2/Mac/Modules/list/
D_Listmodule.c698 if (!PyArg_Parse(v, "B", &(*self->ob_itself)->listFlags)) return -1; in ListObj_set_listFlags()
709 if (!PyArg_Parse(v, "B", &(*self->ob_itself)->selFlags)) return -1; in ListObj_set_selFlags()
720 if (!PyArg_Parse(v, "O&", PyMac_GetPoint, &(*self->ob_itself)->cellSize)) return -1; in ListObj_set_cellSize()

123