Searched refs:lookup_error (Results 1 – 15 of 15) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_codeccallbacks.py | 278 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 …]
|
D | test_codecs.py | 878 self.assertTrue(codecs.lookup_error("surrogatepass"))
|
/external/python/cpython2/Lib/test/ |
D | test_codeccallbacks.py | 314 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/ |
D | codecs.py | 1097 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.py | 2035 codecs.lookup_error(errors)
|
/external/llvm-project/lldb/source/Target/ |
D | ABI.cpp | 200 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/ |
D | codecs.py | 1088 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/ |
D | codecs.py | 19 base_error_handler = codecs.lookup_error(errors)
|
/external/rust/crates/tinytemplate/src/ |
D | error.rs | 126 pub(crate) fn lookup_error(source: &str, step: &str, path: PathSlice, current: &Value) -> Error { in lookup_error() function
|
D | template.rs | 77 None => return Err(lookup_error(self.original_text, step, path, current)), in lookup_in()
|
/external/python/cpython2/Modules/ |
D | _codecsmodule.c | 1043 static PyObject *lookup_error(PyObject *self, PyObject *args) in lookup_error() function 1107 {"lookup_error", lookup_error, METH_VARARGS,
|
/external/python/cpython2/Doc/library/ |
D | codecs.rst | 200 .. function:: lookup_error(name)
|
/external/python/cpython3/Doc/library/ |
D | codecs.rst | 406 .. function:: lookup_error(name)
|
/external/python/cpython3/Doc/whatsnew/ |
D | 2.3.rst | 632 can access the error handler with :func:`codecs.lookup_error`. An equivalent C
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.3.rst | 632 can access the error handler with :func:`codecs.lookup_error`. An equivalent C
|