eĿlipsis
a language independent preprocessor
 
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Loading...
Searching...
No Matches
ellipsis-special-directive.c File Reference
#include "token/ellipsis-tlist.h"
#include "ellipsis-lexer.h"
#include "ellipsis-tokenize.h"
#include "ellipsis-special-directive_if.h"
#include "ellipsis-special-directive_include.h"
#include "ellipsis-special-directive_define.h"
#include <stdlib.h>
#include <threads.h>
#include "utils/ellipsis-error.h"
#include "utils/ellipsis-malloc.h"
#include "language/ellipsis-special.h"
#include <string.h>
#include <limits.h>
#include "ellipsis_special_directive_specials.c"
Include dependency graph for ellipsis-special-directive.c:

Functions

static void ellipsis‿special‿directive‿_Once‿init‿callback (void)
 
static void ellipsis‿special‿directive‿_Once‿init‿user (void)
 
void ellipsis‿special‿directive‿_Once‿init (void)
 
void ellipsis‿special‿directive‿append (size_t len, ellipsis‿special *p)
 
ellipsis‿special const * ellipsis‿special‿directive‿find (size_t len, char const buf[len])
 
void ellipsis‿special‿directive‿lex (ellipsis‿token *tok, ellipsis‿special const **spp)
 
static void ellipsis‿special‿directive‿magic‿_Once‿atexit‿callback (void)
 Cleanup code for this translation unit.
 
static void ellipsis‿special‿directive‿magic‿_Once‿init‿callback (void)
 
static void ellipsis‿special‿directive‿magic‿_Once‿init‿user (void)
 Startup code for this translation unit.
 
void ellipsis‿special‿directive‿magic‿_Once‿init (void)
 
static int special_compar (void const *a, void const *b)
 
static void specials_scale (size_t len)
 
static void specials_sort (void)
 

Variables

static ellipsis‿special const * bind_dir
 
static ellipsis‿special const * define_dir
 
static ellipsis‿special const * elif_dir
 
static void(*const ellipsis‿special‿directive‿_Once‿at_quick_exit‿pointer )(void)
 
static void(*const ellipsis‿special‿directive‿_Once‿atexit‿pointer )(void)
 
ellipsis‿special ellipsis‿special‿directive‿fixed []
 
size_t const ellipsis‿special‿directive‿fixed_len = sizeof(ellipsis‿special‿directive‿fixed) / sizeof(ellipsis‿special‿directive‿fixed[0])
 
static void(*const ellipsis‿special‿directive‿magic‿_Once‿at_quick_exit‿pointer )(void)
 
static void(*const ellipsis‿special‿directive‿magic‿_Once‿atexit‿pointer )(void) = ellipsis‿special‿directive‿magic‿_Once‿atexit‿callback
 
static ellipsis‿special const * embed_dir
 
static ellipsis‿special const * embed_resource_dir
 
static ellipsis‿special const * endif_dir
 
static ellipsis‿special const * environment_dir
 
static ellipsis‿special const * expand_dir
 
static ellipsis‿special const * gather_dir
 
static ellipsis‿special const * if_dir
 
static ellipsis‿special const * include_dir
 
static ellipsis‿special const * include_directives_dir
 
static ellipsis‿special const * include_next_dir
 
static ellipsis‿special const * include_source_dir
 
static ellipsis‿special const * line_dir
 
static ellipsis‿special const * linenumber_dir
 
static ellipsis‿special const * move_dir
 
static size_t position [UCHAR_MAX] = {}
 
static ellipsis‿special const * pragma_dir
 
static ellipsis‿special const * scatter_dir
 
static ellipsis‿specialspecialsp = nullptr
 
static size_t specialsp_len = 0
 

Detailed Description

Warning
This is a file generated by eĿlipsis version 20250309, do not modify

Function Documentation

◆ ellipsis‿special‿directive‿_Once‿init‿callback()

static void ellipsis‿special‿directive‿_Once‿init‿callback ( void  )
static

◆ ellipsis‿special‿directive‿_Once‿init‿user()

◆ ellipsis‿special‿directive‿_Once‿init()

void ellipsis‿special‿directive‿_Once‿init ( void  )

