Searched refs:toInt32 (Results 1 - 2 of 2) sorted by relevance
/third_party/protobuf/csharp/src/Google.Protobuf/ |
H A D | FieldCodec.cs | 206 /// <param name="toInt32">A conversion function from <see cref="Int32"/> to the enum type.</param> 209 public static FieldCodec<T> ForEnum<T>(uint tag, Func<T, int> toInt32, Func<int, T> fromInt32) in ForEnum() argument 211 return FieldCodec.ForEnum(tag, toInt32, fromInt32, default(T)); in ForEnum() 386 /// <param name="toInt32">A conversion function from <see cref="Int32"/> to the enum type.</param> 390 public static FieldCodec<T> ForEnum<T>(uint tag, Func<T, int> toInt32, Func<int, T> fromInt32, T defaultValue) in ForEnum() argument 394 (ref WriteContext output, T value) => output.WriteEnum(toInt32(value)), in ForEnum() 395 value => CodedOutputStream.ComputeEnumSize(toInt32(value)), tag, defaultValue); in ForEnum()
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/ |
H A D | stylo.hpp | [all...] |
Completed in 28 milliseconds