/third_party/node/lib/internal/ |
H A D | blob.js | 232 * @param {string} [contentType] 235 slice(start = 0, end = this[kLength], contentType = '') { 252 contentType = `${contentType}`; 253 if (RegExpPrototypeExec(disallowedTypeCharacters, contentType) !== null) { 254 contentType = ''; 256 contentType = StringPrototypeToLowerCase(contentType); 264 contentType);
|
H A D | wasm_web_api.js | 28 const contentType = response.headers.get('Content-Type'); 29 if (contentType !== 'application/wasm') { 31 `has unsupported MIME type '${contentType}'`);
|
/third_party/node/test/parallel/ |
H A D | test-http-header-read.js | 31 const contentType = 'Content-Type'; 33 res.setHeader(contentType, plain); 40 assert.strictEqual(plain, res.getHeader(contentType));
|
/third_party/node/deps/undici/src/lib/core/ |
H A D | request.js | 174 this.contentType = null 207 const [bodyStream, contentType] = extractBody(body) 208 if (this.contentType == null) { 209 this.contentType = contentType 210 this.headers += `content-type: ${contentType}\r\n` 214 } else if (util.isBlobLike(body) && this.contentType == null && body.type) { 215 this.contentType = body.type 443 request.contentType === null && 447 request.contentType [all...] |
/third_party/node/deps/openssl/openssl/crypto/cms/ |
H A D | cms_lib.c | 124 return cms->contentType; in CMS_get0_type() 132 cms->contentType = OBJ_nid2obj(NID_pkcs7_data); in ossl_cms_Data_create() 168 switch (OBJ_obj2nid(cms->contentType)) { in CMS_dataInit() 237 switch (OBJ_obj2nid(cms->contentType)) { in CMS_dataFinal() 270 switch (OBJ_obj2nid(cms->contentType)) { in CMS_get0_content() 313 switch (OBJ_obj2nid(cms->contentType)) { in cms_get0_econtent_type() 319 return &cms->d.envelopedData->encryptedContentInfo->contentType; in cms_get0_econtent_type() 325 return &cms->d.encryptedData->encryptedContentInfo->contentType; in cms_get0_econtent_type() 329 ->contentType; in cms_get0_econtent_type() 480 switch (OBJ_obj2nid(cms->contentType)) { in STACK_OF() [all...] |
H A D | cms_cd.c | 48 cms->contentType = OBJ_nid2obj(NID_id_smime_ct_compressedData); in ossl_cms_CompressedData_create() 70 if (OBJ_obj2nid(cms->contentType) != NID_id_smime_ct_compressedData) { in ossl_cms_CompressedData_init_bio()
|
H A D | cms_enc.c | 222 ec->contentType = OBJ_nid2obj(NID_pkcs7_data); in ossl_cms_EncryptedContent_init() 241 cms->contentType = OBJ_nid2obj(NID_pkcs7_encrypted); in CMS_EncryptedData_set1_key() 243 } else if (OBJ_obj2nid(cms->contentType) != NID_pkcs7_encrypted) { in CMS_EncryptedData_set1_key()
|
H A D | cms_env.c | 31 int nid = OBJ_obj2nid(cms->contentType); in cms_get_enveloped_type_simple() 65 if (OBJ_obj2nid(cms->contentType) != NID_pkcs7_enveloped) { in ossl_cms_get0_enveloped() 74 if (OBJ_obj2nid(cms->contentType) != NID_id_smime_ct_authEnvelopedData) { in ossl_cms_get0_auth_enveloped() 90 cms->d.envelopedData->encryptedContentInfo->contentType = in cms_enveloped_data_init() 92 ASN1_OBJECT_free(cms->contentType); in cms_enveloped_data_init() 93 cms->contentType = OBJ_nid2obj(NID_pkcs7_enveloped); in cms_enveloped_data_init() 110 cms->d.authEnvelopedData->authEncryptedContentInfo->contentType = in cms_auth_enveloped_data_init() 112 ASN1_OBJECT_free(cms->contentType); in cms_auth_enveloped_data_init() 113 cms->contentType = OBJ_nid2obj(NID_id_smime_ct_authEnvelopedData); in cms_auth_enveloped_data_init()
|
H A D | cms_asn1.c | 93 ASN1_SIMPLE(CMS_EncryptedContentInfo, contentType, ASN1_OBJECT), 290 } ASN1_ADB_END(CMS_ContentInfo, 0, contentType, 0, &cms_default_tt, NULL); 325 ASN1_SIMPLE(CMS_ContentInfo, contentType, ASN1_OBJECT), 365 ASN1_SIMPLE(CMS_Receipt, contentType, ASN1_OBJECT),
|
H A D | cms_local.h | 55 ASN1_OBJECT *contentType; member 129 ASN1_OBJECT *contentType; member 364 ASN1_OBJECT *contentType; member
|
H A D | cms_dd.c | 36 cms->contentType = OBJ_nid2obj(NID_pkcs7_digest); in ossl_cms_DigestedData_create()
|
/third_party/openssl/crypto/cms/ |
H A D | cms_lib.c | 111 return cms->contentType; in CMS_get0_type() 119 cms->contentType = OBJ_nid2obj(NID_pkcs7_data); in ossl_cms_Data_create() 155 switch (OBJ_obj2nid(cms->contentType)) { in CMS_dataInit() 224 switch (OBJ_obj2nid(cms->contentType)) { in CMS_dataFinal() 257 switch (OBJ_obj2nid(cms->contentType)) { in CMS_get0_content() 300 switch (OBJ_obj2nid(cms->contentType)) { in cms_get0_econtent_type() 306 return &cms->d.envelopedData->encryptedContentInfo->contentType; in cms_get0_econtent_type() 312 return &cms->d.encryptedData->encryptedContentInfo->contentType; in cms_get0_econtent_type() 316 ->contentType; in cms_get0_econtent_type() 467 switch (OBJ_obj2nid(cms->contentType)) { in STACK_OF() [all...] |
H A D | cms_cd.c | 48 cms->contentType = OBJ_nid2obj(NID_id_smime_ct_compressedData); in ossl_cms_CompressedData_create() 70 if (OBJ_obj2nid(cms->contentType) != NID_id_smime_ct_compressedData) { in ossl_cms_CompressedData_init_bio()
|
H A D | cms_enc.c | 221 ec->contentType = OBJ_nid2obj(NID_pkcs7_data); in ossl_cms_EncryptedContent_init() 240 cms->contentType = OBJ_nid2obj(NID_pkcs7_encrypted); in CMS_EncryptedData_set1_key() 242 } else if (OBJ_obj2nid(cms->contentType) != NID_pkcs7_encrypted) { in CMS_EncryptedData_set1_key()
|
H A D | cms_env.c | 31 int nid = OBJ_obj2nid(cms->contentType); in cms_get_enveloped_type() 48 if (OBJ_obj2nid(cms->contentType) != NID_pkcs7_enveloped) { in ossl_cms_get0_enveloped() 57 if (OBJ_obj2nid(cms->contentType) != NID_id_smime_ct_authEnvelopedData) { in ossl_cms_get0_auth_enveloped() 73 cms->d.envelopedData->encryptedContentInfo->contentType = in cms_enveloped_data_init() 75 ASN1_OBJECT_free(cms->contentType); in cms_enveloped_data_init() 76 cms->contentType = OBJ_nid2obj(NID_pkcs7_enveloped); in cms_enveloped_data_init() 93 cms->d.authEnvelopedData->authEncryptedContentInfo->contentType = in cms_auth_enveloped_data_init() 95 ASN1_OBJECT_free(cms->contentType); in cms_auth_enveloped_data_init() 96 cms->contentType = OBJ_nid2obj(NID_id_smime_ct_authEnvelopedData); in cms_auth_enveloped_data_init()
|
H A D | cms_asn1.c | 104 ASN1_SIMPLE(CMS_EncryptedContentInfo, contentType, ASN1_OBJECT), 301 } ASN1_ADB_END(CMS_ContentInfo, 0, contentType, 0, &cms_default_tt, NULL); 340 ASN1_SIMPLE(CMS_ContentInfo, contentType, ASN1_OBJECT), 380 ASN1_SIMPLE(CMS_Receipt, contentType, ASN1_OBJECT),
|
H A D | cms_local.h | 55 ASN1_OBJECT *contentType; member 129 ASN1_OBJECT *contentType; member 364 ASN1_OBJECT *contentType; member
|
/third_party/node/deps/npm/node_modules/minipass-fetch/lib/ |
H A D | response.js | 19 const contentType = extractContentType(body) 20 if (contentType) { 21 headers.append('Content-Type', contentType)
|
/third_party/skia/tools/ |
H A D | UrlDataManager.cpp | 18 SkString UrlDataManager::addData(SkData* data, const char* contentType) { in addData() argument 27 urlData->fContentType.set(contentType); in addData()
|
H A D | UrlDataManager.h | 34 SkString addData(SkData*, const char* contentType);
|
/third_party/node/lib/internal/source_map/ |
H A D | source_map_cache.js | 238 const contentType = splitFormat[0]; 240 if (contentType === 'application/json') { 251 debug(`unknown content-type ${contentType}`);
|
/third_party/skia/third_party/externals/oboe/include/oboe/ |
H A D | AudioStreamBuilder.h | 223 * The contentType is ignored for input streams. 229 * @param contentType the type of audio data, eg. ContentType::Speech 231 AudioStreamBuilder *setContentType(ContentType contentType) { in setContentType() argument 232 mContentType = contentType; in setContentType()
|
/third_party/node/lib/internal/modules/esm/ |
H A D | fetch_module.js | 183 const contentType = headers['content-type']; 184 if (!contentType) {
|
/third_party/node/deps/undici/src/lib/api/ |
H A D | readable.js | 25 contentType = '', 39 this[kContentType] = contentType
|
/third_party/skia/third_party/externals/oboe/src/common/ |
H A D | Utilities.cpp | 223 const char *convertToText<ContentType>(ContentType contentType) { in convertToText() argument 225 switch (contentType) { in convertToText()
|