Home
last modified time | relevance | path

Searched refs:map_val (Results 1 – 2 of 2) sorted by relevance

/external/protobuf/src/google/protobuf/
Dmap_test_util.cc563 MapValueRef map_val; in SetMapFieldsViaMapReflection() local
569 message, F("map_int32_int32"), map_key, &map_val)); in SetMapFieldsViaMapReflection()
570 map_val.SetInt32Value(0); in SetMapFieldsViaMapReflection()
574 message, F("map_int64_int64"), map_key, &map_val)); in SetMapFieldsViaMapReflection()
575 map_val.SetInt64Value(0); in SetMapFieldsViaMapReflection()
579 message, F("map_uint32_uint32"), map_key, &map_val)); in SetMapFieldsViaMapReflection()
580 map_val.SetUInt32Value(0); in SetMapFieldsViaMapReflection()
584 message, F("map_uint64_uint64"), map_key, &map_val)); in SetMapFieldsViaMapReflection()
585 map_val.SetUInt64Value(0); in SetMapFieldsViaMapReflection()
589 message, F("map_sint32_sint32"), map_key, &map_val)); in SetMapFieldsViaMapReflection()
[all …]
Dmap_field.cc189 MapValueRef& map_val = (*map)[map_key]; in InsertOrLookupMapValue() local
192 map_val.SetType(val_des->cpp_type()); in InsertOrLookupMapValue()
199 map_val.SetValue(value); \ in InsertOrLookupMapValue()
216 map_val.SetValue(value); in InsertOrLookupMapValue()
220 val->CopyFrom(map_val); in InsertOrLookupMapValue()
311 const MapValueRef& map_val = it->second; in SyncRepeatedFieldWithMapNoLock() local
314 reflection->SetString(new_entry, val_des, map_val.GetStringValue()); in SyncRepeatedFieldWithMapNoLock()
317 reflection->SetInt64(new_entry, val_des, map_val.GetInt64Value()); in SyncRepeatedFieldWithMapNoLock()
320 reflection->SetInt32(new_entry, val_des, map_val.GetInt32Value()); in SyncRepeatedFieldWithMapNoLock()
323 reflection->SetUInt64(new_entry, val_des, map_val.GetUInt64Value()); in SyncRepeatedFieldWithMapNoLock()
[all …]