Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
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()

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()

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()

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

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()

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()

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()

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

Definition at line 108 of file hsort_impl.h.

Here is the call graph for this function: