Home
last modified time | relevance | path

Searched refs:newElement (Results 1 – 21 of 21) sorted by relevance

/external/pdfium/core/src/fxcrt/
Dfx_basic_list.cpp19 FX_POSITION CFX_PtrList::AddTail(void* newElement) in AddTail() argument
22 pNewNode->data = newElement; in AddTail()
31 FX_POSITION CFX_PtrList::AddHead(void* newElement) in AddHead() argument
34 pNewNode->data = newElement; in AddHead()
43 FX_POSITION CFX_PtrList::InsertAfter(FX_POSITION position, void* newElement) in InsertAfter() argument
46 return AddTail(newElement); in InsertAfter()
50 pNewNode->data = newElement; in InsertAfter()
/external/chromium_org/third_party/WebKit/Source/core/editing/
DReplaceNodeWithSpanCommand.cpp52 static void swapInNodePreservingAttributesAndChildren(HTMLElement* newElement, HTMLElement& element… in swapInNodePreservingAttributesAndChildren() argument
56 parentNode->insertBefore(newElement, &elementToReplace); in swapInNodePreservingAttributesAndChildren()
61 newElement->appendChild(children[i]); in swapInNodePreservingAttributesAndChildren()
64 newElement->cloneDataFromElement(elementToReplace); in swapInNodePreservingAttributesAndChildren()
/external/chromium_org/third_party/icu/source/common/
Dudata.cpp316 DataCacheElement *newElement; in udata_cacheDataItem() local
330 newElement = (DataCacheElement *)uprv_malloc(sizeof(DataCacheElement)); in udata_cacheDataItem()
331 if (newElement == NULL) { in udata_cacheDataItem()
335 newElement->item = UDataMemory_createNewInstance(pErr); in udata_cacheDataItem()
337 uprv_free(newElement); in udata_cacheDataItem()
340 UDatamemory_assign(newElement->item, item); in udata_cacheDataItem()
344 newElement->name = (char *)uprv_malloc(nameLen+1); in udata_cacheDataItem()
345 if (newElement->name == NULL) { in udata_cacheDataItem()
347 uprv_free(newElement->item); in udata_cacheDataItem()
348 uprv_free(newElement); in udata_cacheDataItem()
[all …]
/external/icu/icu4c/source/common/
Dudata.cpp316 DataCacheElement *newElement; in udata_cacheDataItem() local
330 newElement = (DataCacheElement *)uprv_malloc(sizeof(DataCacheElement)); in udata_cacheDataItem()
331 if (newElement == NULL) { in udata_cacheDataItem()
335 newElement->item = UDataMemory_createNewInstance(pErr); in udata_cacheDataItem()
337 uprv_free(newElement); in udata_cacheDataItem()
340 UDatamemory_assign(newElement->item, item); in udata_cacheDataItem()
344 newElement->name = (char *)uprv_malloc(nameLen+1); in udata_cacheDataItem()
345 if (newElement->name == NULL) { in udata_cacheDataItem()
347 uprv_free(newElement->item); in udata_cacheDataItem()
348 uprv_free(newElement); in udata_cacheDataItem()
[all …]
/external/chromium_org/third_party/skia/src/gpu/
DGrReducedClip.cpp344 Element* newElement = result->addToHead(*element); in reduced_stack_walker() local
345 if (newElement->isAA()) { in reduced_stack_walker()
351 bool isReplace = SkRegion::kReplace_Op == newElement->getOp(); in reduced_stack_walker()
352 if (newElement->isInverseFilled() && in reduced_stack_walker()
353 (SkRegion::kIntersect_Op == newElement->getOp() || isReplace)) { in reduced_stack_walker()
354 newElement->invertShapeFillType(); in reduced_stack_walker()
355 newElement->setOp(SkRegion::kDifference_Op); in reduced_stack_walker()
/external/skia/src/gpu/
DGrReducedClip.cpp344 Element* newElement = result->addToHead(*element); in reduced_stack_walker() local
345 if (newElement->isAA()) { in reduced_stack_walker()
351 bool isReplace = SkRegion::kReplace_Op == newElement->getOp(); in reduced_stack_walker()
352 if (newElement->isInverseFilled() && in reduced_stack_walker()
353 (SkRegion::kIntersect_Op == newElement->getOp() || isReplace)) { in reduced_stack_walker()
354 newElement->invertShapeFillType(); in reduced_stack_walker()
355 newElement->setOp(SkRegion::kDifference_Op); in reduced_stack_walker()
/external/chromium_org/v8/src/
Djson.js22 var newElement = Revive(val, $String(i), reviver);
23 val[i] = newElement;
28 var newElement = Revive(val, p, reviver);
29 if (IS_UNDEFINED(newElement)) {
32 val[p] = newElement;
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DSVGTextLayoutAttributesBuilder.h56 …TextPosition(SVGTextPositioningElement* newElement = 0, unsigned newStart = 0, unsigned newLength …
57 : element(newElement) in element()
/external/pdfium/core/include/fxcrt/
Dfx_basic.h442 FX_BOOL SetAt(int nIndex, TYPE newElement) in SetAt() argument
447 ((TYPE*)m_pData)[nIndex] = newElement; in SetAt()
469 FX_BOOL SetAtGrow(int nIndex, TYPE newElement) in SetAtGrow() argument
478 ((TYPE*)m_pData)[nIndex] = newElement; in SetAtGrow()
482 FX_BOOL Add(TYPE newElement) in Add() argument
489 ((TYPE*)m_pData)[m_nSize - 1] = newElement; in Add()
534 FX_BOOL InsertAt(int nIndex, TYPE newElement, int nCount = 1)
540 ((TYPE*)m_pData)[nIndex++] = newElement;
1149 FX_POSITION AddTail(void* newElement);
1151 FX_POSITION AddHead(void* newElement);
[all …]
/external/chromium_org/third_party/WebKit/Source/core/xml/parser/
DXMLDocumentParser.cpp980 RefPtrWillBeRawPtr<Element> newElement = m_currentNode->document().createElement(qName, true); in startElementNs() local
981 if (!newElement) { in startElementNs()
990 setAttributes(newElement.get(), prefixedAttributes, parserContentPolicy()); in startElementNs()
996 setAttributes(newElement.get(), prefixedAttributes, parserContentPolicy()); in startElementNs()
1002 newElement->beginParsingChildren(); in startElementNs()
1004 ScriptLoader* scriptLoader = toScriptLoaderIfPossible(newElement.get()); in startElementNs()
1008 m_currentNode->parserAppendChild(newElement.get()); in startElementNs()
1017 if (isHTMLTemplateElement(*newElement)) in startElementNs()
1018 pushCurrentNode(toHTMLTemplateElement(*newElement).content()); in startElementNs()
1020 pushCurrentNode(newElement.get()); in startElementNs()
[all …]
/external/pdfium/fpdfsdk/include/javascript/
DJS_Value.h79 void push_back(TYPE newElement){CFX_ArrayTemplate<TYPE>::Add(newElement);} in push_back() argument
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLTextAreaElement.cpp566 RefPtrWillBeRawPtr<HTMLDivElement> newElement = HTMLDivElement::create(document()); in updatePlaceholderText() local
567 placeholder = newElement.get(); in updatePlaceholderText()
/external/chromium_org/third_party/WebKit/Source/core/html/forms/
DTextFieldInputType.cpp455 RefPtrWillBeRawPtr<HTMLElement> newElement = HTMLDivElement::create(element().document()); in updatePlaceholderText() local
456 placeholder = newElement.get(); in updatePlaceholderText()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/elements/
DElementsTreeOutline.js1248 var newElement = new WebInspector.ElementsTreeElement(child, closingTag);
1249 newElement.selectable = this.treeOutline._selectEnabled;
1250 this.insertChild(newElement, index);
1251 return newElement;
1313 var newElement = this.insertChildElement(child, treeChildIndex);
1315 elementToSelect = newElement;
/external/chromium_org/third_party/skia/src/core/
DSkClipStack.cpp706 Element* newElement = SkNEW_PLACEMENT_ARGS(fDeque.push_back(), Element, (element)); in pushElement() local
707 newElement->updateBoundAndGenID(prior); in pushElement()
/external/skia/src/core/
DSkClipStack.cpp706 Element* newElement = SkNEW_PLACEMENT_ARGS(fDeque.push_back(), Element, (element)); in pushElement() local
707 newElement->updateBoundAndGenID(prior); in pushElement()
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DDOMPatchSupport.cpp189 Element* newElement = toElement(newNode); in innerPatchNode() local
199 AttributeCollection attributes = newElement->attributesWithoutUpdate(); in innerPatchNode()
/external/deqp/modules/glshared/
DglsLifetimeTests.cpp1017 const Name newElement (elementType, newId); in iterate() local
1099 const Name newElement (elementType, newId); in iterate() local
/external/chromium_org/third_party/WebKit/Source/core/dom/
DDocument.cpp987 RefPtrWillBeRawPtr<Element> newElement = createElement(oldElement->tagQName(), false); in importNode() local
989 newElement->cloneDataFromElement(*oldElement); in importNode()
992 if (!importContainerNodeChildren(oldElement, newElement, exceptionState)) in importNode()
995 …en(toHTMLTemplateElement(oldElement)->content(), toHTMLTemplateElement(newElement)->content(), exc… in importNode()
999 return newElement.release(); in importNode()
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/parse-only/
Dmootools-1.2.2-core-nc.js1311 if (typeof tag == 'string') return document.newElement(tag, props);
1401 newElement: function(tag, props){ method
1964 …var temp = this.ownerDocument.newElement('div', {html: this.innerHTML}).inject(this.ownerDocument.…
Dconcat-jquery-mootools-prototype.js5687 if (typeof tag == 'string') return document.newElement(tag, props);
5777 newElement: function(tag, props){ method
6340 …var temp = this.ownerDocument.newElement('div', {html: this.innerHTML}).inject(this.ownerDocument.…