/external/v8/src/runtime/ |
D | runtime-interpreter.cc | 21 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()
|
D | runtime-object.cc | 223 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 …]
|
D | runtime-observe.cc | 21 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()
|
D | runtime-test.cc | 79 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()); \
|
D | runtime-collections.cc | 136 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()
|
D | runtime-date.cc | 21 return isolate->heap()->ToBoolean(obj->IsJSDate()); in RUNTIME_FUNCTION()
|
D | runtime-function.cc | 141 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()
|
D | runtime-simd.cc | 163 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); \
|
D | runtime-symbol.cc | 72 return isolate->heap()->ToBoolean(symbol->is_private()); in RUNTIME_FUNCTION()
|
D | runtime-forin.cc | 20 return isolate->heap()->ToBoolean(index == length); in RUNTIME_FUNCTION()
|
D | runtime-typedarray.cc | 377 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()
|
D | runtime-numbers.cc | 105 return isolate->heap()->ToBoolean(Smi::IsValid(number)); in RUNTIME_FUNCTION() 311 return isolate->heap()->ToBoolean(obj->IsSmi()); in RUNTIME_FUNCTION()
|
D | runtime-debug.cc | 136 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()
|
D | runtime-proxy.cc | 148 return isolate->heap()->ToBoolean(obj->IsJSProxy()); in RUNTIME_FUNCTION()
|
D | runtime-maths.cc | 248 return isolate->heap()->ToBoolean(IsMinusZero(number->value())); in RUNTIME_FUNCTION()
|
D | runtime-i18n.cc | 241 return isolate->heap()->ToBoolean(!tag->IsUndefined()); in RUNTIME_FUNCTION() 258 return isolate->heap()->ToBoolean(tag->IsString() && in RUNTIME_FUNCTION()
|
/external/v8/src/ |
D | property-descriptor.cc | 123 factory->ToBoolean(writable())); in ToObject() 133 factory->ToBoolean(enumerable())); in ToObject() 137 factory->ToBoolean(configurable())); in ToObject()
|
D | code-factory.h | 69 static Callable ToBoolean(Isolate* isolate);
|
D | i18n.cc | 409 factory->ToBoolean(number_format->isGroupingUsed()), SLOPPY).Assert(); in SetResolvedNumberSettings() 538 factory->ToBoolean( in SetResolvedCollatorSettings() 614 factory->ToBoolean(collator->getAttribute(UCOL_ALTERNATE_HANDLING, in SetResolvedCollatorSettings()
|
D | builtins.cc | 1461 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 …]
|
D | code-factory.cc | 151 Callable CodeFactory::ToBoolean(Isolate* isolate) { in ToBoolean() function in v8::internal::CodeFactory
|
/external/v8/test/unittests/compiler/ |
D | js-typed-lowering-unittest.cc | 228 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/ |
D | fpdf_objects.h | 154 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/ |
D | runtime-interpreter-unittest.cc | 140 TEST_F(RuntimeInterpreterTest, ToBoolean) { in TEST_F() argument
|
/external/v8/test/cctest/interpreter/ |
D | test-interpreter.cc | 394 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 …]
|