/third_party/vulkan-loader/loader/ |
D | cJSON.c | 999 void cJSON_InsertItemInArray(cJSON *array, int which, cJSON *newitem) { in cJSON_InsertItemInArray() argument 1003 cJSON_AddItemToArray(array, newitem); in cJSON_InsertItemInArray() 1006 newitem->next = c; in cJSON_InsertItemInArray() 1007 newitem->prev = c->prev; in cJSON_InsertItemInArray() 1008 c->prev = newitem; in cJSON_InsertItemInArray() 1010 array->child = newitem; in cJSON_InsertItemInArray() 1012 newitem->prev->next = newitem; in cJSON_InsertItemInArray() 1014 void cJSON_ReplaceItemInArray(cJSON *array, int which, cJSON *newitem) { in cJSON_ReplaceItemInArray() argument 1018 newitem->next = c->next; in cJSON_ReplaceItemInArray() 1019 newitem->prev = c->prev; in cJSON_ReplaceItemInArray() [all …]
|
D | cJSON.h | 133 void cJSON_InsertItemInArray(cJSON *array, int which, cJSON *newitem); /* Shifts pre-existing items… 134 void cJSON_ReplaceItemInArray(cJSON *array, int which, cJSON *newitem); 135 void cJSON_ReplaceItemInObject(cJSON *object, const char *string, cJSON *newitem);
|
/third_party/python/Modules/ |
D | _heapqmodule.c | 23 PyObject *newitem, *parent, **arr; in siftdown() local 37 newitem = arr[pos]; in siftdown() 41 Py_INCREF(newitem); in siftdown() 43 cmp = PyObject_RichCompareBool(newitem, parent, Py_LT); in siftdown() 45 Py_DECREF(newitem); in siftdown() 57 newitem = arr[pos]; in siftdown() 58 arr[parentpos] = newitem; in siftdown() 392 PyObject *newitem, *parent, **arr; in siftdown_max() local 406 newitem = arr[pos]; in siftdown_max() 411 Py_INCREF(newitem); in siftdown_max() [all …]
|
D | _bisectmodule.c | 44 PyObject *newitem = PyObject_CallOneArg(key, litem); in internal_bisect_right() local 45 if (newitem == NULL) { in internal_bisect_right() 49 Py_SETREF(litem, newitem); in internal_bisect_right() 169 PyObject *newitem = PyObject_CallOneArg(key, litem); in internal_bisect_left() local 170 if (newitem == NULL) { in internal_bisect_left() 174 Py_SETREF(litem, newitem); in internal_bisect_left()
|
/third_party/python/Lib/ |
D | heapq.py | 206 newitem = heap[pos] 212 if newitem < parent: 217 heap[pos] = newitem 261 newitem = heap[pos] 275 heap[pos] = newitem 280 newitem = heap[pos] 286 if parent < newitem: 291 heap[pos] = newitem 297 newitem = heap[pos] 311 heap[pos] = newitem
|
/third_party/cJSON/ |
D | cJSON.c | 2268 CJSON_PUBLIC(cJSON_bool) cJSON_InsertItemInArray(cJSON *array, int which, cJSON *newitem) in cJSON_InsertItemInArray() argument 2272 if (which < 0 || newitem == NULL) in cJSON_InsertItemInArray() 2280 return add_item_to_array(array, newitem); in cJSON_InsertItemInArray() 2288 newitem->next = after_inserted; in cJSON_InsertItemInArray() 2289 newitem->prev = after_inserted->prev; in cJSON_InsertItemInArray() 2290 after_inserted->prev = newitem; in cJSON_InsertItemInArray() 2293 array->child = newitem; in cJSON_InsertItemInArray() 2297 newitem->prev->next = newitem; in cJSON_InsertItemInArray() 2351 CJSON_PUBLIC(cJSON_bool) cJSON_ReplaceItemInArray(cJSON *array, int which, cJSON *newitem) in cJSON_ReplaceItemInArray() argument 2358 return cJSON_ReplaceItemViaPointer(array, get_array_item(array, (size_t)which), newitem); in cJSON_ReplaceItemInArray() [all …]
|
D | cJSON.h | 242 CJSON_PUBLIC(cJSON_bool) cJSON_InsertItemInArray(cJSON *array, int which, cJSON *newitem); /* Shift… 244 CJSON_PUBLIC(cJSON_bool) cJSON_ReplaceItemInArray(cJSON *array, int which, cJSON *newitem); 245 CJSON_PUBLIC(cJSON_bool) cJSON_ReplaceItemInObject(cJSON *object,const char *string,cJSON *newitem); 246 …JSON_bool) cJSON_ReplaceItemInObjectCaseSensitive(cJSON *object,const char *string,cJSON *newitem);
|
D | cJSON_Utils.c | 693 static cJSON_bool insert_item_in_array(cJSON *array, size_t which, cJSON *newitem) in insert_item_in_array() argument 708 cJSON_AddItemToArray(array, newitem); in insert_item_in_array() 713 newitem->next = child; in insert_item_in_array() 714 newitem->prev = child->prev; in insert_item_in_array() 715 child->prev = newitem; in insert_item_in_array() 720 array->child = newitem; in insert_item_in_array() 724 newitem->prev->next = newitem; in insert_item_in_array()
|
/third_party/python/Objects/ |
D | tupleobject.c | 194 PyTuple_SetItem(PyObject *op, Py_ssize_t i, PyObject *newitem) in PyTuple_SetItem() argument 198 Py_XDECREF(newitem); in PyTuple_SetItem() 203 Py_XDECREF(newitem); in PyTuple_SetItem() 209 Py_XSETREF(*p, newitem); in PyTuple_SetItem()
|
D | listobject.c | 246 PyObject *newitem) in PyList_SetItem() argument 250 Py_XDECREF(newitem); in PyList_SetItem() 255 Py_XDECREF(newitem); in PyList_SetItem() 261 Py_XSETREF(*p, newitem); in PyList_SetItem() 295 PyList_Insert(PyObject *op, Py_ssize_t where, PyObject *newitem) in PyList_Insert() argument 301 return ins1((PyListObject *)op, where, newitem); in PyList_Insert() 320 PyList_Append(PyObject *op, PyObject *newitem) in PyList_Append() argument 322 if (PyList_Check(op) && (newitem != NULL)) in PyList_Append() 323 return app1((PyListObject *)op, newitem); in PyList_Append()
|