string 116 Source/bindings/templates/attributes.cpp one of those. If not, set it to the empty string. string 253 Source/bindings/templates/attributes.cpp String string = cppValue; string 161 Source/bindings/templates/methods.cpp String string = {{argument.name}}; string 652 Source/bindings/tests/results/V8TestInterface.cpp String string = cppValue; string 653 Source/bindings/tests/results/V8TestInterface.cpp if (!(string == "foo" || string == "bar")) string 1493 Source/bindings/tests/results/V8TestObject.cpp String string = cppValue; string 1494 Source/bindings/tests/results/V8TestObject.cpp if (!(string == "" || string == "EnumValue1" || string == "EnumValue2" || string == "EnumValue3")) string 5497 Source/bindings/tests/results/V8TestObject.cpp String string = testEnumTypeArg; string 5498 Source/bindings/tests/results/V8TestObject.cpp if (!(string == "" || string == "EnumValue1" || string == "EnumValue2" || string == "EnumValue3")) { string 5499 Source/bindings/tests/results/V8TestObject.cpp throwTypeError(ExceptionMessages::failedToExecute("voidMethodTestEnumArg", "TestObject", "parameter 1 ('" + string + "') is not a valid enum value."), info.GetIsolate()); string 65 Source/bindings/v8/IDBBindingUtilities.cpp return v8String(isolate, value.string()); string 92 Source/bindings/v8/IDBBindingUtilities.cpp return v8String(isolate, key->string()); string 149 Source/bindings/v8/IDBBindingUtilities.cpp return v8String(isolate, impl->string()); string 342 Source/bindings/v8/IDBBindingUtilities.cpp return createIDBKeyFromScriptValueAndKeyPath(value, keyPath.string(), isolate, allowExperimentalTypes); string 373 Source/bindings/v8/IDBBindingUtilities.cpp IDBParseKeyPath(keyPath.string(), keyPathElements, error); string 396 Source/bindings/v8/IDBBindingUtilities.cpp IDBParseKeyPath(keyPath.string(), keyPathElements, error); string 81 Source/bindings/v8/IDBBindingUtilitiesTest.cpp ASSERT_TRUE(expected == idbKey->string()); string 105 Source/bindings/v8/NPV8Object.cpp return v8AtomicString(isolate, static_cast<const char*>(identifier->value.string)); string 225 Source/bindings/v8/NPV8Object.cpp if (!strcmp(identifier->value.string, "eval")) { string 243 Source/bindings/v8/NPV8Object.cpp v8::Handle<v8::Value> functionObject = v8Object->Get(v8AtomicString(isolate, identifier->value.string)); string 61 Source/bindings/v8/NPV8Object.h const NPUTF8* string; string 181 Source/bindings/v8/ScriptController.cpp InspectorInstrumentationCookie cookie = InspectorInstrumentation::willEvaluateScript(m_frame, source.url().isNull() ? String() : source.url().string(), source.startLine()); string 533 Source/bindings/v8/ScriptController.cpp String decodedURL = decodeURLEscapeSequences(url.string()); string 71 Source/bindings/v8/ScriptEventListener.cpp sourceURL = node->document().url().string(); string 92 Source/bindings/v8/ScriptEventListener.cpp String sourceURL = frame->document()->url().string(); string 171 Source/bindings/v8/ScriptProfiler.cpp CString url = window->document()->url().string().utf8(); string 58 Source/bindings/v8/ScriptRegexp.cpp int ScriptRegexp::match(const String& string, int startFrom, int* matchLength) const string 63 Source/bindings/v8/ScriptRegexp.cpp if (m_regex.isEmpty() || string.isNull()) string 67 Source/bindings/v8/ScriptRegexp.cpp if (string.length() > INT_MAX) string 77 Source/bindings/v8/ScriptRegexp.cpp v8::Handle<v8::Value> argv[] = { v8String(isolate, string.substring(startFrom)) }; string 36 Source/bindings/v8/ScriptString.cpp ScriptString ScriptString::concatenateWith(const String& string) string 40 Source/bindings/v8/ScriptString.cpp v8::Handle<v8::String> b = v8String(nonNullIsolate, string); string 51 Source/bindings/v8/ScriptValue.cpp v8::Handle<v8::Value> string = v8Value(); string 52 Source/bindings/v8/ScriptValue.cpp if (string.IsEmpty() || !string->IsString()) string 54 Source/bindings/v8/ScriptValue.cpp result = toCoreString(string.As<v8::String>()); string 61 Source/bindings/v8/ScriptValue.cpp v8::Handle<v8::String> string = v8Value()->ToString(); string 64 Source/bindings/v8/ScriptValue.cpp return v8StringToWebCoreString<String>(string, DoNotExternalize); string 362 Source/bindings/v8/SerializedScriptValue.cpp void writeOneByteString(v8::Handle<v8::String>& string) string 364 Source/bindings/v8/SerializedScriptValue.cpp int stringLength = string->Length(); string 365 Source/bindings/v8/SerializedScriptValue.cpp int utf8Length = string->Utf8Length(); string 374 Source/bindings/v8/SerializedScriptValue.cpp string->WriteOneByte(byteAt(m_position), 0, utf8Length, v8StringWriteOptions()); string 377 Source/bindings/v8/SerializedScriptValue.cpp string->WriteUtf8(buffer, utf8Length, 0, v8StringWriteOptions()); string 382 Source/bindings/v8/SerializedScriptValue.cpp void writeUCharString(v8::Handle<v8::String>& string) string 384 Source/bindings/v8/SerializedScriptValue.cpp int length = string->Length(); string 398 Source/bindings/v8/SerializedScriptValue.cpp string->Write(buffer, 0, length, v8StringWriteOptions()); string 409 Source/bindings/v8/SerializedScriptValue.cpp void writeWebCoreString(const String& string) string 414 Source/bindings/v8/SerializedScriptValue.cpp doWriteWebCoreString(string); string 680 Source/bindings/v8/SerializedScriptValue.cpp void doWriteWebCoreString(const String& string) string 682 Source/bindings/v8/SerializedScriptValue.cpp StringUTF8Adaptor stringUTF8(string); string 1229 Source/bindings/v8/SerializedScriptValue.cpp v8::Handle<v8::String> string = value.As<v8::String>(); string 1230 Source/bindings/v8/SerializedScriptValue.cpp if (!string->Length() || string->IsOneByte()) string 1231 Source/bindings/v8/SerializedScriptValue.cpp m_writer.writeOneByteString(string); string 1233 Source/bindings/v8/SerializedScriptValue.cpp m_writer.writeUCharString(string); string 1274 Source/bindings/v8/SerializedScriptValue.cpp m_writer.writeDOMFileSystem(fs->type(), fs->name(), fs->rootURL().string()); string 1868 Source/bindings/v8/SerializedScriptValue.cpp bool readWebCoreString(String* string) string 1875 Source/bindings/v8/SerializedScriptValue.cpp *string = String::fromUTF8(reinterpret_cast<const char*>(m_buffer + m_position), length); string 125 Source/bindings/v8/V8Binding.h inline void v8SetReturnValueString(const CallbackInfo& info, const String& string, v8::Isolate* isolate) string 127 Source/bindings/v8/V8Binding.h if (string.isNull()) { string 131 Source/bindings/v8/V8Binding.h V8PerIsolateData::from(isolate)->stringCache()->setReturnValueFromString(info.GetReturnValue(), string.impl()); string 135 Source/bindings/v8/V8Binding.h inline void v8SetReturnValueStringOrNull(const CallbackInfo& info, const String& string, v8::Isolate* isolate) string 137 Source/bindings/v8/V8Binding.h if (string.isNull()) { string 141 Source/bindings/v8/V8Binding.h V8PerIsolateData::from(isolate)->stringCache()->setReturnValueFromString(info.GetReturnValue(), string.impl()); string 145 Source/bindings/v8/V8Binding.h inline void v8SetReturnValueStringOrUndefined(const CallbackInfo& info, const String& string, v8::Isolate* isolate) string 147 Source/bindings/v8/V8Binding.h if (string.isNull()) { string 151 Source/bindings/v8/V8Binding.h V8PerIsolateData::from(isolate)->stringCache()->setReturnValueFromString(info.GetReturnValue(), string.impl()); string 195 Source/bindings/v8/V8Binding.h inline v8::Handle<v8::String> v8String(v8::Isolate* isolate, const String& string) string 197 Source/bindings/v8/V8Binding.h if (string.isNull()) string 199 Source/bindings/v8/V8Binding.h return V8PerIsolateData::from(isolate)->stringCache()->v8ExternalString(string.impl(), isolate); string 58 Source/bindings/v8/V8NPObject.cpp const char* string() const { return m_isString ? m_value.m_string : 0; } string 379 Source/bindings/v8/V8NPObject.cpp properties->Set(v8::Integer::New(info.GetIsolate(), propertyIndex++), v8AtomicString(info.GetIsolate(), identifier->string())); string 35 Source/bindings/v8/V8StringResource.cpp WebCoreStringResourceBase* WebCoreStringResourceBase::toWebCoreStringResourceBase(v8::Handle<v8::String> string) string 38 Source/bindings/v8/V8StringResource.cpp v8::String::ExternalStringResourceBase* resource = string->GetExternalStringResourceBase(&encoding); string 126 Source/bindings/v8/V8StringResource.cpp String string = String::createUninitialized(length, buffer); string 128 Source/bindings/v8/V8StringResource.cpp return AtomicString(string); string 44 Source/bindings/v8/V8StringResource.h explicit WebCoreStringResourceBase(const String& string) string 45 Source/bindings/v8/V8StringResource.h : m_plainString(string) string 50 Source/bindings/v8/V8StringResource.h ASSERT(!string.isNull()); string 51 Source/bindings/v8/V8StringResource.h v8::Isolate::GetCurrent()->AdjustAmountOfExternalAllocatedMemory(memoryConsumption(string)); string 54 Source/bindings/v8/V8StringResource.h explicit WebCoreStringResourceBase(const AtomicString& string) string 55 Source/bindings/v8/V8StringResource.h : m_plainString(string.string()) string 56 Source/bindings/v8/V8StringResource.h , m_atomicString(string) string 61 Source/bindings/v8/V8StringResource.h ASSERT(!string.isNull()); string 62 Source/bindings/v8/V8StringResource.h v8::Isolate::GetCurrent()->AdjustAmountOfExternalAllocatedMemory(memoryConsumption(string)); string 72 Source/bindings/v8/V8StringResource.h reducedExternalMemory -= memoryConsumption(m_atomicString.string()); string 87 Source/bindings/v8/V8StringResource.h v8::Isolate::GetCurrent()->AdjustAmountOfExternalAllocatedMemory(memoryConsumption(m_atomicString.string())); string 105 Source/bindings/v8/V8StringResource.h static int memoryConsumption(const String& string) string 107 Source/bindings/v8/V8StringResource.h return string.length() * (string.is8Bit() ? sizeof(LChar) : sizeof(UChar)); string 116 Source/bindings/v8/V8StringResource.h explicit WebCoreStringResource16(const String& string) string 117 Source/bindings/v8/V8StringResource.h : WebCoreStringResourceBase(string) string 119 Source/bindings/v8/V8StringResource.h ASSERT(!string.is8Bit()); string 122 Source/bindings/v8/V8StringResource.h explicit WebCoreStringResource16(const AtomicString& string) string 123 Source/bindings/v8/V8StringResource.h : WebCoreStringResourceBase(string) string 125 Source/bindings/v8/V8StringResource.h ASSERT(!string.is8Bit()); string 137 Source/bindings/v8/V8StringResource.h explicit WebCoreStringResource8(const String& string) string 138 Source/bindings/v8/V8StringResource.h : WebCoreStringResourceBase(string) string 140 Source/bindings/v8/V8StringResource.h ASSERT(string.is8Bit()); string 143 Source/bindings/v8/V8StringResource.h explicit WebCoreStringResource8(const AtomicString& string) string 144 Source/bindings/v8/V8StringResource.h : WebCoreStringResourceBase(string) string 146 Source/bindings/v8/V8StringResource.h ASSERT(string.is8Bit()); string 212 Source/bindings/v8/V8StringResource.h void setString(const String& string) string 214 Source/bindings/v8/V8StringResource.h m_string = string; string 34 Source/bindings/v8/V8ValueCache.cpp static v8::Local<v8::String> makeExternalString(const String& string, v8::Isolate* isolate) string 36 Source/bindings/v8/V8ValueCache.cpp if (string.is8Bit()) { string 37 Source/bindings/v8/V8ValueCache.cpp WebCoreStringResource8* stringResource = new WebCoreStringResource8(string); string 44 Source/bindings/v8/V8ValueCache.cpp WebCoreStringResource16* stringResource = new WebCoreStringResource16(string); string 206 Source/bindings/v8/WorkerScriptController.cpp evaluate(sourceCode.source(), sourceCode.url().string(), sourceCode.startPosition(), &state); string 75 Source/bindings/v8/custom/V8SQLResultSetRowListCustom.cpp value = v8String(info.GetIsolate(), sqlValue.string()); string 179 Source/bindings/v8/npruntime.cpp identifier->value.string = reinterpret_cast<NPUTF8*>(nameStorage); string 236 Source/bindings/v8/npruntime.cpp if (!privateIdentifier->isString || !privateIdentifier->value.string) string 239 Source/bindings/v8/npruntime.cpp return (NPUTF8*) strdup(privateIdentifier->value.string); string 264 Source/core/accessibility/AXNodeObject.cpp String idList = getAttribute(attribute).string(); string 935 Source/core/accessibility/AXNodeObject.cpp return getAttribute(aria_valuetextAttr).string(); string 851 Source/core/accessibility/AXObjectCache.cpp if (!attrName.localName().string().startsWith("aria-")) string 710 Source/core/accessibility/AXRenderObject.cpp if (!alt.string().containsOnlyWhitespace()) string 1619 Source/core/accessibility/AXRenderObject.cpp void AXRenderObject::setValue(const String& string) string 1628 Source/core/accessibility/AXRenderObject.cpp toHTMLInputElement(*node()).setValue(string); string 1630 Source/core/accessibility/AXRenderObject.cpp toHTMLTextAreaElement(*node()).setValue(string); string 53 Source/core/animation/AnimatableValueTestHelperTest.cpp ::std::string PrintToString(PassRefPtrWillBeRawPtr<AnimatableValue> animValue) string 67 Source/core/animation/AnimatableValueTestHelperTest.cpp ::std::string("AnimatableColor(rgba(0, 0, 0, 0), #ff0000)"), string 71 Source/core/animation/AnimatableValueTestHelperTest.cpp ::std::string("AnimatableDouble(1)"), string 75 Source/core/animation/AnimatableValueTestHelperTest.cpp ::std::string("AnimatableLength(5px)"), string 79 Source/core/animation/AnimatableValueTestHelperTest.cpp ::std::string("AnimatableLengthBox(AnimatableLength(1px), AnimatableLength(2em), AnimatableLength(3rem), AnimatableLength(4pt))"), string 88 Source/core/animation/AnimatableValueTestHelperTest.cpp ::std::string("AnimatableLengthPoint(AnimatableLength(5%), AnimatableLength(6px))"), string 95 Source/core/animation/AnimatableValueTestHelperTest.cpp ::std::string("AnimatableLengthSize(AnimatableLength(3rem), AnimatableLength(4pt))"), string 109 Source/core/animation/AnimatableValueTestHelperTest.cpp ::std::string("AnimatableRepeatable(AnimatableLength(3rem), AnimatableLength(4pt))"), string 118 Source/core/animation/AnimatableValueTestHelperTest.cpp ::std::string("AnimatableSVGLength(1cm)"), string 122 Source/core/animation/AnimatableValueTestHelperTest.cpp ::std::string("AnimatableSVGPaint(#ff0000)"), string 126 Source/core/animation/AnimatableValueTestHelperTest.cpp ::std::string("AnimatableSVGPaint(url(abc))"), string 137 Source/core/animation/AnimatableValueTestHelperTest.cpp ::std::string("AnimatableStrokeDasharrayList(1cm, 2cm)"), string 143 Source/core/animation/AnimatableValueTestHelperTest.cpp ::std::string("AnimatableTransform([1 0 0 1 2 0])"), string 149 Source/core/animation/AnimatableValueTestHelperTest.cpp ::std::string("AnimatableTransform([1 0 0 1 0 0])"), string 153 Source/core/animation/AnimatableValueTestHelperTest.cpp ::std::string("AnimatableUnknown(none)"), string 157 Source/core/animation/AnimatableValueTestHelperTest.cpp ::std::string("AnimatableVisibility(VISIBLE)"), string 12 Source/core/animation/AnimationTestHelper.cpp v8::Handle<v8::Value> stringToV8Value(String string) string 14 Source/core/animation/AnimationTestHelper.cpp return v8::Handle<v8::Value>::Cast(v8String(v8::Isolate::GetCurrent(), string)); string 338 Source/core/clipboard/Clipboard.cpp m_dataObject->setData(mimeTypeTextPlain, url.string()); string 1246 Source/core/css/CSSComputedStyleDeclaration.cpp return cssValuePool().createValue(family.string(), CSSPrimitiveValue::CSS_STRING); string 176 Source/core/css/CSSCursorImageValue.cpp return toStyleFetchedImage(m_image)->cachedImage()->url().string(); string 58 Source/core/css/CSSGrammar.y #define YYPRINT(File,Type,Value) if (isCSSTokenAString(Type)) YYFPRINTF(File, "%s", String((Value).string).utf8().data()) string 73 Source/core/css/CSSGrammar.y CSSParserString string; string 142 Source/core/css/CSSGrammar.y inline static CSSParserValue makeIdentValue(CSSParserString string) string 145 Source/core/css/CSSGrammar.y v.id = cssValueKeywordID(string); string 147 Source/core/css/CSSGrammar.y v.string = string; string 168 Source/core/css/CSSGrammar.y %token <string> STRING string 169 Source/core/css/CSSGrammar.y %right <string> IDENT string 170 Source/core/css/CSSGrammar.y %token <string> NTH string 172 Source/core/css/CSSGrammar.y %nonassoc <string> HEX string 173 Source/core/css/CSSGrammar.y %nonassoc <string> IDSEL string 177 Source/core/css/CSSGrammar.y %nonassoc <string> '*' string 247 Source/core/css/CSSGrammar.y %token <string> DIMEN string 248 Source/core/css/CSSGrammar.y %token <string> INVALIDDIMEN string 261 Source/core/css/CSSGrammar.y %token <string> URI string 262 Source/core/css/CSSGrammar.y %token <string> FUNCTION string 263 Source/core/css/CSSGrammar.y %token <string> ANYFUNCTION string 264 Source/core/css/CSSGrammar.y %token <string> CUEFUNCTION string 265 Source/core/css/CSSGrammar.y %token <string> NOTFUNCTION string 266 Source/core/css/CSSGrammar.y %token <string> DISTRIBUTEDFUNCTION string 267 Source/core/css/CSSGrammar.y %token <string> CALCFUNCTION string 268 Source/core/css/CSSGrammar.y %token <string> MINFUNCTION string 269 Source/core/css/CSSGrammar.y %token <string> MAXFUNCTION string 270 Source/core/css/CSSGrammar.y %token <string> HOSTFUNCTION string 271 Source/core/css/CSSGrammar.y %token <string> HOSTCONTEXTFUNCTION string 273 Source/core/css/CSSGrammar.y %token <string> UNICODERANGE string 295 Source/core/css/CSSGrammar.y %type <string> maybe_ns_prefix string 297 Source/core/css/CSSGrammar.y %type <string> namespace_selector string 299 Source/core/css/CSSGrammar.y %type <string> string_or_uri string 300 Source/core/css/CSSGrammar.y %type <string> ident_or_string string 301 Source/core/css/CSSGrammar.y %type <string> medium string 322 Source/core/css/CSSGrammar.y %type <string> keyframe_name string 365 Source/core/css/CSSGrammar.y %type <string> min_or_max string 368 Source/core/css/CSSGrammar.y %type <string> element_name string 369 Source/core/css/CSSGrammar.y %type <string> attr_name string 1602 Source/core/css/CSSGrammar.y | STRING maybe_space { $$.id = CSSValueInvalid; $$.string = $1; $$.unit = CSSPrimitiveValue::CSS_STRING; } string 1605 Source/core/css/CSSGrammar.y | DIMEN maybe_space { $$.id = CSSValueInvalid; $$.string = $1; $$.unit = CSSPrimitiveValue::CSS_DIMENSION; } string 1606 Source/core/css/CSSGrammar.y | unary_operator DIMEN maybe_space { $$.id = CSSValueInvalid; $$.string = $2; $$.unit = CSSPrimitiveValue::CSS_DIMENSION; } string 1607 Source/core/css/CSSGrammar.y | URI maybe_space { $$.id = CSSValueInvalid; $$.string = $1; $$.unit = CSSPrimitiveValue::CSS_URI; } string 1608 Source/core/css/CSSGrammar.y | UNICODERANGE maybe_space { $$.id = CSSValueInvalid; $$.string = $1; $$.unit = CSSPrimitiveValue::CSS_UNICODE_RANGE; } string 1609 Source/core/css/CSSGrammar.y | HEX maybe_space { $$.id = CSSValueInvalid; $$.string = $1; $$.unit = CSSPrimitiveValue::CSS_PARSER_HEXCOLOR; } string 1610 Source/core/css/CSSGrammar.y | '#' maybe_space { $$.id = CSSValueInvalid; $$.string = CSSParserString(); $$.unit = CSSPrimitiveValue::CSS_PARSER_HEXCOLOR; } /* Handle error case: "color: #;" */ string 39 Source/core/css/CSSImageValue.cpp , m_absoluteURL(url.string()) string 118 Source/core/css/CSSImageValue.cpp m_absoluteURL = url.string(); string 59 Source/core/css/CSSMarkup.cpp static bool isCSSTokenizerIdentifier(const String& string) string 61 Source/core/css/CSSMarkup.cpp unsigned length = string.length(); string 66 Source/core/css/CSSMarkup.cpp if (string.is8Bit()) string 67 Source/core/css/CSSMarkup.cpp return isCSSTokenizerIdentifier(string.characters8(), length); string 68 Source/core/css/CSSMarkup.cpp return isCSSTokenizerIdentifier(string.characters16(), length); string 99 Source/core/css/CSSMarkup.cpp static bool isCSSTokenizerURL(const String& string) string 101 Source/core/css/CSSMarkup.cpp unsigned length = string.length(); string 106 Source/core/css/CSSMarkup.cpp if (string.is8Bit()) string 107 Source/core/css/CSSMarkup.cpp return isCSSTokenizerURL(string.characters8(), length); string 108 Source/core/css/CSSMarkup.cpp return isCSSTokenizerURL(string.characters16(), length); string 161 Source/core/css/CSSMarkup.cpp String quoteCSSString(const String& string) string 166 Source/core/css/CSSMarkup.cpp unsigned length = string.length(); string 174 Source/core/css/CSSMarkup.cpp if (string.is8Bit()) string 175 Source/core/css/CSSMarkup.cpp return quoteCSSStringInternal(string.characters8(), length); string 176 Source/core/css/CSSMarkup.cpp return quoteCSSStringInternal(string.characters16(), length); string 179 Source/core/css/CSSMarkup.cpp String quoteCSSStringIfNeeded(const String& string) string 181 Source/core/css/CSSMarkup.cpp return isCSSTokenizerIdentifier(string) ? string : quoteCSSString(string); string 184 Source/core/css/CSSMarkup.cpp String quoteCSSURLIfNeeded(const String& string) string 186 Source/core/css/CSSMarkup.cpp return isCSSTokenizerURL(string) ? string : quoteCSSString(string); string 55 Source/core/css/CSSMatrix.cpp void CSSMatrix::setMatrixValue(const String& string, ExceptionState& exceptionState) string 57 Source/core/css/CSSMatrix.cpp if (string.isEmpty()) string 62 Source/core/css/CSSMatrix.cpp if (BisonCSSParser::parseValue(styleDeclaration.get(), CSSPropertyWebkitTransform, string, true, HTMLStandardMode, 0)) { string 74 Source/core/css/CSSMatrix.cpp exceptionState.throwDOMException(SyntaxError, "Failed to interpret '" + string + "' as a transformation operation."); string 88 Source/core/css/CSSMatrix.cpp exceptionState.throwDOMException(SyntaxError, "Failed to parse '" + string + "'."); string 81 Source/core/css/CSSOMUtils.cpp void serializeString(const String& string, StringBuilder& appendTo) string 86 Source/core/css/CSSOMUtils.cpp while (index < string.length()) { string 87 Source/core/css/CSSOMUtils.cpp UChar32 c = string.characterStartingAt(index); string 104 Source/core/css/CSSParserValues.cpp return CSSPrimitiveValue::create(string, CSSPrimitiveValue::CSS_PARSER_IDENTIFIER); string 110 Source/core/css/CSSParserValues.cpp return CSSPrimitiveValue::create(string, primitiveUnit); string 51 Source/core/css/CSSParserValues.h void init(const String& string) string 53 Source/core/css/CSSParserValues.h init(string, 0, string.length()); string 56 Source/core/css/CSSParserValues.h void init(const String& string, unsigned startOffset, unsigned length) string 64 Source/core/css/CSSParserValues.h if (string.is8Bit()) { string 65 Source/core/css/CSSParserValues.h m_data.characters8 = const_cast<LChar*>(string.characters8()) + startOffset; string 68 Source/core/css/CSSParserValues.h m_data.characters16 = const_cast<UChar*>(string.characters16()) + startOffset; string 150 Source/core/css/CSSParserValues.h CSSParserString string; string 291 Source/core/css/CSSPrimitiveValue.cpp if ((m_value.string = str.impl())) string 292 Source/core/css/CSSPrimitiveValue.cpp m_value.string->ref(); string 454 Source/core/css/CSSPrimitiveValue.cpp if (m_value.string) string 455 Source/core/css/CSSPrimitiveValue.cpp m_value.string->deref(); string 850 Source/core/css/CSSPrimitiveValue.cpp return m_value.string; string 869 Source/core/css/CSSPrimitiveValue.cpp return m_value.string; string 1042 Source/core/css/CSSPrimitiveValue.cpp text = formattingFlag == AlwaysQuoteCSSString ? quoteCSSString(m_value.string) : quoteCSSStringIfNeeded(m_value.string); string 1045 Source/core/css/CSSPrimitiveValue.cpp text = "url(" + quoteCSSURLIfNeeded(m_value.string) + ")"; string 1055 Source/core/css/CSSPrimitiveValue.cpp result.reserveCapacity(6 + m_value.string->length()); string 1057 Source/core/css/CSSPrimitiveValue.cpp result.append(m_value.string); string 1064 Source/core/css/CSSPrimitiveValue.cpp text = "counter(" + String(m_value.string) + ')'; string 1099 Source/core/css/CSSPrimitiveValue.cpp Color::parseHexColor(m_value.string, rgbColor); string 1116 Source/core/css/CSSPrimitiveValue.cpp text = quoteCSSStringIfNeeded(m_value.string); string 1153 Source/core/css/CSSPrimitiveValue.cpp result = CSSPrimitiveValue::create(m_value.string, static_cast<UnitTypes>(m_primitiveUnitType)); string 1278 Source/core/css/CSSPrimitiveValue.cpp return equal(m_value.string, other.m_value.string); string 400 Source/core/css/CSSPrimitiveValue.h StringImpl* string; string 275 Source/core/css/CSSSelector.cpp const char* string; string 369 Source/core/css/CSSSelector.cpp const char* str = pseudoTypeMap[i].string; string 582 Source/core/css/CSSSelector.cpp str.append(tagQName().prefix().string()); string 107 Source/core/css/CSSStyleSheet.cpp RefPtrWillBeRawPtr<StyleSheetContents> sheet = StyleSheetContents::create(baseURL.string(), parserContext); string 248 Source/core/css/CSSTokenizer-in.cpp static inline bool isEqualToCSSCaseSensitiveIdentifier(CharacterType* string, const char* constantString) string 253 Source/core/css/CSSTokenizer-in.cpp if (*string++ != *constantString++) string 662 Source/core/css/CSSTokenizer-in.cpp inline void CSSTokenizer::parseURI(CSSParserString& string) string 672 Source/core/css/CSSTokenizer-in.cpp string.init(uriStart, dest - uriStart); string 683 Source/core/css/CSSTokenizer-in.cpp string.init(uriStart16, result16 - uriStart16); string 1135 Source/core/css/CSSTokenizer-in.cpp yylval->string.clear(); string 1150 Source/core/css/CSSTokenizer-in.cpp yylval->string.init(tokenStart<SrcCharacterType>(), currentCharacter<SrcCharacterType>() - tokenStart<SrcCharacterType>()); string 1158 Source/core/css/CSSTokenizer-in.cpp parseIdentifier(result, yylval->string, hasEscape); string 1175 Source/core/css/CSSTokenizer-in.cpp ++yylval->string.m_length; string 1180 Source/core/css/CSSTokenizer-in.cpp if (yylval->string.is8Bit()) string 1181 Source/core/css/CSSTokenizer-in.cpp parseURI<LChar>(yylval->string); string 1183 Source/core/css/CSSTokenizer-in.cpp parseURI<UChar>(yylval->string); string 1195 Source/core/css/CSSTokenizer-in.cpp yylval->string.m_length = currentCharacter<SrcCharacterType>() - tokenStart<SrcCharacterType>(); string 1204 Source/core/css/CSSTokenizer-in.cpp yylval->string.setLength(currentCharacter<SrcCharacterType>() - tokenStart<SrcCharacterType>()); string 1238 Source/core/css/CSSTokenizer-in.cpp yylval->string.init(tokenStart<SrcCharacterType>(), currentCharacter<SrcCharacterType>() - tokenStart<SrcCharacterType>()); string 1277 Source/core/css/CSSTokenizer-in.cpp yylval->string.init(tokenStart<SrcCharacterType>(), currentCharacter<SrcCharacterType>() - tokenStart<SrcCharacterType>()); string 1326 Source/core/css/CSSTokenizer-in.cpp yylval->string = resultString; string 1335 Source/core/css/CSSTokenizer-in.cpp yylval->string.init(tokenStart<SrcCharacterType>(), currentCharacter<SrcCharacterType>() - tokenStart<SrcCharacterType>()); string 1373 Source/core/css/CSSTokenizer-in.cpp parseString<SrcCharacterType>(result, yylval->string, m_token); string 1397 Source/core/css/CSSTokenizer-in.cpp yylval->string.init(start, currentCharacter<SrcCharacterType>() - start); string 1400 Source/core/css/CSSTokenizer-in.cpp parseIdentifier(result, yylval->string, hasEscape); string 1467 Source/core/css/CSSTokenizer-in.cpp yylval->string.init(tokenStart<SrcCharacterType>(), currentCharacter<SrcCharacterType>() - tokenStart<SrcCharacterType>()); string 1491 Source/core/css/CSSTokenizer-in.cpp parseIdentifier(result, yylval->string, hasEscape); string 1537 Source/core/css/CSSTokenizer-in.cpp void CSSTokenizer::setupTokenizer(const char* prefix, unsigned prefixLength, const String& string, const char* suffix, unsigned suffixLength) string 1541 Source/core/css/CSSTokenizer-in.cpp unsigned stringLength = string.length(); string 1545 Source/core/css/CSSTokenizer-in.cpp if (!stringLength || string.is8Bit()) { string 1551 Source/core/css/CSSTokenizer-in.cpp memcpy(m_dataStart8.get() + m_parsedTextPrefixLength, string.characters8(), stringLength * sizeof(LChar)); string 1573 Source/core/css/CSSTokenizer-in.cpp memcpy(m_dataStart16.get() + m_parsedTextPrefixLength, string.characters16(), stringLength * sizeof(UChar)); string 138 Source/core/css/CSSValuePool.cpp PassRefPtrWillBeRawPtr<CSSValueList> CSSValuePool::createFontFaceValue(const AtomicString& string) string 145 Source/core/css/CSSValuePool.cpp RefPtrWillBeMember<CSSValueList>& value = m_fontFaceValueCache.add(string, nullptr).storedValue->value; string 147 Source/core/css/CSSValuePool.cpp value = BisonCSSParser::parseFontFaceValue(string); string 401 Source/core/css/SelectorChecker.cpp static inline bool containsHTMLSpace(const AtomicString& string) string 403 Source/core/css/SelectorChecker.cpp for (unsigned i = 0; i < string.length(); i++) string 404 Source/core/css/SelectorChecker.cpp if (isHTMLSpace<UChar>(string[i])) string 144 Source/core/css/parser/BisonCSSParser-in.cpp void BisonCSSParser::setupParser(const char* prefix, unsigned prefixLength, const String& string, const char* suffix, unsigned suffixLength) string 146 Source/core/css/parser/BisonCSSParser-in.cpp m_tokenizer.setupTokenizer(prefix, prefixLength, string, suffix, suffixLength); string 150 Source/core/css/parser/BisonCSSParser-in.cpp void BisonCSSParser::parseSheet(StyleSheetContents* sheet, const String& string, const TextPosition& startPosition, CSSParserObserver* observer, bool logErrors) string 159 Source/core/css/parser/BisonCSSParser-in.cpp m_source = &string; string 161 Source/core/css/parser/BisonCSSParser-in.cpp setupParser("", string, ""); string 172 Source/core/css/parser/BisonCSSParser-in.cpp PassRefPtrWillBeRawPtr<StyleRuleBase> BisonCSSParser::parseRule(StyleSheetContents* sheet, const String& string) string 176 Source/core/css/parser/BisonCSSParser-in.cpp setupParser("@-internal-rule ", string, ""); string 181 Source/core/css/parser/BisonCSSParser-in.cpp PassRefPtrWillBeRawPtr<StyleKeyframe> BisonCSSParser::parseKeyframeRule(StyleSheetContents* sheet, const String& string) string 184 Source/core/css/parser/BisonCSSParser-in.cpp setupParser("@-internal-keyframe-rule ", string, ""); string 189 Source/core/css/parser/BisonCSSParser-in.cpp PassOwnPtr<Vector<double> > BisonCSSParser::parseKeyframeKeyList(const String& string) string 191 Source/core/css/parser/BisonCSSParser-in.cpp setupParser("@-internal-keyframe-key-list ", string, ""); string 197 Source/core/css/parser/BisonCSSParser-in.cpp bool BisonCSSParser::parseSupportsCondition(const String& string) string 200 Source/core/css/parser/BisonCSSParser-in.cpp setupParser("@-internal-supports-condition ", string, ""); string 234 Source/core/css/parser/BisonCSSParser-in.cpp static bool parseColorValue(MutableStylePropertySet* declaration, CSSPropertyID propertyId, const String& string, bool important, CSSParserMode cssParserMode) string 236 Source/core/css/parser/BisonCSSParser-in.cpp ASSERT(!string.isEmpty()); string 241 Source/core/css/parser/BisonCSSParser-in.cpp cssString.init(string); string 259 Source/core/css/parser/BisonCSSParser-in.cpp if (!CSSPropertyParser::fastParseColor(color, string, !quirksMode && string[0] != '#')) string 329 Source/core/css/parser/BisonCSSParser-in.cpp static bool parseSimpleLengthValue(MutableStylePropertySet* declaration, CSSPropertyID propertyId, const String& string, bool important, CSSParserMode cssParserMode) string 331 Source/core/css/parser/BisonCSSParser-in.cpp ASSERT(!string.isEmpty()); string 338 Source/core/css/parser/BisonCSSParser-in.cpp unsigned length = string.length(); string 342 Source/core/css/parser/BisonCSSParser-in.cpp if (string.is8Bit()) { string 343 Source/core/css/parser/BisonCSSParser-in.cpp if (!parseSimpleLength(string.characters8(), length, unit, number)) string 346 Source/core/css/parser/BisonCSSParser-in.cpp if (!parseSimpleLength(string.characters16(), length, unit, number)) string 845 Source/core/css/parser/BisonCSSParser-in.cpp static bool parseKeywordValue(MutableStylePropertySet* declaration, CSSPropertyID propertyId, const String& string, bool important, const CSSParserContext& parserContext) string 847 Source/core/css/parser/BisonCSSParser-in.cpp ASSERT(!string.isEmpty()); string 851 Source/core/css/parser/BisonCSSParser-in.cpp String lowerCaseString = string.lower(); string 861 Source/core/css/parser/BisonCSSParser-in.cpp cssString.init(string); string 970 Source/core/css/parser/BisonCSSParser-in.cpp static bool parseTranslateTransform(MutableStylePropertySet* properties, CSSPropertyID propertyID, const String& string, bool important) string 974 Source/core/css/parser/BisonCSSParser-in.cpp if (string.isEmpty()) string 977 Source/core/css/parser/BisonCSSParser-in.cpp if (string.is8Bit()) { string 978 Source/core/css/parser/BisonCSSParser-in.cpp const LChar* pos = string.characters8(); string 979 Source/core/css/parser/BisonCSSParser-in.cpp const LChar* end = pos + string.length(); string 984 Source/core/css/parser/BisonCSSParser-in.cpp const UChar* pos = string.characters16(); string 985 Source/core/css/parser/BisonCSSParser-in.cpp const UChar* end = pos + string.length(); string 994 Source/core/css/parser/BisonCSSParser-in.cpp PassRefPtrWillBeRawPtr<CSSValueList> BisonCSSParser::parseFontFaceValue(const AtomicString& string) string 996 Source/core/css/parser/BisonCSSParser-in.cpp if (string.isEmpty()) string 999 Source/core/css/parser/BisonCSSParser-in.cpp if (!parseValue(dummyStyle.get(), CSSPropertyFontFamily, string, false, HTMLQuirksMode, 0)) string 1009 Source/core/css/parser/BisonCSSParser-in.cpp PassRefPtrWillBeRawPtr<CSSValue> BisonCSSParser::parseAnimationTimingFunctionValue(const String& string) string 1011 Source/core/css/parser/BisonCSSParser-in.cpp if (string.isEmpty()) string 1014 Source/core/css/parser/BisonCSSParser-in.cpp if (!parseValue(style.get(), CSSPropertyAnimationTimingFunction, string, false, HTMLStandardMode, 0)) string 1020 Source/core/css/parser/BisonCSSParser-in.cpp bool BisonCSSParser::parseValue(MutableStylePropertySet* declaration, CSSPropertyID propertyID, const String& string, bool important, const Document& document) string 1022 Source/core/css/parser/BisonCSSParser-in.cpp ASSERT(!string.isEmpty()); string 1026 Source/core/css/parser/BisonCSSParser-in.cpp if (parseSimpleLengthValue(declaration, propertyID, string, important, context.mode())) string 1028 Source/core/css/parser/BisonCSSParser-in.cpp if (parseColorValue(declaration, propertyID, string, important, context.mode())) string 1030 Source/core/css/parser/BisonCSSParser-in.cpp if (parseKeywordValue(declaration, propertyID, string, important, context)) string 1034 Source/core/css/parser/BisonCSSParser-in.cpp return parser.parseValue(declaration, propertyID, string, important, static_cast<StyleSheetContents*>(0)); string 1037 Source/core/css/parser/BisonCSSParser-in.cpp bool BisonCSSParser::parseValue(MutableStylePropertySet* declaration, CSSPropertyID propertyID, const String& string, bool important, CSSParserMode cssParserMode, StyleSheetContents* contextStyleSheet) string 1039 Source/core/css/parser/BisonCSSParser-in.cpp ASSERT(!string.isEmpty()); string 1040 Source/core/css/parser/BisonCSSParser-in.cpp if (parseSimpleLengthValue(declaration, propertyID, string, important, cssParserMode)) string 1042 Source/core/css/parser/BisonCSSParser-in.cpp if (parseColorValue(declaration, propertyID, string, important, cssParserMode)) string 1051 Source/core/css/parser/BisonCSSParser-in.cpp if (parseKeywordValue(declaration, propertyID, string, important, context)) string 1053 Source/core/css/parser/BisonCSSParser-in.cpp if (parseTranslateTransform(declaration, propertyID, string, important)) string 1057 Source/core/css/parser/BisonCSSParser-in.cpp return parser.parseValue(declaration, propertyID, string, important, contextStyleSheet); string 1060 Source/core/css/parser/BisonCSSParser-in.cpp bool BisonCSSParser::parseValue(MutableStylePropertySet* declaration, CSSPropertyID propertyID, const String& string, bool important, StyleSheetContents* contextStyleSheet) string 1069 Source/core/css/parser/BisonCSSParser-in.cpp setupParser("@-internal-value ", string, ""); string 1096 Source/core/css/parser/BisonCSSParser-in.cpp bool BisonCSSParser::parseColor(RGBA32& color, const String& string, bool strict) string 1099 Source/core/css/parser/BisonCSSParser-in.cpp if (CSSPropertyParser::fastParseColor(color, string, strict)) string 1105 Source/core/css/parser/BisonCSSParser-in.cpp if (!parser.parseColor(string)) string 1120 Source/core/css/parser/BisonCSSParser-in.cpp bool BisonCSSParser::parseColor(const String& string) string 1122 Source/core/css/parser/BisonCSSParser-in.cpp setupParser("@-internal-decls color:", string, ""); string 1129 Source/core/css/parser/BisonCSSParser-in.cpp bool BisonCSSParser::parseSystemColor(RGBA32& color, const String& string) string 1132 Source/core/css/parser/BisonCSSParser-in.cpp cssColor.init(string); string 1142 Source/core/css/parser/BisonCSSParser-in.cpp void BisonCSSParser::parseSelector(const String& string, CSSSelectorList& selectorList) string 1146 Source/core/css/parser/BisonCSSParser-in.cpp setupParser("@-internal-selector ", string, ""); string 1153 Source/core/css/parser/BisonCSSParser-in.cpp PassRefPtr<ImmutableStylePropertySet> BisonCSSParser::parseInlineStyleDeclaration(const String& string, Element* element) string 1158 Source/core/css/parser/BisonCSSParser-in.cpp return BisonCSSParser(context).parseDeclaration(string, document.elementSheet().contents()); string 1161 Source/core/css/parser/BisonCSSParser-in.cpp PassRefPtr<ImmutableStylePropertySet> BisonCSSParser::parseDeclaration(const String& string, StyleSheetContents* contextStyleSheet) string 1165 Source/core/css/parser/BisonCSSParser-in.cpp setupParser("@-internal-decls ", string, ""); string 1178 Source/core/css/parser/BisonCSSParser-in.cpp bool BisonCSSParser::parseDeclaration(MutableStylePropertySet* declaration, const String& string, CSSParserObserver* observer, StyleSheetContents* contextStyleSheet) string 1184 Source/core/css/parser/BisonCSSParser-in.cpp setupParser("@-internal-decls ", string, ""); string 1208 Source/core/css/parser/BisonCSSParser-in.cpp m_observer->endRuleBody(string.length(), false); string 1213 Source/core/css/parser/BisonCSSParser-in.cpp PassRefPtrWillBeRawPtr<MediaQuerySet> BisonCSSParser::parseMediaQueryList(const String& string) string 1219 Source/core/css/parser/BisonCSSParser-in.cpp setupParser("@-internal-medialist ", string, ""); string 1840 Source/core/css/parser/BisonCSSParser-in.cpp console.addMessage(CSSMessageSource, WarningMessageLevel, message, m_styleSheet->baseURL().string(), lineNumberInStyleSheet + m_startPosition.m_line.zeroBasedInt() + 1, columnNumber + 1); string 264 Source/core/css/parser/BisonCSSParser.h inline void setupParser(const char (&prefix)[prefixLength], const String& string, const char (&suffix)[suffixLength]) string 266 Source/core/css/parser/BisonCSSParser.h setupParser(prefix, prefixLength - 1, string, suffix, suffixLength - 1); string 117 Source/core/css/parser/CSSPropertyParser.cpp return equalIgnoringCase(value->string, b); string 363 Source/core/css/parser/CSSPropertyParser.cpp return cssValuePool().createValue(value->string, CSSPrimitiveValue::CSS_STRING); string 637 Source/core/css/parser/CSSPropertyParser.cpp String uri = value->string; string 758 Source/core/css/parser/CSSPropertyParser.cpp parsedValue = CSSImageValue::create(value->string, completeURL(value->string)); string 1508 Source/core/css/parser/CSSPropertyParser.cpp parsedValue = CSSPrimitiveValue::create(value->string, CSSPrimitiveValue::CSS_URI); string 2283 Source/core/css/parser/CSSPropertyParser.cpp parsedValue = CSSPrimitiveValue::create(val->string, CSSPrimitiveValue::CSS_STRING); string 2308 Source/core/css/parser/CSSPropertyParser.cpp parsedValue = CSSImageValue::create(val->string, completeURL(val->string)); string 2383 Source/core/css/parser/CSSPropertyParser.cpp String attrName = a->string; string 2412 Source/core/css/parser/CSSPropertyParser.cpp value = CSSImageValue::create(valueList->current()->string, completeURL(valueList->current()->string)); string 3115 Source/core/css/parser/CSSPropertyParser.cpp CSSPropertyID result = cssPropertyID(value->string); string 3404 Source/core/css/parser/CSSPropertyParser.cpp return cssValuePool().createValue(value->string, CSSPrimitiveValue::CSS_STRING); string 3829 Source/core/css/parser/CSSPropertyParser.cpp String gridRowNames = currentValue->string; string 4098 Source/core/css/parser/CSSPropertyParser.cpp if (argument->unit == CSSPrimitiveValue::CSS_IDENT && equalIgnoringCase(argument->string, "round")) { string 4536 Source/core/css/parser/CSSPropertyParser.cpp void add(const CSSParserString& string) string 4541 Source/core/css/parser/CSSPropertyParser.cpp if (string.is8Bit()) { string 4542 Source/core/css/parser/CSSPropertyParser.cpp m_builder.append(string.characters8(), string.length()); string 4546 Source/core/css/parser/CSSPropertyParser.cpp m_builder.append(string.characters16(), string.length()); string 4589 Source/core/css/parser/CSSPropertyParser.cpp familyBuilder.add(value->string); string 4594 Source/core/css/parser/CSSPropertyParser.cpp familyBuilder.add(value->string); string 4601 Source/core/css/parser/CSSPropertyParser.cpp list->append(cssValuePool().createFontFamilyValue(value->string)); string 4604 Source/core/css/parser/CSSPropertyParser.cpp familyBuilder.add(value->string); string 4606 Source/core/css/parser/CSSPropertyParser.cpp list->append(cssValuePool().createFontFamilyValue(value->string)); string 4609 Source/core/css/parser/CSSPropertyParser.cpp familyBuilder.add(value->string); string 4732 Source/core/css/parser/CSSPropertyParser.cpp RefPtrWillBeRawPtr<CSSFontFaceSrcValue> uriValue(CSSFontFaceSrcValue::create(completeURL(m_valueList->current()->string))); string 4753 Source/core/css/parser/CSSPropertyParser.cpp uriValue->setFormat(args->current()->string); string 4768 Source/core/css/parser/CSSPropertyParser.cpp valueList->append(CSSFontFaceSrcValue::createLocal(args->current()->string)); string 4776 Source/core/css/parser/CSSPropertyParser.cpp builder.append(localValue->string); string 4828 Source/core/css/parser/CSSPropertyParser.cpp String rangeString = m_valueList->current()->string; string 4907 Source/core/css/parser/CSSPropertyParser.cpp static int checkForValidDouble(const CharacterType* string, const CharacterType* end, const char terminator) string 4909 Source/core/css/parser/CSSPropertyParser.cpp int length = end - string; string 4917 Source/core/css/parser/CSSPropertyParser.cpp if (string[i] == terminator) { string 4921 Source/core/css/parser/CSSPropertyParser.cpp if (!isASCIIDigit(string[i])) { string 4922 Source/core/css/parser/CSSPropertyParser.cpp if (!decimalMarkSeen && string[i] == '.') string 4938 Source/core/css/parser/CSSPropertyParser.cpp static int parseDouble(const CharacterType* string, const CharacterType* end, const char terminator, double& value) string 4940 Source/core/css/parser/CSSPropertyParser.cpp int length = checkForValidDouble(string, end, terminator); string 4950 Source/core/css/parser/CSSPropertyParser.cpp if (string[position] == '.') string 4952 Source/core/css/parser/CSSPropertyParser.cpp localValue = localValue * 10 + string[position] - '0'; string 4964 Source/core/css/parser/CSSPropertyParser.cpp fraction = fraction * 10 + string[position++] - '0'; string 4973 Source/core/css/parser/CSSPropertyParser.cpp static bool parseColorIntOrPercentage(const CharacterType*& string, const CharacterType* end, const char terminator, CSSPrimitiveValue::UnitTypes& expect, int& value) string 4975 Source/core/css/parser/CSSPropertyParser.cpp const CharacterType* current = string; string 5036 Source/core/css/parser/CSSPropertyParser.cpp string = current; string 5041 Source/core/css/parser/CSSPropertyParser.cpp static inline bool isTenthAlpha(const CharacterType* string, const int length) string 5044 Source/core/css/parser/CSSPropertyParser.cpp if (length == 3 && string[0] == '0' && string[1] == '.' && isASCIIDigit(string[2])) string 5048 Source/core/css/parser/CSSPropertyParser.cpp if (length == 2 && string[0] == '.' && isASCIIDigit(string[1])) string 5055 Source/core/css/parser/CSSPropertyParser.cpp static inline bool parseAlphaValue(const CharacterType*& string, const CharacterType* end, const char terminator, int& value) string 5057 Source/core/css/parser/CSSPropertyParser.cpp while (string != end && isHTMLSpace<CharacterType>(*string)) string 5058 Source/core/css/parser/CSSPropertyParser.cpp string++; string 5062 Source/core/css/parser/CSSPropertyParser.cpp if (string != end && *string == '-') { string 5064 Source/core/css/parser/CSSPropertyParser.cpp string++; string 5069 Source/core/css/parser/CSSPropertyParser.cpp int length = end - string; string 5073 Source/core/css/parser/CSSPropertyParser.cpp if (string[length - 1] != terminator || !isASCIIDigit(string[length - 2])) string 5076 Source/core/css/parser/CSSPropertyParser.cpp if (string[0] != '0' && string[0] != '1' && string[0] != '.') { string 5077 Source/core/css/parser/CSSPropertyParser.cpp if (checkForValidDouble(string, end, terminator)) { string 5079 Source/core/css/parser/CSSPropertyParser.cpp string = end; string 5085 Source/core/css/parser/CSSPropertyParser.cpp if (length == 2 && string[0] != '.') { string 5086 Source/core/css/parser/CSSPropertyParser.cpp value = !negative && string[0] == '1' ? 255 : 0; string 5087 Source/core/css/parser/CSSPropertyParser.cpp string = end; string 5091 Source/core/css/parser/CSSPropertyParser.cpp if (isTenthAlpha(string, length - 1)) { string 5093 Source/core/css/parser/CSSPropertyParser.cpp value = negative ? 0 : tenthAlphaValues[string[length - 2] - '0']; string 5094 Source/core/css/parser/CSSPropertyParser.cpp string = end; string 5099 Source/core/css/parser/CSSPropertyParser.cpp if (!parseDouble(string, end, terminator, alpha)) string 5102 Source/core/css/parser/CSSPropertyParser.cpp string = end; string 5351 Source/core/css/parser/CSSPropertyParser.cpp if (!fastParseColor(c, value->string, !inQuirksMode() && value->unit == CSSPrimitiveValue::CSS_IDENT)) string 5830 Source/core/css/parser/CSSPropertyParser.cpp context.commitImage(CSSImageValue::create(val->string, parser.m_context.completeURL(val->string))); string 7097 Source/core/css/parser/CSSPropertyParser.cpp canvas = CSSCanvasValue::create(value->string); string 7119 Source/core/css/parser/CSSPropertyParser.cpp RefPtrWillBeRawPtr<CSSImageValue> image = CSSImageValue::create(arg->string, completeURL(arg->string)); string 7127 Source/core/css/parser/CSSPropertyParser.cpp const String& string = arg->string; string 7128 Source/core/css/parser/CSSPropertyParser.cpp unsigned length = string.length(); string 7131 Source/core/css/parser/CSSPropertyParser.cpp if (string.is8Bit()) { string 7132 Source/core/css/parser/CSSPropertyParser.cpp const LChar* start = string.characters8(); string 7135 Source/core/css/parser/CSSPropertyParser.cpp const UChar* start = string.characters16(); string 7185 Source/core/css/parser/CSSPropertyParser.cpp CSSPropertyID property = cssPropertyID(currentValue->string); string 7363 Source/core/css/parser/CSSPropertyParser.cpp referenceFilterValue->append(CSSSVGDocumentValue::create(value->string)); string 7794 Source/core/css/parser/CSSPropertyParser.cpp if (value->string.length() != tagNameLength) string 7798 Source/core/css/parser/CSSPropertyParser.cpp UChar character = value->string[i]; string 7803 Source/core/css/parser/CSSPropertyParser.cpp AtomicString tag = value->string; string 8017 Source/core/css/parser/CSSPropertyParser.cpp CSSPropertyID cssPropertyID(const String& string) string 8019 Source/core/css/parser/CSSPropertyParser.cpp unsigned length = string.length(); string 8026 Source/core/css/parser/CSSPropertyParser.cpp return string.is8Bit() ? cssPropertyID(string.characters8(), length) : cssPropertyID(string.characters16(), length); string 8029 Source/core/css/parser/CSSPropertyParser.cpp CSSPropertyID cssPropertyID(const CSSParserString& string) string 8031 Source/core/css/parser/CSSPropertyParser.cpp unsigned length = string.length(); string 8038 Source/core/css/parser/CSSPropertyParser.cpp return string.is8Bit() ? cssPropertyID(string.characters8(), length) : cssPropertyID(string.characters16(), length); string 8058 Source/core/css/parser/CSSPropertyParser.cpp CSSValueID cssValueKeywordID(const CSSParserString& string) string 8060 Source/core/css/parser/CSSPropertyParser.cpp unsigned length = string.length(); string 8066 Source/core/css/parser/CSSPropertyParser.cpp return string.is8Bit() ? cssValueKeywordID(string.characters8(), length) : cssValueKeywordID(string.characters16(), length); string 8139 Source/core/css/parser/CSSPropertyParser.cpp parsedValue = CSSPrimitiveValue::create(value->string, CSSPrimitiveValue::CSS_URI); string 8239 Source/core/css/parser/CSSPropertyParser.cpp parsedValue = SVGPaint::createURIAndColor(value->string, c); string 8241 Source/core/css/parser/CSSPropertyParser.cpp parsedValue = SVGPaint::createURIAndNone(value->string); string 8243 Source/core/css/parser/CSSPropertyParser.cpp parsedValue = SVGPaint::createURIAndCurrentColor(value->string); string 8246 Source/core/css/parser/CSSPropertyParser.cpp parsedValue = SVGPaint::createURI(value->string); string 8263 Source/core/css/parser/CSSPropertyParser.cpp StyleColor styleColor = SVGPaint::colorFromRGBColorString(value->string); string 8322 Source/core/css/parser/CSSPropertyParser.cpp parsedValue = CSSPrimitiveValue::create(value->string, (CSSPrimitiveValue::UnitTypes) value->unit); string 8358 Source/core/css/parser/CSSPropertyParser.cpp parsedValue = CSSPrimitiveValue::create(value->string, (CSSPrimitiveValue::UnitTypes) value->unit); string 178 Source/core/css/parser/MediaQueryTokenizer.cpp void MediaQueryTokenizer::tokenize(String string, Vector<MediaQueryToken>& outTokens) string 188 Source/core/css/parser/MediaQueryTokenizer.cpp MediaQueryInputStream input(string); string 1347 Source/core/css/resolver/StyleBuilderCustom.cpp state.style()->setContent(value.isNull() ? emptyString() : value.string(), didSet); string 1371 Source/core/css/resolver/StyleResolver.cpp fprintf(stderr, "=== Style Resolver Stats (resolve #%u) (%s) ===\n", ++m_styleResolverStatsSequence, m_document.url().string().utf8().data()); string 80 Source/core/dom/Attr.cpp RefPtr<Text> textNode = document().createTextNode(value().string()); string 69 Source/core/dom/CharacterData.cpp void CharacterData::parserAppendData(const String& string) string 72 Source/core/dom/CharacterData.cpp m_data = m_data + string; string 65 Source/core/dom/DOMImplementation.cpp static void addString(FeatureSet& set, const char* string) string 67 Source/core/dom/DOMImplementation.cpp set.add(string); string 38 Source/core/dom/DOMStringList.cpp bool DOMStringList::contains(const String& string) const string 45 Source/core/dom/DOMStringList.cpp if (m_strings[i] == string) string 48 Source/core/dom/DOMStringList.h void append(const String& string) { m_strings.append(string); } string 73 Source/core/dom/DOMTokenList.cpp tokens.append(token.string()); string 102 Source/core/dom/DOMTokenList.cpp tokens.append(token.string()); string 171 Source/core/dom/DOMTokenList.cpp tokens.append(token.string()); string 200 Source/core/dom/DOMTokenList.cpp tokens.append(token.string()); string 85 Source/core/dom/DOMURL.cpp return publicURL.string(); string 40 Source/core/dom/DOMURLUtilsReadOnly.cpp return url.string(); string 341 Source/core/dom/Document.cpp String message = "Unsafe JavaScript attempt to initiate navigation for frame with URL '" + frame.document()->url().string() + "' from frame with URL '" + activeURL.string() + "'. " + reason + "\n"; string 2999 Source/core/dom/Document.cpp refreshURL = url().string(); string 3001 Source/core/dom/Document.cpp refreshURL = completeURL(refreshURL).string(); string 4829 Source/core/dom/Document.cpp messageURL = url().string(); string 2670 Source/core/dom/Element.cpp return getAttribute(attributeName).string().toInt(); string 2680 Source/core/dom/Element.cpp return getAttribute(attributeName).string().toUInt(); string 1064 Source/core/dom/Position.cpp String string = toText(prev.deprecatedNode())->data(); string 1065 Source/core/dom/Position.cpp UChar c = string[prev.deprecatedEditingOffset()]; string 124 Source/core/dom/ProcessingInstruction.cpp String url = document().completeURL(href).string(); string 96 Source/core/dom/QualifiedName.cpp return prefix().string() + ":" + local; string 46 Source/core/dom/SpaceSplitString.cpp static inline bool hasNonASCIIOrUpper(const String& string) string 48 Source/core/dom/SpaceSplitString.cpp unsigned length = string.length(); string 50 Source/core/dom/SpaceSplitString.cpp if (string.is8Bit()) string 51 Source/core/dom/SpaceSplitString.cpp return hasNonASCIIOrUpper(string.characters8(), length); string 52 Source/core/dom/SpaceSplitString.cpp return hasNonASCIIOrUpper(string.characters16(), length); string 74 Source/core/dom/SpaceSplitString.cpp void SpaceSplitStringData::createVector(const String& string) string 76 Source/core/dom/SpaceSplitString.cpp unsigned length = string.length(); string 78 Source/core/dom/SpaceSplitString.cpp if (string.is8Bit()) { string 79 Source/core/dom/SpaceSplitString.cpp createVector(string.characters8(), length); string 83 Source/core/dom/SpaceSplitString.cpp createVector(string.characters16(), length); string 106 Source/core/dom/SpaceSplitString.cpp void SpaceSplitStringData::add(const AtomicString& string) string 109 Source/core/dom/SpaceSplitString.cpp ASSERT(!contains(string)); string 110 Source/core/dom/SpaceSplitString.cpp m_vector.append(string); string 119 Source/core/dom/SpaceSplitString.cpp void SpaceSplitString::add(const AtomicString& string) string 122 Source/core/dom/SpaceSplitString.cpp if (contains(string)) string 126 Source/core/dom/SpaceSplitString.cpp m_data->add(string); string 129 Source/core/dom/SpaceSplitString.cpp bool SpaceSplitString::remove(const AtomicString& string) string 136 Source/core/dom/SpaceSplitString.cpp if ((*m_data)[i] == string) { string 163 Source/core/dom/SpaceSplitString.cpp String string(inputString.string()); string 164 Source/core/dom/SpaceSplitString.cpp if (shouldFoldCase && hasNonASCIIOrUpper(string)) string 165 Source/core/dom/SpaceSplitString.cpp string = string.foldCase(); string 167 Source/core/dom/SpaceSplitString.cpp m_data = SpaceSplitStringData::create(AtomicString(string)); string 176 Source/core/dom/SpaceSplitString.cpp PassRefPtr<SpaceSplitStringData> SpaceSplitStringData::create(const AtomicString& string) string 178 Source/core/dom/SpaceSplitString.cpp SpaceSplitStringData*& data = sharedDataMap().add(string, 0).storedValue->value; string 180 Source/core/dom/SpaceSplitString.cpp data = new SpaceSplitStringData(string); string 191 Source/core/dom/SpaceSplitString.cpp SpaceSplitStringData::SpaceSplitStringData(const AtomicString& string) string 192 Source/core/dom/SpaceSplitString.cpp : m_keyString(string) string 194 Source/core/dom/SpaceSplitString.cpp ASSERT(!string.isNull()); string 195 Source/core/dom/SpaceSplitString.cpp createVector(string); string 37 Source/core/dom/SpaceSplitString.h bool contains(const AtomicString& string) string 41 Source/core/dom/SpaceSplitString.h if (m_vector[i] == string) string 71 Source/core/dom/SpaceSplitString.h SpaceSplitString(const AtomicString& string, bool shouldFoldCase) { set(string, shouldFoldCase); } string 78 Source/core/dom/SpaceSplitString.h bool contains(const AtomicString& string) const { return m_data && m_data->contains(string); } string 83 Source/core/dom/custom/CustomElement.cpp return Document::isValidName(name.string()); string 648 Source/core/editing/CompositeEditCommand.cpp String string = text.substring(upstream, length); string 649 Source/core/editing/CompositeEditCommand.cpp String rebalancedString = stringWithRebalancedWhitespace(string, string 655 Source/core/editing/CompositeEditCommand.cpp if (string != rebalancedString) string 155 Source/core/editing/MarkupAccumulator.cpp return element.document().completeURL(urlString).string(); string 159 Source/core/editing/MarkupAccumulator.cpp return element.document().completeURL(urlString).string(); string 168 Source/core/editing/MarkupAccumulator.cpp void MarkupAccumulator::appendString(const String& string) string 170 Source/core/editing/MarkupAccumulator.cpp m_markup.append(string); string 278 Source/core/editing/MarkupAccumulator.cpp result.append(xmlnsAtom.string()); string 40 Source/core/editing/SmartReplaceICU.cpp static void addAllCodePoints(USet* smartSet, const String& string) string 42 Source/core/editing/SmartReplaceICU.cpp for (size_t i = 0; i < string.length(); i++) string 43 Source/core/editing/SmartReplaceICU.cpp uset_add(smartSet, string[i]); string 52 Source/core/editing/TextInsertionBaseCommand.h void forEachLineInString(const String& string, const LineOperation& operation) string 56 Source/core/editing/TextInsertionBaseCommand.h while ((newline = string.find('\n', offset)) != kNotFound) { string 61 Source/core/editing/TextInsertionBaseCommand.h operation(0, string.length(), true); string 63 Source/core/editing/TextInsertionBaseCommand.h unsigned length = string.length(); string 551 Source/core/editing/TextIterator.cpp return string()[startOffset() + index]; string 565 Source/core/editing/TextIterator.cpp return string().substring(startOffset() + position, length); string 577 Source/core/editing/TextIterator.cpp builder.append(string(), startOffset() + position, lengthToAppend); string 103 Source/core/editing/TextIterator.h string().appendTo(output, startOffset() + position, lengthToAppend); string 125 Source/core/editing/TextIterator.h const String& string() const { return m_text; } string 289 Source/core/editing/VisibleUnits.cpp int& previousBoxLength, bool& previousBoxInDifferentBlock, Vector<UChar, 1024>& string, CachedLogicallyOrderedLeafBoxes& leafBoxes) string 297 Source/core/editing/VisibleUnits.cpp string.clear(); string 300 Source/core/editing/VisibleUnits.cpp previousBox->textRenderer().text().appendTo(string, previousBox->start(), previousBoxLength); string 303 Source/core/editing/VisibleUnits.cpp textBox->textRenderer().text().appendTo(string, textBox->start(), textBox->len()); string 306 Source/core/editing/VisibleUnits.cpp return wordBreakIterator(string.data(), len); string 310 Source/core/editing/VisibleUnits.cpp bool& nextBoxInDifferentBlock, Vector<UChar, 1024>& string, CachedLogicallyOrderedLeafBoxes& leafBoxes) string 318 Source/core/editing/VisibleUnits.cpp string.clear(); string 319 Source/core/editing/VisibleUnits.cpp textBox->textRenderer().text().appendTo(string, textBox->start(), textBox->len()); string 322 Source/core/editing/VisibleUnits.cpp nextBox->textRenderer().text().appendTo(string, nextBox->start(), nextBox->len()); string 326 Source/core/editing/VisibleUnits.cpp return wordBreakIterator(string.data(), len); string 360 Source/core/editing/VisibleUnits.cpp Vector<UChar, 1024> string; string 385 Source/core/editing/VisibleUnits.cpp iter = wordBreakIteratorForMinOffsetBoundary(visiblePosition, textBox, previousBoxLength, previousBoxInDifferentBlock, string, leafBoxes); string 387 Source/core/editing/VisibleUnits.cpp iter = wordBreakIteratorForMaxOffsetBoundary(visiblePosition, textBox, nextBoxInDifferentBlock, string, leafBoxes); string 462 Source/core/editing/VisibleUnits.cpp Vector<UChar, 1024> string; string 475 Source/core/editing/VisibleUnits.cpp string.append(characters.data(), i); string 497 Source/core/editing/VisibleUnits.cpp it.prependTextTo(string); string 502 Source/core/editing/VisibleUnits.cpp string.prepend(iteratorString.data(), iteratorString.size()); string 504 Source/core/editing/VisibleUnits.cpp next = searchFunction(string.data(), string.size(), string.size() - suffixLength, MayHaveMoreContext, needMoreContext); string 512 Source/core/editing/VisibleUnits.cpp next = searchFunction(string.data(), string.size(), string.size() - suffixLength, DontHaveMoreContext, needMoreContext); string 526 Source/core/editing/VisibleUnits.cpp charIt.advance(string.size() - suffixLength - next); string 542 Source/core/editing/VisibleUnits.cpp Vector<UChar, 1024> string; string 554 Source/core/editing/VisibleUnits.cpp string.prepend(characters.data() + i, length - i); string 573 Source/core/editing/VisibleUnits.cpp it.appendTextTo(string); string 578 Source/core/editing/VisibleUnits.cpp string.append(iteratorString.data(), iteratorString.size()); string 580 Source/core/editing/VisibleUnits.cpp next = searchFunction(string.data(), string.size(), prefixLength, MayHaveMoreContext, needMoreContext); string 581 Source/core/editing/VisibleUnits.cpp if (next != string.size()) string 588 Source/core/editing/VisibleUnits.cpp next = searchFunction(string.data(), string.size(), prefixLength, DontHaveMoreContext, needMoreContext); string 592 Source/core/editing/VisibleUnits.cpp if (it.atEnd() && next == string.size()) { string 364 Source/core/editing/htmlediting.cpp String stringWithRebalancedWhitespace(const String& string, bool startIsStartOfParagraph, bool endIsEndOfParagraph) string 366 Source/core/editing/htmlediting.cpp unsigned length = string.length(); string 373 Source/core/editing/htmlediting.cpp UChar c = string[i]; string 107 Source/core/editing/markup.cpp changes.append(AttributeChange(element, attribute.name(), KURL(parsedBaseURL, attribute.value()).string())); string 746 Source/core/editing/markup.cpp static void fillContainerFromString(ContainerNode* paragraph, const String& string) string 750 Source/core/editing/markup.cpp if (string.isEmpty()) { string 755 Source/core/editing/markup.cpp ASSERT(string.find('\n') == kNotFound); string 758 Source/core/editing/markup.cpp string.split('\t', true, tabList); string 828 Source/core/editing/markup.cpp String string = text; string 829 Source/core/editing/markup.cpp string.replace("\r\n", "\n"); string 830 Source/core/editing/markup.cpp string.replace('\r', '\n'); string 833 Source/core/editing/markup.cpp fragment->appendChild(document.createTextNode(string)); string 834 Source/core/editing/markup.cpp if (string.endsWith('\n')) { string 843 Source/core/editing/markup.cpp if (string.find('\n') == kNotFound) { string 844 Source/core/editing/markup.cpp fillContainerFromString(fragment.get(), string); string 859 Source/core/editing/markup.cpp string.split('\n', true, list); // true gets us empty strings in the list string 906 Source/core/editing/markup.cpp markup.append(url.string()); string 168 Source/core/fetch/CrossOriginAccessControl.cpp } else if (accessControlOriginString.string().find(isOriginSeparator, 0) != kNotFound) { string 216 Source/core/fetch/CrossOriginAccessControl.cpp errorDescription = "The request was redirected to a URL ('" + requestURL.string() + "') which has a disallowed scheme for cross-origin requests."; string 221 Source/core/fetch/CrossOriginAccessControl.cpp errorDescription = "The request was redirected to a URL ('" + requestURL.string() + "') containing userinfo, which is disallowed for cross-origin requests."; string 116 Source/core/fetch/MemoryCache.cpp WTF_LOG(ResourceLoading, "MemoryCache::add Added '%s', resource %p\n", resource->url().string().latin1().data(), resource); string 313 Source/core/fetch/MemoryCache.cpp WTF_LOG(ResourceLoading, "Evicting resource %p for '%s' from cache", resource, resource->url().string().latin1().data()); string 156 Source/core/fetch/Resource.cpp WTF_LOG(ResourceLoading, "Cannot start loading '%s'", url().string().latin1().data()); string 835 Source/core/fetch/Resource.cpp return sizeof(Resource) + m_response.memoryUsage() + kAverageClientsHashMapSize + m_resourceRequest.url().string().length() * 2; string 707 Source/core/fetch/ResourceFetcher.cpp ASSERT(resource->url() == url.string()); string 808 Source/core/fetch/ResourceFetcher.cpp TRACE_EVENT_ASYNC_BEGIN2("net", "Resource", newResource.get(), "url", newResource->url().string().ascii(), "priority", newResource->resourceRequest().priority()); string 823 Source/core/fetch/ResourceFetcher.cpp TRACE_EVENT_ASYNC_BEGIN2("net", "Resource", resource.get(), "url", resource->url().string().ascii(), "priority", resource->resourceRequest().priority()); string 1125 Source/core/fetch/ResourceFetcher.cpp encoding = charset.isEmpty() ? m_document->charset().string() : charset; string 1141 Source/core/fetch/ResourceFetcher.cpp printf("PRELOADING %s\n", resource->url().string().latin1().data()); string 1331 Source/core/fetch/ResourceFetcher.cpp printf("!! UNREFERENCED PRELOAD %s\n", res->url().string().latin1().data()); string 1333 Source/core/fetch/ResourceFetcher.cpp printf("HIT COMPLETE PRELOAD %s\n", res->url().string().latin1().data()); string 1335 Source/core/fetch/ResourceFetcher.cpp printf("HIT LOADING PRELOAD %s\n", res->url().string().latin1().data()); string 252 Source/core/fetch/ResourceLoader.cpp WTF_LOG(ResourceLoading, "Cancelled load of '%s'.\n", m_resource->url().string().latin1().data()); string 414 Source/core/fetch/ResourceLoader.cpp WTF_LOG(ResourceLoading, "Received '%s'.", m_resource->url().string().latin1().data()); string 433 Source/core/fetch/ResourceLoader.cpp WTF_LOG(ResourceLoading, "Failed to load '%s'.\n", m_resource->url().string().latin1().data()); string 84 Source/core/fetch/ScriptResource.cpp return m_script.string(); string 1047 Source/core/frame/DOMWindow.cpp bool DOMWindow::find(const String& string, bool caseSensitive, bool backwards, bool wrap, bool /*wholeWord*/, bool /*searchInFrames*/, bool /*showDialog*/) const string 1057 Source/core/frame/DOMWindow.cpp return m_frame->editor().findString(string, !backwards, caseSensitive, wrap, false); string 1212 Source/core/frame/DOMWindow.cpp void DOMWindow::setStatus(const String& string) string 1214 Source/core/frame/DOMWindow.cpp m_status = string; string 1227 Source/core/frame/DOMWindow.cpp void DOMWindow::setDefaultStatus(const String& string) string 1229 Source/core/frame/DOMWindow.cpp m_defaultStatus = string; string 66 Source/core/frame/Location.cpp return url().string(); string 152 Source/core/frame/Location.cpp setLocation(url.string(), callingWindow, enteredWindow); string 161 Source/core/frame/Location.cpp setLocation(url.string(), callingWindow, enteredWindow); string 170 Source/core/frame/Location.cpp setLocation(url.string(), callingWindow, enteredWindow); string 179 Source/core/frame/Location.cpp setLocation(url.string(), callingWindow, enteredWindow); string 188 Source/core/frame/Location.cpp setLocation(url.string(), callingWindow, enteredWindow); string 197 Source/core/frame/Location.cpp setLocation(url.string(), callingWindow, enteredWindow); string 215 Source/core/frame/Location.cpp setLocation(url.string(), callingWindow, enteredWindow); string 45 Source/core/frame/SmartClip.h SmartClipData(Node* node, IntRect rect, String string) string 48 Source/core/frame/SmartClip.h , m_string(string) string 574 Source/core/frame/csp/ContentSecurityPolicy.cpp init.documentURI = document->url().string(); string 35 Source/core/html/FormDataList.cpp void FormDataList::appendString(const String& string) string 37 Source/core/html/FormDataList.cpp CString encodedString = m_encoding.encode(string, WTF::EntitiesForUnencodables); string 41 Source/core/html/FormDataList.cpp void FormDataList::appendString(const CString& string) string 43 Source/core/html/FormDataList.cpp m_items.append(string); string 344 Source/core/html/HTMLAnchorElement.cpp setHref(AtomicString(url.string())); string 132 Source/core/html/HTMLAppletElement.cpp paramValues.append(codeBase.string()); string 138 Source/core/html/HTMLAppletElement.cpp paramValues.append(archive.string()); string 143 Source/core/html/HTMLAppletElement.cpp paramValues.append(code.string()); string 162 Source/core/html/HTMLAppletElement.cpp paramValues.append(name.string()); string 167 Source/core/html/HTMLAppletElement.cpp paramValues.append(baseURL.string()); string 172 Source/core/html/HTMLAppletElement.cpp paramValues.append(mayScript.string()); string 216 Source/core/html/HTMLAppletElement.cpp FrameLoader::reportLocalLoadFailed(document().frame(), url.string()); string 67 Source/core/html/HTMLAreaElement.cpp m_coords = parseHTMLAreaElementCoords(value.string()); string 93 Source/core/html/HTMLEmbedElement.cpp m_serviceType = value.string().lower(); string 121 Source/core/html/HTMLEmbedElement.cpp paramNames.append(attribute.localName().string()); string 122 Source/core/html/HTMLEmbedElement.cpp paramValues.append(attribute.value().string()); string 78 Source/core/html/HTMLFrameElementBase.cpp m_URL = AtomicString(blankURL().string()); string 220 Source/core/html/HTMLFrameOwnerElement.cpp toLocalFrame(contentFrame())->navigationScheduler().scheduleLocationChange(&document(), url.string(), Referrer(document().outgoingReferrer(), document().referrerPolicy()), lockBackForwardList); string 225 Source/core/html/HTMLFrameOwnerElement.cpp FrameLoader::reportLocalLoadFailed(parentFrame.get(), url.string()); string 80 Source/core/html/HTMLFrameSetElement.cpp m_rowLengths = parseListOfDimensions(value.string()); string 85 Source/core/html/HTMLFrameSetElement.cpp m_colLengths = parseListOfDimensions(value.string()); string 317 Source/core/html/HTMLImageElement.cpp || (attribute.name() == usemapAttr && attribute.value().string()[0] != '#') string 403 Source/core/html/HTMLImageElement.cpp if (usemap.string()[0] == '#') string 173 Source/core/html/HTMLLinkElement.cpp m_media = value.string().lower(); string 82 Source/core/html/HTMLMapElement.cpp String useMapName = imageElement.getAttribute(usemapAttr).string().substring(1); string 96 Source/core/html/HTMLMediaElement.cpp if (url.string().length() < maximumURLLengthForLogging) string 97 Source/core/html/HTMLMediaElement.cpp return url.string(); string 98 Source/core/html/HTMLMediaElement.cpp return url.string().substring(0, maximumURLLengthForLogging) + "..."; string 176 Source/core/html/HTMLMediaElement.cpp contentMIMEType = mimeTypeFromDataURL(url.string()); string 836 Source/core/html/HTMLMediaElement.cpp if (isMediaStreamURL(url.string())) { string 839 Source/core/html/HTMLMediaElement.cpp m_mediaSource = HTMLMediaSource::lookup(url.string()); string 894 Source/core/html/HTMLMediaElement.cpp if (isMediaStreamURL(m_currentSrc.string())) string 532 Source/core/html/HTMLMediaElement.h static String string(const double value) string 540 Source/core/html/HTMLMediaElement.h static String string(TextTrackCue* const& cue) string 188 Source/core/html/HTMLObjectElement.cpp paramNames.append(name.string()); string 189 Source/core/html/HTMLObjectElement.cpp paramValues.append(attribute.value().string()); string 369 Source/core/html/HTMLObjectElement.cpp || (attribute.name() == usemapAttr && attribute.value().string()[0] != '#') string 446 Source/core/html/HTMLObjectElement.cpp && MIMETypeRegistry::isJavaAppletMIMEType(child->getAttribute(valueAttr).string())) string 470 Source/core/html/HTMLPlugInElement.cpp WTF_LOG(Plugins, " Loaded URL: %s", url.string().utf8().data()); string 539 Source/core/html/HTMLPlugInElement.cpp FrameLoader::reportLocalLoadFailed(frame, url.string()); string 124 Source/core/html/HTMLScriptElement.cpp return getAttribute(srcAttr).string(); string 129 Source/core/html/HTMLScriptElement.cpp return getAttribute(charsetAttr).string(); string 134 Source/core/html/HTMLScriptElement.cpp return getAttribute(typeAttr).string(); string 139 Source/core/html/HTMLScriptElement.cpp return getAttribute(languageAttr).string(); string 144 Source/core/html/HTMLScriptElement.cpp return getAttribute(forAttr).string(); string 149 Source/core/html/HTMLScriptElement.cpp return getAttribute(eventAttr).string(); string 433 Source/core/html/HTMLTextAreaElement.cpp int value = getAttribute(maxlengthAttr).string().toInt(&ok); string 135 Source/core/html/HTMLTextFormControlElement.cpp return attributeValue.string().find(isNotLineBreak) == kNotFound; string 47 Source/core/html/HTMLTrackElement.cpp if (url.string().length() < maximumURLLengthForLogging) string 48 Source/core/html/HTMLTrackElement.cpp return url.string(); string 49 Source/core/html/HTMLTrackElement.cpp return url.string().substring(0, maximumURLLengthForLogging) + "..."; string 202 Source/core/html/ImageDocument.cpp m_imageElement->setSrc(url().string()); string 102 Source/core/html/PluginDocument.cpp m_embedElement->setAttribute(srcAttr, AtomicString(document()->url().string())); string 58 Source/core/html/PublicURLManager.cpp found->value.add(url.string(), uuid); string 64 Source/core/html/PublicURLManager.cpp if (i->value.contains(url.string())) { string 66 Source/core/html/PublicURLManager.cpp i->value.remove(url.string()); string 41 Source/core/html/TimeRangesTest.cpp static std::string ToString(const TimeRanges& ranges) string 83 Source/core/html/TimeRangesTest.cpp std::string expected = "{ [0,2) [3,4) [5,100) }"; string 84 Source/core/html/canvas/WebGLRenderingContext.cpp blink::WebGraphicsContext3D::Attributes attributes = attrs->attributes(document.topDocument().url().string(), settings); string 3157 Source/core/html/canvas/WebGLRenderingContextBase.cpp void WebGLRenderingContextBase::shaderSource(WebGLShader* shader, const String& string) string 3161 Source/core/html/canvas/WebGLRenderingContextBase.cpp String stringWithoutComments = StripComments(string).result(); string 3164 Source/core/html/canvas/WebGLRenderingContextBase.cpp shader->setSource(string); string 4462 Source/core/html/canvas/WebGLRenderingContextBase.cpp bool WebGLRenderingContextBase::validateLocationLength(const char* functionName, const String& string) string 4465 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (string.length() > maxWebGLLocationLength) { string 4481 Source/core/html/canvas/WebGLRenderingContextBase.cpp bool WebGLRenderingContextBase::validateString(const char* functionName, const String& string) string 4483 Source/core/html/canvas/WebGLRenderingContextBase.cpp for (size_t i = 0; i < string.length(); ++i) { string 4484 Source/core/html/canvas/WebGLRenderingContextBase.cpp if (!validateCharacter(string[i])) { string 5372 Source/core/html/canvas/WebGLRenderingContextBase.cpp blink::WebGraphicsContext3D::Attributes attributes = m_requestedAttributes->attributes(canvas()->document().topDocument().url().string(), settings); string 78 Source/core/html/forms/DateInputType.cpp bool DateInputType::parseToDateComponentsInternal(const String& string, DateComponents* out) const string 82 Source/core/html/forms/DateInputType.cpp return out->parseDate(string, 0, end) && end == string.length(); string 87 Source/core/html/forms/DateTimeLocalInputType.cpp bool DateTimeLocalInputType::parseToDateComponentsInternal(const String& string, DateComponents* out) const string 91 Source/core/html/forms/DateTimeLocalInputType.cpp return out->parseDateTimeLocal(string, 0, end) && end == string.length(); string 339 Source/core/html/forms/FormController.cpp builder.append(actionURL.string()); string 430 Source/core/html/forms/InputType.cpp Decimal InputType::parseToNumberOrNaN(const String& string) const string 432 Source/core/html/forms/InputType.cpp return parseToNumber(string, Decimal::nan()); string 119 Source/core/html/forms/MonthInputType.cpp bool MonthInputType::parseToDateComponentsInternal(const String& string, DateComponents* out) const string 123 Source/core/html/forms/MonthInputType.cpp return out->parseMonth(string, 0, end) && end == string.length(); string 401 Source/core/html/forms/TextFieldInputType.cpp static String limitLength(const String& string, unsigned maxLength) string 403 Source/core/html/forms/TextFieldInputType.cpp unsigned newLength = std::min(maxLength, string.length()); string 404 Source/core/html/forms/TextFieldInputType.cpp if (newLength == string.length()) string 405 Source/core/html/forms/TextFieldInputType.cpp return string; string 406 Source/core/html/forms/TextFieldInputType.cpp if (newLength > 0 && U16_IS_LEAD(string[newLength - 1])) string 408 Source/core/html/forms/TextFieldInputType.cpp return string.left(newLength); string 96 Source/core/html/forms/TimeInputType.cpp bool TimeInputType::parseToDateComponentsInternal(const String& string, DateComponents* out) const string 100 Source/core/html/forms/TimeInputType.cpp return out->parseTime(string, 0, end) && end == string.length(); string 47 Source/core/html/forms/TypeAhead.cpp static String stripLeadingWhiteSpace(const String& string) string 49 Source/core/html/forms/TypeAhead.cpp unsigned length = string.length(); string 53 Source/core/html/forms/TypeAhead.cpp if (string[i] != noBreakSpace && !isSpaceOrNewline(string[i])) string 57 Source/core/html/forms/TypeAhead.cpp return string.substring(i, length - i); string 73 Source/core/html/forms/WeekInputType.cpp bool WeekInputType::parseToDateComponentsInternal(const String& string, DateComponents* out) const string 77 Source/core/html/forms/WeekInputType.cpp return out->parseWeek(string, 0, end) && end == string.length(); string 253 Source/core/html/imports/HTMLImportChild.cpp url().string().utf8().data()); string 167 Source/core/html/parser/CSSPreloadScanner.cpp static String parseCSSStringOrURL(const String& string) string 170 Source/core/html/parser/CSSPreloadScanner.cpp size_t reducedLength = string.length(); string 172 Source/core/html/parser/CSSPreloadScanner.cpp while (reducedLength && isHTMLSpace<UChar>(string[offset])) { string 176 Source/core/html/parser/CSSPreloadScanner.cpp while (reducedLength && isHTMLSpace<UChar>(string[offset + reducedLength - 1])) string 180 Source/core/html/parser/CSSPreloadScanner.cpp && (string[offset] == 'u' || string[offset] == 'U') string 181 Source/core/html/parser/CSSPreloadScanner.cpp && (string[offset + 1] == 'r' || string[offset + 1] == 'R') string 182 Source/core/html/parser/CSSPreloadScanner.cpp && (string[offset + 2] == 'l' || string[offset + 2] == 'L') string 183 Source/core/html/parser/CSSPreloadScanner.cpp && string[offset + 3] == '(' string 184 Source/core/html/parser/CSSPreloadScanner.cpp && string[offset + reducedLength - 1] == ')') { string 189 Source/core/html/parser/CSSPreloadScanner.cpp while (reducedLength && isHTMLSpace<UChar>(string[offset])) { string 193 Source/core/html/parser/CSSPreloadScanner.cpp while (reducedLength && isHTMLSpace<UChar>(string[offset + reducedLength - 1])) string 196 Source/core/html/parser/CSSPreloadScanner.cpp if (reducedLength < 2 || string[offset] != string[offset + reducedLength - 1] || !(string[offset] == '\'' || string[offset] == '"')) string 201 Source/core/html/parser/CSSPreloadScanner.cpp while (reducedLength && isHTMLSpace<UChar>(string[offset])) { string 205 Source/core/html/parser/CSSPreloadScanner.cpp while (reducedLength && isHTMLSpace<UChar>(string[offset + reducedLength - 1])) string 208 Source/core/html/parser/CSSPreloadScanner.cpp return string.substring(offset, reducedLength); string 92 Source/core/html/parser/HTMLConstructionSite.cpp static inline bool isAllWhitespace(const String& string) string 94 Source/core/html/parser/HTMLConstructionSite.cpp return string.isAllSpecialCharacters<isHTMLSpace<UChar> >(); string 196 Source/core/html/parser/HTMLConstructionSite.cpp static unsigned findBreakIndexBetween(const StringBuilder& string, unsigned currentPosition, unsigned proposedBreakIndex) string 199 Source/core/html/parser/HTMLConstructionSite.cpp ASSERT(proposedBreakIndex <= string.length()); string 201 Source/core/html/parser/HTMLConstructionSite.cpp if (proposedBreakIndex == string.length()) string 205 Source/core/html/parser/HTMLConstructionSite.cpp if (string.is8Bit()) string 208 Source/core/html/parser/HTMLConstructionSite.cpp const UChar* breakSearchCharacters = string.characters16() + currentPosition; string 210 Source/core/html/parser/HTMLConstructionSite.cpp unsigned breakSearchLength = std::min(proposedBreakIndex - currentPosition + 2, string.length() - currentPosition); string 223 Source/core/html/parser/HTMLConstructionSite.cpp static String atomizeIfAllWhitespace(const String& string, WhitespaceMode whitespaceMode) string 227 Source/core/html/parser/HTMLConstructionSite.cpp if (whitespaceMode == AllWhitespace || (whitespaceMode == WhitespaceUnknown && isAllWhitespace(string))) string 228 Source/core/html/parser/HTMLConstructionSite.cpp return AtomicString(string).string(); string 229 Source/core/html/parser/HTMLConstructionSite.cpp return string; string 247 Source/core/html/parser/HTMLConstructionSite.cpp const StringBuilder& string = pendingText.stringBuilder; string 248 Source/core/html/parser/HTMLConstructionSite.cpp while (currentPosition < string.length()) { string 249 Source/core/html/parser/HTMLConstructionSite.cpp unsigned proposedBreakIndex = std::min(currentPosition + lengthLimit, string.length()); string 250 Source/core/html/parser/HTMLConstructionSite.cpp unsigned breakIndex = findBreakIndexBetween(string, currentPosition, proposedBreakIndex); string 251 Source/core/html/parser/HTMLConstructionSite.cpp ASSERT(breakIndex <= string.length()); string 252 Source/core/html/parser/HTMLConstructionSite.cpp String substring = string.substring(currentPosition, breakIndex - currentPosition); string 664 Source/core/html/parser/HTMLConstructionSite.cpp void HTMLConstructionSite::insertTextNode(const String& string, WhitespaceMode whitespaceMode) string 681 Source/core/html/parser/HTMLConstructionSite.cpp m_pendingText.append(dummyTask.parent, dummyTask.nextChild, string, whitespaceMode); string 59 Source/core/html/parser/HTMLInputStream.h void appendToEnd(const SegmentedString& string) string 61 Source/core/html/parser/HTMLInputStream.h m_last->append(string); string 64 Source/core/html/parser/HTMLInputStream.h void insertAtCurrentInsertionPoint(const SegmentedString& string) string 66 Source/core/html/parser/HTMLInputStream.h m_first.append(string); string 41 Source/core/html/parser/HTMLParserIdioms.cpp static String stripLeadingAndTrailingHTMLSpaces(String string, const CharType* characters, unsigned length) string 52 Source/core/html/parser/HTMLParserIdioms.cpp return string.isNull() ? string : emptyAtom.string(); string 62 Source/core/html/parser/HTMLParserIdioms.cpp return string; string 64 Source/core/html/parser/HTMLParserIdioms.cpp return string.substring(numLeadingSpaces, length - (numLeadingSpaces + numTrailingSpaces)); string 67 Source/core/html/parser/HTMLParserIdioms.cpp String stripLeadingAndTrailingHTMLSpaces(const String& string) string 69 Source/core/html/parser/HTMLParserIdioms.cpp unsigned length = string.length(); string 72 Source/core/html/parser/HTMLParserIdioms.cpp return string.isNull() ? string : emptyAtom.string(); string 74 Source/core/html/parser/HTMLParserIdioms.cpp if (string.is8Bit()) string 75 Source/core/html/parser/HTMLParserIdioms.cpp return stripLeadingAndTrailingHTMLSpaces<LChar>(string, string.characters8(), length); string 77 Source/core/html/parser/HTMLParserIdioms.cpp return stripLeadingAndTrailingHTMLSpaces<UChar>(string, string.characters16(), length); string 96 Source/core/html/parser/HTMLParserIdioms.cpp Decimal parseToDecimalForNumberType(const String& string, const Decimal& fallbackValue) string 100 Source/core/html/parser/HTMLParserIdioms.cpp const UChar firstCharacter = string[0]; string 104 Source/core/html/parser/HTMLParserIdioms.cpp const Decimal value = Decimal::fromString(string); string 117 Source/core/html/parser/HTMLParserIdioms.cpp double parseToDoubleForNumberType(const String& string, double fallbackValue) string 121 Source/core/html/parser/HTMLParserIdioms.cpp UChar firstCharacter = string[0]; string 126 Source/core/html/parser/HTMLParserIdioms.cpp double value = string.toDouble(&valid); string 397 Source/core/html/parser/HTMLParserIdioms.cpp String string(findStringIfStatic(characters, size)); string 398 Source/core/html/parser/HTMLParserIdioms.cpp if (string.impl()) string 399 Source/core/html/parser/HTMLParserIdioms.cpp return string; string 405 Source/core/html/parser/HTMLParserIdioms.cpp String string(findStringIfStatic(characters, size)); string 406 Source/core/html/parser/HTMLParserIdioms.cpp if (string.impl()) string 407 Source/core/html/parser/HTMLParserIdioms.cpp return string; string 409 Source/core/html/parser/HTMLParserIdioms.cpp string = StringImpl::create8BitIfPossible(characters, size); string 411 Source/core/html/parser/HTMLParserIdioms.cpp string = String::make8BitFrom16BitSource(characters, size); string 413 Source/core/html/parser/HTMLParserIdioms.cpp string = String(characters, size); string 415 Source/core/html/parser/HTMLParserIdioms.cpp return string; string 71 Source/core/html/parser/HTMLTokenizer.cpp static inline bool vectorEqualsString(const Vector<LChar, 32>& vector, const String& string) string 73 Source/core/html/parser/HTMLTokenizer.cpp if (vector.size() != string.length()) string 76 Source/core/html/parser/HTMLTokenizer.cpp if (!string.length()) string 79 Source/core/html/parser/HTMLTokenizer.cpp return equal(string.impl(), vector.data(), vector.size()); string 70 Source/core/html/parser/HTMLTreeBuilder.cpp static inline bool isAllWhitespace(const String& string) string 72 Source/core/html/parser/HTMLTreeBuilder.cpp return string.isAllSpecialCharacters<isHTMLSpace<UChar> >(); string 75 Source/core/html/parser/HTMLTreeBuilder.cpp static inline bool isAllWhitespaceOrReplacementCharacters(const String& string) string 77 Source/core/html/parser/HTMLTreeBuilder.cpp return string.isAllSpecialCharacters<isHTMLSpaceOrReplacementCharacter>(); string 74 Source/core/html/parser/XSSAuditor.cpp static String canonicalize(const String& string) string 76 Source/core/html/parser/XSSAuditor.cpp return string.removeCharacters(&isNonCanonicalCharacter); string 100 Source/core/html/parser/XSSAuditor.cpp static bool startsHTMLCommentAt(const String& string, size_t start) string 102 Source/core/html/parser/XSSAuditor.cpp return (start + 3 < string.length() && string[start] == '<' && string[start + 1] == '!' && string[start + 2] == '-' && string[start + 3] == '-'); string 105 Source/core/html/parser/XSSAuditor.cpp static bool startsSingleLineCommentAt(const String& string, size_t start) string 107 Source/core/html/parser/XSSAuditor.cpp return (start + 1 < string.length() && string[start] == '/' && string[start + 1] == '/'); string 110 Source/core/html/parser/XSSAuditor.cpp static bool startsMultiLineCommentAt(const String& string, size_t start) string 112 Source/core/html/parser/XSSAuditor.cpp return (start + 1 < string.length() && string[start] == '/' && string[start + 1] == '*'); string 115 Source/core/html/parser/XSSAuditor.cpp static bool startsOpeningScriptTagAt(const String& string, size_t start) string 117 Source/core/html/parser/XSSAuditor.cpp return start + 6 < string.length() && string[start] == '<' string 118 Source/core/html/parser/XSSAuditor.cpp && WTF::toASCIILowerUnchecked(string[start + 1]) == 's' string 119 Source/core/html/parser/XSSAuditor.cpp && WTF::toASCIILowerUnchecked(string[start + 2]) == 'c' string 120 Source/core/html/parser/XSSAuditor.cpp && WTF::toASCIILowerUnchecked(string[start + 3]) == 'r' string 121 Source/core/html/parser/XSSAuditor.cpp && WTF::toASCIILowerUnchecked(string[start + 4]) == 'i' string 122 Source/core/html/parser/XSSAuditor.cpp && WTF::toASCIILowerUnchecked(string[start + 5]) == 'p' string 123 Source/core/html/parser/XSSAuditor.cpp && WTF::toASCIILowerUnchecked(string[start + 6]) == 't'; string 141 Source/core/html/parser/XSSAuditor.cpp const String& attrName = name.namespaceURI() == XLinkNames::xlinkNamespaceURI ? "xlink:" + name.localName().string() : name.localName().string(); string 166 Source/core/html/parser/XSSAuditor.cpp static inline String decode16BitUnicodeEscapeSequences(const String& string) string 169 Source/core/html/parser/XSSAuditor.cpp return decodeEscapeSequences<Unicode16BitEscapeSequence>(string, UTF8Encoding()); string 172 Source/core/html/parser/XSSAuditor.cpp static inline String decodeStandardURLEscapeSequences(const String& string, const WTF::TextEncoding& encoding) string 176 Source/core/html/parser/XSSAuditor.cpp return decodeEscapeSequences<URLEscapeSequence>(string, encoding); string 179 Source/core/html/parser/XSSAuditor.cpp static String fullyDecodeString(const String& string, const WTF::TextEncoding& encoding) string 182 Source/core/html/parser/XSSAuditor.cpp String workingString = string; string 325 Source/core/html/parser/XSSAuditor.cpp m_decodedURL = canonicalize(fullyDecodeString(m_documentURL.string(), m_encoding)); string 436 Source/core/html/parser/XSSAuditor.cpp didBlockScript |= eraseAttributeIfInjected(request, srcAttr, blankURL().string(), SrcLikeAttribute); string 437 Source/core/html/parser/XSSAuditor.cpp didBlockScript |= eraseAttributeIfInjected(request, XLinkNames::hrefAttr, blankURL().string(), SrcLikeAttribute); string 449 Source/core/html/parser/XSSAuditor.cpp didBlockScript |= eraseAttributeIfInjected(request, dataAttr, blankURL().string(), SrcLikeAttribute); string 469 Source/core/html/parser/XSSAuditor.cpp return eraseAttributeIfInjected(request, valueAttr, blankURL().string(), SrcLikeAttribute); string 480 Source/core/html/parser/XSSAuditor.cpp didBlockScript |= eraseAttributeIfInjected(request, srcAttr, blankURL().string(), SrcLikeAttribute); string 660 Source/core/html/parser/XSSAuditor.cpp String string = request.sourceTracker.sourceForToken(request.token); string 662 Source/core/html/parser/XSSAuditor.cpp size_t endPosition = string.length(); string 668 Source/core/html/parser/XSSAuditor.cpp while (startPosition < endPosition && isHTMLSpace<UChar>(string[startPosition])) string 679 Source/core/html/parser/XSSAuditor.cpp if (startsHTMLCommentAt(string, startPosition) || startsSingleLineCommentAt(string, startPosition)) { string 680 Source/core/html/parser/XSSAuditor.cpp while (startPosition < endPosition && !isJSNewline(string[startPosition])) string 682 Source/core/html/parser/XSSAuditor.cpp } else if (startsMultiLineCommentAt(string, startPosition)) { string 683 Source/core/html/parser/XSSAuditor.cpp if (startPosition + 2 < endPosition && (foundPosition = string.find("*/", startPosition + 2)) != kNotFound) string 699 Source/core/html/parser/XSSAuditor.cpp if (startsSingleLineCommentAt(string, foundPosition) string 700 Source/core/html/parser/XSSAuditor.cpp || startsMultiLineCommentAt(string, foundPosition) string 701 Source/core/html/parser/XSSAuditor.cpp || startsHTMLCommentAt(string, foundPosition)) { string 705 Source/core/html/parser/XSSAuditor.cpp if (string[foundPosition] == ',') string 708 Source/core/html/parser/XSSAuditor.cpp if (lastNonSpacePosition != kNotFound && startsOpeningScriptTagAt(string, foundPosition)) { string 718 Source/core/html/parser/XSSAuditor.cpp if (isHTMLSpace<UChar>(string[foundPosition])) string 722 Source/core/html/parser/XSSAuditor.cpp if (!isHTMLSpace<UChar>(string[foundPosition])) string 726 Source/core/html/parser/XSSAuditor.cpp result = canonicalize(fullyDecodeString(string.substring(startPosition, foundPosition - startPosition), m_encoding)); string 748 Source/core/html/parser/XSSAuditor.cpp if (url.isEmpty() || url == blankURL().string()) string 405 Source/core/inspector/DOMPatchSupport.cpp static void addStringToSHA1(SHA1& sha1, const String& string) string 407 Source/core/inspector/DOMPatchSupport.cpp CString cString = string.utf8(); string 89 Source/core/inspector/InspectorApplicationCacheAgent.cpp String manifestURL = info.m_manifest.string(); string 110 Source/core/inspector/InspectorApplicationCacheAgent.cpp String manifestURL = info.m_manifest.string(); string 137 Source/core/inspector/InspectorApplicationCacheAgent.cpp *manifestURL = info.m_manifest.string(); string 158 Source/core/inspector/InspectorApplicationCacheAgent.cpp .setManifestURL(applicationCacheInfo.m_manifest.string()) string 197 Source/core/inspector/InspectorApplicationCacheAgent.cpp .setUrl(resourceInfo.m_resource.string()) string 359 Source/core/inspector/InspectorCSSAgent.cpp static size_t vendorPrefixLowerCase(const CharType* string, size_t stringLength, char (&buffer)[bufferLength]) string 363 Source/core/inspector/InspectorCSSAgent.cpp if (string[0] != '-') string 367 Source/core/inspector/InspectorCSSAgent.cpp CharType c = string[i + 1]; string 281 Source/core/inspector/InspectorConsoleAgent.cpp addMessageToConsole(NetworkMessageSource, LogMessageType, ErrorMessageLevel, message, response.url().string(), 0, 0, 0, requestIdentifier); string 1475 Source/core/inspector/InspectorDOMAgent.cpp return document->url().string(); string 1480 Source/core/inspector/InspectorDOMAgent.cpp return document->completeURL("").string(); string 1074 Source/core/inspector/InspectorPageAgent.cpp .setUrl(urlWithoutFragment(frame->document()->url()).string()) string 1102 Source/core/inspector/InspectorPageAgent.cpp .setUrl(urlWithoutFragment(cachedResource->url()).string()) string 1116 Source/core/inspector/InspectorPageAgent.cpp .setUrl(urlWithoutFragment(import->url()).string()) string 89 Source/core/inspector/InspectorResourceAgent.cpp headersObject->setString(it->key.string(), it->value); string 220 Source/core/inspector/InspectorResourceAgent.cpp .setUrl(urlWithoutFragment(request.url()).string()) string 254 Source/core/inspector/InspectorResourceAgent.cpp .setUrl(urlWithoutFragment(response.url()).string()) string 331 Source/core/inspector/InspectorResourceAgent.cpp m_frontend->requestWillBeSent(requestId, frameId, m_pageAgent->loaderId(loader), urlWithoutFragment(loader->url()).string(), buildObjectForResourceRequest(request), currentTime(), initiatorObject, buildObjectForResourceResponse(redirectResponse, loader)); string 521 Source/core/inspector/InspectorResourceAgent.cpp initiatorObject->setUrl(urlWithoutFragment(document->url()).string()); string 539 Source/core/inspector/InspectorResourceAgent.cpp m_frontend->webSocketCreated(IdentifiersFactory::requestId(identifier), urlWithoutFragment(requestURL).string()); string 972 Source/core/inspector/InspectorStyleSheet.cpp return pageStyleSheet->contents()->baseURL().string(); string 1543 Source/core/inspector/InspectorStyleSheet.cpp m_styleText = m_element->isStyledElement() ? m_element->getAttribute("style").string() : String(); string 1637 Source/core/inspector/InspectorStyleSheet.cpp return m_element->getAttribute("style").string(); string 717 Source/core/inspector/InspectorTimelineAgent.cpp pushCurrentRecord(TimelineRecordFactory::createXHRReadyStateChangeData(request->url().string(), request->readyState()), TimelineRecordType::XHRReadyStateChange, false, frameForExecutionContext(context)); string 730 Source/core/inspector/InspectorTimelineAgent.cpp pushCurrentRecord(TimelineRecordFactory::createXHRLoadData(request->url().string()), TimelineRecordType::XHRLoad, true, frameForExecutionContext(context)); string 1050 Source/core/inspector/InspectorTimelineAgent.cpp url = resource->url().string(); string 1147 Source/core/inspector/InspectorTimelineAgent.cpp TimelineRecordFactory::setImageDetails(data, nodeId(renderImage.generatingNode()), resource ? resource->url().string() : ""); string 207 Source/core/inspector/InspectorWorkerAgent.cpp m_dedicatedWorkers.set(workerGlobalScopeProxy, url.string()); string 209 Source/core/inspector/InspectorWorkerAgent.cpp createWorkerFrontendChannel(workerGlobalScopeProxy, url.string()); string 92 Source/core/inspector/TimelineRecordFactory.cpp data->setString("type", event.type().string()); string 160 Source/core/inspector/TimelineRecordFactory.cpp data->setString("url", request.url().string()); string 92 Source/core/inspector/TimelineRecordFactory.h data->setString("url", url.string()); string 42 Source/core/loader/CrossOriginPreflightResultCache.cpp static bool parseAccessControlMaxAge(const String& string, unsigned& expiryDelta) string 46 Source/core/loader/CrossOriginPreflightResultCache.cpp expiryDelta = string.toUIntStrict(&ok); string 51 Source/core/loader/CrossOriginPreflightResultCache.cpp static void addToAccessControlAllowList(const String& string, unsigned start, unsigned end, HashSet<String, HashType>& set) string 53 Source/core/loader/CrossOriginPreflightResultCache.cpp StringImpl* stringImpl = string.impl(); string 69 Source/core/loader/CrossOriginPreflightResultCache.cpp set.add(string.substring(start, end - start + 1)); string 73 Source/core/loader/CrossOriginPreflightResultCache.cpp static bool parseAccessControlAllowList(const String& string, HashSet<String, HashType>& set) string 77 Source/core/loader/CrossOriginPreflightResultCache.cpp while ((end = string.find(',', start)) != kNotFound) { string 79 Source/core/loader/CrossOriginPreflightResultCache.cpp addToAccessControlAllowList(string, start, end - 1, set); string 82 Source/core/loader/CrossOriginPreflightResultCache.cpp if (start != string.length()) string 83 Source/core/loader/CrossOriginPreflightResultCache.cpp addToAccessControlAllowList(string, start, string.length() - 1, set); string 127 Source/core/loader/CrossOriginPreflightResultCache.cpp errorDescription = "Request header field " + it->key.string() + " is not allowed by Access-Control-Allow-Headers."; string 357 Source/core/loader/DocumentLoader.cpp FrameLoader::reportLocalLoadFailed(m_frame, newRequest.url().string()); string 90 Source/core/loader/DocumentThreadableLoader.cpp m_client->didFail(ResourceError(errorDomainBlinkInternal, 0, request.url().string(), "Cross origin requests are not supported.")); string 104 Source/core/loader/DocumentThreadableLoader.cpp m_client->didFailAccessControlCheck(ResourceError(errorDomainBlinkInternal, 0, request.url().string(), "Cross origin requests are only supported for HTTP.")); string 146 Source/core/loader/DocumentThreadableLoader.cpp errorForCallback = ResourceError(errorDomainBlinkInternal, 0, resource()->url().string(), "Load cancelled"); string 194 Source/core/loader/DocumentThreadableLoader.cpp accessControlErrorDescription = "The request was redirected to '"+ request.url().string() + "', which is disallowed for cross-origin requests that require preflight."; string 227 Source/core/loader/DocumentThreadableLoader.cpp ResourceError error(errorDomainBlinkInternal, 0, redirectResponse.url().string(), accessControlErrorDescription); string 271 Source/core/loader/DocumentThreadableLoader.cpp preflightFailure(response.url().string(), accessControlErrorDescription); string 276 Source/core/loader/DocumentThreadableLoader.cpp preflightFailure(response.url().string(), accessControlErrorDescription); string 284 Source/core/loader/DocumentThreadableLoader.cpp preflightFailure(response.url().string(), accessControlErrorDescription); string 292 Source/core/loader/DocumentThreadableLoader.cpp m_client->didFailAccessControlCheck(ResourceError(errorDomainBlinkInternal, 0, response.url().string(), accessControlErrorDescription)); string 199 Source/core/loader/FormSubmission.cpp KURL actionURL = document.completeURL(copiedAttributes.action().isEmpty() ? document.url().string() : copiedAttributes.action()); string 1353 Source/core/loader/FrameLoader.cpp if (!equalIgnoringCase(url.string(), "about:srcdoc")) string 89 Source/core/loader/HistoryItem.cpp setURLString(url.string()); string 337 Source/core/loader/NavigationScheduler.cpp schedule(adoptPtr(new ScheduledRefresh(m_frame->document(), url.string(), Referrer(m_frame->document()->outgoingReferrer(), m_frame->document()->referrerPolicy())))); string 61 Source/core/loader/PingLoader.cpp FrameLoader::reportLocalLoadFailed(frame, url.string()); string 92 Source/core/loader/PingLoader.cpp request.setHTTPHeaderField("Ping-To", AtomicString(destinationURL.string())); string 96 Source/core/loader/PingLoader.cpp if (!SecurityPolicy::shouldHideReferrer(pingURL, frame->document()->url().string())) string 97 Source/core/loader/PingLoader.cpp request.setHTTPHeaderField("Ping-From", AtomicString(frame->document()->url().string())); string 75 Source/core/loader/TextResourceDecoderBuilder.cpp decoder->setEncoding(m_encoding.string(), m_encodingWasChosenByUser ? TextResourceDecoder::UserChosenEncoding : TextResourceDecoder::EncodingFromHTTPHeader); string 91 Source/core/loader/TextResourceDecoderBuilder.cpp decoder->setEncoding(parentFrame->document()->inputEncoding().string(), TextResourceDecoder::EncodingFromParentFrame); string 134 Source/core/loader/WorkerThreadableLoader.cpp thisPtr->didFail(ResourceError(errorDomainBlinkInternal, 0, request->url().string(), "Can't create DocumentThreadableLoader")); string 277 Source/core/loader/appcache/ApplicationCacheHost.cpp notifyApplicationCache(ERROR_EVENT, 0, 0, reason, url.string(), status, message); string 124 Source/core/page/CreateWindow.cpp callingWindow.printErrorMessage("Unable to open a window with invalid URL '" + completedURL.string() + "'.\n"); string 158 Source/core/page/CreateWindow.cpp newFrame->navigationScheduler().scheduleLocationChange(callingWindow.document(), completedURL.string(), referrer, false); string 1799 Source/core/page/EventHandler.cpp matched = matched || clipboard->hasDropZoneType(keywords[i].string()); string 180 Source/core/page/EventSource.cpp return m_url.string(); string 155 Source/core/page/FrameTree.cpp name.append(frame->tree().uniqueName().string().substring(framePathPrefixLength, string 402 Source/core/page/FrameTree.cpp printf(" uri=%s\n\n", frame->document()->url().string().utf8().data()); string 84 Source/core/page/PageSerializer.cpp attributes.append(std::make_pair(attribute.name().localName(), attribute.value().string())); string 167 Source/core/page/PageSerializer.cpp appendAttribute(out, element, Attribute(frameOwnerURLAttributeName(frameOwner), AtomicString(url.string())), namespaces); string 304 Source/core/page/PageSerializer.cpp WTF_LOG_ERROR("No data for resource %s", url.string().utf8().data()); string 327 Source/core/page/PrintContext.cpp return style->fontDescription().family().family().string(); string 237 Source/core/page/WindowFeatures.cpp void WindowFeatures::parseDialogFeatures(const String& string, DialogFeaturesMap& map) string 240 Source/core/page/WindowFeatures.cpp string.split(';', vector); string 193 Source/core/rendering/FloatingObjects.h static String string(const int value); string 196 Source/core/rendering/FloatingObjects.h static String string(const FloatingObject*); string 104 Source/core/rendering/GraphicsContextAnnotator.cpp elementId = id.string(); string 653 Source/core/rendering/InlineTextBox.cpp StringView string; string 655 Source/core/rendering/InlineTextBox.cpp string = textRenderer().text().createView(); string 656 Source/core/rendering/InlineTextBox.cpp if (static_cast<unsigned>(length) != string.length() || m_start) string 657 Source/core/rendering/InlineTextBox.cpp string.narrow(m_start, length); string 660 Source/core/rendering/InlineTextBox.cpp combinedText->getStringToRender(m_start, string, length); string 665 Source/core/rendering/InlineTextBox.cpp TextRun textRun = constructTextRun(styleToUse, font, string, maximumLength, hasHyphen() ? &charactersWithHyphen : 0); string 848 Source/core/rendering/InlineTextBox.cpp StringView string = textRenderer().text().createView(); string 850 Source/core/rendering/InlineTextBox.cpp if (string.length() != static_cast<unsigned>(length) || m_start) string 851 Source/core/rendering/InlineTextBox.cpp string.narrow(m_start, length); string 855 Source/core/rendering/InlineTextBox.cpp TextRun textRun = constructTextRun(style, font, string, textRenderer().textLength() - m_start, respectHyphen ? &charactersWithHyphen : 0); string 1506 Source/core/rendering/InlineTextBox.cpp StringView string = textRenderer().text().createView(); string 1510 Source/core/rendering/InlineTextBox.cpp if (string.length() != length || startPos) string 1511 Source/core/rendering/InlineTextBox.cpp string.narrow(startPos, length); string 1513 Source/core/rendering/InlineTextBox.cpp return constructTextRun(style, font, string, textRenderer().textLength() - startPos, charactersWithHyphen); string 1516 Source/core/rendering/InlineTextBox.cpp TextRun InlineTextBox::constructTextRun(RenderStyle* style, const Font& font, StringView string, int maximumLength, StringBuilder* charactersWithHyphen) const string 1522 Source/core/rendering/InlineTextBox.cpp charactersWithHyphen->reserveCapacity(string.length() + hyphenString.length()); string 1523 Source/core/rendering/InlineTextBox.cpp charactersWithHyphen->append(string); string 1525 Source/core/rendering/InlineTextBox.cpp string = charactersWithHyphen->toString().createView(); string 1526 Source/core/rendering/InlineTextBox.cpp maximumLength = string.length(); string 1529 Source/core/rendering/InlineTextBox.cpp ASSERT(maximumLength >= static_cast<int>(string.length())); string 1531 Source/core/rendering/InlineTextBox.cpp TextRun run(string, textPos(), expansion(), expansionBehavior(), direction(), dirOverride() || style->rtlOrdering() == VisualOrder, !textRenderer().canUseSimpleFontCodePath()); string 32 Source/core/rendering/RenderBR.cpp DEFINE_STATIC_LOCAL(const String, string, ("\n")); string 33 Source/core/rendering/RenderBR.cpp return string.impl(); string 2747 Source/core/rendering/RenderBlockFlow.cpp TextRun RenderBlockFlow::constructTextRun(RenderObject* context, const Font& font, const String& string, RenderStyle* style, TextDirection direction, TextRun::ExpansionBehavior expansion, TextRunFlags flags) string 2749 Source/core/rendering/RenderBlockFlow.cpp unsigned length = string.length(); string 2752 Source/core/rendering/RenderBlockFlow.cpp if (string.is8Bit()) string 2753 Source/core/rendering/RenderBlockFlow.cpp return constructTextRunInternal(context, font, string.characters8(), length, style, direction, expansion, flags); string 2754 Source/core/rendering/RenderBlockFlow.cpp return constructTextRunInternal(context, font, string.characters16(), length, style, direction, expansion, flags); string 2757 Source/core/rendering/RenderBlockFlow.cpp TextRun RenderBlockFlow::constructTextRun(RenderObject* context, const Font& font, const String& string, RenderStyle* style, TextRun::ExpansionBehavior expansion, TextRunFlags flags) string 2760 Source/core/rendering/RenderBlockFlow.cpp return constructTextRun(context, font, string, style, string 2761 Source/core/rendering/RenderBlockFlow.cpp determineDirectionality(string, hasStrongDirectionality), string 30 Source/core/rendering/RenderCombineText.cpp RenderCombineText::RenderCombineText(Node* node, PassRefPtr<StringImpl> string) string 31 Source/core/rendering/RenderCombineText.cpp : RenderText(node, string) string 75 Source/core/rendering/RenderCombineText.cpp void RenderCombineText::getStringToRender(int start, StringView& string, int& length) const string 79 Source/core/rendering/RenderCombineText.cpp string = StringView(m_renderingText.impl()); string 80 Source/core/rendering/RenderCombineText.cpp length = string.length(); string 84 Source/core/rendering/RenderCombineText.cpp string = text().createView(start, length); string 241 Source/core/rendering/RenderFlowThread.h static String string(const LayoutUnit value) { return String::number(value.toFloat()); } string 245 Source/core/rendering/RenderFlowThread.h static String string(const RenderRegion* value) { return String::format("%p", value); } string 443 Source/core/rendering/RenderListItem.cpp return nullAtom.string(); string 239 Source/core/rendering/RenderQuote.cpp CString lowercaseLang = lang.string().lower().utf8(); string 98 Source/core/rendering/RenderText.cpp static void makeCapitalized(String* string, UChar previous) string 100 Source/core/rendering/RenderText.cpp if (string->isNull()) string 103 Source/core/rendering/RenderText.cpp unsigned length = string->length(); string 104 Source/core/rendering/RenderText.cpp const StringImpl& input = *string->impl(); string 135 Source/core/rendering/RenderText.cpp *string = result.toString(); string 895 Source/core/rendering/RenderText.cpp return font.width(RenderBlockFlow::constructTextRun(renderer, font, style->hyphenString().string(), style, direction)); string 1104 Source/core/rendering/RenderTheme.cpp String string; string 1106 Source/core/rendering/RenderTheme.cpp string = locale.queryString(blink::WebLocalizedString::FileButtonNoFileSelectedLabel); string 1108 Source/core/rendering/RenderTheme.cpp string = fileList->item(0)->name(); string 1114 Source/core/rendering/RenderTheme.cpp return StringTruncator::centerTruncate(string, width, font, StringTruncator::EnableRoundingHacks); string 187 Source/core/rendering/break_lines.cpp String string = lazyBreakIterator.string(); string 188 Source/core/rendering/break_lines.cpp if (string.is8Bit()) string 189 Source/core/rendering/break_lines.cpp return nextBreakablePosition<LChar, false>(lazyBreakIterator, string.characters8(), string.length(), pos); string 190 Source/core/rendering/break_lines.cpp return nextBreakablePosition<UChar, false>(lazyBreakIterator, string.characters16(), string.length(), pos); string 513 Source/core/rendering/line/BreakingContextInlineHeaders.h style->hyphenString().string(), style, style->direction())); string 749 Source/core/rendering/style/RenderStyle.cpp void RenderStyle::setContent(const String& string, bool add) string 761 Source/core/rendering/style/RenderStyle.cpp textContent->setText(textContent->text() + string); string 763 Source/core/rendering/style/RenderStyle.cpp lastContent->setNext(ContentData::create(string)); string 769 Source/core/rendering/style/RenderStyle.cpp content = ContentData::create(string); string 37 Source/core/rendering/svg/RenderSVGInlineText.cpp static PassRefPtr<StringImpl> applySVGWhitespaceRules(PassRefPtr<StringImpl> string, bool preserveWhiteSpace) string 44 Source/core/rendering/svg/RenderSVGInlineText.cpp RefPtr<StringImpl> newString = string->replace('\t', ' '); string 55 Source/core/rendering/svg/RenderSVGInlineText.cpp RefPtr<StringImpl> newString = string->replace('\n', StringImpl::empty()); string 61 Source/core/rendering/svg/RenderSVGInlineText.cpp RenderSVGInlineText::RenderSVGInlineText(Node* n, PassRefPtr<StringImpl> string) string 62 Source/core/rendering/svg/RenderSVGInlineText.cpp : RenderText(n, applySVGWhitespaceRules(string, false)) string 156 Source/core/svg/SVGAnimateMotionElement.cpp static bool parsePointInternal(const String& string, FloatPoint& point) string 158 Source/core/svg/SVGAnimateMotionElement.cpp const CharType* ptr = string.getCharacters<CharType>(); string 159 Source/core/svg/SVGAnimateMotionElement.cpp const CharType* end = ptr + string.length(); string 178 Source/core/svg/SVGAnimateMotionElement.cpp static bool parsePoint(const String& string, FloatPoint& point) string 180 Source/core/svg/SVGAnimateMotionElement.cpp if (string.isEmpty()) string 182 Source/core/svg/SVGAnimateMotionElement.cpp if (string.is8Bit()) string 183 Source/core/svg/SVGAnimateMotionElement.cpp return parsePointInternal<LChar>(string, point); string 184 Source/core/svg/SVGAnimateMotionElement.cpp return parsePointInternal<UChar>(string, point); string 58 Source/core/svg/SVGAnimationElement.cpp static void parseKeyTimes(const String& string, Vector<float>& result, bool verifyOrder) string 62 Source/core/svg/SVGAnimationElement.cpp string.split(';', parseList); string 84 Source/core/svg/SVGAnimationElement.cpp static void parseKeySplinesInternal(const String& string, Vector<UnitBezier>& result) string 86 Source/core/svg/SVGAnimationElement.cpp const CharType* ptr = string.getCharacters<CharType>(); string 87 Source/core/svg/SVGAnimationElement.cpp const CharType* end = ptr + string.length(); string 132 Source/core/svg/SVGAnimationElement.cpp static void parseKeySplines(const String& string, Vector<UnitBezier>& result) string 135 Source/core/svg/SVGAnimationElement.cpp if (string.isEmpty()) string 137 Source/core/svg/SVGAnimationElement.cpp if (string.is8Bit()) string 138 Source/core/svg/SVGAnimationElement.cpp parseKeySplinesInternal<LChar>(string, result); string 140 Source/core/svg/SVGAnimationElement.cpp parseKeySplinesInternal<UChar>(string, result); string 172 Source/core/svg/SVGAnimationElement.cpp value.string().split(';', m_values); string 89 Source/core/svg/SVGEnumeration.cpp void SVGEnumerationBase::setValueAsString(const String& string, ExceptionState& exceptionState) string 94 Source/core/svg/SVGEnumeration.cpp if (string == it->second) { string 101 Source/core/svg/SVGEnumeration.cpp exceptionState.throwDOMException(SyntaxError, "The value provided ('" + string + "') is invalid."); string 297 Source/core/svg/SVGFontData.cpp String SVGFontData::createStringWithMirroredCharacters(const String& string) const string 299 Source/core/svg/SVGFontData.cpp if (string.isEmpty()) string 302 Source/core/svg/SVGFontData.cpp unsigned length = string.length(); string 307 Source/core/svg/SVGFontData.cpp if (string.is8Bit()) { string 308 Source/core/svg/SVGFontData.cpp const LChar* characters = string.characters8(); string 312 Source/core/svg/SVGFontData.cpp const UChar* characters = string.characters16(); string 180 Source/core/svg/SVGFontElement.cpp ligatures.append(unicode.string()); string 237 Source/core/svg/SVGFontElement.cpp void SVGFontElement::collectGlyphsForString(const String& string, Vector<SVGGlyph>& glyphs) string 240 Source/core/svg/SVGFontElement.cpp m_glyphMap.collectGlyphsForString(string, glyphs); string 108 Source/core/svg/SVGGlyphMap.h void collectGlyphsForString(const String& string, Vector<SVGGlyph>& glyphs) string 110 Source/core/svg/SVGGlyphMap.h unsigned length = string.length(); string 115 Source/core/svg/SVGGlyphMap.h if (string.is8Bit()) { string 116 Source/core/svg/SVGGlyphMap.h Latin1TextIterator textIterator(string.characters8(), 0, length, length); string 119 Source/core/svg/SVGGlyphMap.h SurrogatePairAwareTextIterator textIterator(string.characters16(), 0, length, length); string 126 Source/core/svg/SVGGlyphMap.h void collectGlyphsForStringExact(const String& string, Vector<SVGGlyph>& glyphs) const string 128 Source/core/svg/SVGGlyphMap.h unsigned length = string.length(); string 134 Source/core/svg/SVGGlyphMap.h if (string.is8Bit()) { string 135 Source/core/svg/SVGGlyphMap.h Latin1TextIterator textIterator(string.characters8(), 0, length, length); string 138 Source/core/svg/SVGGlyphMap.h SurrogatePairAwareTextIterator textIterator(string.characters16(), 0, length, length); string 58 Source/core/svg/SVGGlyphRefElement.cpp const CharType* ptr = value.isEmpty() ? 0 : value.string().getCharacters<CharType>(); string 73 Source/core/svg/SVGHKernElement.cpp kerningPair.kerning = fastGetAttribute(SVGNames::kAttr).string().toFloat(); string 51 Source/core/svg/SVGImageLoader.cpp return KURL(base, stripLeadingAndTrailingHTMLSpaces(attribute)).string(); string 61 Source/core/svg/SVGInteger.cpp void SVGInteger::setValueAsString(const String& string, ExceptionState& exceptionState) string 63 Source/core/svg/SVGInteger.cpp if (string.isEmpty()) { string 69 Source/core/svg/SVGInteger.cpp m_value = string.toIntStrict(&valid); string 72 Source/core/svg/SVGInteger.cpp exceptionState.throwDOMException(SyntaxError, "The value provided ('" + string + "') is invalid."); string 187 Source/core/svg/SVGLength.cpp static bool parseValueInternal(const String& string, float& convertedNumber, SVGLengthType& type) string 189 Source/core/svg/SVGLength.cpp const CharType* ptr = string.getCharacters<CharType>(); string 190 Source/core/svg/SVGLength.cpp const CharType* end = ptr + string.length(); string 203 Source/core/svg/SVGLength.cpp void SVGLength::setValueAsString(const String& string, ExceptionState& exceptionState) string 205 Source/core/svg/SVGLength.cpp if (string.isEmpty()) { string 214 Source/core/svg/SVGLength.cpp bool success = string.is8Bit() ? string 215 Source/core/svg/SVGLength.cpp parseValueInternal<LChar>(string, convertedNumber, type) : string 216 Source/core/svg/SVGLength.cpp parseValueInternal<UChar>(string, convertedNumber, type); string 219 Source/core/svg/SVGLength.cpp exceptionState.throwDOMException(SyntaxError, "The value provided ('" + string + "') is invalid."); string 78 Source/core/svg/SVGNumber.cpp void SVGNumber::setValueAsString(const String& string, ExceptionState& exceptionState) string 80 Source/core/svg/SVGNumber.cpp if (string.isEmpty()) { string 86 Source/core/svg/SVGNumber.cpp if (string.is8Bit()) { string 87 Source/core/svg/SVGNumber.cpp const LChar* ptr = string.characters8(); string 88 Source/core/svg/SVGNumber.cpp const LChar* end = ptr + string.length(); string 91 Source/core/svg/SVGNumber.cpp const UChar* ptr = string.characters16(); string 92 Source/core/svg/SVGNumber.cpp const UChar* end = ptr + string.length(); string 97 Source/core/svg/SVGNumber.cpp exceptionState.throwDOMException(SyntaxError, "The value provided ('" + string + "') is invalid."); string 128 Source/core/svg/SVGNumber.cpp void SVGNumberAcceptPercentage::setValueAsString(const String& string, ExceptionState& exceptionState) string 130 Source/core/svg/SVGNumber.cpp if (string.isEmpty()) { string 135 Source/core/svg/SVGNumber.cpp if (string.endsWith('%')) { string 136 Source/core/svg/SVGNumber.cpp SVGNumber::setValueAsString(string.left(string.length() - 1), exceptionState); string 144 Source/core/svg/SVGNumber.cpp SVGNumber::setValueAsString(string, exceptionState); string 211 Source/core/svg/SVGParserUtilities.cpp bool parseNumberOptionalNumber(const String& string, float& x, float& y) string 213 Source/core/svg/SVGParserUtilities.cpp if (string.isEmpty()) string 215 Source/core/svg/SVGParserUtilities.cpp if (string.is8Bit()) { string 216 Source/core/svg/SVGParserUtilities.cpp const LChar* ptr = string.characters8(); string 217 Source/core/svg/SVGParserUtilities.cpp const LChar* end = ptr + string.length(); string 220 Source/core/svg/SVGParserUtilities.cpp const UChar* ptr = string.characters16(); string 221 Source/core/svg/SVGParserUtilities.cpp const UChar* end = ptr + string.length(); string 514 Source/core/svg/SVGParserUtilities.cpp SVGTransformType parseTransformType(const String& string) string 516 Source/core/svg/SVGParserUtilities.cpp if (string.isEmpty()) string 519 Source/core/svg/SVGParserUtilities.cpp if (string.is8Bit()) { string 520 Source/core/svg/SVGParserUtilities.cpp const LChar* ptr = string.characters8(); string 521 Source/core/svg/SVGParserUtilities.cpp const LChar* end = ptr + string.length(); string 524 Source/core/svg/SVGParserUtilities.cpp const UChar* ptr = string.characters16(); string 525 Source/core/svg/SVGParserUtilities.cpp const UChar* end = ptr + string.length(); string 148 Source/core/svg/SVGPathSegList.cpp String string; string 149 Source/core/svg/SVGPathSegList.cpp buildStringFromByteStream(byteStream(), string, UnalteredParsing); string 150 Source/core/svg/SVGPathSegList.cpp return string; string 153 Source/core/svg/SVGPathSegList.cpp void SVGPathSegList::setValueAsString(const String& string, ExceptionState& exceptionState) string 158 Source/core/svg/SVGPathSegList.cpp if (!buildSVGPathByteStreamFromString(string, m_byteStream.get(), UnalteredParsing)) string 159 Source/core/svg/SVGPathSegList.cpp exceptionState.throwDOMException(SyntaxError, "Problem parsing path \"" + string + "\""); string 30 Source/core/svg/SVGPathStringSource.cpp SVGPathStringSource::SVGPathStringSource(const String& string) string 31 Source/core/svg/SVGPathStringSource.cpp : m_string(string) string 32 Source/core/svg/SVGPathStringSource.cpp , m_is8BitSource(string.is8Bit()) string 34 Source/core/svg/SVGPathStringSource.cpp ASSERT(!string.isEmpty()); string 37 Source/core/svg/SVGPathStringSource.cpp m_current.m_character8 = string.characters8(); string 38 Source/core/svg/SVGPathStringSource.cpp m_end.m_character8 = m_current.m_character8 + string.length(); string 40 Source/core/svg/SVGPathStringSource.cpp m_current.m_character16 = string.characters16(); string 41 Source/core/svg/SVGPathStringSource.cpp m_end.m_character16 = m_current.m_character16 + string.length(); string 32 Source/core/svg/SVGPathStringSource.h static PassOwnPtr<SVGPathStringSource> create(const String& string) string 34 Source/core/svg/SVGPathStringSource.h return adoptPtr(new SVGPathStringSource(string)); string 100 Source/core/svg/SVGPoint.cpp void SVGPoint::setValueAsString(const String& string, ExceptionState& exceptionState) string 102 Source/core/svg/SVGPoint.cpp if (string.isEmpty()) { string 107 Source/core/svg/SVGPoint.cpp if (string.is8Bit()) { string 108 Source/core/svg/SVGPoint.cpp const LChar* ptr = string.characters8(); string 109 Source/core/svg/SVGPoint.cpp const LChar* end = ptr + string.length(); string 114 Source/core/svg/SVGPoint.cpp const UChar* ptr = string.characters16(); string 115 Source/core/svg/SVGPoint.cpp const UChar* end = ptr + string.length(); string 176 Source/core/svg/SVGPreserveAspectRatio.cpp void SVGPreserveAspectRatio::setValueAsString(const String& string, ExceptionState& exceptionState) string 180 Source/core/svg/SVGPreserveAspectRatio.cpp if (string.isEmpty()) string 184 Source/core/svg/SVGPreserveAspectRatio.cpp if (string.is8Bit()) { string 185 Source/core/svg/SVGPreserveAspectRatio.cpp const LChar* ptr = string.characters8(); string 186 Source/core/svg/SVGPreserveAspectRatio.cpp const LChar* end = ptr + string.length(); string 189 Source/core/svg/SVGPreserveAspectRatio.cpp const UChar* ptr = string.characters16(); string 190 Source/core/svg/SVGPreserveAspectRatio.cpp const UChar* end = ptr + string.length(); string 195 Source/core/svg/SVGPreserveAspectRatio.cpp exceptionState.throwDOMException(SyntaxError, "The value provided ('" + string + "') is invalid."); string 96 Source/core/svg/SVGRect.cpp void SVGRect::setValueAsString(const String& string, ExceptionState& exceptionState) string 98 Source/core/svg/SVGRect.cpp if (string.isNull()) { string 102 Source/core/svg/SVGRect.cpp if (string.isEmpty()) { string 108 Source/core/svg/SVGRect.cpp if (string.is8Bit()) { string 109 Source/core/svg/SVGRect.cpp const LChar* ptr = string.characters8(); string 110 Source/core/svg/SVGRect.cpp const LChar* end = ptr + string.length(); string 115 Source/core/svg/SVGRect.cpp const UChar* ptr = string.characters16(); string 116 Source/core/svg/SVGRect.cpp const UChar* end = ptr + string.length(); string 151 Source/core/svg/SVGScriptElement.cpp return getAttribute(SVGNames::typeAttr).string(); string 128 Source/core/svg/SVGStringList.cpp PassRefPtr<SVGPropertyBase> SVGStringList::cloneForAnimation(const String& string) const string 131 Source/core/svg/SVGStringList.cpp svgStringList->setValueAsString(string, IGNORE_EXCEPTION); string 69 Source/core/svg/SVGTests.cpp if (*it == defaultLanguage().string().substring(0, 2)) { string 221 Source/core/svg/SVGUseElement.cpp FetchRequest request(ResourceRequest(url.string()), localName()); string 74 Source/core/svg/SVGVKernElement.cpp kerningPair.kerning = fastGetAttribute(SVGNames::kAttr).string().toFloat(); string 524 Source/core/svg/animation/SVGSMILElement.cpp parseBeginOrEnd(value.string(), Begin); string 532 Source/core/svg/animation/SVGSMILElement.cpp parseBeginOrEnd(value.string(), End); string 763 Source/core/svg/animation/SVGSMILElement.cpp double result = value.string().toDouble(&ok); string 1972 Source/core/testing/Internals.cpp array.append(iter->m_iconURL.string()); string 2306 Source/core/testing/Internals.cpp return document->baseURL().string(); string 177 Source/core/timing/Performance.cpp timingAllowOriginString.string().split(" ", timingAllowOrigins); string 51 Source/core/timing/PerformanceResourceTiming.cpp : PerformanceEntry(info.initialRequest().url().string(), "resource", monotonicTimeToDocumentMilliseconds(requestingDocument, startTime), monotonicTimeToDocumentMilliseconds(requestingDocument, info.loadFinishTime())) string 371 Source/core/xml/XPathFunctions.cpp return node->localName().string(); string 414 Source/core/xml/XPathFunctions.cpp return node ? node->namespaceURI().string() : ""; string 417 Source/core/xml/XPathFunctions.cpp return evaluationContext().node->namespaceURI().string(); string 41 Source/core/xml/XPathValue.h static PassRefPtr<ValueData> create(const String& string) { return adoptRef(new ValueData(string)); } string 49 Source/core/xml/XPathValue.h explicit ValueData(const String& string) : m_string(string) { } string 91 Source/core/xml/XSLImportRule.cpp absHref = KURL(parentSheet->baseURL(), m_strHref).string(); string 96 Source/core/xml/XSLImportRule.cpp if (absHref == parentSheet->baseURL().string()) string 54 Source/core/xml/XSLStyleSheet.h return adoptRefWillBeNoop(new XSLStyleSheet(parentNode, finalURL.string(), finalURL, true)); string 156 Source/core/xml/XSLStyleSheetLibxslt.cpp finalURL().string().utf8().data(), input.encoding(), string 178 Source/core/xml/XSLStyleSheetLibxslt.cpp xmlAttrPtr idNode = xmlGetID(document(), (const xmlChar*)(finalURL().string().utf8().data())); string 226 Source/core/xml/XSLTProcessorLibxslt.cpp stylesheetRootNode->document().url().string(), string 250 Source/core/xml/XSLTProcessorLibxslt.cpp sourceIsDocument ? ownerDocument->url().string() : String()); string 83 Source/core/xml/parser/XMLDocumentParser.cpp static inline String toString(const xmlChar* string, size_t length) string 85 Source/core/xml/parser/XMLDocumentParser.cpp return String::fromUTF8(reinterpret_cast<const char*>(string), length); string 88 Source/core/xml/parser/XMLDocumentParser.cpp static inline String toString(const xmlChar* string) string 90 Source/core/xml/parser/XMLDocumentParser.cpp return String::fromUTF8(reinterpret_cast<const char*>(string)); string 93 Source/core/xml/parser/XMLDocumentParser.cpp static inline AtomicString toAtomicString(const xmlChar* string, size_t length) string 95 Source/core/xml/parser/XMLDocumentParser.cpp return AtomicString::fromUTF8(reinterpret_cast<const char*>(string), length); string 98 Source/core/xml/parser/XMLDocumentParser.cpp static inline AtomicString toAtomicString(const xmlChar* string) string 100 Source/core/xml/parser/XMLDocumentParser.cpp return AtomicString::fromUTF8(reinterpret_cast<const char*>(string)); string 577 Source/core/xml/parser/XMLDocumentParser.cpp String urlString = url.string(); string 1439 Source/core/xml/parser/XMLDocumentParser.cpp xmlDocPtr doc = xmlDocPtrForString(document()->fetcher(), m_originalSourceForTransform.toString(), document()->url().string()); string 1585 Source/core/xml/parser/XMLDocumentParser.cpp HashMap<String, String> parseAttributes(const String& string, bool& attrsOK) string 1595 Source/core/xml/parser/XMLDocumentParser.cpp String parseString = "<?xml version=\"1.0\"?><attrs " + string + " />"; string 186 Source/modules/encryptedmedia/MediaKeySession.cpp init.destinationURL = destinationURL.string(); string 58 Source/modules/filesystem/EntryBase.cpp return m_fileSystem->createFileSystemURL(this).string(); string 30 Source/modules/filesystem/InspectorFrontendHostFileSystem.cpp params->pushString(domFileSystem->rootURL().string()); string 108 Source/modules/indexeddb/IDBAny.h const String& string() const; string 220 Source/modules/indexeddb/IDBDatabase.cpp if (autoIncrement && ((keyPath.type() == IDBKeyPath::StringType && keyPath.string().isEmpty()) || keyPath.type() == IDBKeyPath::ArrayType)) { string 56 Source/modules/indexeddb/IDBKey.h static PassRefPtr<IDBKey> createString(const String& string) string 58 Source/modules/indexeddb/IDBKey.h return adoptRef(new IDBKey(string)); string 123 Source/modules/indexeddb/IDBKey.h const String& string() const string 196 Source/modules/indexeddb/IDBKeyPath.cpp IDBKeyPath::IDBKeyPath(const String& string) string 198 Source/modules/indexeddb/IDBKeyPath.cpp , m_string(string) string 63 Source/modules/indexeddb/IDBKeyPath.h const String& string() const string 238 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp keyPath->setString(idbKeyPath.string()); string 324 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp DEFINE_STATIC_LOCAL(String, string, ("string")); string 333 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp } else if (type == string) { string 334 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp String string; string 335 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp if (!key->getString("string", &string)) string 337 Source/modules/indexeddb/InspectorIndexedDBAgent.cpp idbKey = IDBKey::createString(string); string 54 Source/modules/mediasource/MediaSourceRegistry.cpp m_mediaSources.set(url.string(), source); string 60 Source/modules/mediasource/MediaSourceRegistry.cpp WillBePersistentHeapHashMap<String, RefPtrWillBeMember<MediaSourceBase> >::iterator iter = m_mediaSources.find(url.string()); string 47 Source/modules/mediastream/MediaStreamRegistry.cpp m_streamDescriptors.set(url.string(), static_cast<MediaStream*>(stream)->descriptor()); string 53 Source/modules/mediastream/MediaStreamRegistry.cpp m_streamDescriptors.remove(url.string()); string 89 Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp exceptionState.throwDOMException(SyntaxError, "The custom handler URL created by removing '%s' and prepending '" + baseURL.string() + "' is invalid."); string 53 Source/modules/speech/SpeechGrammarList.cpp void SpeechGrammarList::addFromString(const String& string, double weight) string 55 Source/modules/speech/SpeechGrammarList.cpp String urlString = String("data:application/xml,") + encodeWithURLEscapeSequences(string); string 93 Source/modules/webdatabase/InspectorDatabaseAgent.cpp case SQLValue::StringValue: values->addItem(JSONString::create(value.string())); break; string 47 Source/modules/webdatabase/sqlite/SQLValue.h String string() const; string 172 Source/modules/webdatabase/sqlite/SQLiteStatement.cpp return bindText(index, value.string()); string 228 Source/modules/webdatabase/sqlite/SQLiteStatement.cpp const UChar* string = reinterpret_cast<const UChar*>(sqlite3_value_text16(value)); string 229 Source/modules/webdatabase/sqlite/SQLiteStatement.cpp unsigned length = WTF::lengthOfNullTerminatedString(string); string 230 Source/modules/webdatabase/sqlite/SQLiteStatement.cpp return SQLValue(StringImpl::create8BitIfPossible(string, length)); string 249 Source/modules/webdatabase/sqlite/SQLiteStatement.cpp const UChar* string = reinterpret_cast<const UChar*>(sqlite3_column_text16(m_statement, col)); string 250 Source/modules/webdatabase/sqlite/SQLiteStatement.cpp return StringImpl::create8BitIfPossible(string, sqlite3_column_bytes16(m_statement, col) / sizeof(UChar)); string 351 Source/modules/websockets/MainThreadWebSocketChannel.cpp ASSERT(failingURL.isNull() || m_handshake->url().string() == failingURL); string 353 Source/modules/websockets/MainThreadWebSocketChannel.cpp failingURL = m_handshake->url().string(); string 702 Source/modules/websockets/MainThreadWebSocketChannel.cpp void MainThreadWebSocketChannel::enqueueTextFrame(const CString& string) string 708 Source/modules/websockets/MainThreadWebSocketChannel.cpp frame->stringData = string; string 360 Source/modules/websockets/NewWebSocketChannelImpl.cpp failAsError("Cannot connect to " + m_url.string() + "."); string 95 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp std::string payload; string 96 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp std::string expected; string 97 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp std::string actual; string 98 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp std::string inflated; string 110 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp expected = std::string(frame.payload, frame.payloadLength); string 120 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp actual += std::string(frame.payload, frame.payloadLength); string 134 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp inflated += std::string(frame.payload, frame.payloadLength); string 226 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp EXPECT_EQ(std::string("Hello"), std::string(f1.payload, f1.payloadLength)); string 250 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp EXPECT_EQ(std::string("close"), std::string(f2.payload, f2.payloadLength)); string 268 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp std::string expected = "HelloHi!Hello"; string 269 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp std::string actual; string 276 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp EXPECT_EQ(std::string("Hello"), std::string(f1.payload, f1.payloadLength)); string 283 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp EXPECT_EQ(std::string("Hi!"), std::string(f2.payload, f2.payloadLength)); string 290 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp EXPECT_EQ(std::string("Hello"), std::string(f3.payload, f3.payloadLength)); string 312 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp EXPECT_EQ(std::string("Hello"), std::string(f2.payload, f2.payloadLength)); string 337 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp EXPECT_EQ(std::string("close"), std::string(f2.payload, f2.payloadLength)); string 345 Source/modules/websockets/WebSocketPerMessageDeflateTest.cpp EXPECT_EQ(std::string("Hello"), std::string(&decompressed[0], decompressed.size())); string 88 Source/platform/DecimalTest.cpp protected: Decimal fromString(const String& string) string 90 Source/platform/DecimalTest.cpp return Decimal::fromString(string); string 130 Source/platform/DragImage.cpp String urlString = url.string(); string 76 Source/platform/Length.cpp Vector<Length> parseHTMLAreaElementCoords(const String& string) string 78 Source/platform/Length.cpp unsigned length = string.length(); string 81 Source/platform/Length.cpp UChar cc = string[i]; string 45 Source/platform/LinkHash.cpp StringUTF8Adaptor baseUTF8(base.string()); string 58 Source/platform/LinkHash.cpp if (!resolveRelative(base, relative.string(), &buffer)) string 142 Source/platform/PODInterval.h builder.append(ValueToString<T>::string(low())); string 144 Source/platform/PODInterval.h builder.append(ValueToString<T>::string(high())); string 146 Source/platform/PODInterval.h builder.append(ValueToString<UserData>::string(data())); string 148 Source/platform/PODInterval.h builder.append(ValueToString<T>::string(maxHigh())); string 242 Source/platform/PODIntervalTree.h String localMaxValueString = ValueToString<T>::string(localMaxValue); string 258 Source/platform/PODIntervalTree.h static String string(const PODInterval<T, UserData>& interval) string 46 Source/platform/PODIntervalTreeTest.cpp static String string(const float& value) { return String::number(value); } string 51 Source/platform/PODIntervalTreeTest.cpp static String string(void* const& value) string 92 Source/platform/PODIntervalTreeTest.cpp static String string(int* const& value) string 135 Source/platform/PODIntervalTreeTest.cpp static String string(const UserData1& value) string 192 Source/platform/PODIntervalTreeTest.cpp static String string(const EndpointType1& value) string 213 Source/platform/PODIntervalTreeTest.cpp static String string(const int& value) { return String::number(value); } string 233 Source/platform/PODIntervalTreeTest.cpp WTF_LOG_ERROR("*** Adding element %s", ValueToString<PODInterval<int> >::string(interval).ascii().data()); string 242 Source/platform/PODIntervalTreeTest.cpp WTF_LOG_ERROR("*** Removing element %s", ValueToString<PODInterval<int> >::string(addedElements[index]).ascii().data()); string 262 Source/platform/PODIntervalTreeTest.cpp WTF_LOG_ERROR("*** Adding element %s", ValueToString<PODInterval<int> >::string(removedElements[index]).ascii().data()); string 270 Source/platform/PODIntervalTreeTest.cpp WTF_LOG_ERROR("*** Removing element %s", ValueToString<PODInterval<int> >::string(addedElements[index]).ascii().data()); string 804 Source/platform/PODRedBlackTree.h builder.append(ValueToString<T>::string(node->data())); string 59 Source/platform/animation/TimingFunctionTest.cpp void notEqualHelperLoop(Vector<std::pair<std::string, RefPtr<TimingFunction> > >& v) string 121 Source/platform/animation/TimingFunctionTest.cpp Vector<std::pair<std::string, RefPtr<TimingFunction> > > v; string 160 Source/platform/animation/TimingFunctionTest.cpp Vector<std::pair<std::string, RefPtr<TimingFunction> > > v; string 198 Source/platform/animation/TimingFunctionTest.cpp Vector<std::pair<std::string, RefPtr<TimingFunction> > > v; string 127 Source/platform/blob/BlobRegistry.cpp originMap()->add(url.string(), origin); string 133 Source/platform/blob/BlobRegistry.cpp originMap()->remove(url.string()); string 287 Source/platform/blob/BlobRegistry.cpp return originMap()->get(url.string()); string 55 Source/platform/blob/BlobURL.cpp return url.string().substring(startIndex, endIndex - startIndex - 1); string 83 Source/platform/exported/WebString.cpp std::string WebString::utf8() const string 86 Source/platform/exported/WebString.cpp return std::string(utf8.data(), utf8.length()); string 99 Source/platform/exported/WebString.cpp std::string WebString::latin1() const string 101 Source/platform/exported/WebString.cpp String string(m_private.get()); string 103 Source/platform/exported/WebString.cpp if (string.isEmpty()) string 104 Source/platform/exported/WebString.cpp return std::string(); string 106 Source/platform/exported/WebString.cpp if (string.is8Bit()) string 107 Source/platform/exported/WebString.cpp return std::string(reinterpret_cast<const char*>(string.characters8()), string.length()); string 109 Source/platform/exported/WebString.cpp WebCString latin1 = string.latin1(); string 110 Source/platform/exported/WebString.cpp return std::string(latin1.data(), latin1.length()); string 141 Source/platform/exported/WebString.cpp assign(s.string()); string 146 Source/platform/exported/WebString.cpp assign(s.string()); string 39 Source/platform/exported/WebURL.cpp : m_string(url.string()) string 47 Source/platform/exported/WebURL.cpp m_string = url.string(); string 100 Source/platform/fonts/mac/GlyphPageTreeNodeMac.cpp RetainPtr<CFStringRef> string(AdoptCF, CFStringCreateWithCharactersNoCopy(kCFAllocatorDefault, buffer, bufferLength, kCFAllocatorNull)); string 101 Source/platform/fonts/mac/GlyphPageTreeNodeMac.cpp RetainPtr<CFAttributedStringRef> attributedString(AdoptCF, CFAttributedStringCreate(kCFAllocatorDefault, string.get(), fontData->getCFStringAttributes(0, fontData->hasVerticalGlyphs() ? Vertical : Horizontal))); string 115 Source/platform/fonts/skia/FontCacheSkia.cpp name = getFallbackFontFamily(fontDescription).string().utf8(); string 143 Source/platform/geometry/FloatPolygon.h static String string(const float value) { return String::number(value); } string 147 Source/platform/geometry/FloatPolygon.h static String string(const FloatPolygonEdge* edge) { return String::format("%p (%f,%f %f,%f)", edge, edge->vertex1().x(), edge->vertex1().y(), edge->vertex2().x(), edge->vertex2().y()); } string 1589 Source/platform/graphics/GraphicsContext.cpp SkAutoDataUnref url(SkData::NewWithCString(link.string().utf8().data())); string 185 Source/platform/graphics/test/MockWebGraphicsContext3D.h virtual void shaderSource(WebGLId shader, const WGC3Dchar* string) { } string 60 Source/platform/mhtml/ArchiveResourceCollection.cpp m_subframes.set(archive->mainResource()->url().string(), archive.get()); string 92 Source/platform/mhtml/ArchiveResourceCollection.cpp return m_subframes.take(url.string()); string 64 Source/platform/network/FormData.cpp PassRefPtr<FormData> FormData::create(const CString& string) string 67 Source/platform/network/FormData.cpp result->appendData(string.data(), string.length()); string 37 Source/platform/network/FormDataBuilder.cpp static inline void append(Vector<char>& buffer, char string) string 39 Source/platform/network/FormDataBuilder.cpp buffer.append(string); string 42 Source/platform/network/FormDataBuilder.cpp static inline void append(Vector<char>& buffer, const char* string) string 44 Source/platform/network/FormDataBuilder.cpp buffer.append(string, strlen(string)); string 47 Source/platform/network/FormDataBuilder.cpp static inline void append(Vector<char>& buffer, const CString& string) string 49 Source/platform/network/FormDataBuilder.cpp buffer.append(string.data(), string.length()); string 52 Source/platform/network/FormDataBuilder.cpp static void appendQuotedString(Vector<char>& buffer, const CString& string) string 57 Source/platform/network/FormDataBuilder.cpp size_t length = string.length(); string 59 Source/platform/network/FormDataBuilder.cpp char c = string.data()[i]; string 203 Source/platform/network/FormDataBuilder.cpp void FormDataBuilder::encodeStringAsFormData(Vector<char>& buffer, const CString& string) string 209 Source/platform/network/FormDataBuilder.cpp unsigned length = string.length(); string 211 Source/platform/network/FormDataBuilder.cpp unsigned char c = string.data()[i]; string 217 Source/platform/network/FormDataBuilder.cpp else if (c == '\n' || (c == '\r' && (i + 1 >= length || string.data()[i + 1] != '\n'))) string 54 Source/platform/network/HTTPHeaderMap.cpp data->uncheckedAppend(make_pair(it->key.string().isolatedCopy(), it->value.string().isolatedCopy())); string 79 Source/platform/network/ParsedContentType.cpp static String substringForRange(const String& string, const SubstringRange& range) string 81 Source/platform/network/ParsedContentType.cpp return string.substring(range.first, range.second); string 66 Source/platform/network/ResourceRequest.cpp data->m_httpMethod = httpMethod().string().isolatedCopy(); string 149 Source/platform/network/ResourceResponse.cpp data->m_mimeType = mimeType().string().isolatedCopy(); string 151 Source/platform/network/ResourceResponse.cpp data->m_textEncodingName = textEncodingName().string().isolatedCopy(); string 154 Source/platform/network/ResourceResponse.cpp data->m_httpStatusText = httpStatusText().string().isolatedCopy(); string 169 Source/platform/network/ResourceResponse.cpp data->m_remoteIPAddress = m_remoteIPAddress.string().isolatedCopy(); string 129 Source/platform/text/BidiResolverTest.cpp const std::string& line, size_t lineNumber); string 152 Source/platform/text/BidiResolverTest.cpp std::string diffString(const std::vector<int>& actual, const std::vector<int>& expected) string 165 Source/platform/text/BidiResolverTest.cpp const std::string& line, size_t lineNumber) string 268 Source/platform/text/BidiResolverTest.cpp std::string bidiTestPath = "BidiTest.txt"; string 67 Source/platform/text/BidiTestHarness.h std::string nameFromParagraphDirection(ParagraphDirection paragraphDirection) string 95 Source/platform/text/BidiTestHarness.h inline void ltrim(std::string& s) string 97 Source/platform/text/BidiTestHarness.h static const std::string separators(" \t"); string 101 Source/platform/text/BidiTestHarness.h inline void rtrim(std::string& s) string 103 Source/platform/text/BidiTestHarness.h static const std::string separators(" \t"); string 105 Source/platform/text/BidiTestHarness.h if (lastNonSpace == std::string::npos) { string 112 Source/platform/text/BidiTestHarness.h s.erase(firstSpaceAtEndOfString, std::string::npos); // erase to the end of the string. string 115 Source/platform/text/BidiTestHarness.h inline void trim(std::string& s) string 121 Source/platform/text/BidiTestHarness.h static std::vector<std::string> parseStringList(const std::string& str) string 123 Source/platform/text/BidiTestHarness.h std::vector<std::string> strings; string 124 Source/platform/text/BidiTestHarness.h static const std::string separators(" \t"); string 128 Source/platform/text/BidiTestHarness.h while (std::string::npos != pos || std::string::npos != lastPos) { string 136 Source/platform/text/BidiTestHarness.h static std::vector<int> parseIntList(const std::string& str) string 139 Source/platform/text/BidiTestHarness.h std::vector<std::string> strings = parseStringList(str); string 147 Source/platform/text/BidiTestHarness.h static std::vector<int> parseLevels(const std::string& line) string 150 Source/platform/text/BidiTestHarness.h std::vector<std::string> strings = parseStringList(line); string 152 Source/platform/text/BidiTestHarness.h const std::string& levelString = strings[x]; string 164 Source/platform/text/BidiTestHarness.h static std::basic_string<UChar> parseTestString(const std::string& line) string 167 Source/platform/text/BidiTestHarness.h static std::map<std::string, UChar> charClassExamples; string 195 Source/platform/text/BidiTestHarness.h std::vector<std::string> charClasses = parseStringList(line); string 203 Source/platform/text/BidiTestHarness.h static bool parseParagraphDirectionMask(const std::string& line, int& modeMask) string 209 Source/platform/text/BidiTestHarness.h static void parseError(const std::string& line, size_t lineNumber) string 218 Source/platform/text/BidiTestHarness.h static const std::string levelsPrefix("@Levels"); string 219 Source/platform/text/BidiTestHarness.h static const std::string reorderPrefix("@Reorder"); string 228 Source/platform/text/BidiTestHarness.h std::string line; string 232 Source/platform/text/BidiTestHarness.h const std::string originalLine = line; string 234 Source/platform/text/BidiTestHarness.h if (commentStart != std::string::npos) string 251 Source/platform/text/BidiTestHarness.h if (seperatorIndex == std::string::npos) { string 41 Source/platform/text/DateTimeFormatTest.cpp String string; string 52 Source/platform/text/DateTimeFormatTest.cpp Token(const String& string) string 53 Source/platform/text/DateTimeFormatTest.cpp : string(string) string 61 Source/platform/text/DateTimeFormatTest.cpp return fieldType == other.fieldType && count == other.count && string == other.string; string 72 Source/platform/text/DateTimeFormatTest.cpp builder.append(string); string 91 Source/platform/text/DateTimeFormatTest.cpp explicit Tokens(const String& string) string 93 Source/platform/text/DateTimeFormatTest.cpp m_tokens.append(Token(string)); string 201 Source/platform/text/DateTimeFormatTest.cpp virtual void visitLiteral(const String& string) OVERRIDE string 203 Source/platform/text/DateTimeFormatTest.cpp m_tokens.append(Token(string)); string 43 Source/platform/text/DecodeEscapeSequences.h static size_t findInString(const String& string, size_t startPosition) { return string.find("%u", startPosition); } string 44 Source/platform/text/DecodeEscapeSequences.h static size_t findEndOfRun(const String& string, size_t startPosition, size_t endPosition) string 47 Source/platform/text/DecodeEscapeSequences.h while (endPosition - runEnd >= sequenceSize && string[runEnd] == '%' && string[runEnd + 1] == 'u' string 48 Source/platform/text/DecodeEscapeSequences.h && isASCIIHexDigit(string[runEnd + 2]) && isASCIIHexDigit(string[runEnd + 3]) string 49 Source/platform/text/DecodeEscapeSequences.h && isASCIIHexDigit(string[runEnd + 4]) && isASCIIHexDigit(string[runEnd + 5])) { string 76 Source/platform/text/DecodeEscapeSequences.h static size_t findInString(const String& string, size_t startPosition) { return string.find('%', startPosition); } string 77 Source/platform/text/DecodeEscapeSequences.h static size_t findEndOfRun(const String& string, size_t startPosition, size_t endPosition) string 87 Source/platform/text/DecodeEscapeSequences.h if (string[runEnd] == '%') { string 88 Source/platform/text/DecodeEscapeSequences.h if (endPosition - runEnd >= sequenceSize && isASCIIHexDigit(string[runEnd + 1]) && isASCIIHexDigit(string[runEnd + 2])) { string 93 Source/platform/text/DecodeEscapeSequences.h } else if (string[runEnd] >= 0x40 && string[runEnd] <= 0x7F && numberOfTrailingCharacters < 2) { string 126 Source/platform/text/DecodeEscapeSequences.h String decodeEscapeSequences(const String& string, const WTF::TextEncoding& encoding) string 129 Source/platform/text/DecodeEscapeSequences.h size_t length = string.length(); string 133 Source/platform/text/DecodeEscapeSequences.h while ((encodedRunPosition = EscapeSequence::findInString(string, searchPosition)) != kNotFound) { string 134 Source/platform/text/DecodeEscapeSequences.h size_t encodedRunEnd = EscapeSequence::findEndOfRun(string, encodedRunPosition, length); string 141 Source/platform/text/DecodeEscapeSequences.h String decoded = string.is8Bit() ? string 142 Source/platform/text/DecodeEscapeSequences.h EscapeSequence::decodeRun(string.characters8() + encodedRunPosition, encodedRunEnd - encodedRunPosition, encoding) : string 143 Source/platform/text/DecodeEscapeSequences.h EscapeSequence::decodeRun(string.characters16() + encodedRunPosition, encodedRunEnd - encodedRunPosition, encoding); string 148 Source/platform/text/DecodeEscapeSequences.h result.append(string, decodedPosition, encodedRunPosition - decodedPosition); string 152 Source/platform/text/DecodeEscapeSequences.h result.append(string, decodedPosition, length - decodedPosition); string 78 Source/platform/text/PlatformLocale.cpp String DateTimeStringBuilder::zeroPadString(const String& string, size_t width) string 80 Source/platform/text/PlatformLocale.cpp if (string.length() >= width) string 81 Source/platform/text/PlatformLocale.cpp return string; string 84 Source/platform/text/PlatformLocale.cpp for (size_t i = string.length(); i < width; ++i) string 86 Source/platform/text/PlatformLocale.cpp zeroPaddedStringBuilder.append(string); string 207 Source/platform/text/SegmentedString.h LookAheadResult lookAhead(const String& string) { return lookAheadInline(string, true); } string 208 Source/platform/text/SegmentedString.h LookAheadResult lookAheadIgnoringCase(const String& string) { return lookAheadInline(string, false); } string 377 Source/platform/text/SegmentedString.h inline LookAheadResult lookAheadInline(const String& string, bool caseSensitive) string 379 Source/platform/text/SegmentedString.h if (!m_pushedChar1 && string.length() <= static_cast<unsigned>(m_currentString.m_length)) { string 380 Source/platform/text/SegmentedString.h String currentSubstring = m_currentString.currentSubString(string.length()); string 381 Source/platform/text/SegmentedString.h if (currentSubstring.startsWith(string, caseSensitive)) string 385 Source/platform/text/SegmentedString.h return lookAheadSlowCase(string, caseSensitive); string 388 Source/platform/text/SegmentedString.h LookAheadResult lookAheadSlowCase(const String& string, bool caseSensitive) string 390 Source/platform/text/SegmentedString.h unsigned count = string.length(); string 397 Source/platform/text/SegmentedString.h if (consumedString.startsWith(string, caseSensitive)) string 60 Source/platform/text/StringTruncator.cpp static unsigned centerTruncateToBuffer(const String& string, unsigned length, unsigned keepCount, UChar* buffer) string 66 Source/platform/text/StringTruncator.cpp NonSharedCharacterBreakIterator it(string); string 73 Source/platform/text/StringTruncator.cpp string.copyTo(buffer, 0, omitStart); string 75 Source/platform/text/StringTruncator.cpp string.copyTo(&buffer[omitStart + 1], omitEnd, length - omitEnd); string 80 Source/platform/text/StringTruncator.cpp static unsigned rightTruncateToBuffer(const String& string, unsigned length, unsigned keepCount, UChar* buffer) string 85 Source/platform/text/StringTruncator.cpp NonSharedCharacterBreakIterator it(string); string 89 Source/platform/text/StringTruncator.cpp string.copyTo(buffer, 0, keepLength); string 95 Source/platform/text/StringTruncator.cpp static float stringWidth(const Font& renderer, const String& string, bool disableRoundingHacks) string 97 Source/platform/text/StringTruncator.cpp TextRun run(string); string 111 Source/platform/text/StringTruncator.cpp static String truncateString(const String& string, float maxWidth, const Font& font, TruncationFunction truncateToBuffer, bool disableRoundingHacks) string 113 Source/platform/text/StringTruncator.cpp if (string.isEmpty()) string 114 Source/platform/text/StringTruncator.cpp return string; string 123 Source/platform/text/StringTruncator.cpp unsigned length = string.length(); string 127 Source/platform/text/StringTruncator.cpp truncatedLength = centerTruncateToBuffer(string, length, keepCount, stringBuffer); string 130 Source/platform/text/StringTruncator.cpp string.copyTo(stringBuffer, 0, length); string 136 Source/platform/text/StringTruncator.cpp return string; string 168 Source/platform/text/StringTruncator.cpp truncatedLength = truncateToBuffer(string, length, keepCount, stringBuffer); string 185 Source/platform/text/StringTruncator.cpp truncatedLength = truncateToBuffer(string, length, keepCount, stringBuffer); string 191 Source/platform/text/StringTruncator.cpp String StringTruncator::centerTruncate(const String& string, float maxWidth, const Font& font, EnableRoundingHacksOrNot enableRoundingHacks) string 193 Source/platform/text/StringTruncator.cpp return truncateString(string, maxWidth, font, centerTruncateToBuffer, !enableRoundingHacks); string 196 Source/platform/text/StringTruncator.cpp String StringTruncator::rightTruncate(const String& string, float maxWidth, const Font& font, EnableRoundingHacksOrNot enableRoundingHacks) string 198 Source/platform/text/StringTruncator.cpp return truncateString(string, maxWidth, font, rightTruncateToBuffer, !enableRoundingHacks); string 201 Source/platform/text/StringTruncator.cpp float StringTruncator::width(const String& string, const Font& font, EnableRoundingHacksOrNot enableRoundingHacks) string 203 Source/platform/text/StringTruncator.cpp return stringWidth(font, string, !enableRoundingHacks); string 27 Source/platform/text/TextBreakIterator.cpp unsigned numGraphemeClusters(const String& string) string 29 Source/platform/text/TextBreakIterator.cpp unsigned stringLength = string.length(); string 35 Source/platform/text/TextBreakIterator.cpp if (string.is8Bit() && !string.contains('\r')) string 38 Source/platform/text/TextBreakIterator.cpp NonSharedCharacterBreakIterator it(string); string 48 Source/platform/text/TextBreakIterator.cpp unsigned numCharactersInGraphemeClusters(const String& string, unsigned numGraphemeClusters) string 50 Source/platform/text/TextBreakIterator.cpp unsigned stringLength = string.length(); string 56 Source/platform/text/TextBreakIterator.cpp if (string.is8Bit() && !string.contains('\r')) string 59 Source/platform/text/TextBreakIterator.cpp NonSharedCharacterBreakIterator it(string); string 64 Source/platform/text/TextBreakIterator.h LazyLineBreakIterator(String string, const AtomicString& locale = AtomicString()) string 65 Source/platform/text/TextBreakIterator.h : m_string(string) string 80 Source/platform/text/TextBreakIterator.h String string() const { return m_string; } string 148 Source/platform/text/TextBreakIterator.h void resetStringAndReleaseIterator(String string, const AtomicString& locale) string 153 Source/platform/text/TextBreakIterator.h m_string = string; string 330 Source/platform/text/TextBreakIteratorICU.cpp static void textInit(UText* text, const UTextFuncs* funcs, const void* string, unsigned length, const UChar* priorContext, int priorContextLength) string 334 Source/platform/text/TextBreakIteratorICU.cpp text->context = string; string 335 Source/platform/text/TextBreakIteratorICU.cpp text->p = string; string 341 Source/platform/text/TextBreakIteratorICU.cpp static UText* textOpenLatin1(UTextWithBuffer* utWithBuffer, const LChar* string, unsigned length, const UChar* priorContext, int priorContextLength, UErrorCode* status) string 346 Source/platform/text/TextBreakIteratorICU.cpp if (!string || length > static_cast<unsigned>(numeric_limits<int32_t>::max())) { string 355 Source/platform/text/TextBreakIteratorICU.cpp textInit(text, &textLatin1Funcs, string, length, priorContext, priorContextLength); string 453 Source/platform/text/TextBreakIteratorICU.cpp static UText* textOpenUTF16(UText* text, const UChar* string, unsigned length, const UChar* priorContext, int priorContextLength, UErrorCode* status) string 458 Source/platform/text/TextBreakIteratorICU.cpp if (!string || length > static_cast<unsigned>(numeric_limits<int32_t>::max())) { string 468 Source/platform/text/TextBreakIteratorICU.cpp textInit(text, &textUTF16Funcs, string, length, priorContext, priorContextLength); string 474 Source/platform/text/TextBreakIteratorICU.cpp static TextBreakIterator* wordBreakIterator(const LChar* string, int length) string 491 Source/platform/text/TextBreakIteratorICU.cpp UText* text = textOpenLatin1(&textLocal, string, length, 0, 0, &openStatus); string 507 Source/platform/text/TextBreakIteratorICU.cpp static void setText16(TextBreakIterator* iter, const UChar* string, int length) string 511 Source/platform/text/TextBreakIteratorICU.cpp utext_openUChars(&uText, string, length, &errorCode); string 517 Source/platform/text/TextBreakIteratorICU.cpp TextBreakIterator* wordBreakIterator(const UChar* string, int length) string 527 Source/platform/text/TextBreakIteratorICU.cpp setText16(breakIter, string, length); string 531 Source/platform/text/TextBreakIteratorICU.cpp TextBreakIterator* wordBreakIterator(const String& string, int start, int length) string 533 Source/platform/text/TextBreakIteratorICU.cpp if (string.isEmpty()) string 535 Source/platform/text/TextBreakIteratorICU.cpp if (string.is8Bit()) string 536 Source/platform/text/TextBreakIteratorICU.cpp return wordBreakIterator(string.characters8() + start, length); string 537 Source/platform/text/TextBreakIteratorICU.cpp return wordBreakIterator(string.characters16() + start, length); string 540 Source/platform/text/TextBreakIteratorICU.cpp TextBreakIterator* acquireLineBreakIterator(const LChar* string, int length, const AtomicString& locale, const UChar* priorContext, unsigned priorContextLength) string 552 Source/platform/text/TextBreakIteratorICU.cpp UText* text = textOpenLatin1(&textLocal, string, length, priorContext, priorContextLength, &openStatus); string 570 Source/platform/text/TextBreakIteratorICU.cpp TextBreakIterator* acquireLineBreakIterator(const UChar* string, int length, const AtomicString& locale, const UChar* priorContext, unsigned priorContextLength) string 579 Source/platform/text/TextBreakIteratorICU.cpp UText* text = textOpenUTF16(&textLocal, string, length, priorContext, priorContextLength, &openStatus); string 616 Source/platform/text/TextBreakIteratorICU.cpp NonSharedCharacterBreakIterator::NonSharedCharacterBreakIterator(const String& string) string 623 Source/platform/text/TextBreakIteratorICU.cpp if (string.isEmpty()) string 626 Source/platform/text/TextBreakIteratorICU.cpp m_is8Bit = string.is8Bit(); string 629 Source/platform/text/TextBreakIteratorICU.cpp m_charaters8 = string.characters8(); string 631 Source/platform/text/TextBreakIteratorICU.cpp m_length = string.length(); string 635 Source/platform/text/TextBreakIteratorICU.cpp createIteratorForBuffer(string.characters16(), string.length()); string 715 Source/platform/text/TextBreakIteratorICU.cpp TextBreakIterator* sentenceBreakIterator(const UChar* string, int length) string 726 Source/platform/text/TextBreakIteratorICU.cpp setText16(iterator, string, length); string 737 Source/platform/text/TextBreakIteratorICU.cpp static TextBreakIterator* setUpIteratorWithRules(const char* breakRules, const UChar* string, int length) string 739 Source/platform/text/TextBreakIteratorICU.cpp if (!string) string 755 Source/platform/text/TextBreakIteratorICU.cpp setText16(iterator, string, length); string 759 Source/platform/text/TextBreakIteratorICU.cpp TextBreakIterator* cursorMovementIterator(const UChar* string, int length) string 844 Source/platform/text/TextBreakIteratorICU.cpp return setUpIteratorWithRules(kRules, string, length); string 51 Source/platform/text/TextRun.cpp void TextRun::setText(const String& string) string 53 Source/platform/text/TextRun.cpp m_len = string.length(); string 59 Source/platform/text/TextRun.cpp m_is8Bit = string.is8Bit(); string 61 Source/platform/text/TextRun.cpp m_data.characters8 = string.characters8(); string 63 Source/platform/text/TextRun.cpp m_data.characters16 = string.characters16(); string 105 Source/platform/text/TextRun.h TextRun(const String& string, float xpos = 0, float expansion = 0, ExpansionBehavior expansionBehavior = AllowTrailingExpansion | ForbidLeadingExpansion, TextDirection direction = LTR, bool directionalOverride = false, bool characterScanForCodePath = true, RoundingHacks roundingHacks = RunRounding | WordRounding) string 106 Source/platform/text/TextRun.h : m_charactersLength(string.length()) string 107 Source/platform/text/TextRun.h , m_len(string.length()) string 124 Source/platform/text/TextRun.h } else if (string.is8Bit()) { string 125 Source/platform/text/TextRun.h m_data.characters8 = string.characters8(); string 128 Source/platform/text/TextRun.h m_data.characters16 = string.characters16(); string 133 Source/platform/text/TextRun.h TextRun(const StringView& string, float xpos = 0, float expansion = 0, ExpansionBehavior expansionBehavior = AllowTrailingExpansion | ForbidLeadingExpansion, TextDirection direction = LTR, bool directionalOverride = false, bool characterScanForCodePath = true, RoundingHacks roundingHacks = RunRounding | WordRounding) string 134 Source/platform/text/TextRun.h : m_charactersLength(string.length()) string 135 Source/platform/text/TextRun.h , m_len(string.length()) string 152 Source/platform/text/TextRun.h } else if (string.is8Bit()) { string 153 Source/platform/text/TextRun.h m_data.characters8 = string.characters8(); string 156 Source/platform/text/TextRun.h m_data.characters16 = string.characters16(); string 105 Source/platform/text/TextStream.cpp TextStream& TextStream::operator<<(const char* string) string 107 Source/platform/text/TextStream.cpp m_text.append(string); string 118 Source/platform/text/TextStream.cpp TextStream& TextStream::operator<<(const String& string) string 120 Source/platform/text/TextStream.cpp m_text.append(string); string 73 Source/platform/weborigin/KURL.cpp static const char* charactersOrEmpty(const StringUTF8Adaptor& string) string 76 Source/platform/weborigin/KURL.cpp return string.data() ? string.data() : &zero; string 140 Source/platform/weborigin/KURL.cpp return referrer.string(); string 170 Source/platform/weborigin/KURL.cpp if (string().length() <= 1024) string 171 Source/platform/weborigin/KURL.cpp return string(); string 173 Source/platform/weborigin/KURL.cpp return string().left(511) + "..." + string().right(510); string 610 Source/platform/weborigin/KURL.cpp String decodeURLEscapeSequences(const String& string) string 612 Source/platform/weborigin/KURL.cpp return decodeURLEscapeSequences(string, UTF8Encoding()); string 624 Source/platform/weborigin/KURL.cpp String decodeURLEscapeSequences(const String& string, const WTF::TextEncoding& encoding) string 636 Source/platform/weborigin/KURL.cpp StringUTF8Adaptor stringUTF8(string); string 769 Source/platform/weborigin/KURL.cpp StringUTF8Adaptor baseUTF8(base.string()); string 866 Source/platform/weborigin/KURL.cpp return string().substring(component.begin, component.len); string 68 Source/platform/weborigin/KURL.h bool isHashTableDeletedValue() const { return string().isHashTableDeletedValue(); } string 112 Source/platform/weborigin/KURL.h const String& string() const { return m_string; } string 172 Source/platform/weborigin/KURL.h operator const String&() const { return string(); } string 238 Source/platform/weborigin/KURL.h return a.string() == b.string(); string 243 Source/platform/weborigin/KURL.h return a.string() == b; string 248 Source/platform/weborigin/KURL.h return a == b.string(); string 253 Source/platform/weborigin/KURL.h return a.string() != b.string(); string 258 Source/platform/weborigin/KURL.h return a.string() != b; string 263 Source/platform/weborigin/KURL.h return a != b.string(); string 38 Source/platform/weborigin/KURLHash.h return key.string().impl()->hash(); string 43 Source/platform/weborigin/KURLHash.h return StringHash::equal(a.string(), b.string()); string 154 Source/platform/weborigin/KURLTest.cpp EXPECT_TRUE(asciiKURL.string() == WTF::String(asciiURL)); string 170 Source/platform/weborigin/KURLTest.cpp EXPECT_TRUE(utf8KURL.string() == WTF::String::fromUTF8(utf8URL)); string 228 Source/platform/weborigin/KURLTest.cpp EXPECT_STREQ(cases[i].expectedProtocol, kurl.string().utf8().data()); string 231 Source/platform/weborigin/KURLTest.cpp EXPECT_STREQ(cases[i].expectedHost, kurl.string().utf8().data()); string 234 Source/platform/weborigin/KURLTest.cpp EXPECT_STREQ(cases[i].expectedPort, kurl.string().utf8().data()); string 237 Source/platform/weborigin/KURLTest.cpp EXPECT_STREQ(cases[i].expectedUser, kurl.string().utf8().data()); string 240 Source/platform/weborigin/KURLTest.cpp EXPECT_STREQ(cases[i].expectedPass, kurl.string().utf8().data()); string 243 Source/platform/weborigin/KURLTest.cpp EXPECT_STREQ(cases[i].expectedPath, kurl.string().utf8().data()); string 246 Source/platform/weborigin/KURLTest.cpp EXPECT_STREQ(cases[i].expectedQuery, kurl.string().utf8().data()); string 350 Source/platform/weborigin/KURLTest.cpp EXPECT_STREQ(abs, resolveAbs.string().utf8().data()); string 366 Source/platform/weborigin/KURLTest.cpp EXPECT_STREQ("", kurl.string().utf8().data()); string 375 Source/platform/weborigin/KURLTest.cpp EXPECT_STREQ("http:", kurl.string().utf8().data()); string 380 Source/platform/weborigin/KURLTest.cpp EXPECT_STREQ("http://www.google.com/", kurl.string().utf8().data()); string 385 Source/platform/weborigin/KURLTest.cpp EXPECT_STREQ("http://www.google.com:8000/", kurl.string().utf8().data()); string 390 Source/platform/weborigin/KURLTest.cpp EXPECT_STREQ("http://www.google.com:8000/favicon.ico", kurl.string().utf8().data()); string 407 Source/platform/weborigin/KURLTest.cpp EXPECT_STREQ("http://www.google.com/", kurl.string().utf8().data()); string 421 Source/platform/weborigin/KURLTest.cpp EXPECT_STREQ("http://www.google.com/search", kurl.string().utf8().data()); string 428 Source/platform/weborigin/KURLTest.cpp EXPECT_STREQ("http://www.google.com/search?", kurl.string().utf8().data()); string 434 Source/platform/weborigin/KURLTest.cpp kurl.string().utf8().data()); string 440 Source/platform/weborigin/KURLTest.cpp kurl.string().utf8().data()); string 450 Source/platform/weborigin/KURLTest.cpp EXPECT_STREQ("http://foo/bar#asdf", cur.string().utf8().data()); string 453 Source/platform/weborigin/KURLTest.cpp EXPECT_STREQ("http://foo/bar#asdf", cur.string().utf8().data()); string 458 Source/platform/weborigin/KURLTest.cpp EXPECT_STREQ("http://foo/bar#", cur.string().utf8().data()); string 461 Source/platform/weborigin/KURLTest.cpp EXPECT_STREQ("http://foo/bar#", cur.string().utf8().data()); string 466 Source/platform/weborigin/KURLTest.cpp EXPECT_STREQ("http://foo/bar", cur.string().utf8().data()); string 469 Source/platform/weborigin/KURLTest.cpp EXPECT_STREQ("http://foo/bar", cur.string().utf8().data()); string 480 Source/platform/weborigin/KURLTest.cpp EXPECT_TRUE(kurl.string().isNull()); string 481 Source/platform/weborigin/KURLTest.cpp EXPECT_TRUE(kurl.string().isEmpty()); string 488 Source/platform/weborigin/KURLTest.cpp EXPECT_TRUE(kurl2.string().isNull()); string 489 Source/platform/weborigin/KURLTest.cpp EXPECT_TRUE(kurl2.string().isEmpty()); string 490 Source/platform/weborigin/KURLTest.cpp EXPECT_TRUE(kurl2.string().isNull()); string 491 Source/platform/weborigin/KURLTest.cpp EXPECT_TRUE(kurl2.string().isEmpty()); string 498 Source/platform/weborigin/KURLTest.cpp EXPECT_TRUE(kurl22.string().isNull()); string 499 Source/platform/weborigin/KURLTest.cpp EXPECT_TRUE(kurl22.string().isEmpty()); string 500 Source/platform/weborigin/KURLTest.cpp EXPECT_TRUE(kurl22.string().isNull()); string 501 Source/platform/weborigin/KURLTest.cpp EXPECT_TRUE(kurl22.string().isEmpty()); string 513 Source/platform/weborigin/KURLTest.cpp WebCore::KURL kurl4(WebCore::ParsedURLString, kurl.string()); string 516 Source/platform/weborigin/KURLTest.cpp EXPECT_TRUE(kurl4.string().isNull()); string 517 Source/platform/weborigin/KURLTest.cpp EXPECT_TRUE(kurl4.string().isEmpty()); string 525 Source/platform/weborigin/KURLTest.cpp EXPECT_TRUE(kurl5.string().isNull()); string 531 Source/platform/weborigin/KURLTest.cpp EXPECT_TRUE(kurl6.string().isNull()); string 532 Source/platform/weborigin/KURLTest.cpp EXPECT_TRUE(kurl6.string().isEmpty()); string 540 Source/platform/weborigin/KURLTest.cpp EXPECT_TRUE(kurl7.string().isNull()); string 550 Source/platform/weborigin/KURLTest.cpp EXPECT_EQ("http://:pass@google.com/", kurl.string()); string 555 Source/platform/weborigin/KURLTest.cpp EXPECT_EQ("http://user@google.com/", kurl.string()); string 559 Source/platform/weborigin/KURLTest.cpp EXPECT_EQ("http://google.com/", kurl.string()); string 596 Source/platform/weborigin/KURLTest.cpp EXPECT_TRUE(src.string() == url); // This really just initializes the cache. string 598 Source/platform/weborigin/KURLTest.cpp EXPECT_TRUE(dest.string() == url); // This really just initializes the cache. string 601 Source/platform/weborigin/KURLTest.cpp EXPECT_NE(dest.string().impl(), src.string().impl()); string 346 Source/platform/weborigin/SecurityOrigin.cpp const String& urlString = url.string(); string 559 Source/web/ChromeClientImpl.cpp if (result.isLiveLink() && !result.absoluteLinkURL().string().isEmpty()) { string 134 Source/web/DateTimeChooserImpl.cpp addProperty("locale", m_parameters.locale.string(), data); string 143 Source/web/DateTimeChooserImpl.cpp addProperty("mode", m_parameters.type.string(), data); string 286 Source/web/PopupListBox.cpp static String stripLeadingWhiteSpace(const String& string) string 288 Source/web/PopupListBox.cpp int length = string.length(); string 291 Source/web/PopupListBox.cpp if (string[i] != noBreakSpace string 292 Source/web/PopupListBox.cpp && !isSpaceOrNewline(string[i])) string 295 Source/web/PopupListBox.cpp return string.substring(i, length - i); string 92 Source/web/WebBindings.cpp NPIdentifier WebBindings::getStringIdentifier(const NPUTF8* string) string 94 Source/web/WebBindings.cpp return _NPN_GetStringIdentifier(string); string 190 Source/web/WebBindings.cpp void WebBindings::extractIdentifierData(const NPIdentifier& identifier, const NPUTF8*& string, int32_t& number, bool& isString) string 201 Source/web/WebBindings.cpp string = data->value.string; string 1913 Source/web/WebFrameImpl.cpp String script = decodeURLEscapeSequences(url.string().substring(strlen("javascript:"))); string 95 Source/web/WebHistoryItem.cpp m_private->setURLString(KURL(ParsedURLString, url).string()); string 51 Source/web/WebIDBKey.cpp WebIDBKey WebIDBKey::createString(const WebString& string) string 54 Source/web/WebIDBKey.cpp key.assignString(string); string 104 Source/web/WebIDBKey.cpp keys.append(IDBKey::createString(array[i].string())); string 139 Source/web/WebIDBKey.cpp keys[i] = WebIDBKey::createString(key->string()); string 168 Source/web/WebIDBKey.cpp void WebIDBKey::assignString(const WebString& string) string 170 Source/web/WebIDBKey.cpp m_private = IDBKey::createString(string); string 226 Source/web/WebIDBKey.cpp return m_private->string(); string 90 Source/web/WebIDBKeyPath.cpp return m_private->string(); string 48 Source/web/WebMediaStreamRegistry.cpp return WebMediaStream(MediaStreamRegistry::registry().lookupMediaStreamDescriptor(KURL(url).string())); string 452 Source/web/WebPageSerializerImpl.cpp ASSERT(!m_localLinks.contains(url.string())); string 453 Source/web/WebPageSerializerImpl.cpp m_localLinks.set(url.string(), localPaths[i]); string 502 Source/web/WebPageSerializerImpl.cpp if (!url.isValid() || !m_localLinks.contains(url.string())) string 458 Source/web/WebPluginContainerImpl.cpp kurl.string().substring(strlen("javascript:"))); string 41 Source/web/WebScriptBindings.cpp v8::Local<v8::String> WebScriptBindings::toV8String(const WebString& string, v8::Isolate* isolate) string 43 Source/web/WebScriptBindings.cpp return v8String(isolate, string); string 77 Source/web/tests/AssociatedURLLoaderTest.cpp WebCore::KURL RegisterMockedUrl(const std::string& urlRoot, const WTF::String& filename) string 93 Source/web/tests/AssociatedURLLoaderTest.cpp std::string urlRoot = "http://www.test.com/"; string 237 Source/web/tests/AssociatedURLLoaderTest.cpp std::string id("http://www.other.com/CheckAccessControlExposeHeaders_"); string 98 Source/web/tests/CompositedLayerMappingTest.cpp void navigateTo(const std::string& url) string 104 Source/web/tests/CompositedLayerMappingTest.cpp void registerMockedHttpURLLoad(const std::string& fileName) string 110 Source/web/tests/CompositedLayerMappingTest.cpp std::string m_baseURL; string 101 Source/web/tests/CustomEventTest.cpp const std::string baseURL = "http://www.test.com"; string 102 Source/web/tests/CustomEventTest.cpp const std::string path = "visible_iframe.html"; string 82 Source/web/tests/FrameTestHelpers.cpp void loadFrame(WebFrame* frame, const std::string& url) string 130 Source/web/tests/FrameTestHelpers.cpp WebViewImpl* WebViewHelper::initializeAndLoad(const std::string& url, bool enableJavascript, WebFrameClient* webFrameClient, WebViewClient* webViewClient, void (*updateSettingsFunc)(WebSettings*)) string 47 Source/web/tests/FrameTestHelpers.h void loadFrame(WebFrame*, const std::string& url); string 63 Source/web/tests/FrameTestHelpers.h WebViewImpl* initializeAndLoad(const std::string& url, bool enableJavascript = false, WebFrameClient* = 0, WebViewClient* = 0, void (*updateSettingsFunc)(WebSettings*) = 0); string 59 Source/web/tests/LinkHighlightTest.cpp const std::string baseURL("http://www.test.com/"); string 60 Source/web/tests/LinkHighlightTest.cpp const std::string fileName("test_touch_link_highlight.html"); string 164 Source/web/tests/LinkHighlightTest.cpp const std::string baseURL("http://www.test.com/"); string 165 Source/web/tests/LinkHighlightTest.cpp const std::string fileName("test_touch_link_highlight.html"); string 201 Source/web/tests/LinkHighlightTest.cpp const std::string baseURL("http://www.test.com/"); string 202 Source/web/tests/LinkHighlightTest.cpp const std::string fileName("test_touch_link_highlight.html"); string 90 Source/web/tests/ListenerLeakTest.cpp void RunTest(const std::string& filename) string 92 Source/web/tests/ListenerLeakTest.cpp std::string baseURL("http://www.example.com/"); string 93 Source/web/tests/ListenerLeakTest.cpp std::string fileName(filename); string 78 Source/web/tests/MHTMLTest.cpp void registerMockedURLLoad(const std::string& url, const WebString& fileName) string 248 Source/web/tests/PopupMenuTest.cpp void registerMockedURLLoad(const std::string& fileName) string 258 Source/web/tests/PopupMenuTest.cpp void loadFrame(WebFrame* frame, const std::string& fileName) string 273 Source/web/tests/PopupMenuTest.cpp std::string baseURL; string 192 Source/web/tests/PrerenderingTest.cpp FrameTestHelpers::loadFrame(m_webViewHelper.webView()->mainFrame(), std::string(baseURL) + fileName); string 221 Source/web/tests/PrerenderingTest.cpp std::string consoleAt(unsigned i) string 42 Source/web/tests/ProgrammaticScrollTest.cpp void registerMockedHttpURLLoad(const std::string& fileName) string 47 Source/web/tests/ProgrammaticScrollTest.cpp std::string m_baseURL; string 82 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp void navigateTo(const std::string& url) string 95 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp void registerMockedHttpURLLoad(const std::string& fileName) string 114 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp std::string m_baseURL; string 120 Source/web/tests/TouchActionTest.cpp void runTouchActionTest(std::string file); string 121 Source/web/tests/TouchActionTest.cpp void runShadowDOMTest(std::string file); string 123 Source/web/tests/TouchActionTest.cpp WebView* setupTest(std::string file, TouchActionTrackingWebViewClient&); string 126 Source/web/tests/TouchActionTest.cpp std::string m_baseURL; string 130 Source/web/tests/TouchActionTest.cpp void TouchActionTest::runTouchActionTest(std::string file) string 142 Source/web/tests/TouchActionTest.cpp void TouchActionTest::runShadowDOMTest(std::string file) string 165 Source/web/tests/TouchActionTest.cpp WebView* TouchActionTest::setupTest(std::string file, TouchActionTrackingWebViewClient& client) string 194 Source/web/tests/TouchActionTest.cpp std::string failureContext("Test case: "); string 236 Source/web/tests/TouchActionTest.cpp std::string failureContextPos = contextStream.str(); string 45 Source/web/tests/URLTestHelpers.cpp std::string fullString = std::string(baseURL.utf8().data()) + std::string(fileName.utf8().data()); string 62 Source/web/tests/URLTestHelpers.cpp std::string filePath = std::string(Platform::current()->unitTestSupport()->webKitRootDir().utf8().data()); string 64 Source/web/tests/URLTestHelpers.cpp filePath.append(std::string(relativeBaseDirectory.utf8().data())); string 65 Source/web/tests/URLTestHelpers.cpp filePath.append(std::string(fileName.utf8().data())); string 43 Source/web/tests/URLTestHelpers.h inline WebCore::KURL toKURL(const std::string& url) string 84 Source/web/tests/ViewportTest.cpp void registerMockedHttpURLLoad(const std::string& fileName) string 89 Source/web/tests/ViewportTest.cpp void registerMockedChromeURLLoad(const std::string& fileName) string 100 Source/web/tests/ViewportTest.cpp std::string m_baseURL; string 101 Source/web/tests/ViewportTest.cpp std::string m_chromeURL; string 153 Source/web/tests/WebFrameTest.cpp void registerMockedHttpURLLoad(const std::string& fileName) string 158 Source/web/tests/WebFrameTest.cpp void registerMockedChromeURLLoad(const std::string& fileName) string 185 Source/web/tests/WebFrameTest.cpp void initializeTextSelectionWebView(const std::string& url, FrameTestHelpers::WebViewHelper* webViewHelper) string 192 Source/web/tests/WebFrameTest.cpp std::string m_baseURL; string 193 Source/web/tests/WebFrameTest.cpp std::string m_chromeURL; string 223 Source/web/tests/WebFrameTest.cpp std::string content = webViewHelper.webView()->mainFrame()->contentAsText(1024).utf8(); string 224 Source/web/tests/WebFrameTest.cpp EXPECT_NE(std::string::npos, content.find(" visible paragraph")); string 225 Source/web/tests/WebFrameTest.cpp EXPECT_NE(std::string::npos, content.find(" visible iframe")); string 226 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(std::string::npos, content.find(" invisible pararaph")); string 227 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(std::string::npos, content.find(" invisible iframe")); string 228 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(std::string::npos, content.find("iframe with zero size")); string 278 Source/web/tests/WebFrameTest.cpp std::string content = webViewHelper.webView()->mainFrame()->contentAsText(1024).utf8(); string 279 Source/web/tests/WebFrameTest.cpp EXPECT_NE(std::string::npos, content.find("Clobbered")); string 298 Source/web/tests/WebFrameTest.cpp std::string content = webViewHelper.webView()->mainFrame()->contentAsText(1024).utf8(); string 299 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(std::string::npos, content.find("Clobbered")); string 304 Source/web/tests/WebFrameTest.cpp std::string fileName = "print-location-href.html"; string 324 Source/web/tests/WebFrameTest.cpp std::string content = webViewHelper.webView()->mainFrame()->contentAsText(1024).utf8(); string 330 Source/web/tests/WebFrameTest.cpp std::string fileName = "print-location-href.html"; string 349 Source/web/tests/WebFrameTest.cpp std::string content = webViewHelper.webView()->mainFrame()->contentAsText(1024).utf8(); string 358 Source/web/tests/WebFrameTest.cpp std::map<WebLocalFrame*, std::set<std::string> > m_matchedSelectors; string 365 Source/web/tests/WebFrameTest.cpp std::set<std::string>& frameSelectors = m_matchedSelectors[frame]; string 367 Source/web/tests/WebFrameTest.cpp std::string selector = newlyMatchingSelectors[i].utf8(); string 372 Source/web/tests/WebFrameTest.cpp std::string selector = stoppedMatchingSelectors[i].utf8(); string 401 Source/web/tests/WebFrameTest.cpp const std::set<std::string>& matchedSelectors() string 646 Source/web/tests/WebFrameTest.cpp std::string content = webViewHelper.webView()->mainFrame()->contentAsText(1024).utf8(); string 647 Source/web/tests/WebFrameTest.cpp EXPECT_NE(std::string::npos, content.find("Message 1.")); string 648 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(std::string::npos, content.find("Message 2.")); string 2694 Source/web/tests/WebFrameTest.cpp const std::string firstURL = "find.html"; string 2695 Source/web/tests/WebFrameTest.cpp const std::string secondURL = "form.html"; string 2696 Source/web/tests/WebFrameTest.cpp const std::string thirdURL = "history.html"; string 2748 Source/web/tests/WebFrameTest.cpp const std::string firstURL = "about:blank"; string 2749 Source/web/tests/WebFrameTest.cpp const std::string secondURL = "http://www.test.com"; string 3056 Source/web/tests/WebFrameTest.cpp const std::string expected("Foo bar\nbaz"); string 3100 Source/web/tests/WebFrameTest.cpp const std::string html = frame->contentAsMarkup().utf8(); string 3515 Source/web/tests/WebFrameTest.cpp static std::string selectionAsString(WebFrame* frame) string 3864 Source/web/tests/WebFrameTest.cpp const std::string htmlFile = "disambiguation_popup.html"; string 3928 Source/web/tests/WebFrameTest.cpp const std::string htmlFile = "disambiguation_popup_mobile_site.html"; string 3964 Source/web/tests/WebFrameTest.cpp const std::string htmlFile = "disambiguation_popup_viewport_site.html"; string 4002 Source/web/tests/WebFrameTest.cpp const std::string htmlFile = "disambiguation_popup_blacklist.html"; string 4104 Source/web/tests/WebFrameTest.cpp std::string errorURL = "http://0.0.0.0"; string 4864 Source/web/tests/WebFrameTest.cpp item.setURLString(historyURL.string()); string 4869 Source/web/tests/WebFrameTest.cpp EXPECT_EQ(item.urlString(), mainFrame->document().url().string()); string 5208 Source/web/tests/WebFrameTest.cpp item.setURLString(destinationURL.string()); string 5256 Source/web/tests/WebFrameTest.cpp std::string url = m_baseURL + "fixed_layout.html"; string 95 Source/web/tests/WebInputEventConversionTest.cpp const std::string baseURL("http://www.test.com/"); string 96 Source/web/tests/WebInputEventConversionTest.cpp const std::string fileName("fixed_layout.html"); string 302 Source/web/tests/WebInputEventConversionTest.cpp const std::string baseURL("http://www.test2.com/"); string 303 Source/web/tests/WebInputEventConversionTest.cpp const std::string fileName("fixed_layout.html"); string 450 Source/web/tests/WebInputEventConversionTest.cpp const std::string baseURL("http://www.test3.com/"); string 451 Source/web/tests/WebInputEventConversionTest.cpp const std::string fileName("fixed_layout.html"); string 188 Source/web/tests/WebInputEventFactoryTestGtk.cpp gdkEvent.string = five; string 61 Source/web/tests/WebPageNewSerializerTest.cpp LineReader(const std::string& text) : m_text(text), m_index(0) { } string 62 Source/web/tests/WebPageNewSerializerTest.cpp bool getNextLine(std::string* line) string 69 Source/web/tests/WebPageNewSerializerTest.cpp if (endOfLineIndex == std::string::npos) { string 80 Source/web/tests/WebPageNewSerializerTest.cpp std::string m_text; string 305 Source/web/tests/WebPageNewSerializerTest.cpp std::string xml = std::string(resources[0].data.data()); string 309 Source/web/tests/WebPageNewSerializerTest.cpp ASSERT_TRUE(pos != std::string::npos); string 312 Source/web/tests/WebPageNewSerializerTest.cpp ASSERT_TRUE(pos == std::string::npos); string 325 Source/web/tests/WebPageNewSerializerTest.cpp LineReader lineReader(std::string(mhtmlData.data())); string 328 Source/web/tests/WebPageNewSerializerTest.cpp std::string line; string 332 Source/web/tests/WebPageNewSerializerTest.cpp if (line.find("multipart/related;") != std::string::npos) { string 336 Source/web/tests/WebPageNewSerializerTest.cpp if (line.find("text/") != std::string::npos) string 338 Source/web/tests/WebPageNewSerializerTest.cpp else if (line.find("image/") != std::string::npos) string 346 Source/web/tests/WebPageNewSerializerTest.cpp EXPECT_TRUE(line.find(expectedEncoding) != std::string::npos); string 385 Source/web/tests/WebPageNewSerializerTest.cpp LineReader lineReader(std::string(mhtmlData.data())); string 386 Source/web/tests/WebPageNewSerializerTest.cpp std::string line; string 388 Source/web/tests/WebPageNewSerializerTest.cpp if (line.find("image/") != std::string::npos) string 432 Source/web/tests/WebPageNewSerializerTest.cpp LineReader lineReader(std::string(mhtmlData.data())); string 433 Source/web/tests/WebPageNewSerializerTest.cpp std::string line; string 435 Source/web/tests/WebPageNewSerializerTest.cpp if (line.find("data:image") != std::string::npos) string 455 Source/web/tests/WebPageNewSerializerTest.cpp LineReader lineReader(std::string(mhtmlData.data())); string 456 Source/web/tests/WebPageNewSerializerTest.cpp std::string line; string 458 Source/web/tests/WebPageNewSerializerTest.cpp if (line.find("data:text") != std::string::npos) string 75 Source/web/tests/WebPageSerializerTest.cpp void registerMockedURLLoad(const std::string& url, const WebString& fileName) string 92 Source/web/tests/WebPageSerializerTest.cpp return vector.contains(WebURL(toKURL(std::string(url)))); string 71 Source/web/tests/WebPluginContainerTest.cpp std::string m_baseURL; string 62 Source/web/tests/WebSearchableFormDataTest.cpp std::string m_baseURL; string 77 Source/web/tests/WebSearchableFormDataTest.cpp EXPECT_EQ("http://www.mock.url/search?hl=en&q={searchTerms}&btnM=Mock+Search", searchableFormData.url().string()); string 214 Source/web/tests/WebViewTest.cpp void registerMockedHttpURLLoad(const std::string& fileName) string 220 Source/web/tests/WebViewTest.cpp const std::string& pageWidth, const std::string& pageHeight, string 224 Source/web/tests/WebViewTest.cpp void testTextInputType(WebTextInputType expectedType, const std::string& htmlFile); string 225 Source/web/tests/WebViewTest.cpp void testInputMode(const WebString& expectedInputMode, const std::string& htmlFile); string 228 Source/web/tests/WebViewTest.cpp std::string m_baseURL; string 344 Source/web/tests/WebViewTest.cpp std::string url = m_baseURL + "specify_size.html?" + "50px" + ":" + "50px"; string 365 Source/web/tests/WebViewTest.cpp const std::string& pageWidth, const std::string& pageHeight, string 370 Source/web/tests/WebViewTest.cpp std::string url = m_baseURL + "specify_size.html?" + pageWidth + ":" + pageHeight; string 400 Source/web/tests/WebViewTest.cpp std::string pageWidth = "91px"; string 401 Source/web/tests/WebViewTest.cpp std::string pageHeight = "56px"; string 412 Source/web/tests/WebViewTest.cpp std::string pageWidth = "60px"; string 413 Source/web/tests/WebViewTest.cpp std::string pageHeight = "200px"; string 424 Source/web/tests/WebViewTest.cpp std::string pageWidth = "300px"; string 425 Source/web/tests/WebViewTest.cpp std::string pageHeight = "80px"; string 438 Source/web/tests/WebViewTest.cpp std::string pageWidth = "100px"; string 439 Source/web/tests/WebViewTest.cpp std::string pageHeight = "200px"; string 450 Source/web/tests/WebViewTest.cpp std::string pageWidth = "300px"; string 451 Source/web/tests/WebViewTest.cpp std::string pageHeight = "400px"; string 462 Source/web/tests/WebViewTest.cpp std::string pageWidth = "200px"; string 463 Source/web/tests/WebViewTest.cpp std::string pageHeight = "300px"; string 470 Source/web/tests/WebViewTest.cpp void WebViewTest::testTextInputType(WebTextInputType expectedType, const std::string& htmlFile) string 489 Source/web/tests/WebViewTest.cpp void WebViewTest::testInputMode(const WebString& expectedInputMode, const std::string& htmlFile) string 544 Source/web/tests/WebViewTest.cpp std::string compositionText("hello"); string 550 Source/web/tests/WebViewTest.cpp EXPECT_EQ("hello", std::string(info.value.utf8().data())); string 565 Source/web/tests/WebViewTest.cpp EXPECT_EQ("helhellolo", std::string(info.value.utf8().data())); string 592 Source/web/tests/WebViewTest.cpp EXPECT_EQ("0123456789abcdefghijklmnopqrstuvwxyz", std::string(info.value.utf8().data())); string 605 Source/web/tests/WebViewTest.cpp std::string compositionText("\n"); string 612 Source/web/tests/WebViewTest.cpp EXPECT_EQ("0123\n456789abcdefghijklmnopqrstuvwxyz", std::string(info.value.utf8().data())); string 624 Source/web/tests/WebViewTest.cpp EXPECT_EQ("01234ijklmnopqrstuvwxyz", std::string(info.value.utf8().data())); string 629 Source/web/tests/WebViewTest.cpp EXPECT_EQ("ijklmnopqrstuvwxyz", std::string(info.value.utf8().data())); string 668 Source/web/tests/WebViewTest.cpp std::string newLineText("\n"); string 671 Source/web/tests/WebViewTest.cpp EXPECT_EQ("0123456789abcdefghijklmnopq\nrstuvwxyz", std::string(info.value.utf8().data())); string 679 Source/web/tests/WebViewTest.cpp EXPECT_EQ("0123456789abcdefghijklmnopq\nrstuvwxyz", std::string(info.value.utf8().data())); string 685 Source/web/tests/WebViewTest.cpp std::string compositionText("yolo"); string 688 Source/web/tests/WebViewTest.cpp EXPECT_EQ("0123456789abcdefghijklmnopq\nrsyoloxyz", std::string(info.value.utf8().data())); string 701 Source/web/tests/WebViewTest.cpp std::string compositionTextFirst("hello "); string 702 Source/web/tests/WebViewTest.cpp std::string compositionTextSecond("world"); string 709 Source/web/tests/WebViewTest.cpp EXPECT_EQ("hello world", std::string(info.value.utf8().data())); string 718 Source/web/tests/WebViewTest.cpp EXPECT_EQ("hello world", std::string(info.value.utf8().data())); string 726 Source/web/tests/WebViewTest.cpp EXPECT_EQ("hello world", std::string(info.value.utf8().data())); string 734 Source/web/tests/WebViewTest.cpp EXPECT_EQ("hello world", std::string(info.value.utf8().data())); string 742 Source/web/tests/WebViewTest.cpp EXPECT_EQ("hello world", std::string(info.value.utf8().data())); string 750 Source/web/tests/WebViewTest.cpp EXPECT_EQ("hello world", std::string(info.value.utf8().data())); string 851 Source/web/tests/WebViewTest.cpp static void DragAndDropURL(WebViewImpl* webView, const std::string& url) string 875 Source/web/tests/WebViewTest.cpp const std::string fooUrl = m_baseURL + "foo.html"; string 876 Source/web/tests/WebViewTest.cpp const std::string barUrl = m_baseURL + "bar.html"; string 884 Source/web/tests/WebViewTest.cpp EXPECT_EQ(barUrl, webView->mainFrame()->document().url().string().utf8()); string 888 Source/web/tests/WebViewTest.cpp EXPECT_EQ(fooUrl, webView->mainFrame()->document().url().string().utf8()); string 895 Source/web/tests/WebViewTest.cpp EXPECT_EQ(fooUrl, webView->mainFrame()->document().url().string().utf8()); string 1049 Source/web/tests/WebViewTest.cpp EXPECT_EQ("", std::string(frame->selectionAsText().utf8().data())); string 1051 Source/web/tests/WebViewTest.cpp EXPECT_EQ("testword", std::string(frame->selectionAsText().utf8().data())); string 1063 Source/web/tests/WebViewTest.cpp std::string testWord = "This text should be selected."; string 1066 Source/web/tests/WebViewTest.cpp EXPECT_EQ(testWord, std::string(frame->selectionAsText().utf8().data())); string 1083 Source/web/tests/WebViewTest.cpp std::string testWord = "This text should be selected."; string 1086 Source/web/tests/WebViewTest.cpp EXPECT_EQ(testWord, std::string(frame->selectionAsText().utf8().data())); string 1201 Source/web/tests/WebViewTest.cpp std::string compositionText("testingtext"); string 1235 Source/web/tests/WebViewTest.cpp EXPECT_EQ("0123456789abcdefghijklmnopqrstuvwxyz", std::string(info.value.utf8().data())); string 1366 Source/web/tests/WebViewTest.cpp std::string url = m_baseURL + "date_time_chooser.html"; string 1545 Source/web/tests/WebViewTest.cpp std::string url = m_baseURL + "has_touch_event_handlers.html"; string 1672 Source/web/tests/WebViewTest.cpp std::string url = m_baseURL + htmlFile; string 1694 Source/web/tests/WebViewTest.cpp ASSERT_EQ(url.find("overflow") == std::string::npos, expectedIntRect.contains(focus)); string 59 Source/wtf/BloomFilter.h void add(const AtomicString& string) { add(string.impl()->existingHash()); } string 60 Source/wtf/BloomFilter.h void add(const String& string) { add(string.impl()->hash()); } string 61 Source/wtf/BloomFilter.h void remove(const AtomicString& string) { remove(string.impl()->existingHash()); } string 62 Source/wtf/BloomFilter.h void remove(const String& string) { remove(string.impl()->hash()); } string 64 Source/wtf/BloomFilter.h bool mayContain(const AtomicString& string) const { return mayContain(string.impl()->existingHash()); } string 65 Source/wtf/BloomFilter.h bool mayContain(const String& string) const { return mayContain(string.impl()->hash()); } string 535 Source/wtf/DateMath.cpp static bool parseInt(const char* string, char** stopPosition, int base, int* result) string 537 Source/wtf/DateMath.cpp long longResult = strtol(string, stopPosition, base); string 539 Source/wtf/DateMath.cpp if (string == *stopPosition || longResult <= std::numeric_limits<int>::min() || longResult >= std::numeric_limits<int>::max()) string 545 Source/wtf/DateMath.cpp static bool parseLong(const char* string, char** stopPosition, int base, long* result) string 547 Source/wtf/DateMath.cpp *result = strtol(string, stopPosition, base); string 549 Source/wtf/DateMath.cpp if (string == *stopPosition || *result == std::numeric_limits<long>::min() || *result == std::numeric_limits<long>::max()) string 50 Source/wtf/PrintStream.cpp void printInternal(PrintStream& out, const char* string) string 52 Source/wtf/PrintStream.cpp out.printf("%s", string); string 55 Source/wtf/PrintStream.cpp void printInternal(PrintStream& out, const CString& string) string 57 Source/wtf/PrintStream.cpp out.print(string.data()); string 60 Source/wtf/PrintStream.cpp void printInternal(PrintStream& out, const String& string) string 62 Source/wtf/PrintStream.cpp out.print(string.utf8()); string 50 Source/wtf/SHA1.h const char* string = input.data(); string 55 Source/wtf/SHA1.h ASSERT(input.length() == strlen(string)); string 56 Source/wtf/SHA1.h addBytes(reinterpret_cast<const uint8_t*>(string), input.length()); string 1306 Source/wtf/dtoa.cpp double parseDoubleFromLongString(const UChar* string, size_t length, size_t& parsedLength) string 1310 Source/wtf/dtoa.cpp conversionBuffer[i] = isASCII(string[i]) ? string[i] : 0; string 50 Source/wtf/dtoa.h WTF_EXPORT double parseDouble(const LChar* string, size_t length, size_t& parsedLength); string 51 Source/wtf/dtoa.h WTF_EXPORT double parseDouble(const UChar* string, size_t length, size_t& parsedLength); string 54 Source/wtf/dtoa.h double parseDoubleFromLongString(const UChar* string, size_t length, size_t& parsedLength); string 57 Source/wtf/dtoa.h inline double parseDouble(const LChar* string, size_t length, size_t& parsedLength) string 59 Source/wtf/dtoa.h return double_conversion::StringToDoubleConverter::StringToDouble(reinterpret_cast<const char*>(string), length, &parsedLength); string 62 Source/wtf/dtoa.h inline double parseDouble(const UChar* string, size_t length, size_t& parsedLength) string 66 Source/wtf/dtoa.h return Internal::parseDoubleFromLongString(string, length, parsedLength); string 69 Source/wtf/dtoa.h conversionBuffer[i] = isASCII(string[i]) ? string[i] : 0; string 131 Source/wtf/dtoa/utils.h inline int StrLength(const char* string) { string 132 Source/wtf/dtoa/utils.h size_t length = strlen(string); string 40 Source/wtf/testing/WTFTestHelpers.cpp std::ostream& operator<<(std::ostream& out, const String& string) string 42 Source/wtf/testing/WTFTestHelpers.cpp if (string.isNull()) string 46 Source/wtf/testing/WTFTestHelpers.cpp for (unsigned index = 0; index < string.length(); ++index) { string 48 Source/wtf/testing/WTFTestHelpers.cpp UChar character = string[index]; string 45 Source/wtf/testing/WTFTestHelpersTest.cpp CString toCStringThroughPrinter(const String& string) string 48 Source/wtf/testing/WTFTestHelpersTest.cpp output << string; string 49 Source/wtf/testing/WTFTestHelpersTest.cpp const std::string& result = output.str(); string 50 Source/wtf/text/AtomicString.cpp StringImpl* addStringImpl(StringImpl* string) string 52 Source/wtf/text/AtomicString.cpp if (!string->length()) string 55 Source/wtf/text/AtomicString.cpp StringImpl* result = *m_table.add(string).storedValue; string 60 Source/wtf/text/AtomicString.cpp ASSERT(!string->isStatic() || result->isStatic()); string 86 Source/wtf/text/AtomicString.cpp StringImpl* string = *iter; string 87 Source/wtf/text/AtomicString.cpp if (!string->isStatic()) { string 88 Source/wtf/text/AtomicString.cpp ASSERT(string->isAtomic()); string 89 Source/wtf/text/AtomicString.cpp string->setIsAtomic(false); string 193 Source/wtf/text/AtomicString.cpp static bool equal(StringImpl* const& string, const HashAndCharacters<CharacterType>& buffer) string 195 Source/wtf/text/AtomicString.cpp return WTF::equal(string, buffer.characters, buffer.length); string 219 Source/wtf/text/AtomicString.cpp static bool equal(StringImpl* const& string, const HashAndUTF8Characters& buffer) string 221 Source/wtf/text/AtomicString.cpp if (buffer.utf16Length != string->length()) string 226 Source/wtf/text/AtomicString.cpp if (string->is8Bit()) { string 227 Source/wtf/text/AtomicString.cpp const LChar* characters8 = string->characters8(); string 228 Source/wtf/text/AtomicString.cpp return equalLatin1WithUTF8(characters8, characters8 + string->length(), buffer.characters, buffer.characters + buffer.length); string 230 Source/wtf/text/AtomicString.cpp const UChar* characters16 = string->characters16(); string 231 Source/wtf/text/AtomicString.cpp return equalUTF16WithUTF8(characters16, characters16 + string->length(), buffer.characters, buffer.characters + buffer.length); string 234 Source/wtf/text/AtomicString.cpp if (string->is8Bit()) { string 235 Source/wtf/text/AtomicString.cpp const LChar* stringCharacters = string->characters8(); string 246 Source/wtf/text/AtomicString.cpp const UChar* stringCharacters = string->characters16(); string 330 Source/wtf/text/AtomicString.cpp static bool equal(StringImpl* const& string, const SubstringLocation& buffer) string 333 Source/wtf/text/AtomicString.cpp return WTF::equal(string, buffer.baseString->characters8() + buffer.start, buffer.length); string 334 Source/wtf/text/AtomicString.cpp return WTF::equal(string, buffer.baseString->characters16() + buffer.start, buffer.length); string 425 Source/wtf/text/AtomicString.cpp PassRefPtr<StringImpl> AtomicString::addSlowCase(StringImpl* string) string 427 Source/wtf/text/AtomicString.cpp return atomicStringTable().addStringImpl(string); string 90 Source/wtf/text/AtomicString.h const String& string() const { return m_string; }; string 36 Source/wtf/text/AtomicStringCF.cpp PassRefPtr<StringImpl> AtomicString::add(CFStringRef string) string 38 Source/wtf/text/AtomicStringCF.cpp if (!string) string 41 Source/wtf/text/AtomicStringCF.cpp CFIndex length = CFStringGetLength(string); string 43 Source/wtf/text/AtomicStringCF.cpp if (const LChar* ptr = reinterpret_cast<const LChar*>(CFStringGetCStringPtr(string, kCFStringEncodingISOLatin1))) string 46 Source/wtf/text/AtomicStringCF.cpp if (const UniChar* ptr = CFStringGetCharactersPtr(string)) string 50 Source/wtf/text/AtomicStringCF.cpp CFStringGetCharacters(string, CFRangeMake(0, length), ucharBuffer.data()); string 35 Source/wtf/text/CStringTest.cpp CString string; string 36 Source/wtf/text/CStringTest.cpp ASSERT_TRUE(string.isNull()); string 37 Source/wtf/text/CStringTest.cpp ASSERT_EQ(string.data(), static_cast<const char*>(0)); string 38 Source/wtf/text/CStringTest.cpp ASSERT_EQ(string.length(), static_cast<size_t>(0)); string 54 Source/wtf/text/CStringTest.cpp CString string(emptyString); string 55 Source/wtf/text/CStringTest.cpp ASSERT_FALSE(string.isNull()); string 56 Source/wtf/text/CStringTest.cpp ASSERT_EQ(string.length(), static_cast<size_t>(0)); string 57 Source/wtf/text/CStringTest.cpp ASSERT_EQ(string.data()[0], 0); string 69 Source/wtf/text/CStringTest.cpp CString string(referenceString); string 70 Source/wtf/text/CStringTest.cpp ASSERT_FALSE(string.isNull()); string 71 Source/wtf/text/CStringTest.cpp ASSERT_EQ(string.length(), strlen(referenceString)); string 72 Source/wtf/text/CStringTest.cpp ASSERT_STREQ(referenceString, string.data()); string 105 Source/wtf/text/CStringTest.cpp CString string(initialString); string 106 Source/wtf/text/CStringTest.cpp CString copy = string; string 108 Source/wtf/text/CStringTest.cpp string.mutableData()[3] = 'K'; string 109 Source/wtf/text/CStringTest.cpp ASSERT_TRUE(string != copy); string 110 Source/wtf/text/CStringTest.cpp ASSERT_STREQ(string.data(), "WebKit"); string 103 Source/wtf/text/StringBuilder.cpp RefPtr<StringImpl> string = m_string.releaseImpl(); string 104 Source/wtf/text/StringBuilder.cpp if (string->hasOneRef()) { string 107 Source/wtf/text/StringBuilder.cpp m_buffer = string; string 111 Source/wtf/text/StringBuilder.cpp m_buffer = string->substring(0, m_length); string 53 Source/wtf/text/StringBuilder.h void append(const String& string) string 55 Source/wtf/text/StringBuilder.h if (!string.length()) string 61 Source/wtf/text/StringBuilder.h m_string = string; string 62 Source/wtf/text/StringBuilder.h m_length = string.length(); string 67 Source/wtf/text/StringBuilder.h if (string.is8Bit()) string 68 Source/wtf/text/StringBuilder.h append(string.characters8(), string.length()); string 70 Source/wtf/text/StringBuilder.h append(string.characters16(), string.length()); string 92 Source/wtf/text/StringBuilder.h void append(const String& string, unsigned offset, unsigned length) string 94 Source/wtf/text/StringBuilder.h if (!string.length()) string 98 Source/wtf/text/StringBuilder.h if (extent < offset || extent > string.length()) string 101 Source/wtf/text/StringBuilder.h if (string.is8Bit()) string 102 Source/wtf/text/StringBuilder.h append(string.characters8() + offset, length); string 104 Source/wtf/text/StringBuilder.h append(string.characters16() + offset, length); string 107 Source/wtf/text/StringBuilder.h void append(const StringView& string) string 109 Source/wtf/text/StringBuilder.h if (!string.length()) string 112 Source/wtf/text/StringBuilder.h if (string.is8Bit()) string 113 Source/wtf/text/StringBuilder.h append(string.characters8(), string.length()); string 115 Source/wtf/text/StringBuilder.h append(string.characters16(), string.length()); string 346 Source/wtf/text/StringBuilder.h inline bool equalIgnoringCase(const StringBuilder& s, const char* string) string 348 Source/wtf/text/StringBuilder.h return equalIgnoringCase(s, reinterpret_cast<const LChar*>(string), strlen(string)); string 43 Source/wtf/text/StringBuilderTest.cpp static std::ostream& operator<<(std::ostream& os, const String& string) string 45 Source/wtf/text/StringBuilderTest.cpp return os << string.utf8().data(); string 119 Source/wtf/text/StringBuilderTest.cpp String string = builder.toString(); string 120 Source/wtf/text/StringBuilderTest.cpp ASSERT_EQ(String("0123456789"), string); string 121 Source/wtf/text/StringBuilderTest.cpp ASSERT_EQ(string.impl(), builder.toString().impl()); string 125 Source/wtf/text/StringBuilderTest.cpp ASSERT_EQ(String("0123456789"), string); string 129 Source/wtf/text/StringBuilderTest.cpp string = builder.toString(); string 130 Source/wtf/text/StringBuilderTest.cpp ASSERT_EQ(String("0123456789abcdefghijklmnopqrstuvwxyz"), string); string 132 Source/wtf/text/StringBuilderTest.cpp ASSERT_EQ(String("0123456789abcdefghijklmnopqrstuvwxyz"), string); string 251 Source/wtf/text/StringBuilderTest.cpp String string = builder.toString(); string 254 Source/wtf/text/StringBuilderTest.cpp ASSERT_EQ(atomicString2.impl(), string.impl()); string 329 Source/wtf/text/StringConcatenate.h StringTypeAdapter<String>(const String& string) string 330 Source/wtf/text/StringConcatenate.h : m_buffer(string) string 374 Source/wtf/text/StringConcatenate.h StringTypeAdapter<AtomicString>(const AtomicString& string) string 375 Source/wtf/text/StringConcatenate.h : m_adapter(string.string()) string 76 Source/wtf/text/StringImpl.cpp void addStringForStats(StringImpl* string) string 79 Source/wtf/text/StringImpl.cpp liveStrings().add(string); string 82 Source/wtf/text/StringImpl.cpp void removeStringForStats(StringImpl* string) string 85 Source/wtf/text/StringImpl.cpp liveStrings().remove(string); string 88 Source/wtf/text/StringImpl.cpp static void fillWithSnippet(const StringImpl* string, Vector<char>& snippet) string 93 Source/wtf/text/StringImpl.cpp size_t expectedLength = std::min(string->length(), kMaxSnippetLength); string 100 Source/wtf/text/StringImpl.cpp for (i = 0; i < string->length() && i < kMaxSnippetLength; ++i) { string 101 Source/wtf/text/StringImpl.cpp UChar c = (*string)[i]; string 107 Source/wtf/text/StringImpl.cpp if (i < string->length()) { string 115 Source/wtf/text/StringImpl.cpp static bool isUnnecessarilyWide(const StringImpl* string) string 117 Source/wtf/text/StringImpl.cpp if (string->is8Bit()) string 120 Source/wtf/text/StringImpl.cpp for (unsigned i = 0; i < string->length(); ++i) string 121 Source/wtf/text/StringImpl.cpp c |= (*string)[i] >> 8; string 132 Source/wtf/text/StringImpl.cpp void add(const StringImpl* string) string 136 Source/wtf/text/StringImpl.cpp m_length = string->length(); string 137 Source/wtf/text/StringImpl.cpp fillWithSnippet(string, m_snippet); string 139 Source/wtf/text/StringImpl.cpp if (string->isAtomic()) string 141 Source/wtf/text/StringImpl.cpp if (isUnnecessarilyWide(string)) string 194 Source/wtf/text/StringImpl.cpp StringImpl* string = static_cast<StringImpl*>(*iter); string 195 Source/wtf/text/StringImpl.cpp HashMap<StringImpl*, RefPtr<PerStringStats> >::iterator entry = stats.find(string); string 197 Source/wtf/text/StringImpl.cpp value->add(string); string 198 Source/wtf/text/StringImpl.cpp stats.set(string, value.release()); string 215 Source/wtf/text/StringImpl.cpp void StringStats::removeString(StringImpl* string) string 217 Source/wtf/text/StringImpl.cpp unsigned length = string->length(); string 220 Source/wtf/text/StringImpl.cpp if (string->is8Bit()) { string 299 Source/wtf/text/StringImpl.cpp StringImpl* string = static_cast<StringImpl*>(partitionAllocGeneric(Partitions::getBufferPartition(), allocationSize<LChar>(length))); string 301 Source/wtf/text/StringImpl.cpp data = reinterpret_cast<LChar*>(string + 1); string 302 Source/wtf/text/StringImpl.cpp return adoptRef(new (string) StringImpl(length, Force8BitConstructor)); string 315 Source/wtf/text/StringImpl.cpp StringImpl* string = static_cast<StringImpl*>(partitionAllocGeneric(Partitions::getBufferPartition(), allocationSize<UChar>(length))); string 317 Source/wtf/text/StringImpl.cpp data = reinterpret_cast<UChar*>(string + 1); string 318 Source/wtf/text/StringImpl.cpp return adoptRef(new (string) StringImpl(length)); string 332 Source/wtf/text/StringImpl.cpp StringImpl* string = static_cast<StringImpl*>(partitionReallocGeneric(Partitions::getBufferPartition(), originalString.leakRef(), size)); string 334 Source/wtf/text/StringImpl.cpp return adoptRef(new (string) StringImpl(length, Force8BitConstructor)); string 335 Source/wtf/text/StringImpl.cpp return adoptRef(new (string) StringImpl(length)); string 364 Source/wtf/text/StringImpl.cpp StringImpl* StringImpl::createStatic(const char* string, unsigned length, unsigned hash) string 367 Source/wtf/text/StringImpl.cpp ASSERT(string); string 372 Source/wtf/text/StringImpl.cpp ASSERT(!memcmp(string, it->value + 1, length * sizeof(LChar))); string 387 Source/wtf/text/StringImpl.cpp memcpy(data, string, length * sizeof(LChar)); string 407 Source/wtf/text/StringImpl.cpp RefPtr<StringImpl> string = createUninitialized(length, data); string 409 Source/wtf/text/StringImpl.cpp return string.release(); string 418 Source/wtf/text/StringImpl.cpp RefPtr<StringImpl> string = createUninitialized(length, data); string 420 Source/wtf/text/StringImpl.cpp return string.release(); string 429 Source/wtf/text/StringImpl.cpp RefPtr<StringImpl> string = createUninitialized(length, data); string 437 Source/wtf/text/StringImpl.cpp return string.release(); string 440 Source/wtf/text/StringImpl.cpp PassRefPtr<StringImpl> StringImpl::create(const LChar* string) string 442 Source/wtf/text/StringImpl.cpp if (!string) string 444 Source/wtf/text/StringImpl.cpp size_t length = strlen(reinterpret_cast<const char*>(string)); string 446 Source/wtf/text/StringImpl.cpp return create(string, length); string 100 Source/wtf/text/StringImpl.h #define STRING_STATS_REMOVE_STRING(string) StringImpl::stringStats().removeString(string); removeStringForStats(this) string 104 Source/wtf/text/StringImpl.h #define STRING_STATS_REMOVE_STRING(string) ((void)0) string 184 Source/wtf/text/StringImpl.h static StringImpl* createStatic(const char* string, unsigned length, unsigned hash); string 630 Source/wtf/text/StringImpl.h inline unsigned lengthOfNullTerminatedString(const UChar* string) string 633 Source/wtf/text/StringImpl.h while (string[length] != UChar(0)) string 142 Source/wtf/text/StringImplCF.cpp CFStringRef string; string 144 Source/wtf/text/StringImplCF.cpp string = CFStringCreateWithBytesNoCopy(allocator, reinterpret_cast<const UInt8*>(characters8()), m_length, kCFStringEncodingISOLatin1, false, kCFAllocatorNull); string 146 Source/wtf/text/StringImplCF.cpp string = CFStringCreateWithCharactersNoCopy(allocator, reinterpret_cast<const UniChar*>(characters16()), m_length, kCFAllocatorNull); string 150 Source/wtf/text/StringImplCF.cpp return adoptCF(string); string 47 Source/wtf/text/StringOperatorsTest.cpp String string("String"); string 53 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, string + string); string 54 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, string + atomicString); string 55 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, atomicString + string); string 58 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(1, "C string" + string); string 59 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(1, string + "C string"); string 63 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(1, literal + string); string 64 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(1, string + literal); string 68 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, "C string" + string + "C string" + string); string 69 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, "C string" + (string + "C string" + string)); string 70 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, ("C string" + string) + ("C string" + string)); string 71 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, string + "C string" + string + "C string"); string 72 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, string + ("C string" + string + "C string")); string 73 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, (string + "C string") + (string + "C string")); string 75 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, literal + string + literal + string); string 76 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, literal + (string + literal + string)); string 77 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, (literal + string) + (literal + string)); string 78 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, string + literal + string + literal); string 79 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, string + (literal + string + literal)); string 80 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, (string + literal) + (string + literal)); string 82 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, literal + string + "C string" + string); string 83 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, literal + (string + "C string" + string)); string 84 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, (literal + string) + ("C string" + string)); string 85 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, "C string" + string + literal + string); string 86 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, "C string" + (string + literal + string)); string 87 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, ("C string" + string) + (literal + string)); string 96 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, literal + atomicString + "C string" + string); string 97 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, literal + (atomicString + "C string" + string)); string 98 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, (literal + atomicString) + ("C string" + string)); string 99 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, "C string" + atomicString + literal + string); string 100 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, "C string" + (atomicString + literal + string)); string 101 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, ("C string" + atomicString) + (literal + string)); string 103 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, literal + string + "C string" + atomicString); string 104 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, literal + (string + "C string" + atomicString)); string 105 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, (literal + string) + ("C string" + atomicString)); string 106 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, "C string" + string + literal + atomicString); string 107 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, "C string" + (string + literal + atomicString)); string 108 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, ("C string" + string) + (literal + atomicString)); string 124 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, "C string" + string + "C string" + atomicString); string 125 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, "C string" + (string + "C string" + atomicString)); string 126 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, ("C string" + string) + ("C string" + atomicString)); string 127 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, string + "C string" + atomicString + "C string"); string 128 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, string + ("C string" + atomicString + "C string")); string 129 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, (string + "C string") + (atomicString + "C string")); string 131 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, literal + string + literal + atomicString); string 132 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, literal + (string + literal + atomicString)); string 133 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, (literal + string) + (literal + atomicString)); string 134 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, string + literal + atomicString + literal); string 135 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, string + (literal + atomicString + literal)); string 136 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, (string + literal) + (atomicString + literal)); string 138 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, "C string" + atomicString + "C string" + string); string 139 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, "C string" + (atomicString + "C string" + string)); string 140 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, ("C string" + atomicString) + ("C string" + string)); string 141 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, atomicString + "C string" + string + "C string"); string 142 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, atomicString + ("C string" + string + "C string")); string 143 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, (atomicString + "C string") + (string + "C string")); string 145 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, literal + atomicString + literal + string); string 146 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, literal + (atomicString + literal + string)); string 147 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, (literal + atomicString) + (literal + string)); string 148 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, atomicString + literal + string + literal); string 149 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, atomicString + (literal + string + literal)); string 150 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, (atomicString + literal) + (string + literal)); string 153 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(1, L"wide string" + string); string 154 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(1, string + L"wide string"); string 158 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, L"wide string" + string + L"wide string" + string); string 159 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, L"wide string" + (string + L"wide string" + string)); string 160 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, (L"wide string" + string) + (L"wide string" + string)); string 161 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, string + L"wide string" + string + L"wide string"); string 162 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, string + (L"wide string" + string + L"wide string")); string 163 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, (string + L"wide string") + (string + L"wide string")); string 172 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, L"wide string" + string + L"wide string" + atomicString); string 173 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, L"wide string" + (string + L"wide string" + atomicString)); string 174 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, (L"wide string" + string) + (L"wide string" + atomicString)); string 175 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, string + L"wide string" + atomicString + L"wide string"); string 176 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, string + (L"wide string" + atomicString + L"wide string")); string 177 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, (string + L"wide string") + (atomicString + L"wide string")); string 179 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, L"wide string" + atomicString + L"wide string" + string); string 180 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, L"wide string" + (atomicString + L"wide string" + string)); string 181 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, (L"wide string" + atomicString) + (L"wide string" + string)); string 182 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, atomicString + L"wide string" + string + L"wide string"); string 183 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, atomicString + (L"wide string" + string + L"wide string")); string 184 Source/wtf/text/StringOperatorsTest.cpp EXPECT_N_WTF_STRING_COPIES(2, (atomicString + L"wide string") + (string + L"wide string")); string 50 Source/wtf/text/StringUTF8Adaptor.h explicit StringUTF8Adaptor(const String& string, ShouldNormalize normalize = DoNotNormalize, UnencodableHandling handling = EntitiesForUnencodables) string 54 Source/wtf/text/StringUTF8Adaptor.h if (string.isEmpty()) string 60 Source/wtf/text/StringUTF8Adaptor.h if (string.is8Bit() && string.containsOnlyASCII()) { string 61 Source/wtf/text/StringUTF8Adaptor.h m_data = reinterpret_cast<const char*>(string.characters8()); string 62 Source/wtf/text/StringUTF8Adaptor.h m_length = string.length(); string 65 Source/wtf/text/StringUTF8Adaptor.h m_utf8Buffer = UTF8Encoding().normalizeAndEncode(string, handling); string 67 Source/wtf/text/StringUTF8Adaptor.h m_utf8Buffer = string.utf8(); string 253 Source/wtf/text/TextCodecLatin1.cpp CString string = CString::newUninitialized(length, bytes); string 264 Source/wtf/text/TextCodecLatin1.cpp return string; string 66 Source/wtf/text/TextEncoding.cpp CString TextEncoding::encode(const String& string, UnencodableHandling handling) const string 71 Source/wtf/text/TextEncoding.cpp if (string.isEmpty()) string 76 Source/wtf/text/TextEncoding.cpp if (string.is8Bit()) string 77 Source/wtf/text/TextEncoding.cpp encodedString = textCodec->encode(string.characters8(), string.length(), handling); string 79 Source/wtf/text/TextEncoding.cpp encodedString = textCodec->encode(string.characters16(), string.length(), handling); string 83 Source/wtf/text/TextEncoding.cpp CString TextEncoding::normalizeAndEncode(const String& string, UnencodableHandling handling) const string 88 Source/wtf/text/TextEncoding.cpp if (string.isEmpty()) string 95 Source/wtf/text/TextEncoding.cpp if (string.is8Bit()) string 96 Source/wtf/text/TextEncoding.cpp return newTextCodec(*this)->encode(string.characters8(), string.length(), handling); string 98 Source/wtf/text/TextEncoding.cpp const UChar* source = string.characters16(); string 99 Source/wtf/text/TextEncoding.cpp size_t length = string.length(); string 82 Source/wtf/text/WTFString.cpp void String::append(const String& string) string 84 Source/wtf/text/WTFString.cpp if (string.isEmpty()) string 87 Source/wtf/text/WTFString.cpp m_impl = string.m_impl; string 96 Source/wtf/text/WTFString.cpp if (m_impl->is8Bit() && string.m_impl->is8Bit()) { string 98 Source/wtf/text/WTFString.cpp RELEASE_ASSERT(string.length() <= numeric_limits<unsigned>::max() - m_impl->length()); string 99 Source/wtf/text/WTFString.cpp RefPtr<StringImpl> newImpl = StringImpl::createUninitialized(m_impl->length() + string.length(), data); string 101 Source/wtf/text/WTFString.cpp memcpy(data + m_impl->length(), string.characters8(), string.length() * sizeof(LChar)); string 107 Source/wtf/text/WTFString.cpp RELEASE_ASSERT(string.length() <= numeric_limits<unsigned>::max() - m_impl->length()); string 108 Source/wtf/text/WTFString.cpp RefPtr<StringImpl> newImpl = StringImpl::createUninitialized(m_impl->length() + string.length(), data); string 115 Source/wtf/text/WTFString.cpp if (string.impl()->is8Bit()) string 116 Source/wtf/text/WTFString.cpp StringImpl::copyChars(data + m_impl->length(), string.impl()->characters8(), string.impl()->length()); string 118 Source/wtf/text/WTFString.cpp StringImpl::copyChars(data + m_impl->length(), string.impl()->characters16(), string.impl()->length()); string 161 Source/wtf/text/WTFString.cpp void String::insert(const String& string, unsigned position) string 163 Source/wtf/text/WTFString.cpp if (string.isEmpty()) { string 164 Source/wtf/text/WTFString.cpp if (string.isNull()) string 167 Source/wtf/text/WTFString.cpp m_impl = string.impl(); string 171 Source/wtf/text/WTFString.cpp if (string.is8Bit()) string 172 Source/wtf/text/WTFString.cpp insert(string.impl()->characters8(), string.length(), position); string 174 Source/wtf/text/WTFString.cpp insert(string.impl()->characters16(), string.length(), position); string 926 Source/wtf/text/WTFString.cpp String String::fromUTF8(const LChar* string) string 928 Source/wtf/text/WTFString.cpp if (!string) string 930 Source/wtf/text/WTFString.cpp return fromUTF8(string, strlen(reinterpret_cast<const char*>(string))); string 938 Source/wtf/text/WTFString.cpp String String::fromUTF8WithLatin1Fallback(const LChar* string, size_t size) string 940 Source/wtf/text/WTFString.cpp String utf8 = fromUTF8(string, size); string 942 Source/wtf/text/WTFString.cpp return String(string, size); string 1233 Source/wtf/text/WTFString.cpp String* string(const char*); string 1235 Source/wtf/text/WTFString.cpp Vector<char> asciiDebug(String& string); string 1270 Source/wtf/text/WTFString.cpp Vector<char> asciiDebug(String& string) string 1272 Source/wtf/text/WTFString.cpp return asciiDebug(string.impl()); string 557 Source/wtf/text/WTFString.h inline void append(Vector<UChar, inlineCapacity>& vector, const String& string) string 559 Source/wtf/text/WTFString.h unsigned length = string.length(); string 562 Source/wtf/text/WTFString.h if (string.is8Bit()) { string 563 Source/wtf/text/WTFString.h const LChar* characters8 = string.characters8(); string 568 Source/wtf/text/WTFString.h vector.append(string.characters16(), length); string 99 public/platform/WebCString.h WebCString(const std::string& s) string 104 public/platform/WebCString.h WebCString& operator=(const std::string& s) string 111 public/platform/WebCString.h operator std::string() const string 114 public/platform/WebCString.h return len ? std::string(data(), len) : std::string(); string 307 public/platform/WebGraphicsContext3D.h virtual void shaderSource(WebGLId shader, const WGC3Dchar* string) = 0; string 75 public/platform/WebIDBKey.h BLINK_EXPORT WebString string() const; // Only valid for StringType. string 59 public/platform/WebIDBKeyPath.h BLINK_EXPORT WebString string() const; // Only valid for StringType. string 25 public/platform/WebSerializedOrigin.h WebSerializedOrigin(const url::Origin& origin) : m_string(WebString::fromUTF8(origin.string())) { } string 29 public/platform/WebSerializedOrigin.h const WebString& string() const string 92 public/platform/WebString.h BLINK_COMMON_EXPORT std::string utf8() const; string 97 public/platform/WebString.h static WebString fromUTF8(const std::string& s) string 102 public/platform/WebString.h BLINK_COMMON_EXPORT std::string latin1() const; string 106 public/platform/WebString.h static WebString fromLatin1(const std::string& s) string 152 public/platform/WebString.h assign(s.string().data(), s.string().length()); string 160 public/platform/WebString.h assign(s.string().data(), s.string().length()); string 64 public/platform/WebThreadSafeData.h operator std::string() const string 67 public/platform/WebThreadSafeData.h return len ? std::string(data(), len) : std::string(); string 75 public/platform/WebURL.h std::string spec = m_string.utf8(); string 79 public/platform/WebURL.h const WebString& string() const string 138 public/platform/WebURL.h return a.string().equals(b.string()); string 82 public/web/WebBindings.h BLINK_EXPORT static NPIdentifier getStringIdentifier(const NPUTF8* string); string 146 public/web/WebBindings.h BLINK_EXPORT static void extractIdentifierData(const NPIdentifier&, const NPUTF8*& string, int32_t& number, bool& isString); string 42 public/web/WebContentDetectionResult.h WebContentDetectionResult(const WebRange& range, const WebString& string, const WebURL& intent) string 45 public/web/WebContentDetectionResult.h , m_string(string) string 52 public/web/WebContentDetectionResult.h const WebString& string() const { return m_string; } string 332 public/web/WebViewClient.h registerProtocolHandler(scheme, baseUrl.string(), url.string(), title); string 338 public/web/WebViewClient.h unregisterProtocolHandler(scheme, baseUrl.string(), url.string()); string 344 public/web/WebViewClient.h return isProtocolHandlerRegistered(scheme, baseUrl.string(), url.string());