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

Method GetSize

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

Source from the content-addressed store, hash-verified

272 }
273
274 void URLSearchParamsImpl::GetSize(v8::Local<v8::String> property,
275 const v8::PropertyCallbackInfo<v8::Value> &info) {
276 URLSearchParamsImpl *ptr = GetPointer(info.This());
277 if (ptr == nullptr) {
278 info.GetReturnValue().Set(0);
279 return;
280 }
281
282 auto value = ptr->GetURLSearchParams()->size();
283 info.GetReturnValue().Set((int) value);
284
285 }
286
287 void URLSearchParamsImpl::Sort(const v8::FunctionCallbackInfo<v8::Value> &args) {
288 URLSearchParamsImpl *ptr = GetPointer(args.This());

Callers

nothing calls this directly

Calls 5

ThisMethod · 0.80
GetReturnValueMethod · 0.80
GetURLSearchParamsMethod · 0.80
SetMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected