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

1 2 3 4

  /external/llvm/include/llvm/ADT/
BitmaskEnum.h 34 /// instance of the underlying type (e.g. int). But using this macro, bitwise
89 /// Check that Val is in range for E, and return Val cast to E's underlying
91 template <typename E> typename std::underlying_type<E>::type Underlying(E Val) {
101 return static_cast<E>(~Underlying(Val) & Mask<E>());
107 return static_cast<E>(Underlying(LHS) | Underlying(RHS));
113 return static_cast<E>(Underlying(LHS) & Underlying(RHS));
119 return static_cast<E>(Underlying(LHS) ^ Underlying(RHS))
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/ADT/
BitmaskEnum.h 34 /// instance of the underlying type (e.g. int). But using this macro, bitwise
89 /// Check that Val is in range for E, and return Val cast to E's underlying
91 template <typename E> typename std::underlying_type<E>::type Underlying(E Val) {
101 return static_cast<E>(~Underlying(Val) & Mask<E>());
107 return static_cast<E>(Underlying(LHS) | Underlying(RHS));
113 return static_cast<E>(Underlying(LHS) & Underlying(RHS));
119 return static_cast<E>(Underlying(LHS) ^ Underlying(RHS))
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/ADT/
BitmaskEnum.h 34 /// instance of the underlying type (e.g. int). But using this macro, bitwise
89 /// Check that Val is in range for E, and return Val cast to E's underlying
91 template <typename E> typename std::underlying_type<E>::type Underlying(E Val) {
101 return static_cast<E>(~Underlying(Val) & Mask<E>());
107 return static_cast<E>(Underlying(LHS) | Underlying(RHS));
113 return static_cast<E>(Underlying(LHS) & Underlying(RHS));
119 return static_cast<E>(Underlying(LHS) ^ Underlying(RHS))
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/ADT/
BitmaskEnum.h 34 /// instance of the underlying type (e.g. int). But using this macro, bitwise
89 /// Check that Val is in range for E, and return Val cast to E's underlying
91 template <typename E> typename std::underlying_type<E>::type Underlying(E Val) {
101 return static_cast<E>(~Underlying(Val) & Mask<E>());
107 return static_cast<E>(Underlying(LHS) | Underlying(RHS));
113 return static_cast<E>(Underlying(LHS) & Underlying(RHS));
119 return static_cast<E>(Underlying(LHS) ^ Underlying(RHS))
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/ADT/
BitmaskEnum.h 34 /// instance of the underlying type (e.g. int). But using this macro, bitwise
89 /// Check that Val is in range for E, and return Val cast to E's underlying
91 template <typename E> typename std::underlying_type<E>::type Underlying(E Val) {
101 return static_cast<E>(~Underlying(Val) & Mask<E>());
107 return static_cast<E>(Underlying(LHS) | Underlying(RHS));
113 return static_cast<E>(Underlying(LHS) & Underlying(RHS));
119 return static_cast<E>(Underlying(LHS) ^ Underlying(RHS))
    [all...]
  /prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/ADT/
BitmaskEnum.h 34 /// instance of the underlying type (e.g. int). But using this macro, bitwise
89 /// Check that Val is in range for E, and return Val cast to E's underlying
91 template <typename E> typename std::underlying_type<E>::type Underlying(E Val) {
101 return static_cast<E>(~Underlying(Val) & Mask<E>());
107 return static_cast<E>(Underlying(LHS) | Underlying(RHS));
113 return static_cast<E>(Underlying(LHS) & Underlying(RHS));
119 return static_cast<E>(Underlying(LHS) ^ Underlying(RHS))
    [all...]
  /prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/ADT/
BitmaskEnum.h 34 /// instance of the underlying type (e.g. int). But using this macro, bitwise
89 /// Check that Val is in range for E, and return Val cast to E's underlying
91 template <typename E> typename std::underlying_type<E>::type Underlying(E Val) {
101 return static_cast<E>(~Underlying(Val) & Mask<E>());
107 return static_cast<E>(Underlying(LHS) | Underlying(RHS));
113 return static_cast<E>(Underlying(LHS) & Underlying(RHS));
119 return static_cast<E>(Underlying(LHS) ^ Underlying(RHS))
    [all...]
  /prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/include/llvm/ADT/
BitmaskEnum.h 34 /// instance of the underlying type (e.g. int). But using this macro, bitwise
89 /// Check that Val is in range for E, and return Val cast to E's underlying
91 template <typename E> typename std::underlying_type<E>::type Underlying(E Val) {
101 return static_cast<E>(~Underlying(Val) & Mask<E>());
107 return static_cast<E>(Underlying(LHS) | Underlying(RHS));
113 return static_cast<E>(Underlying(LHS) & Underlying(RHS));
119 return static_cast<E>(Underlying(LHS) ^ Underlying(RHS))
    [all...]
  /prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/ADT/
BitmaskEnum.h 34 /// instance of the underlying type (e.g. int). But using this macro, bitwise
89 /// Check that Val is in range for E, and return Val cast to E's underlying
91 template <typename E> typename std::underlying_type<E>::type Underlying(E Val) {
101 return static_cast<E>(~Underlying(Val) & Mask<E>());
107 return static_cast<E>(Underlying(LHS) | Underlying(RHS));
113 return static_cast<E>(Underlying(LHS) & Underlying(RHS));
119 return static_cast<E>(Underlying(LHS) ^ Underlying(RHS))
    [all...]
  /prebuilts/go/darwin-x86/src/go/types/
conversions.go 20 switch t := T.Underlying().(*Basic); {
72 // "x's type and T have identical underlying types if tags are ignored"
74 Vu := V.Underlying()
75 Tu := T.Underlying()
81 // have identical underlying types if tags are ignored"
84 if IdenticalIgnoreTags(V.base.Underlying(), T.base.Underlying()) {
111 // "any pointer or value of underlying type uintptr can be converted into a unsafe.Pointer"
124 t, ok := typ.Underlying().(*Basic)
129 // TODO(gri): Is this (typ.Underlying() instead of just typ) correct
    [all...]
predicates.go 20 t, ok := typ.Underlying().(*Basic)
25 t, ok := typ.Underlying().(*Basic)
30 t, ok := typ.Underlying().(*Basic)
35 t, ok := typ.Underlying().(*Basic)
40 t, ok := typ.Underlying().(*Basic)
45 t, ok := typ.Underlying().(*Basic)
50 t, ok := typ.Underlying().(*Basic)
55 t, ok := typ.Underlying().(*Basic)
60 t, ok := typ.Underlying().(*Basic)
65 t, ok := typ.Underlying().(*Basic
    [all...]
type.go 12 // Underlying returns the underlying type of a type.
13 Underlying() Type
316 it := et.Underlying().(*Interface)
380 underlying Type // possibly a *Named during setup; never a *Named once set up completely
384 // NewNamed returns a new named type for the given type name, underlying type, and associated methods.
385 // The underlying type must not be a *Named.
386 func NewNamed(obj *TypeName, underlying Type, methods []*Func) *Named {
387 if _, ok := underlying.(*Named); ok {
388 panic("types.NewNamed: underlying type must not be *Named"
    [all...]
builtins.go 85 if s, _ := S.Underlying().(*Slice); s != nil {
142 switch typ = implicitArrayDeref(x.typ.Underlying()); t := typ.(type) {
187 c, _ := x.typ.Underlying().(*Chan)
276 switch x.typ.Underlying().(*Basic).kind {
297 if t, _ := x.typ.Underlying().(*Slice); t != nil {
307 switch t := y.typ.Underlying().(type) {
334 m, _ := x.typ.Underlying().(*Map)
398 switch x.typ.Underlying().(*Basic).kind {
427 switch T.Underlying().(type) {
651 if a, ok := p.base.Underlying().(*Array); ok
    [all...]
  /prebuilts/go/linux-x86/src/go/types/
conversions.go 20 switch t := T.Underlying().(*Basic); {
72 // "x's type and T have identical underlying types if tags are ignored"
74 Vu := V.Underlying()
75 Tu := T.Underlying()
81 // have identical underlying types if tags are ignored"
84 if IdenticalIgnoreTags(V.base.Underlying(), T.base.Underlying()) {
111 // "any pointer or value of underlying type uintptr can be converted into a unsafe.Pointer"
124 t, ok := typ.Underlying().(*Basic)
129 // TODO(gri): Is this (typ.Underlying() instead of just typ) correct
    [all...]
predicates.go 20 t, ok := typ.Underlying().(*Basic)
25 t, ok := typ.Underlying().(*Basic)
30 t, ok := typ.Underlying().(*Basic)
35 t, ok := typ.Underlying().(*Basic)
40 t, ok := typ.Underlying().(*Basic)
45 t, ok := typ.Underlying().(*Basic)
50 t, ok := typ.Underlying().(*Basic)
55 t, ok := typ.Underlying().(*Basic)
60 t, ok := typ.Underlying().(*Basic)
65 t, ok := typ.Underlying().(*Basic
    [all...]
type.go 12 // Underlying returns the underlying type of a type.
13 Underlying() Type
316 it := et.Underlying().(*Interface)
380 underlying Type // possibly a *Named during setup; never a *Named once set up completely
384 // NewNamed returns a new named type for the given type name, underlying type, and associated methods.
385 // The underlying type must not be a *Named.
386 func NewNamed(obj *TypeName, underlying Type, methods []*Func) *Named {
387 if _, ok := underlying.(*Named); ok {
388 panic("types.NewNamed: underlying type must not be *Named"
    [all...]
builtins.go 85 if s, _ := S.Underlying().(*Slice); s != nil {
142 switch typ = implicitArrayDeref(x.typ.Underlying()); t := typ.(type) {
187 c, _ := x.typ.Underlying().(*Chan)
276 switch x.typ.Underlying().(*Basic).kind {
297 if t, _ := x.typ.Underlying().(*Slice); t != nil {
307 switch t := y.typ.Underlying().(type) {
334 m, _ := x.typ.Underlying().(*Map)
398 switch x.typ.Underlying().(*Basic).kind {
427 switch T.Underlying().(type) {
651 if a, ok := p.base.Underlying().(*Array); ok
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/vet/
types.go 28 errorType = types.Universe.Lookup("error").Type().Underlying().(*types.Interface)
31 stringerType = typ.Underlying().(*types.Interface)
35 formatterType = typ.Underlying().(*types.Interface)
126 typ = typ.Underlying()
147 if types.Identical(typ.Elem().Underlying(), types.Typ[types.Byte]) && t&argString != 0 {
151 return t&argPointer != 0 || f.matchArgTypeInternal(t, typ.Elem().Underlying(), arg, inProgress)
155 if types.Identical(typ.Elem().Underlying(), types.Typ[types.Byte]) && t&argString != 0 {
177 if str, ok := typ.Elem().Underlying().(*types.Struct); ok {
251 t = t.Underlying()
cgo.go 83 ptr, ok := t.Underlying().(*types.Pointer)
88 elem, ok := ptr.Elem().Underlying().(*types.Basic)
121 switch t := t.Underlying().(type) {
composite.go 41 if _, ok := typ.Underlying().(*types.Struct); !ok {
shift.go 42 // the length of the underlying variable.
62 b, ok := t.Underlying().(*types.Basic)
  /prebuilts/go/linux-x86/src/cmd/vet/
types.go 28 errorType = types.Universe.Lookup("error").Type().Underlying().(*types.Interface)
31 stringerType = typ.Underlying().(*types.Interface)
35 formatterType = typ.Underlying().(*types.Interface)
126 typ = typ.Underlying()
147 if types.Identical(typ.Elem().Underlying(), types.Typ[types.Byte]) && t&argString != 0 {
151 return t&argPointer != 0 || f.matchArgTypeInternal(t, typ.Elem().Underlying(), arg, inProgress)
155 if types.Identical(typ.Elem().Underlying(), types.Typ[types.Byte]) && t&argString != 0 {
177 if str, ok := typ.Elem().Underlying().(*types.Struct); ok {
251 t = t.Underlying()
cgo.go 83 ptr, ok := t.Underlying().(*types.Pointer)
88 elem, ok := ptr.Elem().Underlying().(*types.Basic)
121 switch t := t.Underlying().(type) {
composite.go 41 if _, ok := typ.Underlying().(*types.Struct); !ok {
  /prebuilts/go/darwin-x86/src/go/internal/gccgoimporter/
parser_test.go 16 id, typ, want, underlying, methods string
21 {id: "foo", typ: "<type 1 \"Bar\" <type 2 *<type 1>>>", want: "foo.Bar", underlying: "*foo.Bar"},
22 {id: "foo", typ: "<type 1 \"bar.Foo\" \"bar\" <type -1> func (? <type 1>) M (); >", want: "bar.Foo", underlying: "int8", methods: "func (bar.Foo).M()"},
23 {id: "foo", typ: "<type 1 \".bar.foo\" \"bar\" <type -1>>", want: "bar.foo", underlying: "int8"},
53 if test.underlying != "" {
54 underlying := typ.Underlying().String()
55 if underlying != test.underlying {
56 t.Errorf("got underlying type %q, expected %q", underlying, test.underlying
    [all...]

Completed in 1593 milliseconds

1 2 3 4