/arkcompiler/runtime_core/assembler/ |
H A D | pandasm.h | 27 bool PrepareArgs(panda::PandArgParser &pa_parser, const panda::PandArg<std::string> &input_file, 28 const panda::PandArg<std::string> &output_file, const panda::PandArg<std::string> &log_file, 29 const panda::PandArg<bool> &help, const panda::PandArg<bool> &verbose, std::ifstream &inputfile, 36 const panda::PandArg<std::string> &input_file, 39 bool DumpProgramInJson(panda::pandasm::Program &program, const panda::PandArg<std::string> &scopes_file); 42 const panda::PandArg<std::string> &output_file, panda::PandArg<bool> &optimize, 43 panda::PandArg<boo [all...] |
H A D | pandasm.cpp | 62 bool PrepareArgs(panda::PandArgParser &pa_parser, const panda::PandArg<std::string> &input_file, in PrepareArgs() 63 const panda::PandArg<std::string> &output_file, const panda::PandArg<std::string> &log_file, in PrepareArgs() 64 const panda::PandArg<bool> &help, const panda::PandArg<bool> &verbose, in PrepareArgs() 65 const panda::PandArg<bool> &version, std::ifstream &inputfile, int argc, const char **argv) in PrepareArgs() 130 const panda::PandArg<std::string> &input_file, in ParseProgram() 142 bool DumpProgramInJson(panda::pandasm::Program &program, const panda::PandArg<std::string> &scopes_file) in DumpProgramInJson() 159 const panda::PandArg<std::string> &output_file, panda::PandArg<boo in EmitProgramInBinary() [all...] |
/arkcompiler/runtime_core/static_core/assembler/ |
H A D | pandasm.h | 28 bool PrepareArgs(ark::PandArgParser &paParser, const ark::PandArg<std::string> &inputFile, 29 const ark::PandArg<std::string> &outputFile, const ark::PandArg<std::string> &logFile, 30 const ark::PandArg<bool> &help, const ark::PandArg<bool> &verbose, std::ifstream &inputfile, int argc, 37 const ark::PandArg<std::string> &inputFile, 40 bool DumpProgramInJson(ark::pandasm::Program &program, const ark::PandArg<std::string> &scopesFile); 43 const ark::PandArg<std::string> &outputFile, ark::PandArg<bool> &optimize, 44 ark::PandArg<boo [all...] |
H A D | pandasm.cpp | 66 bool PrepareArgs(ark::PandArgParser &paParser, const ark::PandArg<std::string> &inputFile, in PrepareArgs() 67 const ark::PandArg<std::string> &outputFile, const ark::PandArg<std::string> &logFile, in PrepareArgs() 68 const ark::PandArg<bool> &help, const ark::PandArg<bool> &verbose, const ark::PandArg<bool> &version, in PrepareArgs() 131 const ark::PandArg<std::string> &inputFile, in ParseProgram() 143 bool DumpProgramInJson(ark::pandasm::Program &program, const ark::PandArg<std::string> &scopesFile) in DumpProgramInJson() 160 const ark::PandArg<std::string> &outputFile, ark::PandArg<boo in EmitProgramInBinary() [all...] |
/arkcompiler/ets_frontend/ets2panda/util/ |
H A D | options.cpp | 142 static inline bool ETSWarningsGroupSetter(const ark::PandArg<bool> &option) in ETSWarningsGroupSetter() 196 ark::PandArg<bool> opHelp {"help", false, "Print this message and exit"}; 197 ark::PandArg<bool> opVersion {"version", false, "Print message with version and exit"}; 200 ark::PandArg<std::string> inputExtension {"extension", "", 202 ark::PandArg<bool> opModule {"module", false, "Parse the input as module (JS only option)"}; 203 ark::PandArg<bool> opParseOnly {"parse-only", false, "Parse the input only"}; 204 ark::PandArg<bool> opDumpAst {"dump-ast", false, "Dump the parsed AST"}; 205 ark::PandArg<bool> opDumpAstOnlySilent {"dump-ast-only-silent", false, 207 ark::PandArg<bool> opDumpCheckedAst {"dump-dynamic-ast", false, 209 ark::PandArg<boo [all...] |
H A D | options.h | 128 void DetermineLogLevel(const ark::PandArg<std::string> &logLevel) in DetermineLogLevel() 149 void DetermineExtension(const ark::PandArg<std::string> &inputExtension, in DetermineExtension() 150 const ark::PandArg<std::string> &arktsConfig, const es2panda::CompilationMode &compMode) in DetermineExtension() 197 CompilationMode DetermineCompilationMode(const ark::PandArg<bool> &genStdLib, in DetermineCompilationMode() 198 const ark::PandArg<std::string> &inputFile) const in DetermineCompilationMode() 205 void AddOptionFlags(const ark::PandArg<bool> &opParseOnly, const ark::PandArg<bool> &opModule, in AddOptionFlags() 206 const ark::PandArg<bool> &opSizeStat) in AddOptionFlags() 222 const ark::PandArg<std::string> &arktsConfig) in CheckEtsSpecificOptions()
|
/arkcompiler/runtime_core/disassembler/ |
H A D | disasm.cpp | 50 bool ProcessArgs(panda::PandArgParser &pa_parser, const panda::PandArg<std::string> &input_file, in ProcessArgs() 51 const panda::PandArg<std::string> &output_file, panda::PandArg<bool> &debug, in ProcessArgs() 52 const panda::PandArg<std::string> &debug_file, const panda::PandArg<bool> &help, in ProcessArgs() 53 const panda::PandArg<bool> &version, int argc, const char **argv) in ProcessArgs() 90 panda::PandArg<bool> help("help", false, "Print this message and exit"); in main() 91 panda::PandArg<bool> verbose("verbose", false, "enable informative code output"); in main() 92 panda::PandArg<bool> quiet("quiet", false, "enables all of the --skip-* flags"); in main() 93 panda::PandArg<boo in main() [all...] |
/arkcompiler/ets_frontend/es2panda/aot/ |
H A D | options.cpp | 340 panda::PandArg<bool> opHelp("help", false, "Print this message and exit"); in Parse() 343 panda::PandArg<std::string> inputExtension("extension", "js", in Parse() 345 panda::PandArg<bool> opModule("module", false, "Parse the input as module"); in Parse() 346 panda::PandArg<bool> opCommonjs("commonjs", false, "Parse the input as commonjs"); in Parse() 347 panda::PandArg<bool> opParseOnly("parse-only", false, "Parse the input only"); in Parse() 348 panda::PandArg<bool> opEnableTypeCheck("enable-type-check", false, "Check the type in ts after parse"); in Parse() 349 panda::PandArg<bool> opDumpAst("dump-ast", false, "Dump the parsed AST"); in Parse() 350 panda::PandArg<bool> opDumpTransformedAst("dump-transformed-ast", false, "Dump the parsed AST after transform"); in Parse() 351 panda::PandArg<bool> opCheckTransformedAstStructure("check-transformed-ast-structure", false, in Parse() 353 panda::PandArg<boo in Parse() [all...] |
/arkcompiler/runtime_core/static_core/abc2program/ |
H A D | abc2program_options.h | 39 ark::PandArg<bool> *helpArg_ = nullptr; 40 ark::PandArg<bool> *debugArg_ = nullptr; 41 ark::PandArg<std::string> *debugFileArg_ = nullptr; 42 ark::PandArg<std::string> *inputFileArg_ = nullptr; 43 ark::PandArg<std::string> *outputFileArg_ = nullptr;
|
H A D | abc2program_options.cpp | 23 ark::PandArg<bool> help("help", false, "Print this message and exit"); in Parse() 24 ark::PandArg<bool> debug( in Parse() 26 ark::PandArg<std::string> debugFile("debug-file", "", in Parse() 28 ark::PandArg<std::string> inputFile("inputFile", "", "Path to the source binary code"); in Parse() 29 ark::PandArg<std::string> outputFile("outputFile", "", "Path to the generated assembly code"); in Parse()
|
/arkcompiler/runtime_core/static_core/disassembler/ |
H A D | disasm.cpp | 25 ark::PandArg<bool> help {"help", false, "Print this message and exit"}; 26 ark::PandArg<bool> verbose {"verbose", false, "enable informative code output"}; 27 ark::PandArg<bool> quiet {"quiet", false, "enables all of the --skip-* flags"}; 28 ark::PandArg<bool> skipStrings { 31 ark::PandArg<bool> withSeparators {"with_separators", false, 33 ark::PandArg<bool> debug { 35 ark::PandArg<std::string> debugFile {"debug-file", "", 37 ark::PandArg<std::string> inputFile {"input_file", "", "Path to the source binary code"}; 38 ark::PandArg<std::string> outputFile {"output_file", "", "Path to the generated assembly code"}; 39 ark::PandArg<st [all...] |
/arkcompiler/runtime_core/static_core/panda/ |
H A D | panda.cpp | 70 const ark::PandArg<std::string> &file, const ark::PandArg<std::string> &entrypoint, in PrepareArguments() 71 const ark::PandArg<bool> &help) in PrepareArguments() 98 static void SetPandaFiles(RuntimeOptions &runtimeOptions, ark::PandArg<std::string> &file) in SetPandaFiles() 128 static ark::PandArgParser GetPandArgParser(ark::PandArg<bool> &help, ark::PandArg<bool> &options, in GetPandArgParser() 129 ark::PandArg<std::string> &file, ark::PandArg<std::string> &entrypoint) in GetPandArgParser() 171 ark::PandArg<bool> help("help", false, "Print this message and exit"); in Main() 172 ark::PandArg<boo in Main() [all...] |
/arkcompiler/runtime_core/static_core/plugins/ets/arkts_header/ |
H A D | arkts_header.cpp | 35 static bool ProcessArgs(ark::PandArgParser &paParser, const ark::PandArg<std::string> &input, in ProcessArgs() 36 ark::PandArg<std::string> &output, const ark::PandArg<bool> &help) in ProcessArgs() 56 ark::PandArg<bool> help("help", false, "Print this message and exit"); in main() 57 ark::PandArg<std::string> input("INPUT", "", "Input binary file"); in main() 58 ark::PandArg<std::string> output("OUTPUT", "", "Output header file"); in main()
|
/arkcompiler/ets_frontend/merge_abc/src/ |
H A D | options.cpp | 31 panda::PandArg<bool> opHelp("help", false, "Print this message and exit"); in Parse() 33 panda::PandArg<std::string> protoPathInput("input", "", in Parse() 36 panda::PandArg<std::string> protoBinSuffix("suffix", "", "suffix of proto bin file"); in Parse() 37 panda::PandArg<std::string> outputFileName("output", "", "name of merged panda file"); in Parse() 38 panda::PandArg<std::string> outputFilePath("outputFilePath", "", "output path for merged panda file"); in Parse()
|
/arkcompiler/runtime_core/tests/fuzztest/pandargs_fuzzer/ |
H A D | pandargs_fuzzer.cpp | 25 panda::PandArg<panda::arg_list_t> pandarg_arg("list", arg, "Sample arg_list_t argument", "a"); in PandargsFuzzTest() 27 panda::PandArg<uint64_t> pandarg("uint64", static_cast<uint64_t>(size), "Sample uint64 argument"); in PandargsFuzzTest() 32 panda::PandArg<std::string> pandarg_string("string", str, "Sample string argument"); in PandargsFuzzTest() 33 panda::PandArg<bool> pandarg_bool("bool", false, "Sample boolean argument"); in PandargsFuzzTest()
|
/arkcompiler/runtime_core/libpandabase/utils/ |
H A D | pandargs.h | 89 class PandArg : public PandArgBase { class 91 explicit PandArg(const std::string &name, T default_val, const std::string &desc) in PandArg() function in panda::PandArg 96 explicit PandArg(const std::string &name, T default_val, const std::string &desc, PandArgType type) in PandArg() function in panda::PandArg 101 explicit PandArg(const std::string &name, int default_val, const std::string &desc, T min_val, T max_val) in PandArg() function in panda::PandArg 109 explicit PandArg(const std::string &name, const arg_list_t &default_val, const std::string &desc, in PandArg() function in panda::PandArg 190 class PandArgCompound : public PandArg<bool> { 193 : PandArg<bool>(name, false, desc, PandArgType::COMPOUND), sub_args_(sub_args) in PandArgCompound() 206 PandArg<bool>::ResetDefaultValue(); 386 value = static_cast<PandArg<std::string> *>(i)->GetValue(); in GetRegularArgs() 389 value = std::to_string(static_cast<PandArg<in in GetRegularArgs() [all...] |
/arkcompiler/runtime_core/static_core/libpandabase/utils/ |
H A D | pandargs.h | 91 class PandArg : public PandArgBase { class 93 explicit PandArg(const std::string &name, T defaultVal, const std::string &desc) in PandArg() function in ark::PandArg 98 explicit PandArg(const std::string &name, T defaultVal, const std::string &desc, PandArgType type) in PandArg() function in ark::PandArg 103 explicit PandArg(const std::string &name, int defaultVal, const std::string &desc, T minVal, T maxVal) in PandArg() function in ark::PandArg 111 explicit PandArg(const std::string &name, const arg_list_t &defaultVal, const std::string &desc, in PandArg() function in ark::PandArg 192 class PandArgCompound : public PandArg<bool> { 195 : PandArg<bool>(name, false, desc, PandArgType::COMPOUND), subArgs_ {subArgs} in PandArgCompound() 208 PandArg<bool>::ResetDefaultValue(); 384 value = static_cast<PandArg<std::string> *>(i)->GetValue(); in GetRegularArgs() 387 value = std::to_string(static_cast<PandArg<in in GetRegularArgs() [all...] |
/arkcompiler/runtime_core/panda/ |
H A D | panda.cpp | 99 const panda::PandArg<std::string> &file, const panda::PandArg<std::string> &entrypoint, in PrepareArguments() 100 const panda::PandArg<bool> &help, int argc, const char **argv) in PrepareArguments() 141 int ExecutePandaFile(panda::PandArg<bool> &options, panda::PandArgParser &pa_parser, panda::PandArg<std::string> &file, in ExecutePandaFile() 142 panda::PandArg<std::string> &entrypoint, RuntimeOptions &runtime_options) in ExecutePandaFile() 197 panda::PandArg<bool> help("help", false, "Print this message and exit"); in Main() 198 panda::PandArg<bool> options("options", false, "Print compiler and runtime options"); in Main() 200 panda::PandArg<std::string> file("file", "", "path to pandafile"); in Main() 201 panda::PandArg<st in Main() [all...] |
/arkcompiler/runtime_core/abc2program/ |
H A D | abc2program_options.cpp | 23 panda::PandArg<bool> help("help", false, "Print this message and exit"); in Parse() 24 panda::PandArg<bool> debug( in Parse() 26 panda::PandArg<std::string> debug_file("debug-file", "", in Parse() 28 panda::PandArg<std::string> input_file("input_file", "", "Path to the source binary code"); in Parse() 29 panda::PandArg<std::string> output_file("output_file", "", "Path to the generated assembly code"); in Parse()
|
/arkcompiler/runtime_core/static_core/libpandabase/tests/ |
H A D | pandargs_test.cpp | 32 PandArg<bool> pab("bool", REF_DEF_BOOL, "Sample boolean argument"); in TEST() 33 PandArg<int> pai("int", REF_DEF_INT, "Sample integer argument"); in TEST() 34 PandArg<double> pad("double", REF_DEF_DOUBLE, "Sample rational argument"); in TEST() 35 PandArg<std::string> pas("string", REF_DEF_STRING, "Sample string argument"); in TEST() 36 PandArg<uint32_t> pau32("uint32", REF_DEF_UINT32, "Sample uint32 argument"); in TEST() 37 PandArg<uint64_t> pau64("uint64", REF_DEF_UINT64, "Sample uint64 argument"); in TEST() 38 PandArg<arg_list_t> pald("dlist", REF_DEF_DLIST, "Sample delimiter list argument", ":"); in TEST() 39 PandArg<arg_list_t> pal("list", REF_DEF_LIST, "Sample list argument"); in TEST() 41 PandArg<int> pair("rint", REF_DEF_INT, "Integer argument with range", -100L, 100U); in TEST() 43 PandArg<uint32_ in TEST() [all...] |
/arkcompiler/runtime_core/static_core/quickener/ |
H A D | quick.cpp | 42 static bool ProcessArgs(ark::PandArgParser &pa_parser, const ark::PandArg<std::string> &input, in ProcessArgs() 43 const ark::PandArg<std::string> &output, const ark::PandArg<bool> &help) in ProcessArgs() 59 ark::PandArg<bool> help("help", false, "Print this message and exit"); in main() 60 ark::PandArg<std::string> input("INPUT", "", "Path to the input binary file"); in main() 61 ark::PandArg<std::string> output("OUTPUT", "", "Path to the output binary file"); in main()
|
/arkcompiler/runtime_core/verifier/ |
H A D | main.cpp | 28 bool PorcessArgs(panda::PandArgParser &pa_parser, const panda::PandArg<std::string> &input_file, int argc, in PorcessArgs() 46 panda::PandArg<bool> help("help", false, "Print this message and exit"); in main() 47 panda::PandArg<std::string> input_file("input_file", "", "Path to the abc file"); in main()
|
/arkcompiler/runtime_core/libpandabase/tests/ |
H A D | pandargs_test.cpp | 31 PandArg<bool> PAB("bool", REF_DEF_BOOL, "Sample boolean argument"); 32 PandArg<int> PAI("int", REF_DEF_INT, "Sample integer argument"); 33 PandArg<double> PAD("double", REF_DEF_DOUBLE, "Sample rational argument"); 34 PandArg<std::string> PAS("string", REF_DEF_STRING, "Sample string argument"); 35 PandArg<uint32_t> PAU32("uint32", REF_DEF_UINT32, "Sample uint32 argument"); 36 PandArg<uint64_t> PAU64("uint64", REF_DEF_UINT64, "Sample uint64 argument"); 37 PandArg<arg_list_t> PALD("dlist", REF_DEF_DLIST, "Sample delimiter list argument", ":"); 38 PandArg<arg_list_t> PAL("list", REF_DEF_LIST, "Sample list argument"); 41 PandArg<int> PAIR("rint", REF_DEF_INT, "Integer argument with range", -100, 100); 44 PandArg<uint32_ [all...] |
/arkcompiler/runtime_core/static_core/runtime/tests/ |
H A D | options_test.cpp | 67 ark::PandArg<std::string> file("file", "", "path to pandafile"); in TEST_F()
|
/arkcompiler/runtime_core/static_core/verification/verifier/ |
H A D | verifier.cpp | 358 PandArg<std::string> &file) in Run() 407 PandArg<bool> help("help", false, "Print this message and exit"); in Main() 408 PandArg<bool> options("options", false, "Print verifier options"); in Main() 410 PandArg<std::string> file("file", "", "path to pandafile"); in Main()
|