HomeSort by relevance Sort by last modified time
    Searched refs:ValueOf (Results 1 - 25 of 174) sorted by null

1 2 3 4 5 6 7

  /prebuilts/go/darwin-x86/src/reflect/
set_test.go 23 mv := ValueOf(m)
24 mv.SetMapIndex(ValueOf(1), ValueOf(2))
29 if n := mv.MapIndex(ValueOf(1)).Interface().(int); n != 2 {
36 mv := ValueOf(m)
37 mv.SetMapIndex(ValueOf(1), ValueOf(2))
42 if n := mv.MapIndex(ValueOf(1)).Interface().(int); n != 2 {
49 mv := ValueOf(m)
50 mv.SetMapIndex(ValueOf(1), ValueOf(2)
    [all...]
all_test.go 32 v := ValueOf(true)
34 t.Fatal("ValueOf(true).Bool() = false")
231 testType(t, i, ValueOf(tt.i).Field(0).Type(), tt.s)
237 v := ValueOf(tt.i)
282 v := ValueOf(tt.i).Elem()
285 v.Set(ValueOf(int(132)))
287 v.Set(ValueOf(int8(8)))
289 v.Set(ValueOf(int16(16)))
291 v.Set(ValueOf(int32(32)))
293 v.Set(ValueOf(int64(64))
    [all...]
  /prebuilts/go/linux-x86/src/reflect/
set_test.go 23 mv := ValueOf(m)
24 mv.SetMapIndex(ValueOf(1), ValueOf(2))
29 if n := mv.MapIndex(ValueOf(1)).Interface().(int); n != 2 {
36 mv := ValueOf(m)
37 mv.SetMapIndex(ValueOf(1), ValueOf(2))
42 if n := mv.MapIndex(ValueOf(1)).Interface().(int); n != 2 {
49 mv := ValueOf(m)
50 mv.SetMapIndex(ValueOf(1), ValueOf(2)
    [all...]
all_test.go 32 v := ValueOf(true)
34 t.Fatal("ValueOf(true).Bool() = false")
231 testType(t, i, ValueOf(tt.i).Field(0).Type(), tt.s)
237 v := ValueOf(tt.i)
282 v := ValueOf(tt.i).Elem()
285 v.Set(ValueOf(int(132)))
287 v.Set(ValueOf(int8(8)))
289 v.Set(ValueOf(int16(16)))
291 v.Set(ValueOf(int32(32)))
293 v.Set(ValueOf(int64(64))
    [all...]
  /prebuilts/go/darwin-x86/src/runtime/race/testdata/
reflect_test.go 15 v := reflect.ValueOf(&i)
17 v.Elem().Set(reflect.ValueOf(1))
27 v := reflect.ValueOf(&i)
29 v.Elem().Set(reflect.ValueOf(1))
32 v.Elem().Set(reflect.ValueOf(2))
39 v := reflect.ValueOf(a)
  /prebuilts/go/linux-x86/src/runtime/race/testdata/
reflect_test.go 15 v := reflect.ValueOf(&i)
17 v.Elem().Set(reflect.ValueOf(1))
27 v := reflect.ValueOf(&i)
29 v.Elem().Set(reflect.ValueOf(1))
32 v.Elem().Set(reflect.ValueOf(2))
39 v := reflect.ValueOf(a)
  /prebuilts/go/darwin-x86/doc/progs/
interface2.go 26 v := reflect.ValueOf(x)
36 v := reflect.ValueOf(x)
47 v := reflect.ValueOf(x)
64 v := reflect.ValueOf(x)
72 v := reflect.ValueOf(x)
80 v := reflect.ValueOf(x)
90 p := reflect.ValueOf(&x) // Note: take the address of x.
112 s := reflect.ValueOf(&t).Elem()
130 fmt.Println("value:", reflect.ValueOf(x))
  /prebuilts/go/linux-x86/doc/progs/
interface2.go 26 v := reflect.ValueOf(x)
36 v := reflect.ValueOf(x)
47 v := reflect.ValueOf(x)
64 v := reflect.ValueOf(x)
72 v := reflect.ValueOf(x)
80 v := reflect.ValueOf(x)
90 p := reflect.ValueOf(&x) // Note: take the address of x.
112 s := reflect.ValueOf(&t).Elem()
130 fmt.Println("value:", reflect.ValueOf(x))
  /prebuilts/go/darwin-x86/test/fixedbugs/issue16616.dir/
issue16616.go 17 if got := reflect.ValueOf(b.V).Type().Field(0).PkgPath; got != "b" {
20 if got := reflect.ValueOf(V).Type().Field(0).PkgPath; got != "main" {
23 if got := reflect.ValueOf(b.U).Type().Field(0).PkgPath; got != "b" {
  /prebuilts/go/linux-x86/test/fixedbugs/issue16616.dir/
issue16616.go 17 if got := reflect.ValueOf(b.V).Type().Field(0).PkgPath; got != "b" {
20 if got := reflect.ValueOf(V).Type().Field(0).PkgPath; got != "main" {
23 if got := reflect.ValueOf(b.U).Type().Field(0).PkgPath; got != "b" {
  /prebuilts/go/darwin-x86/misc/cgo/testsanitizers/
msan5.go 45 reflect.ValueOf(p).Elem().Set(reflect.ValueOf(C.int(42)))
51 reflect.Copy(reflect.ValueOf(a[:1]), reflect.ValueOf(a[1:]))
  /prebuilts/go/linux-x86/misc/cgo/testsanitizers/
msan5.go 45 reflect.ValueOf(p).Elem().Set(reflect.ValueOf(C.int(42)))
51 reflect.Copy(reflect.ValueOf(a[:1]), reflect.ValueOf(a[1:]))
  /external/v8/src/
unicode-decoder.cc 24 uint32_t character = Utf8::ValueOf(stream, stream_length, &cursor);
66 uint32_t character = Utf8::ValueOf(stream, stream_length, &cursor);
  /prebuilts/go/darwin-x86/test/fixedbugs/
bug461.go 18 v := reflect.ValueOf(&T)
issue10332.go 21 pkgpath := reflect.ValueOf(foo{}).Type().Field(0).PkgPath
issue16331.go 35 f := reflect.ValueOf(T{}).Method(0).Interface().(func())
  /prebuilts/go/linux-x86/test/fixedbugs/
bug461.go 18 v := reflect.ValueOf(&T)
issue10332.go 21 pkgpath := reflect.ValueOf(foo{}).Type().Field(0).PkgPath
issue16331.go 35 f := reflect.ValueOf(T{}).Method(0).Interface().(func())
  /prebuilts/go/darwin-x86/test/
reflectmethod4.go 26 reflect.ValueOf(v).Method(0).Interface().(func())()
  /prebuilts/go/linux-x86/test/
reflectmethod4.go 26 reflect.ValueOf(v).Method(0).Interface().(func())()
  /prebuilts/go/darwin-x86/src/crypto/tls/
handshake_messages_test.go 40 ty := reflect.ValueOf(iface).Type()
150 return reflect.ValueOf(m)
187 return reflect.ValueOf(m)
197 return reflect.ValueOf(m)
208 return reflect.ValueOf(m)
214 return reflect.ValueOf(m)
225 return reflect.ValueOf(m)
231 return reflect.ValueOf(m)
237 return reflect.ValueOf(m)
243 return reflect.ValueOf(m
    [all...]
  /prebuilts/go/linux-x86/src/crypto/tls/
handshake_messages_test.go 40 ty := reflect.ValueOf(iface).Type()
150 return reflect.ValueOf(m)
187 return reflect.ValueOf(m)
197 return reflect.ValueOf(m)
208 return reflect.ValueOf(m)
214 return reflect.ValueOf(m)
225 return reflect.ValueOf(m)
231 return reflect.ValueOf(m)
237 return reflect.ValueOf(m)
243 return reflect.ValueOf(m
    [all...]
  /prebuilts/go/darwin-x86/test/ken/
cplx3.go 49 switch c := reflect.ValueOf(a); c.Kind() {
  /prebuilts/go/linux-x86/test/ken/
cplx3.go 49 switch c := reflect.ValueOf(a); c.Kind() {

Completed in 611 milliseconds

1 2 3 4 5 6 7