HomeSort by relevance Sort by last modified time
    Searched defs:dict (Results 176 - 200 of 389) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/libchrome/base/trace_event/
trace_config.cc 264 std::unique_ptr<DictionaryValue> dict = ToDict(); local
266 JSONWriter::Write(*dict, &json);
317 void TraceConfig::InitializeFromConfigDict(const DictionaryValue& dict) {
320 if (dict.GetString(kRecordModeParam, &record_mode)) {
333 enable_systrace_ = dict.GetBoolean(kEnableSystraceParam, &val) ? val : false;
335 dict.GetBoolean(kEnableArgumentFilterParam, &val) ? val : false;
337 category_filter_.InitializeFromConfigDict(dict);
340 if (dict.GetList(kEventFiltersParam, &category_event_filters))
347 if (dict.GetDictionary(kMemoryDumpConfigParam, &memory_dump_config))
355 auto dict = DictionaryValue::From(JSONReader::Read(config_string)) local
493 auto dict = MakeUnique<DictionaryValue>(); local
    [all...]
  /external/libchrome/base/
values_unittest.cc 554 DictionaryValue dict; local
555 dict.Set(key, MakeUnique<Value>());
556 EXPECT_FALSE(dict.empty());
557 dict.Clear();
558 EXPECT_TRUE(dict.empty());
566 DictionaryValue dict; local
567 dict.Set(key, MakeUnique<Value>());
568 EXPECT_TRUE(dict.HasKey(key));
569 EXPECT_FALSE(dict.Remove("absent key", &removed_item));
570 EXPECT_TRUE(dict.Remove(key, &removed_item))
576 DictionaryValue dict; local
585 DictionaryValue dict; local
609 DictionaryValue dict; local
631 DictionaryValue dict; local
1201 DictionaryValue dict; local
    [all...]
  /external/pdfium/core/fpdfapi/parser/
cpdf_object_unittest.cpp 74 m_StreamDictObj->SetNewFor<CPDF_String>("key1", L" test dict");
847 auto dict = pdfium::MakeUnique<CPDF_Dictionary>(); local
858 auto dict = pdfium::MakeUnique<CPDF_Dictionary>(); local
943 auto dict = pdfium::MakeUnique<CPDF_Dictionary>(); local
956 auto dict = pdfium::MakeUnique<CPDF_Dictionary>(); local
    [all...]
  /external/pdfium/core/fxcodec/jbig2/
JBig2_Context.cpp 474 const CJBig2_SymbolDict& dict = *pSeg->m_SymbolDict.get(); local
475 for (size_t j = 0; j < dict.NumImages(); ++j)
476 SDINSYMS.get()[dwTemp + j] = dict.GetImage(j);
477 dwTemp += dict.NumImages();
709 const CJBig2_SymbolDict& dict = *pSeg->m_SymbolDict.get(); local
710 for (size_t j = 0; j < dict.NumImages(); ++j)
711 SBSYMS.get()[dwTemp + j] = dict.GetImage(j);
712 dwTemp += dict.NumImages();
    [all...]
  /external/python/cpython2/Mac/Modules/
Nav.c 50 PyObject *dict = (PyObject *)callbackUD; local
54 if (!dict) return;
55 if ( (pyfunc = PyDict_GetItemString(dict, "eventProc")) == NULL ) {
76 PyObject *dict = (PyObject *)callbackUD; local
81 if (!dict) return false;
82 if ( (pyfunc = PyDict_GetItemString(dict, "previewProc")) == NULL ) {
102 PyObject *dict = (PyObject *)callbackUD; local
107 if (!dict) return false;
108 if ( (pyfunc = PyDict_GetItemString(dict, "filterProc")) == NULL ) {
444 "(DialogOptions dict or kwargs+defaultLocation,eventProc,previewProc,filterProc,typeList) -> NavReplyRecord
450 PyObject *dict; local
485 PyObject *dict; local
520 PyObject *dict; local
550 PyObject *dict; local
579 PyObject *dict; local
608 PyObject *dict; local
643 PyObject *dict; local
676 PyObject *dict; local
709 PyObject *dict; local
742 PyObject *dict; local
    [all...]
  /external/python/cpython2/Modules/_io/
fileio.c 54 PyObject *dict; member in struct:__anon32716
395 Py_VISIT(self->dict);
402 Py_CLEAR(self->dict);
414 Py_CLEAR(self->dict);
1126 offsetof(fileio, dict), /* tp_dictoffset */
  /external/python/cpython2/Modules/
zipimport.c 40 PyObject *files; /* dict with file info {path: toc_entry} */
314 PyObject *code, *mod, *dict; local
331 dict = PyModule_GetDict(mod);
334 if (PyDict_SetItemString(dict, "__loader__", (PyObject *)self) != 0)
357 err = PyDict_SetItemString(dict, "__path__", pkgpath);
687 read_directory(archive) -> files dict (new reference)
689 Given a path to a Zip archive, build a dict, mapping file names
    [all...]
  /external/python/cpython2/Python/
symtable.c 354 #define SET_SCOPE(DICT, NAME, I) { \
358 if (PyDict_SetItem((DICT), (NAME), o) < 0) { \
373 analyze_name(PySTEntryObject *ste, PyObject *dict, PyObject *name, long flags,
387 SET_SCOPE(dict, name, GLOBAL_EXPLICIT);
397 SET_SCOPE(dict, name, LOCAL);
412 SET_SCOPE(dict, name, FREE);
422 SET_SCOPE(dict, name, GLOBAL_IMPLICIT);
428 SET_SCOPE(dict, name, GLOBAL_IMPLICIT);
467 in the dict, because it will not cause a resize.
524 /* Enter the final scope information into the st_symbols dict
882 PyObject *dict; local
    [all...]
  /external/python/cpython3/Modules/_ctypes/
ctypes.h 186 PyDictObject dict; /* first part identical to PyDictObject */ member in struct:__anon33246
239 type dict. They are only used to cache attributes from other entries, which
  /external/python/cpython3/Modules/_io/
fileio.c 74 PyObject *dict; member in struct:__anon33323
511 Py_VISIT(self->dict);
518 Py_CLEAR(self->dict);
531 Py_CLEAR(self->dict);
1214 offsetof(fileio, dict), /* tp_dictoffset */
    [all...]
winconsoleio.c 161 PyObject *dict; member in struct:__anon33330
447 Py_VISIT(self->dict);
454 Py_CLEAR(self->dict);
467 Py_CLEAR(self->dict);
1175 offsetof(winconsoleio, dict), /* tp_dictoffset */
    [all...]
  /external/python/cpython3/Modules/
timemodule.c 1070 PyObject *obj = NULL, *dict, *ns; local
1107 dict = PyDict_New();
1108 if (dict == NULL)
1115 if (PyDict_SetItemString(dict, "implementation", obj) == -1)
1123 if (PyDict_SetItemString(dict, "monotonic", obj) == -1)
1131 if (PyDict_SetItemString(dict, "adjustable", obj) == -1)
1140 if (PyDict_SetItemString(dict, "resolution", obj) == -1)
1144 ns = _PyNamespace_New(dict);
1145 Py_DECREF(dict);
1149 Py_DECREF(dict);
    [all...]
  /external/swiftshader/tests/unittests/
unittests.cpp 772 CFMutableDictionaryRef dict = CFDictionaryCreateMutable( local
774 AddIntegerValue(dict, kIOSurfaceWidth, width);
775 AddIntegerValue(dict, kIOSurfaceHeight, height);
776 AddIntegerValue(dict, kIOSurfacePixelFormat, 'BGRA');
777 AddIntegerValue(dict, kIOSurfaceBytesPerElement, 4);
779 ioSurface = IOSurfaceCreate(dict);
780 CFRelease(dict);
    [all...]
  /external/v8/src/
lookup.cc 830 GlobalDictionary* dict = JSObject::cast(holder)->global_dictionary(); local
831 int number = dict->FindEntry(name_);
834 DCHECK(dict->ValueAt(number_)->IsPropertyCell());
835 PropertyCell* cell = PropertyCell::cast(dict->ValueAt(number_));
884 NameDictionary* dict = holder->property_dictionary(); local
885 int number = dict->FindEntry(name_);
888 property_details_ = dict->DetailsAt(number_);
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/
selectmodule.c 327 PyObject *dict; member in struct:__anon4237
346 self->ufd_len = PyDict_Size(self->dict);
355 while (PyDict_Next(self->dict, &pos, &key, &value)) {
395 err = PyDict_SetItem(self->dict, key, value);
432 if (PyDict_GetItem(self->dict, key) == NULL) {
442 err = PyDict_SetItem(self->dict, key, value);
474 if (PyDict_DelItem(self->dict, key) == -1) {
608 self->dict = PyDict_New();
609 if (self->dict == NULL) {
621 Py_XDECREF(self->dict);
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
_collectionsmodule.c 818 PyObject *dict, *result, *aslist; local
820 dict = PyObject_GetAttrString((PyObject *)deque, "__dict__");
821 if (dict == NULL)
825 Py_XDECREF(dict);
828 if (dict == NULL) {
835 result = Py_BuildValue("O(OO)O", Py_TYPE(deque), aslist, Py_None, dict);
837 result = Py_BuildValue("O(On)O", Py_TYPE(deque), aslist, deque->maxlen, dict);
839 Py_XDECREF(dict);
1382 PyDictObject dict; member in struct:__anon4370
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
descrobject.c 697 PyObject *dict; member in struct:__anon4495
703 return PyObject_Size(pp->dict);
709 return PyObject_GetItem(pp->dict, key);
721 return PyDict_Contains(pp->dict, key);
740 int res = PyDict_Contains(pp->dict, key);
753 return PyObject_CallMethod(pp->dict, "get", "(OO)", key, def);
759 return PyMapping_Keys(pp->dict);
765 return PyMapping_Values(pp->dict);
771 return PyMapping_Items(pp->dict);
777 return PyObject_CallMethod(pp->dict, "iterkeys", NULL);
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/
selectmodule.c 327 PyObject *dict; member in struct:__anon4538
347 self->ufd_len = PyDict_Size(self->dict);
356 while (PyDict_Next(self->dict, &pos, &key, &value)) {
417 err = PyDict_SetItem(self->dict, key, value);
454 if (PyDict_GetItem(self->dict, key) == NULL) {
464 err = PyDict_SetItem(self->dict, key, value);
496 if (PyDict_DelItem(self->dict, key) == -1) {
642 self->dict = PyDict_New();
643 if (self->dict == NULL) {
655 Py_XDECREF(self->dict);
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
_collectionsmodule.c 769 PyObject *dict, *result, *aslist; local
771 dict = PyObject_GetAttrString((PyObject *)deque, "__dict__");
772 if (dict == NULL)
776 Py_XDECREF(dict);
779 if (dict == NULL) {
786 result = Py_BuildValue("O(OO)O", Py_TYPE(deque), aslist, Py_None, dict);
788 result = Py_BuildValue("O(On)O", Py_TYPE(deque), aslist, deque->maxlen, dict);
790 Py_XDECREF(dict);
1314 PyDictObject dict; member in struct:__anon4676
    [all...]
_hotshot.c 773 PyObject *dict; local
779 dict = PyDict_New();
780 if (dict == NULL) {
784 obj = Py_BuildValue("iN", fileno, dict);
801 dict = PyTuple_GET_ITEM(obj, 1);
810 PyObject *name = PyDict_GetItem(dict, obj);
817 if (PyDict_SetItem(dict, obj, fcode->co_name)) {
    [all...]
selectmodule.c 327 PyObject *dict; member in struct:__anon4808
346 self->ufd_len = PyDict_Size(self->dict);
355 while (PyDict_Next(self->dict, &pos, &key, &value)) {
395 err = PyDict_SetItem(self->dict, key, value);
432 if (PyDict_GetItem(self->dict, key) == NULL) {
442 err = PyDict_SetItem(self->dict, key, value);
474 if (PyDict_DelItem(self->dict, key) == -1) {
608 self->dict = PyDict_New();
609 if (self->dict == NULL) {
621 Py_XDECREF(self->dict);
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
descrobject.c 660 PyObject *dict; member in struct:__anon4840
666 return PyObject_Size(pp->dict);
672 return PyObject_GetItem(pp->dict, key);
684 return PyDict_Contains(pp->dict, key);
703 int res = PyDict_Contains(pp->dict, key);
716 return PyObject_CallMethod(pp->dict, "get", "(OO)", key, def);
722 return PyMapping_Keys(pp->dict);
728 return PyMapping_Values(pp->dict);
734 return PyMapping_Items(pp->dict);
740 return PyObject_CallMethod(pp->dict, "iterkeys", NULL);
    [all...]
object.c 1813 PyObject *dict = PyDict_New(); local
1827 PyObject *dict = PyObject_GetAttrString(obj, "__dict__"); local
1852 PyObject *dict = NULL; local
2355 PyObject *dict; local
2383 PyObject *dict; local
    [all...]
  /external/e2fsprogs/lib/support/
dict.c 17 * $Id: dict.c,v 1.40.2.7 2000/11/13 01:36:44 kaz Exp $
39 #include "dict.h"
42 static const char rcsid[] = "$Id: dict.c,v 1.40.2.7 2000/11/13 01:36:44 kaz Exp $";
49 * program which uses dict to define, for instance, a macro called ``parent''.
144 static void free_nodes(dict_t *dict, dnode_t *node, dnode_t *nil)
148 free_nodes(dict, node->left, nil);
149 free_nodes(dict, node->right, nil);
150 dict->freenode(node, dict->context);
162 static int verify_bintree(dict_t *dict)
1069 dict_t *dict = load->dictptr; local
1093 dict_t *dict = load->dictptr; local
    [all...]
  /external/f2fs-tools/fsck/
dict.c 17 * $Id: dict.c,v 1.40.2.7 2000/11/13 01:36:44 kaz Exp $
33 #include "dict.h"
37 static const char rcsid[] = "$Id: dict.c,v 1.40.2.7 2000/11/13 01:36:44 kaz Exp $";
44 * program which uses dict to define, for instance, a macro called ``parent''.
136 static void free_nodes(dict_t *dict, dnode_t *node, dnode_t *nil)
140 free_nodes(dict, node->left, nil);
141 free_nodes(dict, node->right, nil);
142 dict->freenode(node, dict->context);
154 static int verify_bintree(dict_t *dict)
1039 dict_t *dict = load->dictptr; local
1063 dict_t *dict = load->dictptr; local
    [all...]

Completed in 1031 milliseconds

1 2 3 4 5 6 78 91011>>