Home
last modified time | relevance | path

Searched refs:empty_dict (Results 1 – 4 of 4) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
D_json.c2067 static PyObject *empty_dict = NULL; in encoder_listencode_dict() local
2076 if (open_dict == NULL || close_dict == NULL || empty_dict == NULL) { in encoder_listencode_dict()
2079 empty_dict = PyString_InternFromString("{}"); in encoder_listencode_dict()
2080 if (open_dict == NULL || close_dict == NULL || empty_dict == NULL) in encoder_listencode_dict()
2084 return PyList_Append(rval, empty_dict); in encoder_listencode_dict()
Dparsermodule.c3330 PyObject *empty_dict = NULL; in parser__pickler() local
3336 if ((empty_dict = PyDict_New()) == NULL) in parser__pickler()
3340 tuple = parser_st2tuple((PyST_Object*)NULL, newargs, empty_dict); in parser__pickler()
3345 Py_DECREF(empty_dict); in parser__pickler()
3349 Py_XDECREF(empty_dict); in parser__pickler()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
D_json.c2059 static PyObject *empty_dict = NULL; in encoder_listencode_dict() local
2068 if (open_dict == NULL || close_dict == NULL || empty_dict == NULL) { in encoder_listencode_dict()
2071 empty_dict = PyString_InternFromString("{}"); in encoder_listencode_dict()
2072 if (open_dict == NULL || close_dict == NULL || empty_dict == NULL) in encoder_listencode_dict()
2076 return PyList_Append(rval, empty_dict); in encoder_listencode_dict()
Dparsermodule.c3359 PyObject *empty_dict = NULL; in parser__pickler() local
3365 if ((empty_dict = PyDict_New()) == NULL) in parser__pickler()
3369 tuple = parser_st2tuple((PyST_Object*)NULL, newargs, empty_dict); in parser__pickler()
3374 Py_DECREF(empty_dict); in parser__pickler()
3378 Py_XDECREF(empty_dict); in parser__pickler()