#include <stdlib.h>
#include <threads.h>
#include "language/ellipsis-special.h"
#include <stdio.h>
#include <stdint.h>
#include "utils/ellipsis-str32.h"
#include "utils/ellipsis-error.h"
#include "encoding/ellipsis-xml-entities.h"
#include <errno.h>
#include <locale.h>
#include <stddef.h>
#include <string.h>
#include "utils/ellipsis-init.h"
Macros | |
#define | ELLIPSIS_CONTRACT(COUNT, COND, ACTION, VERB, CSTR, CTYPE, ...) |
#define | ELLIPSIS_CONTRACT_CHECK_STATIC(CTYPE, COND, CSTR, ...) |
#define | ELLIPSIS_CONTRACT_ICE_OR_TRUE(...) |
#define | ELLIPSIS_CONTRACT_IMPL(COUNT, COND, ACTION, VERB, CSTR, CTYPE, ...) |
#define | ELLIPSIS_CONTRACT_VIOLATION(COUNT, VERB, CTYPE, CSTR, ...) |
#define | ELLIPSIS_TEST_ICE(...) (false ? ELLIPSIS_TO_VOIDS(__VA_ARGS__) : (ellipsis‿contracts‿is_ice*)nullptr) |
#define | ELLIPSIS_TO_VOIDS(...) ((void*)((uintptr_t)((__VA_ARGS__)-(__VA_ARGS__)))) |
#define | STRINGIFY(...) STRINGIFY_(__VA_ARGS__) |
#define | STRINGIFY_(...) #__VA_ARGS__ |
Typedefs | |
typedef struct ellipsis‿contracts‿is_ice | ellipsis‿contracts‿is_ice |
Variables | |
thread_local bool volatile | ellipsis‿contracts‿ignore‿dynamic |
thread_local bool volatile | ellipsis‿contracts‿proceed‿dynamic |
thread_local bool volatile | ellipsis‿contracts‿verbose‿dynamic |
ellipsis‿str32‿dup | ellipsis‿str32‿dup |
#define ELLIPSIS_CONTRACT | ( | COUNT, | |
COND, | |||
ACTION, | |||
VERB, | |||
CSTR, | |||
CTYPE, | |||
... | |||
) |
#define ELLIPSIS_CONTRACT_CHECK_STATIC | ( | CTYPE, | |
COND, | |||
CSTR, | |||
... | |||
) |
#define ELLIPSIS_CONTRACT_ICE_OR_TRUE | ( | ... | ) |
#define ELLIPSIS_CONTRACT_IMPL | ( | COUNT, | |
COND, | |||
ACTION, | |||
VERB, | |||
CSTR, | |||
CTYPE, | |||
... | |||
) |
#define ELLIPSIS_CONTRACT_VIOLATION | ( | COUNT, | |
VERB, | |||
CTYPE, | |||
CSTR, | |||
... | |||
) |
#define ELLIPSIS_TEST_ICE | ( | ... | ) | (false ? ELLIPSIS_TO_VOIDS(__VA_ARGS__) : (ellipsis‿contracts‿is_ice*)nullptr) |
#define ELLIPSIS_TO_VOIDS | ( | ... | ) | ((void*)((uintptr_t)((__VA_ARGS__)-(__VA_ARGS__)))) |
#define STRINGIFY | ( | ... | ) | STRINGIFY_(__VA_ARGS__) |
#define STRINGIFY_ | ( | ... | ) | #__VA_ARGS__ |
typedef struct ellipsis‿contracts‿is_ice ellipsis‿contracts‿is_ice |
ellipsis‿str32 * ellipsis‿str32‿alloc‿_Inner | ( | size_t | len | ) |
References ellipsis‿str32::array, ellipsis‿str32::length, and ellipsis‿str32::length_mod.
Referenced by ellipsis‿str32::ellipsis‿str32‿alloc‿_Ctra().
ellipsis‿str32 * ellipsis‿str32‿append‿_Inner | ( | ellipsis‿str32 *restrict | s, |
s->array | c[0] | ||
) |
Referenced by ellipsis‿str32::ellipsis‿str32‿append‿_Ctra().
int ellipsis‿str32‿compare | ( | ellipsis‿str32 const * | s, |
ellipsis‿str32 const * | t | ||
) |
Referenced by ellipsis‿token‿array::ellipsis‿token‿array‿base‿compare(), ellipsis‿token‿dictionary‿find_pos(), ellipsis‿token‿equiv‿_Inner(), and mark_parameters().
ellipsis‿str32 * ellipsis‿str32‿concat‿_Inner | ( | ellipsis‿str32 const * | s, |
ellipsis‿str32 const * | t | ||
) |
References ellipsis‿str32::array, and ellipsis‿str32::length.
Referenced by ellipsis‿str32::ellipsis‿str32‿concat‿_Ctra().
ellipsis‿str32 * ellipsis‿str32‿concat_inplace‿_Inner | ( | ellipsis‿str32 const * | s0, |
ellipsis‿str32 const * | t | ||
) |
References ellipsis‿str32::array, ellipsis‿str32::capacity, ellipsis‿str32::length, and ellipsis‿str32::length_mod.
Referenced by ellipsis‿str32::ellipsis‿str32‿concat_inplace‿_Ctra().
ellipsis‿str32 *() ellipsis‿str32‿construct | ( | size_t | len, |
char const | s[static len] | ||
) |
References __FILE__, ellipsis‿string‿_Once‿init(), ellipsis‿string‿_Once‿strong, ELLIPSIS_CONTRACT, and GNU_ATTR_USED.
Referenced by _Atomic(), ellipsis‿directive‿embed_common(), ellipsis‿filter(), ellipsis‿include‿fopen(), ellipsis‿infra‿subscribe(), ellipsis‿lex‿nonspace‿_Inner(), ellipsis‿macros‿_Once‿init‿user(), ellipsis‿special‿scan‿str32‿_Inner(), ellipsis‿token‿nominal‿_Inner(), ellipsis‿token‿number‿_Inner(), ellipsis‿token‿string‿_Inner(), and main().
ellipsis‿str32 const * ellipsis‿str32‿cpy_const‿_Inner | ( | ellipsis‿str32 const *restrict | s | ) |
Referenced by ellipsis‿str32::ellipsis‿str32‿cpy_const‿_Ctra().
void ellipsis‿str32‿delete | ( | ellipsis‿str32 const * | s | ) |
Referenced by _Atomic(), callback_insert(), ellipsis‿directive‿embed_common(), ellipsis‿directive‿expand(), ellipsis‿directive‿include_common(), ellipsis‿directive‿line_common(), ellipsis‿expression‿resolve_defined(), ellipsis‿filter(), ellipsis‿include‿fopen(), ellipsis‿include‿fopen32(), ellipsis‿include‿process(), ellipsis‿include‿repair(), ellipsis‿infra‿find(), ellipsis‿infra‿subscribe(), ellipsis‿lex‿category‿_Inner(), ellipsis‿lex‿nonspace‿_Inner(), ellipsis‿macros‿cb‿addition(), ellipsis‿macros‿cb‿evaluate_bin(), ellipsis‿macros‿cb‿evaluate_dec(), ellipsis‿macros‿cb‿evaluate_hex(), ellipsis‿macros‿cb‿evaluate_oct(), ellipsis‿macros‿cb‿has_extension(), ellipsis‿macros‿cb‿has_feature(), ellipsis‿macros‿cb‿has_file(), ellipsis‿macros‿cb‿is_identifier(), ellipsis‿macros‿cb‿tolower(), ellipsis‿macros‿cb‿toupper(), ellipsis‿macros‿insert(), ellipsis‿output‿thrd(), ellipsis‿special‿delete(), ellipsis‿special‿directive‿lex(), ellipsis‿token‿destroy‿_Inner(), ellipsis‿tokenize(), expand_functional(), expand_macro(), has_c_attribute_callback(), macro_signed(), macro_string(), main(), and mark_parameters().
char *() ellipsis‿str32‿dup‿inst | ( | ellipsis‿str32 const *restrict | s | ) |
References __FILE__, ellipsis‿malloc, ellipsis‿string‿_Once‿init(), ellipsis‿string‿_Once‿strong, and GNU_ATTR_USED.
int ellipsis‿str32‿fputs | ( | ellipsis‿str32 const *restrict | s, |
FILE * | stream | ||
) |
start inner defer anchor at level 1
DEFER_TYPE needs a semicolon
defer needs braces and a semicolon
defer needs braces and a semicolon
end inner defer anchor, level 1
References __FILE__, ellipsis‿malloc, ellipsis‿string‿_Once‿init(), ellipsis‿string‿_Once‿strong, and GNU_ATTR_USED.
Referenced by ellipsis‿c_punctuators‿fputs(), ellipsis‿directive‿error(), ellipsis‿directive‿warning(), ellipsis‿expression‿recurse(), ellipsis‿expression‿ternary(), ellipsis‿macros‿insert(), ellipsis‿macros‿mangle(), ellipsis‿output‿thrd(), ellipsis‿output‿vrbs(), ellipsis‿pragma‿diagnostic(), ellipsis‿token‿dictionary::ellipsis‿token‿dictionary‿fputs(), ellipsis‿token‿dictionary::ellipsis‿token‿dictionary‿insert(), and ellipsis‿token‿equiv‿_Inner().
int ellipsis‿str32‿fputs_entities | ( | ellipsis‿str32 const *restrict | s, |
FILE * | stream | ||
) |
start inner defer anchor at level 1
DEFER_TYPE needs a semicolon
defer needs braces and a semicolon
defer needs braces and a semicolon
end inner defer anchor, level 1
References __FILE__, ellipsis‿malloc, ellipsis‿realloc, ellipsis‿string‿_Once‿init(), ellipsis‿string‿_Once‿strong, ellipsis‿xml‿name(), and GNU_ATTR_USED.
Referenced by ellipsis‿output‿vrbs().
ellipsis‿str32 * ellipsis‿str32‿grow‿_Inner | ( | ellipsis‿str32 *restrict | s, |
size_t | length | ||
) |
References ellipsis_alloc_flex, ellipsis_init_flex, ellipsis_realloc_flex, and ellipsis‿str32::length.
Referenced by ellipsis‿str32::ellipsis‿str32‿grow‿_Ctra().
ellipsis‿str32 * ellipsis‿str32‿remove | ( | ellipsis‿str32 | s[restrict static 1], |
size_t | amount | ||
) |
ellipsis‿str32 * ellipsis‿str32‿shrink‿_Inner | ( | ellipsis‿str32 | s[restrict static 1], |
size_t | length | ||
) |
References ellipsis_realloc_flex, and ELLIPSIS_WARNING.
Referenced by ellipsis‿str32::ellipsis‿str32‿shrink‿_Ctra().
ellipsis‿str32 * ellipsis‿str32‿sub‿_Inner | ( | ellipsis‿str32 const * | s, |
size_t | pos, | ||
size_t | len | ||
) |
References ellipsis‿str32::array, ellipsis‿str32::length, and ellipsis‿str32::length_mod.
Referenced by ellipsis‿str32::ellipsis‿str32‿sub‿_Ctra().
|
extern |
|
extern |
|
extern |
|
extern |
Referenced by ellipsis‿directive‿embed_common(), ellipsis‿directive‿environment(), ellipsis‿directive‿include_common(), ellipsis‿directive‿scatter(), ellipsis‿expression‿make_integer(), ellipsis‿filter(), ellipsis‿include‿fopen32(), ellipsis‿include‿process(), ellipsis‿include‿repair(), ellipsis‿infra‿find(), ellipsis‿lex‿category‿_Inner(), ellipsis‿output‿codeblock(), ellipsis‿output‿string(), ellipsis‿output‿thrd(), and ellipsis‿special‿directive‿lex().