/external/protobuf/python/google/protobuf/pyext/ |
D | descriptor_pool.cc | 184 PyErr_Format(PyExc_KeyError, "Couldn't find message %.200s", name); in FindMessageByName() 213 PyErr_Format(PyExc_TypeError, "No message class registered for '%s'", in GetMessageClass() 231 PyErr_Format(PyExc_KeyError, "Couldn't find file %.200s", in FindFileByName() 249 PyErr_Format(PyExc_KeyError, "Couldn't find field %.200s", in FindFieldByName() 267 PyErr_Format(PyExc_KeyError, "Couldn't find extension field %.200s", name); in FindExtensionByName() 284 PyErr_Format(PyExc_KeyError, "Couldn't find enum %.200s", name); in FindEnumTypeByName() 301 PyErr_Format(PyExc_KeyError, "Couldn't find oneof %.200s", name); in FindOneofByName() 318 PyErr_Format(PyExc_KeyError, "Couldn't find symbol %.200s", name); in FindFileContainingSymbol() 342 PyErr_Format(PyExc_ValueError, in AddFileDescriptor() 358 PyErr_Format(PyExc_ValueError, in AddDescriptor() [all …]
|
D | map_container.cc | 170 PyErr_Format( in PythonToMapKey() 194 PyErr_Format( in MapKeyToPython() 225 PyErr_Format( in MapValueRefToPython() 295 PyErr_Format(PyExc_ValueError, "Unknown enum value: %d", value); in PythonToMapValueRef() 302 PyErr_Format( in PythonToMapValueRef() 410 return PyErr_Format(PyExc_RuntimeError, in NewScalarMapContainer() 429 return PyErr_Format(PyExc_KeyError, in NewScalarMapContainer() 487 PyErr_Format(PyExc_KeyError, "Key not present in map"); in ScalarMapSetItem() 653 return PyErr_Format(PyExc_RuntimeError, in NewMessageMapContainer() 672 return PyErr_Format(PyExc_RuntimeError, in NewMessageMapContainer() [all …]
|
D | repeated_scalar_container.cc | 99 PyErr_Format(PyExc_IndexError, in AssignItem() 174 PyErr_Format(PyExc_ValueError, "Unknown enum value: %s", in AssignItem() 183 PyErr_Format( in AssignItem() 201 PyErr_Format(PyExc_IndexError, in Item() 281 PyErr_Format( in Item() 416 PyErr_Format(PyExc_ValueError, "Unknown enum value: %s", in Append() 425 PyErr_Format( in Append() 594 PyErr_Format( in Reduce() 648 PyErr_Format(PyExc_IndexError, in Pop()
|
D | message.cc | 242 PyErr_Format(PyExc_TypeError, "Expected a message Descriptor, got %s", in New() 395 PyErr_Format(PyExc_TypeError, "Class %s is not a Message", cls->tp_name); in CheckMessageClass() 539 PyErr_Format(PyExc_TypeError, in FormatTypeError() 569 PyErr_Format(PyExc_ValueError, in CheckAndGetInteger() 665 PyErr_Format(PyExc_ValueError, in CheckAndGetInteger() 747 PyErr_Format(PyExc_KeyError, "Field '%s' does not belong to message '%s'", in CheckAndGetInteger() 974 PyErr_Format(PyExc_IndexError, "list assignment index out of range"); in CheckAndGetInteger() 1059 PyErr_Format(PyExc_ValueError, "Protocol message %s has no \"%s\" field.", in CheckAndGetInteger() 1377 PyErr_Format(PyExc_ValueError, in CheckAndGetInteger() 1386 PyErr_Format(PyExc_ValueError, in CheckAndGetInteger() [all …]
|
/external/python/cpython2/Modules/_io/ |
D | stringio.c | 235 PyErr_Format(PyExc_TypeError, "integer argument expected, got '%s'", in stringio_read() 305 PyErr_Format(PyExc_TypeError, "integer argument expected, got '%s'", in stringio_readline() 329 PyErr_Format(PyExc_IOError, in stringio_iternext() 377 PyErr_Format(PyExc_TypeError, "integer argument expected, got '%s'", in stringio_truncate() 383 PyErr_Format(PyExc_ValueError, in stringio_truncate() 424 PyErr_Format(PyExc_ValueError, in stringio_seek() 429 PyErr_Format(PyExc_ValueError, in stringio_seek() 467 PyErr_Format(PyExc_TypeError, "unicode argument expected, got '%s'", in stringio_write() 568 PyErr_Format(PyExc_ValueError, in stringio_init() 573 PyErr_Format(PyExc_TypeError, in stringio_init() [all …]
|
D | bytesio.c | 249 PyErr_Format(PyExc_TypeError, "integer argument expected, got '%s'", in bytesio_read() 318 PyErr_Format(PyExc_TypeError, "integer argument expected, got '%s'", in bytesio_readline() 364 PyErr_Format(PyExc_TypeError, "integer argument expected, got '%s'", in bytesio_readlines() 456 PyErr_Format(PyExc_TypeError, "integer argument expected, got '%s'", in bytesio_truncate() 462 PyErr_Format(PyExc_ValueError, in bytesio_truncate() 518 PyErr_Format(PyExc_ValueError, in bytesio_seek() 543 PyErr_Format(PyExc_ValueError, in bytesio_seek() 684 PyErr_Format(PyExc_TypeError, in bytesio_setstate() 706 PyErr_Format(PyExc_TypeError, in bytesio_setstate() 725 PyErr_Format(PyExc_TypeError, in bytesio_setstate()
|
D | _iomodule.c | 320 PyErr_Format(PyExc_TypeError, "invalid file: %s", in io_open() 361 PyErr_Format(PyExc_ValueError, "invalid mode: '%s'", mode); in io_open() 492 PyErr_Format(PyExc_ValueError, in io_open() 584 PyErr_Format(err, in PyNumber_AsOff_t() 608 PyErr_Format(PyExc_TypeError, in _PyIO_ConvertSsize_t()
|
/external/python/cpython2/Modules/ |
D | pwdmodule.c | 110 PyErr_Format(PyExc_KeyError, in pwd_getpwuid() 116 PyErr_Format(PyExc_KeyError, in pwd_getpwuid() 119 PyErr_Format(PyExc_KeyError, in pwd_getpwuid() 140 PyErr_Format(PyExc_KeyError, in pwd_getpwnam()
|
D | _csv.c | 157 PyErr_Format(error_obj, "unknown dialect"); in get_dialect_from_registry() 227 PyErr_Format(PyExc_TypeError, in _set_int() 246 PyErr_Format(PyExc_TypeError, in _set_char() 253 PyErr_Format(PyExc_TypeError, in _set_char() 274 PyErr_Format(PyExc_TypeError, in _set_str() 295 PyErr_Format(PyExc_TypeError, "bad \"quoting\" value"); in dialect_check_quoting() 589 PyErr_Format(error_obj, "field larger than field limit (%ld)", in parse_add_char() 747 PyErr_Format(error_obj, "'%c' expected after '%c'", in parse_process_char() 760 …PyErr_Format(error_obj, "new-line character seen in unquoted field - do you need to open the file … in parse_process_char() 817 PyErr_Format(error_obj, in Reader_iternext() [all …]
|
D | linuxaudiodev.c | 249 PyErr_Format(PyExc_ValueError, "expected rate >= 0, not %d", in lad_setparameters() 254 PyErr_Format(PyExc_ValueError, "expected sample size >= 0, not %d", in lad_setparameters() 259 PyErr_Format(PyExc_ValueError, "nchannels must be 1 or 2, not %d", in lad_setparameters() 268 PyErr_Format(PyExc_ValueError, "unknown audio encoding: %d", fmt); in lad_setparameters() 272 PyErr_Format(PyExc_ValueError, in lad_setparameters() 280 PyErr_Format(PyExc_ValueError, in lad_setparameters()
|
D | grpmodule.c | 103 PyErr_Format(PyExc_KeyError, in grp_getgrgid() 106 PyErr_Format(PyExc_KeyError, in grp_getgrgid() 126 PyErr_Format(PyExc_KeyError, "getgrnam(): name not found: %s", name); in grp_getgrnam()
|
D | zipimport.c | 411 PyErr_Format(ZipImportError, "can't find module '%.200s'", in zipimporter_is_package() 487 PyErr_Format(ZipImportError, "can't find module '%.200s'", in zipimporter_get_source() 730 PyErr_Format(ZipImportError, "can't open Zip file: " in read_directory() 867 PyErr_Format(ZipImportError, "can't read Zip file: %.200s", archive); in read_directory() 872 PyErr_Format(ZipImportError, "%s: %.200s", errmsg, archive); in read_directory() 935 PyErr_Format(ZipImportError, "negative data size"); in get_data() 941 PyErr_Format(PyExc_IOError, in get_data() 1020 PyErr_Format(ZipImportError, "can't read Zip file: %.200s", archive); in get_data() 1025 PyErr_Format(ZipImportError, "%s: %.200s", errmsg, archive); in get_data() 1091 PyErr_Format(PyExc_TypeError, in unmarshal_code() [all …]
|
D | _struct.c | 313 PyErr_Format(StructError, in _range_error() 319 PyErr_Format(StructError, in _range_error() 1389 PyErr_Format(PyExc_TypeError, in s_init() 1486 PyErr_Format(StructError, in s_unpack() 1519 PyErr_Format(StructError, in s_unpack_from() 1529 PyErr_Format(StructError, in s_unpack_from() 1596 PyErr_Format(StructError, in s_pack_internal() 1627 PyErr_Format(StructError, in s_pack() 1668 PyErr_Format(StructError, in s_pack_into() 1672 PyErr_Format(StructError, in s_pack_into() [all …]
|
/external/python/cpython2/Objects/ |
D | descrobject.c | 68 PyErr_Format(PyExc_TypeError, in descr_check() 89 PyErr_Format(PyExc_TypeError, in classmethod_get() 98 PyErr_Format(PyExc_TypeError, in classmethod_get() 107 PyErr_Format(PyExc_TypeError, in classmethod_get() 147 PyErr_Format(PyExc_AttributeError, in getset_get() 170 PyErr_Format(PyExc_TypeError, in descr_setcheck() 202 PyErr_Format(PyExc_AttributeError, in getset_set() 219 PyErr_Format(PyExc_TypeError, in methoddescr_call() 229 PyErr_Format(PyExc_TypeError, in methoddescr_call() 264 PyErr_Format(PyExc_TypeError, in classmethoddescr_call() [all …]
|
D | object.c | 396 PyErr_Format(PyExc_TypeError, in PyObject_Repr() 439 PyErr_Format(PyExc_TypeError, in _PyObject_Str() 1097 PyErr_Format(PyExc_TypeError, "unhashable type: '%.200s'", in PyObject_HashNotImplemented() 1189 PyErr_Format(PyExc_TypeError, in PyObject_GetAttr() 1199 PyErr_Format(PyExc_AttributeError, in PyObject_GetAttr() 1236 PyErr_Format(PyExc_TypeError, in PyObject_SetAttr() 1258 PyErr_Format(PyExc_TypeError, in PyObject_SetAttr() 1265 PyErr_Format(PyExc_TypeError, in PyObject_SetAttr() 1318 PyErr_Format(PyExc_TypeError, in _PyObject_NextNotImplemented() 1349 PyErr_Format(PyExc_TypeError, in _PyObject_GenericGetAttrWithDict() [all …]
|
/external/python/cpython2/Python/ |
D | import.c | 590 PyErr_Format(PyExc_SystemError, in _PyImport_FixupExtension() 737 PyErr_Format(PyExc_ImportError, in PyImport_ExecCodeModuleEx() 827 PyErr_Format(PyExc_ImportError, in read_compiled_module() 848 PyErr_Format(PyExc_ImportError, in load_compiled_module() 1034 PyErr_Format(PyExc_RuntimeError, in win32_mtime() 1065 PyErr_Format(PyExc_RuntimeError, in load_source_module() 1400 PyErr_Format(PyExc_ImportError, in find_module() 1607 PyErr_Format(PyExc_ImportError, in find_module() 1700 PyErr_Format(PyExc_NameError, in case_ok() 1718 PyErr_Format(PyExc_NameError, in case_ok() [all …]
|
D | dynload_next.c | 96 PyErr_Format(PyExc_ImportError, in _PyImport_GetDynLoadFunc() 106 PyErr_Format(PyExc_ImportError, in _PyImport_GetDynLoadFunc()
|
D | getargs.c | 357 PyErr_Format(PyExc_SystemError, in vgetargs1() 1149 PyErr_Format(PyExc_TypeError, in convertsimple() 1600 PyErr_Format(PyExc_TypeError, "%s%s takes at most %d " in vgetargskeywords() 1618 PyErr_Format(PyExc_RuntimeError, in vgetargskeywords() 1631 PyErr_Format(PyExc_TypeError, in vgetargskeywords() 1654 PyErr_Format(PyExc_TypeError, "Required argument " in vgetargskeywords() 1670 PyErr_Format(PyExc_RuntimeError, "%s: '%s'", msg, in vgetargskeywords() 1677 PyErr_Format(PyExc_RuntimeError, in vgetargskeywords() 1703 PyErr_Format(PyExc_TypeError, in vgetargskeywords() 1874 PyErr_Format( in PyArg_UnpackTuple() [all …]
|
D | Python-ast.c | 404 PyErr_Format(PyExc_TypeError, "%.400s constructor takes %s" in ast_type_init() 600 PyErr_Format(PyExc_TypeError, in obj2ast_identifier() 623 PyErr_Format(PyExc_ValueError, "invalid integer value: %.400s", in obj2ast_int() 641 PyErr_Format(PyExc_ValueError, "invalid boolean value: %.400s", in obj2ast_bool() 2955 PyErr_Format(PyExc_SystemError, "unknown expr_context found"); in ast2obj_expr_context() 3030 PyErr_Format(PyExc_SystemError, "unknown boolop found"); in ast2obj_boolop() 3075 PyErr_Format(PyExc_SystemError, "unknown operator found"); in ast2obj_operator() 3096 PyErr_Format(PyExc_SystemError, "unknown unaryop found"); in ast2obj_unaryop() 3135 PyErr_Format(PyExc_SystemError, "unknown cmpop found"); in ast2obj_cmpop() 3344 …PyErr_Format(PyExc_TypeError, "Module field \"body\" must be a list, not a %.200s", tmp->ob_type->… in obj2ast_mod() [all …]
|
D | random.c | 146 PyErr_Format(PyExc_ValueError, in vms_urandom() 284 PyErr_Format(PyExc_RuntimeError, in dev_urandom_python() 334 PyErr_Format(PyExc_ValueError, in _PyOS_URandom()
|
/external/python/cpython2/Modules/_sqlite/ |
D | statement.c | 241 …PyErr_Format(pysqlite_ProgrammingError, "Incorrect number of bindings supplied. The current statem… in pysqlite_statement_bind_parameters() 276 …PyErr_Format(pysqlite_InterfaceError, "Error binding parameter %d - probably unsupported type.", i… in pysqlite_statement_bind_parameters() 288 …PyErr_Format(pysqlite_ProgrammingError, "Binding %d has no name, but you supplied a dictionary (wh… in pysqlite_statement_bind_parameters() 300 … PyErr_Format(pysqlite_ProgrammingError, "You did not supply a value for binding %d.", i); in pysqlite_statement_bind_parameters() 321 …PyErr_Format(pysqlite_InterfaceError, "Error binding parameter :%s - probably unsupported type.", … in pysqlite_statement_bind_parameters()
|
/external/python/cpython2/Mac/Modules/cf/ |
D | pycfbridge.c | 166 PyErr_Format(PyExc_TypeError, in PyCF_Python2CF_sequence() 205 PyErr_Format(PyExc_TypeError, in PyCF_Python2CF_mapping() 272 PyErr_Format(PyExc_TypeError, in PyCF_Python2CF_simple() 299 PyErr_Format(PyExc_TypeError, in PyCF_Python2CF_string()
|
/external/python/cpython2/Doc/includes/ |
D | capsulethunk.h | 98 PyErr_Format(PyExc_ImportError, in PyCapsule_Import() 119 PyErr_Format(PyExc_AttributeError, in PyCapsule_Import()
|
/external/python/cpython2/Modules/_ctypes/ |
D | callproc.c | 273 PyErr_Format(PyExc_WindowsError, in SetException() 277 PyErr_Format(PyExc_WindowsError, in SetException() 729 PyErr_Format(PyExc_TypeError, in ConvParam() 875 PyErr_Format(PyExc_RuntimeError, in _call_function_pointer() 883 PyErr_Format(PyExc_ValueError, in _call_function_pointer() 889 PyErr_Format(PyExc_ValueError, in _call_function_pointer() 895 PyErr_Format(PyExc_ValueError, in _call_function_pointer() 1353 PyErr_Format(PyExc_TypeError, in call_commethod() 1360 PyErr_Format(PyExc_TypeError, in call_commethod() 1615 PyErr_Format(PyExc_TypeError, in byref() [all …]
|
D | _ctypes.c | 527 PyErr_Format(PyExc_ValueError, in CDataType_from_buffer() 587 PyErr_Format(PyExc_ValueError, in CDataType_from_buffer_copy() 640 PyErr_Format(PyExc_ValueError, in CDataType_in_dll() 650 PyErr_Format(PyExc_ValueError, in CDataType_in_dll() 695 PyErr_Format(PyExc_TypeError, in CDataType_from_param() 707 PyErr_Format(PyExc_TypeError, in CDataType_from_param() 727 return PyErr_Format(PyExc_ValueError, in CDataType_repeat() 1210 PyErr_Format(PyExc_TypeError, in CharArray_set_value() 1270 PyErr_Format(PyExc_TypeError, in WCharArray_set_value() 1976 PyErr_Format(PyExc_AttributeError, in PyCSimpleType_new() [all …]
|