Home | History | Annotate | Download | only in src

Lines Matching full:value_buffer_

235   friend class FlagRegistry;     // checks value_buffer_ for flags_by_ptr_ map
247 // Calls the given validate-fn on value_buffer_, and returns
253 void* value_buffer_; // points to the buffer holding our data
263 #define VALUE_AS(type) *reinterpret_cast<type*>(value_buffer_)
264 #define OTHER_VALUE_AS(fv, type) *reinterpret_cast<type*>(fv.value_buffer_)
267 FlagValue::FlagValue(void* valbuf, const char* type) : value_buffer_(valbuf) {
279 case FV_BOOL: delete reinterpret_cast<bool*>(value_buffer_); break;
280 case FV_INT32: delete reinterpret_cast<int32*>(value_buffer_); break;
281 case FV_INT64: delete reinterpret_cast<int64*>(value_buffer_); break;
282 case FV_UINT64: delete reinterpret_cast<uint64*>(value_buffer_); break;
283 case FV_DOUBLE: delete reinterpret_cast<double*>(value_buffer_); break;
284 case FV_STRING: delete reinterpret_cast<string*>(value_buffer_); break;
625 // That is, for whom current_->value_buffer_ == flag_ptr
702 flags_by_ptr_[flag->current_->value_buffer_] = flag;
1331 // This is the CommandLineFlag whose current_->value_buffer_ == flag