Searched defs:protocols (Results 1 - 25 of 67) sorted by path

123

/external/clang/include/clang-c/
H A DIndex.h2793 * base class, its protocols, or its categories' protocols, that has the same
2796 * its protocols, and its categories, and so on. A method from an Objective-C
4931 * \brief Completions for Objective-C protocols should be included in
5628 const CXIdxObjCProtocolRefInfo *const *protocols; member in struct:__anon1057
5635 const CXIdxObjCProtocolRefListInfo *protocols; member in struct:__anon1058
5643 const CXIdxObjCProtocolRefListInfo *protocols; member in struct:__anon1059
/external/clang/include/clang/AST/
H A DDeclObjC.h74 /// \brief A list of Objective-C protocols, along with the source
95 /// categories, protocols, and class implementations. While C++ member
156 /// base classes, its protocols, or its categories' protocols, that has
430 /// base classes, its protocols, or its categories' protocols, that has
440 /// base classes (and base's categories), its protocols, or its categories'
441 /// protocols, that has
459 // Related to protocols declared in \@protocol
1031 /// This includes, class's and its conforming protocols' propertie
1278 protocol_range protocols() const { function in class:clang::ObjCInterfaceDecl
2025 protocol_range protocols() const { function in class:clang::ObjCProtocolDecl
2245 protocol_range protocols() const { function in class:clang::ObjCCategoryDecl
[all...]
H A DType.h1404 /// The number of protocols stored directly on this object type.
4706 /// protocols.
4715 /// with base C and no protocols.
4725 /// and no protocols.
4733 // ObjCObjectType.NumProtocols - the number of protocols stored
4736 // These protocols are those written directly on the type. If
4764 ArrayRef<ObjCProtocolDecl *> protocols,
4845 /// Return the number of qualifying protocols in this interface type,
4905 ArrayRef<ObjCProtocolDecl *> protocols,
4907 : ObjCObjectType(Canonical, Base, typeArgs, protocols, isKindO
4903 ObjCObjectTypeImpl(QualType Canonical, QualType Base, ArrayRef<QualType> typeArgs, ArrayRef<ObjCProtocolDecl *> protocols, bool isKindOf) argument
[all...]
/external/clang/lib/AST/
H A DASTContext.cpp1969 /// CollectInheritedProtocols - Collect all protocols in current class and
1990 for (auto *Proto : OC->protocols()) {
1999 for (auto *Proto : OP->protocols())
3679 /// CmpProtocolNames - Comparison predicate for sorting protocols
3701 // Sort protocols, keyed by name.
3724 ArrayRef<ObjCProtocolDecl *> protocols,
3726 // If the base type is an interface and there aren't any protocols or
3728 if (typeArgs.empty() && protocols.empty() && !isKindOf &&
3734 ObjCObjectTypeImpl::Profile(ID, baseType, typeArgs, protocols, isKindOf);
3749 // sorted-and-uniqued list of protocols an
3721 getObjCObjectType( QualType baseType, ArrayRef<QualType> typeArgs, ArrayRef<ObjCProtocolDecl *> protocols, bool isKindOf) const argument
[all...]
H A DType.cpp537 ArrayRef<ObjCProtocolDecl *> protocols,
550 ObjCObjectTypeBits.NumProtocols = protocols.size();
551 assert(getNumProtocols() == protocols.size() &&
556 if (!protocols.empty())
557 memcpy(getProtocolStorage(), protocols.data(),
558 protocols.size() * sizeof(ObjCProtocolDecl*));
640 /*protocols=*/{ },
1210 ArrayRef<ObjCProtocolDecl *> protocols(
1217 protocols,
1228 ArrayRef<ObjCProtocolDecl *> protocols(
535 ObjCObjectType(QualType Canonical, QualType Base, ArrayRef<QualType> typeArgs, ArrayRef<ObjCProtocolDecl *> protocols, bool isKindOf) argument
[all...]
/external/clang/lib/Parse/
H A DParseObjc.cpp288 assert(LAngleLoc.isInvalid() && "Cannot have already parsed protocols");
320 SmallVector<Decl *, 4> protocols; local
344 protocols, protocolLocs, EndProtoLoc,
353 // We already parsed the protocols named when we thought we had a
360 ProtocolIdents, protocols);
362 } else if (protocols.empty() && Tok.is(tok::less) &&
363 ParseObjCProtocolReferences(protocols, protocolLocs, true, true,
370 Actions.ActOnTypedefedProtocols(protocols, superClassId, superClassLoc);
379 protocols.data(), protocols
1592 SmallVector<Decl *, 8> protocols; local
1615 parseObjCTypeArgsOrProtocolQualifiers( ParsedType baseType, SourceLocation &typeArgsLAngleLoc, SmallVectorImpl<ParsedType> &typeArgs, SourceLocation &typeArgsRAngleLoc, SourceLocation &protocolLAngleLoc, SmallVectorImpl<Decl *> &protocols, SmallVectorImpl<SourceLocation> &protocolLocs, SourceLocation &protocolRAngleLoc, bool consumeLastToken, bool warnOnIncompleteProtocols) argument
1689 protocols, local
1794 parseObjCTypeArgsAndProtocolQualifiers( ParsedType baseType, SourceLocation &typeArgsLAngleLoc, SmallVectorImpl<ParsedType> &typeArgs, SourceLocation &typeArgsRAngleLoc, SourceLocation &protocolLAngleLoc, SmallVectorImpl<Decl *> &protocols, SmallVectorImpl<SourceLocation> &protocolLocs, SourceLocation &protocolRAngleLoc, bool consumeLastToken) argument
1855 SmallVector<Decl *, 4> protocols; local
2187 SmallVector<Decl *, 4> protocols; local
2223 SmallVector<Decl *, 4> protocols; local
[all...]
/external/clang/lib/Sema/
H A DSemaDeclObjC.cpp50 // We ignore protocols here. Should we? What about Class?
1014 // Check then save referenced protocols.
1029 /// of the protocols.
1177 /// Check then save referenced protocols.
1195 for (auto *PI : PDecl->protocols())
1203 /// FindProtocolDeclaration - This routine looks up protocols and
1254 // Objective-C protocols or valid Objective-C type arguments.
1264 // If we're allowed to find protocols and we have a protocol, accept it.
1326 SmallVectorImpl<Decl *> &protocols,
1333 assert(numProtocolsResolved == identifiers.size() && "Unresolved protocols");
1315 actOnObjCTypeArgsOrProtocolQualifiers( Scope *S, ParsedType baseType, SourceLocation lAngleLoc, ArrayRef<IdentifierInfo *> identifiers, ArrayRef<SourceLocation> identifierLocs, SourceLocation rAngleLoc, SourceLocation &typeArgsLAngleLoc, SmallVectorImpl<ParsedType> &typeArgs, SourceLocation &typeArgsRAngleLoc, SourceLocation &protocolLAngleLoc, SmallVectorImpl<Decl *> &protocols, SourceLocation &protocolRAngleLoc, bool warnOnIncompleteProtocols) argument
4067 search(const ObjCProtocolList &protocols) argument
[all...]
H A DSemaType.cpp1006 ArrayRef<ObjCProtocolDecl *> protocols,
1011 // FIXME: Check for protocols to which the class type is already
1016 protocols,
1024 // FIXME: Check for protocols to which the class type is already
1026 return ctx.getObjCObjectType(type, { }, protocols, false);
1032 type = ctx.getObjCObjectType(ctx.ObjCBuiltinIdTy, { }, protocols,
1040 type = ctx.getObjCObjectType(ctx.ObjCBuiltinClassTy, { }, protocols,
1090 ArrayRef<Decl *> protocols,
1097 (ObjCProtocolDecl * const *)protocols.data(),
1098 protocols
1004 applyObjCProtocolQualifiers( Sema &S, SourceLocation loc, SourceRange range, QualType type, ArrayRef<ObjCProtocolDecl *> protocols, const SourceLocation *protocolLocs, bool failOnError = false) argument
1088 actOnObjCProtocolQualifierType( SourceLocation lAngleLoc, ArrayRef<Decl *> protocols, ArrayRef<SourceLocation> protocolLocs, SourceLocation rAngleLoc) argument
[all...]
/external/conscrypt/android-stub/src/main/java/com/android/org/conscrypt/
H A DOpenSSLSocketImpl.java164 public void setEnabledProtocols(String[] protocols) { argument
/external/conscrypt/android-stub/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DOpenSSLSocketImpl.java164 public void setEnabledProtocols(String[] protocols) { argument
/external/conscrypt/android/src/main/java/org/conscrypt/
H A DKitKatPlatformOpenSSLSocketImplAdapter.java302 public void setEnabledProtocols(String[] protocols) { argument
303 delegate.setEnabledProtocols(protocols);
H A DPreKitKatPlatformOpenSSLSocketImplAdapter.java302 public void setEnabledProtocols(String[] protocols) { argument
303 delegate.setEnabledProtocols(protocols);
/external/conscrypt/benchmark-base/src/main/java/org/conscrypt/
H A DClientEndpoint.java36 String[] protocols, String[] ciphers) throws IOException {
39 socket.setEnabledProtocols(protocols);
35 ClientEndpoint(SSLSocketFactory socketFactory, ChannelType channelType, int port, String[] protocols, String[] ciphers) argument
H A DServerEndpoint.java61 private final String[] protocols; field in class:ServerEndpoint
72 ChannelType channelType, int messageSize, String[] protocols,
78 this.protocols = protocols;
124 socket.setEnabledProtocols(protocols);
71 ServerEndpoint(SSLSocketFactory socketFactory, SSLServerSocketFactory serverSocketFactory, ChannelType channelType, int messageSize, String[] protocols, String[] cipherSuites) argument
H A DSocketType.java24 ClientEndpoint newClient(ChannelType channelType, int port, String[] protocols, argument
27 factories.clientFactory, channelType, port, protocols, ciphers);
31 String[] protocols, String[] ciphers) throws IOException {
33 channelType, messageSize, protocols, ciphers);
30 newServer(ChannelType channelType, int messageSize, String[] protocols, String[] ciphers) argument
/external/conscrypt/common/src/main/java/org/conscrypt/
H A DConscryptEngine.java609 public void setEnabledProtocols(String[] protocols) { argument
610 sslParameters.setEnabledProtocols(protocols);
1678 * Sets the list of ALPN protocols.
1680 * @param alpnProtocols the list of ALPN protocols
1687 * Sets the list of ALPN protocols.
1689 * @param alpnProtocols the list of ALPN protocols
H A DConscryptEngineSocket.java285 public void setEnabledProtocols(String[] protocols) { argument
286 engine.setEnabledProtocols(protocols);
H A DConscryptFileDescriptorSocket.java714 public void setEnabledProtocols(String[] protocols) { argument
715 sslParameters.setEnabledProtocols(protocols);
1030 * Sets the list of ALPN protocols. This method internally converts the protocols to their
1033 * @param alpnProtocols the list of ALPN protocols
H A DConscryptServerSocket.java76 * The names of the protocols' versions that may be used on this SSL
78 * @return an array of protocols names
86 * The names of the protocols' versions that in use on this SSL connection.
88 * @return an array of protocols names
96 * This method enables the protocols' versions listed by
99 * @param protocols names of all the protocols to enable.
105 public void setEnabledProtocols(String[] protocols) { argument
106 sslParameters.setEnabledProtocols(protocols);
H A DNativeCrypto.java843 static void setEnabledProtocols(long ssl, String[] protocols) { argument
844 checkEnabledProtocols(protocols);
845 // openssl uses negative logic letting you disable protocols.
851 for (String protocol : protocols) {
863 // allow it in the list of protocols so we can give an error
875 static String[] checkEnabledProtocols(String[] protocols) { argument
876 if (protocols == null) {
877 throw new IllegalArgumentException("protocols == null");
879 for (String protocol : protocols) {
881 throw new IllegalArgumentException("protocols contain
[all...]
H A DSSLParametersImpl.java40 * about enabled cipher suites and protocols,
71 // protocols enabled for SSL connection
73 // set to indicate when obsolete protocols are filtered
118 ServerSessionContext serverSessionContext, String[] protocols)
147 // initialize the list of cipher suites and protocols enabled by default
149 protocols == null ? NativeCrypto.DEFAULT_PROTOCOLS : protocols).clone();
221 * @return the set of enabled protocols
228 * Sets the list of available protocols for use in SSL connection.
229 * @throws IllegalArgumentException if {@code protocols
116 SSLParametersImpl(KeyManager[] kms, TrustManager[] tms, SecureRandom sr, ClientSessionContext clientSessionContext, ServerSessionContext serverSessionContext, String[] protocols) argument
231 setEnabledProtocols(String[] protocols) argument
386 filterFromProtocols(String[] protocols, String obsoleteProtocol) argument
[all...]
H A DSSLUtils.java344 * Encodes a list of protocols into the wire-format (length-prefixed 8-bit strings).
347 * @param protocols the list of protocols to be encoded
350 static byte[] toLengthPrefixedList(String... protocols) { argument
353 for (int i = 0; i < protocols.length; ++i) {
354 int protocolLength = protocols[i].length();
360 + protocolLength + "): " + protocols[i]);
368 for (int dataIndex = 0, i = 0; i < protocols.length; ++i) {
369 String protocol = protocols[i];
/external/conscrypt/libcore-stub/src/main/java/libcore/java/security/
H A DStandardNames.java45 * This class defines expected string names for protocols, key types,
956 * Asserts that the protocols array is non-null and that it all of
957 * its contents are protocols known to this implementation. As a
958 * convenience, returns any unenabled protocols in a test for
959 * those that want to verify separately that all protocols were
962 private static Set<String> assertValidProtocols(Set<String> expected, String[] protocols) { argument
963 assertNotNull(protocols);
964 assertTrue(protocols.length != 0);
966 // Make sure all protocols names are expected
969 for (String protocol : protocols) {
983 assertSupportedProtocols(Set<String> expected, String[] protocols) argument
992 assertSupportedProtocols(String[] protocols) argument
1026 assertSSLContextEnabledProtocols(String version, String[] protocols) argument
[all...]
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
H A DSSLUtilsTest.java59 byte[][] protocols = new byte[][]{
64 byte[] expected = getExpectedEncodedBytes(protocols);
65 byte[] actual = SSLUtils.toLengthPrefixedList(toStrings(protocols));
101 private static String[] toStrings(byte[][] protocols) { argument
102 int numProtocols = protocols.length;
105 out[i] = new String(protocols[i], UTF_8);
110 private static byte[] getExpectedEncodedBytes(byte[][] protocols) { argument
111 int numProtocols = protocols.length;
113 for (byte[] protocol : protocols) {
118 byte[] protocol = protocols[
[all...]
/external/curl/docs/cmdline-opts/
H A Dgen.pl66 sub protocols { subroutine
94 my $protocols;
124 $protocols=$1;
182 if($protocols) {
183 print protocols($standalone, $protocols);
236 my $protocols;
251 $protocols=$1;
265 $protolong{$long}=$protocols;

Completed in 408 milliseconds

123