HomeSort by relevance Sort by last modified time
    Searched refs:StringImpl (Results 1 - 25 of 143) sorted by null

1 2 3 4 5 6

  /external/webkit/Source/JavaScriptGlue/ForwardingHeaders/wtf/text/
StringImpl.h 1 #include <JavaScriptCore/StringImpl.h>
  /external/webkit/Source/WebCore/ForwardingHeaders/wtf/text/
StringImpl.h 3 #include <JavaScriptCore/StringImpl.h>
  /external/webkit/Source/JavaScriptCore/wtf/text/
AtomicStringImpl.h 24 #include "StringImpl.h"
28 class AtomicStringImpl : public StringImpl
31 AtomicStringImpl() : StringImpl(0) {}
StringImpl.h 65 class StringImpl : public StringImplBase {
77 StringImpl(const UChar* characters, unsigned length, StaticStringConstructType)
90 StringImpl(unsigned length)
100 // Create a StringImpl adopting ownership of the provided buffer (BufferOwned)
101 StringImpl(const UChar* characters, unsigned length)
111 // Used to create new strings that are a substring of an existing StringImpl (BufferSubstring)
112 StringImpl(const UChar* characters, unsigned length, PassRefPtr<StringImpl> base)
124 StringImpl(const UChar* characters, unsigned length, PassRefPtr<SharedUChar> sharedBuffer)
144 ~StringImpl();
    [all...]
AtomicString.cpp 51 HashSet<StringImpl*>& table()
59 HashSet<StringImpl*>::iterator end = table->m_table.end();
60 for (HashSet<StringImpl*>::iterator iter = table->m_table.begin(); iter != end; ++iter)
65 HashSet<StringImpl*> m_table;
68 static inline HashSet<StringImpl*>& stringTable()
78 static inline PassRefPtr<StringImpl> addToStringTable(const T& value)
80 pair<HashSet<StringImpl*>::iterator, bool> addResult = stringTable().add<T, HashTranslator>(value);
93 static bool equal(StringImpl* r, const char* s)
105 static void translate(StringImpl*& location, const char* const& c, unsigned hash)
107 location = StringImpl::create(c).leakRef()
    [all...]
StringImpl.cpp 26 #include "StringImpl.h"
42 COMPILE_ASSERT(sizeof(StringImpl) == 2 * sizeof(int) + 3 * sizeof(void*), StringImpl_should_stay_small);
44 StringImpl::~StringImpl()
74 PassRefPtr<StringImpl> StringImpl::createUninitialized(unsigned length, UChar*& data)
81 // Allocate a single buffer large enough to contain the StringImpl
84 if (length > ((std::numeric_limits<unsigned>::max() - sizeof(StringImpl)) / sizeof(UChar)))
86 size_t size = sizeof(StringImpl) + length * sizeof(UChar);
87 StringImpl* string = static_cast<StringImpl*>(fastMalloc(size))
    [all...]
StringHash.h 39 // currently a member function of StringImpl into this file so we can be a little
43 static unsigned hash(StringImpl* key) { return key->hash(); }
44 static bool equal(const StringImpl* a, const StringImpl* b)
83 static unsigned hash(const RefPtr<StringImpl>& key) { return key->hash(); }
84 static bool equal(const RefPtr<StringImpl>& a, const RefPtr<StringImpl>& b)
110 static unsigned hash(StringImpl* str)
120 static bool equal(const StringImpl* a, const StringImpl* b
    [all...]
StringStatics.cpp 35 #include "StringImpl.h"
39 StringImpl* StringImpl::empty()
49 DEFINE_STATIC_LOCAL(StringImpl, emptyString, (&emptyUCharData, 0, ConstructStaticString));
50 WTF_ANNOTATE_BENIGN_RACE(&emptyString, "Benign race on StringImpl::emptyString reference counter");
  /external/webkit/Source/WebCore/platform/text/mac/
StringImplMac.mm 22 #include <wtf/text/StringImpl.h>
28 StringImpl::operator NSString *()
  /external/webkit/Source/WebCore/platform/text/cf/
StringImplCF.cpp 22 #include <wtf/text/StringImpl.h>
39 static StringImpl* currentString;
58 StringImpl* underlyingString = 0;
66 StringImpl** header = static_cast<StringImpl**>(fastMalloc(sizeof(StringImpl*) + size));
73 size_t newAllocationSize = sizeof(StringImpl*) + newSize;
74 StringImpl** header = static_cast<StringImpl**>(pointer) - 1;
76 header = static_cast<StringImpl**>(fastRealloc(header, newAllocationSize))
    [all...]
StringCF.cpp 37 m_impl = StringImpl::empty();
41 m_impl = StringImpl::create(buffer.data(), size);
  /external/webkit/Source/WebCore/rendering/
RenderTextFragment.h 36 RenderTextFragment(Node*, StringImpl*, int startOffset, int length);
37 RenderTextFragment(Node*, StringImpl*);
50 StringImpl* contentString() const { return m_contentString.get(); }
51 virtual PassRefPtr<StringImpl> originalText() const;
57 virtual void setTextInternal(PassRefPtr<StringImpl>);
63 RefPtr<StringImpl> m_contentString;
RenderWordBreak.cpp 35 : RenderText(element, StringImpl::empty())
RenderTextFragment.cpp 31 RenderTextFragment::RenderTextFragment(Node* node, StringImpl* str, int startOffset, int length)
39 RenderTextFragment::RenderTextFragment(Node* node, StringImpl* str)
52 PassRefPtr<StringImpl> RenderTextFragment::originalText() const
55 RefPtr<StringImpl> result = ((e && e->isTextNode()) ? static_cast<Text*>(e)->dataImpl() : contentString());
78 void RenderTextFragment::setTextInternal(PassRefPtr<StringImpl> text)
98 StringImpl* original = ((e && e->isTextNode()) ? static_cast<Text*>(e)->dataImpl() : contentString());
  /external/webkit/Source/JavaScriptCore/runtime/
Identifier.h 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)
    [all...]
Identifier.cpp 42 HashSet<StringImpl*>::iterator end = m_table.end();
43 for (HashSet<StringImpl*>::iterator iter = m_table.begin(); iter != end; ++iter)
46 std::pair<HashSet<StringImpl*>::iterator, bool> IdentifierTable::add(StringImpl* value)
48 std::pair<HashSet<StringImpl*>::iterator, bool> result = m_table.add(value);
53 std::pair<HashSet<StringImpl*>::iterator, bool> IdentifierTable::add(U value)
55 std::pair<HashSet<StringImpl*>::iterator, bool> result = m_table.add<U, V>(value);
70 bool Identifier::equal(const StringImpl* r, const char* s)
80 bool Identifier::equal(const StringImpl* r, const UChar* s, unsigned length)
97 static bool equal(StringImpl* r, const char* s
    [all...]
SmallStrings.cpp 46 StringImpl* rep(unsigned char character)
54 RefPtr<StringImpl> m_reps[singleCharacterStringCount];
60 RefPtr<StringImpl> baseString = StringImpl::createUninitialized(singleCharacterStringCount, characterBuffer);
63 m_reps[i] = StringImpl::create(baseString, i, 1);
136 m_singleCharacterStrings[character] = new (globalData) JSString(globalData, PassRefPtr<StringImpl>(m_storage->rep(character)), JSString::HasOtherOwner);
139 StringImpl* SmallStrings::singleCharacterStringRep(unsigned char character)
PropertyNameArray.cpp 33 void PropertyNameArray::add(StringImpl* identifier)
35 ASSERT(!identifier || identifier == StringImpl::empty() || identifier->isIdentifier());
PropertyNameArray.h 72 void add(StringImpl*);
73 void addKnownUnique(StringImpl* identifier) { m_data->propertyNameVector().append(Identifier(m_globalData, identifier)); }
89 typedef HashSet<StringImpl*, PtrHash<StringImpl*> > IdentifierSet;
  /external/webkit/Source/WebCore/dom/
CharacterData.h 43 StringImpl* dataImpl() { return m_data.get(); }
52 , m_data(text.impl() ? text.impl() : StringImpl::empty())
59 void setDataImpl(PassRefPtr<StringImpl> impl) { m_data = impl; }
60 void dispatchModifiedEvent(StringImpl* oldValue);
68 void setDataAndUpdate(PassRefPtr<StringImpl>, unsigned offsetOfReplacedData, unsigned oldLength, unsigned newLength);
72 RefPtr<StringImpl> m_data;
  /external/webkit/Source/WebKit2/WebProcess/InjectedBundle/
InjectedBundlePageEditorClient.h 51 bool shouldInsertText(WebPage*, StringImpl*, WebCore::Range* rangeToReplace, WebCore::EditorInsertAction);
55 void didBeginEditing(WebPage*, StringImpl* notificationName);
56 void didEndEditing(WebPage*, StringImpl* notificationName);
57 void didChange(WebPage*, StringImpl* notificationName);
58 void didChangeSelection(WebPage*, StringImpl* notificationName);
  /external/webkit/Source/JavaScriptCore/parser/
SourceProviderCacheItem.h 42 static const unsigned assummedAverageIdentifierSize = sizeof(RefPtr<StringImpl>) + 2;
62 Vector<RefPtr<StringImpl> > usedVariables;
63 Vector<RefPtr<StringImpl> > writtenVariables;
  /external/webkit/Source/WebCore/bridge/jni/v8/
JavaStringV8.h 47 m_impl = StringImpl::create(jChars, size);
58 StringImpl* impl() const { return m_impl.get(); }
61 RefPtr<StringImpl> m_impl;
  /external/webkit/Source/WebKit2/UIProcess/API/C/gtk/
WKView.cpp 35 #include <wtf/text/StringImpl.h>
58 return toCopiedURLAPI(StringImpl::create(url).leakRef());
  /external/webkit/Source/JavaScriptCore/wtf/brew/
StringBrew.cpp 40 m_impl = StringImpl::create(str, len);

Completed in 561 milliseconds

1 2 3 4 5 6