Home | History | Annotate | Download | only in runtime

Lines Matching refs:StringImpl

40         Identifier(ExecState* exec, StringImpl* rep) : m_string(add(exec, rep)) { } 
45 Identifier(JSGlobalData* globalData, StringImpl* rep) : m_string(add(globalData, rep)) { }
49 StringImpl* impl() const { return m_string.impl(); }
76 static bool equal(const StringImpl*, const char*);
77 static bool equal(const StringImpl*, const UChar*, unsigned length);
78 static bool equal(const StringImpl* a, const StringImpl* b) { return ::equal(a, b); }
80 static PassRefPtr<StringImpl> add(ExecState*, const char*); // Only to be used with string literals.
81 static PassRefPtr<StringImpl> add(JSGlobalData*, const char*); // Only to be used with string literals.
89 static PassRefPtr<StringImpl> add(ExecState*, const UChar*, int length);
90 static PassRefPtr<StringImpl> add(JSGlobalData*, const UChar*, int length);
92 static PassRefPtr<StringImpl> add(ExecState* exec, StringImpl* r)
101 static PassRefPtr<StringImpl> add(JSGlobalData* globalData, StringImpl* r)
111 static PassRefPtr<StringImpl> addSlowCase(ExecState*, StringImpl* r);
112 static PassRefPtr<StringImpl> addSlowCase(JSGlobalData*, StringImpl* r);
141 struct IdentifierRepHash : PtrHash<RefPtr<StringImpl> > {
142 static unsigned hash(const RefPtr<StringImpl>& key) { return key->existingHash(); }
143 static unsigned hash(StringImpl* key) { return key->existingHash(); }