HomeSort by relevance Sort by last modified time
    Searched refs:dict (Results 51 - 75 of 2033) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/autotest/client/common_lib/cros/fake_device_server/
resource_method_unittest.py 23 """Sets up resource_method object and dict of resources."""
32 expected_resource = dict(id=1234, blah='hi')
33 update_resource = dict(blah='hi')
34 self.resources[(1234, None)] = dict(id=1234)
48 update_resource = dict(id=12345, blah='hi')
49 self.resources[(12345, None)] = dict(id=12345)
63 update_resource = dict(id=12346, blah='hi')
registration_tickets_unittest.py 48 self.tickets[(1234, None)] = dict(id=1234)
53 expected_ticket = dict(
55 deviceDraft=dict(name='buffet_device',
56 channel=dict(supportedType='xmpp')))
81 self.tickets[(1234, None)] = dict(id=1234)
92 expected_ticket = dict(id=1234, blah='hi')
93 update_ticket = dict(blah='hi')
94 self.tickets[(1234, None)] = dict(id=1234)
108 update_ticket = dict(id=12345, blah='hi')
109 self.tickets[(12345, None)] = dict(id=12345
    [all...]
common_util_unittest.py 24 json_data = json.dumps(dict(a='b', b='c'))
53 dict(key=key), supported_operations=set(['boogity']))
59 id, api_key, op = common_util.parse_common_args((id,), dict(key=key))
65 id, api_key, op = common_util.parse_common_args((id,), dict())
71 id, api_key, op = common_util.parse_common_args(tuple(), dict())
79 (id, 'lame', 'stuff',), dict())
84 (id, 'boogity'), dict())
devices_unittest.py 40 good_device_config = dict(userEmail='buffet@tasty.org',
42 channel=dict(supportedType='xmpp'))
50 bad_device_config = dict(name='buffet_device')
57 self.devices_resource[(1234, None)] = dict(id=1234)
69 self.devices_resource[(1234, None)] = dict(id=1234)
70 self.devices_resource[(1235, None)] = dict(id=1235, boogity='taco')
84 self.devices_resource[(12345, None)] = dict(id=12345, nobody='care')
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_descrtut.py 14 class defaultdict(dict):
16 dict.__init__(self)
21 return dict.__getitem__(self, key)
28 return dict.get(self, key, *args)
59 >>> a.merge({1:100, 2:200}) # use a dict method
104 class defaultdict2(dict):
108 dict.__init__(self)
113 return dict.__getitem__(self, key)
120 return dict.get(self, key, *args)
161 >>> isinstance([], dict)
    [all...]
  /external/python/cpython2/Lib/plat-mac/
