Searched refs:kDataTypeRefOffset (Results 1 – 3 of 3) sorted by relevance
31 TEST(TypesTest, kDataTypeRefOffset) { in TEST() argument33 EXPECT_EQ(DT_FLOAT + kDataTypeRefOffset, DT_FLOAT_REF); in TEST()41 int e_ref = e + kDataTypeRefOffset; in TEST()78 for (; e < DataType_MIN + kDataTypeRefOffset; ++e) { in TEST()
109 DataType non_ref = static_cast<DataType>(dtype - kDataTypeRefOffset); in DataTypeString()120 *dt = static_cast<DataType>(non_ref + kDataTypeRefOffset); in DataTypeFromString()
236 enum { kDataTypeRefOffset = 100 };238 return dtype > static_cast<DataType>(kDataTypeRefOffset);242 return static_cast<DataType>(dtype + kDataTypeRefOffset);246 return static_cast<DataType>(dtype - kDataTypeRefOffset);