Home | History | Annotate | Download | only in reflect

Lines Matching full:flagro

47 	//	- flagRO: obtained via unexported field, so read-only
70 flagRO flag = 1 << 5
209 if f&flagRO != 0 {
222 if f&flagRO != 0 {
239 return Value{v.typ.ptrTo(), v.ptr, (v.flag & flagRO) | flag(Ptr)}
286 return v.flag&(flagAddr|flagRO) == flagAddr
524 if v.flag&flagRO != 0 {
714 x.flag |= v.flag & flagRO
728 fl := v.flag&flagRO | flagIndir | flagAddr
749 fl := v.flag&(flagRO|flagIndir|flagAddr) | flag(typ.Kind())
750 // Using an unexported field forces flagRO.
752 fl |= flagRO
839 fl := v.flag&(flagRO|flagIndir|flagAddr) | flag(typ.Kind()) // bits same as overall array
852 fl := flagAddr | flagIndir | v.flag&flagRO | flag(typ.Kind())
861 fl := v.flag&flagRO | flag(Uint8) | flagIndir
892 return v.flag&flagRO == 0
908 if safe && v.flag&flagRO != 0 {
1039 fl := (v.flag | key.flag) & flagRO
1061 fl := v.flag&flagRO | flag(keyType.Kind())
1107 fl := v.flag & (flagRO | flagIndir)
1565 fl := v.flag&flagRO | flagIndir | flag(Slice)
1617 fl := v.flag&flagRO | flagIndir | flag(Slice)
2140 fl := v.flag & (flagRO | flagAddr | flagIndir)
2332 return makeInt(v.flag&flagRO, uint64(v.Int()), t)
2337 return makeInt(v.flag&flagRO, v.Uint(), t)
2342 return makeInt(v.flag&flagRO, uint64(int64(v.Float())), t)
2347 return makeInt(v.flag&flagRO, uint64(v.Float()), t)
2352 return makeFloat(v.flag&flagRO, float64(v.Int()), t)
2357 return makeFloat(v.flag&flagRO, float64(v.Uint()), t)
2362 return makeFloat(v.flag&flagRO, v.Float(), t)
2367 return makeComplex(v.flag&flagRO, v.Complex(), t)
2372 return makeString(v.flag&flagRO, string(v.Int()), t)
2377 return makeString(v.flag&flagRO, string(v.Uint()), t)
2382 return makeString(v.flag&flagRO, string(v.Bytes()), t)
2387 return makeBytes(v.flag&flagRO, []byte(v.String()), t)
2392 return makeString(v.flag&flagRO, string(v.runes()), t)
2397 return makeRunes(v.flag&flagRO, []rune(v.String()), t)
2412 return Value{t, ptr, v.flag&flagRO | f} // v.flag&flagRO|f == f?
2424 return Value{typ.common(), target, v.flag&flagRO | flagIndir | flag(Interface)}
2431 ret.flag |= v.flag & flagRO