/external/libxml2/include/libxml/ |
tree.h | 63 * 2) when creating a tree, xmlNs->href is stored in the dict of xmlDoc. 580 struct _xmlDict *dict; /* dict used to allocate names or NULL */ member in struct:_xmlDoc [all...] |
/external/libxml2/python/ |
libxml.c | 893 PyObject *dict; local 914 dict = Py_None; 916 dict = PyDict_New(); 918 dict = PyDict_New(); 928 PyDict_SetItem(dict, attrname, attrvalue); 936 (char *) "sO", name, dict); 939 (char *) "sO", name, dict); 942 Py_XDECREF(dict); [all...] |
/external/lz4/lib/ |
lz4.c | 467 const dict_directive dict, 490 switch(dict) 532 if (dict==usingExtDict) { 577 if ((dict==usingExtDict) && (lowLimit==dictionary)) { 618 if (dict==usingExtDict) { 938 LZ4_stream_t_internal* dict = &LZ4_dict->internal_donotuse; local 1064 LZ4_stream_t_internal* const dict = &LZ4_dict->internal_donotuse; local [all...] |
lz4frame.c | 444 requiredBuffSize = (cctxPtr->prefs.frameInfo.blockMode == LZ4F_blockLinked) * 64 KB; /* just needs dict */ 741 const BYTE* dict; member in struct:LZ4F_dctx_s [all...] |
/external/pdfium/fpdfsdk/ |
fpdfview.cpp | 393 CPDF_Dictionary* dict = stream->GetDict(); local 394 CPDF_Object* decoder = dict ? dict->GetDirectObjectFor("Filter") : nullptr; 401 if (PDF_DataDecode(data, len, dict, dict->GetIntegerFor("DL"), false, [all...] |
/external/protobuf/python/google/protobuf/pyext/ |
message.cc | 214 static char *kwlist[] = {"name", "bases", "dict", 0}; 215 PyObject *bases, *dict; local 218 // Check arguments: (name, bases, dict) 222 &PyDict_Type, &dict)) { 235 // Check dict['DESCRIPTOR'] 236 PyObject* py_descriptor = PyDict_GetItem(dict, kDESCRIPTOR); 269 PythonMessage_class, dict)); 272 PythonMessage_class, well_known_class, dict)); 302 // use the MessageFactory optionally passed in the class dict. [all...] |
/external/python/cpython2/Modules/_ctypes/ |
cfield.c | 56 StgDictObject *dict; local 67 dict = PyType_stgdict(desc); 68 if (!dict) { 78 && dict->size * 8 == *pfield_size 81 && dict->size * 8 <= *pfield_size 89 && dict->size * 8 >= *pfield_size 90 && (*pbitofs + bitsize) <= dict->size * 8) { 98 *pfield_size = dict->size * 8; 106 size = dict->size; 155 align = min(pack, dict->align) [all...] |
/external/python/cpython2/Modules/_io/ |
bufferedio.c | 232 PyObject *dict; member in struct:__anon32713 384 Py_CLEAR(self->dict); 403 Py_VISIT(self->dict); 414 Py_CLEAR(self->dict); 2053 PyObject *dict; member in struct:__anon32714 [all...] |
textio.c | 707 PyObject *dict; member in struct:__anon32720 [all...] |
/external/python/cpython2/Modules/ |
_testcapimodule.c | 123 PyObject *dict = PyDict_New(); local 126 if (dict == NULL) 131 PyDict_SetItem(dict, v, v); 135 while (PyDict_Next(dict, &pos, &k, &v)) { 143 if (PyDict_SetItem(dict, k, o) < 0) { 150 Py_DECREF(dict); 155 "test_dict_iteration: dict iteration went wrong "); 1681 PyObject *tuple, *dict = NULL; local 2217 PyObject *dict = NULL; local [all...] |
arraymodule.c | 1532 PyObject *dict, *result, *list; local [all...] |
/external/python/cpython2/Objects/ |
bytearrayobject.c | 2756 PyObject *latin1, *dict; local [all...] |
classobject.c | 29 PyClass_New(PyObject *bases, PyObject *dict, PyObject *name) 54 if (dict == NULL || !PyDict_Check(dict)) { 56 "PyClass_New: dict must be a dictionary"); 59 if (PyDict_GetItem(dict, docstr) == NULL) { 60 if (PyDict_SetItem(dict, docstr, Py_None) < 0) 63 if (PyDict_GetItem(dict, modstr) == NULL) { 68 if (PyDict_SetItem(dict, modstr, modname) < 0) 94 name, bases, dict, NULL); 122 Py_INCREF(dict); 177 PyObject *name, *bases, *dict; local 613 PyObject *dict = Py_None; local [all...] |
object.c | 1820 PyObject *dict = PyDict_New(); local 1834 PyObject *dict = PyObject_GetAttrString(obj, "__dict__"); local 1859 PyObject *dict = NULL; local 2376 PyObject *dict; local 2404 PyObject *dict; local [all...] |
setobject.c | 1956 PyObject *keys=NULL, *args=NULL, *result=NULL, *dict=NULL; local [all...] |
/external/python/cpython2/Python/ |
bltinmodule.c | 647 "globals must be a real dict; try eval(expr, {}, mapping)" 648 : "globals must be a dict"); 2680 PyObject *mod, *dict, *debug; local [all...] |
import.c | 432 PyObject *key, *value, *dict; local 447 dict = PyModule_GetDict(value); 450 PyDict_SetItemString(dict, "_", Py_None); 456 dict = PyModule_GetDict(value); 460 PyDict_SetItemString(dict, *p, Py_None); 465 v = PyDict_GetItemString(dict, *(p+1)); 468 PyDict_SetItemString(dict, *p, v); 490 in the modules dict with None, rather than really deleting 581 PyObject *modules, *mod, *dict, *copy; local 594 dict = PyModule_GetDict(mod) 608 PyObject *dict, *mod, *mdict; local 2665 PyObject *dict = PyModule_GetDict(mod); local [all...] |
/external/python/cpython3/Modules/ |
_collectionsmodule.c | 1335 PyObject *dict, *it; local 1958 PyDictObject dict; member in struct:__anon33215 [all...] |
arraymodule.c | 2114 PyObject *dict; local [all...] |
selectmodule.c | 336 PyObject *dict; member in struct:__anon33488 356 self->ufd_len = PyDict_Size(self->dict); 365 while (PyDict_Next(self->dict, &pos, &key, &value)) { 426 err = PyDict_SetItem(self->dict, key, value); 463 if (PyDict_GetItem(self->dict, key) == NULL) { 474 err = PyDict_SetItem(self->dict, key, value); 506 if (PyDict_DelItem(self->dict, key) == -1) { 684 self->dict = PyDict_New(); 685 if (self->dict == NULL) { 697 Py_XDECREF(self->dict); [all...] |
/external/python/cpython3/Modules/_ctypes/ |
cfield.c | 56 StgDictObject *dict; local 67 dict = PyType_stgdict(desc); 68 if (!dict) { 78 && dict->size * 8 == *pfield_size 81 && dict->size * 8 <= *pfield_size 89 && dict->size * 8 >= *pfield_size 90 && (*pbitofs + bitsize) <= dict->size * 8) { 98 *pfield_size = dict->size * 8; 106 size = dict->size; 155 align = min(pack, dict->align) [all...] |
/external/python/cpython3/Modules/_io/ |
bufferedio.c | 248 PyObject *dict; member in struct:__anon33319 417 Py_CLEAR(self->dict); 436 Py_VISIT(self->dict); 445 Py_CLEAR(self->dict); 2084 PyObject *dict; member in struct:__anon33320 [all...] |
textio.c | 686 PyObject *dict; member in struct:__anon33327 [all...] |
/external/python/cpython3/Objects/ |
bytearrayobject.c | 2015 PyObject *dict; local [all...] |
bytesobject.c | 584 PyObject *dict = NULL; local 614 dict = args; 659 if (dict == NULL) { 689 args = PyObject_GetItem(dict, key); 1020 if (dict && (argidx < arglen) && c != '%') { 1039 if (argidx < arglen && !dict) { [all...] |