/dports/math/octave/octave-6.4.0/scripts/prefs/ |
H A D | rmpref.m | 87 %! addpref ("group2", {"prefA", "prefB", "prefC"}, {"strA", "strB", "strC"}); 93 %! assert (ispref ("group2", "prefB")); 94 %! rmpref ("group2", "prefB"); 95 %! assert (! ispref ("group2", "prefB")); 101 %! fail ('rmpref ("group2", "prefB")', 102 %! "preference prefB does not exist"); 103 %! fail ('rmpref ("group2", {"prefA", "prefB"})', 104 %! "preference prefB does not exist");
|
H A D | ispref.m | 79 %! addpref ("group2", {"prefA", "prefB"}, {"StringA", {"StringB"}}); 84 %! assert (ispref ("group2", "prefB")); 87 %! assert (ispref ("group2", {"prefB", "prefC"}), [true, false]); 89 %! assert (ispref ("group3", "prefB"), false); 90 %! assert (ispref ("group3", {"prefB", "prefC"}), [false, false]);
|
H A D | getpref.m | 123 %! addpref ("group2", {"prefA", "prefB"}, {"StringA", {"StringB"}}); 127 %! exp.group2.prefB = {"StringB"}; 137 %! assert (getpref ("group2", "prefB"), {"StringB"}); 143 %! assert (getpref ("group2", {"prefA", "prefB"}), {"StringA", {"StringB"}});
|
H A D | setpref.m | 87 %! setpref ("group2", {"prefA", "prefB"}, {"StringA", {"StringB"}}); 89 %! assert (getpref ("group2", "prefB"), {"StringB"});
|
H A D | addpref.m | 92 %! addpref ("group2", {"prefA", "prefB"}, {"StringA", {"StringB"}}); 94 %! assert (getpref ("group2", "prefB"), {"StringB"});
|
/dports/www/firefox-esr/firefox-91.8.0/dom/base/ |
H A D | nsJSEnvironment.cpp | 1815 CheckedInt<int32_t> prefB = CheckedInt<int32_t>(prefMB) * 1024 * 1024; in SetMemoryPrefChangedCallbackMB() local 1816 if (prefB.isValid() && prefB.value() >= 0) { in SetMemoryPrefChangedCallbackMB() 1817 SetGCParameter((JSGCParamKey)(uintptr_t)aClosure, prefB.value()); in SetMemoryPrefChangedCallbackMB() 1827 CheckedInt<int32_t> prefB = CheckedInt<int32_t>(prefKB) * 1024; in SetMemoryNurseryPrefChangedCallback() local 1828 if (prefB.isValid() && prefB.value() >= 0) { in SetMemoryNurseryPrefChangedCallback() 1829 SetGCParameter((JSGCParamKey)(uintptr_t)aClosure, prefB.value()); in SetMemoryNurseryPrefChangedCallback()
|
/dports/mail/thunderbird/thunderbird-91.8.0/dom/base/ |
H A D | nsJSEnvironment.cpp | 1815 CheckedInt<int32_t> prefB = CheckedInt<int32_t>(prefMB) * 1024 * 1024; in SetMemoryPrefChangedCallbackMB() local 1816 if (prefB.isValid() && prefB.value() >= 0) { in SetMemoryPrefChangedCallbackMB() 1817 SetGCParameter((JSGCParamKey)(uintptr_t)aClosure, prefB.value()); in SetMemoryPrefChangedCallbackMB() 1827 CheckedInt<int32_t> prefB = CheckedInt<int32_t>(prefKB) * 1024; in SetMemoryNurseryPrefChangedCallback() local 1828 if (prefB.isValid() && prefB.value() >= 0) { in SetMemoryNurseryPrefChangedCallback() 1829 SetGCParameter((JSGCParamKey)(uintptr_t)aClosure, prefB.value()); in SetMemoryNurseryPrefChangedCallback()
|
/dports/www/firefox/firefox-99.0/dom/base/ |
H A D | nsJSEnvironment.cpp | 1824 CheckedInt<int32_t> prefB = CheckedInt<int32_t>(prefMB) * 1024 * 1024; in SetMemoryPrefChangedCallbackMB() local 1825 if (prefB.isValid() && prefB.value() >= 0) { in SetMemoryPrefChangedCallbackMB() 1826 SetGCParameter((JSGCParamKey)(uintptr_t)aClosure, prefB.value()); in SetMemoryPrefChangedCallbackMB() 1836 CheckedInt<int32_t> prefB = CheckedInt<int32_t>(prefKB) * 1024; in SetMemoryNurseryPrefChangedCallback() local 1837 if (prefB.isValid() && prefB.value() >= 0) { in SetMemoryNurseryPrefChangedCallback() 1838 SetGCParameter((JSGCParamKey)(uintptr_t)aClosure, prefB.value()); in SetMemoryNurseryPrefChangedCallback()
|
/dports/lang/spidermonkey60/firefox-60.9.0/dom/base/ |
H A D | nsJSEnvironment.cpp | 2296 CheckedInt<int32_t> prefB = CheckedInt<int32_t>(prefMB) * 1024 * 1024; in SetMemoryPrefChangedCallbackMB() local 2297 if (prefB.isValid() && prefB.value() >= 0) { in SetMemoryPrefChangedCallbackMB() 2298 SetGCParameter((JSGCParamKey)(uintptr_t)aClosure, prefB.value()); in SetMemoryPrefChangedCallbackMB() 2308 CheckedInt<int32_t> prefB = CheckedInt<int32_t>(prefMB) * 1024; in SetMemoryNurseryMaxPrefChangedCallback() local 2309 if (prefB.isValid() && prefB.value() >= 0) { in SetMemoryNurseryMaxPrefChangedCallback() 2310 SetGCParameter((JSGCParamKey)(uintptr_t)aClosure, prefB.value()); in SetMemoryNurseryMaxPrefChangedCallback()
|
/dports/lang/spidermonkey78/firefox-78.9.0/dom/base/ |
H A D | nsJSEnvironment.cpp | 2421 CheckedInt<int32_t> prefB = CheckedInt<int32_t>(prefMB) * 1024 * 1024; in SetMemoryPrefChangedCallbackMB() local 2422 if (prefB.isValid() && prefB.value() >= 0) { in SetMemoryPrefChangedCallbackMB() 2423 SetGCParameter((JSGCParamKey)(uintptr_t)aClosure, prefB.value()); in SetMemoryPrefChangedCallbackMB() 2433 CheckedInt<int32_t> prefB = CheckedInt<int32_t>(prefKB) * 1024; in SetMemoryNurseryPrefChangedCallback() local 2434 if (prefB.isValid() && prefB.value() >= 0) { in SetMemoryNurseryPrefChangedCallback() 2435 SetGCParameter((JSGCParamKey)(uintptr_t)aClosure, prefB.value()); in SetMemoryNurseryPrefChangedCallback()
|