Searched refs:contentType (Results 76 - 100 of 184) sorted by relevance

12345678

/external/okhttp/samples/static-server/src/main/java/com/squareup/okhttp/sample/
H A DSampleServer.java82 .addHeader("content-type: " + contentType(path));
91 private String contentType(String path) { method in class:SampleServer
/external/chromium_org/components/cronet/android/java/src/org/chromium/net/
H A DHttpUrlConnectionUrlRequest.java160 public void setUploadData(String contentType, byte[] data) { argument
162 mPostContentType = contentType;
168 public void setUploadChannel(String contentType, argument
176 mPostContentType = contentType;
/external/chromium_org/third_party/WebKit/Source/core/fileapi/
H A DBlob.h64 virtual PassRefPtrWillBeRawPtr<Blob> slice(long long start, long long end, const String& contentType, ExceptionState&) const;
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/resources/
H A DFileContentView.js119 contentType: function()
/external/chromium_org/third_party/WebKit/public/platform/
H A DWebMediaPlayerClient.h86 virtual void keyNeeded(const WebString& contentType, const unsigned char* initData, unsigned initDataLength) = 0;
/external/openssl/crypto/cms/
H A Dcms_dd.c79 cms->contentType = OBJ_nid2obj(NID_pkcs7_digest);
H A Dcms_io.c116 int ctype_nid = OBJ_obj2nid(cms->contentType);
H A Dcms_enc.c253 ec->contentType = OBJ_nid2obj(NID_pkcs7_data);
275 cms->contentType = OBJ_nid2obj(NID_pkcs7_encrypted);
278 else if (OBJ_obj2nid(cms->contentType) != NID_pkcs7_encrypted)
H A Dcms_lcl.h98 ASN1_OBJECT *contentType; member in struct:CMS_ContentInfo_st
171 ASN1_OBJECT *contentType; member in struct:CMS_EncryptedContentInfo_st
409 ASN1_OBJECT *contentType; member in struct:CMS_Receipt_st
H A Dcms_asn1.c139 ASN1_SIMPLE(CMS_EncryptedContentInfo, contentType, ASN1_OBJECT),
312 } ASN1_ADB_END(CMS_ContentInfo, 0, contentType, 0, &cms_default_tt, NULL);
347 ASN1_SIMPLE(CMS_ContentInfo, contentType, ASN1_OBJECT),
385 ASN1_SIMPLE(CMS_Receipt, contentType, ASN1_OBJECT),
H A Dcms_ess.c339 if (OBJ_cmp(octype, rct->contentType))
406 rct.contentType = ctype;
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sdk/
H A DSourceMap.js166 * @param {!WebInspector.ResourceType} contentType
169 sourceContentProvider: function(sourceURL, contentType)
173 return new WebInspector.StaticContentProvider(contentType, sourceContent);
174 return new WebInspector.CompilerSourceMappingContentProvider(sourceURL, contentType);
/external/chromium_org/v8/tools/
H A DSourceMap.js148 * @param {WebInspector.ResourceType} contentType
151 sourceContentProvider: function(sourceURL, contentType)
158 return new WebInspector.StaticContentProvider(contentType, sourceContent, mimeType);
159 return new WebInspector.CompilerSourceMappingContentProvider(sourceURL, contentType, mimeType);
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/workspace/
H A DWorkspace.js70 * @param {!WebInspector.ResourceType} contentType
72 WebInspector.FileDescriptor = function(parentPath, name, originURL, url, contentType)
78 this.contentType = contentType;
311 uiSourceCode = new WebInspector.UISourceCode(this, fileDescriptor.parentPath, fileDescriptor.name, fileDescriptor.originURL, fileDescriptor.url, fileDescriptor.contentType);
446 callback(true, uiSourceCode.name(), uiSourceCode.url, uiSourceCode.originURL(), uiSourceCode.contentType());
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
H A DCMSSignedData.java237 ASN1ObjectIdentifier contentType = signedData.getEncapContentInfo().getContentType();
241 signerInfos.add(new SignerInformation(info, contentType, signedContent, null));
248 signerInfos.add(new SignerInformation(info, contentType, null, hash));
H A DCMSSignedGenerator.java99 protected Map getBaseParameters(ASN1ObjectIdentifier contentType, AlgorithmIdentifier digAlgId, byte[] hash) argument
102 param.put(CMSAttributeTableGenerator.CONTENT_TYPE, contentType);
/external/chromium_org/third_party/WebKit/Source/platform/mhtml/
H A DMHTMLParser.cpp70 String contentType() const { return m_contentType; } function in class:blink::MIMEHeader
239 if (resourceHeader->contentType() == "multipart/alternative") {
372 return ArchiveResource::create(contentBuffer, location, AtomicString(mimeHeader.contentType()), AtomicString(mimeHeader.charset()), String());
/external/jsilver/src/com/google/clearsilver/jsilver/autoescape/
H A DAutoEscapeContext.java454 * contentType} provided. This method should be used when the starting auto escaping context of a
458 * @param contentType MIME type header representing the content being parsed.
461 public void setContentType(String contentType) { argument
462 HtmlParser.Mode mode = CONTENT_TYPE_LIST.get(contentType);
464 throw new JSilverAutoEscapingException("Invalid content type specified: " + contentType,
/external/chromium_org/third_party/WebKit/Source/core/loader/
H A DFormSubmission.h112 FormSubmission(Method, const KURL& action, const AtomicString& target, const AtomicString& contentType, PassRefPtrWillBeRawPtr<FormState>, PassRefPtr<FormData>, const String& boundary, PassRefPtrWillBeRawPtr<Event>);
/external/chromium_org/third_party/WebKit/Source/modules/encryptedmedia/
H A DHTMLMediaElementEncryptedMedia.h47 static void keyNeeded(HTMLMediaElement&, const String& contentType, const unsigned char* initData, unsigned initDataLength);
H A DMediaKeySession.cpp59 // FIXME: initDataType != contentType. Implement this properly.
61 String contentType = initDataType; local
63 contentType = "video/webm";
65 contentType = "video/mp4";
68 ContentType type(contentType);
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
H A DTextResourceDecoder.cpp102 const WTF::TextEncoding& TextResourceDecoder::defaultEncoding(ContentType contentType, const WTF::TextEncoding& specifiedDefaultEncoding) argument
106 if (contentType == XMLContent)
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebMediaPlayerClientImpl.cpp127 void WebMediaPlayerClientImpl::keyNeeded(const WebString& contentType, const unsigned char* initData, unsigned initDataLength) argument
129 HTMLMediaElementEncryptedMedia::keyNeeded(mediaElement(), contentType, initData, initDataLength); local
/external/nist-sip/java/javax/sip/header/
H A DHeaderFactory.java17 AcceptHeader createAcceptHeader(String contentType, String contentSubType) argument
54 ContentTypeHeader createContentTypeHeader(String contentType, argument
/external/chromium_org/third_party/tlslite/tlslite/
H A Dtlsrecordlayer.py359 if result.contentType == ContentType.alert:
562 contentType = msg.contentType
565 if contentType == ContentType.handshake:
574 mac.update(compatHMAC(bytearray([contentType])))
618 r = RecordHeader3().create(self.version, contentType, len(b))
638 if contentType == ContentType.handshake:

Completed in 3477 milliseconds

12345678