Home
last modified time | relevance | path

Searched refs:Attributes (Results 1 – 25 of 534) sorted by relevance

12345678910>>...22

/external/swiftshader/third_party/LLVM/include/llvm/
DAttributes.h26 typedef unsigned Attributes; typedef
36 const Attributes None = 0; ///< No attributes have been set
37 const Attributes ZExt = 1<<0; ///< Zero extended before/after call
38 const Attributes SExt = 1<<1; ///< Sign extended before/after call
39 const Attributes NoReturn = 1<<2; ///< Mark the function as not returning
40 const Attributes InReg = 1<<3; ///< Force argument to be passed in register
41 const Attributes StructRet = 1<<4; ///< Hidden pointer to structure to return
42 const Attributes NoUnwind = 1<<5; ///< Function doesn't unwind stack
43 const Attributes NoAlias = 1<<6; ///< Considered to not alias after call
44 const Attributes ByVal = 1<<7; ///< Pass structure by value
[all …]
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DAttributesTest.java31 private static final Attributes.Key<String> YOLO_KEY = Attributes.Key.create("yolo");
35 Attributes attrs = Attributes.newBuilder().set(YOLO_KEY, "To be, or not to be?").build(); in buildAttributes()
42 Attributes attrs = Attributes.newBuilder() in duplicates()
45 .set(Attributes.Key.create("yolo"), "I'm not a duplicate") in duplicates()
53 Attributes attrs = Attributes.newBuilder() in toBuilder()
58 .set(Attributes.Key.create("yolo"), "I'm not a duplicate") in toBuilder()
66 assertThat(Attributes.EMPTY.keysForTest()).isEmpty(); in empty()
81 Attributes.Key<EqualObject> key = Attributes.Key.create("ints"); in valueEquality()
88 Attributes attr1 = Attributes.newBuilder().set(key, v1).build(); in valueEquality()
89 Attributes attr2 = Attributes.newBuilder().set(key, v2).build(); in valueEquality()
/external/gptfdisk/
Dattributes.cc24 string Attributes::atNames[NUM_ATR];
25 int Attributes::numAttrs = 0;
29 Attributes::Attributes(void) { in Attributes() function in Attributes
37 Attributes::Attributes(const uint64_t a) { in Attributes() function in Attributes
45 Attributes::~Attributes(void) { in ~Attributes()
49 void Attributes::Setup(void) { in Setup()
57 Attributes::atNames[i] = temp.str(); in Setup()
70 void Attributes::DisplayAttributes(void) { in DisplayAttributes()
93 void Attributes::ShowAttributes(const uint32_t partNum) { in ShowAttributes()
107 void Attributes::ChangeAttributes(void) { in ChangeAttributes()
[all …]
Dattributes.h15 class Attributes {
23 Attributes(void);
24 Attributes(const uint64_t a);
25 ~Attributes(void);
39 ostream & operator<<(ostream & os, const Attributes & data);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
DELFObjectFile.cpp139 ARMAttributeParser Attributes; in getARMFeatures() local
140 std::error_code EC = getBuildAttributes(Attributes); in getARMFeatures()
146 if (Attributes.hasAttribute(ARMBuildAttrs::CPU_arch)) in getARMFeatures()
147 isV7 = Attributes.getAttributeValue(ARMBuildAttrs::CPU_arch) in getARMFeatures()
150 if (Attributes.hasAttribute(ARMBuildAttrs::CPU_arch_profile)) { in getARMFeatures()
151 switch(Attributes.getAttributeValue(ARMBuildAttrs::CPU_arch_profile)) { in getARMFeatures()
168 if (Attributes.hasAttribute(ARMBuildAttrs::THUMB_ISA_use)) { in getARMFeatures()
169 switch(Attributes.getAttributeValue(ARMBuildAttrs::THUMB_ISA_use)) { in getARMFeatures()
182 if (Attributes.hasAttribute(ARMBuildAttrs::FP_arch)) { in getARMFeatures()
183 switch(Attributes.getAttributeValue(ARMBuildAttrs::FP_arch)) { in getARMFeatures()
[all …]
/external/clang/include/clang/Basic/
DBuiltins.h54 const char *Name, *Type, *Attributes, *HeaderName; member
99 return strchr(getRecord(ID).Attributes, 'U') != nullptr; in isPure()
105 return strchr(getRecord(ID).Attributes, 'c') != nullptr; in isConst()
110 return strchr(getRecord(ID).Attributes, 'n') != nullptr; in isNoThrow()
115 return strchr(getRecord(ID).Attributes, 'r') != nullptr; in isNoReturn()
120 return strchr(getRecord(ID).Attributes, 'j') != nullptr; in isReturnsTwice()
126 return strchr(getRecord(ID).Attributes, 'u') != nullptr; in isUnevaluated()
132 return strchr(getRecord(ID).Attributes, 'F') != nullptr; in isLibFunction()
139 return strchr(getRecord(ID).Attributes, 'f') != nullptr; in isPredefinedLibFunction()
146 return strchr(getRecord(ID).Attributes, 'i') != nullptr; in isPredefinedRuntimeFunction()
[all …]
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DCallCredentialsApplyingTest.java31 import io.grpc.Attributes;
79 private static final Attributes.Key<String> ATTR_KEY = Attributes.Key.create("somekey");
123 Attributes transportAttrs = Attributes.newBuilder().set(ATTR_KEY, ATTR_VALUE).build(); in parameterPropagation_base()
128 ArgumentCaptor<Attributes> attrsCaptor = ArgumentCaptor.forClass(null); in parameterPropagation_base()
131 Attributes attrs = attrsCaptor.getValue(); in parameterPropagation_base()
139 Attributes transportAttrs = Attributes.newBuilder() in parameterPropagation_overrideByTransport()
148 ArgumentCaptor<Attributes> attrsCaptor = ArgumentCaptor.forClass(null); in parameterPropagation_overrideByTransport()
151 Attributes attrs = attrsCaptor.getValue(); in parameterPropagation_overrideByTransport()
159 Attributes transportAttrs = Attributes.newBuilder() in parameterPropagation_overrideByCallOptions()
170 ArgumentCaptor<Attributes> attrsCaptor = ArgumentCaptor.forClass(null); in parameterPropagation_overrideByCallOptions()
[all …]
DAutoConfiguredLoadBalancerFactoryTest.java23 import io.grpc.Attributes;
113 new EquivalentAddressGroup(new SocketAddress(){}, Attributes.EMPTY)); in handleResolvedAddressGroups_keepOldBalancer()
116 public Subchannel createSubchannel(List<EquivalentAddressGroup> addrs, Attributes attrs) { in handleResolvedAddressGroups_keepOldBalancer()
130 lb.handleResolvedAddressGroups(servers, Attributes.EMPTY); in handleResolvedAddressGroups_keepOldBalancer()
139 Attributes serviceConfigAttrs = in handleResolvedAddressGroups_shutsDownOldBalancer()
140 Attributes.newBuilder() in handleResolvedAddressGroups_shutsDownOldBalancer()
147 Attributes.EMPTY)); in handleResolvedAddressGroups_shutsDownOldBalancer()
150 public Subchannel createSubchannel(List<EquivalentAddressGroup> addrs, Attributes attrs) { in handleResolvedAddressGroups_shutsDownOldBalancer()
193 new EquivalentAddressGroup(new SocketAddress(){}, Attributes.EMPTY)); in decideLoadBalancerFactory_noBalancerAddresses_noServiceConfig_pickFirst()
207 Attributes.newBuilder().set(GrpcAttributes.ATTR_LB_ADDR_AUTHORITY, "ok").build())); in decideLoadBalancerFactory_oneBalancer_noServiceConfig_grpclb()
[all …]
DOverrideAuthorityNameResolverTest.java26 import io.grpc.Attributes;
40 when(wrappedFactory.newNameResolver(any(URI.class), any(Attributes.class))) in overridesAuthority()
46 Attributes.EMPTY); in overridesAuthority()
54 when(wrappedFactory.newNameResolver(any(URI.class), any(Attributes.class))).thenReturn(null); in wontWrapNull()
58 factory.newNameResolver(URI.create("dns:///localhost:443"), Attributes.EMPTY)); in wontWrapNull()
65 when(wrappedFactory.newNameResolver(any(URI.class), any(Attributes.class))) in forwardsNonOverridenCalls()
70 factory.newNameResolver(URI.create("dns:///localhost:443"), Attributes.EMPTY); in forwardsNonOverridenCalls()
DClientTransportFactoryTest.java22 import io.grpc.Attributes;
32 private Attributes eagAttributes =
33 Attributes.newBuilder().set(Attributes.Key.create("fake key"), "fake value").build();
42 assertThat(cto.getEagAttributes()).isEqualTo(Attributes.EMPTY); in clientTransportOptions_init_checkNotNulls()
67 .setEagAttributes(Attributes.EMPTY)) in clientTransportOptions_equals()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DGrpcAttributes.java19 import io.grpc.Attributes;
29 public static final Attributes.Key<Map<String, Object>> NAME_RESOLVER_SERVICE_CONFIG =
30 Attributes.Key.create("service-config");
36 public static final Attributes.Key<String> ATTR_LB_ADDR_AUTHORITY =
37 Attributes.Key.create("io.grpc.grpclb.lbAddrAuthority");
43 public static final Attributes.Key<Boolean> ATTR_LB_PROVIDED_BACKEND =
44 Attributes.Key.create("io.grpc.grpclb.lbProvidedBackend");
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DAttributes.java36 public final class Attributes { class
40 public static final Attributes EMPTY = new Attributes(Collections.<Key<?>, Object>emptyMap());
42 private Attributes(Map<Key<?>, Object> data) { in Attributes() method in Attributes
79 public static Builder newBuilder(Attributes base) { in newBuilder()
166 Attributes that = (Attributes) o; in equals()
203 private Attributes base;
206 private Builder(Attributes base) { in Builder()
223 public <T> Builder setAll(Attributes other) { in setAll()
231 public Attributes build() { in build()
238 base = new Attributes(newdata); in build()
DEquivalentAddressGroup.java36 private final Attributes attrs;
47 this(addrs, Attributes.EMPTY); in EquivalentAddressGroup()
53 public EquivalentAddressGroup(List<SocketAddress> addrs, Attributes attrs) { in EquivalentAddressGroup()
66 this(addr, Attributes.EMPTY); in EquivalentAddressGroup()
72 public EquivalentAddressGroup(SocketAddress addr, Attributes attrs) { in EquivalentAddressGroup()
86 public Attributes getAttributes() { in getAttributes()
/external/swiftshader/third_party/LLVM/lib/DebugInfo/
DDWARFAbbreviationDeclaration.cpp26 Attributes.clear(); in extract()
36 Attributes.push_back(DWARFAttribute(attr, form)); in extract()
58 for (unsigned i = 0, e = Attributes.size(); i != e; ++i) { in dump()
60 const char *attrString = AttributeString(Attributes[i].getAttribute()); in dump()
64 OS << format("DW_AT_Unknown_%x", Attributes[i].getAttribute()); in dump()
66 const char *formString = FormEncodingString(Attributes[i].getForm()); in dump()
70 OS << format("DW_FORM_Unknown_%x", Attributes[i].getForm()); in dump()
78 for (uint32_t i = 0, e = Attributes.size(); i != e; ++i) { in findAttributeIndex()
79 if (Attributes[i].getAttribute() == attr) in findAttributeIndex()
DDWARFAbbreviationDeclaration.h25 SmallVector<DWARFAttribute, 8> Attributes; variable
34 uint32_t getNumAttributes() const { return Attributes.size(); } in getNumAttributes()
36 return Attributes.size() > idx ? Attributes[idx].getAttribute() : 0; in getAttrByIndex()
39 return Attributes.size() > idx ? Attributes[idx].getForm() : 0; in getFormByIndex()
48 return Attributes; in getAttributes()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/
DAttributes.java25 public class Attributes class
30 private Attributes(ASN1Set set) in Attributes() method in Attributes
35 public Attributes(ASN1EncodableVector v) in Attributes() method in Attributes
53 public static Attributes getInstance(Object obj) in getInstance()
55 if (obj instanceof Attributes) in getInstance()
57 return (Attributes)obj; in getInstance()
61 return new Attributes(ASN1Set.getInstance(obj)); in getInstance()
67 public static Attributes getInstance( in getInstance()
/external/clang/lib/Sema/
DSemaObjCProperty.cpp186 unsigned Attributes = ODS.getPropertyAttributes(); in ActOnProperty() local
187 FD.D.setObjCWeakProperty((Attributes & ObjCDeclSpec::DQ_PR_weak) != 0); in ActOnProperty()
190 if (!getOwnershipRule(Attributes)) { in ActOnProperty()
191 Attributes |= deducePropertyOwnershipFromType(*this, T); in ActOnProperty()
193 bool isReadWrite = ((Attributes & ObjCDeclSpec::DQ_PR_readwrite) || in ActOnProperty()
195 !(Attributes & ObjCDeclSpec::DQ_PR_readonly)); in ActOnProperty()
205 Attributes, in ActOnProperty()
216 Attributes, ODS.getPropertyAttributes(), in ActOnProperty()
223 CheckObjCPropertyAttributes(Res, AtLoc, Attributes, in ActOnProperty()
280 makePropertyAttributesAsWritten(unsigned Attributes) { in makePropertyAttributesAsWritten() argument
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/cms/
DAttributes.java27 public class Attributes class
32 private Attributes(ASN1Set set) in Attributes() method in Attributes
37 public Attributes(ASN1EncodableVector v) in Attributes() method in Attributes
55 public static Attributes getInstance(Object obj) in getInstance()
57 if (obj instanceof Attributes) in getInstance()
59 return (Attributes)obj; in getInstance()
63 return new Attributes(ASN1Set.getInstance(obj)); in getInstance()
69 public static Attributes getInstance( in getInstance()
/external/grpc-grpc-java/core/src/jmh/java/io/grpc/
DAttributesBenchmark.java36 public Attributes base = Attributes.EMPTY;
38 public Attributes.Key<Object>[] keys;
39 public Attributes withValue = base;
47 keys = new Attributes.Key[iterations]; in setUp()
49 keys[i] = Attributes.Key.create("any"); in setUp()
63 public Attributes chain() { in chain()
64 Attributes attr = base; in chain()
/external/llvm/utils/TableGen/
DAttributes.cpp23 class Attributes { class
25 Attributes(RecordKeeper &R) : Records(R) {} in Attributes() function in __anond1812f0d0111::Attributes
43 void Attributes::emitTargetIndependentEnums(raw_ostream &OS) { in emitTargetIndependentEnums()
56 void Attributes::emitConversionFn(raw_ostream &OS) { in emitConversionFn()
77 void Attributes::emitFnAttrCompatCheck(raw_ostream &OS, bool IsStringAttr) { in emitFnAttrCompatCheck()
141 void Attributes::printEnumAttrClasses(raw_ostream &OS, in printEnumAttrClasses()
154 void Attributes::printStrBoolAttrClasses(raw_ostream &OS, in printStrBoolAttrClasses()
167 void Attributes::emit(raw_ostream &OS) { in emit()
176 Attributes(RK).emit(OS); in EmitAttributes()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DAttributes.cpp21 class Attributes { class
23 Attributes(RecordKeeper &R) : Records(R) {} in Attributes() function in __anon12cb71650111::Attributes
41 void Attributes::emitTargetIndependentEnums(raw_ostream &OS) { in emitTargetIndependentEnums()
54 void Attributes::emitConversionFn(raw_ostream &OS) { in emitConversionFn()
75 void Attributes::emitFnAttrCompatCheck(raw_ostream &OS, bool IsStringAttr) { in emitFnAttrCompatCheck()
139 void Attributes::printEnumAttrClasses(raw_ostream &OS, in printEnumAttrClasses()
152 void Attributes::printStrBoolAttrClasses(raw_ostream &OS, in printStrBoolAttrClasses()
165 void Attributes::emit(raw_ostream &OS) { in emit()
174 Attributes(RK).emit(OS); in EmitAttributes()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DAttributes.cpp29 std::string Attribute::getAsString(Attributes Attrs) { in getAsString()
95 Attributes Attribute::typeIncompatible(Type *Ty) { in typeIncompatible()
96 Attributes Incompatible = None; in typeIncompatible()
246 Attributes AttrListPtr::getAttributes(unsigned Idx) const { in getAttributes()
258 bool AttrListPtr::hasAttrSomewhere(Attributes Attr) const { in hasAttrSomewhere()
269 AttrListPtr AttrListPtr::addAttr(unsigned Idx, Attributes Attrs) const { in addAttr()
270 Attributes OldAttrs = getAttributes(Idx); in addAttr()
274 Attributes OldAlign = OldAttrs & Attribute::Alignment; in addAttr()
275 Attributes NewAlign = Attrs & Attribute::Alignment; in addAttr()
280 Attributes NewAttrs = OldAttrs | Attrs; in addAttr()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86InstrFMA3Info.h35 uint16_t Attributes; member
75 bool isIntrinsic() const { return (Attributes & Intrinsic) != 0; } in isIntrinsic()
79 return (Attributes & KMergeMasked) != 0; in isKMergeMasked()
83 bool isKZeroMasked() const { return (Attributes &KZeroMasked) != 0; } in isKZeroMasked()
87 return (Attributes & (KMergeMasked | KZeroMasked)) != 0; in isKMasked()
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/
DAltsProtocolNegotiator.java22 import io.grpc.Attributes;
44 private static final Attributes.Key<TsiPeer> TSI_PEER_KEY = Attributes.Key.create("TSI_PEER");
45 private static final Attributes.Key<AltsAuthContext> ALTS_CONTEXT_KEY =
46 Attributes.Key.create("ALTS_CONTEXT_KEY");
49 public static Attributes.Key<TsiPeer> getTsiPeerAttributeKey() { in getTsiPeerAttributeKey()
53 public static Attributes.Key<AltsAuthContext> getAltsAuthContextAttributeKey() { in getAltsAuthContextAttributeKey()
123 Attributes.newBuilder()
/external/grpc-grpc-java/core/src/test/java/io/grpc/util/
DRoundRobinLoadBalancerTest.java49 import io.grpc.Attributes;
95 private static final Attributes.Key<String> MAJOR_KEY = Attributes.Key.create("major-key");
96 private Attributes affinity = Attributes.newBuilder().set(MAJOR_KEY, "I got the keys").build();
123 when(mockHelper.createSubchannel(any(EquivalentAddressGroup.class), any(Attributes.class))) in setUp()
129 when(subchannel.getAttributes()).thenReturn((Attributes) args[1]); in setUp()
150 any(Attributes.class)); in pickAfterResolved()
176 when(subchannel.getAttributes()).thenReturn(Attributes.newBuilder().set(STATE_INFO, in pickAfterResolvedUpdatedHosts()
200 }).when(mockHelper).createSubchannel(any(EquivalentAddressGroup.class), any(Attributes.class)); in pickAfterResolvedUpdatedHosts()
237 any(Attributes.class)); in pickAfterResolvedUpdatedHosts()
256 loadBalancer.handleResolvedAddressGroups(servers, Attributes.EMPTY); in pickAfterStateChange()
[all …]

12345678910>>...22