Home
last modified time | relevance | path

Searched refs:lookup_error (Results 1 – 15 of 15) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_codeccallbacks.py278 codecs.register_error("test." + err, codecs.lookup_error(err))
629 surrogateescape_errors = codecs.lookup_error('surrogateescape')
673 surrogatepass_errors = codecs.lookup_error('surrogatepass')
770 self.assertEqual(codecs.strict_errors, codecs.lookup_error("strict"))
771 self.assertEqual(codecs.ignore_errors, codecs.lookup_error("ignore"))
772 self.assertEqual(codecs.strict_errors, codecs.lookup_error("strict"))
775 codecs.lookup_error("xmlcharrefreplace")
779 codecs.lookup_error("backslashreplace")
783 codecs.lookup_error("namereplace")
811 self.assertRaises(TypeError, codecs.lookup_error)
[all …]
Dtest_codecs.py878 self.assertTrue(codecs.lookup_error("surrogatepass"))
/external/python/cpython2/Lib/test/
Dtest_codeccallbacks.py314 codecs.register_error("test." + err, codecs.lookup_error(err))
645 self.assertEqual(codecs.strict_errors, codecs.lookup_error("strict"))
646 self.assertEqual(codecs.ignore_errors, codecs.lookup_error("ignore"))
647 self.assertEqual(codecs.strict_errors, codecs.lookup_error("strict"))
650 codecs.lookup_error("xmlcharrefreplace")
654 codecs.lookup_error("backslashreplace")
682 self.assertRaises(TypeError, codecs.lookup_error)
687 self.assertRaises(LookupError, codecs.lookup_error, "test.unknown")
/external/python/cpython3/Lib/
Dcodecs.py1097 strict_errors = lookup_error("strict")
1098 ignore_errors = lookup_error("ignore")
1099 replace_errors = lookup_error("replace")
1100 xmlcharrefreplace_errors = lookup_error("xmlcharrefreplace")
1101 backslashreplace_errors = lookup_error("backslashreplace")
1102 namereplace_errors = lookup_error("namereplace")
D_pyio.py2035 codecs.lookup_error(errors)
/external/llvm-project/lldb/source/Target/
DABI.cpp200 std::string lookup_error; in MakeMCRegisterInfo() local
202 llvm::TargetRegistry::lookupTarget(triple, lookup_error); in MakeMCRegisterInfo()
206 lookup_error); in MakeMCRegisterInfo()
/external/python/cpython2/Lib/
Dcodecs.py1088 strict_errors = lookup_error("strict")
1089 ignore_errors = lookup_error("ignore")
1090 replace_errors = lookup_error("replace")
1091 xmlcharrefreplace_errors = lookup_error("xmlcharrefreplace")
1092 backslashreplace_errors = lookup_error("backslashreplace")
/external/fonttools/Lib/fontTools/encodings/
Dcodecs.py19 base_error_handler = codecs.lookup_error(errors)
/external/rust/crates/tinytemplate/src/
Derror.rs126 pub(crate) fn lookup_error(source: &str, step: &str, path: PathSlice, current: &Value) -> Error { in lookup_error() function
Dtemplate.rs77 None => return Err(lookup_error(self.original_text, step, path, current)), in lookup_in()
/external/python/cpython2/Modules/
D_codecsmodule.c1043 static PyObject *lookup_error(PyObject *self, PyObject *args) in lookup_error() function
1107 {"lookup_error", lookup_error, METH_VARARGS,
/external/python/cpython2/Doc/library/
Dcodecs.rst200 .. function:: lookup_error(name)
/external/python/cpython3/Doc/library/
Dcodecs.rst406 .. function:: lookup_error(name)
/external/python/cpython3/Doc/whatsnew/
D2.3.rst632 can access the error handler with :func:`codecs.lookup_error`. An equivalent C
/external/python/cpython2/Doc/whatsnew/
D2.3.rst632 can access the error handler with :func:`codecs.lookup_error`. An equivalent C