HomeSort by relevance Sort by last modified time
    Searched refs:object_pairs_hook (Results 1 - 19 of 19) sorted by null

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/tests/
test_decode.py 36 self.assertEqual(self.loads(s, object_pairs_hook=lambda x: x), p)
38 object_pairs_hook=lambda x: x), p)
39 od = self.loads(s, object_pairs_hook=OrderedDict)
42 # the object_pairs_hook takes priority over the object_hook
43 self.assertEqual(self.loads(s, object_pairs_hook=OrderedDict,
47 self.assertEqual(self.loads('{}', object_pairs_hook=OrderedDict),
50 object_pairs_hook=OrderedDict),
test_unicode.py 62 self.assertEqual(self.loads(s, object_pairs_hook = lambda x: x), p)
63 od = self.loads(s, object_pairs_hook = OrderedDict)
66 # the object_pairs_hook takes priority over the object_hook
68 object_pairs_hook = OrderedDict,
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/tests/
test_decode.py 36 self.assertEqual(self.loads(s, object_pairs_hook=lambda x: x), p)
38 object_pairs_hook=lambda x: x), p)
39 od = self.loads(s, object_pairs_hook=OrderedDict)
42 # the object_pairs_hook takes priority over the object_hook
43 self.assertEqual(self.loads(s, object_pairs_hook=OrderedDict,
47 self.assertEqual(self.loads('{}', object_pairs_hook=OrderedDict),
50 object_pairs_hook=OrderedDict),
test_unicode.py 62 self.assertEqual(self.loads(s, object_pairs_hook = lambda x: x), p)
63 od = self.loads(s, object_pairs_hook = OrderedDict)
66 # the object_pairs_hook takes priority over the object_hook
68 object_pairs_hook = OrderedDict,
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/
scanner.py 26 object_pairs_hook = context.object_pairs_hook
38 _scan_once, object_hook, object_pairs_hook)
decoder.py 150 object_pairs_hook, _w=WHITESPACE.match, _ws=WHITESPACE_STR):
164 if object_pairs_hook is not None:
165 result = object_pairs_hook(pairs)
229 if object_pairs_hook is not None:
230 result = object_pairs_hook(pairs)
305 object_pairs_hook=None):
318 ``object_pairs_hook``, if specified will be called with the result of
320 value of ``object_pairs_hook`` will be used instead of the ``dict``.
324 ``object_hook`` is also defined, the ``object_pairs_hook`` takes
350 self.object_pairs_hook = object_pairs_hoo
    [all...]
__init__.py 254 object_pairs_hook=None) variable
258 parse_int=None, parse_constant=None, object_pairs_hook=None, **kw):
274 ``object_pairs_hook`` is an optional function that will be called with the
276 return value of ``object_pairs_hook`` will be used instead of the ``dict``.
280 ``object_hook`` is also defined, the ``object_pairs_hook`` takes priority.
289 parse_constant=parse_constant, object_pairs_hook=object_pairs_hook,
294 parse_int=None, parse_constant=None, object_pairs_hook=None, **kw):
308 ``object_pairs_hook`` is an optional function that will be called with the
310 return value of ``object_pairs_hook`` will be used instead of the ``dict``
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/
scanner.py 26 object_pairs_hook = context.object_pairs_hook
38 _scan_once, object_hook, object_pairs_hook)
decoder.py 150 object_pairs_hook, _w=WHITESPACE.match, _ws=WHITESPACE_STR):
164 if object_pairs_hook is not None:
165 result = object_pairs_hook(pairs)
229 if object_pairs_hook is not None:
230 result = object_pairs_hook(pairs)
305 object_pairs_hook=None):
318 ``object_pairs_hook``, if specified will be called with the result of
320 value of ``object_pairs_hook`` will be used instead of the ``dict``.
324 ``object_hook`` is also defined, the ``object_pairs_hook`` takes
350 self.object_pairs_hook = object_pairs_hoo
    [all...]
__init__.py 254 object_pairs_hook=None) variable
258 parse_int=None, parse_constant=None, object_pairs_hook=None, **kw):
274 ``object_pairs_hook`` is an optional function that will be called with the
276 return value of ``object_pairs_hook`` will be used instead of the ``dict``.
280 ``object_hook`` is also defined, the ``object_pairs_hook`` takes priority.
289 parse_constant=parse_constant, object_pairs_hook=object_pairs_hook,
294 parse_int=None, parse_constant=None, object_pairs_hook=None, **kw):
308 ``object_pairs_hook`` is an optional function that will be called with the
310 return value of ``object_pairs_hook`` will be used instead of the ``dict``
    [all...]
  /external/chromium_org/tools/json_schema_compiler/
json_parse.py 23 # supports object_pairs_hook.
26 object_pairs_hook=OrderedDict)
30 # support object_pairs_hook. simplejson however does, but it's slow.
57 object_pairs_hook=OrderedDict)
  /external/chromium_org/third_party/simplejson/
scanner.py 29 object_pairs_hook = context.object_pairs_hook
42 _scan_once, object_hook, object_pairs_hook, memo)
tool.py 30 object_pairs_hook=json.OrderedDict,
decoder.py 181 object_pairs_hook, memo=None,
198 if object_pairs_hook is not None:
199 result = object_pairs_hook(pairs)
268 if object_pairs_hook is not None:
269 result = object_pairs_hook(pairs)
344 object_pairs_hook=None):
358 *object_pairs_hook* is an optional function that will be called with
360 The return value of *object_pairs_hook* will be used instead of the
364 insertion). If *object_hook* is also defined, the *object_pairs_hook*
390 self.object_pairs_hook = object_pairs_hoo
    [all...]
__init__.py 338 object_pairs_hook=None) variable
342 parse_int=None, parse_constant=None, object_pairs_hook=None,
360 *object_pairs_hook* is an optional function that will be called with
362 The return value of *object_pairs_hook* will be used instead of the
366 insertion). If *object_hook* is also defined, the *object_pairs_hook*
394 parse_constant=parse_constant, object_pairs_hook=object_pairs_hook,
399 parse_int=None, parse_constant=None, object_pairs_hook=None,
416 *object_pairs_hook* is an optional function that will be called with
418 The return value of *object_pairs_hook* will be used instead of th
    [all...]
  /external/chromium_org/native_client_sdk/src/build_tools/
update_sdktools.py 61 return json.loads(json_string, object_pairs_hook=collections.OrderedDict)
  /external/chromium_org/native_client_sdk/src/tools/
fix_manifest.py 84 data = json.load(f, object_pairs_hook=collections.OrderedDict)
  /external/chromium_org/tools/deep_memory_profiler/lib/
sorter.py 357 sorter_dict = json.load(sorter_f, object_pairs_hook=OrderedDict)
436 templates_dict = json.load(templates_f, object_pairs_hook=OrderedDict)
  /external/chromium_org/tools/deep_memory_profiler/
accumulate.py 212 data = json.loads(cat_input.read(), object_pairs_hook=OrderedDict)

Completed in 1204 milliseconds