/external/webkit/Source/WebCore/storage/ |
H A D | IDBIndex.cpp | 58 PassRefPtr<IDBRequest> IDBIndex::openCursor(ScriptExecutionContext* context, PassRefPtr<IDBKeyRange> keyRange, unsigned short direction, ExceptionCode& ec) argument 62 ec = IDBDatabaseException::CONSTRAINT_ERR; 68 m_backend->openCursor(keyRange, direction, request, m_transaction->backend(), ec); 69 if (ec) { 76 PassRefPtr<IDBRequest> IDBIndex::openKeyCursor(ScriptExecutionContext* context, PassRefPtr<IDBKeyRange> keyRange, unsigned short direction, ExceptionCode& ec) argument 80 ec = IDBDatabaseException::CONSTRAINT_ERR; 86 m_backend->openKeyCursor(keyRange, direction, request, m_transaction->backend(), ec); 87 if (ec) { 94 PassRefPtr<IDBRequest> IDBIndex::get(ScriptExecutionContext* context, PassRefPtr<IDBKey> key, ExceptionCode& ec) argument 97 m_backend->get(key, request, m_transaction->backend(), ec); 105 getKey(ScriptExecutionContext* context, PassRefPtr<IDBKey> key, ExceptionCode& ec) argument [all...] |
H A D | DatabaseSync.cpp | 50 unsigned long estimatedSize, PassRefPtr<DatabaseCallback> creationCallback, ExceptionCode& ec) 61 if (!database->performOpenAndVerify(!creationCallback, ec)) { 94 void DatabaseSync::changeVersion(const String& oldVersion, const String& newVersion, PassRefPtr<SQLTransactionSyncCallback> changeVersionCallback, ExceptionCode& ec) argument 99 ec = SQLException::DATABASE_ERR; 104 if ((ec = transaction->begin())) 109 ec = SQLException::UNKNOWN_ERR; 114 ec = SQLException::VERSION_ERR; 118 if ((ec = transaction->execute())) 122 ec = SQLException::UNKNOWN_ERR; 126 if ((ec 49 openDatabaseSync(ScriptExecutionContext* context, const String& name, const String& expectedVersion, const String& displayName, unsigned long estimatedSize, PassRefPtr<DatabaseCallback> creationCallback, ExceptionCode& ec) argument 132 transaction(PassRefPtr<SQLTransactionSyncCallback> callback, ExceptionCode& ec) argument 137 readTransaction(PassRefPtr<SQLTransactionSyncCallback> callback, ExceptionCode& ec) argument 142 runTransaction(PassRefPtr<SQLTransactionSyncCallback> callback, bool readOnly, ExceptionCode& ec) argument [all...] |
H A D | IDBCursor.cpp | 88 PassRefPtr<IDBRequest> IDBCursor::update(ScriptExecutionContext* context, PassRefPtr<SerializedScriptValue> value, ExceptionCode& ec) argument 91 m_backend->update(value, request, ec); 92 if (ec) { 99 void IDBCursor::continueFunction(PassRefPtr<IDBKey> key, ExceptionCode& ec) argument 104 m_backend->continueFunction(key, m_request, ec); 106 ec = IDBDatabaseException::NOT_ALLOWED_ERR; 109 PassRefPtr<IDBRequest> IDBCursor::deleteFunction(ScriptExecutionContext* context, ExceptionCode& ec) argument 112 m_backend->deleteFunction(request, ec); 113 if (ec) {
|
/external/llvm/lib/Object/ |
H A D | ELFObjectFile.cpp | 25 error_code ec; local 28 return new ELFObjectFile<support::little, false>(Object, ec); 30 return new ELFObjectFile<support::big, false>(Object, ec); 32 return new ELFObjectFile<support::big, true>(Object, ec); 35 new ELFObjectFile<support::little, true>(Object, ec);
|
/external/webkit/Source/WebCore/wml/ |
H A D | WMLFieldSetElement.cpp | 63 ExceptionCode ec = 0; local 64 appendChild(m_insertedLegendElement, ec); 65 ASSERT(ec == 0); 68 m_insertedLegendElement->appendChild(document()->createTextNode(title), ec); local 69 ASSERT(ec == 0);
|
/external/webkit/Source/WebCore/bindings/js/ |
H A D | JSXMLHttpRequestCustom.cpp | 87 ExceptionCode ec = 0; local 96 impl()->open(method, url, async, user, password, ec); 98 impl()->open(method, url, async, user, ec); 100 impl()->open(method, url, async, ec); 102 impl()->open(method, url, ec); 104 setDOMException(exec, ec); 112 ExceptionCode ec = 0; local 114 impl()->send(ec); 118 impl()->send(ec); 120 impl()->send(toDocument(val), ec); local 122 impl()->send(toBlob(val), ec); local 124 impl()->send(toDOMFormData(val), ec); local 126 impl()->send(toArrayBuffer(val), ec); local 128 impl()->send(ustringToString(val.toString(exec)), ec); local 145 ExceptionCode ec = 0; local 163 ExceptionCode ec = 0; local 175 ExceptionCode ec = 0; local 189 ExceptionCode ec = 0; local [all...] |
H A D | JSHTMLOptionsCollectionCustom.cpp | 47 ExceptionCode ec = 0; local 52 ec = INDEX_SIZE_ERR; 58 if (!ec) 59 imp->setLength(newLength, ec); 60 setDOMException(exec, ec); 74 ExceptionCode ec = 0; local 76 imp->add(option, ec); 83 ec = TYPE_MISMATCH_ERR; 85 imp->add(option, index, ec); 87 setDOMException(exec, ec); [all...] |
H A D | JSWebKitCSSMatrixCustom.cpp | 42 ExceptionCode ec = 0; local 43 RefPtr<WebKitCSSMatrix> matrix = WebKitCSSMatrix::create(s, ec); 44 setDOMException(exec, ec);
|
/external/icu4c/test/intltest/ |
H A D | dtifmtts.cpp | 987 UErrorCode ec = U_ZERO_ERROR; local 1002 SimpleDateFormat ref(pattern, loc, ec); 1003 if (U_FAILURE(ec)) { 1004 dataerrln("contruct SimpleDateFormat in expect failed: %s", u_errorName(ec)); 1014 UDate date = ref.parse(ctou(datestr), ec); 1015 if (!assertSuccess("parse 1st data in expect", ec)) return; 1016 UDate date_2 = ref.parse(ctou(datestr_2), ec); 1017 if (!assertSuccess("parse 2nd data in expect", ec)) return; 1022 DateIntervalFormat* dtitvfmt = DateIntervalFormat::createInstance(oneSkeleton, loc, ec); 1023 if (!assertSuccess("createInstance(skeleton) in expect", ec)) retur 1109 UErrorCode ec = U_ZERO_ERROR; local 1264 UErrorCode ec = U_ZERO_ERROR; local [all...] |
/external/webkit/Source/WebKit/chromium/src/ |
H A D | WebIDBDatabaseImpl.cpp | 69 WebIDBObjectStore* WebIDBDatabaseImpl::createObjectStore(const WebString& name, const WebString& keyPath, bool autoIncrement, const WebIDBTransaction& transaction, WebExceptionCode& ec) argument 71 RefPtr<IDBObjectStoreBackendInterface> objectStore = m_databaseBackend->createObjectStore(name, keyPath, autoIncrement, transaction.getIDBTransactionBackendInterface(), ec); 73 ASSERT(ec); 79 void WebIDBDatabaseImpl::deleteObjectStore(const WebString& name, const WebIDBTransaction& transaction, WebExceptionCode& ec) argument 81 m_databaseBackend->deleteObjectStore(name, transaction.getIDBTransactionBackendInterface(), ec); 84 void WebIDBDatabaseImpl::setVersion(const WebString& version, WebIDBCallbacks* callbacks, WebExceptionCode& ec) argument 86 m_databaseBackend->setVersion(version, IDBCallbacksProxy::create(callbacks), m_databaseCallbacks, ec); 89 WebIDBTransaction* WebIDBDatabaseImpl::transaction(const WebDOMStringList& names, unsigned short mode, WebExceptionCode& ec) argument 92 RefPtr<IDBTransactionBackendInterface> transaction = m_databaseBackend->transaction(nameList.get(), mode, ec); 94 ASSERT(ec); [all...] |
H A D | IDBDatabaseBackendProxy.cpp | 78 PassRefPtr<IDBObjectStoreBackendInterface> IDBDatabaseBackendProxy::createObjectStore(const String& name, const String& keyPath, bool autoIncrement, IDBTransactionBackendInterface* transaction, ExceptionCode& ec) argument 83 WebIDBObjectStore* objectStore = m_webIDBDatabase->createObjectStore(name, keyPath, autoIncrement, *transactionProxy->getWebIDBTransaction(), ec); 89 void IDBDatabaseBackendProxy::deleteObjectStore(const String& name, IDBTransactionBackendInterface* transaction, ExceptionCode& ec) argument 94 m_webIDBDatabase->deleteObjectStore(name, *transactionProxy->getWebIDBTransaction(), ec); 97 void IDBDatabaseBackendProxy::setVersion(const String& version, PassRefPtr<IDBCallbacks> callbacks, PassRefPtr<IDBDatabaseCallbacks> databaseCallbacks, ExceptionCode& ec) argument 99 m_webIDBDatabase->setVersion(version, new WebIDBCallbacksImpl(callbacks), ec); 102 PassRefPtr<IDBTransactionBackendInterface> IDBDatabaseBackendProxy::transaction(DOMStringList* storeNames, unsigned short mode, ExceptionCode& ec) argument 105 WebIDBTransaction* transaction = m_webIDBDatabase->transaction(names, mode, ec); 107 ASSERT(ec);
|
/external/llvm/lib/Support/Windows/ |
H A D | PathV2.inc | 185 if (error_code ec = UTF8ToUTF16(f, wide_from)) return ec; 186 if (error_code ec = UTF8ToUTF16(t, wide_to)) return ec; 202 if (error_code ec = UTF8ToUTF16(path.toStringRef(path_storage), 204 return ec; 207 error_code ec = windows_error(::GetLastError()); 208 if (ec == windows_error::already_exists) 211 return ec; 228 if (error_code ec [all...] |
/external/webkit/Source/WebCore/xml/ |
H A D | XPathResult.cpp | 72 void XPathResult::convertTo(unsigned short type, ExceptionCode& ec) argument 94 ec = XPathException::TYPE_ERR; 101 ec = XPathException::TYPE_ERR; 109 ec = XPathException::TYPE_ERR; 123 double XPathResult::numberValue(ExceptionCode& ec) const 126 ec = XPathException::TYPE_ERR; 132 String XPathResult::stringValue(ExceptionCode& ec) const 135 ec = XPathException::TYPE_ERR; 141 bool XPathResult::booleanValue(ExceptionCode& ec) const 144 ec 183 iterateNext(ExceptionCode& ec) argument 205 snapshotItem(unsigned long index, ExceptionCode& ec) argument [all...] |
/external/webkit/Source/WebCore/page/ |
H A D | DOMSelection.cpp | 201 void DOMSelection::collapse(Node* node, int offset, ExceptionCode& ec) argument 207 ec = INDEX_SIZE_ERR; 218 void DOMSelection::collapseToEnd(ExceptionCode& ec) argument 226 ec = INVALID_STATE_ERR; 233 void DOMSelection::collapseToStart(ExceptionCode& ec) argument 241 ec = INVALID_STATE_ERR; 255 void DOMSelection::setBaseAndExtent(Node* baseNode, int baseOffset, Node* extentNode, int extentOffset, ExceptionCode& ec) argument 261 ec = INDEX_SIZE_ERR; 275 void DOMSelection::setPosition(Node* node, int offset, ExceptionCode& ec) argument 280 ec 343 extend(Node* node, int offset, ExceptionCode& ec) argument 365 getRangeAt(int index, ExceptionCode& ec) argument 410 ExceptionCode ec = 0; local 492 selectAllChildren(Node* n, ExceptionCode& ec) argument [all...] |
H A D | Crypto.cpp | 57 void Crypto::getRandomValues(ArrayBufferView* array, ExceptionCode& ec) argument 61 ec = TYPE_MISMATCH_ERR; 67 ec = NOT_SUPPORTED_ERR;
|
/external/icu4c/common/ |
H A D | ucat.c | 38 u_catopen(const char* name, const char* locale, UErrorCode* ec) { argument 39 return (u_nl_catd) ures_open(name, locale, ec); 50 int32_t* len, UErrorCode* ec) { 55 if (ec == NULL || U_FAILURE(*ec)) { 61 len, ec); 62 if (U_FAILURE(*ec)) { 48 u_catgets(u_nl_catd catd, int32_t set_num, int32_t msg_num, const UChar* s, int32_t* len, UErrorCode* ec) argument
|
/external/webkit/Source/WebCore/editing/ |
H A D | ReplaceNodeWithSpanCommand.cpp | 54 ExceptionCode ec = 0; local 56 parentNode->insertBefore(newNode, nodeToReplace, ec); 57 ASSERT(!ec); 62 newNode->appendChild(child, ec); 63 ASSERT(!ec); 68 parentNode->removeChild(nodeToReplace, ec); 69 ASSERT(!ec);
|
H A D | SplitElementCommand.cpp | 54 ExceptionCode ec = 0; local 59 parent->insertBefore(m_element1.get(), m_element2.get(), ec); 60 if (ec) 64 m_element2->removeAttribute(HTMLNames::idAttr, ec); 65 ASSERT(!ec); 69 m_element1->appendChild(children[i], ec); 90 ExceptionCode ec = 0; local 94 m_element2->insertBefore(children[i].get(), refChild.get(), ec); 100 m_element1->remove(ec);
|
/external/webkit/Source/WebCore/notifications/ |
H A D | NotificationCenter.h | 51 PassRefPtr<Notification> createHTMLNotification(const String& URI, ExceptionCode& ec) argument 54 ec = INVALID_STATE_ERR; 58 ec = SYNTAX_ERR; 61 return Notification::create(scriptExecutionContext()->completeURL(URI), scriptExecutionContext(), ec, this); 64 PassRefPtr<Notification> createNotification(const String& iconURI, const String& title, const String& body, ExceptionCode& ec) argument 67 ec = INVALID_STATE_ERR; 71 return Notification::create(contents, scriptExecutionContext(), ec, this);
|
/external/webkit/Source/WebCore/html/shadow/ |
H A D | MediaControlRootElement.cpp | 81 ExceptionCode ec; local 85 panel->appendChild(rewindButton.release(), ec, true); 86 if (ec) 91 panel->appendChild(playButton.release(), ec, true); 92 if (ec) 97 panel->appendChild(returnToRealtimeButton.release(), ec, true); 98 if (ec) 104 panel->appendChild(statusDisplay.release(), ec, true); 105 if (ec) 113 timelineContainer->appendChild(currentTimeDisplay.release(), ec, tru 249 ExceptionCode ec; local 251 m_panel->style()->setProperty(webkitTransitionString(), transitionValue, ec); local 252 m_panel->style()->setProperty(opacityString(), opacityValue, ec); local 266 ExceptionCode ec; local 268 m_panel->style()->setProperty(webkitTransitionString(), transitionValue, ec); local 269 m_panel->style()->setProperty(opacityString(), opacityValue, ec); local [all...] |
/external/webkit/Source/WebCore/bindings/v8/ |
H A D | V8Collection.cpp | 47 ExceptionCode ec = 0; local 56 base->setOption(index, element, ec); 58 V8Proxy::setDOMException(ec);
|
/external/webkit/Source/WebCore/bindings/v8/custom/ |
H A D | V8DedicatedWorkerContextCustom.cpp | 58 ExceptionCode ec = 0; local 59 workerContext->postMessage(message.release(), &portArray, ec); 60 return throwError(ec);
|
H A D | V8SVGLengthCustom.cpp | 47 ExceptionCode ec = 0; local 48 float value = imp.value(wrapper->contextElement(), ec); 49 if (UNLIKELY(ec)) { 50 V8Proxy::setDOMException(ec); 71 ExceptionCode ec = 0; local 72 imp.setValue(static_cast<float>(value->NumberValue()), wrapper->contextElement(), ec); local 73 if (UNLIKELY(ec)) 74 V8Proxy::setDOMException(ec); 92 ExceptionCode ec = 0; local 94 imp.convertToSpecifiedUnits(unitType, wrapper->contextElement(), ec); [all...] |
/external/webkit/Source/WebCore/html/canvas/ |
H A D | CanvasGradient.cpp | 49 void CanvasGradient::addColorStop(float value, const String& color, ExceptionCode& ec) argument 52 ec = INDEX_SIZE_ERR; 59 ec = SYNTAX_ERR;
|
H A D | CanvasPattern.cpp | 34 void CanvasPattern::parseRepetitionType(const String& type, bool& repeatX, bool& repeatY, ExceptionCode& ec) argument 36 ec = 0; 57 ec = SYNTAX_ERR;
|