Lines Matching refs:identifier

42 static CounterNode* makeCounterNode(RenderObject*, const AtomicString& identifier, bool alwaysCreateCounter);
203 static bool planCounter(RenderObject* object, const AtomicString& identifier, bool& isReset, int& value)
233 CounterDirectives directives = directivesMap->get(identifier.impl());
248 if (identifier == "list-item") {
277 // identifier in the CounterNode tree for identifier and sets parent and
282 // counter with the same identifier.
283 // - All the counter references with the same identifier as this one that are in
292 static bool findPlaceForCounter(RenderObject* counterOwner, const AtomicString& identifier, bool isReset, CounterNode*& parent, CounterNode*& previousSibling)
294 // We cannot stop searching for counters with the same identifier before we also
298 // towards the begining of the document for counters with the same identifier as the one
303 CounterNode* currentCounter = makeCounterNode(currentRenderer, identifier, false);
393 static CounterNode* makeCounterNode(RenderObject* object, const AtomicString& identifier, bool alwaysCreateCounter)
399 if (CounterNode* node = nodeMap->get(identifier.impl()).get())
406 if (!planCounter(object, identifier, isReset, value) && !alwaysCreateCounter)
412 if (findPlaceForCounter(object, identifier, isReset, newParent, newPreviousSibling))
413 newParent->insertAfter(newNode.get(), newPreviousSibling, identifier);
422 nodeMap->set(identifier.impl(), newNode);
434 CounterNode* currentCounter = maps.get(currentRenderer)->get(identifier.impl()).get();
444 newNode->insertAfter(currentCounter, newNode->lastChild(), identifier);
489 makeCounterNode(beforeAfterContainer, m_counter.identifier(), true)->addRenderer(const_cast<RenderCounter*>(this));
525 static void destroyCounterNodeWithoutMapRemoval(const AtomicString& identifier, CounterNode* node)
531 ASSERT(counterMaps().get(child->owner())->get(identifier.impl()) == child);
532 counterMaps().get(child->owner())->remove(identifier.impl());
547 AtomicString identifier(it->first.get());
548 destroyCounterNodeWithoutMapRemoval(identifier, it->second.get());
555 void RenderCounter::destroyCounterNode(RenderObject* owner, const AtomicString& identifier)
560 CounterMap::iterator mapIterator = map->find(identifier.impl());
563 destroyCounterNodeWithoutMapRemoval(identifier, mapIterator->second.get());
695 AtomicString identifier(counterName);
703 counterName ? WebCore::counterMaps().get(current)->get(identifier.impl()).get() : (WebCore::CounterNode*)1 : (WebCore::CounterNode*)0);