Searched refs:allow_nan (Results 1 – 6 of 6) sorted by relevance
/third_party/python/Lib/json/ |
D | __init__.py | 114 allow_nan=True, 121 allow_nan=True, cls=None, indent=None, separators=None, argument 166 check_circular and allow_nan and 174 check_circular=check_circular, allow_nan=allow_nan, indent=indent, 184 allow_nan=True, cls=None, indent=None, separators=None, argument 228 check_circular and allow_nan and 236 check_circular=check_circular, allow_nan=allow_nan, indent=indent,
|
D | encoder.py | 105 check_circular=True, allow_nan=True, sort_keys=False, argument 150 self.allow_nan = allow_nan 223 def floatstr(o, allow_nan=self.allow_nan, argument 238 if not allow_nan: 251 self.skipkeys, self.allow_nan)
|
/third_party/python/Lib/test/test_json/ |
D | test_float.py | 29 self.assertRaises(ValueError, self.dumps, [val], allow_nan=False)
|
/third_party/python/Modules/ |
D | _json.c | 60 int allow_nan; member 1243 int sort_keys, skipkeys, allow_nan; in encoder_new() local 1248 &sort_keys, &skipkeys, &allow_nan)) in encoder_new() 1270 s->allow_nan = allow_nan; in encoder_new() 1349 if (!s->allow_nan) { in encoder_encode_float()
|
/third_party/python/Doc/library/ |
D | json.rst | 145 check_circular=True, allow_nan=True, cls=None, \ 169 If *allow_nan* is false (default: ``True``), then it will be a 172 If *allow_nan* is true, their JavaScript equivalents (``NaN``, 215 check_circular=True, allow_nan=True, cls=None, \ 402 .. class:: JSONEncoder(*, skipkeys=False, ensure_ascii=True, check_circular=True, allow_nan=True, s… 449 If *allow_nan* is true (the default), then ``NaN``, ``Infinity``, and 620 In the serializer, the *allow_nan* parameter can be used to alter this
|
/third_party/mesa3d/src/gallium/tools/trace/ |
D | diff_state.py | 134 self._write(json.dumps(node, allow_nan=True))
|