Lines Matching full:option
43 "--compiler-log: log Option For aot compiler and stub compiler,\n"
115 const struct option longOptions[] = { in ParseCommand()
174 int option = 0; in ParseCommand() local
186 option = getopt_long_only(argc, const_cast<char **>(argv), "", longOptions, &index); in ParseCommand()
187 LOG_ECMA(INFO) << "option: " << option << ", optopt: " << optopt << ", optind: " << optind; in ParseCommand()
193 if (option == -1) { in ParseCommand()
197 // unknown option or required_argument option has no argument in ParseCommand()
198 if (option == '?') { in ParseCommand()
207 WasSet(option); in ParseCommand()
208 switch (option) { in ParseCommand()
514 std::cerr << "Invalid option\n"<< std::endl; in ParseCommand()
524 if (optopt == OPTION_DEFAULT) { // unknown option in SetDefaultValue()
525 std::cerr << " Invalid option \"" << argv << "\"" << std::endl; in SetDefaultValue()
546 bool JSRuntimeOptions::ParseIntParam(const std::string &option, int* argInt) in ParseIntParam() argument
556 std::cerr << "getopt: \"" << option <<"\" argument has invalid parameter value \"" in ParseIntParam()
563 bool JSRuntimeOptions::ParseUint32Param(const std::string &option, uint32_t *argUint32) in ParseUint32Param() argument
574 std::cerr << "getopt: \"" << option <<"\" argument has invalid parameter value \"" in ParseUint32Param()
581 bool JSRuntimeOptions::ParseUint64Param(const std::string &option, uint64_t *argUInt64) in ParseUint64Param() argument
592 std::cerr << "getopt: \"" << option <<"\" argument has invalid parameter value \"" in ParseUint64Param()
599 void JSRuntimeOptions::ParseListArgParam(const std::string &option, arg_list_t *argListStr, std::st… in ParseListArgParam() argument
603 std::size_t pos = option.find_first_of(delimiter, strIndex); in ParseListArgParam()
604 while ((pos < option.size()) && (pos > strIndex)) { in ParseListArgParam()
605 argListStr->push_back(option.substr(strIndex, pos - strIndex)); in ParseListArgParam()
607 strIndex = option.find_first_not_of(delimiter, strIndex); in ParseListArgParam()
608 pos = option.find_first_of(delimiter, strIndex); in ParseListArgParam()
611 argListStr->push_back(option.substr(strIndex, pos - strIndex)); in ParseListArgParam()