|
MXVM 1.8.1
Virtual Machine, Compiler, and Pascal Frontend
|
String module C implementation — string manipulation, comparison, and formatting. More...
#include <stddef.h>#include <stdint.h>#include <stdio.h>#include <stdlib.h>#include <string.h>
Go to the source code of this file.
Functions | |
| int64_t | strfind (const char *src, const char *search, long n) |
| int64_t | substr (char *dest, int64_t size, const char *src, int64_t pos, int64_t len) |
| int64_t | strat (const char *src, int64_t pos) |
| int64_t | pos (const char *substr, const char *s) |
| char * | copy (const char *s, int64_t index, int64_t count) |
| char * | insert (const char *source, const char *dest, int64_t index) |
| char * | delete_str (const char *s, int64_t index, int64_t count) |
| char * | inttostr (int64_t value) |
| int64_t | strtoint (const char *s) |
String module C implementation — string manipulation, comparison, and formatting.
Definition in file cstring.c.
| char * copy | ( | const char * | s, |
| int64_t | index, | ||
| int64_t | count ) |
| char * delete_str | ( | const char * | s, |
| int64_t | index, | ||
| int64_t | count ) |
| char * insert | ( | const char * | source, |
| const char * | dest, | ||
| int64_t | index ) |
| int64_t pos | ( | const char * | substr, |
| const char * | s ) |
Definition at line 51 of file cstring.c.
References substr().
Referenced by mxvm::ModuleParser::at(), mxvm::darwin_prefix_calls(), dirOf(), scan::buffer::StringBuffer< Ch, String >::eof(), scan::buffer::StringBuffer< char >::eof(), extractDeclName(), mxvm::Program::gen_jmp(), mxvm::Program::getVariable(), scan::Scanner::grabDigits(), scan::Scanner::grabSingle(), scan::Scanner::grabString(), scan::Scanner::grabSymbols(), mxvm_string_strat(), mxvm_string_strfind(), mxvm_string_substr(), operator<<(), mxvm::ModuleParser::operator[](), mxvm::Parser::operator[](), mxx::TPValidator::parseUses(), mx::Argz< String >::proc(), mx::proc_args(), process_arguments(), scan::buffer::StringBuffer< Ch, String >::reset(), scan::buffer::StringBuffer< char >::reset(), scan::Scanner::scan(), strat(), substr(), and mxvm::Program::x64_gen_jmp().
| int64_t strat | ( | const char * | src, |
| int64_t | pos ) |
| int64_t strfind | ( | const char * | src, |
| const char * | search, | ||
| long | n ) |