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

Method Set

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

Source from the content-addressed store, hash-verified

258 }
259
260 void URLSearchParamsImpl::Set(const v8::FunctionCallbackInfo<v8::Value> &args) {
261 URLSearchParamsImpl *ptr = GetPointer(args.This());
262 if (ptr == nullptr) {
263 return;
264 }
265 auto key = args[0].As<v8::String>();
266 auto value = args[1].As<v8::String>();
267
268 ptr->GetURLSearchParams()->set(
269 ArgConverter::ConvertToString(key),
270 ArgConverter::ConvertToString(value)
271 );
272 }
273
274 void URLSearchParamsImpl::GetSize(v8::Local<v8::String> property,
275 const v8::PropertyCallbackInfo<v8::Value> &info) {

Callers 10

GetCtorMethod · 0.45
CtorMethod · 0.45
EntriesMethod · 0.45
GetMethod · 0.45
GetAllMethod · 0.45
HasMethod · 0.45
KeysMethod · 0.45
GetSizeMethod · 0.45
ToStringMethod · 0.45
ValuesMethod · 0.45

Calls 3

ThisMethod · 0.80
GetURLSearchParamsMethod · 0.80
setMethod · 0.45

Tested by

no test coverage detected