Searched refs:OrderedDict (Results 1 - 25 of 48) sorted by relevance

12

/external/chromium_org/tools/deep_memory_profiler/lib/
H A Dordered_dict.py11 from collections import OrderedDict # pylint: disable=E0611,W0611 namespace
19 from simplejson import OrderedDict # pylint: disable=W0611 namespace
/external/chromium_org/tools/json_schema_compiler/
H A Djson_parse.py20 from collections import OrderedDict namespace
26 object_pairs_hook=OrderedDict)
51 from simplejson import OrderedDict namespace
57 object_pairs_hook=OrderedDict)
61 return isinstance(item, (dict, OrderedDict))
H A Didl_schema.py12 from json_parse import OrderedDict namespace
74 params = OrderedDict()
143 properties = OrderedDict()
171 properties = OrderedDict()
191 parameter_comments = OrderedDict()
242 properties['items'] = OrderedDict()
259 properties['additionalProperties'] = OrderedDict()
271 properties['additionalProperties'] = OrderedDict()
277 OrderedDict()).process(callbacks)
356 self.callbacks = OrderedDict()
[all...]
/external/chromium_org/build/android/gyp/
H A Djava_cpp_enum_tests.py53 self.assertEqual(collections.OrderedDict([('VALUE_ZERO', 0),
82 self.assertEqual(collections.OrderedDict([('A', '1'),
89 self.assertEqual(collections.OrderedDict([('A', 0),
99 self.assertEqual(collections.OrderedDict([('A', 0),
110 self.assertEqual(collections.OrderedDict([('A', '1'),
122 self.assertEqual(collections.OrderedDict([('A', 0),
H A Djava_cpp_enum.py20 self.entries = collections.OrderedDict(entries or [])
66 self.entries = collections.OrderedDict(entries)
/external/chromium_org/tools/deep_memory_profiler/subcommands/
H A Dcat.py9 from lib.ordered_dict import OrderedDict namespace
42 json_root = OrderedDict()
52 orders = OrderedDict()
53 orders['worlds'] = OrderedDict()
55 orders['worlds'][world] = OrderedDict()
56 orders['worlds'][world]['breakdown'] = OrderedDict()
86 root = OrderedDict()
88 root['worlds'] = OrderedDict()
97 root = OrderedDict()
106 root['units'] = OrderedDict()
[all...]
/external/markdown/markdown/
H A Dodict.py1 class OrderedDict(dict): class in inherits:dict
9 instance = super(OrderedDict, cls).__new__(cls, *args, **kwargs)
16 super(OrderedDict, self).__init__(data)
31 super(OrderedDict, self).__setitem__(key, value)
36 super(OrderedDict, self).__delitem__(key)
44 result = super(OrderedDict, self).pop(k, *args)
53 result = super(OrderedDict, self).popitem()
62 yield key, super(OrderedDict, self).__getitem__(key)
71 return [super(OrderedDict, self).__getitem__(k) for k in self.keyOrder]
75 yield super(OrderedDict, sel
[all...]
H A Dblockparser.py45 self.blockprocessors = markdown.odict.OrderedDict()
H A D__init__.py35 Copyright 200? Django Software Foundation (OrderedDict implementation)
215 self.preprocessors = odict.OrderedDict()
249 self.inlinePatterns = odict.OrderedDict()
288 self.treeprocessors = odict.OrderedDict()
294 self.postprocessors = odict.OrderedDict()
/external/chromium_org/third_party/markdown/
H A Dodict.py44 class OrderedDict(dict): class in inherits:dict
52 instance = super(OrderedDict, cls).__new__(cls, *args, **kwargs)
59 super(OrderedDict, self).__init__(data)
62 super(OrderedDict, self).__init__()
63 super_set = super(OrderedDict, self).__setitem__
84 super(OrderedDict, self).__setitem__(key, value)
87 super(OrderedDict, self).__delitem__(key)
97 result = super(OrderedDict, self).pop(k, *args)
106 result = super(OrderedDict, self).popitem()
147 return super(OrderedDict, sel
[all...]
H A Dblockparser.py79 self.blockprocessors = odict.OrderedDict()
H A Dpostprocessors.py52 postprocessors = odict.OrderedDict()
/external/chromium_org/third_party/simplejson/
H A Dtool.py30 object_pairs_hook=json.OrderedDict,
H A Dordered_dict.py1 """Drop-in replacement for collections.OrderedDict by Raymond Hettinger
19 class OrderedDict(dict, DictMixin): class in inherits:dict, DictMixin
113 if isinstance(other, OrderedDict):
H A D__init__.py104 'OrderedDict', 'simple_first',
116 return collections.OrderedDict
119 return ordered_dict.OrderedDict
120 OrderedDict = _import_OrderedDict() variable
365 example, :func:`collections.OrderedDict` will remember the order of
421 example, :func:`collections.OrderedDict` will remember the order of
/external/chromium_org/tools/deep_memory_profiler/
H A Daccumulate.py23 from lib.ordered_dict import OrderedDict namespace
58 category_tree = OrderedDict()
122 if isinstance(sub, dict) or isinstance(sub, OrderedDict):
134 isinstance(category_tree[label], OrderedDict)):
145 flattened = OrderedDict()
212 data = json.loads(cat_input.read(), object_pairs_hook=OrderedDict)
/external/chromium_org/tools/find_runtime_symbols/
H A Dfind_runtime_symbols.py27 from collections import OrderedDict # pylint: disable=E0611 namespace
32 from simplejson import OrderedDict namespace
121 result = OrderedDict()
134 result = OrderedDict()
147 result = OrderedDict()
/external/qemu/scripts/
H A Dordereddict.py25 class OrderedDict(dict, DictMixin): class in inherits:dict, DictMixin
117 if isinstance(other, OrderedDict):
H A Dqapi.py14 from ordereddict import OrderedDict namespace
107 expr = OrderedDict()
196 if isinstance(argentry, OrderedDict):
/external/chromium_org/native_client_sdk/src/tools/
H A Dfix_manifest.py84 data = json.load(f, object_pairs_hook=collections.OrderedDict)
/external/chromium_org/chrome/common/extensions/docs/server2/test_data/
H A Dcanned_data.py8 from third_party.json_schema_compiler.json_parse import OrderedDict namespace
12 CANNED_CHANNELS = OrderedDict([
20 CANNED_BRANCHES = OrderedDict([
/external/chromium_org/tools/gyp/pylib/gyp/
H A Dordered_dict.py4 # http://docs.python.org/2/library/collections.html#collections.OrderedDict
29 # Backport of OrderedDict() class that runs on Python 2.4, 2.5, 2.6, 2.7 and pypy.
43 class OrderedDict(dict): class in inherits:dict
169 # Suppress 'OrderedDict.update: Method has no argument':
243 for k in vars(OrderedDict()):
269 if isinstance(other, OrderedDict):
/external/chromium_org/native_client_sdk/src/build_tools/
H A Dupdate_sdktools.py61 return json.loads(json_string, object_pairs_hook=collections.OrderedDict)
/external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/
H A Dinspector_backend_list.py32 self._inspectable_contexts_dict = collections.OrderedDict()
/external/chromium_org/third_party/markdown/extensions/
H A Dfootnotes.py66 from ..odict import OrderedDict namespace
125 self.footnotes = OrderedDict()

Completed in 462 milliseconds

12