References ellipsis‿special‿directive‿_Once‿init‿callback().

Referenced by ellipsis‿special‿directive‿lex().

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

◆ ellipsis‿special‿directive‿append()

void ellipsis‿special‿directive‿append ( size_t  len,
ellipsis‿special p 
)

◆ ellipsis‿special‿directive‿find()

ellipsis‿special const * ellipsis‿special‿directive‿find ( size_t  len,
char const  buf[len] 
)

◆ ellipsis‿special‿directive‿lex()

◆ ellipsis‿special‿directive‿magic‿_Once‿atexit‿callback()

static void ellipsis‿special‿directive‿magic‿_Once‿atexit‿callback ( void  )
static

Cleanup code for this translation unit.

References ellipsis‿special‿delete(), specialsp, and specialsp_len.

Here is the call graph for this function:

◆ ellipsis‿special‿directive‿magic‿_Once‿init‿callback()

static void ellipsis‿special‿directive‿magic‿_Once‿init‿callback ( void  )
static

◆ ellipsis‿special‿directive‿magic‿_Once‿init‿user()

static void ellipsis‿special‿directive‿magic‿_Once‿init‿user ( void  )
static

Startup code for this translation unit.

Only run if directive is used.

References __FILE__, ellipsis‿malloc, ellipsis‿special‿cpy(), ellipsis‿special‿directive‿fixed, ellipsis‿special‿directive‿fixed_len, ellipsis‿token‿_Once‿init(), GNU_ATTR_USED, specials_sort(), specialsp, and specialsp_len.

Referenced by ellipsis‿special‿directive‿magic‿_Once‿init‿callback().

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

◆ ellipsis‿special‿directive‿magic‿_Once‿init()

void ellipsis‿special‿directive‿magic‿_Once‿init ( void  )

◆ special_compar()

static int special_compar ( void const *  a,
void const *  b 
)
static

References ellipsis‿str8‿compare(), and ellipsis‿special::starter8.

Referenced by specials_sort().

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

◆ specials_scale()

static void specials_scale ( size_t  len)
static

References ellipsis‿realloc, ELLIPSIS_CONTRACT, specialsp, and specialsp_len.

Referenced by ellipsis‿special‿directive‿append().

Here is the caller graph for this function:

◆ specials_sort()

static void specials_sort ( void  )
static

Variable Documentation

◆ bind_dir

◆ define_dir

◆ elif_dir

◆ ellipsis‿special‿directive‿_Once‿at_quick_exit‿pointer

void(*const ellipsis‿special‿directive‿_Once‿at_quick_exit‿pointer) (void) ( void  )
static

◆ ellipsis‿special‿directive‿_Once‿atexit‿pointer

void(*const ellipsis‿special‿directive‿_Once‿atexit‿pointer) (void) ( void  )
static

◆ ellipsis‿special‿directive‿fixed

ellipsis‿special ellipsis‿special‿directive‿fixed[]

◆ ellipsis‿special‿directive‿fixed_len

size_t const ellipsis‿special‿directive‿fixed_len = sizeof(ellipsis‿special‿directive‿fixed) / sizeof(ellipsis‿special‿directive‿fixed[0])

◆ ellipsis‿special‿directive‿magic‿_Once‿at_quick_exit‿pointer

void(*const ellipsis‿special‿directive‿magic‿_Once‿at_quick_exit‿pointer) (void) ( void  )
static

◆ ellipsis‿special‿directive‿magic‿_Once‿atexit‿pointer

static void(*) const ellipsis‿special‿directive‿magic‿_Once‿atexit‿pointer(void) ( void  ) = ellipsis‿special‿directive‿magic‿_Once‿atexit‿callback
static

◆ embed_dir

◆ embed_resource_dir

◆ endif_dir

◆ environment_dir

◆ expand_dir

◆ gather_dir

◆ if_dir

◆ include_dir

◆ include_directives_dir

◆ include_next_dir

◆ include_source_dir

◆ line_dir

◆ linenumber_dir

◆ move_dir

◆ position

size_t position[UCHAR_MAX] = {}
static

◆ pragma_dir

◆ scatter_dir

◆ specialsp

◆ specialsp_len