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

1 2 3 4

  /libcore/ojluni/src/main/java/java/util/
RegularEnumSet.java 40 * presence of universe[k] in this set.
44 RegularEnumSet(Class<E>elementType, Enum<?>[] universe) {
45 super(elementType, universe);
53 if (universe.length != 0)
54 elements = -1L >>> -universe.length;
58 if (universe.length != 0) {
60 elements &= -1L >>> -universe.length; // Mask unused bits
105 return (E) universe[Long.numberOfTrailingZeros(lastReturned)];
EnumSet.java 90 final Enum<?>[] universe; field in class:EnumSet
94 EnumSet(Class<E>elementType, Enum<?>[] universe) {
96 this.universe = universe;
109 Enum<?>[] universe = getUniverse(elementType); local
110 if (universe == null)
113 if (universe.length <= 64)
114 return new RegularEnumSet<>(elementType, universe);
116 return new JumboEnumSet<>(elementType, universe);
JumboEnumSet.java 41 * element of this array represents the presence of universe[64*j +i]
49 JumboEnumSet(Class<E>elementType, Enum<?>[] universe) {
50 super(elementType, universe);
51 elements = new long[(universe.length + 63) >>> 6];
73 elements[elements.length - 1] >>>= -universe.length;
74 size = universe.length;
80 elements[elements.length - 1] &= (-1L >>> -universe.length);
81 size = universe.length - size;
139 return (E) universe[(lastReturnedIndex << 6)
  /prebuilts/go/darwin-x86/test/fixedbugs/
bug085.go 23 universe scope (contains predeclared identifiers int, float32, int32, len, etc.)
  /prebuilts/go/linux-x86/test/fixedbugs/
bug085.go 23 universe scope (contains predeclared identifiers int, float32, int32, len, etc.)
  /prebuilts/go/darwin-x86/src/go/ast/
resolve.go 67 // accordingly. If a non-nil importer and universe scope are provided, they are
74 func NewPackage(fset *token.FileSet, files map[string]*File, importer Importer, universe *Scope) (*Package, error) {
80 pkgScope := NewScope(universe)
153 // don't use the universe scope without correct imports
154 // (objects in the universe may be shadowed by imports;
156 // incorrectly to universe objects)
169 pkgScope.Outer = universe // reset universe scope
  /prebuilts/go/linux-x86/src/go/ast/
resolve.go 67 // accordingly. If a non-nil importer and universe scope are provided, they are
74 func NewPackage(fset *token.FileSet, files map[string]*File, importer Importer, universe *Scope) (*Package, error) {
80 pkgScope := NewScope(universe)
153 // don't use the universe scope without correct imports
154 // (objects in the universe may be shadowed by imports;
156 // incorrectly to universe objects)
169 pkgScope.Outer = universe // reset universe scope
  /prebuilts/go/darwin-x86/src/go/types/
universe.go 5 // This file sets up the universe scope and the unsafe package.
16 Universe *Scope
27 // Use Universe.Lookup("byte").Type() to obtain the specific
106 // universe scope
177 if Universe.Lookup("assert") != nil {
185 Universe = NewScope(nil, token.NoPos, token.NoPos, "universe")
194 universeIota = Universe.Lookup("iota").(*Const)
195 universeByte = Universe.Lookup("byte").(*TypeName).typ.(*Basic)
196 universeRune = Universe.Lookup("rune").(*TypeName).typ.(*Basic
    [all...]
  /prebuilts/go/linux-x86/src/go/types/
universe.go 5 // This file sets up the universe scope and the unsafe package.
16 Universe *Scope
27 // Use Universe.Lookup("byte").Type() to obtain the specific
106 // universe scope
177 if Universe.Lookup("assert") != nil {
185 Universe = NewScope(nil, token.NoPos, token.NoPos, "universe")
194 universeIota = Universe.Lookup("iota").(*Const)
195 universeByte = Universe.Lookup("byte").(*TypeName).typ.(*Basic)
196 universeRune = Universe.Lookup("rune").(*TypeName).typ.(*Basic
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/compile/internal/ssa/
export_test.go 142 // Initialize just enough of the universe and the types package to make our tests function.
143 // TODO(josharian): move universe initialization to the types package,
  /prebuilts/go/linux-x86/src/cmd/compile/internal/ssa/
export_test.go 142 // Initialize just enough of the universe and the types package to make our tests function.
143 // TODO(josharian): move universe initialization to the types package,
  /prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/
universe.go 11 // builtinpkg is a fake package that declares the universe block.
77 // initUniverse initializes the universe block.
439 // finishUniverse makes the universe block visible within the current package.
  /prebuilts/go/linux-x86/src/cmd/compile/internal/gc/
universe.go 11 // builtinpkg is a fake package that declares the universe block.
77 // initUniverse initializes the universe block.
439 // finishUniverse makes the universe block visible within the current package.
  /prebuilts/go/darwin-x86/src/cmd/vet/
shadow.go 221 // Don't complain if it's shadowing a universe-declared identifier; that's fine.
222 if shadowed.Parent() == types.Universe {