aepack.py 306 def mkrange(dict):
307 return aetypes.Range(dict['star'], dict['stop'])
309 def mkcomparison(dict):
310 return aetypes.Comparison(dict['obj1'], dict['relo'].enum, dict['obj2'])
312 def mklogical(dict):
313 return aetypes.Logical(dict['logc'], dict['term']
    [all...]
  /external/python/cpython2/Lib/test/
test_descrtut.py 14 class defaultdict(dict):
16 dict.__init__(self)
21 return dict.__getitem__(self, key)
28 return dict.get(self, key, *args)
59 >>> a.merge({1:100, 2:200}) # use a dict method
104 class defaultdict2(dict):
108 dict.__init__(self)
113 return dict.__getitem__(self, key)
120 return dict.get(self, key, *args)
161 >>> isinstance([], dict)
    [all...]
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DictEncoder.java 31 public void writeDictionary(final FusionDictionary dict, final FormatOptions formatOptions)
37 public void writePtNode(final PtNode ptNode, final FusionDictionary dict,
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/personalization/
UserHistoryDictionaryTestsHelper.java 70 * @param dict {@link UserHistoryDictionary} to which words should be added.
77 public static boolean addAndWriteRandomWords(final UserHistoryDictionary dict,
82 addWordsToDictionary(dict, words, currentTime);
85 dict.waitAllTasksForTests();
88 if (!dict.isInDictionary(word)) {
95 dict.close();
96 dict.waitAllTasksForTests();
100 private static void addWordsToDictionary(final UserHistoryDictionary dict,
105 UserHistoryDictionary.addToDictionary(dict, ngramContext, word, true, timestamp);
  /prebuilts/gdb/darwin-x86/lib/python2.7/plat-mac/
aepack.py 306 def mkrange(dict):
307 return aetypes.Range(dict['star'], dict['stop'])
309 def mkcomparison(dict):
310 return aetypes.Comparison(dict['obj1'], dict['relo'].enum, dict['obj2'])
312 def mklogical(dict):
313 return aetypes.Logical(dict['logc'], dict['term']
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_descrtut.py 14 class defaultdict(dict):
16 dict.__init__(self)
21 return dict.__getitem__(self, key)
28 return dict.get(self, key, *args)
59 >>> a.merge({1:100, 2:200}) # use a dict method
104 class defaultdict2(dict):
108 dict.__init__(self)
113 return dict.__getitem__(self, key)
120 return dict.get(self, key, *args)
161 >>> isinstance([], dict)
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_descrtut.py 14 class defaultdict(dict):
16 dict.__init__(self)
21 return dict.__getitem__(self, key)
28 return dict.get(self, key, *args)
59 >>> a.merge({1:100, 2:200}) # use a dict method
104 class defaultdict2(dict):
108 dict.__init__(self)
113 return dict.__getitem__(self, key)
120 return dict.get(self, key, *args)
161 >>> isinstance([], dict)
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/
aepack.py 306 def mkrange(dict):
307 return aetypes.Range(dict['star'], dict['stop'])
309 def mkcomparison(dict):
310 return aetypes.Comparison(dict['obj1'], dict['relo'].enum, dict['obj2'])
312 def mklogical(dict):
313 return aetypes.Logical(dict['logc'], dict['term']
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_descrtut.py 14 class defaultdict(dict):
16 dict.__init__(self)
21 return dict.__getitem__(self, key)
28 return dict.get(self, key, *args)
59 >>> a.merge({1:100, 2:200}) # use a dict method
104 class defaultdict2(dict):
108 dict.__init__(self)
113 return dict.__getitem__(self, key)
120 return dict.get(self, key, *args)
161 >>> isinstance([], dict)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_descrtut.py 14 class defaultdict(dict):
16 dict.__init__(self)
21 return dict.__getitem__(self, key)
28 return dict.get(self, key, *args)
59 >>> a.merge({1:100, 2:200}) # use a dict method
104 class defaultdict2(dict):
108 dict.__init__(self)
113 return dict.__getitem__(self, key)
120 return dict.get(self, key, *args)
161 >>> isinstance([], dict)
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
_functoolsmodule.c 97 PyObject *dict; member in struct:__anon5446
143 pto->dict = NULL;
157 Py_XDECREF(pto->dict);
213 Py_VISIT(pto->dict);
235 if (pto->dict == NULL) {
236 pto->dict = PyDict_New();
237 if (pto->dict == NULL)
240 Py_INCREF(pto->dict);
241 return pto->dict;
258 "setting partial object's dictionary to a non-dict");
291 PyObject *fn, *fnargs, *kw, *dict; local
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
_functoolsmodule.c 97 PyObject *dict; member in struct:__anon5756
147 pto->dict = NULL;
161 Py_XDECREF(pto->dict);
217 Py_VISIT(pto->dict);
239 if (pto->dict == NULL) {
240 pto->dict = PyDict_New();
241 if (pto->dict == NULL)
244 Py_INCREF(pto->dict);
245 return pto->dict;
262 "setting partial object's dictionary to a non-dict");
295 PyObject *fn, *fnargs, *kw, *dict; local
    [all...]
  /external/python/cpython2/Lib/
UserDict.py 13 dict = args[0]
14 elif 'dict' in kwargs:
15 dict = kwargs.pop('dict')
17 warnings.warn("Passing 'dict' as keyword argument is "
21 dict = None
23 if dict is not None:
24 self.update(dict)
28 def __cmp__(self, dict):
29 if isinstance(dict, UserDict)
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/leakers/
test_dictself.py 5 class LeakyDict(dict):
  /external/autotest/frontend/migrations/
045_test_planner_framework.py 255 manager.execute_script(UP_SQL % dict(tko_db_name=tko_manager.get_db_name()))
  /external/markdown/markdown/extensions/
extra.py 49 return ExtraExtension(configs=dict(configs))
  /external/python/cpython2/Lib/test/leakers/
test_dictself.py 5 class LeakyDict(dict):
  /external/selinux/gui/
mappingsPage.py 58 dict = self.login.get_all(0)
59 for k in sorted(dict.keys()):
60 print("%-25s %-25s %-25s" % (k, dict[k][0], translate(dict[k][1])))
  /external/libxml2/
testdict.c 3 #include <libxml/dict.h>
151 xmlDictPtr dict; local
157 dict = xmlDictCreateSub(parent);
158 if (dict == NULL) {
171 test2[i] = xmlDictLookup(dict, strings2[i], -1);
181 test2[j] = xmlDictLookup(dict, strings2[j], xmlStrlen(strings2[j]));
191 test2[j] = xmlDictLookup(dict, strings2[j], xmlStrlen(strings2[j]));
207 test2[i] = xmlDictLookup(dict, strings2[i], -1);
217 * the dict, and that none of them was actually allocated in the parent
220 if (!xmlDictOwns(dict, test2[i]))
314 xmlDictPtr dict; local
    [all...]
  /packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
OpenWnnClauseConverterJAJP.java 85 * @param dict The dictionary for phrase conversion
87 public void setDictionary(WnnDictionary dict) {
89 mConnectMatrix = dict.getConnectMatrix();
92 mDictionary = dict;
93 dict.clearDictionary();
94 dict.clearApproxPattern();
102 mPosDefault = dict.getPOS(WnnDictionary.POS_TYPE_MEISI);
103 mPosEndOfClause1 = dict.getPOS(WnnDictionary.POS_TYPE_V1);
104 mPosEndOfClause2 = dict.getPOS(WnnDictionary.POS_TYPE_V2);
105 mPosEndOfClause3 = dict.getPOS(WnnDictionary.POS_TYPE_V3)
409 WnnDictionary dict = mDictionary; local
469 WnnDictionary dict = mDictionary; local
    [all...]

Completed in 1642 milliseconds

1 23 4 5 6 7 8 91011>>