byteman
1.3 (Build #225)
Bitstream relocation and manipulation tool
|
Functions | |
std::string | allStringWords (std::string s) |
Parses a string s , removes all integers and returns the rest. More... | |
std::string | allStringWordsWithoutLastStringWord (std::string s) |
Parses a string s , removes all integers and the last string word. Returns the rest. More... | |
bool | arrayOfUints (std::string s, int arrsize, uint32_t *arr) |
Removes all string words from a given string s and returns the parsed arrsize number of integers into arr . More... | |
std::string | lastStringWord (std::string s) |
Parses a string s , removes all integers and returns the last of all string words. More... | |
template<typename ... Args> | |
bool | multipleInts (std::string s, Args &... args) |
Parses string s for integer values, that are returned into args . More... | |
template<typename ... Rest> | |
bool | multipleInts (std::stringstream &ss) |
template<typename ... Rest> | |
bool | multipleInts (std::stringstream &ss, int &x, Rest &... args) |
Parses stringstream ss for integer values, that are returned into x , args . More... | |
template<typename ... Args> | |
bool | multipleUints (std::string s, Args &... args) |
Parses string s for uint32_t values, that are returned into args . More... | |
template<typename ... Rest> | |
bool | multipleUints (std::stringstream &ss) |
template<typename ... Rest> | |
bool | multipleUints (std::stringstream &ss, uint32_t &x, Rest &... args) |
Parses stringstream ss for uint32_t values, that are returned into x , args . More... | |
bool | nthInteger (std::string s, int n, int &x) |
Parses a string s , returns the n-th integer. More... | |
std::string | nthStringWord (std::string s, int n) |
Parses a string s , returns the n-th string word that is not an integer. More... | |
|
inline |
Parses a string s
, removes all integers and returns the rest.
Definition at line 57 of file parse.h.
Referenced by byteman::parseMerge(), and byteman::parseRegion().
|
inline |
Parses a string s
, removes all integers and the last string word. Returns the rest.
Definition at line 105 of file parse.h.
Referenced by byteman::parseOutput().
|
inline |
Removes all string words from a given string s
and returns the parsed arrsize
number of integers into arr
.
Definition at line 160 of file parse.h.
Referenced by XilinxSeries7::assemblerAsmTo(), XilinxUltraScale::assemblerAsmTo(), and XilinxUltraScalePlus::assemblerAsmTo().
|
inline |
Parses a string s
, removes all integers and returns the last of all string words.
Definition at line 81 of file parse.h.
Referenced by XilinxSeries7::assemblerParseHeader(), XilinxUltraScale::assemblerParseHeader(), XilinxUltraScalePlus::assemblerParseHeader(), byteman::parseInput(), and byteman::parseOutput().
|
inline |
Parses string s
for integer values, that are returned into args
.
Definition at line 223 of file parse.h.
References multipleInts().
|
inline |
Definition at line 192 of file parse.h.
Referenced by XilinxSeries7::assemblerAsmTo(), XilinxUltraScale::assemblerAsmTo(), XilinxUltraScalePlus::assemblerAsmTo(), multipleInts(), byteman::parseMerge(), byteman::parseOutput(), parseParams(), byteman::parseRegion(), byteman::parseVerbose(), and byteman::parseWarn().
|
inline |
Parses stringstream ss
for integer values, that are returned into x
, args
.
Definition at line 197 of file parse.h.
References multipleInts().
|
inline |
Parses string s
for uint32_t values, that are returned into args
.
Definition at line 260 of file parse.h.
References multipleUints().
|
inline |
Definition at line 229 of file parse.h.
Referenced by XilinxSeries7::assemblerAsmTo(), XilinxUltraScale::assemblerAsmTo(), XilinxUltraScalePlus::assemblerAsmTo(), multipleUints(), byteman::parseTest(), and setBitstreamWord().
|
inline |
Parses stringstream ss
for uint32_t values, that are returned into x
, args
.
Definition at line 234 of file parse.h.
References multipleUints().
|
inline |
|
inline |
Parses a string s
, returns the n-th string word that is not an integer.
Definition at line 33 of file parse.h.
Referenced by byteman::parseAssembly().