Home
last modified time | relevance | path

Searched refs:Visibility (Results 1 – 25 of 118) sorted by relevance

12345

/external/swiftshader/third_party/LLVM/lib/MC/
DMCELF.cpp55 void MCELF::SetVisibility(MCSymbolData &SD, unsigned Visibility) { in SetVisibility() argument
56 assert(Visibility == ELF::STV_DEFAULT || Visibility == ELF::STV_INTERNAL || in SetVisibility()
57 Visibility == ELF::STV_HIDDEN || Visibility == ELF::STV_PROTECTED); in SetVisibility()
60 SD.setFlags(OtherFlags | (Visibility << ELF_STV_Shift)); in SetVisibility()
64 unsigned Visibility = in GetVisibility() local
66 assert(Visibility == ELF::STV_DEFAULT || Visibility == ELF::STV_INTERNAL || in GetVisibility()
67 Visibility == ELF::STV_HIDDEN || Visibility == ELF::STV_PROTECTED); in GetVisibility()
68 return Visibility; in GetVisibility()
/external/llvm/lib/MC/
DMCSymbolELF.cpp147 void MCSymbolELF::setVisibility(unsigned Visibility) { in setVisibility() argument
148 assert(Visibility == ELF::STV_DEFAULT || Visibility == ELF::STV_INTERNAL || in setVisibility()
149 Visibility == ELF::STV_HIDDEN || Visibility == ELF::STV_PROTECTED); in setVisibility()
152 setFlags(OtherFlags | (Visibility << ELF_STV_Shift)); in setVisibility()
156 unsigned Visibility = (getFlags() & (0x3 << ELF_STV_Shift)) >> ELF_STV_Shift; in getVisibility() local
157 assert(Visibility == ELF::STV_DEFAULT || Visibility == ELF::STV_INTERNAL || in getVisibility()
158 Visibility == ELF::STV_HIDDEN || Visibility == ELF::STV_PROTECTED); in getVisibility()
159 return Visibility; in getVisibility()
/external/clang/include/clang/Basic/
DVisibility.h32 enum Visibility { enum
47 inline Visibility minVisibility(Visibility L, Visibility R) { in minVisibility()
56 void setVisibility(Visibility V, bool E) { visibility_ = V; explicit_ = E; } in setVisibility()
60 LinkageInfo(Linkage L, Visibility V, bool E) in LinkageInfo()
80 Visibility getVisibility() const { return (Visibility)visibility_; } in getVisibility()
107 void mergeVisibility(Visibility newVis, bool newExplicit) { in mergeVisibility()
108 Visibility oldVis = getVisibility(); in mergeVisibility()
DLangOptions.h50 typedef clang::Visibility Visibility; typedef
/external/guice/core/src/com/google/inject/internal/
DBytecodeGen.java181 if (Visibility.forType(type) == Visibility.PUBLIC) { in getClassLoader()
195 public static net.sf.cglib.reflect.FastClass newFastClass(Class<?> type, Visibility visibility) { in newFastClass()
199 if (visibility == Visibility.PUBLIC) { in newFastClass()
207 public static net.sf.cglib.proxy.Enhancer newEnhancer(Class<?> type, Visibility visibility) { in newEnhancer()
211 if (visibility == Visibility.PUBLIC) { in newEnhancer()
227 public enum Visibility { enum in BytecodeGen
235 public Visibility and(Visibility that) { in and()
248 public Visibility and(Visibility that) { in and()
253 public static Visibility forMember(Member member) { in forMember()
278 public static Visibility forType(Class<?> type) { in forType()
[all …]
DProxyFactory.java65 private BytecodeGen.Visibility visibility = BytecodeGen.Visibility.PUBLIC;
111 visibility = visibility.and(BytecodeGen.Visibility.forMember(pair.method)); in ProxyFactory()
258 FastClass fastClass = newFastClass(enhanced, BytecodeGen.Visibility.forMember(constructor)); in ProxyConstructor()
DDefaultConstructionProxyFactory.java20 import com.google.inject.internal.BytecodeGen.Visibility;
55 = BytecodeGen.newFastClass(classToConstruct, Visibility.forMember(constructor)) in create()
DSingleMethodInjector.java19 import com.google.inject.internal.BytecodeGen.Visibility;
51 = BytecodeGen.newFastClass(method.getDeclaringClass(), Visibility.forMember(method)) in createMethodInvoker()
/external/guava/guava-testlib/test/com/google/common/testing/
DNullPointerTesterTest.java38 import com.google.common.testing.NullPointerTester.Visibility;
646 new SubclassWithBadSuperclassForPackagePrivate(), Visibility.PACKAGE); in testSubclassWithBadSuperclassForPackagePrivateMethod()
659 new SubclassWithBadSuperclassForProtected(), Visibility.PROTECTED); in testSubclassWithBadSuperclassForPackageProtectedMethod()
733 private static void shouldPass(Object instance, Visibility visibility) { in shouldPass()
738 shouldPass(instance, Visibility.PACKAGE); in shouldPass()
739 shouldPass(instance, Visibility.PROTECTED); in shouldPass()
740 shouldPass(instance, Visibility.PUBLIC); in shouldPass()
745 private static void shouldFail(Object instance, Visibility visibility) { in shouldFail()
755 shouldFail(instance, Visibility.PACKAGE); in shouldFail()
756 shouldFail(instance, Visibility.PROTECTED); in shouldFail()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/
DGlobalValue.h63 Linkage(linkage), Visibility(DefaultVisibility), Alignment(0), in GlobalValue()
72 unsigned Visibility : 2; // The visibility style of this global variable
89 VisibilityTypes getVisibility() const { return VisibilityTypes(Visibility); } in getVisibility()
90 bool hasDefaultVisibility() const { return Visibility == DefaultVisibility; } in hasDefaultVisibility()
91 bool hasHiddenVisibility() const { return Visibility == HiddenVisibility; } in hasHiddenVisibility()
93 return Visibility == ProtectedVisibility; in hasProtectedVisibility()
95 void setVisibility(VisibilityTypes V) { Visibility = V; } in setVisibility()
/external/deqp/framework/egl/
DegluNativeWindow.hpp44 enum Visibility enum
61 Visibility visibility; //!< Visibility for window
64 …WindowParams (int width_, int height_, Visibility visibility_) : width(width_), height(height_), v… in WindowParams()
111 virtual void setVisibility (WindowParams::Visibility visibility);
/external/llvm/include/llvm/IR/
DGlobalValue.h72 ValueType(Ty), Linkage(Linkage), Visibility(DefaultVisibility), in GlobalValue()
83 unsigned Visibility : 2; // The visibility style of this global variable
195 VisibilityTypes getVisibility() const { return VisibilityTypes(Visibility); } in getVisibility()
196 bool hasDefaultVisibility() const { return Visibility == DefaultVisibility; } in hasDefaultVisibility()
197 bool hasHiddenVisibility() const { return Visibility == HiddenVisibility; } in hasHiddenVisibility()
199 return Visibility == ProtectedVisibility; in hasProtectedVisibility()
204 Visibility = V; in setVisibility()
402 Visibility = DefaultVisibility; in setLinkage()
/external/deqp/framework/opengl/
DgluRenderConfig.hpp52 enum Visibility enum
71 Visibility windowVisibility;
104 RenderConfig::Visibility parseWindowVisibility (const tcu::CommandLine& cmdLine);
/external/guava/guava-testlib/src/com/google/common/testing/
DNullPointerTester.java100 public void testConstructors(Class<?> c, Visibility minimalVisibility) { in testConstructors()
113 testConstructors(c, Visibility.PUBLIC); in testAllPublicConstructors()
121 public void testStaticMethods(Class<?> c, Visibility minimalVisibility) { in testStaticMethods()
134 testStaticMethods(c, Visibility.PUBLIC); in testAllPublicStaticMethods()
142 public void testInstanceMethods(Object instance, Visibility minimalVisibility) { in testInstanceMethods()
148 ImmutableList<Method> getInstanceMethodsToTest(Class<?> c, Visibility minimalVisibility) { in getInstanceMethodsToTest()
164 testInstanceMethods(instance, Visibility.PUBLIC); in testAllPublicInstanceMethods()
225 public enum Visibility { enum in NullPointerTester
DAbstractPackageSanityTests.java35 import com.google.common.testing.NullPointerTester.Visibility;
125 private Visibility visibility = Visibility.PACKAGE;
137 visibility = Visibility.PUBLIC; in publicApiOnly()
/external/mockito/src/test/java/org/mockitousage/spies/
DSpyingOnInterfacesTest.java11 import net.bytebuddy.description.modifier.Visibility;
71 .defineMethod("foo", String.class, Visibility.PUBLIC) in shouldAllowDelegatingToDefaultMethod()
92 .defineMethod("foo", String.class, Visibility.PUBLIC) in shouldAllowSpyingOnDefaultMethod()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DModuleValidator.java19 import com.google.auto.common.Visibility;
50 import static com.google.auto.common.Visibility.PRIVATE;
51 import static com.google.auto.common.Visibility.PUBLIC;
52 import static com.google.auto.common.Visibility.effectiveVisibilityOfElement;
281 Visibility moduleVisibility = Visibility.ofElement(moduleElement); in validateModuleVisibility()
/external/clang/include/clang/Lex/
DModuleLoader.h96 Module::NameVisibilityKind Visibility,
101 Module::NameVisibilityKind Visibility,
/external/guice/core/test/com/googlecode/guice/bundle/
DOSGiTestActivator.java409 enum Visibility { enum in OSGiTestActivator
427 for (Visibility visibility : Visibility.values()) { in configure()
494 for (Visibility vis : Visibility.values()) { in start()
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/
DSubclassBytecodeGenerator.java10 import net.bytebuddy.description.modifier.Visibility;
28 import static net.bytebuddy.description.modifier.Visibility.PRIVATE;
89 builder = builder.defineMethod("readObject", void.class, Visibility.PRIVATE) in mockClass()
/external/clang/unittests/Lex/
DPPConditionalDirectiveRecordTest.cpp56 Module::NameVisibilityKind Visibility, in loadModule() argument
62 Module::NameVisibilityKind Visibility, in makeModuleVisible() argument
/external/libcxx/docs/DesignDocs/
DVisibilityMacros.rst2 Symbol Visibility Macros
15 Visibility Macros
160 * `[cfe-dev] Visibility in libc++ - 1 <http://lists.llvm.org/pipermail/cfe-dev/2013-July/030610.htm…
161 * `[cfe-dev] Visibility in libc++ - 2 <http://lists.llvm.org/pipermail/cfe-dev/2013-August/031195.h…
162 * `[libcxx] Visibility fixes for Windows <http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-2…
/external/guava/guava-tests/test/com/google/common/base/
DJoinerTest.java361 tester.testInstanceMethods(Joiner.on(","), NullPointerTester.Visibility.PACKAGE); in testNullPointers()
362 tester.testInstanceMethods(Joiner.on(",").skipNulls(), NullPointerTester.Visibility.PACKAGE); in testNullPointers()
364 Joiner.on(",").useForNull("x"), NullPointerTester.Visibility.PACKAGE); in testNullPointers()
366 Joiner.on(",").withKeyValueSeparator("="), NullPointerTester.Visibility.PACKAGE); in testNullPointers()
/external/llvm/bindings/python/llvm/
Denumerations.py162 Visibility = [ variable
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DELF.h72 unsigned Type, unsigned Visibility) { in getGV()
77 Sym->setVisibility(Visibility); in getGV()

12345