/dports/graphics/Coin/coin-Coin-4.0.0/src/base/ |
H A D | heap.cpp | 71 #define HEAP_PARENT(i) (((i) - 1) / 2) macro 135 while (i > 0 && h->compare(h->array[i], h->array[HEAP_PARENT(i)]) > 0) { in heap_heapify_up() 136 uintptr_t parent = HEAP_PARENT(i); in heap_heapify_up() 307 if (i > 0 && h->compare(h->array[i], h->array[HEAP_PARENT(i)]) > 0) { in cc_heap_update() 375 #undef HEAP_PARENT
|
/dports/graphics/blender/blender-2.91.0/extern/curve_fit_nd/intern/ |
H A D | generic_heap.c | 81 #define HEAP_PARENT(i) (((i) - 1) >> 1) macro 135 const uint p = HEAP_PARENT(i); in heap_up() 272 uint p = HEAP_PARENT(i); in HEAP_remove()
|
/dports/graphics/blender/blender-2.91.0/source/blender/blenlib/intern/ |
H A D | BLI_heap_simple.c | 36 #define HEAP_PARENT(i) (((i)-1) >> 1) macro 130 const uint p = HEAP_PARENT(i); in heapsimple_up()
|
H A D | BLI_heap.c | 73 #define HEAP_PARENT(i) (((i)-1) >> 1) macro 137 const uint p = HEAP_PARENT(i); in heap_up() 358 uint p = HEAP_PARENT(i); in BLI_heap_remove()
|
/dports/math/e-antic/e-antic-1.0.0-rc.13/libeantic/upstream/antic/ |
H A D | mpoly.h | 1248 #define HEAP_PARENT(i) ((i)/2) macro 1277 j = HEAP_PARENT(i); in _mpoly_heap_pop1() 1283 j = HEAP_PARENT(j); in _mpoly_heap_pop1() 1317 while ((j = HEAP_PARENT(i)) >= 1) in _mpoly_heap_insert1() 1338 heap[n] = heap[HEAP_PARENT(n)]; in _mpoly_heap_insert1() 1339 n = HEAP_PARENT(n); in _mpoly_heap_insert1() 1367 j = HEAP_PARENT(i); in _mpoly_heap_pop() 1373 j = HEAP_PARENT(j); in _mpoly_heap_pop() 1405 while ((j = HEAP_PARENT(i)) >= 1) in _mpoly_heap_insert() 1426 heap[n] = heap[HEAP_PARENT(n)]; in _mpoly_heap_insert() [all …]
|
/dports/math/e-antic/flint2-ae7ec89/ |
H A D | mpoly.h | 1248 #define HEAP_PARENT(i) ((i)/2) macro 1277 j = HEAP_PARENT(i); in _mpoly_heap_pop1() 1283 j = HEAP_PARENT(j); in _mpoly_heap_pop1() 1317 while ((j = HEAP_PARENT(i)) >= 1) in _mpoly_heap_insert1() 1338 heap[n] = heap[HEAP_PARENT(n)]; in _mpoly_heap_insert1() 1339 n = HEAP_PARENT(n); in _mpoly_heap_insert1() 1367 j = HEAP_PARENT(i); in _mpoly_heap_pop() 1373 j = HEAP_PARENT(j); in _mpoly_heap_pop() 1405 while ((j = HEAP_PARENT(i)) >= 1) in _mpoly_heap_insert() 1426 heap[n] = heap[HEAP_PARENT(n)]; in _mpoly_heap_insert() [all …]
|
/dports/net/freeradius3/freeradius-server-3.0.25/src/lib/ |
H A D | heap.c | 29 #define HEAP_PARENT(x) ( ( (x) - 1 ) / 2 ) macro 124 int parent = HEAP_PARENT(child); in fr_heap_bubble()
|
/dports/math/flint2/flint-2.8.4/ |
H A D | mpoly.h | 1520 #define HEAP_PARENT(i) ((i)/2) macro 1549 j = HEAP_PARENT(i); in _mpoly_heap_pop1() 1555 j = HEAP_PARENT(j); in _mpoly_heap_pop1() 1589 while ((j = HEAP_PARENT(i)) >= 1) in _mpoly_heap_insert1() 1610 heap[n] = heap[HEAP_PARENT(n)]; in _mpoly_heap_insert1() 1611 n = HEAP_PARENT(n); in _mpoly_heap_insert1() 1639 j = HEAP_PARENT(i); in _mpoly_heap_pop() 1645 j = HEAP_PARENT(j); in _mpoly_heap_pop() 1677 while ((j = HEAP_PARENT(i)) >= 1) in _mpoly_heap_insert() 1698 heap[n] = heap[HEAP_PARENT(n)]; in _mpoly_heap_insert() [all …]
|
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/client/include/ |
H A D | dd_def.h | 104 #define HEAP_PARENT(i) (((i) + 1)/2 - 1) macro
|
/dports/net/pjsip/pjproject-2.11.1/pjlib/src/pj/ |
H A D | timer.c | 43 #define HEAP_PARENT(X) (X == 0 ? 0 : (((X) - 1) / 2)) macro 291 parent = HEAP_PARENT(slot); in reheap_up() 352 parent = HEAP_PARENT (slot); in remove_node() 482 reheap_up(ht, timer_copy, ht->cur_size, HEAP_PARENT(ht->cur_size)); in insert_node()
|
/dports/games/doomsday/doomsday-2.3.1/doomsday/sdk/libcore/src/data/ |
H A D | huffman.cpp | 31 #define HEAP_PARENT(i) (((i) + 1)/2 - 1) macro 236 parent = HEAP_PARENT(i); in Huff_QueueInsert()
|
/dports/ftp/spegla/spegla-1.1p5/ |
H A D | container.c | 1321 #define HEAP_PARENT(i) \ macro 1474 while (i > 0 && h->heap_comp_fun(p[HEAP_PARENT(i)], data) < 0) { in heap_push() 1475 p[i] = p[HEAP_PARENT(i)]; in heap_push() 1476 i = HEAP_PARENT(i); in heap_push()
|
/dports/audio/audacity/audacity-Audacity-3.1.3/lib-src/portsmf/ |
H A D | allegro.cpp | 2703 #define HEAP_PARENT(loc) ((((loc) + 1) / 2) - 1) macro 2755 int loc_parent = HEAP_PARENT(loc); in insert() 2765 loc_parent = HEAP_PARENT(loc); in insert()
|
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/server/src/server/ |
H A D | sv_pool.cpp | 2518 parent = HEAP_PARENT(i); in Sv_PoolQueueAdd()
|