Searched refs:empty_array (Results 1 – 5 of 5) sorted by relevance
1717 static PyObject *empty_array = NULL; in encoder_listencode_list() local1722 if (open_array == NULL || close_array == NULL || empty_array == NULL) { in encoder_listencode_list()1725 empty_array = PyUnicode_InternFromString("[]"); in encoder_listencode_list()1726 if (open_array == NULL || close_array == NULL || empty_array == NULL) in encoder_listencode_list()1735 return _PyAccu_Accumulate(acc, empty_array); in encoder_listencode_list()
448 Array empty_array; in Export() local449 buffers_to_write.push_back(&empty_array); in Export()
2217 static PyObject *empty_array = NULL; in encoder_listencode_list() local2222 if (open_array == NULL || close_array == NULL || empty_array == NULL) { in encoder_listencode_list()2225 empty_array = PyString_InternFromString("[]"); in encoder_listencode_list()2226 if (open_array == NULL || close_array == NULL || empty_array == NULL) in encoder_listencode_list()2235 return PyList_Append(rval, empty_array); in encoder_listencode_list()
92 "empty_array": [], in TEST()
228 Node* empty_array = AllocateJSArray(PACKED_ELEMENTS, array_map, in GetOwnValuesOrEntries() local230 Return(empty_array); in GetOwnValuesOrEntries()