Home
last modified time | relevance | path

Searched refs:ToBoolean (Results 1 – 25 of 89) sorted by relevance

1234

/third_party/node/deps/v8/src/runtime/
Druntime-operators.cc30 return isolate->heap()->ToBoolean(result.FromJust()); in RUNTIME_FUNCTION()
40 return isolate->heap()->ToBoolean(!result.FromJust()); in RUNTIME_FUNCTION()
48 return isolate->heap()->ToBoolean(x.StrictEquals(y)); in RUNTIME_FUNCTION()
56 return isolate->heap()->ToBoolean(!x.StrictEquals(y)); in RUNTIME_FUNCTION()
64 return isolate->heap()->ToBoolean(x == y); in RUNTIME_FUNCTION()
74 return isolate->heap()->ToBoolean(result.FromJust()); in RUNTIME_FUNCTION()
84 return isolate->heap()->ToBoolean(result.FromJust()); in RUNTIME_FUNCTION()
94 return isolate->heap()->ToBoolean(result.FromJust()); in RUNTIME_FUNCTION()
104 return isolate->heap()->ToBoolean(result.FromJust()); in RUNTIME_FUNCTION()
Druntime-bigint.cc22 return *isolate->factory()->ToBoolean(result); in RUNTIME_FUNCTION()
33 return *isolate->factory()->ToBoolean(result); in RUNTIME_FUNCTION()
47 return *isolate->factory()->ToBoolean(result); in RUNTIME_FUNCTION()
56 return *isolate->factory()->ToBoolean(result); in RUNTIME_FUNCTION()
65 return *isolate->factory()->ToBoolean(result); in RUNTIME_FUNCTION()
75 return *isolate->factory()->ToBoolean(maybe_result.FromJust()); in RUNTIME_FUNCTION()
82 return *isolate->factory()->ToBoolean(bigint->ToBoolean()); in RUNTIME_FUNCTION()
Druntime-proxy.cc22 return isolate->heap()->ToBoolean(obj.IsJSProxy()); in RUNTIME_FUNCTION()
85 return *isolate->factory()->ToBoolean(result.FromJust()); in RUNTIME_FUNCTION()
111 return isolate->heap()->ToBoolean(result.FromJust()); in RUNTIME_FUNCTION()
123 return isolate->heap()->ToBoolean(result.FromJust()); in RUNTIME_FUNCTION()
Druntime-test.cc205 return isolate->heap()->ToBoolean(FLAG_use_ic); in RUNTIME_FUNCTION()
211 return isolate->heap()->ToBoolean( in RUNTIME_FUNCTION()
218 return isolate->heap()->ToBoolean(isolate->allow_atomics_wait()); in RUNTIME_FUNCTION()
433 return isolate->heap()->ToBoolean(function->ActiveTierIsMaglev()); in RUNTIME_FUNCTION()
1254 return isolate->heap()->ToBoolean(obj1.map() == obj2.map()); in RUNTIME_FUNCTION()
1261 return isolate->heap()->ToBoolean( in RUNTIME_FUNCTION()
1272 return isolate->heap()->ToBoolean( in RUNTIME_FUNCTION()
1281 return isolate->heap()->ToBoolean(ObjectInYoungGeneration(obj)); in RUNTIME_FUNCTION()
1339 return isolate->heap()->ToBoolean(result); in RUNTIME_FUNCTION()
1353 return isolate->heap()->ToBoolean(result); in RUNTIME_FUNCTION()
[all …]
Druntime-function.cc73 return isolate->heap()->ToBoolean(f.shared().IsApiFunction()); in RUNTIME_FUNCTION()
96 return isolate->heap()->ToBoolean(object.IsFunction()); in RUNTIME_FUNCTION()
Druntime-object.cc374 return isolate->heap()->ToBoolean(result.FromJust()); in RUNTIME_FUNCTION()
405 return isolate->heap()->ToBoolean(maybe.FromJust()); in RUNTIME_FUNCTION()
413 return isolate->heap()->ToBoolean(attributes.FromJust() != ABSENT); in RUNTIME_FUNCTION()
416 return isolate->heap()->ToBoolean( in RUNTIME_FUNCTION()
444 return isolate->heap()->ToBoolean(false); in RUNTIME_FUNCTION()
446 return isolate->heap()->ToBoolean(it.constness() == in RUNTIME_FUNCTION()
457 return isolate->heap()->ToBoolean(V8_DICT_PROPERTY_CONST_TRACKING_BOOL); in RUNTIME_FUNCTION()
713 return isolate->heap()->ToBoolean(result.FromJust()); in RUNTIME_FUNCTION()
735 return *isolate->factory()->ToBoolean(result.FromJust()); in RUNTIME_FUNCTION()
771 return *isolate->factory()->ToBoolean(result.FromJust()); in RUNTIME_FUNCTION()
[all …]
Druntime-test-wasm.cc274 return isolate->heap()->ToBoolean(is_js_to_wasm); in RUNTIME_FUNCTION()
280 return isolate->heap()->ToBoolean(trap_handler::IsTrapHandlerEnabled()); in RUNTIME_FUNCTION()
286 return isolate->heap()->ToBoolean(trap_handler::IsThreadInWasm()); in RUNTIME_FUNCTION()
467 return isolate->heap()->ToBoolean(code && code->is_liftoff()); in RUNTIME_FUNCTION()
482 return isolate->heap()->ToBoolean(code && code->is_turbofan()); in RUNTIME_FUNCTION()
Druntime-strings.cc357 return isolate->heap()->ToBoolean( in RUNTIME_FUNCTION()
368 return isolate->heap()->ToBoolean( in RUNTIME_FUNCTION()
379 return isolate->heap()->ToBoolean( in RUNTIME_FUNCTION()
390 return isolate->heap()->ToBoolean( in RUNTIME_FUNCTION()
399 return isolate->heap()->ToBoolean(String::Equals(isolate, x, y)); in RUNTIME_FUNCTION()
/third_party/node/deps/v8/src/builtins/
Dbuiltins-callsite.cc142 return isolate->heap()->ToBoolean(frame->IsAsync()); in BUILTIN()
148 return isolate->heap()->ToBoolean(frame->IsConstructor()); in BUILTIN()
154 return isolate->heap()->ToBoolean(frame->IsEval()); in BUILTIN()
160 return isolate->heap()->ToBoolean(frame->IsNative()); in BUILTIN()
166 return isolate->heap()->ToBoolean(frame->IsPromiseAll()); in BUILTIN()
172 return isolate->heap()->ToBoolean(frame->IsToplevel()); in BUILTIN()
Dproxy-is-extensible.tq31 // 7. Let booleanTrapResult be ToBoolean(? Call(trap, handler, «
33 const trapResult = ToBoolean(Call(context, trap, handler, target));
37 ToBoolean(object::ObjectIsExtensibleImpl(target));
Darray-findlast.tq19 // 5c. Let testResult be ! ToBoolean(? Call(predicate, thisArg, « kValue,
24 if (ToBoolean(testResult)) {
59 // 5c. Let testResult be ! ToBoolean(? Call(predicate, thisArg, « kValue,
64 if (ToBoolean(testResult)) {
Darray-findlastindex.tq20 // 5c. Let testResult be ! ToBoolean(? Call(predicate, thisArg, « kValue,
25 if (ToBoolean(testResult)) {
60 // 5c. Let testResult be ! ToBoolean(? Call(predicate, thisArg, « kValue,
65 if (ToBoolean(testResult)) {
Darray-find.tq58 if (ToBoolean(isFound)) {
79 // 6c. Let testResult be ToBoolean(? Call(predicate, T, <<kValue, k,
84 if (ToBoolean(testResult)) {
111 if (ToBoolean(testResult)) {
Darray-findindex.tq58 if (ToBoolean(isFound)) {
79 // 6c. Let testResult be ToBoolean(? Call(predicate, T, <<kValue, k,
84 if (ToBoolean(testResult)) {
111 if (ToBoolean(testResult)) {
Dproxy-has-property.tq37 // 8. Let booleanTrapResult be ToBoolean(? Call(trap, handler, «
43 if (ToBoolean(trapResult)) {
Dproxy-prevent-extensions.tq32 // 7. Let booleanTrapResult be ToBoolean(? Call(trap, handler, «
39 if (ToBoolean(trapResult)) {
Dproxy-delete-property.tq38 // 8. Let booleanTrapResult be ToBoolean(? Call(trap, handler,
43 if (!ToBoolean(trapResult)) {
Dbuiltins-reflect.cc46 return *isolate->factory()->ToBoolean(result.FromJust()); in BUILTIN()
122 return *isolate->factory()->ToBoolean(result.FromJust()); in BUILTIN()
Dproxy-set-prototype-of.tq35 // 8. Let booleanTrapResult be ToBoolean(? Call(trap, handler, « target, V
40 if (!ToBoolean(trapResult)) {
Dtyped-array-findindex.tq33 // 6c. Let testResult be ! ToBoolean(? Call(predicate, thisArg, « kValue,
40 if (ToBoolean(result)) {
Dtyped-array-some.tq33 // 6c. Let testResult be ! ToBoolean(? Call(callbackfn, thisArg, « kValue,
42 if (ToBoolean(result)) {
Dtyped-array-every.tq33 // 6c. Let testResult be ! ToBoolean(? Call(callbackfn, thisArg, « kValue,
41 if (!ToBoolean(result)) {
Dtyped-array-find.tq33 // 6c. Let testResult be ! ToBoolean(? Call(predicate, thisArg, « kValue,
42 if (ToBoolean(result)) {
Darray-every.tq43 if (!ToBoolean(result)) {
76 if (!ToBoolean(result)) {
103 if (!ToBoolean(result)) {
/third_party/node/deps/v8/src/objects/
Dproperty-descriptor.cc138 isolate->heap()->ToBoolean(enumerable())); in ToObject()
141 isolate->heap()->ToBoolean(configurable())); in ToObject()
151 isolate->heap()->ToBoolean(writable())); in ToObject()
153 isolate->heap()->ToBoolean(enumerable())); in ToObject()
155 isolate->heap()->ToBoolean(configurable())); in ToObject()
164 factory->ToBoolean(writable())); in ToObject()
174 factory->ToBoolean(enumerable())); in ToObject()
178 factory->ToBoolean(configurable())); in ToObject()

1234