Home
last modified time | relevance | path

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

/third_party/parse5/packages/parse5/lib/parser/
Dformatting-element-list.ts37 newElement: T['element'],
43 const neTagName = this.treeAdapter.getTagName(newElement);
44 const neNamespaceURI = this.treeAdapter.getNamespaceURI(newElement);
70 private _ensureNoahArkCondition(newElement: T['element']): void {
73 const neAttrs = this.treeAdapter.getAttrList(newElement);
74 const candidates = this._getNoahArkConditionCandidates(newElement, neAttrs);
Dopen-element-stack.ts110 replace(oldElement: T['element'], newElement: T['element']): void {
113 this.items[idx] = newElement;
116 this.current = newElement;
120 insertAfter(referenceElement: T['element'], newElement: T['element'], newElementID: $): void {
123 this.items.splice(insertionIdx, 0, newElement);
Dopen-element-stack.test.ts57 const newElement = createElement('#newElement', NS.SVG); constant
62 stack.replace(element, newElement);
63 assert.strictEqual(stack.current, newElement);
Dindex.ts1402 …const newElement = p.treeAdapter.createElement(elementEntry.token.tagName, ns, elementEntry.token.… constant
1404 p.openElements.replace(elementEntry.element, newElement);
1405 elementEntry.element = newElement;
1407 return newElement;
1440 const newElement = p.treeAdapter.createElement(token.tagName, ns, token.attrs); constant
1442 p._adoptNodes(furthestBlock, newElement);
1443 p.treeAdapter.appendChild(furthestBlock, newElement);
1445 p.activeFormattingElements.insertElementAfterBookmark(newElement, token);
1449 p.openElements.insertAfter(furthestBlock, newElement, token.tagID);
/third_party/icu/icu4c/source/common/
Dudata.cpp332 DataCacheElement *newElement; in udata_cacheDataItem() local
347 newElement = (DataCacheElement *)uprv_malloc(sizeof(DataCacheElement)); in udata_cacheDataItem()
348 if (newElement == NULL) { in udata_cacheDataItem()
352 newElement->item = UDataMemory_createNewInstance(pErr); in udata_cacheDataItem()
354 uprv_free(newElement); in udata_cacheDataItem()
357 UDatamemory_assign(newElement->item, item); in udata_cacheDataItem()
361 newElement->name = (char *)uprv_malloc(nameLen+1); in udata_cacheDataItem()
362 if (newElement->name == NULL) { in udata_cacheDataItem()
364 uprv_free(newElement->item); in udata_cacheDataItem()
365 uprv_free(newElement); in udata_cacheDataItem()
[all …]
/third_party/node/deps/icu-small/source/common/
Dudata.cpp332 DataCacheElement *newElement; in udata_cacheDataItem() local
347 newElement = (DataCacheElement *)uprv_malloc(sizeof(DataCacheElement)); in udata_cacheDataItem()
348 if (newElement == nullptr) { in udata_cacheDataItem()
352 newElement->item = UDataMemory_createNewInstance(pErr); in udata_cacheDataItem()
354 uprv_free(newElement); in udata_cacheDataItem()
357 UDatamemory_assign(newElement->item, item); in udata_cacheDataItem()
361 newElement->name = (char *)uprv_malloc(nameLen+1); in udata_cacheDataItem()
362 if (newElement->name == nullptr) { in udata_cacheDataItem()
364 uprv_free(newElement->item); in udata_cacheDataItem()
365 uprv_free(newElement); in udata_cacheDataItem()
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Dudata.cpp332 DataCacheElement *newElement; in udata_cacheDataItem() local
347 newElement = (DataCacheElement *)uprv_malloc(sizeof(DataCacheElement)); in udata_cacheDataItem()
348 if (newElement == NULL) { in udata_cacheDataItem()
352 newElement->item = UDataMemory_createNewInstance(pErr); in udata_cacheDataItem()
354 uprv_free(newElement); in udata_cacheDataItem()
357 UDatamemory_assign(newElement->item, item); in udata_cacheDataItem()
361 newElement->name = (char *)uprv_malloc(nameLen+1); in udata_cacheDataItem()
362 if (newElement->name == NULL) { in udata_cacheDataItem()
364 uprv_free(newElement->item); in udata_cacheDataItem()
365 uprv_free(newElement); in udata_cacheDataItem()
[all …]
/third_party/typescript/src/services/codefixes/
DfixClassIncorrectlyImplementsInterface.ts78 …rceFile: SourceFile, cls: ClassLikeDeclaration | InterfaceDeclaration, newElement: ClassElement): …
80 changeTracker.insertNodeAfter(sourceFile, constructor, newElement);
83 changeTracker.insertMemberAtStart(sourceFile, cls, newElement);
/third_party/node/deps/v8/src/builtins/
Darray-slice.tq64 const newElement = UnsafeCast<(JSAny | TheHole)>(
72 resultElements, indexOut++, newElement, UNSAFE_SKIP_WRITE_BARRIER);
/third_party/typescript/src/services/
DtextChanges.ts621 …, node: ClassLikeDeclaration | InterfaceDeclaration | TypeLiteralNode, newElement: ClassElement | …
622 this.insertNodeAtStartWorker(sourceFile, node, newElement);
625 …odeAtObjectStart(sourceFile: SourceFile, obj: ObjectLiteralExpression, newElement: ObjectLiteralEl…
626 this.insertNodeAtStartWorker(sourceFile, obj, newElement);
629 …on | InterfaceDeclaration | ObjectLiteralExpression | TypeLiteralNode, newElement: ClassElement | …
631 …this.insertNodeAt(sourceFile, getMembersOrProperties(node).pos, newElement, this.getInsertNodeAtSt…
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DFieldSet.java984 Object newElement = replaceBuilder(oldElement); in replaceBuilders() local
985 if (newElement != oldElement) { in replaceBuilders()
993 list.set(i, newElement); in replaceBuilders()
/third_party/skia/src/core/
DSkClipStack.cpp749 Element* newElement = new (fDeque.push_back()) Element(element); in pushElement() local
750 newElement->updateBoundAndGenID(prior); in pushElement()
/third_party/vk-gl-cts/modules/glshared/
DglsLifetimeTests.cpp1182 const Name newElement (elementType, newId); in iterate() local
1264 const Name newElement (elementType, newId); in iterate() local