Home
last modified time | relevance | path

Searched refs:receiver_string (Results 1 – 3 of 3) sorted by relevance

/external/v8/src/runtime/
Druntime-strings.cc162 Handle<String> receiver_string; in RUNTIME_FUNCTION() local
163 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, receiver_string, in RUNTIME_FUNCTION()
186 uint32_t index = receiver_string->ToValidIndex(*position); in RUNTIME_FUNCTION()
188 String::IndexOf(isolate, receiver_string, search_string, index); in RUNTIME_FUNCTION()
207 Handle<String> receiver_string = args.at<String>(0); in RUNTIME_FUNCTION() local
209 int index = std::min(std::max(args.smi_at(2), 0), receiver_string->length()); in RUNTIME_FUNCTION()
211 return Smi::FromInt(String::IndexOf(isolate, receiver_string, search_string, in RUNTIME_FUNCTION()
/external/v8/src/builtins/
Dbuiltins-string-gen.cc1532 TNode<String> receiver_string = ToString_Inline(context, receiver); in Generate() local
1546 Return(CallBuiltin(builtin, context, regexp, receiver_string)); in Generate()
1553 receiver_string)); in Generate()
1637 Node* const receiver_string = ToThisString(context, receiver, method_name); in Generate() local
1638 TNode<Smi> const string_length = LoadStringLengthAsSmi(receiver_string); in Generate()
1730 var_pad.value(), receiver_string) in Generate()
1732 receiver_string, var_pad.value())); in Generate()
1735 arguments.PopAndReturn(receiver_string); in Generate()
/external/v8/src/
Dobjects.cc11873 Handle<String> receiver_string; in IndexOf() local
11874 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, receiver_string, in IndexOf()
11884 uint32_t index = receiver_string->ToValidIndex(*position); in IndexOf()
11886 String::IndexOf(isolate, receiver_string, search_string, index)); in IndexOf()
12144 Handle<String> receiver_string; in LastIndexOf() local
12145 ASSIGN_RETURN_FAILURE_ON_EXCEPTION(isolate, receiver_string, in LastIndexOf()
12158 start_index = receiver_string->length(); in LastIndexOf()
12162 start_index = receiver_string->ToValidIndex(*position); in LastIndexOf()
12166 uint32_t receiver_length = receiver_string->length(); in LastIndexOf()
12176 receiver_string = String::Flatten(isolate, receiver_string); in LastIndexOf()
[all …]