dmd.backend.util2

Compiler implementation of the D programming language.

Members

Aliases

_controlc_handler_t
alias _controlc_handler_t = void function()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Functions

_STD_controlc
void _STD_controlc()
Undocumented in source. Be warned that the author may not have intended to support it.
_STI_controlc
void _STI_controlc()
Undocumented in source. Be warned that the author may not have intended to support it.
binary
int binary(const(char)* p, const(char)** table, int high)
Undocumented in source. Be warned that the author may not have intended to support it.
binary
int binary(const(char)* p, size_t len, const(char)** table, int high)
Undocumented in source. Be warned that the author may not have intended to support it.
controlc_close
void controlc_close()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
controlc_open
void controlc_open()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
err_break
void err_break()

Clean up and exit program.

err_exit
void err_exit()

Clean up and exit program.

file_progress
void file_progress()
Undocumented in source. Be warned that the author may not have intended to support it.
ispow2
int ispow2(uint64_t c)

If c is a power of 2, return that power else -1.

mem_malloc2
void* mem_malloc2(uint size)
ph_calloc
void* ph_calloc(size_t nbytes)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
ph_free
void ph_free(void* p)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
ph_malloc
void* ph_malloc(size_t nbytes)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
ph_realloc
void* ph_realloc(void* p, size_t nbytes)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
printInternalFailure
void printInternalFailure(FILE* stream)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
util_assert
void util_assert(const(char)* file, int line)

Alternative assert failure.

util_calloc
void* util_calloc(uint n, uint size)
util_exit
void util_exit(int exitcode)
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
util_exit
void util_exit(int exitcode)

Clean up and exit program.

util_free
void util_free(void* p)
util_malloc
void* util_malloc(uint n, uint size)
Undocumented in source. Be warned that the author may not have intended to support it.
util_progress
void util_progress()

Send progress report.

util_progress
void util_progress(int linnum)
Undocumented in source. Be warned that the author may not have intended to support it.
util_realloc
void* util_realloc(void* oldp, size_t n, size_t size)

Manifest constants

MEM_DEBUG
enum MEM_DEBUG;
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
MEM_DEBUG
enum MEM_DEBUG;
Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
UTIL_PH
enum UTIL_PH;

Static variables

_controlc_handler
_controlc_handler_t _controlc_handler;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
controlc_saw
int controlc_saw;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Meta