/external/grpc-grpc-java/core/src/test/java/io/grpc/ |
D | AttributesTest.java | 31 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/ |
D | attributes.cc | 24 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 …]
|
D | attributes.h | 15 class Attributes { 23 Attributes(void); 24 Attributes(const uint64_t a); 25 ~Attributes(void); 39 ostream & operator<<(ostream & os, const Attributes & data);
|
/external/llvm-project/clang/include/clang/Basic/ |
D | Builtins.h | 54 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, 'h') != nullptr; in isHeaderDependentFunction() [all …]
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
D | GrpcAttributes.java | 19 import io.grpc.Attributes; 34 public static final Attributes.Key<Map<String, Object>> NAME_RESOLVER_SERVICE_CONFIG = 35 Attributes.Key.create("service-config"); 42 public static final Attributes.Key<String> ATTR_LB_ADDR_AUTHORITY = 43 Attributes.Key.create("io.grpc.grpclb.lbAddrAuthority"); 50 public static final Attributes.Key<Boolean> ATTR_LB_PROVIDED_BACKEND = 51 Attributes.Key.create("io.grpc.grpclb.lbProvidedBackend"); 59 public static final Attributes.Key<SecurityLevel> ATTR_SECURITY_LEVEL =
|
/external/llvm-project/clang/unittests/Format/ |
D | MacroExpanderTest.cpp | 46 const std::vector<MacroAttributes> &Attributes, in expectAttributes() argument 48 EXPECT_EQ(Tokens.size(), Attributes.size()) << text(Tokens); in expectAttributes() 50 if (I >= Attributes.size()) in expectAttributes() 56 EXPECT_TRUE(Tokens[I]->is(Attributes[I].Kind)) in expectAttributes() 58 EXPECT_EQ(Tokens[I]->MacroCtx->Role, Attributes[I].Role) in expectAttributes() 60 EXPECT_EQ(Tokens[I]->MacroCtx->StartOfExpansion, Attributes[I].Start) in expectAttributes() 62 EXPECT_EQ(Tokens[I]->MacroCtx->EndOfExpansion, Attributes[I].End) in expectAttributes() 64 EXPECT_EQ(Tokens[I]->MacroCtx->ExpandedFrom, Attributes[I].ExpandedFrom) in expectAttributes() 75 #define EXPECT_ATTRIBUTES(Tokens, Attributes) \ argument 76 expectAttributes(Tokens, Attributes, __FILE__, __LINE__) [all …]
|
/external/clang/include/clang/Basic/ |
D | Builtins.h | 54 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/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/ |
D | Attributes.java | 25 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/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | CallCredentialsApplyingTest.java | 31 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 …]
|
D | AutoConfiguredLoadBalancerFactoryTest.java | 25 import io.grpc.Attributes; 117 new EquivalentAddressGroup(new SocketAddress(){}, Attributes.EMPTY)); in handleResolvedAddressGroups_keepOldBalancer() 120 public Subchannel createSubchannel(List<EquivalentAddressGroup> addrs, Attributes attrs) { in handleResolvedAddressGroups_keepOldBalancer() 134 lb.handleResolvedAddressGroups(servers, Attributes.EMPTY); in handleResolvedAddressGroups_keepOldBalancer() 143 Attributes serviceConfigAttrs = in handleResolvedAddressGroups_shutsDownOldBalancer() 144 Attributes.newBuilder() in handleResolvedAddressGroups_shutsDownOldBalancer() 151 Attributes.EMPTY)); in handleResolvedAddressGroups_shutsDownOldBalancer() 154 public Subchannel createSubchannel(List<EquivalentAddressGroup> addrs, Attributes attrs) { in handleResolvedAddressGroups_shutsDownOldBalancer() 197 new EquivalentAddressGroup(new SocketAddress(){}, Attributes.EMPTY)); in decideLoadBalancerFactory_noBalancerAddresses_noServiceConfig_pickFirst() 211 Attributes.newBuilder().set(GrpcAttributes.ATTR_LB_ADDR_AUTHORITY, "ok").build())); in decideLoadBalancerFactory_oneBalancer_noServiceConfig_grpclb() [all …]
|
D | OverrideAuthorityNameResolverTest.java | 26 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()
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/ |
D | Attributes.java | 48 public final class Attributes { class 52 public static final Attributes EMPTY = new Attributes(Collections.<Key<?>, Object>emptyMap()); 54 private Attributes(Map<Key<?>, Object> data) { in Attributes() method in Attributes 91 public static Builder newBuilder(Attributes base) { in newBuilder() 178 Attributes that = (Attributes) o; in equals() 215 private Attributes base; 218 private Builder(Attributes base) { in Builder() 235 public <T> Builder setAll(Attributes other) { in setAll() 243 public Attributes build() { in build() 250 base = new Attributes(newdata); in build()
|
D | Grpc.java | 38 public static final Attributes.Key<SocketAddress> TRANSPORT_ATTR_REMOTE_ADDR = 39 Attributes.Key.create("remote-addr"); 46 public static final Attributes.Key<SocketAddress> TRANSPORT_ATTR_LOCAL_ADDR = 47 Attributes.Key.create("local-addr"); 54 public static final Attributes.Key<SSLSession> TRANSPORT_ATTR_SSL_SESSION = 55 Attributes.Key.create("ssl-session");
|
D | EquivalentAddressGroup.java | 39 private final Attributes attrs; 50 this(addrs, Attributes.EMPTY); in EquivalentAddressGroup() 56 public EquivalentAddressGroup(List<SocketAddress> addrs, @Attr Attributes attrs) { in EquivalentAddressGroup() 69 this(addr, Attributes.EMPTY); in EquivalentAddressGroup() 75 public EquivalentAddressGroup(SocketAddress addr, @Attr Attributes attrs) { in EquivalentAddressGroup() 90 public Attributes getAttributes() { in getAttributes()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
D | ELFObjectFile.cpp | 159 ARMAttributeParser Attributes; in getARMFeatures() local 160 if (Error E = getBuildAttributes(Attributes)) in getARMFeatures() 165 if (Attributes.hasAttribute(ARMBuildAttrs::CPU_arch)) in getARMFeatures() 166 isV7 = Attributes.getAttributeValue(ARMBuildAttrs::CPU_arch) in getARMFeatures() 169 if (Attributes.hasAttribute(ARMBuildAttrs::CPU_arch_profile)) { in getARMFeatures() 170 switch(Attributes.getAttributeValue(ARMBuildAttrs::CPU_arch_profile)) { in getARMFeatures() 187 if (Attributes.hasAttribute(ARMBuildAttrs::THUMB_ISA_use)) { in getARMFeatures() 188 switch(Attributes.getAttributeValue(ARMBuildAttrs::THUMB_ISA_use)) { in getARMFeatures() 201 if (Attributes.hasAttribute(ARMBuildAttrs::FP_arch)) { in getARMFeatures() 202 switch(Attributes.getAttributeValue(ARMBuildAttrs::FP_arch)) { in getARMFeatures() [all …]
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/asn1/cms/ |
D | Attributes.java | 27 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/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/asn1/cms/ |
D | Attributes.java | 27 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/ |
D | AttributesBenchmark.java | 36 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/clang/lib/Sema/ |
D | SemaObjCProperty.cpp | 186 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/llvm/utils/TableGen/ |
D | Attributes.cpp | 23 class Attributes { class 25 Attributes(RecordKeeper &R) : Records(R) {} in Attributes() function in __anon9391c5eb0111::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/llvm-project/clang/lib/Sema/ |
D | SemaObjCProperty.cpp | 182 unsigned Attributes = ODS.getPropertyAttributes(); in ActOnProperty() local 183 FD.D.setObjCWeakProperty((Attributes & ObjCPropertyAttribute::kind_weak) != in ActOnProperty() 187 if (!getOwnershipRule(Attributes)) { in ActOnProperty() 188 Attributes |= deducePropertyOwnershipFromType(*this, T); in ActOnProperty() 190 bool isReadWrite = ((Attributes & ObjCPropertyAttribute::kind_readwrite) || in ActOnProperty() 192 !(Attributes & ObjCPropertyAttribute::kind_readonly)); in ActOnProperty() 203 isReadWrite, Attributes, in ActOnProperty() 214 ODS.getSetterNameLoc(), isReadWrite, Attributes, in ActOnProperty() 222 CheckObjCPropertyAttributes(Res, AtLoc, Attributes, in ActOnProperty() 279 makePropertyAttributesAsWritten(unsigned Attributes) { in makePropertyAttributesAsWritten() argument [all …]
|
/external/llvm-project/llvm/lib/Target/X86/ |
D | X86InstrFMA3Info.h | 30 uint16_t Attributes; member 70 bool isIntrinsic() const { return (Attributes & Intrinsic) != 0; } in isIntrinsic() 74 return (Attributes & KMergeMasked) != 0; in isKMergeMasked() 78 bool isKZeroMasked() const { return (Attributes &KZeroMasked) != 0; } in isKZeroMasked() 82 return (Attributes & (KMergeMasked | KZeroMasked)) != 0; in isKMasked()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86InstrFMA3Info.h | 34 uint16_t Attributes; member 74 bool isIntrinsic() const { return (Attributes & Intrinsic) != 0; } in isIntrinsic() 78 return (Attributes & KMergeMasked) != 0; in isKMergeMasked() 82 bool isKZeroMasked() const { return (Attributes &KZeroMasked) != 0; } in isKZeroMasked() 86 return (Attributes & (KMergeMasked | KZeroMasked)) != 0; in isKMasked()
|
/external/llvm-project/llvm/utils/TableGen/ |
D | Attributes.cpp | 20 class Attributes { class 22 Attributes(RecordKeeper &R) : Records(R) {} in Attributes() function in __anon94d95e190111::Attributes 34 void Attributes::emitTargetIndependentNames(raw_ostream &OS) { in emitTargetIndependentNames() 64 void Attributes::emitFnAttrCompatCheck(raw_ostream &OS, bool IsStringAttr) { in emitFnAttrCompatCheck() 99 void Attributes::emit(raw_ostream &OS) { in emit() 107 Attributes(RK).emit(OS); in EmitAttributes()
|
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/ |
D | GrpcHttp2ConnectionHandler.java | 19 import io.grpc.Attributes; 55 public void handleProtocolNegotiationCompleted(Attributes attrs) { in handleProtocolNegotiationCompleted() 69 Attributes attrs, InternalChannelz.Security securityInfo) { in handleProtocolNegotiationCompleted() 84 public Attributes getEagAttributes() { in getEagAttributes() 85 return Attributes.EMPTY; in getEagAttributes()
|