Lines Matching refs:reflect
76 v1, v2 := reflect.ValueOf(a), reflect.ValueOf(b)
80 if v1.Kind() == reflect.Ptr {
89 if v1.Kind() != reflect.Struct {
96 func equalStruct(v1, v2 reflect.Value) bool {
104 if f.Type.Kind() == reflect.Ptr {
145 func equalAny(v1, v2 reflect.Value, prop *Properties) bool {
152 case reflect.Bool:
154 case reflect.Float32, reflect.Float64:
156 case reflect.Int32, reflect.Int64:
158 case reflect.Interface:
169 case reflect.Map:
184 case reflect.Ptr:
193 case reflect.Slice:
194 if v1.Type().Elem().Kind() == reflect.Uint8 {
217 case reflect.String:
219 case reflect.Struct:
221 case reflect.Uint32, reflect.Uint64:
232 func equalExtensions(base reflect.Type, x1, x2 XXX_InternalExtensions) bool {
238 func equalExtMap(base reflect.Type, em1, em2 map[int32]Extension) bool {
263 if !equalAny(reflect.ValueOf(m1), reflect.ValueOf(m2), nil) {
295 if !equalAny(reflect.ValueOf(m1), reflect.ValueOf(m2), nil) {