/external/webkit/Source/WebCore/xml/ |
H A D | DOMParser.cpp | 28 PassRefPtr<Document> DOMParser::parseFromString(const String& str, const String& contentType) argument 30 if (!DOMImplementation::isXMLMIMEType(contentType)) 33 RefPtr<Document> doc = DOMImplementation::createDocument(contentType, 0, KURL(), false);
|
/external/webkit/LayoutTests/http/tests/resources/ |
H A D | tripmine.php | 37 $contentType = $_SERVER['CONTENT_TYPE']; variable 51 if (isset($contentType) 52 && !preg_match("/^application\/x\-www\-form\-urlencoded(;.+)?$/", $contentType) 53 && !preg_match("/^multipart\/form\-data(;.+)?$/", $contentType) 54 && !preg_match("/^text\/plain(;.+)?$/", $contentType)) { 55 setState("FAIL. Non-simple content type: $contentType.", $stateFile);
|
H A D | network-simulator.php | 25 function contentType($path) function 80 header("Content-Type: " . contentType($path));
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/ |
H A D | CMSAttributes.java | 8 public static final ASN1ObjectIdentifier contentType = PKCSObjectIdentifiers.pkcs_9_at_contentType; field in interface:CMSAttributes
|
H A D | ContentInfo.java | 19 private ASN1ObjectIdentifier contentType; field in class:ContentInfo 45 contentType = (ASN1ObjectIdentifier)seq.getObjectAt(0); 60 ASN1ObjectIdentifier contentType, 63 this.contentType = contentType; 69 return contentType; 81 * contentType ContentType, 83 * [0] EXPLICIT ANY DEFINED BY contentType OPTIONAL } 90 v.add(contentType); 59 ContentInfo( ASN1ObjectIdentifier contentType, ASN1Encodable content) argument
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
H A D | ContentTypeParser.java | 48 public ContentTypeParser(String contentType) { argument 49 super(contentType); 58 ContentType contentType = new ContentType(); 69 contentType.setContentType(type.getTokenValue()); 76 contentType.setContentSubType(subType.getTokenValue()); 77 super.parse(contentType); 83 return contentType;
|
/external/nist-sip/java/javax/sip/header/ |
H A D | ContentTypeHeader.java | 9 void setContentType(String contentType, String contentSubType) argument
|
H A D | MediaType.java | 10 void setContentType(String contentType) throws ParseException; argument
|
/external/webkit/Source/WebCore/platform/network/ |
H A D | BlobStorageData.h | 42 static PassRefPtr<BlobStorageData> create(const String& contentType, const String& contentDisposition) argument 44 return adoptRef(new BlobStorageData(contentType, contentDisposition)); 47 const String& contentType() const { return m_data.contentType(); } function in class:WebCore::BlobStorageData 54 BlobStorageData(const String& contentType, const String& contentDisposition) argument 56 m_data.setContentType(contentType);
|
H A D | BlobData.h | 155 const String& contentType() const { return m_contentType; } function in class:WebCore::BlobData 156 void setContentType(const String& contentType) { m_contentType = contentType; } argument
|
/external/apache-http/src/org/apache/http/entity/ |
H A D | FileEntity.java | 53 public FileEntity(final File file, final String contentType) { argument 59 setContentType(contentType);
|
H A D | AbstractHttpEntity.java | 59 protected Header contentType; field in class:AbstractHttpEntity 89 * {@link #contentType contentType} attribute. 94 return this.contentType; 124 * {@link #contentType contentType} attribute. 126 * @param contentType the new Content-Encoding header, or 129 public void setContentType(final Header contentType) { argument 130 this.contentType = contentType; [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/ |
H A D | ContentInfo.java | 20 private ASN1ObjectIdentifier contentType; field in class:ContentInfo 45 contentType = (ASN1ObjectIdentifier)e.nextElement(); 56 ASN1ObjectIdentifier contentType, 59 this.contentType = contentType; 65 return contentType; 77 * contentType ContentType, 79 * [0] EXPLICIT ANY DEFINED BY contentType OPTIONAL } 86 v.add(contentType); 55 ContentInfo( ASN1ObjectIdentifier contentType, ASN1Encodable content) argument
|
H A D | EncryptedData.java | 26 * contentType ContentType, 71 ASN1ObjectIdentifier contentType, 77 v.add(contentType); 70 EncryptedData( ASN1ObjectIdentifier contentType, AlgorithmIdentifier encryptionAlgorithm, ASN1Encodable content) argument
|
/external/nist-sip/java/gov/nist/javax/sip/message/ |
H A D | MessageFactoryExt.java | 62 String[] contentType, 61 createMultipartMimeContent(ContentTypeHeader multipartMimeContentTypeHeader, String[] contentType, String[] contentSubtype, String[] contentBody) argument
|
H A D | MultipartMimeContentImpl.java | 155 public Content getContentByType(String contentType, String contentSubtype) { argument 160 if (content.getContentTypeHeader().getContentType().equalsIgnoreCase(contentType)
|
/external/okhttp/src/main/java/libcore/net/spdy/ |
H A D | SpdyServer.java | 93 "content-type", contentType(file) 102 private String contentType(File file) { method in class:SpdyServer
|
/external/webkit/Source/WebCore/platform/ |
H A D | ContentType.cpp | 33 ContentType::ContentType(const String& contentType) argument 34 : m_type(contentType)
|
/external/webkit/Source/WebCore/platform/network/soup/ |
H A D | ResourceResponseSoup.cpp | 74 String contentType = soup_message_headers_get_one(soupMessage->response_headers, "Content-Type"); local 75 setMimeType(extractMIMETypeFromMediaType(contentType)); 77 setTextEncodingName(extractCharsetFromMediaType(contentType));
|
/external/webkit/Source/WebKit/chromium/src/ |
H A D | WebBlobData.cpp | 93 WebString WebBlobData::contentType() const function in class:WebKit::WebBlobData 96 return m_private->contentType();
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
H A D | ContentType.java | 83 *@param contentType is the content type. 86 public ContentType(String contentType, String contentSubtype) { argument 88 this.setContentType(contentType, contentSubtype); 170 *@param contentType Content type string. 173 public void setContentType(String contentType, String contentSubType) { argument 176 mediaRange.setType(contentType); 182 *@param contentType Content type string. 185 public void setContentType(String contentType) throws ParseException { argument 186 if (contentType == null) 190 mediaRange.setType(contentType); 197 setContentSubType(String contentType) argument [all...] |
/external/nist-sip/java/javax/sip/message/ |
H A D | MessageFactory.java | 18 MaxForwardsHeader maxForwards, ContentTypeHeader contentType, 23 MaxForwardsHeader maxForwards, ContentTypeHeader contentType, 34 MaxForwardsHeader maxForwards, ContentTypeHeader contentType, 39 MaxForwardsHeader maxForwards, ContentTypeHeader contentType, 47 ContentTypeHeader contentType, Object content) 51 ContentTypeHeader contentType, byte[] content) 16 createRequest(URI requestURI, String method, CallIdHeader callId, CSeqHeader cSeq, FromHeader from, ToHeader to, List via, MaxForwardsHeader maxForwards, ContentTypeHeader contentType, Object content) argument 21 createRequest(URI requestURI, String method, CallIdHeader callId, CSeqHeader cSeq, FromHeader from, ToHeader to, List via, MaxForwardsHeader maxForwards, ContentTypeHeader contentType, byte[] content) argument 32 createResponse(int statusCode, CallIdHeader callId, CSeqHeader cSeq, FromHeader from, ToHeader to, List via, MaxForwardsHeader maxForwards, ContentTypeHeader contentType, Object content) argument 37 createResponse(int statusCode, CallIdHeader callId, CSeqHeader cSeq, FromHeader from, ToHeader to, List via, MaxForwardsHeader maxForwards, ContentTypeHeader contentType, byte[] content) argument 46 createResponse(int statusCode, Request request, ContentTypeHeader contentType, Object content) argument 50 createResponse(int statusCode, Request request, ContentTypeHeader contentType, byte[] content) argument
|
/external/webkit/Source/WebCore/fileapi/ |
H A D | WebKitBlobBuilder.cpp | 121 PassRefPtr<Blob> WebKitBlobBuilder::getBlob(const String& contentType) argument 124 blobData->setContentType(contentType);
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
H A D | SignerInfoGenerator.java | 160 public SignerInfo generate(ASN1ObjectIdentifier contentType) argument 182 Map parameters = getBaseParameters(contentType, digester.getAlgorithmIdentifier(), calculatedDigest); 213 Map parameters = getBaseParameters(contentType, digestAlg, calculatedDigest); 248 private Map getBaseParameters(DERObjectIdentifier contentType, AlgorithmIdentifier digAlgId, byte[] hash) argument 252 if (contentType != null) 254 param.put(CMSAttributeTableGenerator.CONTENT_TYPE, contentType);
|
H A D | CMSSignedGenerator.java | 171 protected Map getBaseParameters(DERObjectIdentifier contentType, AlgorithmIdentifier digAlgId, byte[] hash) argument 174 param.put(CMSAttributeTableGenerator.CONTENT_TYPE, contentType);
|