Yet Another eXchange Tool 0.11.2
Loading...
Searching...
No Matches
xt_idxstripes_internal.h File Reference
#include <stdbool.h>
#include "core/ppm_visibility.h"
#include "xt/xt_core.h"
#include "xt/xt_idxlist.h"
#include "xt_arithmetic_util.h"
Include dependency graph for xt_idxstripes_internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Xt_stripes_alloc
 

Functions

PPM_DSO_INTERNAL void xt_idxstripes_initialize (void)
 
PPM_DSO_INTERNAL void xt_idxstripes_finalize (void)
 
PPM_DSO_INTERNAL Xt_idxlist xt_idxstripes_get_intersection (Xt_idxlist idxlist_src, Xt_idxlist idxlist_dst, Xt_config config)
 
PPM_DSO_INTERNAL Xt_idxlist xt_idxstripes_get_idxvec_intersection (Xt_idxlist idxlist_src, Xt_idxlist idxvec_dst, Xt_config config)
 
PPM_DSO_INTERNAL Xt_idxlist xt_idxstripes_prealloc_new (const struct Xt_stripe *stripes, int num_stripes)
 
PPM_DSO_INTERNAL struct Xt_stripes_alloc xt_idxstripes_alloc (size_t num_stripes)
 
PPM_DSO_INTERNAL Xt_idxlist xt_idxstripes_congeal (struct Xt_stripes_alloc stripes_alloc)
 
PPM_DSO_INTERNAL Xt_idxlist xt_idxstripes_sort_new (size_t num_stripes, const struct Xt_stripe stripes[], Xt_config config)
 
static bool xt_can_merge_pos_ext (struct Xt_pos_ext a, struct Xt_pos_ext b)
 
PPM_DSO_INTERNAL const struct Xt_stripext_idxstripes_get_index_stripes_const (Xt_idxlist idxlist)
 
PPM_DSO_INTERNAL size_t xt_idxstripes_get_num_index_stripes (Xt_idxlist idxlist)
 

Detailed Description

Function Documentation

◆ xt_can_merge_pos_ext()

static bool xt_can_merge_pos_ext ( struct Xt_pos_ext a,
struct Xt_pos_ext b )
inlinestatic

can b be merged into a, i.e. do a and b form a continuous range?

Parameters
aposition extent to merge into
bposition extent to merge

Definition at line 124 of file xt_idxstripes_internal.h.

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

◆ xt_idxstripes_alloc()

PPM_DSO_INTERNAL struct Xt_stripes_alloc xt_idxstripes_alloc ( size_t num_stripes)

Definition at line 373 of file xt_idxstripes.c.

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

◆ xt_idxstripes_congeal()

PPM_DSO_INTERNAL Xt_idxlist xt_idxstripes_congeal ( struct Xt_stripes_alloc stripes_alloc)

Definition at line 283 of file xt_idxstripes.c.

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

◆ xt_idxstripes_finalize()

PPM_DSO_INTERNAL void xt_idxstripes_finalize ( void )

Definition at line 210 of file xt_idxstripes.c.

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

◆ xt_idxstripes_get_idxvec_intersection()

PPM_DSO_INTERNAL Xt_idxlist xt_idxstripes_get_idxvec_intersection ( Xt_idxlist idxlist_src,
Xt_idxlist idxvec_dst,
Xt_config config )

◆ xt_idxstripes_get_index_stripes_const()

PPM_DSO_INTERNAL const struct Xt_stripe * xt_idxstripes_get_index_stripes_const ( Xt_idxlist idxlist)

Definition at line 1259 of file xt_idxstripes.c.

Here is the caller graph for this function:

◆ xt_idxstripes_get_intersection()

PPM_DSO_INTERNAL Xt_idxlist xt_idxstripes_get_intersection ( Xt_idxlist idxlist_src,
Xt_idxlist idxlist_dst,
Xt_config config )

Definition at line 966 of file xt_idxstripes.c.

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

◆ xt_idxstripes_get_num_index_stripes()

PPM_DSO_INTERNAL size_t xt_idxstripes_get_num_index_stripes ( Xt_idxlist idxlist)

Definition at line 1274 of file xt_idxstripes.c.

Here is the caller graph for this function:

◆ xt_idxstripes_initialize()

PPM_DSO_INTERNAL void xt_idxstripes_initialize ( void )

Definition at line 175 of file xt_idxstripes.c.

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

◆ xt_idxstripes_prealloc_new()

PPM_DSO_INTERNAL Xt_idxlist xt_idxstripes_prealloc_new ( const struct Xt_stripe * stripes,
int num_stripes )

Generates an index list that is built up of stripes of indices. Does not copy the stripes. Ownership of the stripes remains with the caller and the underlying object must not be free'd before calling the destructor for the returned index list object.

Parameters
[in]stripesarray defining the stripes
[in]num_stripesnumber of stripes
Returns
index list composed of the stripes passed in

Definition at line 442 of file xt_idxstripes.c.

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

◆ xt_idxstripes_sort_new()

PPM_DSO_INTERNAL Xt_idxlist xt_idxstripes_sort_new ( size_t num_stripes,
const struct Xt_stripe stripes[],
Xt_config config )

Generates an index list that is built up of stripes of indices. Copies and sorts the stripes and their contained indices, i.e. the indices in the resulting list are sorted by value.

Parameters
[in]num_stripesnumber of stripes
[in]stripesarray defining the stripes
[in]configcustom configuration parameters
Returns
index list composed of the stripes passed in

Definition at line 1114 of file xt_idxstripes.c.

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