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 return false;
327 }
328
329 void retainValue(const JSValue& value) override {
330 value.bridge<MyJSValue*>()->retainCount++;
331 }
332
333 void releaseValue(const JSValue& value) override {
334 value.bridge<MyJSValue*>()->retainCount--;
335 }
336
337 void retainPropertyName(const JSPropertyName& value) override {

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