/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/tests/ |
test_decode.py | 3 from collections import OrderedDict 39 od = self.loads(s, object_pairs_hook=OrderedDict) 40 self.assertEqual(od, OrderedDict(p)) 41 self.assertEqual(type(od), OrderedDict) 43 self.assertEqual(self.loads(s, object_pairs_hook=OrderedDict, 45 OrderedDict(p)) 47 self.assertEqual(self.loads('{}', object_pairs_hook=OrderedDict), 48 OrderedDict()) 50 object_pairs_hook=OrderedDict), 51 OrderedDict([('empty', OrderedDict())]) [all...] |
test_unicode.py | 1 from collections import OrderedDict 63 od = self.loads(s, object_pairs_hook = OrderedDict) 64 self.assertEqual(od, OrderedDict(p)) 65 self.assertEqual(type(od), OrderedDict) 68 object_pairs_hook = OrderedDict, 70 OrderedDict(p))
|
test_encode_basestring_ascii.py | 1 from collections import OrderedDict 36 s = self.dumps(OrderedDict(items))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/tests/ |
test_decode.py | 3 from collections import OrderedDict 39 od = self.loads(s, object_pairs_hook=OrderedDict) 40 self.assertEqual(od, OrderedDict(p)) 41 self.assertEqual(type(od), OrderedDict) 43 self.assertEqual(self.loads(s, object_pairs_hook=OrderedDict, 45 OrderedDict(p)) 47 self.assertEqual(self.loads('{}', object_pairs_hook=OrderedDict), 48 OrderedDict()) 50 object_pairs_hook=OrderedDict), 51 OrderedDict([('empty', OrderedDict())]) [all...] |
test_unicode.py | 1 from collections import OrderedDict 63 od = self.loads(s, object_pairs_hook = OrderedDict) 64 self.assertEqual(od, OrderedDict(p)) 65 self.assertEqual(type(od), OrderedDict) 68 object_pairs_hook = OrderedDict, 70 OrderedDict(p))
|
test_encode_basestring_ascii.py | 1 from collections import OrderedDict 36 s = self.dumps(OrderedDict(items))
|
/external/chromium_org/tools/deep_memory_profiler/lib/ |
ordered_dict.py | 11 from collections import OrderedDict # pylint: disable=E0611,W0611 19 from simplejson import OrderedDict # pylint: disable=W0611
|
/external/chromium_org/tools/json_schema_compiler/ |
json_parse.py | 20 from collections import OrderedDict 26 object_pairs_hook=OrderedDict) 51 from simplejson import OrderedDict 57 object_pairs_hook=OrderedDict) 61 return isinstance(item, (dict, OrderedDict))
|
idl_schema.py | 12 from json_parse import OrderedDict 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/tools/deep_memory_profiler/subcommands/ |
cat.py | 9 from lib.ordered_dict import OrderedDict 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/ |
odict.py | 1 class OrderedDict(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, self).__getitem__(key [all...] |
blockparser.py | 45 self.blockprocessors = markdown.odict.OrderedDict()
|
/external/chromium_org/third_party/markdown/ |
odict.py | 44 class OrderedDict(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, self).setdefault(key, default [all...] |
blockparser.py | 79 self.blockprocessors = odict.OrderedDict()
|
/external/chromium_org/build/android/gyp/ |
java_cpp_enum_tests.py | 53 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),
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_collections.py | 5 from collections import namedtuple, Counter, OrderedDict 769 OrderedDict([('a', 1), ('b', 2)], None) # too many args 771 self.assertEqual(sorted(OrderedDict(dict(pairs)).items()), pairs) # dict input 772 self.assertEqual(sorted(OrderedDict(**dict(pairs)).items()), pairs) # kwds input 773 self.assertEqual(list(OrderedDict(pairs).items()), pairs) # pairs input 774 self.assertEqual(list(OrderedDict([('a', 1), ('b', 2), ('c', 9), ('d', 4)], 778 self.assertEqual(inspect.getargspec(OrderedDict.__dict__['__init__']).args, [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_collections.py | 5 from collections import namedtuple, Counter, OrderedDict 769 OrderedDict([('a', 1), ('b', 2)], None) # too many args 771 self.assertEqual(sorted(OrderedDict(dict(pairs)).items()), pairs) # dict input 772 self.assertEqual(sorted(OrderedDict(**dict(pairs)).items()), pairs) # kwds input 773 self.assertEqual(list(OrderedDict(pairs).items()), pairs) # pairs input 774 self.assertEqual(list(OrderedDict([('a', 1), ('b', 2), ('c', 9), ('d', 4)], 778 self.assertEqual(inspect.getargspec(OrderedDict.__dict__['__init__']).args, [all...] |
/external/chromium_org/third_party/simplejson/ |
tool.py | 30 object_pairs_hook=json.OrderedDict,
|
ordered_dict.py | 1 """Drop-in replacement for collections.OrderedDict by Raymond Hettinger 19 class OrderedDict(dict, DictMixin): 113 if isinstance(other, OrderedDict):
|
/external/chromium_org/tools/find_runtime_symbols/ |
find_runtime_symbols.py | 27 from collections import OrderedDict # pylint: disable=E0611 32 from simplejson import OrderedDict 121 result = OrderedDict() 134 result = OrderedDict() 147 result = OrderedDict()
|
/external/chromium_org/tools/deep_memory_profiler/ |
accumulate.py | 23 from lib.ordered_dict import OrderedDict 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/qemu/scripts/ |
ordereddict.py | 25 class OrderedDict(dict, DictMixin): 117 if isinstance(other, OrderedDict):
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/ |
util.py | 2 from collections import namedtuple, OrderedDict 137 c = OrderedDict()
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/ |
util.py | 2 from collections import namedtuple, OrderedDict 137 c = OrderedDict()
|
/external/chromium_org/chrome/common/extensions/docs/server2/test_data/ |
canned_data.py | 8 from third_party.json_schema_compiler.json_parse import OrderedDict 12 CANNED_CHANNELS = OrderedDict([ 20 CANNED_BRANCHES = OrderedDict([ [all...] |