GRASS GIS 8 Programmer's Manual
8.2.2dev(2023)-3d2c704037
|
#include "tree.h"
Go to the source code of this file.
Functions | |
unsigned char * | dgl_mempush (unsigned char *pstack, long *istack, long size, void *pv) |
unsigned char * | dgl_mempop (unsigned char *pstack, long *istack, long size) |
void | dgl_swapInt32Bytes (dglInt32_t *pn) |
void | dgl_swapInt64Bytes (dglInt64_t *pn) |
int | dgl_edge_prioritizer_del (dglGraph_s *pG, dglInt32_t nId, dglInt32_t nPriId) |
int | dgl_edge_prioritizer_add (dglGraph_s *pG, dglInt32_t nId, dglInt32_t nPriId) |
void * | dgl_reduce_edgeset (void *pvSet, int *pc, dglInt32_t nKey) |
int dgl_edge_prioritizer_add | ( | dglGraph_s * | pG, |
dglInt32_t | nId, | ||
dglInt32_t | nPriId | ||
) |
Definition at line 134 of file helpers.c.
References avl_create, _dglTreeEdgePri32::cnData, DGL_ERR_MemoryExhausted, dglTreeEdgePri32Add(), dglTreeEdgePri32Compare(), dglTreeGetAllocator(), _dglGraph::edgePrioritizer, _dglGraph::iErrno, malloc(), NULL, _dglTreeEdgePri32::pnData, and dglEdgePrioritizer_s::pvAVL.
Referenced by DGL_ADD_EDGE_FUNC().
int dgl_edge_prioritizer_del | ( | dglGraph_s * | pG, |
dglInt32_t | nId, | ||
dglInt32_t | nPriId | ||
) |
Definition at line 92 of file helpers.c.
References avl_find, _dglTreeEdgePri32::cnData, DGL_ERR_MemoryExhausted, _dglGraph::edgePrioritizer, free(), _dglGraph::iErrno, malloc(), _dglTreeEdgePri32::nKey, NULL, _dglTreeEdgePri32::pnData, and dglEdgePrioritizer_s::pvAVL.
Referenced by DGL_DEL_EDGE_FUNC(), and DGL_DEL_NODE_FUNC().
unsigned char* dgl_mempop | ( | unsigned char * | pstack, |
long * | istack, | ||
long | size | ||
) |
Definition at line 48 of file helpers.c.
References NULL.
Referenced by DGL_SPAN_DEPTHFIRST_SPANNING_FUNC().
unsigned char* dgl_mempush | ( | unsigned char * | pstack, |
long * | istack, | ||
long | size, | ||
void * | pv | ||
) |
Definition at line 35 of file helpers.c.
References NULL.
Referenced by DGL_SPAN_DEPTHFIRST_SPANNING_FUNC().
void* dgl_reduce_edgeset | ( | void * | pvSet, |
int * | pc, | ||
dglInt32_t | nKey | ||
) |
void dgl_swapInt32Bytes | ( | dglInt32_t * | pn | ) |
Definition at line 55 of file helpers.c.
Referenced by dgl_read_V1(), and dgl_read_V2().
void dgl_swapInt64Bytes | ( | dglInt64_t * | pn | ) |
Definition at line 68 of file helpers.c.
Referenced by dgl_read_V1(), and dgl_read_V2().