• Home
  • Raw
  • Download

Lines Matching refs:String

24   Handle<String> matched = args.at<String>(0);  in RUNTIME_FUNCTION()
25 Handle<String> subject = args.at<String>(1); in RUNTIME_FUNCTION()
27 Handle<String> replacement = args.at<String>(3); in RUNTIME_FUNCTION()
31 class SimpleMatch : public String::Match { in RUNTIME_FUNCTION()
33 SimpleMatch(Handle<String> match, Handle<String> prefix, in RUNTIME_FUNCTION()
34 Handle<String> suffix) in RUNTIME_FUNCTION()
37 Handle<String> GetMatch() override { return match_; } in RUNTIME_FUNCTION()
38 Handle<String> GetPrefix() override { return prefix_; } in RUNTIME_FUNCTION()
39 Handle<String> GetSuffix() override { return suffix_; } in RUNTIME_FUNCTION()
43 MaybeHandle<String> GetCapture(int i, bool* capture_exists) override { in RUNTIME_FUNCTION()
47 MaybeHandle<String> GetNamedCapture(Handle<String> name, in RUNTIME_FUNCTION()
53 Handle<String> match_, prefix_, suffix_; in RUNTIME_FUNCTION()
56 Handle<String> prefix = in RUNTIME_FUNCTION()
58 Handle<String> suffix = isolate->factory()->NewSubString( in RUNTIME_FUNCTION()
64 String::GetSubstitution(isolate, &match, replacement, start_index)); in RUNTIME_FUNCTION()
69 MaybeHandle<String> StringReplaceOneCharWithString( in StringReplaceOneCharWithString()
70 Isolate* isolate, Handle<String> subject, Handle<String> search, in StringReplaceOneCharWithString()
71 Handle<String> replace, bool* found, int recursion_limit) { in StringReplaceOneCharWithString()
74 return MaybeHandle<String>(); in StringReplaceOneCharWithString()
79 Handle<String> first = handle(cons.first(), isolate); in StringReplaceOneCharWithString()
80 Handle<String> second = handle(cons.second(), isolate); in StringReplaceOneCharWithString()
81 Handle<String> new_first; in StringReplaceOneCharWithString()
84 return MaybeHandle<String>(); in StringReplaceOneCharWithString()
88 Handle<String> new_second; in StringReplaceOneCharWithString()
92 return MaybeHandle<String>(); in StringReplaceOneCharWithString()
98 int index = String::IndexOf(isolate, subject, search, 0); in StringReplaceOneCharWithString()
101 Handle<String> first = isolate->factory()->NewSubString(subject, 0, index); in StringReplaceOneCharWithString()
102 Handle<String> cons1; in StringReplaceOneCharWithString()
105 String); in StringReplaceOneCharWithString()
106 Handle<String> second = in StringReplaceOneCharWithString()
115 Handle<String> subject = args.at<String>(0); in RUNTIME_FUNCTION()
116 Handle<String> search = args.at<String>(1); in RUNTIME_FUNCTION()
117 Handle<String> replace = args.at<String>(2); in RUNTIME_FUNCTION()
123 Handle<String> result; in RUNTIME_FUNCTION()
131 subject = String::Flatten(isolate, subject); in RUNTIME_FUNCTION()
144 return String::LastIndexOf(isolate, args.at(0), args.at(1), in RUNTIME_FUNCTION()
151 Handle<String> string = args.at<String>(0); in RUNTIME_FUNCTION()
164 Handle<String> str1 = args.at<String>(0); in RUNTIME_FUNCTION()
165 Handle<String> str2 = args.at<String>(1); in RUNTIME_FUNCTION()
175 Handle<String> string = args.at<String>(0); in RUNTIME_FUNCTION()
183 Handle<String> subject = args.at<String>(0); in RUNTIME_FUNCTION()
189 subject = String::Flatten(isolate, subject); in RUNTIME_FUNCTION()
206 Handle<String> special = args.at<String>(2); in RUNTIME_FUNCTION()
214 DCHECK_GE(Smi::kMaxValue, String::kMaxLength); in RUNTIME_FUNCTION()
296 (element.IsString() && String::cast(element).LooksValid())); in CopyCachedOneByteCharsToArray()
307 Handle<String> s = args.at<String>(0); in RUNTIME_FUNCTION()
310 s = String::Flatten(isolate, s); in RUNTIME_FUNCTION()
321 String::FlatContent content = s->GetFlatContent(no_gc); in RUNTIME_FUNCTION()
343 DCHECK_EQ(String::cast(elements->get(i)).length(), 1); in RUNTIME_FUNCTION()
353 Handle<String> x = args.at<String>(0); in RUNTIME_FUNCTION()
354 Handle<String> y = args.at<String>(1); in RUNTIME_FUNCTION()
355 ComparisonResult result = String::Compare(isolate, x, y); in RUNTIME_FUNCTION()
364 Handle<String> x = args.at<String>(0); in RUNTIME_FUNCTION()
365 Handle<String> y = args.at<String>(1); in RUNTIME_FUNCTION()
366 ComparisonResult result = String::Compare(isolate, x, y); in RUNTIME_FUNCTION()
375 Handle<String> x = args.at<String>(0); in RUNTIME_FUNCTION()
376 Handle<String> y = args.at<String>(1); in RUNTIME_FUNCTION()
377 ComparisonResult result = String::Compare(isolate, x, y); in RUNTIME_FUNCTION()
386 Handle<String> x = args.at<String>(0); in RUNTIME_FUNCTION()
387 Handle<String> y = args.at<String>(1); in RUNTIME_FUNCTION()
388 ComparisonResult result = String::Compare(isolate, x, y); in RUNTIME_FUNCTION()
397 Handle<String> x = args.at<String>(0); in RUNTIME_FUNCTION()
398 Handle<String> y = args.at<String>(1); in RUNTIME_FUNCTION()
399 return isolate->heap()->ToBoolean(String::Equals(isolate, x, y)); in RUNTIME_FUNCTION()
405 Handle<String> str = args.at<String>(0); in RUNTIME_FUNCTION()
406 return *String::Flatten(isolate, str); in RUNTIME_FUNCTION()
411 return Smi::FromInt(String::kMaxLength); in RUNTIME_FUNCTION()
417 Handle<String> string = args.at<String>(0); in RUNTIME_FUNCTION()
423 Handle<String> quotes = in RUNTIME_FUNCTION()
426 int quote_index = String::IndexOf(isolate, string, quotes, 0); in RUNTIME_FUNCTION()
434 quote_index = String::IndexOf(isolate, string, quotes, quote_index + 1); in RUNTIME_FUNCTION()
440 Handle<String> replacement = in RUNTIME_FUNCTION()