Home
last modified time | relevance | path

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

12345

/external/python/cpython3/Modules/clinic/
Dcmathmodule.c.h24 if (!PyArg_Parse(arg, "D:acos", &z)) { in cmath_acos()
66 if (!PyArg_Parse(arg, "D:acosh", &z)) { in cmath_acosh()
108 if (!PyArg_Parse(arg, "D:asin", &z)) { in cmath_asin()
150 if (!PyArg_Parse(arg, "D:asinh", &z)) { in cmath_asinh()
192 if (!PyArg_Parse(arg, "D:atan", &z)) { in cmath_atan()
234 if (!PyArg_Parse(arg, "D:atanh", &z)) { in cmath_atanh()
276 if (!PyArg_Parse(arg, "D:cos", &z)) { in cmath_cos()
318 if (!PyArg_Parse(arg, "D:cosh", &z)) { in cmath_cosh()
360 if (!PyArg_Parse(arg, "D:exp", &z)) { in cmath_exp()
402 if (!PyArg_Parse(arg, "D:log10", &z)) { in cmath_log10()
[all …]
Dzipimport.c.h141 if (!PyArg_Parse(arg, "U:load_module", &fullname)) { in zipimport_zipimporter_load_module()
169 if (!PyArg_Parse(arg, "U:get_filename", &fullname)) { in zipimport_zipimporter_get_filename()
198 if (!PyArg_Parse(arg, "U:is_package", &fullname)) { in zipimport_zipimporter_is_package()
227 if (!PyArg_Parse(arg, "U:get_data", &path)) { in zipimport_zipimporter_get_data()
256 if (!PyArg_Parse(arg, "U:get_code", &fullname)) { in zipimport_zipimporter_get_code()
286 if (!PyArg_Parse(arg, "U:get_source", &fullname)) { in zipimport_zipimporter_get_source()
317 if (!PyArg_Parse(arg, "U:get_resource_reader", &fullname)) { in zipimport_zipimporter_get_resource_reader()
Dbinascii.c.h23 if (!PyArg_Parse(arg, "O&:a2b_uu", ascii_buffer_converter, &data)) { in binascii_a2b_uu()
90 if (!PyArg_Parse(arg, "O&:a2b_base64", ascii_buffer_converter, &data)) { in binascii_a2b_base64()
157 if (!PyArg_Parse(arg, "O&:a2b_hqx", ascii_buffer_converter, &data)) { in binascii_a2b_hqx()
188 if (!PyArg_Parse(arg, "y*:rlecode_hqx", &data)) { in binascii_rlecode_hqx()
220 if (!PyArg_Parse(arg, "y*:b2a_hqx", &data)) { in binascii_b2a_hqx()
252 if (!PyArg_Parse(arg, "y*:rledecode_hqx", &data)) { in binascii_rledecode_hqx()
365 if (!PyArg_Parse(arg, "y*:b2a_hex", &data)) { in binascii_b2a_hex()
399 if (!PyArg_Parse(arg, "y*:hexlify", &data)) { in binascii_hexlify()
434 if (!PyArg_Parse(arg, "O&:a2b_hex", ascii_buffer_converter, &hexstr)) { in binascii_a2b_hex()
467 if (!PyArg_Parse(arg, "O&:unhexlify", ascii_buffer_converter, &hexstr)) { in binascii_unhexlify()
D_tkinter.c.h22 if (!PyArg_Parse(arg, "s:eval", &script)) { in _tkinter_tkapp_eval()
48 if (!PyArg_Parse(arg, "s:evalfile", &fileName)) { in _tkinter_tkapp_evalfile()
74 if (!PyArg_Parse(arg, "s:record", &script)) { in _tkinter_tkapp_record()
100 if (!PyArg_Parse(arg, "s:adderrorinfo", &msg)) { in _tkinter_tkapp_adderrorinfo()
150 if (!PyArg_Parse(arg, "s:exprstring", &s)) { in _tkinter_tkapp_exprstring()
176 if (!PyArg_Parse(arg, "s:exprlong", &s)) { in _tkinter_tkapp_exprlong()
202 if (!PyArg_Parse(arg, "s:exprdouble", &s)) { in _tkinter_tkapp_exprdouble()
228 if (!PyArg_Parse(arg, "s:exprboolean", &s)) { in _tkinter_tkapp_exprboolean()
299 if (!PyArg_Parse(arg, "s:deletecommand", &name)) { in _tkinter_tkapp_deletecommand()
597 if (!PyArg_Parse(arg, "i:setbusywaitinterval", &new_val)) { in _tkinter_setbusywaitinterval()
Dunicodedata.c.h124 if (!PyArg_Parse(arg, "C:category", &chr)) { in unicodedata_UCD_category()
153 if (!PyArg_Parse(arg, "C:bidirectional", &chr)) { in unicodedata_UCD_bidirectional()
183 if (!PyArg_Parse(arg, "C:combining", &chr)) { in unicodedata_UCD_combining()
218 if (!PyArg_Parse(arg, "C:mirrored", &chr)) { in unicodedata_UCD_mirrored()
249 if (!PyArg_Parse(arg, "C:east_asian_width", &chr)) { in unicodedata_UCD_east_asian_width()
278 if (!PyArg_Parse(arg, "C:decomposition", &chr)) { in unicodedata_UCD_decomposition()
374 if (!PyArg_Parse(arg, "s#:lookup", &name, &name_length)) { in unicodedata_UCD_lookup()
Dmathmodule.c.h111 if (!PyArg_Parse(arg, "d:frexp", &x)) { in math_frexp()
171 if (!PyArg_Parse(arg, "d:modf", &x)) { in math_modf()
348 if (!PyArg_Parse(arg, "d:degrees", &x)) { in math_degrees()
375 if (!PyArg_Parse(arg, "d:radians", &x)) { in math_radians()
402 if (!PyArg_Parse(arg, "d:isfinite", &x)) { in math_isfinite()
429 if (!PyArg_Parse(arg, "d:isnan", &x)) { in math_isnan()
456 if (!PyArg_Parse(arg, "d:isinf", &x)) { in math_isinf()
D_ssl.c.h39 if (!PyArg_Parse(arg, "O&:_test_decode_cert", PyUnicode_FSConverter, &path)) { in _ssl__test_decode_cert()
214 if (!PyArg_Parse(arg, "y*:write", &b)) { in _ssl__SSLSocket_write()
403 if (!PyArg_Parse(arg, "s:set_ciphers", &cipherlist)) { in _ssl__SSLContext_set_ciphers()
451 if (!PyArg_Parse(arg, "y*:_set_npn_protocols", &protos)) { in _ssl__SSLContext__set_npn_protocols()
483 if (!PyArg_Parse(arg, "y*:_set_alpn_protocols", &protos)) { in _ssl__SSLContext__set_alpn_protocols()
826 if (!PyArg_Parse(arg, "y*:write", &b)) { in _ssl_MemoryBIO_write()
915 if (!PyArg_Parse(arg, "i:RAND_bytes", &n)) { in _ssl_RAND_bytes()
945 if (!PyArg_Parse(arg, "i:RAND_pseudo_bytes", &n)) { in _ssl_RAND_pseudo_bytes()
998 if (!PyArg_Parse(arg, "O&:RAND_egd", PyUnicode_FSConverter, &path)) { in _ssl_RAND_egd()
1081 if (!PyArg_Parse(arg, "i:nid2obj", &nid)) { in _ssl_nid2obj()
D_lzmamodule.c.h28 if (!PyArg_Parse(arg, "y*:compress", &data)) { in _lzma_LZMACompressor_compress()
181 if (!PyArg_Parse(arg, "i:is_check_supported", &check_id)) { in _lzma_is_check_supported()
210 if (!PyArg_Parse(arg, "O&:_encode_filter_properties", lzma_filter_converter, &filter)) { in _lzma__encode_filter_properties()
Dpyexpat.c.h64 if (!PyArg_Parse(arg, "s:SetBase", &base)) { in pyexpat_xmlparser_SetBase()
166 if (!PyArg_Parse(arg, "i:SetParamEntityParsing", &flag)) { in pyexpat_xmlparser_SetParamEntityParsing()
280 if (!PyArg_Parse(arg, "l:ErrorString", &code)) { in pyexpat_ErrorString()
Dsignalmodule.c.h26 if (!PyArg_Parse(arg, "i:alarm", &seconds)) { in signal_alarm()
123 if (!PyArg_Parse(arg, "i:getsignal", &signalnum)) { in signal_getsignal()
228 if (!PyArg_Parse(arg, "i:getitimer", &which)) { in signal_getitimer()
Dresource.c.h22 if (!PyArg_Parse(arg, "i:getrusage", &who)) { in resource_getrusage()
48 if (!PyArg_Parse(arg, "i:getrlimit", &resource)) { in resource_getrlimit()
/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 …]
/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/cpython3/PC/clinic/
Dmsvcrtmodule.c.h161 if (!PyArg_Parse(arg, "i:get_osfhandle", &fd)) { in msvcrt_get_osfhandle()
322 if (!PyArg_Parse(arg, "c:putch", &char_value)) { in msvcrt_putch()
349 if (!PyArg_Parse(arg, "C:putwch", &unicode_char)) { in msvcrt_putwch()
380 if (!PyArg_Parse(arg, "c:ungetch", &char_value)) { in msvcrt_ungetch()
407 if (!PyArg_Parse(arg, "C:ungetwch", &unicode_char)) { in msvcrt_ungetwch()
519 if (!PyArg_Parse(arg, "i:set_error_mode", &mode)) { in msvcrt_set_error_mode()
552 if (!PyArg_Parse(arg, "I:SetErrorMode", &mode)) { in msvcrt_SetErrorMode()
Dwinreg.c.h504 if (!PyArg_Parse(arg, "u:ExpandEnvironmentStrings", &string)) { in winreg_ExpandEnvironmentStrings()
544 if (!PyArg_Parse(arg, "O&:FlushKey", clinic_HKEY_converter, &key)) { in winreg_FlushKey()
737 if (!PyArg_Parse(arg, "O&:QueryInfoKey", clinic_HKEY_converter, &key)) { in winreg_QueryInfoKey()
1024 if (!PyArg_Parse(arg, "O&:DisableReflectionKey", clinic_HKEY_converter, &key)) { in winreg_DisableReflectionKey()
1058 if (!PyArg_Parse(arg, "O&:EnableReflectionKey", clinic_HKEY_converter, &key)) { in winreg_EnableReflectionKey()
1090 if (!PyArg_Parse(arg, "O&:QueryReflectionKey", clinic_HKEY_converter, &key)) { in winreg_QueryReflectionKey()
/external/python/cpython3/Python/clinic/
Dimport.c.h146 if (!PyArg_Parse(arg, "U:init_frozen", &name)) { in _imp_init_frozen()
173 if (!PyArg_Parse(arg, "U:get_frozen_object", &name)) { in _imp_get_frozen_object()
200 if (!PyArg_Parse(arg, "U:is_frozen_package", &name)) { in _imp_is_frozen_package()
227 if (!PyArg_Parse(arg, "U:is_builtin", &name)) { in _imp_is_builtin()
254 if (!PyArg_Parse(arg, "U:is_frozen", &name)) { in _imp_is_frozen()
/external/python/cpython3/Modules/_io/clinic/
Dbufferedio.c.h22 if (!PyArg_Parse(arg, "w*:readinto", &buffer)) { in _io__BufferedIOBase_readinto()
53 if (!PyArg_Parse(arg, "w*:readinto1", &buffer)) { in _io__BufferedIOBase_readinto1()
186 if (!PyArg_Parse(arg, "w*:readinto", &buffer)) { in _io__Buffered_readinto()
217 if (!PyArg_Parse(arg, "w*:readinto1", &buffer)) { in _io__Buffered_readinto1()
393 if (!PyArg_Parse(arg, "y*:write", &buffer)) { in _io_BufferedWriter_write()
/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/cpython3/Modules/
Dfcntlmodule.c72 if (PyArg_Parse(arg, "s#", &str, &len)) { in fcntl_fcntl_impl()
91 parse_result = PyArg_Parse(arg, in fcntl_fcntl_impl()
175 if (PyArg_Parse(ob_arg, "w*:ioctl", &pstr)) { in fcntl_ioctl_impl()
228 if (PyArg_Parse(ob_arg, "s*:ioctl", &pstr)) { in fcntl_ioctl_impl()
252 if (!PyArg_Parse(ob_arg, in fcntl_ioctl_impl()
D_dbmmodule.c108 if (!PyArg_Parse(key, "s#", &krec.dptr, &tmp_size) ) in dbm_subscript()
132 if ( !PyArg_Parse(v, "s#", &krec.dptr, &tmp_size) ) { in dbm_ass_sub()
150 if ( !PyArg_Parse(w, "s#", &drec.dptr, &tmp_size) ) { in dbm_ass_sub()
336 if ( !PyArg_Parse(default_value, "s#", &val.dptr, &tmp_size) ) { in _dbm_dbm_setdefault_impl()
/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/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 …]

12345