Searched refs:ec (Results 151 - 175 of 708) sorted by relevance

1234567891011>>

/external/webkit/Source/WebCore/bindings/js/
H A DJSWebSocketCustom.cpp62 ExceptionCode ec = 0; local
64 webSocket->connect(url, ec);
69 webSocket->connect(url, protocol, ec);
71 setDOMException(exec, ec);
H A DJSDataViewCustom.cpp69 ExceptionCode ec = 0;
84 result = jsNumber(imp->getInt8(byteOffset, ec));
87 result = jsNumber(imp->getUint8(byteOffset, ec));
91 double value = (type == AccessDataViewMemberAsFloat32) ? imp->getFloat32(byteOffset, littleEndian, ec) : imp->getFloat64(byteOffset, littleEndian, ec);
98 setDOMException(exec, ec);
126 ExceptionCode ec = 0;
136 imp->setInt8(byteOffset, static_cast<int8_t>(value), ec);
139 imp->setUint8(byteOffset, static_cast<uint8_t>(value), ec);
145 setDOMException(exec, ec);
[all...]
H A DJSWebGLRenderingContextCustom.cpp139 ExceptionCode ec = 0;
150 info = context->getBufferParameter(target, pname, ec);
153 info = context->getRenderbufferParameter(target, pname, ec);
156 info = context->getTexParameter(target, pname, ec);
160 info = context->getVertexAttrib(target, pname, ec);
166 if (ec) {
167 setDOMException(exec, ec);
208 ExceptionCode ec = 0;
216 bool succeed = context->getAttachedShaders(program, shaders, ec);
217 if (ec) {
[all...]
/external/webkit/Source/WebCore/bindings/v8/custom/
H A DV8NodeCustom.cpp66 ExceptionCode ec = 0; local
69 bool success = imp->insertBefore(newChild, refChild, ec, true);
70 if (ec) {
71 V8Proxy::setDOMException(ec);
85 ExceptionCode ec = 0; local
88 bool success = imp->replaceChild(newChild, oldChild, ec, true);
89 if (ec) {
90 V8Proxy::setDOMException(ec);
103 ExceptionCode ec = 0; local
105 bool success = imp->removeChild(oldChild, ec);
121 ExceptionCode ec = 0; local
[all...]
H A DV8SharedWorkerCustom.cpp76 ExceptionCode ec = 0;
77 RefPtr<SharedWorker> obj = SharedWorker::create(toWebCoreString(scriptUrl), name, context, ec);
78 if (ec)
79 return throwError(ec);
/external/webkit/Source/WebCore/dom/
H A DNodeIterator.h57 PassRefPtr<Node> nextNode(ExceptionCode& ec) { return nextNode(scriptStateFromNode(mainThreadNormalWorld(), referenceNode()), ec); } argument
58 PassRefPtr<Node> previousNode(ExceptionCode& ec) { return previousNode(scriptStateFromNode(mainThreadNormalWorld(), referenceNode()), ec); } argument
H A DExceptionCode.cpp247 void getExceptionCodeDescription(ExceptionCode ec, ExceptionCodeDescription& description) argument
249 ASSERT(ec);
252 int code = ec;
345 description.name = (ec >= nameTableOffset && ec - nameTableOffset < nameTableSize) ? nameTable[ec - nameTableOffset] : 0;
346 description.description = (ec >= nameTableOffset && ec - nameTableOffset < nameTableSize) ? descriptionTable[ec - nameTableOffset] : 0;
/external/webkit/Source/WebCore/editing/
H A DAppendNodeCommand.cpp62 ExceptionCode ec;
63 m_parent->appendChild(m_node.get(), ec);
78 ExceptionCode ec; local
79 m_node->remove(ec);
H A DInsertIntoTextNodeCommand.cpp58 ExceptionCode ec; local
59 m_node->insertData(m_offset, m_text, ec);
74 ExceptionCode ec; local
75 m_node->deleteData(m_offset, m_text.length(), ec);
H A DInsertNodeBeforeCommand.cpp53 ExceptionCode ec;
54 parent->insertBefore(m_insertChild.get(), m_refChild.get(), ec);
69 ExceptionCode ec; local
70 m_insertChild->remove(ec);
/external/webkit/Source/WebCore/loader/appcache/
H A DDOMApplicationCache.cpp73 void DOMApplicationCache::update(ExceptionCode& ec) argument
77 ec = INVALID_STATE_ERR;
80 void DOMApplicationCache::swapCache(ExceptionCode& ec) argument
84 ec = INVALID_STATE_ERR;
/external/webkit/Source/WebCore/platform/chromium/
H A DDataTransferItemsChromium.cpp67 void DataTransferItemsChromium::deleteItem(unsigned long index, ExceptionCode& ec) argument
70 ec = INVALID_STATE_ERR;
88 void DataTransferItemsChromium::add(const String& data, const String& type, ExceptionCode& ec) argument
96 ec = INVALID_STATE_ERR;
/external/webkit/Source/WebCore/svg/
H A DSVGAltGlyphElement.cpp71 void SVGAltGlyphElement::setGlyphRef(const AtomicString&, ExceptionCode& ec) argument
73 ec = NO_MODIFICATION_ALLOWED_ERR;
81 void SVGAltGlyphElement::setFormat(const AtomicString&, ExceptionCode& ec) argument
83 ec = NO_MODIFICATION_ALLOWED_ERR;
H A DSVGTextContentElement.cpp63 ExceptionCode ec = 0; local
64 m_textLength.value.newValueSpecifiedUnits(LengthTypeNumber, getComputedTextLength(), ec);
65 ASSERT(!ec);
84 float SVGTextContentElement::getSubStringLength(unsigned charnum, unsigned nchars, ExceptionCode& ec) const
90 ec = INDEX_SIZE_ERR;
97 FloatPoint SVGTextContentElement::getStartPositionOfChar(unsigned charnum, ExceptionCode& ec) const
102 ec = INDEX_SIZE_ERR;
109 FloatPoint SVGTextContentElement::getEndPositionOfChar(unsigned charnum, ExceptionCode& ec) const
114 ec = INDEX_SIZE_ERR;
121 FloatRect SVGTextContentElement::getExtentOfChar(unsigned charnum, ExceptionCode& ec) cons
[all...]
/external/webkit/Source/WebCore/svg/properties/
H A DSVGTransformListPropertyTearOff.h41 PassRefPtr<SVGPropertyTearOff<SVGTransform> > createSVGTransformFromMatrix(SVGPropertyTearOff<SVGMatrix>* matrix, ExceptionCode& ec) argument
44 ec = TYPE_MISMATCH_ERR;
51 PassRefPtr<SVGPropertyTearOff<SVGTransform> > consolidate(ExceptionCode& ec) argument
53 if (!canAlterList(ec))
/external/webkit/Source/WebCore/html/
H A DHTMLProgressElement.cpp99 void HTMLProgressElement::setValue(double value, ExceptionCode& ec) argument
102 ec = NOT_SUPPORTED_ERR;
117 void HTMLProgressElement::setMax(double max, ExceptionCode& ec) argument
120 ec = NOT_SUPPORTED_ERR;
144 ExceptionCode ec = 0; local
145 bar->appendChild(m_value, ec);
146 ensureShadowRoot()->appendChild(bar, ec);
H A DHTMLTableSectionElement.cpp63 PassRefPtr<HTMLElement> HTMLTableSectionElement::insertRow(int index, ExceptionCode& ec) argument
69 ec = INDEX_SIZE_ERR; // per the DOM
73 appendChild(row, ec);
80 insertBefore(row, n, ec);
86 void HTMLTableSectionElement::deleteRow(int index, ExceptionCode& ec) argument
94 HTMLElement::removeChild(row.get(), ec);
96 ec = INDEX_SIZE_ERR;
H A DFTPDirectoryDocument.cpp113 ExceptionCode ec; local
115 RefPtr<Element> rowElement = m_tableElement->insertRow(-1, ec);
116 rowElement->setAttribute("class", "ftpDirectoryEntryRow", ec);
119 element->appendChild(Text::create(document(), String(&noBreakSpace, 1)), ec);
121 element->setAttribute("class", "ftpDirectoryIcon ftpDirectoryTypeDirectory", ec);
123 element->setAttribute("class", "ftpDirectoryIcon ftpDirectoryTypeFile", ec);
124 rowElement->appendChild(element, ec);
127 element->setAttribute("class", "ftpDirectoryFileName", ec);
128 rowElement->appendChild(element, ec);
131 element->appendChild(Text::create(document(), date), ec);
143 ExceptionCode ec; local
327 ExceptionCode ec; local
349 ExceptionCode ec; local
[all...]
H A DHTMLMeterElement.cpp90 void HTMLMeterElement::setMin(double min, ExceptionCode& ec) argument
93 ec = NOT_SUPPORTED_ERR;
106 void HTMLMeterElement::setMax(double max, ExceptionCode& ec) argument
109 ec = NOT_SUPPORTED_ERR;
122 void HTMLMeterElement::setValue(double value, ExceptionCode& ec) argument
125 ec = NOT_SUPPORTED_ERR;
138 void HTMLMeterElement::setLow(double low, ExceptionCode& ec) argument
141 ec = NOT_SUPPORTED_ERR;
154 void HTMLMeterElement::setHigh(double high, ExceptionCode& ec) argument
157 ec
170 setOptimum(double optimum, ExceptionCode& ec) argument
232 ExceptionCode ec = 0; local
[all...]
/external/icu4c/common/
H A Duniset_props.cpp515 UErrorCode& ec) {
516 if (U_FAILURE(ec)) return;
572 c = chars.next(opts, literal, ec);
573 if (U_FAILURE(ec)) return;
584 c = chars.next(opts, literal, ec);
585 if (U_FAILURE(ec)) return;
590 c = chars.next(opts, literal, ec);
591 if (U_FAILURE(ec)) return;
608 ec = U_MALFORMED_SET;
628 ec
511 applyPattern(RuleCharacterIterator& chars, const SymbolTable* symbols, UnicodeString& rebuiltPat, uint32_t options, UErrorCode& ec) argument
1020 applyIntPropertyValue(UProperty prop, int32_t value, UErrorCode& ec) argument
1036 applyPropertyAlias(const UnicodeString& prop, const UnicodeString& value, UErrorCode& ec) argument
1234 UErrorCode ec = U_ZERO_ERROR; local
1252 applyPropertyPattern(const UnicodeString& pattern, ParsePosition& ppos, UErrorCode &ec) argument
1351 applyPropertyPattern(RuleCharacterIterator& chars, UnicodeString& rebuiltPat, UErrorCode& ec) argument
[all...]
/external/llvm/tools/llvm-readobj/
H A Dllvm-readobj.cpp122 error_code ec; local
129 it.increment(ec);
130 if (ec)
139 error_code ec; local
146 it.increment(ec);
147 if (ec)
162 error_code ec; local
169 it.increment(ec);
170 if (ec)
188 error_code ec; local
[all...]
/external/webkit/Source/WebCore/notifications/
H A DNotification.cpp49 Notification::Notification(const KURL& url, ScriptExecutionContext* context, ExceptionCode& ec, PassRefPtr<NotificationCenter> provider) argument
57 ec = SECURITY_ERR;
62 ec = SYNTAX_ERR;
69 Notification::Notification(const NotificationContents& contents, ScriptExecutionContext* context, ExceptionCode& ec, PassRefPtr<NotificationCenter> provider) argument
78 ec = SECURITY_ERR;
83 ec = SYNTAX_ERR;
96 PassRefPtr<Notification> Notification::create(const KURL& url, ScriptExecutionContext* context, ExceptionCode& ec, PassRefPtr<NotificationCenter> provider) argument
98 return adoptRef(new Notification(url, context, ec, provider));
101 PassRefPtr<Notification> Notification::create(const NotificationContents& contents, ScriptExecutionContext* context, ExceptionCode& ec, PassRefPtr<NotificationCenter> provider) argument
103 return adoptRef(new Notification(contents, context, ec, provide
[all...]
/external/llvm/utils/obj2yaml/
H A Dobj2yaml.cpp79 if (error_code ec = MemoryBuffer::getFileOrSTDIN(InputFilename, buf))
80 llvm::errs() << "Error: '" << ec.message() << "' opening file '"
83 ec = coff2yaml(llvm::outs(), buf.take());
84 if (ec)
85 llvm::errs() << "Error: " << ec.message() << " dumping COFF file" << endl;
/external/llvm/tools/llvm-size/
H A Dllvm-size.cpp70 /// @brief If ec is not success, print the error and return true.
71 static bool error(error_code ec) { argument
72 if (!ec) return false;
74 outs() << ToolName << ": error reading file: " << ec.message() << ".\n";
114 error_code ec; local
117 i.increment(ec)) {
118 if (error(ec))
159 i.increment(ec)) {
160 if (error(ec))
192 error_code ec; local
[all...]
/external/webkit/Source/WebCore/xml/
H A DXMLHttpRequest.cpp226 String XMLHttpRequest::responseText(ExceptionCode& ec) argument
229 ec = INVALID_STATE_ERR;
235 Document* XMLHttpRequest::responseXML(ExceptionCode& ec) argument
238 ec = INVALID_STATE_ERR;
264 Blob* XMLHttpRequest::responseBlob(ExceptionCode& ec) const
267 ec = INVALID_STATE_ERR;
274 ArrayBuffer* XMLHttpRequest::responseArrayBuffer(ExceptionCode& ec) argument
277 ec = INVALID_STATE_ERR;
295 void XMLHttpRequest::setResponseType(const String& responseType, ExceptionCode& ec) argument
298 ec
369 setWithCredentials(bool value, ExceptionCode& ec) argument
380 setAsBlob(bool value, ExceptionCode& ec) argument
391 open(const String& method, const KURL& url, ExceptionCode& ec) argument
396 open(const String& method, const KURL& url, bool async, ExceptionCode& ec) argument
446 open(const String& method, const KURL& url, bool async, const String& user, ExceptionCode& ec) argument
454 open(const String& method, const KURL& url, bool async, const String& user, const String& password, ExceptionCode& ec) argument
463 initSend(ExceptionCode& ec) argument
477 send(ExceptionCode& ec) argument
479 send(String(), ec); local
482 send(Document* document, ExceptionCode& ec) argument
515 send(const String& body, ExceptionCode& ec) argument
542 send(Blob* body, ExceptionCode& ec) argument
562 send(DOMFormData* body, ExceptionCode& ec) argument
585 send(ArrayBuffer* body, ExceptionCode& ec) argument
599 createRequest(ExceptionCode& ec) argument
809 setRequestHeader(const AtomicString& name, const String& value, ExceptionCode& ec) argument
[all...]

Completed in 1066 milliseconds

1234567891011>>