/home/briantrice/src/slate-language/src/vm/misc.cpp File Reference
#include "slate.hpp"
Go to the source code of this file.
|
Functions |
void | error (const char *str) |
void | fill_bytes_with (byte_t *dst, word_t n, byte_t value) |
void | fill_words_with (word_t *dst, word_t n, word_t value) |
void | copy_words_into (void *src, word_t n, void *dst) |
void | copy_bytes_into (byte_t *src, word_t n, byte_t *dst) |
int64_t | getTickCount () |
void | cache_specials (struct object_heap *heap) |
word_t | max (word_t x, word_t y) |
word_t | write_args_into (struct object_heap *oh, char *buffer, word_t limit) |
word_t | byte_array_extract_into (struct ByteArray *fromArray, byte_t *targetBuffer, word_t bufferSize) |
word_t | calculateMethodCallDepth (struct object_heap *oh) |
word_t | extractCString (struct ByteArray *array, byte_t *buffer, word_t bufferSize) |
int | fork2 () |
Function Documentation
word_t byte_array_extract_into |
( |
struct ByteArray * |
fromArray, |
|
|
byte_t * |
targetBuffer, |
|
|
word_t |
bufferSize | |
|
) |
| | |
word_t calculateMethodCallDepth |
( |
struct object_heap * |
oh |
) |
|
void copy_bytes_into |
( |
byte_t * |
src, |
|
|
word_t |
n, |
|
|
byte_t * |
dst | |
|
) |
| | |
void copy_words_into |
( |
void * |
src, |
|
|
word_t |
n, |
|
|
void * |
dst | |
|
) |
| | |
void error |
( |
const char * |
str |
) |
|
word_t extractCString |
( |
struct ByteArray * |
array, |
|
|
byte_t * |
buffer, |
|
|
word_t |
bufferSize | |
|
) |
| | |
void fill_bytes_with |
( |
byte_t * |
dst, |
|
|
word_t |
n, |
|
|
byte_t |
value | |
|
) |
| | |
void fill_words_with |
( |
word_t * |
dst, |
|
|
word_t |
n, |
|
|
word_t |
value | |
|
) |
| | |
word_t max |
( |
word_t |
x, |
|
|
word_t |
y | |
|
) |
| | |
word_t write_args_into |
( |
struct object_heap * |
oh, |
|
|
char * |
buffer, |
|
|
word_t |
limit | |
|
) |
| | |