/external/v8/src/inspector/ |
D | v8-internal-value-type.cc | 43 return object->SetPrivate(context, privateValue, subtype).FromMaybe(false); in markAsInternal() 58 .FromMaybe(false)) in markArrayEntriesAsInternal() 68 if (!object->HasPrivate(context, privateValue).FromMaybe(false)) in v8InternalValueTypeFrom()
|
D | v8-console.cc | 116 return m_info[0]->BooleanValue(m_context).FromMaybe(defaultValue); in firstArgToBoolean() 157 if (!console->SetPrivate(m_context, privateKey, map).FromMaybe(false)) in privateMap() 168 if (!map->Has(m_context, v8Key).FromMaybe(false)) return defaultValue; in getIntFromMap() 184 if (!map->Has(m_context, v8Key).FromMaybe(false)) return defaultValue; in getDoubleFromMap() 242 .FromMaybe(false)) in checkAndSetPrivateFlagOnConsole() 668 console->SetPrototype(context, v8::Object::New(isolate)).FromMaybe(false); in createConsole() 750 commandLineAPI->SetPrototype(context, v8::Null(isolate)).FromMaybe(false); in createCommandLineAPI() 834 bool removed = info.Holder()->Delete(context, name).FromMaybe(false); in accessorGetterCallback() 862 if (!info.Holder()->Delete(context, name).FromMaybe(false)) return; in accessorSetterCallback() 863 if (!info.Holder()->CreateDataProperty(context, name, value).FromMaybe(false)) in accessorSetterCallback() [all …]
|
D | v8-value-copier.cc | 31 if (!result->SetPrototype(m_to, v8::Null(m_isolate)).FromMaybe(false)) in copy() 40 if (!createDataProperty(m_to, result, i, copied).FromMaybe(false)) in copy() 47 if (!result->SetPrototype(m_to, v8::Null(m_isolate)).FromMaybe(false)) in copy() 64 .FromMaybe(false)) in copy()
|
D | v8-debugger.cc | 150 .FromMaybe(false); in setBreakpoint() 154 .FromMaybe(false); in setBreakpoint() 159 .FromMaybe(false); in setBreakpoint() 163 .FromMaybe(false); in setBreakpoint() 197 .FromMaybe(false); in removeBreakpoint() 236 .FromMaybe(false); in setBreakpointsActivated() 784 if (!copiedArray->SetPrototype(context, v8::Null(m_isolate)).FromMaybe(false)) in collectionEntries() 795 if (!createDataProperty(context, copiedArray, i, copied).FromMaybe(false)) in collectionEntries() 837 if (!location->SetPrototype(context, v8::Null(m_isolate)).FromMaybe(false)) in functionLocation() 842 .FromMaybe(false)) in functionLocation() [all …]
|
D | inspected-context.cc | 54 .FromMaybe(false)) in InspectedContext()
|
D | v8-debugger-agent-impl.cc | 937 .FromMaybe(false)) { in currentCallFrames() 962 .FromMaybe(false)) { in currentCallFrames() 973 .FromMaybe(false)) { in currentCallFrames() 980 .FromMaybe(false)) { in currentCallFrames() 986 .FromMaybe(false)) { in currentCallFrames() 992 .FromMaybe(false)) { in currentCallFrames() 998 .FromMaybe(false)) { in currentCallFrames()
|
D | v8-injected-script-host.cc | 53 .FromMaybe(false); in create() 241 .FromMaybe(false); in objectHasOwnPropertyCallback()
|
D | java-script-call-frame.cc | 91 return result.As<v8::Boolean>()->BooleanValue(context).FromMaybe(false); in isAtReturn()
|
D | injected-script.cc | 349 : message->GetLineNumber(m_context->context()).FromMaybe(1) - in createExceptionDetails() 354 : message->GetStartColumn(m_context->context()).FromMaybe(0)) in createExceptionDetails()
|
/external/v8/src/extensions/ |
D | gc-extension.cc | 23 .FromMaybe(false) in GC()
|
D | statistics-extension.cc | 69 .FromMaybe(false)) { in GetCounters()
|
/external/v8/src/ |
D | value-serializer.cc | 303 if (!WriteJSReceiver(buffer).FromMaybe(false)) return Nothing<bool>(); in WriteObject() 490 if (!WriteObject(key).FromMaybe(false) || in WriteJSObject() 491 !WriteObject(value).FromMaybe(false)) { in WriteJSObject() 569 if (!WriteObject(element).FromMaybe(false)) return Nothing<bool>(); in WriteJSArray() 585 !WriteObject(element).FromMaybe(false)) { in WriteJSArray() 592 if (!accumulator.CollectOwnPropertyNames(array, array).FromMaybe(false)) { in WriteJSArray() 688 if (!WriteObject(handle(entries->get(i), isolate_)).FromMaybe(false)) { in WriteJSMap() 718 if (!WriteObject(handle(entries->get(i), isolate_)).FromMaybe(false)) { in WriteJSSet() 834 if (!WriteObject(key).FromMaybe(false) || in WriteJSObjectPropertiesSlow() 835 !WriteObject(value).FromMaybe(false)) { in WriteJSObjectPropertiesSlow() [all …]
|
D | api.cc | 164 return maybe_local.FromMaybe(Local<T>()); 2387 return Compile(context, source, &origin).FromMaybe(Local<Script>()); in Compile() 2608 return GetLineNumber(context).FromMaybe(0); in GetLineNumber() 2637 return GetStartColumn(context).FromMaybe(default_value); in GetStartColumn() 2658 return GetEndColumn(context).FromMaybe(default_value); in GetEndColumn() 3801 .FromMaybe(std::numeric_limits<double>::quiet_NaN()); in NumberValue() 3827 return IntegerValue(ContextFromHeapObject(obj)).FromMaybe(0); in IntegerValue() 3846 return Int32Value(ContextFromHeapObject(obj)).FromMaybe(0); in Int32Value() 3865 return Uint32Value(ContextFromHeapObject(obj)).FromMaybe(0); in Uint32Value() 3924 return Equals(context, that).FromMaybe(false); in Equals() [all …]
|
D | contexts.cc | 368 if (found.FromMaybe(false)) { in Lookup()
|
D | accessors.cc | 1244 if (JSReceiver::HasOwnProperty(obj, stack_trace_symbol).FromMaybe(false)) { in ErrorStackSetter()
|
D | d8.cc | 752 .FromMaybe(-1); in RealmIndexOrThrow() 1181 .FromMaybe(0); in QuitOnce()
|
D | bootstrapper.cc | 1068 .FromMaybe(false)); in InstallError() 1072 .FromMaybe(false)); in InstallError()
|
D | code-stubs.h | 1412 constant_type.FromMaybe(PropertyCellConstantType::kSmi); in StoreGlobalStub()
|
D | objects.cc | 233 .FromMaybe(false); in IsErrorObject() 1834 if (result.FromMaybe(ABSENT) != ABSENT) return result; in GetPropertyAttributesWithFailedAccessCheck()
|
/external/pdfium/fxjs/ |
D | cfxjse_value.cpp | 218 .FromMaybe(false)); in HasObjectOwnProperty() 239 .FromMaybe(false); in SetObjectOwnProperty() 317 hReturnValue = maybe_retvalue.FromMaybe(v8::Local<v8::Value>()); in Call() 329 hReturnValue = maybe_retvalue.FromMaybe(v8::Local<v8::Value>()); in Call()
|
D | cfxjse_context.cpp | 142 hReturnValue->Set(5, v8::Integer::New(pIsolate, maybe_int.FromMaybe(0))); in FXJSE_CreateReturnValue() 144 hReturnValue->Set(6, v8::Integer::New(pIsolate, maybe_int.FromMaybe(0))); in FXJSE_CreateReturnValue()
|
D | cfxjse_class.cpp | 124 .FromMaybe(v8::Local<v8::String>()); in Context_GlobalObjToString()
|
/external/v8/src/builtins/ |
D | builtins-callsite.cc | 18 .FromMaybe(false)) { \
|
/external/v8/include/ |
D | v8.h | 379 V8_INLINE Local<S> FromMaybe(Local<S> default_value) const { in FromMaybe() function 7662 V8_INLINE T FromMaybe(const T& default_value) const { in FromMaybe() function 9084 .FromMaybe(Local<Boolean>()); 9090 .FromMaybe(Local<Number>()); 9096 .FromMaybe(Local<String>()); 9102 .FromMaybe(Local<String>()); 9108 .FromMaybe(Local<Object>()); 9114 .FromMaybe(Local<Integer>()); 9120 .FromMaybe(Local<Uint32>()); 9126 .FromMaybe(Local<Int32>());
|
/external/v8/samples/ |
D | shell.cc | 223 args[0]->Int32Value(args.GetIsolate()->GetCurrentContext()).FromMaybe(0); in Quit()
|