Home
last modified time | relevance | path

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

/third_party/grpc/src/core/ext/filters/client_channel/xds/
Dxds_api.cc236 void PopulateMetadataValue(upb_arena* arena, google_protobuf_Value* value_pb,
242 auto* value_pb = google_protobuf_ListValue_add_values(list_value, arena); in PopulateListValue() local
243 PopulateMetadataValue(arena, value_pb, value); in PopulateListValue()
257 void PopulateMetadataValue(upb_arena* arena, google_protobuf_Value* value_pb, in PopulateMetadataValue() argument
261 google_protobuf_Value_set_null_value(value_pb, 0); in PopulateMetadataValue()
265 value_pb, strtod(value.string_value().c_str(), nullptr)); in PopulateMetadataValue()
269 value_pb, upb_strview_makez(value.string_value().c_str())); in PopulateMetadataValue()
272 google_protobuf_Value_set_bool_value(value_pb, true); in PopulateMetadataValue()
275 google_protobuf_Value_set_bool_value(value_pb, false); in PopulateMetadataValue()
279 google_protobuf_Value_mutable_struct_value(value_pb, arena); in PopulateMetadataValue()
[all …]
/third_party/grpc/src/core/ext/xds/
Dxds_api.cc576 void PopulateMetadataValue(upb_arena* arena, google_protobuf_Value* value_pb,
582 auto* value_pb = google_protobuf_ListValue_add_values(list_value, arena); in PopulateListValue() local
583 PopulateMetadataValue(arena, value_pb, value); in PopulateListValue()
597 void PopulateMetadataValue(upb_arena* arena, google_protobuf_Value* value_pb, in PopulateMetadataValue() argument
601 google_protobuf_Value_set_null_value(value_pb, 0); in PopulateMetadataValue()
605 value_pb, strtod(value.string_value().c_str(), nullptr)); in PopulateMetadataValue()
609 value_pb, StdStringToUpbString(value.string_value())); in PopulateMetadataValue()
612 google_protobuf_Value_set_bool_value(value_pb, true); in PopulateMetadataValue()
615 google_protobuf_Value_set_bool_value(value_pb, false); in PopulateMetadataValue()
619 google_protobuf_Value_mutable_struct_value(value_pb, arena); in PopulateMetadataValue()
[all …]