Searched defs:string (Results 301 - 325 of 798) sorted by relevance

<<11121314151617181920>>

/external/webkit/Source/JavaScriptCore/API/
H A DJSClassRef.cpp45 static inline UString tryCreateStringFromUTF8(const char* string) argument
47 if (!string)
50 size_t length = strlen(string);
53 if (conversionOK != convertUTF8ToUTF16(&string, string + length, &p, p + length))
117 // The empty string is shared across threads & is an identifier, in all other cases we should have done a deep copy in className(), below.
H A DJSRetainPtr.h35 inline void JSRetain(JSStringRef string) { JSStringRetain(string); } argument
36 inline void JSRelease(JSStringRef string) { JSStringRelease(string); } argument
/external/webkit/Source/JavaScriptCore/API/tests/
H A Dminidom.c88 JSStringRef string = JSValueToStringCopy(context, arguments[0], exception); local
89 size_t numChars = JSStringGetMaximumUTF8CStringSize(string);
91 JSStringGetUTF8CString(string, stringUTF8, numChars);
/external/webkit/Source/JavaScriptCore/runtime/
H A DIdentifier.cpp29 #include <string.h> // for strlen
132 // If the string is newly-translated, then we need to adopt it.
173 uint32_t Identifier::toUInt32(const UString& string, bool& ok) argument
177 unsigned length = string.length();
178 const UChar* characters = string.characters();
180 // An empty string is not a number.
190 // length of the string must be one - e.g. "042" is not equal to "42".
228 // If the string is newly-translated, then we need to adopt it.
242 // in ::add() in the header, so we should never get here with a zero length string.
H A DRegExp.cpp31 #include <string.h>
37 RegExpFlags regExpFlags(const UString& string) argument
41 for (unsigned i = 0; i < string.length(); ++i) {
42 switch (string.characters()[i]) {
215 fprintf(stderr, "RegExp Discrepency for /%s/\n string input ", pattern().utf8().data());
/external/webkit/Source/JavaScriptCore/wtf/text/
H A DStringConcatenate.h168 StringTypeAdapter<String>(const String& string) argument
169 : m_buffer(string)
/external/webkit/Source/WebCore/bridge/jni/
H A Djni_jsobject.h69 jstring string; member in struct:JSC::Bindings::JSObjectCallContext
/external/webkit/Source/WebCore/css/
H A DWebKitCSSMatrix.cpp53 void WebKitCSSMatrix::setMatrixValue(const String& string, ExceptionCode& ec) argument
56 if (CSSParser::parseValue(styleDeclaration.get(), CSSPropertyWebkitTransform, string, true, true)) {
83 } else if (!string.isEmpty()) // There is something there but parsing failed
/external/webkit/Source/WebCore/html/parser/
H A DHTMLParserIdioms.cpp35 String stripLeadingAndTrailingHTMLSpaces(const String& string) argument
37 const UChar* characters = string.characters();
38 unsigned length = string.length();
47 return string.isNull() ? string : emptyAtom.string();
57 return string.substring(numLeadingSpaces, length - (numLeadingSpaces + numTrailingSpaces));
63 // point number" is a string produced by applying ToString() to n.
69 bool parseToDoubleForNumberType(const String& string, double* result) argument
74 UChar firstCharacter = string[
100 parseToDoubleForNumberTypeWithDecimalPlaces(const String& string, double *result, unsigned *decimalPlaces) argument
[all...]
/external/webkit/Source/WebCore/loader/
H A DCrossOriginPreflightResultCache.cpp44 static bool parseAccessControlMaxAge(const String& string, unsigned& expiryDelta) argument
48 expiryDelta = string.toUIntStrict(&ok);
53 static void addToAccessControlAllowList(const String& string, unsigned start, unsigned end, HashSet<String, HashType>& set) argument
55 StringImpl* stringImpl = string.impl();
71 set.add(string.substring(start, end - start + 1));
75 static bool parseAccessControlAllowList(const String& string, HashSet<String, HashType>& set) argument
79 while ((end = string.find(',', start)) != notFound) {
83 addToAccessControlAllowList(string, start, end - 1, set);
86 if (start != string.length())
87 addToAccessControlAllowList(string, star
[all...]
/external/webkit/Source/WebCore/page/
H A DWindowFeatures.cpp50 if the user specifies a feature string, all features default to NO. (There is no public
82 // skip to first non-separator, but don't skip past the end of the string
95 // skip to first '=', but don't skip past a ',' or the end of the string
102 // skip to first non-separator, but don't skip past a ',' or the end of the string
224 // FIXME: The toDouble function does not offer a way to tell "0q" from string with no digits in it: Both
238 void WindowFeatures::parseDialogFeatures(const String& string, DialogFeaturesMap& map) argument
241 string.split(';', vector);
255 // Null string for value indicates key without value.
/external/webkit/Source/WebCore/platform/
H A DLinkHash.cpp82 static inline void squeezeOutNullCharacters(Vector<UChar, 512>& string) argument
84 size_t size = string.size();
87 if (!string[i])
94 if (UChar character = string[i])
95 string[j++] = character;
98 string.shrink(j);
244 buffer.append(base.string().characters(), base.string().length());
248 buffer.append(base.string().characters(), base.pathStart());
251 buffer.append(base.string()
[all...]
/external/webkit/Source/WebCore/platform/haiku/
H A DPasteboardHaiku.cpp97 BString string(frame->selectedText());
101 string.ReplaceAll(utf8BlankLine, "\n");
103 data->AddData("text/plain", B_MIME_TYPE, string.String(), string.Length());
122 BString string(text);
123 data->AddData("text/plain", B_MIME_TYPE, string.String(), string.Length());
145 BString string; local
147 string.Append(buffer, bufferLength);
149 return string;
[all...]
/external/webkit/Source/WebCore/platform/network/
H A DFormDataBuilder.cpp42 static inline void append(Vector<char>& buffer, char string) argument
44 buffer.append(string);
47 static inline void append(Vector<char>& buffer, const char* string) argument
49 buffer.append(string, strlen(string));
52 static inline void append(Vector<char>& buffer, const CString& string) argument
54 buffer.append(string.data(), string.length());
57 static void appendQuotedString(Vector<char>& buffer, const CString& string) argument
59 // Append a string a
194 encodeStringAsFormData(Vector<char>& buffer, const CString& string) argument
[all...]
/external/webkit/Source/WebCore/platform/text/
H A DRegularExpression.cpp158 void replace(String& string, const RegularExpression& target, const String& replacement) argument
161 while (index < static_cast<int>(string.length())) {
163 index = target.match(string, index, &matchLength);
166 string.replace(index, matchLength, replacement);
H A DTextBreakIteratorICU.cpp35 UBreakIteratorType type, const UChar* string, int length)
37 if (!string)
50 ubrk_setText(reinterpret_cast<UBreakIterator*>(iterator), string, length, &setTextStatus); local
57 TextBreakIterator* characterBreakIterator(const UChar* string, int length) argument
62 staticCharacterBreakIterator, UBRK_CHARACTER, string, length);
65 TextBreakIterator* wordBreakIterator(const UChar* string, int length) argument
70 staticWordBreakIterator, UBRK_WORD, string, length);
76 TextBreakIterator* acquireLineBreakIterator(const UChar* string, int length) argument
80 setUpIterator(createdLineBreakIterator, staticLineBreakIterator, UBRK_LINE, string, length);
86 setUpIterator(createdNewLineBreakIterator, lineBreakIterator, UBRK_LINE, string, lengt
34 setUpIterator(bool& createdIterator, TextBreakIterator*& iterator, UBreakIteratorType type, const UChar* string, int length) argument
103 sentenceBreakIterator(const UChar* string, int length) argument
152 setUpIteratorWithRules(bool& createdIterator, TextBreakIterator*& iterator, const char* breakRules, const UChar* string, int length) argument
170 ubrk_setText(reinterpret_cast<UBreakIterator*>(iterator), string, length, &setTextStatus); local
178 cursorMovementIterator(const UChar* string, int length) argument
[all...]
/external/webkit/Source/WebCore/platform/text/brew/
H A DTextBreakIteratorBrew.cpp55 string = str;
74 const UChar* string; member in class:WebCore::TextBreakIterator
116 if (haveSpace && !isSpace(string[currentPos]))
118 if (isSpace(string[currentPos]))
133 if (haveSpace && !isSpace(string[currentPos]))
135 if (isSpace(string[currentPos]))
153 while (currentPos < length && !isCharStop(string[currentPos]))
165 while (currentPos > 0 && !isCharStop(string[currentPos]))
184 if (haveSpace && !isLineStop(string[currentPos]))
186 if (isLineStop(string[currentPo
250 wordBreakIterator(const UChar* string, int length) argument
257 characterBreakIterator(const UChar* string, int length) argument
266 acquireLineBreakIterator(const UChar* string, int length) argument
292 sentenceBreakIterator(const UChar* string, int length) argument
329 cursorMovementIterator(const UChar* string, int length) argument
[all...]
/external/webkit/Source/WebCore/platform/wx/
H A DClipboardWx.cpp125 void ClipboardWx::writeURL(const KURL& url, const String& string, Frame* frame) argument
127 Pasteboard::generalPasteboard()->writeURL(url, string, frame);
/external/webkit/Source/WebCore/platform/wx/wxcode/win/
H A Dnon-kerned-drawing.cpp124 wxString string = wxString((wxChar*)(&glyphs[from]), numGlyphs); local
/external/webkit/Source/WebCore/rendering/
H A DRenderCombineText.cpp30 RenderCombineText::RenderCombineText(Node* node, PassRefPtr<StringImpl> string) argument
31 : RenderText(node, string)
/external/webkit/Source/WebCore/svg/
H A DSVGFontElement.cpp176 void SVGFontElement::getGlyphIdentifiersForString(const String& string, Vector<SVGGlyphIdentifier>& glyphs) const argument
179 m_glyphMap.get(string, glyphs);
H A DSVGPathStringSource.cpp29 SVGPathStringSource::SVGPathStringSource(const String& string) argument
30 : m_string(string)
31 , m_current(string.characters())
32 , m_end(m_current + string.length())
34 ASSERT(!string.isEmpty());
/external/webkit/Source/WebKit/chromium/src/
H A DWebIDBKey.cpp51 WebIDBKey WebIDBKey::createString(const WebString& string) argument
54 key.assignString(string);
101 void WebIDBKey::assignString(const WebString& string) argument
103 m_private = IDBKey::createString(string);
133 WebString WebIDBKey::string() const function in class:WebKit::WebIDBKey
135 return m_private->string();
/external/webkit/Source/WebKit/chromium/tests/
H A DPODIntervalTreeTest.cpp47 static String string(const float& value) { return String::number(value); } function in struct:WebCore::ValueToString
52 static String string(void* const& value) function in struct:WebCore::ValueToString
93 static String string(int* const& value) function in struct:WebCore::ValueToString
136 static String string(const UserData1& value) function in struct:WebCore::ValueToString
193 static String string(const EndpointType1& value) function in struct:WebCore::ValueToString
214 static String string(const int& value) { return String::number(value); } function in struct:WebCore::ValueToString
234 LOG_ERROR("*** Adding element %s", ValueToString<PODInterval<int> >::string(interval).ascii().data());
243 LOG_ERROR("*** Removing element %s", ValueToString<PODInterval<int> >::string(addedElements[index]).ascii().data());
263 LOG_ERROR("*** Adding element %s", ValueToString<PODInterval<int> >::string(removedElements[index]).ascii().data());
271 LOG_ERROR("*** Removing element %s", ValueToString<PODInterval<int> >::string(addedElement
[all...]
/external/webkit/Source/WebKit/win/
H A DWebLocalizableStrings.cpp76 LocalizedString(CFStringRef string) argument
77 : m_cfString(string)
79 ASSERT_ARG(string, string);
167 static CFStringRef notFound = CFSTR("localized string not found");
176 ASSERT_WITH_MESSAGE(result != notFound, "could not find localizable string %s in bundle", key);
209 LocalizedString* string = findCachedString(stringsBundle, key); local
210 if (string)
211 return *string;
213 string
[all...]

Completed in 476 milliseconds

<<11121314151617181920>>