Home
last modified time | relevance | path

Searched refs:m_string (Results 1 – 25 of 53) sorted by relevance

123

/external/webkit/Source/JavaScriptCore/wtf/text/
DAtomicString.h44 AtomicString(const char* s) : m_string(add(s)) { } in AtomicString()
45 AtomicString(const UChar* s, unsigned length) : m_string(add(s, length)) { } in AtomicString()
46 …AtomicString(const UChar* s, unsigned length, unsigned existingHash) : m_string(add(s, length, exi… in AtomicString()
47 AtomicString(const UChar* s) : m_string(add(s)) { } in AtomicString()
48 ATOMICSTRING_CONVERSION AtomicString(StringImpl* imp) : m_string(add(imp)) { } in AtomicString()
49 AtomicString(AtomicStringImpl* imp) : m_string(imp) { } in AtomicString()
50 ATOMICSTRING_CONVERSION AtomicString(const String& s) : m_string(add(s.impl())) { } in AtomicString()
53 AtomicString(WTF::HashTableDeletedValueType) : m_string(WTF::HashTableDeletedValue) { } in AtomicString()
54 bool isHashTableDeletedValue() const { return m_string.isHashTableDeletedValue(); } in isHashTableDeletedValue()
58 operator const String&() const { return m_string; }
[all …]
DStringBuilder.cpp36 if (!m_string.isNull()) { in reifyString()
37 ASSERT(m_string.length() == m_length); in reifyString()
43 m_string = StringImpl::empty(); in reifyString()
49 m_string = (m_length == m_buffer->length()) in reifyString()
67 m_string = String(); in resize()
72 ASSERT(!m_string.isEmpty()); in resize()
73 ASSERT(m_length == m_string.length()); in resize()
74 ASSERT(newSize < m_string.length()); in resize()
76 m_string = StringImpl::create(m_string.impl(), 0, newSize); in resize()
88 allocateBuffer(m_string.characters(), newCapacity); in reserveCapacity()
[all …]
DStringBuilder.h50 m_string = string; in append()
65 if (m_buffer && m_length < m_buffer->length() && m_string.isNull()) in append()
73 if (m_buffer && m_length < m_buffer->length() && m_string.isNull()) in append()
81 if (m_string.isNull()) { in toString()
85 return m_string; in toString()
90 if (m_string.isNull()) in toStringPreserveCapacity()
92 return m_string; in toStringPreserveCapacity()
111 if (!m_string.isNull())
112 return m_string[i];
120 m_string = String(); in clear()
[all …]
/external/webkit/Source/WebKit2/Shared/
DWebString.h58 bool isNull() const { return m_string.isNull(); } in isNull()
59 bool isEmpty() const { return m_string.isEmpty(); } in isEmpty()
61 size_t length() const { return m_string.length(); } in length()
66 bufferLength = std::min(bufferLength, static_cast<size_t>(m_string.length())); in getCharacters()
67 memcpy(buffer, m_string.characters(), bufferLength * sizeof(UChar)); in getCharacters()
71 size_t maximumUTF8CStringSize() const { return m_string.length() * 3 + 1; } in maximumUTF8CStringSize()
77 const UChar* d = m_string.characters(); in getUTF8CString()
78 …WTF::Unicode::ConversionResult result = WTF::Unicode::convertUTF16ToUTF8(&d, d + m_string.length()… in getUTF8CString()
85 bool equal(WebString* other) { return m_string == other->m_string; } in equal()
86 bool equalToUTF8String(const char* other) { return m_string == String::fromUTF8(other); } in equalToUTF8String()
[all …]
DWebURL.h49 bool isNull() const { return m_string.isNull(); } in isNull()
50 bool isEmpty() const { return m_string.isEmpty(); } in isEmpty()
52 const String& string() const { return m_string; } in string()
68 : m_string(string) in WebURL()
76 m_parsedURL = WTF::adoptPtr(new WebCore::KURL(WebCore::KURL(), m_string)); in parseURLIfNecessary()
81 String m_string; variable
/external/webkit/Source/JavaScriptCore/qt/api/
Dqscriptstring_p.h52 JSStringRef m_string;
57 : m_string(0) in QScriptStringPrivate()
61 : m_string(QScriptConverter::toString(qtstring)) in QScriptStringPrivate()
67 JSStringRelease(m_string); in ~QScriptStringPrivate()
83 return m_string; in isValid()
88 return isValid() && other.isValid() && JSStringIsEqual(m_string, other.m_string);
93 return isValid() && other.isValid() && !JSStringIsEqual(m_string, other.m_string);
98 quint32 idx = QScriptConverter::toArrayIndex(m_string); in toArrayIndex()
106 return QScriptConverter::toString(m_string); in toString()
111 return reinterpret_cast<quint32>(m_string); in id()
[all …]
/external/webkit/Source/JavaScriptCore/runtime/
DIdentifier.h38 …Identifier(ExecState* exec, const char* s) : m_string(add(exec, s)) { } // Only to be used with st… in Identifier()
39 Identifier(ExecState* exec, const UChar* s, int length) : m_string(add(exec, s, length)) { } in Identifier()
40 Identifier(ExecState* exec, StringImpl* rep) : m_string(add(exec, rep)) { } in Identifier()
41 Identifier(ExecState* exec, const UString& s) : m_string(add(exec, s.impl())) { } in Identifier()
43 …Identifier(JSGlobalData* globalData, const char* s) : m_string(add(globalData, s)) { } // Only to … in Identifier()
44 …Identifier(JSGlobalData* globalData, const UChar* s, int length) : m_string(add(globalData, s, len… in Identifier()
45 Identifier(JSGlobalData* globalData, StringImpl* rep) : m_string(add(globalData, rep)) { } in Identifier()
46 … Identifier(JSGlobalData* globalData, const UString& s) : m_string(add(globalData, s.impl())) { } in Identifier()
48 const UString& ustring() const { return m_string; } in ustring()
49 StringImpl* impl() const { return m_string.impl(); } in impl()
[all …]
/external/webkit/Source/WebCore/platform/text/
DStringWithDirection.h55 : m_string(string) in StringWithDirection()
60 const String& string() const { return m_string; } in string()
63 bool isEmpty() const { return m_string.isEmpty(); } in isEmpty()
64 bool isNull() const { return m_string.isNull(); } in isNull()
68 return other.m_string == m_string && other.m_direction == m_direction;
73 String m_string;
DTextBreakIterator.h64 : m_string(string) in m_string() function
76 const UChar* string() const { return m_string; } in string()
82 m_iterator = acquireLineBreakIterator(m_string, m_length); in get()
91 m_string = string; in reset()
97 const UChar* m_string;
DSegmentedString.h43 , m_string(str) in SegmentedSubstring()
55 int numberOfCharactersConsumed() const { return m_string.length() - m_length; } in numberOfCharactersConsumed()
59 if (m_string.characters() == m_current) { in appendTo()
61 str = m_string; in appendTo()
63 str.append(m_string); in appendTo()
73 String m_string;
/external/webkit/Source/WebKit/win/
DWebLocalizableStrings.cpp87 mutable String m_string; member in LocalizedString
92 if (!m_string.isEmpty()) in operator LPCTSTR()
93 return m_string.charactersWithNullTermination(); in operator LPCTSTR()
95 m_string = m_cfString; in operator LPCTSTR()
97 for (unsigned int i = 1; i < m_string.length(); i++) in operator LPCTSTR()
98 …if (m_string[i] == '@' && (m_string[i - 1] == '%' || (i > 2 && m_string[i - 1] == '$' && m_string[… in operator LPCTSTR()
99 m_string.replace(i, 1, "s"); in operator LPCTSTR()
101 return m_string.charactersWithNullTermination(); in operator LPCTSTR()
/external/webkit/Source/WebCore/platform/
DKURL.cpp314 ASSERT(url == m_string); in KURL()
320 ASSERT(url == m_string); in KURL()
326 ASSERT(url.string() == m_string); in KURL()
356 m_string = relative; in init()
429 appendASCII(base.m_string.left(base.m_queryEnd), str, len, parseBuffer); in init()
432 m_string = relative; in init()
446 appendASCII(base.m_string.left(base.m_queryEnd), str, len, parseBuffer); in init()
452 appendASCII(base.m_string.left(base.m_pathEnd), str, len, parseBuffer); in init()
460 appendASCII(base.m_string.left(base.m_schemeEnd + 1), str, len, parseBuffer); in init()
464 appendASCII(base.m_string.left(base.m_portEnd), str, len, parseBuffer); in init()
[all …]
DURLString.h37 const String& string() const { return m_string; } in string()
43 : m_string(string) in URLString()
47 String m_string; variable
DKURL.h82 KURL(WTF::HashTableDeletedValueType) : m_string(WTF::HashTableDeletedValue) { } in KURL()
135 const String& string() const { return m_string; } in string()
136 URLString urlString() const { return URLString(m_string); } in urlString()
250 String m_string; variable
341 return m_string.isNull(); in isNull()
346 return m_string.isEmpty(); in isEmpty()
/external/apache-xml/src/main/java/org/apache/xml/utils/res/
DStringArrayWrapper.java29 private String[] m_string; field in StringArrayWrapper
32 m_string = arg; in StringArrayWrapper()
36 return m_string[index]; in getString()
40 return m_string.length; in getLength()
/external/webkit/Source/WebCore/dom/
DSpaceSplitString.cpp51 if (m_shouldFoldCase && hasNonASCIIOrUpper(m_string)) in createVector()
52 m_string = m_string.foldCase(); in createVector()
54 const UChar* characters = m_string.characters(); in createVector()
55 unsigned length = m_string.length(); in createVector()
71 m_string = String(); in createVector()
/external/webkit/Source/WebCore/bindings/v8/
Dnpruntime.cpp50 explicit StringKey(const char* str) : m_string(str), m_length(strlen(str)) { } in StringKey()
51 StringKey() : m_string(0), m_length(0) { } in StringKey()
52 …explicit StringKey(WTF::HashTableDeletedValueType) : m_string(hashTableDeletedValue()), m_length(0… in StringKey()
56 this->m_string = other.m_string; in operator =()
63 return m_string == hashTableDeletedValue(); in isHashTableDeletedValue()
66 const char* m_string; member in npruntime::StringKey
80 if (x.m_string == y.m_string) in operator ==()
84 return !memcmp(x.m_string, y.m_string, y.m_length); in operator ==()
94 const char* str = key.m_string; in hash()
177 key.m_string = nameStorage; in _NPN_GetStringIdentifier()
/external/webkit/Source/WebCore/storage/
DIDBKey.cpp52 return codePointCompare(other->m_string, m_string) > 0; in isLessThan()
72 return other->m_string == m_string; in isEqual()
DIDBKey.h58 idbKey->m_string = string; in createString()
85 return m_string; in string()
110 String m_string; variable
/external/webkit/Source/WebKit2/Shared/Plugins/
DNPIdentifierData.cpp56 npIdentifierData.m_string = identifierRep->string(); in fromNPIdentifier()
66 return static_cast<NPIdentifier>(IdentifierRep::get(m_string.data())); in createNPIdentifier()
75 encoder->encode(m_string); in encode()
86 return decoder->decode(result.m_string); in decode()
/external/webkit/Source/JavaScriptCore/wtf/url/api/
DURLString.h38 const String& string() const { return m_string;} in string()
45 : m_string(string) in URLString()
49 String m_string; variable
/external/webkit/Source/WebCore/platform/sql/
DSQLValue.cpp37 , m_string(val.m_string.threadsafeCopy()) in SQLValue()
46 return m_string.threadsafeCopy(); in string()
/external/webkit/Source/WebCore/bridge/
DIdentifierRep.h47 const char* string() const { return m_isString ? m_value.m_string : 0; } in string()
59 m_value.m_string = fastStrDup(name); in IdentifierRep()
69 const char* m_string; member
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/category/
DPropertyCategory.java73 private final String m_string; field in PropertyCategory
82 m_string = string; in PropertyCategory()
92 return m_string; in toString()
/external/webkit/Source/WebCore/css/
DCSSFontFaceSource.cpp50 : m_string(str) in CSSFontFaceSource()
112 SimpleFontData* fontData = fontCache()->getCachedFontData(fontDescription, m_string); in getFontData()
136 … m_externalSVGFontElement = m_font->getSVGFontById(SVGURIReference::getTarget(m_string)); in getFontData()
182 SimpleFontData* tempData = fontCache()->getCachedFontData(fontDescription, m_string); in getFontData()

123