MCPcopy Create free account
hub / github.com/NativeScript/android / ToString

Method ToString

test-app/runtime/src/main/cpp/URLSearchParamsImpl.cpp:295–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

293 }
294
295 void URLSearchParamsImpl::ToString(const v8::FunctionCallbackInfo<v8::Value> &args) {
296 URLSearchParamsImpl *ptr = GetPointer(args.This());
297 if (ptr == nullptr) {
298 args.GetReturnValue().SetEmptyString();
299 return;
300 }
301 auto isolate = args.GetIsolate();
302
303
304 auto value = ptr->GetURLSearchParams()->to_string();
305
306 auto ret = ArgConverter::ConvertToV8String(isolate, value);
307
308 args.GetReturnValue().Set(ret);
309 }
310
311 void URLSearchParamsImpl::Values(const v8::FunctionCallbackInfo<v8::Value> &args) {
312 URLSearchParamsImpl *ptr = GetPointer(args.This());

Callers 1

CtorMethod · 0.45

Calls 7

ThisMethod · 0.80
SetEmptyStringMethod · 0.80
GetReturnValueMethod · 0.80
GetURLSearchParamsMethod · 0.80
to_stringMethod · 0.60
GetIsolateMethod · 0.45
SetMethod · 0.45

Tested by

no test coverage detected