/external/python/cpython2/Modules/ |
D | _heapqmodule.c | 38 PyObject *newitem, *parent; in _siftdown() local 51 newitem = PyList_GET_ITEM(heap, pos); in _siftdown() 55 cmp = cmp_lt(newitem, parent); in _siftdown() 66 newitem = PyList_GET_ITEM(heap, pos); in _siftdown() 67 PyList_SET_ITEM(heap, parentpos, newitem); in _siftdown() 381 PyObject *newitem, *parent; in _siftdownmax() local 391 newitem = PyList_GET_ITEM(heap, pos); in _siftdownmax() 392 Py_INCREF(newitem); in _siftdownmax() 398 cmp = cmp_lt(parent, newitem); in _siftdownmax() 400 Py_DECREF(newitem); in _siftdownmax() [all …]
|
/external/python/cpython2/Lib/ |
D | heapq.py | 243 newitem = heap[pos] 249 if cmp_lt(newitem, parent): 254 heap[pos] = newitem 298 newitem = heap[pos] 312 heap[pos] = newitem 317 newitem = heap[pos] 323 if cmp_lt(parent, newitem): 328 heap[pos] = newitem 334 newitem = heap[pos] 348 heap[pos] = newitem
|
/external/python/cpython3/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
|
/external/python/cpython3/Modules/ |
D | _heapqmodule.c | 14 PyObject *newitem, *parent, **arr; in siftdown() local 28 newitem = arr[pos]; in siftdown() 32 cmp = PyObject_RichCompareBool(newitem, parent, Py_LT); in siftdown() 44 newitem = arr[pos]; in siftdown() 45 arr[parentpos] = newitem; in siftdown() 368 PyObject *newitem, *parent, **arr; in siftdown_max() local 382 newitem = arr[pos]; in siftdown_max() 386 cmp = PyObject_RichCompareBool(parent, newitem, Py_LT); in siftdown_max() 398 newitem = arr[pos]; in siftdown_max() 399 arr[parentpos] = newitem; in siftdown_max()
|
/external/iperf3/src/ |
D | cjson.c | 1915 CJSON_PUBLIC(void) cJSON_InsertItemInArray(cJSON *array, int which, cJSON *newitem) in cJSON_InsertItemInArray() argument 1927 cJSON_AddItemToArray(array, newitem); in cJSON_InsertItemInArray() 1931 newitem->next = after_inserted; in cJSON_InsertItemInArray() 1932 newitem->prev = after_inserted->prev; in cJSON_InsertItemInArray() 1933 after_inserted->prev = newitem; in cJSON_InsertItemInArray() 1936 array->child = newitem; in cJSON_InsertItemInArray() 1940 newitem->prev->next = newitem; in cJSON_InsertItemInArray() 1979 CJSON_PUBLIC(void) cJSON_ReplaceItemInArray(cJSON *array, int which, cJSON *newitem) in cJSON_ReplaceItemInArray() argument 1986 cJSON_ReplaceItemViaPointer(array, get_array_item(array, (size_t)which), newitem); in cJSON_ReplaceItemInArray() 1989 CJSON_PUBLIC(void) cJSON_ReplaceItemInObject(cJSON *object, const char *string, cJSON *newitem) in cJSON_ReplaceItemInObject() argument [all …]
|
D | cjson.h | 220 CJSON_PUBLIC(void) cJSON_InsertItemInArray(cJSON *array, int which, cJSON *newitem); /* Shifts pre-… 222 CJSON_PUBLIC(void) cJSON_ReplaceItemInArray(cJSON *array, int which, cJSON *newitem); 223 CJSON_PUBLIC(void) cJSON_ReplaceItemInObject(cJSON *object,const char *string,cJSON *newitem); 224 …BLIC(void) cJSON_ReplaceItemInObjectCaseSensitive(cJSON *object,const char *string,cJSON *newitem);
|
/external/fonttools/Lib/fontTools/misc/ |
D | psLib.py | 340 newitem = {} 342 newitem[key] = unpack_item(value) 344 newitem = [None] * len(item.value) 346 newitem[i] = unpack_item(item.value[i]) 348 newitem = tuple(newitem) 350 newitem = item.value 351 return newitem
|
/external/python/cpython3/Objects/ |
D | tupleobject.c | 163 PyTuple_SetItem(PyObject *op, Py_ssize_t i, PyObject *newitem) in PyTuple_SetItem() argument 167 Py_XDECREF(newitem); in PyTuple_SetItem() 172 Py_XDECREF(newitem); in PyTuple_SetItem() 178 Py_XSETREF(*p, newitem); in PyTuple_SetItem()
|
D | listobject.c | 218 PyObject *newitem) in PyList_SetItem() argument 222 Py_XDECREF(newitem); in PyList_SetItem() 227 Py_XDECREF(newitem); in PyList_SetItem() 233 Py_XSETREF(*p, newitem); in PyList_SetItem() 271 PyList_Insert(PyObject *op, Py_ssize_t where, PyObject *newitem) in PyList_Insert() argument 277 return ins1((PyListObject *)op, where, newitem); in PyList_Insert() 301 PyList_Append(PyObject *op, PyObject *newitem) in PyList_Append() argument 303 if (PyList_Check(op) && (newitem != NULL)) in PyList_Append() 304 return app1((PyListObject *)op, newitem); in PyList_Append()
|
/external/python/cpython2/Objects/ |
D | tupleobject.c | 136 PyTuple_SetItem(register PyObject *op, register Py_ssize_t i, PyObject *newitem) in PyTuple_SetItem() argument 141 Py_XDECREF(newitem); in PyTuple_SetItem() 146 Py_XDECREF(newitem); in PyTuple_SetItem() 153 *p = newitem; in PyTuple_SetItem()
|
D | listobject.c | 200 register PyObject *newitem) in PyList_SetItem() argument 205 Py_XDECREF(newitem); in PyList_SetItem() 210 Py_XDECREF(newitem); in PyList_SetItem() 217 *p = newitem; in PyList_SetItem() 256 PyList_Insert(PyObject *op, Py_ssize_t where, PyObject *newitem) in PyList_Insert() argument 262 return ins1((PyListObject *)op, where, newitem); in PyList_Insert() 286 PyList_Append(PyObject *op, PyObject *newitem) in PyList_Append() argument 288 if (PyList_Check(op) && (newitem != NULL)) in PyList_Append() 289 return app1((PyListObject *)op, newitem); in PyList_Append()
|
/external/python/cpython2/Tools/bgen/bgen/ |
D | scantools.py | 712 newitem = [item[0], item[1], item[2]] 715 newitem[i] = old[k][i] 718 newitem[i] = old[index][i] 719 new.append(tuple(newitem))
|
/external/python/cpython2/Mac/Demo/mlte/ |
D | mlted.py | 180 self.newitem = MenuItem(m, "New window", "N", self.open)
|
/external/python/cpython2/Mac/Demo/textedit/ |
D | ped.py | 190 self.newitem = MenuItem(m, "New window", "N", self.open)
|