Searched refs:VALUE_AS (Results 1 – 1 of 1) sorted by relevance
/external/chromium/sdch/open-vcdiff/src/ |
D | gflags.cc | 263 #define VALUE_AS(type) *reinterpret_cast<type*>(value_buffer_) macro 265 #define SET_VALUE_AS(type, value) VALUE_AS(type) = (value) 359 return VALUE_AS(bool) ? "true" : "false"; in ToString() 361 snprintf(intbuf, sizeof(intbuf), "%"PRId32, VALUE_AS(int32)); in ToString() 364 snprintf(intbuf, sizeof(intbuf), "%"PRId64, VALUE_AS(int64)); in ToString() 367 snprintf(intbuf, sizeof(intbuf), "%"PRIu64, VALUE_AS(uint64)); in ToString() 370 snprintf(intbuf, sizeof(intbuf), "%.17g", VALUE_AS(double)); in ToString() 373 return VALUE_AS(string); in ToString() 385 validate_fn_proto)(flagname, VALUE_AS(bool)); in Validate() 388 validate_fn_proto)(flagname, VALUE_AS(int32)); in Validate() [all …]
|