Bitcoin Core 28.99.0
P2P Digital Currency
Functions
hsort_impl.h File Reference
#include "hsort.h"
Include dependency graph for hsort_impl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static SECP256K1_INLINE size_t secp256k1_heap_child1 (size_t i)
 
static SECP256K1_INLINE size_t secp256k1_heap_child2 (size_t i)
 
static SECP256K1_INLINE void secp256k1_heap_swap64 (unsigned char *a, unsigned char *b, size_t len)
 
static SECP256K1_INLINE void secp256k1_heap_swap (unsigned char *arr, size_t i, size_t j, size_t stride)
 
static SECP256K1_INLINE void secp256k1_heap_down (unsigned char *arr, size_t i, size_t heap_size, size_t stride, int(*cmp)(const void *, const void *, void *), void *cmp_data)
 
static void secp256k1_hsort (void *ptr, size_t count, size_t size, int(*cmp)(const void *, const void *, void *), void *cmp_data)
 

Function Documentation

◆ secp256k1_heap_child1()

static SECP256K1_INLINE size_t secp256k1_heap_child1 ( size_t  i)
static

Definition at line 16 of file hsort_impl.h.

Here is the caller graph for this function:

◆ secp256k1_heap_child2()

static SECP256K1_INLINE size_t secp256k1_heap_child2 ( size_t  i)
static

Definition at line 21 of file hsort_impl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ secp256k1_heap_down()

static SECP256K1_INLINE void secp256k1_heap_down ( unsigned char *  arr,
size_t  i,
size_t  heap_size,
size_t  stride,
int(*)(const void *, const void *, void *)  cmp,
void *  cmp_data 
)
static

Definition at line 51 of file hsort_impl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ secp256k1_heap_swap()

static SECP256K1_INLINE void secp256k1_heap_swap ( unsigned char *  arr,
size_t  i,
size_t  j,
size_t  stride 
)
static

Definition at line 34 of file hsort_impl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ secp256k1_heap_swap64()

static SECP256K1_INLINE void secp256k1_heap_swap64 ( unsigned char *  a,
unsigned char *  b,
size_t  len 
)
static

Definition at line 26 of file hsort_impl.h.

Here is the caller graph for this function:

◆ secp256k1_hsort()

static void secp256k1_hsort ( void *  ptr,
size_t  count,
size_t  size,
int(*)(const void *, const void *, void *)  cmp,
void *  cmp_data 
)
static

Definition at line 108 of file hsort_impl.h.

Here is the call graph for this function: