HomeSort by relevance Sort by last modified time
    Searched refs:dict (Results 251 - 275 of 2670) sorted by null

<<11121314151617181920>>

  /external/python/cpython2/Modules/_io/
bytesio.c 11 PyObject *dict; member in struct:__anon32715
650 PyObject *dict; local
655 if (self->dict == NULL) {
657 dict = Py_None;
660 dict = PyDict_Copy(self->dict);
661 if (dict == NULL)
665 state = Py_BuildValue("(OnN)", initvalue, self->pos, dict);
675 PyObject *dict; local
722 dict = PyTuple_GET_ITEM(state, 2)
    [all...]
stringio.c 25 PyObject *dict; member in struct:__anon32718
502 Py_VISIT(self->dict);
509 Py_CLEAR(self->dict);
525 Py_CLEAR(self->dict);
685 PyObject *dict; local
690 if (self->dict == NULL) {
692 dict = Py_None;
695 dict = PyDict_Copy(self->dict);
696 if (dict == NULL
712 PyObject *dict; local
    [all...]
  /external/python/cpython3/Modules/_io/
bytesio.c 16 PyObject *dict; member in struct:__anon33321
811 PyObject *dict; local
816 if (self->dict == NULL) {
818 dict = Py_None;
821 dict = PyDict_Copy(self->dict);
822 if (dict == NULL) {
828 state = Py_BuildValue("(OnN)", initvalue, self->pos, dict);
838 PyObject *dict; local
886 dict = PyTuple_GET_ITEM(state, 2)
    [all...]
stringio.c 44 PyObject *dict; member in struct:__anon33325
628 Py_VISIT(self->dict);
635 Py_CLEAR(self->dict);
652 Py_CLEAR(self->dict);
862 PyObject *dict; local
867 if (self->dict == NULL) {
869 dict = Py_None;
872 dict = PyDict_Copy(self->dict);
873 if (dict == NULL
889 PyObject *dict; local
    [all...]
  /external/python/cpython3/Lib/test/
test_plistlib.py 103 pl = dict(
112 aDict=dict(
117 deeperDict=dict(a=17, b=32.5, c=[1, 2, "text"]),
123 anEmptyDict = dict(),
142 self.assertEqual(dict(pl), dict(pl2))
177 self.assertEqual(dict(pl), dict(pl2))
210 self.assertEqual(dict(pl), dict(pl2)
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
weakref.py 65 # always be called *before* mutating the dict.
217 def update(self, dict=None, **kwargs):
221 if dict is not None:
222 if not hasattr(dict, "items"):
223 dict = type({})(dict)
224 for key, o in dict.items():
282 def __init__(self, dict=None):
295 if dict is not None:
296 self.update(dict)
    [all...]
copy_reg.py 80 dict = self.__dict__
82 dict = None
84 dict = getstate()
85 if dict:
86 return _reconstructor, args, dict
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
structseq.c 146 PyObject *dict = NULL; local
150 static char *kwlist[] = {"sequence", "dict", 0};
153 kwlist, &arg, &dict))
162 if (dict && !PyDict_Check(dict)) {
164 "%.500s() takes a dict as second arg, if any",
213 if (dict && (ob = PyDict_GetItemString(
214 dict, type->tp_members[i-n_unnamed_fields].name))) {
375 PyObject* dict; local
388 dict = PyDict_New();
479 PyObject *dict; local
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
weakref.py 180 def update(self, dict=None, **kwargs):
182 if dict is not None:
183 if not hasattr(dict, "items"):
184 dict = type({})(dict)
185 for key, o in dict.items():
243 def __init__(self, dict=None):
250 if dict is not None: self.update(dict)
371 def update(self, dict=None, **kwargs):
    [all...]
copy_reg.py 80 dict = self.__dict__
82 dict = None
84 dict = getstate()
85 if dict:
86 return _reconstructor, args, dict
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
structseq.c 146 PyObject *dict = NULL; local
150 static char *kwlist[] = {"sequence", "dict", 0};
153 kwlist, &arg, &dict))
162 if (dict && !PyDict_Check(dict)) {
164 "%.500s() takes a dict as second arg, if any",
212 if (dict && (ob = PyDict_GetItemString(
213 dict, type->tp_members[i-n_unnamed_fields].name))) {
374 PyObject* dict; local
387 dict = PyDict_New();
478 PyObject *dict; local
    [all...]
  /external/python/cpython2/Objects/
structseq.c 146 PyObject *dict = NULL; local
150 static char *kwlist[] = {"sequence", "dict", 0};
153 kwlist, &arg, &dict))
162 if (dict && !PyDict_Check(dict)) {
164 "%.500s() takes a dict as second arg, if any",
213 if (dict && (ob = PyDict_GetItemString(
214 dict, type->tp_members[i-n_unnamed_fields].name))) {
375 PyObject* dict; local
388 dict = PyDict_New()
479 PyObject *dict; local
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/
weakref.py 180 def update(self, dict=None, **kwargs):
182 if dict is not None:
183 if not hasattr(dict, "items"):
184 dict = type({})(dict)
185 for key, o in dict.items():
243 def __init__(self, dict=None):
250 if dict is not None: self.update(dict)
371 def update(self, dict=None, **kwargs)
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/
weakref.py 180 def update(self, dict=None, **kwargs):
182 if dict is not None:
183 if not hasattr(dict, "items"):
184 dict = type({})(dict)
185 for key, o in dict.items():
243 def __init__(self, dict=None):
250 if dict is not None: self.update(dict)
371 def update(self, dict=None, **kwargs)
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
weakref.py 180 def update(self, dict=None, **kwargs):
182 if dict is not None:
183 if not hasattr(dict, "items"):
184 dict = type({})(dict)
185 for key, o in dict.items():
243 def __init__(self, dict=None):
250 if dict is not None: self.update(dict)
371 def update(self, dict=None, **kwargs)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
weakref.py 180 def update(self, dict=None, **kwargs):
182 if dict is not None:
183 if not hasattr(dict, "items"):
184 dict = type({})(dict)
185 for key, o in dict.items():
243 def __init__(self, dict=None):
250 if dict is not None: self.update(dict)
371 def update(self, dict=None, **kwargs)
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
BinaryDictionary.java 173 private static native void getHeaderInfoNative(long dict, int[] outHeaderSize,
176 private static native boolean flushNative(long dict, String filePath);
177 private static native boolean needsToRunGCNative(long dict, boolean mindsBlockByGC);
178 private static native boolean flushWithGCNative(long dict, String filePath);
179 private static native void closeNative(long dict);
180 private static native int getFormatVersionNative(long dict);
181 private static native int getProbabilityNative(long dict, int[] word);
182 private static native int getMaxProbabilityOfExactMatchesNative(long dict, int[] word);
183 private static native int getNgramProbabilityNative(long dict, int[][] prevWordCodePointArrays,
185 private static native void getWordPropertyNative(long dict, int[] word
    [all...]
  /external/autotest/client/cros/cellular/
labconfig_write_stanzas 20 if type(root) == dict and 'name' in root:
22 if type(root) == dict: