/external/libbrillo/brillo/http/ |
D | http_utils.cc | 66 const std::string& mime_type, in PostTextAndBlock() argument 71 url, data.data(), data.size(), mime_type, headers, transport, error); in PostTextAndBlock() 76 const std::string& mime_type, in PostText() argument 84 mime_type, in PostText() 96 const std::string& mime_type, in SendRequestAndBlock() argument 103 CHECK(!mime_type.empty()) << "MIME type must be specified if request body " in SendRequestAndBlock() 105 request.SetContentType(mime_type); in SendRequestAndBlock() 125 const std::string& mime_type, in SendRequest() argument 133 CHECK(!mime_type.empty()) << "MIME type must be specified if request body " in SendRequest() 135 request.SetContentType(mime_type); in SendRequest() [all …]
|
D | http_transport_fake.cc | 123 const std::string& mime_type) { in AddSimpleReplyHandler() argument 126 const std::string& mime_type, in AddSimpleReplyHandler() 129 response->ReplyText(status_code, reply_text, mime_type); in AddSimpleReplyHandler() 132 url, method, base::Bind(handler, status_code, reply_text, mime_type)); in AddSimpleReplyHandler() 223 std::string mime_type = brillo::mime::RemoveParameters( in GetFormField() local 225 if (mime_type == brillo::mime::application::kWwwFormUrlEncoded && in GetFormField() 239 const std::string& mime_type) { in Reply() argument 245 {response_header::kContentType, mime_type}}); in Reply() 250 const std::string& mime_type) { in ReplyText() argument 251 Reply(status_code, text.data(), text.size(), mime_type); in ReplyText() [all …]
|
D | http_utils.h | 61 const std::string& mime_type, 84 const std::string& mime_type, 100 const std::string& mime_type, 160 const std::string& mime_type, 171 const std::string& mime_type, 186 const std::string& mime_type, 198 const std::string& mime_type, 209 const std::string& mime_type,
|
D | http_transport_fake.h | 58 const std::string& mime_type); 206 const std::string& mime_type); 210 const std::string& mime_type); 223 const std::string& mime_type) { in Reply() argument 226 Reply(status_code, data.data(), data.size() * sizeof(T), mime_type); in Reply() 232 void Reply(int status_code, const T& data, const std::string& mime_type) { in Reply() argument 235 Reply(status_code, &data, sizeof(T), mime_type); in Reply()
|
/external/python/google-api-python-client/googleapiclient/ |
D | mimeparse.py | 35 def parse_mime_type(mime_type): argument 45 parts = mime_type.split(';') 82 def fitness_and_quality_parsed(mime_type, parsed_ranges): argument 94 parse_media_range(mime_type) 116 def quality_parsed(mime_type, parsed_ranges): argument 126 return fitness_and_quality_parsed(mime_type, parsed_ranges)[1] 129 def quality(mime_type, ranges): argument 142 return quality_parsed(mime_type, parsed_ranges) 163 for mime_type in supported: 164 weighted_matches.append((fitness_and_quality_parsed(mime_type, [all …]
|
/external/python/apitools/apitools/base/py/ |
D | util.py | 160 def AcceptableMimeType(accept_patterns, mime_type): argument 161 """Return True iff mime_type is acceptable for one of accept_patterns. 170 mime_type: the mime type we would like to match. 173 Whether or not mime_type matches (at least) one of these patterns. 175 if '/' not in mime_type: 177 'Invalid MIME type: "%s"' % mime_type) 184 def MimeTypeMatches(pattern, mime_type): argument 185 """Return True iff mime_type is acceptable for pattern.""" 190 in zip(pattern.split('/'), mime_type.split('/'))) 192 return any(MimeTypeMatches(pattern, mime_type)
|
D | transfer.py | 538 mime_type: MIME type of the upload. 546 'auto_transfer', 'mime_type', 'total_size', 'url')) 548 def __init__(self, stream, mime_type, total_size=None, http=None, argument 557 self.__mime_type = mime_type 572 def FromFile(cls, filename, mime_type=None, auto_transfer=True, **kwds): argument 577 if not mime_type: 578 mime_type, _ = mimetypes.guess_type(path) 579 if mime_type is None: 583 return cls(open(path, 'rb'), mime_type, total_size=size, 587 def FromStream(cls, stream, mime_type, total_size=None, auto_transfer=True, argument [all …]
|
D | util_test.py | 151 for accept, mime_type in valid_pairs: 152 self.assertTrue(util.AcceptableMimeType([accept], mime_type)) 159 for accept, mime_type in invalid_pairs: 160 self.assertFalse(util.AcceptableMimeType([accept], mime_type))
|
/external/adhd/scripts/mic_testing/frontend/ |
D | app.yaml | 9 mime_type: text/css 14 mime_type: text/html 19 mime_type: text/javascript 24 mime_type: text/plain
|
/external/adhd/scripts/audio_tuning/frontend/ |
D | app.yaml | 9 mime_type: text/css 14 mime_type: text/html 19 mime_type: text/javascript 24 mime_type: text/plain
|
/external/adhd/scripts/volume_tuning/ |
D | app.yaml | 9 mime_type: text/css 14 mime_type: text/html 19 mime_type: text/javascript 24 mime_type: text/plain
|
/external/owasp/sanitizer/tools/ |
D | cut_release.py | 113 mime_type = mime_type_from_path(dest_path) 114 if mime_type is None or mime_type.startswith("text/"): 177 mime_type = mime_type_from_path(new_file_path) variable 178 if mime_type is not None: 179 print "svn propset svn:mime-type '%s' '%s'" % (mime_type, new_file_path)
|
D | update_tree_in_svn.py | 83 mime_type = MIME_TYPES_BY_EXTENSION.get(dst[dot+1:]) 84 if mime_type is not None: 85 key = ('svn:mime-type', mime_type)
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowContentProviderClientTest.java | 38 private static final String MIME_TYPE = "application/octet-stream"; field in ShadowContentProviderClientTest 110 client.openTypedAssetFileDescriptor(URI, MIME_TYPE, opts); in shouldDelegateToContentProvider() 111 verify(provider).openTypedAssetFile(URI, MIME_TYPE, opts); in shouldDelegateToContentProvider() 113 client.getStreamTypes(URI, MIME_TYPE); in shouldDelegateToContentProvider() 114 verify(provider).getStreamTypes(URI, MIME_TYPE); in shouldDelegateToContentProvider()
|
/external/image_io/includes/image_io/jpeg/ |
D | jpeg_xmp_info.h | 65 /// @param mime_type The mime type to assign to this instance. 66 void SetMimeType(const std::string& mime_type) { mime_type_ = mime_type; } in SetMimeType() argument
|
D | jpeg_info.h | 119 /// @param mime_type The mime type of the Xmp data. 120 void SetMimeType(JpegXmpInfo::Type type, const std::string& mime_type) { in SetMimeType() argument 121 xmp_info_vector_[type].SetMimeType(mime_type); in SetMimeType()
|
/external/python/cpython2/Lib/plat-mac/lib-scriptpackages/Explorer/ |
D | Web_Browser_Suite.py | 129 'MIME_Type' : 'MIME', 139 Keyword argument MIME_Type: MIME type of data being posted 184 'MIME_Type' : 'MIME', 192 Keyword argument MIME_Type: MIME type
|
/external/flac/libFLAC/ |
D | metadata_object.c | 477 FLAC__STREAM_METADATA_PICTURE_MIME_TYPE_LENGTH_LEN + /* empty mime_type string */ in FLAC__metadata_object_new() 487 object->data.picture.mime_type = 0; in FLAC__metadata_object_new() 497 …/* now initialize mime_type and description with empty strings to make things easier on the client… in FLAC__metadata_object_new() 498 if (!copy_cstring_(&object->data.picture.mime_type, "")) { in FLAC__metadata_object_new() 503 free(object->data.picture.mime_type); in FLAC__metadata_object_new() 596 if (!copy_cstring_(&to->data.picture.mime_type, object->data.picture.mime_type)) { in FLAC__metadata_object_clone() 667 if (object->data.picture.mime_type != NULL) { in FLAC__metadata_object_delete_data() 668 free(object->data.picture.mime_type); in FLAC__metadata_object_delete_data() 669 object->data.picture.mime_type = NULL; in FLAC__metadata_object_delete_data() 838 …f (block1->mime_type != block2->mime_type && (block1->mime_type == 0 || block2->mime_type == 0 || … in compare_block_data_picture_() [all …]
|
/external/python/cpython2/Lib/plat-mac/lib-scriptpackages/Netscape/ |
D | WorldWideWeb_suite.py | 52 'MIME_type' : 'MIME', 60 Keyword argument MIME_type: MIME type 241 'MIME_type' : 'MIME', 248 Keyword argument MIME_type: MIME type viewer is registering for 341 'MIME_type' : 'MIME', 347 Keyword argument MIME_type: MIME type to be unregistered
|
/external/python/google-api-python-client/docs/dyn/ |
D | books_v1.cloudloading.html | 78 …k">addBook(upload_client_token=None, name=None, drive_document_id=None, mime_type=None)</a></code>… 88 …ddBook">addBook(upload_client_token=None, name=None, drive_document_id=None, mime_type=None)</code> 95 mime_type: string, The document MIME type. It can be set only if the drive_document_id is set.
|
/external/flac/include/share/grabbag/ |
D | picture.h | 31 /* spec should be of the form "[TYPE]|MIME_TYPE|[DESCRIPTION]|[WIDTHxHEIGHTxDEPTH[/COLORS]]|FILE", … 47 FLAC__StreamMetadata *grabbag__picture_from_specification(int type, const char *mime_type, const ch…
|
/external/glide/library/src/main/java/com/bumptech/glide/signature/ |
D | MediaStoreSignature.java | 22 * {@link android.provider.MediaStore.Images.ImageColumns#MIME_TYPE} or 23 * {@link android.provider.MediaStore.Video.VideoColumns#MIME_TYPE}.
|
/external/python/google-api-python-client/docs/epy/ |
D | googleapiclient.mimeparse-module.html | 114 …ss="summary-sig-name">parse_mime_type</a>(<span class="summary-sig-arg">mime_type</span>)</span><b… 148 …s="summary-sig-name">fitness_and_quality_parsed</a>(<span class="summary-sig-arg">mime_type</span>, 166 …parsed" class="summary-sig-name">quality_parsed</a>(<span class="summary-sig-arg">mime_type</span>, 184 ….html#quality" class="summary-sig-name">quality</a>(<span class="summary-sig-arg">mime_type</span>, 288 …="sig"><span class="sig-name">parse_mime_type</span>(<span class="sig-arg">mime_type</span>)</span> 351 …g"><span class="sig-name">fitness_and_quality_parsed</span>(<span class="sig-arg">mime_type</span>, 380 …an class="sig"><span class="sig-name">quality_parsed</span>(<span class="sig-arg">mime_type</span>, 409 …oc"><span class="sig"><span class="sig-name">quality</span>(<span class="sig-arg">mime_type</span>,
|
/external/ImageMagick/Magick++/lib/ |
D | CoderInfo.cpp | 76 _mimeType=std::string(magickInfo->mime_type != (char *) NULL ? in CoderInfo() 77 magickInfo->mime_type : ""); in CoderInfo()
|
/external/curl/docs/cmdline-opts/ |
D | xattr.d | 7 the mime_type attribute. If the file system does not support extended
|