• Home
  • Raw
  • Download

Lines Matching refs:Rep

35 typedef HashMap<const char*, RefPtr<UString::Rep>, PtrHash<const char*> > LiteralIdentifierTable;
41 HashSet<UString::Rep*>::iterator end = m_table.end(); in ~IdentifierTable()
42 for (HashSet<UString::Rep*>::iterator iter = m_table.begin(); iter != end; ++iter) in ~IdentifierTable()
46 std::pair<HashSet<UString::Rep*>::iterator, bool> add(UString::Rep* value) in add()
48 std::pair<HashSet<UString::Rep*>::iterator, bool> result = m_table.add(value); in add()
54 std::pair<HashSet<UString::Rep*>::iterator, bool> add(U value) in add()
56 std::pair<HashSet<UString::Rep*>::iterator, bool> result = m_table.add<U, V>(value); in add()
61 void remove(UString::Rep* r) { m_table.remove(r); } in remove()
66 HashSet<UString::Rep*> m_table;
80 bool Identifier::equal(const UString::Rep* r, const char* s) in equal()
90 bool Identifier::equal(const UString::Rep* r, const UChar* s, int length) in equal()
104 return UString::Rep::computeHash(c); in hash()
107 static bool equal(UString::Rep* r, const char* s) in equal()
112 static void translate(UString::Rep*& location, const char* c, unsigned hash) in translate()
116 UString::Rep* r = UString::Rep::createUninitialized(length, d).releaseRef(); in translate()
124 PassRefPtr<UString::Rep> Identifier::add(JSGlobalData* globalData, const char* c) in add()
129 UString::Rep::empty().hash(); in add()
130 return &UString::Rep::empty(); in add()
142 …pair<HashSet<UString::Rep*>::iterator, bool> addResult = identifierTable.add<const char*, CStringT… in add()
146 …RefPtr<UString::Rep> addedString = addResult.second ? adoptRef(*addResult.first) : *addResult.firs… in add()
153 PassRefPtr<UString::Rep> Identifier::add(ExecState* exec, const char* c) in add()
166 return UString::Rep::computeHash(buf.s, buf.length); in hash()
169 static bool equal(UString::Rep* str, const UCharBuffer& buf) in equal()
174 static void translate(UString::Rep*& location, const UCharBuffer& buf, unsigned hash) in translate()
177 UString::Rep* r = UString::Rep::createUninitialized(buf.length, d).releaseRef(); in translate()
185 PassRefPtr<UString::Rep> Identifier::add(JSGlobalData* globalData, const UChar* s, int length) in add()
193 UString::Rep::empty().hash(); in add()
194 return &UString::Rep::empty(); in add()
197 …pair<HashSet<UString::Rep*>::iterator, bool> addResult = globalData->identifierTable->add<UCharBuf… in add()
204 PassRefPtr<UString::Rep> Identifier::add(ExecState* exec, const UChar* s, int length) in add()
209 PassRefPtr<UString::Rep> Identifier::addSlowCase(JSGlobalData* globalData, UString::Rep* r) in addSlowCase()
224 UString::Rep::empty().hash(); in addSlowCase()
225 return &UString::Rep::empty(); in addSlowCase()
230 PassRefPtr<UString::Rep> Identifier::addSlowCase(ExecState* exec, UString::Rep* r) in addSlowCase()
235 void Identifier::remove(UString::Rep* r) in remove()
242 void Identifier::checkSameIdentifierTable(ExecState* exec, UString::Rep*) in checkSameIdentifierTable() argument
247 void Identifier::checkSameIdentifierTable(JSGlobalData* globalData, UString::Rep*) in checkSameIdentifierTable() argument
254 void Identifier::checkSameIdentifierTable(ExecState*, UString::Rep*) in checkSameIdentifierTable() argument
258 void Identifier::checkSameIdentifierTable(JSGlobalData*, UString::Rep*) in checkSameIdentifierTable() argument