• Home
  • Raw
  • Download

Lines Matching refs:flag

69     FlagRegesterer(const std::string& name, const T& flag)  in FlagRegesterer()  argument
75 metaFlag.addr_ = (void*) &flag; in FlagRegesterer()
256 static int ParseBoolFlag(const std::string& flag, const std::string& valStr) in ParseBoolFlag() argument
258 bool *val = (bool*) flags_[flag].addr_; in ParseBoolFlag()
264 std::cout << "CommandLineFlags ERROR: argument " << flag in ParseBoolFlag()
274 static int ParseInt8Flag(const std::string& flag, const std::string& valStr) in ParseInt8Flag() argument
279 std::cout << "CommandLineFlags ERROR: argument " << flag in ParseInt8Flag()
284 int8_t* val = (int8_t*) flags_[flag].addr_; in ParseInt8Flag()
289 static int ParseInt16Flag(const std::string& flag, const std::string& valStr) in ParseInt16Flag() argument
294 std::cout << "CommandLineFlags ERROR: argument " << flag in ParseInt16Flag()
299 int16_t* val = (int16_t*) flags_[flag].addr_; in ParseInt16Flag()
304 static int ParseInt32Flag(const std::string& flag, const std::string& valStr) in ParseInt32Flag() argument
309 std::cout << "CommandLineFlags ERROR: argument " << flag in ParseInt32Flag()
314 int32_t* val = (int32_t*) flags_[flag].addr_; in ParseInt32Flag()
319 static int ParseInt64Flag(const std::string& flag, const std::string& valStr) in ParseInt64Flag() argument
324 std::cout << "CommandLineFlags ERROR: argument " << flag in ParseInt64Flag()
329 int64_t* val = (int64_t*) flags_[flag].addr_; in ParseInt64Flag()
334 static int ParseUint8Flag(const std::string& flag, const std::string& valStr) in ParseUint8Flag() argument
339 std::cout << "CommandLineFlags ERROR: argument " << flag in ParseUint8Flag()
344 uint8_t* val = (uint8_t*) flags_[flag].addr_; in ParseUint8Flag()
349 static int ParseUint16Flag(const std::string& flag, const std::string& valStr) in ParseUint16Flag() argument
354 std::cout << "CommandLineFlags ERROR: argument " << flag in ParseUint16Flag()
359 uint16_t* val = (uint16_t*) flags_[flag].addr_; in ParseUint16Flag()
364 static int ParseUint32Flag(const std::string& flag, const std::string& valStr) in ParseUint32Flag() argument
369 std::cout << "CommandLineFlags ERROR: argument " << flag in ParseUint32Flag()
374 uint32_t* val = (uint32_t*) flags_[flag].addr_; in ParseUint32Flag()
379 static int ParseUint64Flag(const std::string& flag, const std::string& valStr) in ParseUint64Flag() argument
384 std::cout << "CommandLineFlags ERROR: argument " << flag in ParseUint64Flag()
389 uint64_t* val = (uint64_t*) flags_[flag].addr_; in ParseUint64Flag()
394 static int ParseDoubleFlag(const std::string& flag, const std::string& valStr) in ParseDoubleFlag() argument
399 std::cout << "CommandLineFlags ERROR: argument " << flag in ParseDoubleFlag()
404 double* val = (double*) flags_[flag].addr_; in ParseDoubleFlag()
409 static int ParseStringFlag(const std::string& flag, const std::string& valStr) in ParseStringFlag() argument
411 std::string* val = (std::string*) flags_[flag].addr_; in ParseStringFlag()
416 static int ParseBoolArrayFlag(const std::string& flag, const std::string& valStr) in ParseBoolArrayFlag() argument
418 std::vector<bool>* val = (std::vector<bool>*) flags_[flag].addr_; in ParseBoolArrayFlag()
431 std::cout << "CommandLineFlags ERROR: argument " << flag in ParseBoolArrayFlag()
443 static int ParseInt8ArrayFlag(const std::string& flag, const std::string& valStr) in ParseInt8ArrayFlag() argument
445 std::vector<int8_t>* val = (std::vector<int8_t>*) flags_[flag].addr_; in ParseInt8ArrayFlag()
456 std::cout << "CommandLineFlags ERROR: argument " << flag in ParseInt8ArrayFlag()
469 static int ParseInt16ArrayFlag(const std::string& flag, const std::string& valStr) in ParseInt16ArrayFlag() argument
471 std::vector<int16_t>* val = (std::vector<int16_t>*) flags_[flag].addr_; in ParseInt16ArrayFlag()
482 std::cout << "CommandLineFlags ERROR: argument " << flag in ParseInt16ArrayFlag()
495 static int ParseInt32ArrayFlag(const std::string& flag, const std::string& valStr) in ParseInt32ArrayFlag() argument
497 std::vector<int32_t>* val = (std::vector<int32_t>*) flags_[flag].addr_; in ParseInt32ArrayFlag()
508 std::cout << "CommandLineFlags ERROR: argument " << flag in ParseInt32ArrayFlag()
521 static int ParseInt64ArrayFlag(const std::string& flag, const std::string& valStr) in ParseInt64ArrayFlag() argument
523 std::vector<int64_t>* val = (std::vector<int64_t>*) flags_[flag].addr_; in ParseInt64ArrayFlag()
534 std::cout << "CommandLineFlags ERROR: argument " << flag in ParseInt64ArrayFlag()
547 static int ParseUint8ArrayFlag(const std::string& flag, const std::string& valStr) in ParseUint8ArrayFlag() argument
549 std::vector<uint8_t>* val = (std::vector<uint8_t>*) flags_[flag].addr_; in ParseUint8ArrayFlag()
560 std::cout << "CommandLineFlags ERROR: argument " << flag in ParseUint8ArrayFlag()
573 static int ParseUint16ArrayFlag(const std::string& flag, const std::string& valStr) in ParseUint16ArrayFlag() argument
575 std::vector<uint16_t>* val = (std::vector<uint16_t>*) flags_[flag].addr_; in ParseUint16ArrayFlag()
586 std::cout << "CommandLineFlags ERROR: argument " << flag in ParseUint16ArrayFlag()
599 static int ParseUint32ArrayFlag(const std::string& flag, const std::string& valStr) in ParseUint32ArrayFlag() argument
601 std::vector<uint32_t>* val = (std::vector<uint32_t>*) flags_[flag].addr_; in ParseUint32ArrayFlag()
612 std::cout << "CommandLineFlags ERROR: argument " << flag in ParseUint32ArrayFlag()
625 static int ParseUint64ArrayFlag(const std::string& flag, const std::string& valStr) in ParseUint64ArrayFlag() argument
627 std::vector<uint64_t>* val = (std::vector<uint64_t>*) flags_[flag].addr_; in ParseUint64ArrayFlag()
638 std::cout << "CommandLineFlags ERROR: argument " << flag in ParseUint64ArrayFlag()
651 static int ParseDoubleArrayFlag(const std::string& flag, const std::string& valStr) in ParseDoubleArrayFlag() argument
653 std::vector<double>* val = (std::vector<double>*) flags_[flag].addr_; in ParseDoubleArrayFlag()
664 std::cout << "CommandLineFlags ERROR: argument " << flag in ParseDoubleArrayFlag()
677 static int ParseStringArrayFlag(const std::string& flag, const std::string& valStr) in ParseStringArrayFlag() argument
679 std::vector<std::string>* val = (std::vector<std::string>*) flags_[flag].addr_; in ParseStringArrayFlag()