Searched refs:ec (Results 226 - 250 of 708) sorted by relevance

1234567891011>>

/external/webkit/Source/WebCore/storage/
H A DIDBIndexBackendImpl.cpp95 ExceptionCode ec = 0; local
96 RefPtr<IDBObjectStoreBackendInterface> objectStore = transaction->objectStore(index->m_storeName, ec);
97 ASSERT(objectStore && !ec);
103 void IDBIndexBackendImpl::openCursor(PassRefPtr<IDBKeyRange> prpKeyRange, unsigned short direction, PassRefPtr<IDBCallbacks> prpCallbacks, IDBTransactionBackendInterface* transactionPtr, ExceptionCode& ec) argument
110 ec = IDBDatabaseException::NOT_ALLOWED_ERR;
113 void IDBIndexBackendImpl::openKeyCursor(PassRefPtr<IDBKeyRange> prpKeyRange, unsigned short direction, PassRefPtr<IDBCallbacks> prpCallbacks, IDBTransactionBackendInterface* transactionPtr, ExceptionCode& ec) argument
120 ec = IDBDatabaseException::NOT_ALLOWED_ERR;
143 void IDBIndexBackendImpl::get(PassRefPtr<IDBKey> prpKey, PassRefPtr<IDBCallbacks> prpCallbacks, IDBTransactionBackendInterface* transaction, ExceptionCode& ec) argument
149 ec = IDBDatabaseException::NOT_ALLOWED_ERR;
152 void IDBIndexBackendImpl::getKey(PassRefPtr<IDBKey> prpKey, PassRefPtr<IDBCallbacks> prpCallbacks, IDBTransactionBackendInterface* transaction, ExceptionCode& ec) argument
[all...]
H A DIDBDatabaseBackendImpl.cpp100 PassRefPtr<IDBObjectStoreBackendInterface> IDBDatabaseBackendImpl::createObjectStore(const String& name, const String& keyPath, bool autoIncrement, IDBTransactionBackendInterface* transactionPtr, ExceptionCode& ec) argument
105 ec = IDBDatabaseException::CONSTRAINT_ERR;
116 ec = IDBDatabaseException::NOT_ALLOWED_ERR;
142 void IDBDatabaseBackendImpl::deleteObjectStore(const String& name, IDBTransactionBackendInterface* transactionPtr, ExceptionCode& ec) argument
146 ec = IDBDatabaseException::NOT_FOUND_ERR;
153 ec = IDBDatabaseException::NOT_ALLOWED_ERR;
165 void IDBDatabaseBackendImpl::setVersion(const String& version, PassRefPtr<IDBCallbacks> prpCallbacks, PassRefPtr<IDBDatabaseCallbacks> prpDatabaseCallbacks, ExceptionCode& ec) argument
189 ec = IDBDatabaseException::NOT_ALLOWED_ERR;
206 PassRefPtr<IDBTransactionBackendInterface> IDBDatabaseBackendImpl::transaction(DOMStringList* objectStoreNames, unsigned short mode, ExceptionCode& ec) argument
210 ec
233 ExceptionCode ec = 0; local
[all...]
H A DSQLTransactionSync.cpp74 PassRefPtr<SQLResultSet> SQLTransactionSync::executeSQL(const String& sqlStatement, const Vector<SQLValue>& arguments, ExceptionCode& ec) argument
78 ec = SQLException::UNKNOWN_ERR;
83 ec = SQLException::VERSION_ERR;
103 resultSet = statement.execute(m_database.get(), ec);
108 if (ec == SQLException::QUOTA_ERR) {
110 ec = 0;
/external/llvm/tools/llvm-objdump/
H A Dllvm-objdump.cpp105 static bool error(error_code ec) { argument
106 if (!ec) return false;
108 outs() << ToolName << ": error reading file: " << ec.message() << ".\n";
187 error_code ec; local
190 i != e; i.increment(ec)) {
191 if (error(ec)) break;
203 si != se; si.increment(ec)) {
224 ri != re; ri.increment(ec)) {
225 if (error(ec)) break;
363 error_code ec; local
395 error_code ec; local
419 error_code ec; local
506 error_code ec; local
[all...]
/external/webkit/Source/WebCore/css/
H A DCSSStyleDeclaration.cpp84 void CSSStyleDeclaration::setProperty(const String& propertyName, const String& value, ExceptionCode& ec) argument
91 setProperty(propertyID, value, false, ec);
93 setProperty(propertyID, value.left(important - 1), true, ec);
96 void CSSStyleDeclaration::setProperty(const String& propertyName, const String& value, const String& priority, ExceptionCode& ec) argument
104 setProperty(propID, value, important, ec);
107 String CSSStyleDeclaration::removeProperty(const String& propertyName, ExceptionCode& ec) argument
112 return removeProperty(propID, ec);
/external/webkit/Source/WebCore/dom/
H A DAttr.cpp100 void Attr::setPrefix(const AtomicString& prefix, ExceptionCode& ec) argument
102 ec = 0;
103 checkSetPrefix(prefix, ec);
104 if (ec)
109 ec = NAMESPACE_ERR;
142 void Attr::setNodeValue(const String& v, ExceptionCode& ec) argument
144 setValue(v, ec);
H A DNamedNodeMap.cpp71 PassRefPtr<Node> NamedNodeMap::removeNamedItem(const String& name, ExceptionCode& ec) argument
75 ec = NOT_FOUND_ERR;
79 return removeNamedItem(a->name(), ec);
82 PassRefPtr<Node> NamedNodeMap::removeNamedItemNS(const String& namespaceURI, const String& localName, ExceptionCode& ec) argument
84 return removeNamedItem(QualifiedName(nullAtom, localName, namespaceURI), ec);
96 PassRefPtr<Node> NamedNodeMap::setNamedItem(Node* arg, ExceptionCode& ec) argument
99 ec = NOT_FOUND_ERR;
105 ec = HIERARCHY_REQUEST_ERR;
118 ec = INUSE_ATTRIBUTE_ERR;
136 PassRefPtr<Node> NamedNodeMap::setNamedItemNS(Node* node, ExceptionCode& ec) argument
144 removeNamedItem(const QualifiedName& name, ExceptionCode& ec) argument
[all...]
/external/webkit/Source/WebCore/svg/
H A DSVGAngle.cpp130 void SVGAngle::setValueAsString(const String& value, ExceptionCode& ec) argument
142 ec = SYNTAX_ERR;
148 ec = SYNTAX_ERR;
156 void SVGAngle::newValueSpecifiedUnits(unsigned short unitType, float valueInSpecifiedUnits, ExceptionCode& ec) argument
159 ec = NOT_SUPPORTED_ERR;
169 void SVGAngle::convertToSpecifiedUnits(unsigned short unitType, ExceptionCode& ec) argument
172 ec = NOT_SUPPORTED_ERR;
/external/icu4c/i18n/
H A Dcurrpinf.cpp242 UErrorCode ec = U_ZERO_ERROR; local
243 UResourceBundle *rb = ures_open(NULL, loc.getName(), &ec);
244 rb = ures_getByKeyWithFallback(rb, gNumberElementsTag, rb, &ec);
245 rb = ures_getByKeyWithFallback(rb, gLatnTag, rb, &ec);
246 rb = ures_getByKeyWithFallback(rb, gPatternsTag, rb, &ec);
248 const UChar* numberStylePattern = ures_getStringByKeyWithFallback(rb, gDecimalFormatTag, &ptnLen, &ec);
255 if (U_SUCCESS(ec)) {
268 if (U_FAILURE(ec)) {
272 UResourceBundle *currRb = ures_open(U_ICUDATA_CURR, loc.getName(), &ec);
273 UResourceBundle *currencyRes = ures_getByKeyWithFallback(currRb, gCurrUnitPtnTag, NULL, &ec);
[all...]
H A Dtridpars.cpp81 UErrorCode ec = U_ZERO_ERROR; local
82 UnicodeSet *set = new UnicodeSet(filter, ec);
83 if (U_FAILURE(ec)) {
274 UErrorCode ec = U_ZERO_ERROR; local
275 filter = new UnicodeSet(id, ppos, USET_IGNORE_SPACE, NULL, ec);
281 if (U_FAILURE(ec)) {
356 UErrorCode ec = U_ZERO_ERROR; local
384 SingleID* single = parseSingleID(id, pos, dir, ec);
389 list.addElement(single, ec);
391 list.insertElementAt(single, 0, ec);
467 instantiateList(UVector& list, UErrorCode& ec) argument
724 UErrorCode ec = U_ZERO_ERROR; local
[all...]
H A Dolsontz.h121 * @param ec input-output error code
126 UErrorCode& ec);
168 int32_t millis, UErrorCode& ec) const;
176 UErrorCode& ec) const;
182 int32_t& dstOffset, UErrorCode& ec) const;
188 int32_t& rawoff, int32_t& dstoff, UErrorCode& ec) /*const*/;
216 virtual UBool inDaylightTime(UDate date, UErrorCode& ec) const;
/external/icu4c/test/intltest/
H A Dthcoll.cpp81 UErrorCode ec = U_ZERO_ERROR; local
82 TextFile names("TestNames_Thai.txt", "UTF16LE", ec);
83 if (U_FAILURE(ec)) {
85 u_errorName(ec));
96 while (names.readLineSkippingComments(word, ec, FALSE) && U_SUCCESS(ec)) {
112 assertSuccess("readLine", ec);
128 UErrorCode ec = U_ZERO_ERROR; local
129 TextFile riwords("riwords.txt", "UTF8", ec);
130 if (U_FAILURE(ec)) {
[all...]
H A Dnumfmtst.cpp775 UErrorCode ec = U_ZERO_ERROR; local
777 NumberFormat::createCurrencyInstance(Locale::getUS(), ec);
779 if (U_FAILURE(ec)) {
780 dataerrln("FAIL: getCurrencyInstance(US) - %s", u_errorName(ec));
802 fmt = NumberFormat::createCurrencyInstance(Locale::getFrance(), ec);
804 if (U_FAILURE(ec)) {
1189 UErrorCode ec = U_ZERO_ERROR; local
1190 DecimalFormatSymbols US(Locale::getUS(), ec); local
1191 DecimalFormat fmt("a b#0c ", US, ec);
1192 if (U_FAILURE(ec)) {
1685 UErrorCode ec = U_ZERO_ERROR; local
1792 UErrorCode ec = U_ZERO_ERROR; local
1879 UErrorCode ec = U_ZERO_ERROR; local
1900 UErrorCode ec = U_ZERO_ERROR; local
1963 UErrorCode ec = U_ZERO_ERROR; local
2015 DecimalFormatSymbols sym2(Locale::getUS(), ec); local
2033 UErrorCode ec = U_ZERO_ERROR; local
2040 DecimalFormatSymbols sym(Locale::getUS(), ec); local
2067 UErrorCode ec = U_ZERO_ERROR; local
2114 parseCurrencyAmount(const UnicodeString& str, const NumberFormat& fmt, UChar delim, Formattable& result, UErrorCode& ec) argument
2129 UErrorCode ec = U_ZERO_ERROR; local
2514 UErrorCode ec = U_ZERO_ERROR; local
2951 UErrorCode ec = U_ZERO_ERROR; local
[all...]
/external/icu4c/common/
H A Duvector.cpp95 void UVector::assign(const UVector& other, UTokenAssigner *assign, UErrorCode &ec) { argument
96 if (ensureCapacity(other.count, ec)) {
97 setSize(other.count, ec);
98 if (U_SUCCESS(ec)) {
439 void UVector::sortedInsert(void* obj, USortComparator *compare, UErrorCode& ec) { argument
442 sortedInsert(tok, compare, ec);
450 void UVector::sortedInsert(int32_t obj, USortComparator *compare, UErrorCode& ec) { argument
453 sortedInsert(tok, compare, ec);
457 void UVector::sortedInsert(UHashTok tok, USortComparator *compare, UErrorCode& ec) { argument
474 if (ensureCapacity(count + 1, ec)) {
523 sorti(UErrorCode &ec) argument
545 sort(USortComparator *compare, UErrorCode &ec) argument
556 sortWithUComparator(UComparator *compare, const void *context, UErrorCode &ec) argument
[all...]
/external/webkit/Source/WebCore/html/
H A DHTMLTableElement.cpp76 void HTMLTableElement::setCaption(PassRefPtr<HTMLTableCaptionElement> newCaption, ExceptionCode& ec) argument
79 insertBefore(newCaption, firstChild(), ec);
91 void HTMLTableElement::setTHead(PassRefPtr<HTMLTableSectionElement> newHead, ExceptionCode& ec) argument
100 insertBefore(newHead, child, ec);
112 void HTMLTableElement::setTFoot(PassRefPtr<HTMLTableSectionElement> newFoot, ExceptionCode& ec) argument
121 insertBefore(newFoot, child, ec);
129 ExceptionCode ec; local
130 setTHead(head, ec);
136 ExceptionCode ec; local
137 removeChild(tHead(), ec); local
145 ExceptionCode ec; local
152 ExceptionCode ec; local
153 removeChild(tFoot(), ec); local
161 ExceptionCode ec; local
168 ExceptionCode ec; local
169 removeChild(caption(), ec); local
181 insertRow(int index, ExceptionCode& ec) argument
225 deleteRow(int index, ExceptionCode& ec) argument
[all...]
H A DHTMLMarqueeElement.cpp138 void HTMLMarqueeElement::setScrollAmount(int scrollAmount, ExceptionCode& ec) argument
141 ec = INDEX_SIZE_ERR;
153 void HTMLMarqueeElement::setScrollDelay(int scrollDelay, ExceptionCode& ec) argument
156 ec = INDEX_SIZE_ERR;
168 void HTMLMarqueeElement::setLoop(int loop, ExceptionCode& ec) argument
171 ec = INDEX_SIZE_ERR;
H A DMediaDocument.cpp72 ExceptionCode ec; local
74 document()->appendChild(rootElement, ec);
85 rootElement->appendChild(body, ec);
97 body->appendChild(mediaElement, ec);
218 ExceptionCode ec; local
219 videoElement->parentNode()->replaceChild(embedElement, videoElement, ec);
H A DImageDocument.cpp194 ExceptionCode ec; local
197 appendChild(rootElement, ec);
208 rootElement->appendChild(body, ec);
216 body->appendChild(imageElement, ec);
258 ExceptionCode ec; local
259 m_imageElement->style()->setProperty("cursor", "-webkit-zoom-in", ec);
311 ExceptionCode ec; local
313 m_imageElement->style()->removeProperty("cursor", ec);
315 m_imageElement->style()->setProperty("cursor", "-webkit-zoom-out", ec);
345 ExceptionCode ec; local
[all...]
/external/webkit/Source/WebCore/editing/
H A Dmarkup.cpp210 ExceptionCode ec;
215 if (range && node == range->startContainer(ec))
216 startOffset = range->startOffset(ec);
217 if (range && node == range->endContainer(ec))
218 endOffset = range->endOffset(ec);
231 ExceptionCode ec; local
232 if (node == range->endContainer(ec))
233 str.truncate(range->endOffset(ec));
234 if (node == range->startContainer(ec))
235 str.remove(0, range->startOffset(ec));
481 ExceptionCode ec; local
546 ExceptionCode ec = 0; local
574 ExceptionCode ec = 0; local
708 ExceptionCode ec = 0; local
710 paragraph->appendChild(createBlockPlaceholderElement(document), ec); local
728 paragraph->appendChild(createTabSpanElement(document, tabText), ec); local
742 paragraph->appendChild(createTabSpanElement(document, tabText), ec); local
783 ExceptionCode ec = 0; local
847 ExceptionCode ec = 0; local
[all...]
/external/llvm/utils/KillTheDoctor/
H A DKillTheDoctor.cpp218 /// @return If ec == errc::success, The absolute path to the program. Otherwise
220 static std::string FindProgram(const std::string &Program, error_code &ec) { argument
242 ec = windows_error(::GetLastError());
245 ec = windows_error::buffer_overflow;
249 ec = windows_error::success;
312 error_code ec; local
313 ProgramToRun = FindProgram(ProgramToRun, ec);
314 if (ec) {
316 << "': " << ec.message() << '\n';
385 ec
[all...]
/external/webkit/Source/WebCore/websockets/
H A DWebSocket.cpp108 void WebSocket::connect(const KURL& url, ExceptionCode& ec) argument
110 connect(url, String(), ec);
113 void WebSocket::connect(const KURL& url, const String& protocol, ExceptionCode& ec) argument
122 ec = SYNTAX_ERR;
129 ec = SYNTAX_ERR;
135 ec = SYNTAX_ERR;
141 ec = SYNTAX_ERR;
147 ec = SECURITY_ERR;
156 bool WebSocket::send(const String& message, ExceptionCode& ec) argument
160 ec
[all...]
/external/webkit/Source/WebCore/bindings/js/
H A DJSSQLTransactionCustom.cpp112 ExceptionCode ec = 0; local
113 m_impl->executeSQL(sqlStatement, sqlValues, callback.release(), errorCallback.release(), ec);
114 setDOMException(exec, ec);
H A DJSStorageCustom.cpp93 ExceptionCode ec = 0;
94 impl()->setItem(identifierToString(propertyName), stringValue, ec); local
95 setDOMException(exec, ec);
/external/webkit/Source/WebCore/bindings/v8/custom/
H A DV8MessagePortCustom.cpp58 ExceptionCode ec = 0; local
59 messagePort->postMessage(message.release(), &portArray, ec);
60 return throwError(ec);
H A DV8SQLTransactionSyncCustom.cpp93 ExceptionCode ec = 0; local
94 v8::Handle<v8::Value> result = toV8(transaction->executeSQL(statement, sqlValues, ec));
95 V8Proxy::setDOMException(ec);

Completed in 2708 milliseconds

1234567891011>>