Lines Matching refs:dim
111 const auto& dim = dims[*index]; in writeDimensionToProtoHelper() local
112 const int valueDepth = dim.mField.getDepth(); in writeDimensionToProtoHelper()
113 const int valuePrefix = dim.mField.getPrefix(depth); in writeDimensionToProtoHelper()
114 const int fieldNum = dim.mField.getPosAtDepth(depth); in writeDimensionToProtoHelper()
126 switch (dim.mValue.getType()) { in writeDimensionToProtoHelper()
129 dim.mValue.int_value); in writeDimensionToProtoHelper()
133 (long long)dim.mValue.long_value); in writeDimensionToProtoHelper()
137 dim.mValue.float_value); in writeDimensionToProtoHelper()
142 dim.mValue.str_value); in writeDimensionToProtoHelper()
144 str_set->insert(dim.mValue.str_value); in writeDimensionToProtoHelper()
146 (long long)Hash64(dim.mValue.str_value)); in writeDimensionToProtoHelper()
163 writeDimensionToProtoHelper(dims, index, valueDepth, dim.mField.getPrefix(valueDepth), in writeDimensionToProtoHelper()
180 const auto& dim = dims[*index]; in writeDimensionLeafToProtoHelper() local
181 const int valueDepth = dim.mField.getDepth(); in writeDimensionLeafToProtoHelper()
182 const int valuePrefix = dim.mField.getPrefix(depth); in writeDimensionLeafToProtoHelper()
192 switch (dim.mValue.getType()) { in writeDimensionLeafToProtoHelper()
195 dim.mValue.int_value); in writeDimensionLeafToProtoHelper()
199 (long long)dim.mValue.long_value); in writeDimensionLeafToProtoHelper()
203 dim.mValue.float_value); in writeDimensionLeafToProtoHelper()
208 dim.mValue.str_value); in writeDimensionLeafToProtoHelper()
210 str_set->insert(dim.mValue.str_value); in writeDimensionLeafToProtoHelper()
212 (long long)Hash64(dim.mValue.str_value)); in writeDimensionLeafToProtoHelper()
224 index, valueDepth, dim.mField.getPrefix(valueDepth), in writeDimensionLeafToProtoHelper()
344 const auto& dim = dims[*index]; in writeFieldValueTreeToStreamHelper() local
345 const int valueDepth = dim.mField.getDepth(); in writeFieldValueTreeToStreamHelper()
346 const int valuePrefix = dim.mField.getPrefix(depth); in writeFieldValueTreeToStreamHelper()
347 const int fieldNum = dim.mField.getPosAtDepth(depth); in writeFieldValueTreeToStreamHelper()
357 switch (dim.mValue.getType()) { in writeFieldValueTreeToStreamHelper()
360 dim.mValue.int_value); in writeFieldValueTreeToStreamHelper()
364 (long long)dim.mValue.long_value); in writeFieldValueTreeToStreamHelper()
368 dim.mValue.float_value); in writeFieldValueTreeToStreamHelper()
372 dim.mValue.str_value); in writeFieldValueTreeToStreamHelper()
377 (const char*)dim.mValue.storage_value.data(), in writeFieldValueTreeToStreamHelper()
378 dim.mValue.storage_value.size()); in writeFieldValueTreeToStreamHelper()
391 dim.mField.getPrefix(valueDepth), protoOutput); in writeFieldValueTreeToStreamHelper()