Lines Matching defs:ec
318 void MediaSource::setDuration(double duration, ExceptionCode& ec)
326 ec = INVALID_ACCESS_ERR;
332 ec = INVALID_STATE_ERR;
340 ec = INVALID_STATE_ERR;
409 void MediaSource::endOfStream(ExceptionCode& ec)
411 endOfStream(emptyAtom, ec);
414 void MediaSource::endOfStream(const AtomicString& error, ExceptionCode& ec)
420 ec = INVALID_STATE_ERR;
427 ec = INVALID_STATE_ERR;
432 streamEndedWithError(error, ec);
435 void MediaSource::streamEndedWithError(const AtomicString& error, ExceptionCode& ec)
499 ec = INVALID_ACCESS_ERR;
503 SourceBuffer* MediaSource::addSourceBuffer(const String& type, ExceptionCode& ec)
511 ec = INVALID_ACCESS_ERR;
518 ec = NOT_SUPPORTED_ERR;
525 ec = INVALID_STATE_ERR;
531 RefPtr<SourceBufferPrivate> sourceBufferPrivate = createSourceBufferPrivate(contentType, ec);
534 ASSERT(ec == NOT_SUPPORTED_ERR || ec == QUOTA_EXCEEDED_ERR);
549 void MediaSource::removeSourceBuffer(SourceBuffer* buffer, ExceptionCode& ec)
558 ec = INVALID_ACCESS_ERR;
565 ec = NOT_FOUND_ERR;
824 RefPtr<SourceBufferPrivate> MediaSource::createSourceBufferPrivate(const ContentType& type, ExceptionCode& ec)
836 ec = NOT_SUPPORTED_ERR;
842 ec = QUOTA_EXCEEDED_ERR;