MCPcopy Create free account
hub / github.com/Snapchat/Valdi / TEST

Function TEST

valdi/test/runtime/JavaScriptTypes_tests.cpp:328–334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

326 value.bridge<MyJSValue*>()->retainCount--;
327 }
328
329 void retainPropertyName(const JSPropertyName& value) override {
330 auto ptr = value.bridge<void*>();
331 unsafeBridge<InternedStringImpl>(ptr)->unsafeRetainInner();
332 }
333
334 void releasePropertyName(const JSPropertyName& value) override {
335 auto ptr = value.bridge<void*>();
336 unsafeBridge<InternedStringImpl>(ptr)->unsafeReleaseInner();
337 }

Callers

nothing calls this directly

Calls 15

strongSmallRefFunction · 0.85
getAllDisposablesMethod · 0.80
retainDisposablesMethod · 0.80
releaseDisposablesMethod · 0.80
toSharedMethod · 0.80
clearErrorMethod · 0.80
getExceptionAndClearMethod · 0.80
getInternedStringMethod · 0.80
getMethod · 0.65
clearMethod · 0.65
setMethod · 0.65
JSValueClass · 0.50

Tested by

no test coverage detected