Home
last modified time | relevance | path

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

123

/external/v8/src/runtime/
Druntime-interpreter.cc21 return isolate->heap()->ToBoolean(result.FromJust()); in RUNTIME_FUNCTION()
35 return isolate->heap()->ToBoolean(!result.FromJust()); in RUNTIME_FUNCTION()
49 return isolate->heap()->ToBoolean(result.FromJust()); in RUNTIME_FUNCTION()
63 return isolate->heap()->ToBoolean(result.FromJust()); in RUNTIME_FUNCTION()
77 return isolate->heap()->ToBoolean(result.FromJust()); in RUNTIME_FUNCTION()
91 return isolate->heap()->ToBoolean(result.FromJust()); in RUNTIME_FUNCTION()
103 return isolate->heap()->ToBoolean(x->StrictEquals(y)); in RUNTIME_FUNCTION()
112 return isolate->heap()->ToBoolean(!x->StrictEquals(y)); in RUNTIME_FUNCTION()
120 return isolate->heap()->ToBoolean(x->BooleanValue()); in RUNTIME_FUNCTION()
128 return isolate->heap()->ToBoolean(!x->BooleanValue()); in RUNTIME_FUNCTION()
Druntime-object.cc223 elms->set(ENUMERABLE_INDEX, heap->ToBoolean((attrs & DONT_ENUM) == 0)); in GetOwnProperty()
224 elms->set(CONFIGURABLE_INDEX, heap->ToBoolean((attrs & DONT_DELETE) == 0)); in GetOwnProperty()
228 elms->set(IS_ACCESSOR_INDEX, heap->ToBoolean(is_accessor_pair)); in GetOwnProperty()
241 elms->set(WRITABLE_INDEX, heap->ToBoolean((attrs & READ_ONLY) == 0)); in GetOwnProperty()
573 return isolate->heap()->ToBoolean(result.FromJust()); in DeleteProperty()
671 return isolate->heap()->ToBoolean(result.FromJust()); in RUNTIME_FUNCTION()
700 return isolate->heap()->ToBoolean(maybe.FromJust()); in RUNTIME_FUNCTION()
715 return isolate->heap()->ToBoolean((maybe.FromJust() & DONT_ENUM) == 0); in RUNTIME_FUNCTION()
885 return isolate->heap()->ToBoolean(obj->IsJSGlobalProxy()); in RUNTIME_FUNCTION()
961 return isolate->heap()->ToBoolean( in RUNTIME_FUNCTION()
[all …]
Druntime-observe.cc21 return isolate->heap()->ToBoolean(obj->map()->is_observed()); in RUNTIME_FUNCTION()
114 return isolate->heap()->ToBoolean( in RUNTIME_FUNCTION()
126 return isolate->heap()->ToBoolean( in RUNTIME_FUNCTION()
Druntime-test.cc79 return isolate->heap()->ToBoolean( in RUNTIME_FUNCTION()
465 return isolate->heap()->ToBoolean(obj1->map() == obj2->map()); in RUNTIME_FUNCTION()
473 return isolate->heap()->ToBoolean(isolate->heap()->InNewSpace(obj)); in RUNTIME_FUNCTION()
480 return isolate->heap()->ToBoolean(obj->Has##Name()); \
500 return isolate->heap()->ToBoolean(obj->HasFixed##Type##Elements()); \
Druntime-collections.cc136 details->set(0, isolate->heap()->ToBoolean(holder->HasMore())); in RUNTIME_FUNCTION()
223 details->set(0, isolate->heap()->ToBoolean(holder->HasMore())); in RUNTIME_FUNCTION()
309 return isolate->heap()->ToBoolean(!lookup->IsTheHole()); in RUNTIME_FUNCTION()
324 return isolate->heap()->ToBoolean(was_present); in RUNTIME_FUNCTION()
Druntime-date.cc21 return isolate->heap()->ToBoolean(obj->IsJSDate()); in RUNTIME_FUNCTION()
Druntime-function.cc141 return isolate->heap()->ToBoolean(f->shared()->IsApiFunction()); in RUNTIME_FUNCTION()
232 return isolate->heap()->ToBoolean(object->IsConstructor()); in RUNTIME_FUNCTION()
338 return isolate->heap()->ToBoolean(object->IsFunction()); in RUNTIME_FUNCTION()
Druntime-simd.cc163 return isolate->heap()->ToBoolean(args[0]->IsSimd128Value()); in RUNTIME_FUNCTION()
183 return isolate->heap()->ToBoolean(result); in RUNTIME_FUNCTION()
203 return isolate->heap()->ToBoolean(result); in RUNTIME_FUNCTION()
271 FUNCTION(Bool32x4, bool, 4, ToBoolean, GET_BOOLEAN_ARG) \
274 FUNCTION(Bool16x8, bool, 8, ToBoolean, GET_BOOLEAN_ARG) \
277 FUNCTION(Bool8x16, bool, 16, ToBoolean, GET_BOOLEAN_ARG)
522 return isolate->heap()->ToBoolean(result); \
537 return isolate->heap()->ToBoolean(result); \
Druntime-symbol.cc72 return isolate->heap()->ToBoolean(symbol->is_private()); in RUNTIME_FUNCTION()
Druntime-forin.cc20 return isolate->heap()->ToBoolean(index == length); in RUNTIME_FUNCTION()
Druntime-typedarray.cc377 return isolate->heap()->ToBoolean(args[0]->IsJSTypedArray()); in RUNTIME_FUNCTION()
384 return isolate->heap()->ToBoolean( in RUNTIME_FUNCTION()
398 return isolate->heap()->ToBoolean(obj->GetBuffer()->is_shared() && in RUNTIME_FUNCTION()
412 return isolate->heap()->ToBoolean(obj->GetBuffer()->is_shared() && in RUNTIME_FUNCTION()
Druntime-numbers.cc105 return isolate->heap()->ToBoolean(Smi::IsValid(number)); in RUNTIME_FUNCTION()
311 return isolate->heap()->ToBoolean(obj->IsSmi()); in RUNTIME_FUNCTION()
Druntime-debug.cc136 result->set(1, isolate->heap()->ToBoolean(iterator->HasMore())); in GetIteratorInternalProperties()
335 2, isolate->heap()->ToBoolean(it.state() == LookupIterator::INTERCEPTOR)); in RUNTIME_FUNCTION()
338 details->set(3, isolate->heap()->ToBoolean(has_caught)); in RUNTIME_FUNCTION()
654 details->set(kFrameDetailsConstructCallIndex, heap->ToBoolean(constructor)); in RUNTIME_FUNCTION()
657 details->set(kFrameDetailsAtReturnIndex, heap->ToBoolean(at_return)); in RUNTIME_FUNCTION()
970 return isolate->heap()->ToBoolean(res); in RUNTIME_FUNCTION()
Druntime-proxy.cc148 return isolate->heap()->ToBoolean(obj->IsJSProxy()); in RUNTIME_FUNCTION()
Druntime-maths.cc248 return isolate->heap()->ToBoolean(IsMinusZero(number->value())); in RUNTIME_FUNCTION()
Druntime-i18n.cc241 return isolate->heap()->ToBoolean(!tag->IsUndefined()); in RUNTIME_FUNCTION()
258 return isolate->heap()->ToBoolean(tag->IsString() && in RUNTIME_FUNCTION()
/external/v8/src/
Dproperty-descriptor.cc123 factory->ToBoolean(writable())); in ToObject()
133 factory->ToBoolean(enumerable())); in ToObject()
137 factory->ToBoolean(configurable())); in ToObject()
Dcode-factory.h69 static Callable ToBoolean(Isolate* isolate);
Di18n.cc409 factory->ToBoolean(number_format->isGroupingUsed()), SLOPPY).Assert(); in SetResolvedNumberSettings()
538 factory->ToBoolean( in SetResolvedCollatorSettings()
614 factory->ToBoolean(collator->getAttribute(UCOL_ALTERNATE_HANDLING, in SetResolvedCollatorSettings()
Dbuiltins.cc1461 return *isolate->factory()->ToBoolean(result.FromJust()); in BUILTIN()
1575 return isolate->heap()->ToBoolean(result.FromJust()); in BUILTIN()
1588 return isolate->heap()->ToBoolean(result.FromJust()); in BUILTIN()
1601 return isolate->heap()->ToBoolean(result.FromJust()); in BUILTIN()
1766 return *isolate->factory()->ToBoolean(result.FromJust()); in BUILTIN()
1791 return *isolate->factory()->ToBoolean(result.FromJust()); in BUILTIN()
1888 return result.IsJust() ? *isolate->factory()->ToBoolean(result.FromJust()) in BUILTIN()
1909 return *isolate->factory()->ToBoolean(result.FromJust()); in BUILTIN()
1951 return *isolate->factory()->ToBoolean(result.FromJust()); in BUILTIN()
1979 return *isolate->factory()->ToBoolean(result.FromJust()); in BUILTIN()
[all …]
Dcode-factory.cc151 Callable CodeFactory::ToBoolean(Isolate* isolate) { in ToBoolean() function in v8::internal::CodeFactory
/external/v8/test/unittests/compiler/
Djs-typed-lowering-unittest.cc228 Reduce(graph()->NewNode(javascript()->ToBoolean(ToBooleanHint::kAny), in TEST_F()
258 Reduce(graph()->NewNode(javascript()->ToBoolean(ToBooleanHint::kAny), in TEST_F()
274 Reduce(graph()->NewNode(javascript()->ToBoolean(ToBooleanHint::kAny), in TEST_F()
285 Reduce(graph()->NewNode(javascript()->ToBoolean(ToBooleanHint::kAny), in TEST_F()
296 Reduce(graph()->NewNode(javascript()->ToBoolean(ToBooleanHint::kAny), in TEST_F()
308 Reduce(graph()->NewNode(javascript()->ToBoolean(ToBooleanHint::kAny), in TEST_F()
323 Reduce(graph()->NewNode(javascript()->ToBoolean(ToBooleanHint::kAny), in TEST_F()
/external/pdfium/core/include/fpdfapi/
Dfpdf_objects.h154 inline CPDF_Boolean* ToBoolean(CPDF_Object* obj) { in ToBoolean() function
157 inline const CPDF_Boolean* ToBoolean(const CPDF_Object* obj) { in ToBoolean() function
/external/v8/test/unittests/runtime/
Druntime-interpreter-unittest.cc140 TEST_F(RuntimeInterpreterTest, ToBoolean) { in TEST_F() argument
/external/v8/test/cctest/interpreter/
Dtest-interpreter.cc394 handles.main_isolate()->factory()->ToBoolean(expected); in TEST()
430 handles.main_isolate()->factory()->ToBoolean(expected); in TEST()
2470 factory->ToBoolean(true)), in TEST()
2471 std::make_pair("return delete this;", factory->ToBoolean(true)), in TEST()
2472 std::make_pair("return delete 'test';", factory->ToBoolean(true))}; in TEST()
2520 factory->ToBoolean(true)), in TEST()
2524 factory->ToBoolean(true))}; in TEST()
2570 factory->ToBoolean(true)), in TEST()
2576 factory->ToBoolean(false)), in TEST()
2582 factory->ToBoolean(true)), in TEST()
[all …]

123