/external/webkit/Source/WebCore/page/ |
ContextMenuController.cpp | 320 ExceptionCode ec; local 322 if (!selectedRange || selectedRange->collapsed(ec)) { 325 selectedRange->selectNode(document->documentElement(), ec); [all...] |
DOMSelection.cpp | 201 void DOMSelection::collapse(Node* node, int offset, ExceptionCode& ec) 207 ec = INDEX_SIZE_ERR; 218 void DOMSelection::collapseToEnd(ExceptionCode& ec) 226 ec = INVALID_STATE_ERR; 233 void DOMSelection::collapseToStart(ExceptionCode& ec) 241 ec = INVALID_STATE_ERR; 255 void DOMSelection::setBaseAndExtent(Node* baseNode, int baseOffset, Node* extentNode, int extentOffset, ExceptionCode& ec) 261 ec = INDEX_SIZE_ERR; 275 void DOMSelection::setPosition(Node* node, int offset, ExceptionCode& ec) 280 ec = INDEX_SIZE_ERR 410 ExceptionCode ec = 0; local [all...] |
/external/webkit/Source/WebCore/svg/ |
SVGLength.cpp | 129 ExceptionCode ec = 0; local 130 setValueAsString(valueAsString, ec); 157 ExceptionCode ec = 0; local 158 return value(context, ec); 161 float SVGLength::value(const SVGElement* context, ExceptionCode& ec) const 165 ec = NOT_SUPPORTED_ERR; 170 return convertValueFromPercentageToUserUnits(m_valueInSpecifiedUnits / 100, context, ec); 172 return convertValueFromEMSToUserUnits(m_valueInSpecifiedUnits, context, ec); 174 return convertValueFromEXSToUserUnits(m_valueInSpecifiedUnits, context, ec); 193 void SVGLength::setValue(float value, const SVGElement* context, ExceptionCode& ec) [all...] |
/external/webkit/Source/WebCore/websockets/ |
WebSocketChannel.cpp | 288 ExceptionCode ec; // Exception (for sandboxed documents) ignored. local 289 document->setCookie(m_handshake.serverSetCookie(), ec);
|
/external/webkit/Source/WebKit2/WebProcess/WebPage/ |
WebFrame.cpp | 278 ExceptionCode ec = 0; local 279 range->selectNode(documentElement.get(), ec); 280 if (ec)
|
/external/webkit/Source/WebKit2/WebProcess/WebPage/win/ |
WebPageWin.cpp | 344 ExceptionCode ec = 0; local 345 RefPtr<Range> tempRange = range->cloneRange(ec); 346 tempRange->setStart(tempRange->startContainer(ec), tempRange->startOffset(ec) + characterPosition, ec);
|
/libcore/luni/src/test/java/tests/security/spec/ |
EllipticCurveTest.java | 440 EllipticCurve ec = new EllipticCurve(new testECField(), BigInteger local 442 assertEquals("incorrect a", ec.getA(), BigInteger.valueOf(4L)); 443 assertEquals("incorrect b", ec.getB(), BigInteger.ONE); 444 assertEquals("incorrect size", ec.getField().getFieldSize(), 2);
|
/external/apache-harmony/nio_char/src/test/java/tests/api/java/nio/charset/ |
CharsetDecoderTest.java | 96 CharsetDecoder ec = new MockCharsetDecoder(cs, 1, MAX_BYTES); local 97 assertSame(ec.charset(), cs); 98 assertEquals(1.0, ec.averageCharsPerByte(), 0.0); 99 assertTrue(ec.maxCharsPerByte() == MAX_BYTES); 105 ec = new MockCharsetDecoder(null, 1, MAX_BYTES); 106 assertNull(ec.charset()); 107 assertEquals(1.0, ec.averageCharsPerByte(), 0.0); 108 assertTrue(ec.maxCharsPerByte() == MAX_BYTES); 110 ec = new MockCharsetDecoder(new CharsetEncoderTest.MockCharset("mock", 115 // ec = new MockCharsetDecoder(cs, MAX_BYTES, 1) [all...] |
CharsetEncoderTest.java | 124 CharsetEncoder ec = new MockCharsetEncoder(cs, 1, MAX_BYTES); local 125 assertSame(ec.charset(), cs); 126 assertEquals(1.0, ec.averageBytesPerChar(), 0); 127 assertTrue(ec.maxBytesPerChar() == MAX_BYTES); 134 ec = new MockCharsetEncoder(null, 1, MAX_BYTES); 139 ec = new MockCharsetEncoder(new MockCharset("mock", new String[0]), 1, 144 // ec = new MockCharsetEncoder(cs, MAX_BYTES, 1); 145 // assertTrue(ec.averageBytesPerChar() == MAX_BYTES); 146 // assertTrue(ec.maxBytesPerChar() == 1); 150 ec = new MockCharsetEncoder(cs, 0, MAX_BYTES) 180 CharsetEncoder ec = new MockCharsetEncoder(cs, 1, MAX_BYTES, ba); local [all...] |
/external/icu4c/i18n/ |
tridpars.cpp | 81 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); 724 UErrorCode ec = U_ZERO_ERROR; local [all...] |
/external/icu4c/test/cintltst/ |
cmsgtst.c | 180 UErrorCode ec = U_ZERO_ERROR; local 183 UMessageFormat formatter = umsg_open(testCasePatterns[0],patternLength,"en_US",NULL,&ec); 185 if(U_FAILURE(ec)){ 186 log_data_err("umsg_open() failed for testCasePattens[%d]. -> %s (Are you missing data?)\n",i, u_errorName(ec)); 199 umsg_applyPattern(formatter,testCasePatterns[i],patternLength,&parseError,&ec); 200 if(U_FAILURE(ec)){ 205 resultLength = umsg_format(formatter,result,resultLength,&ec,1,3456.00,d1); 206 if(ec==U_BUFFER_OVERFLOW_ERROR){ 207 ec=U_ZERO_ERROR; 209 resultLength = umsg_format(formatter,result,resultLength+2,&ec,1,3456.00,d1) [all...] |
/external/icu4c/test/intltest/ |
svccoll.cpp | 482 UErrorCode ec = U_ZERO_ERROR; local 484 int32_t i = 0, idxAfterReset = 0, n = iter.count(ec); 485 assertSuccess("count", ec); 489 const UnicodeString* s = iter.snext(ec); 490 if (!assertSuccess("snext", ec) || s == NULL) 513 iter.reset(ec); 515 const UChar *s = iter.unext(NULL, ec); 516 if (!assertSuccess("unext", ec) || s == NULL) 561 UErrorCode ec = U_ZERO_ERROR; local 562 StringEnumeration *iter = Collator::getKeywords(ec); [all...] |
tchcfmt.cpp | 569 UErrorCode ec = U_ZERO_ERROR; local 570 ChoiceFormat fmt(pattern, ec); 572 if (U_FAILURE(ec)) { 579 if (U_FAILURE(ec)) {
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
RuntimeDyldELF.cpp | 59 DyldELFObject(MemoryBuffer *Wrapper, error_code &ec); 121 DyldELFObject<ELFT>::DyldELFObject(MemoryBuffer *Wrapper, error_code &ec) 122 : ELFObjectFile<ELFT>(Wrapper, ec) { 160 error_code ec; local 165 Buffer->getMemBuffer(), ec); 171 Buffer->getMemBuffer(), ec); 177 Buffer->getMemBuffer(), ec); 183 Buffer->getMemBuffer(), ec);
|
/external/llvm/tools/llvm-objdump/ |
MachODump.cpp | 208 error_code ec; local 210 SE = MachOObj->end_symbols(); SI != SE; SI.increment(ec)) 214 SE = MachOObj->end_sections(); SI != SE; SI.increment(ec)) { 238 if (error_code ec = MemoryBuffer::getFileOrSTDIN(Filename, Buff)) { 239 errs() << "llvm-objdump: " << Filename << ": " << ec.message() << "\n"; 320 if (error_code ec = MemoryBuffer::getFileOrSTDIN(DSYMFile.c_str(), Buf)) { 321 errs() << "llvm-objdump: " << Filename << ": " << ec.message() << '\n'; 364 error_code ec; local 366 RE = Sections[SectIdx].end_relocations(); RI != RE; RI.increment(ec)) {
|
llvm-objdump.cpp | 128 bool llvm::error(error_code ec) { 129 if (!ec) return false; 131 outs() << ToolName << ": error reading file: " << ec.message() << ".\n"; 210 error_code ec; local 213 i != e; i.increment(ec)) { 214 if (error(ec)) break; 226 si != se; si.increment(ec)) { 247 ri != re; ri.increment(ec)) { 248 if (error(ec)) break; 398 error_code ec; local 430 error_code ec; local 454 error_code ec; local 541 error_code ec; local [all...] |
/external/valgrind/main/exp-sgcheck/ |
h_main.c | 96 ExeContext* ec; /* where malloc'd or freed */ member in struct:_Seg 130 return seg->ec; 292 seg->ec = VG_(record_ExeContext)( tid, 0/*first_ip_delta*/ ); 327 seg->ec = VG_(record_ExeContext)( tid, 0/*first_ip_delta*/ );
|
/external/valgrind/main/memcheck/ |
mc_malloc_wrappers.c | 78 MC_Chunk* create_MC_Chunk ( ExeContext* ec, Addr p, SizeT szB, 190 MC_Chunk* create_MC_Chunk ( ExeContext* ec, Addr p, SizeT szB, 197 mc->where = ec; 256 ExeContext* ec; local 280 ec = VG_(record_ExeContext)(tid, 0/*first_ip_delta*/); 281 tl_assert(ec); 283 VG_(HT_add_node)( table, create_MC_Chunk(ec, p, szB, kind) ); 288 UInt ecu = VG_(get_ECU_from_ExeContext)(ec); 453 ExeContext* ec; local 455 ec = VG_(record_ExeContext)(tid, 0/*first_ip_delta*/) 494 ExeContext* ec; local 580 ExeContext* ec = VG_(record_ExeContext)(tid, 0\/*first_ip_delta*\/); local [all...] |
/external/webkit/Source/WebCore/bindings/js/ |
JSDOMWindowCustom.cpp | 732 ExceptionCode ec = 0; 733 impl()->postMessage(message, &messagePorts, targetOrigin, activeDOMWindow(exec), ec); 734 setDOMException(exec, ec); 751 ExceptionCode ec = 0; local 752 int result = impl()->setTimeout(action.release(), delay, ec); 753 setDOMException(exec, ec); 769 ExceptionCode ec = 0; 770 int result = impl()->setInterval(action.release(), delay, ec); 771 setDOMException(exec, ec);
|
/external/webkit/Source/WebCore/bindings/v8/custom/ |
V8WebGLRenderingContextCustom.cpp | 199 ExceptionCode ec = 0; local 206 info = context->getBufferParameter(target, pname, ec); 209 info = context->getRenderbufferParameter(target, pname, ec); 212 info = context->getTexParameter(target, pname, ec); 216 info = context->getVertexAttrib(target, pname, ec); 222 if (ec) { 223 V8Proxy::setDOMException(ec); 253 ExceptionCode ec = 0; local 261 bool succeed = context->getAttachedShaders(program, shaders, ec); 262 if (ec) { 302 ExceptionCode ec = 0; local 324 ExceptionCode ec = 0; local 344 ExceptionCode ec = 0; local 375 ExceptionCode ec = 0; local 420 ExceptionCode ec = 0; local 512 ExceptionCode ec = 0; local 542 ExceptionCode ec = 0; local 588 ExceptionCode ec = 0; local 614 ExceptionCode ec = 0; local 706 ExceptionCode ec = 0; local 731 ExceptionCode ec = 0; local [all...] |
/external/webkit/Source/WebCore/dom/ |
XMLDocumentParserQt.cpp | 342 ExceptionCode& ec, FragmentScriptingPermission scriptingPermission) 349 newElement->setAttributeNS("http://www.w3.org/2000/xmlns/", namespaceQName, namespaceURI, ec, scriptingPermission); 350 if (ec) // exception setting attributes 355 static inline void handleElementAttributes(Element* newElement, const QXmlStreamAttributes &attrs, ExceptionCode& ec, 364 newElement->setAttributeNS(attrURI, attrQName, attrValue, ec, scriptingPermission); 365 if (ec) // exception setting attributes 434 ExceptionCode ec = 0; local 437 static_cast<Text*>(m_currentNode)->appendData(str, ec); 461 ExceptionCode ec = 0; local 464 document()->setXMLStandalone(m_stream.isStandaloneDocument(), ec); 523 ExceptionCode ec = 0; local 564 ExceptionCode ec; local 622 ExceptionCode ec = 0; local [all...] |
/external/webkit/Source/WebCore/editing/ |
TextCheckingHelper.cpp | 41 ExceptionCode ec = 0; local 42 RefPtr<Range> paragraphRange = range->cloneRange(ec); 94 int TextCheckingParagraph::offsetTo(const Position& position, ExceptionCode& ec) const 98 range->setEnd(position.containerNode(), position.computeOffsetInContainerNode(), ec); 99 if (ec) 115 ExceptionCode ec = 0; local 116 m_offsetAsRange = Range::create(paragraphRange()->startContainer(ec)->document(), paragraphRange()->startPosition(), checkingRange()->startPosition()); 208 ExceptionCode ec = 0; 209 misspellingRange->startContainer(ec)->document()->markers()->addMarker(misspellingRange.get(), DocumentMarker::Spelling); 210 ASSERT(!ec); 231 ExceptionCode ec = 0; local 379 ExceptionCode ec = 0; local 514 ExceptionCode ec; local [all...] |
/external/webkit/Source/WebCore/html/ |
HTMLSelectElement.cpp | 179 void HTMLSelectElement::add(HTMLElement* element, HTMLElement* before, ExceptionCode& ec) 186 insertBefore(element, before, ec); 196 ExceptionCode ec; 197 listItems()[listIndex]->remove(ec); 205 ExceptionCode ec; 206 option->remove(ec); 460 void HTMLSelectElement::setOption(unsigned index, HTMLOptionElement* option, ExceptionCode& ec) 462 ec = 0; 469 setLength(index, ec); 476 if (!ec) { 494 add(toHTMLElement(option.get()), 0, ec); local [all...] |
/external/webkit/Source/WebCore/html/shadow/ |
MediaControlElements.cpp | 86 ExceptionCode ec; local 88 style()->removeProperty(displayString(), ec); local 93 ExceptionCode ec; local 96 style()->setProperty(displayString(), none, ec); local 298 ExceptionCode ec; local 299 style()->removeProperty(displayString(), ec); local 304 ExceptionCode ec; local 306 style()->setProperty(displayString(), none, ec); local 459 ExceptionCode ec; local 463 mediaElement()->setCurrentTime(mediaElement()->currentTime() + stepTime, ec); 475 ExceptionCode ec; local 675 ExceptionCode ec; local 742 ExceptionCode ec = 0; local [all...] |
/external/webkit/Source/WebCore/platform/win/ |
ClipboardWin.cpp | 765 ExceptionCode ec = 0; local 769 selectedRange->startContainer(ec)->document()->url().string(), data);
|