Home
last modified time | relevance | path

Searched refs:JSONDecodeError (Results 1 – 25 of 95) sorted by relevance

1234

/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/json/
Ddecoder.py20 class JSONDecodeError(ValueError): class
67 raise JSONDecodeError(msg, s, pos)
85 raise JSONDecodeError("Unterminated string starting at", s, begin)
99 raise JSONDecodeError(msg, s, end)
106 raise JSONDecodeError("Unterminated string starting at",
114 raise JSONDecodeError(msg, s, end)
163 raise JSONDecodeError(
174 raise JSONDecodeError("Expecting ':' delimiter", s, end)
188 raise JSONDecodeError("Expecting value", s, err.value) from None
202 raise JSONDecodeError("Expecting ',' delimiter", s, end - 1)
[all …]
D__init__.py106 from .decoder import JSONDecoder, JSONDecodeError
335 raise JSONDecodeError("Unexpected UTF-8 BOM (decode using utf-8-sig)",
/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/json/
H A Ddecoder.py20 class JSONDecodeError(ValueError): class
67 raise JSONDecodeError(msg, s, pos)
85 raise JSONDecodeError("Unterminated string starting at", s, begin)
99 raise JSONDecodeError(msg, s, end)
106 raise JSONDecodeError("Unterminated string starting at",
114 raise JSONDecodeError(msg, s, end)
163 raise JSONDecodeError(
174 raise JSONDecodeError("Expecting ':' delimiter", s, end)
188 raise JSONDecodeError("Expecting value", s, err.value) from None
202 raise JSONDecodeError("Expecting ',' delimiter", s, end - 1)
[all …]
H A D__init__.py106 from .decoder import JSONDecoder, JSONDecodeError
335 raise JSONDecodeError("Unexpected UTF-8 BOM (decode using utf-8-sig)",
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/json/
Ddecoder.py20 class JSONDecodeError(ValueError): class
67 raise JSONDecodeError(msg, s, pos)
85 raise JSONDecodeError("Unterminated string starting at", s, begin)
99 raise JSONDecodeError(msg, s, end)
106 raise JSONDecodeError("Unterminated string starting at",
114 raise JSONDecodeError(msg, s, end)
163 raise JSONDecodeError(
174 raise JSONDecodeError("Expecting ':' delimiter", s, end)
188 raise JSONDecodeError("Expecting value", s, err.value) from None
202 raise JSONDecodeError("Expecting ',' delimiter", s, end - 1)
[all …]
D__init__.py106 from .decoder import JSONDecoder, JSONDecodeError
335 raise JSONDecodeError("Unexpected UTF-8 BOM (decode using utf-8-sig)",
/aosp_15_r20/external/python/cpython3/Lib/json/
Ddecoder.py20 class JSONDecodeError(ValueError): class
67 raise JSONDecodeError(msg, s, pos)
85 raise JSONDecodeError("Unterminated string starting at", s, begin)
99 raise JSONDecodeError(msg, s, end)
106 raise JSONDecodeError("Unterminated string starting at",
114 raise JSONDecodeError(msg, s, end)
163 raise JSONDecodeError(
174 raise JSONDecodeError("Expecting ':' delimiter", s, end)
188 raise JSONDecodeError("Expecting value", s, err.value) from None
202 raise JSONDecodeError("Expecting ',' delimiter", s, end - 1)
[all …]
D__init__.py106 from .decoder import JSONDecoder, JSONDecodeError
335 raise JSONDecodeError("Unexpected UTF-8 BOM (decode using utf-8-sig)",
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/json/
Ddecoder.py20 class JSONDecodeError(ValueError): class
67 raise JSONDecodeError(msg, s, pos)
85 raise JSONDecodeError("Unterminated string starting at", s, begin)
99 raise JSONDecodeError(msg, s, end)
106 raise JSONDecodeError("Unterminated string starting at",
114 raise JSONDecodeError(msg, s, end)
163 raise JSONDecodeError(
174 raise JSONDecodeError("Expecting ':' delimiter", s, end)
188 raise JSONDecodeError("Expecting value", s, err.value) from None
202 raise JSONDecodeError("Expecting ',' delimiter", s, end - 1)
[all …]
D__init__.py106 from .decoder import JSONDecoder, JSONDecodeError
335 raise JSONDecodeError("Unexpected UTF-8 BOM (decode using utf-8-sig)",
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/json/
Ddecoder.py20 class JSONDecodeError(ValueError): class
67 raise JSONDecodeError(msg, s, pos)
85 raise JSONDecodeError("Unterminated string starting at", s, begin)
99 raise JSONDecodeError(msg, s, end)
106 raise JSONDecodeError("Unterminated string starting at",
114 raise JSONDecodeError(msg, s, end)
163 raise JSONDecodeError(
174 raise JSONDecodeError("Expecting ':' delimiter", s, end)
188 raise JSONDecodeError("Expecting value", s, err.value) from None
202 raise JSONDecodeError("Expecting ',' delimiter", s, end - 1)
[all …]
D__init__.py106 from .decoder import JSONDecoder, JSONDecodeError
335 raise JSONDecodeError("Unexpected UTF-8 BOM (decode using utf-8-sig)",
/aosp_15_r20/external/python/cpython3/Lib/test/test_json/
D__init__.py14 cjson.JSONDecodeError = cjson.decoder.JSONDecodeError = json.JSONDecodeError
21 JSONDecodeError = staticmethod(pyjson.JSONDecodeError) variable in PyTest
29 JSONDecodeError = staticmethod(cjson.JSONDecodeError) variable in CTest
Dtest_fail.py89 except self.JSONDecodeError:
129 with self.assertRaises(self.JSONDecodeError) as cm:
165 with self.assertRaises(self.JSONDecodeError) as cm:
188 with self.assertRaises(self.JSONDecodeError) as cm:
207 with self.assertRaises(self.JSONDecodeError) as cm:
Dtest_decode.py69 self.assertRaisesRegex(self.JSONDecodeError, msg, self.loads, s)
74 self.assertRaisesRegex(self.JSONDecodeError, msg, self.loads, s)
84 with self.assertRaises(self.JSONDecodeError) as cm:
87 with self.assertRaises(self.JSONDecodeError) as cm:
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/site-packages/pip/_vendor/requests/
Dexceptions.py9 from .compat import JSONDecodeError as CompatJSONDecodeError
31 class JSONDecodeError(InvalidJSONError, CompatJSONDecodeError): class
Dmodels.py31 JSONDecodeError,
49 from .exceptions import JSONDecodeError as RequestsJSONDecodeError
967 except JSONDecodeError as e:
972 except JSONDecodeError as e:
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/site-packages/pip/_vendor/requests/
Dexceptions.py9 from .compat import JSONDecodeError as CompatJSONDecodeError
31 class JSONDecodeError(InvalidJSONError, CompatJSONDecodeError): class
Dmodels.py31 JSONDecodeError,
49 from .exceptions import JSONDecodeError as RequestsJSONDecodeError
967 except JSONDecodeError as e:
972 except JSONDecodeError as e:
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/site-packages/pip/_vendor/requests/
Dexceptions.py9 from .compat import JSONDecodeError as CompatJSONDecodeError
31 class JSONDecodeError(InvalidJSONError, CompatJSONDecodeError): class
Dmodels.py31 JSONDecodeError,
49 from .exceptions import JSONDecodeError as RequestsJSONDecodeError
967 except JSONDecodeError as e:
972 except JSONDecodeError as e:
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/site-packages/pip/_vendor/requests/
Dexceptions.py9 from .compat import JSONDecodeError as CompatJSONDecodeError
31 class JSONDecodeError(InvalidJSONError, CompatJSONDecodeError): class
Dmodels.py31 JSONDecodeError,
49 from .exceptions import JSONDecodeError as RequestsJSONDecodeError
967 except JSONDecodeError as e:
972 except JSONDecodeError as e:
/aosp_15_r20/external/python/cpython3/Modules/
D_json.c327 _Py_IDENTIFIER(JSONDecodeError); in raise_errmsg()
328 PyObject *JSONDecodeError = _PyObject_GetAttrId(decoder, &PyId_JSONDecodeError); in raise_errmsg() local
330 if (JSONDecodeError == NULL) { in raise_errmsg()
335 exc = PyObject_CallFunction(JSONDecodeError, "zOn", msg, s, end); in raise_errmsg()
336 Py_DECREF(JSONDecodeError); in raise_errmsg()
338 PyErr_SetObject(JSONDecodeError, exc); in raise_errmsg()
/aosp_15_r20/build/make/ci/
H A Doptimized_targets_test.py174 with self.assertRaises(json.decoder.JSONDecodeError):
183 with self.assertRaises(json.decoder.JSONDecodeError):

1234