Lines Matching refs:val
258 bool *val = (bool*) flags_[flag].addr_; in ParseBoolFlag() local
260 *val = false; in ParseBoolFlag()
262 *val = true; in ParseBoolFlag()
284 int8_t* val = (int8_t*) flags_[flag].addr_; in ParseInt8Flag() local
285 *val = static_cast<int8_t>(tmpVal); in ParseInt8Flag()
299 int16_t* val = (int16_t*) flags_[flag].addr_; in ParseInt16Flag() local
300 *val = static_cast<int16_t>(tmpVal); in ParseInt16Flag()
314 int32_t* val = (int32_t*) flags_[flag].addr_; in ParseInt32Flag() local
315 *val = static_cast<int32_t>(tmpVal); in ParseInt32Flag()
329 int64_t* val = (int64_t*) flags_[flag].addr_; in ParseInt64Flag() local
330 *val = static_cast<int64_t>(tmpVal); in ParseInt64Flag()
344 uint8_t* val = (uint8_t*) flags_[flag].addr_; in ParseUint8Flag() local
345 *val = static_cast<uint8_t>(tmpVal); in ParseUint8Flag()
359 uint16_t* val = (uint16_t*) flags_[flag].addr_; in ParseUint16Flag() local
360 *val = static_cast<uint16_t>(tmpVal); in ParseUint16Flag()
374 uint32_t* val = (uint32_t*) flags_[flag].addr_; in ParseUint32Flag() local
375 *val = static_cast<uint32_t>(tmpVal); in ParseUint32Flag()
389 uint64_t* val = (uint64_t*) flags_[flag].addr_; in ParseUint64Flag() local
390 *val = static_cast<uint64_t>(tmpVal); in ParseUint64Flag()
404 double* val = (double*) flags_[flag].addr_; in ParseDoubleFlag() local
405 *val = tmpVal; in ParseDoubleFlag()
411 std::string* val = (std::string*) flags_[flag].addr_; in ParseStringFlag() local
412 *val = valStr; in ParseStringFlag()
418 std::vector<bool>* val = (std::vector<bool>*) flags_[flag].addr_; in ParseBoolArrayFlag() local
427 val->push_back(false); in ParseBoolArrayFlag()
429 val->push_back(true); in ParseBoolArrayFlag()
434 val->clear(); in ParseBoolArrayFlag()
445 std::vector<int8_t>* val = (std::vector<int8_t>*) flags_[flag].addr_; in ParseInt8ArrayFlag() local
459 val->clear(); in ParseInt8ArrayFlag()
462 val->push_back(static_cast<int8_t>(tmpVal)); in ParseInt8ArrayFlag()
471 std::vector<int16_t>* val = (std::vector<int16_t>*) flags_[flag].addr_; in ParseInt16ArrayFlag() local
485 val->clear(); in ParseInt16ArrayFlag()
488 val->push_back(static_cast<int16_t>(tmpVal)); in ParseInt16ArrayFlag()
497 std::vector<int32_t>* val = (std::vector<int32_t>*) flags_[flag].addr_; in ParseInt32ArrayFlag() local
511 val->clear(); in ParseInt32ArrayFlag()
514 val->push_back(static_cast<int32_t>(tmpVal)); in ParseInt32ArrayFlag()
523 std::vector<int64_t>* val = (std::vector<int64_t>*) flags_[flag].addr_; in ParseInt64ArrayFlag() local
537 val->clear(); in ParseInt64ArrayFlag()
540 val->push_back(static_cast<int64_t>(tmpVal)); in ParseInt64ArrayFlag()
549 std::vector<uint8_t>* val = (std::vector<uint8_t>*) flags_[flag].addr_; in ParseUint8ArrayFlag() local
563 val->clear(); in ParseUint8ArrayFlag()
566 val->push_back(static_cast<uint8_t>(tmpVal)); in ParseUint8ArrayFlag()
575 std::vector<uint16_t>* val = (std::vector<uint16_t>*) flags_[flag].addr_; in ParseUint16ArrayFlag() local
589 val->clear(); in ParseUint16ArrayFlag()
592 val->push_back(static_cast<uint16_t>(tmpVal)); in ParseUint16ArrayFlag()
601 std::vector<uint32_t>* val = (std::vector<uint32_t>*) flags_[flag].addr_; in ParseUint32ArrayFlag() local
615 val->clear(); in ParseUint32ArrayFlag()
618 val->push_back(static_cast<uint32_t>(tmpVal)); in ParseUint32ArrayFlag()
627 std::vector<uint64_t>* val = (std::vector<uint64_t>*) flags_[flag].addr_; in ParseUint64ArrayFlag() local
641 val->clear(); in ParseUint64ArrayFlag()
644 val->push_back(static_cast<uint64_t>(tmpVal)); in ParseUint64ArrayFlag()
653 std::vector<double>* val = (std::vector<double>*) flags_[flag].addr_; in ParseDoubleArrayFlag() local
667 val->clear(); in ParseDoubleArrayFlag()
670 val->push_back(tmpVal); in ParseDoubleArrayFlag()
679 std::vector<std::string>* val = (std::vector<std::string>*) flags_[flag].addr_; in ParseStringArrayFlag() local
686 val->emplace_back(valStr.c_str() + start, end - start); in ParseStringArrayFlag()