Home
last modified time | relevance | path

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

/external/v8/src/inspector/
Dv8-internal-value-type.cc43 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()
Dv8-console.cc116 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 …]
Dv8-value-copier.cc31 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()
Dv8-debugger.cc150 .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 …]
Dinspected-context.cc54 .FromMaybe(false)) in InspectedContext()
Dv8-debugger-agent-impl.cc937 .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()
Dv8-injected-script-host.cc53 .FromMaybe(false); in create()
241 .FromMaybe(false); in objectHasOwnPropertyCallback()
Djava-script-call-frame.cc91 return result.As<v8::Boolean>()->BooleanValue(context).FromMaybe(false); in isAtReturn()
Dinjected-script.cc349 : message->GetLineNumber(m_context->context()).FromMaybe(1) - in createExceptionDetails()
354 : message->GetStartColumn(m_context->context()).FromMaybe(0)) in createExceptionDetails()
/external/v8/src/extensions/
Dgc-extension.cc23 .FromMaybe(false) in GC()
Dstatistics-extension.cc69 .FromMaybe(false)) { in GetCounters()
/external/v8/src/
Dvalue-serializer.cc303 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 …]
Dapi.cc164 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 …]
Dcontexts.cc368 if (found.FromMaybe(false)) { in Lookup()
Daccessors.cc1244 if (JSReceiver::HasOwnProperty(obj, stack_trace_symbol).FromMaybe(false)) { in ErrorStackSetter()
Dd8.cc752 .FromMaybe(-1); in RealmIndexOrThrow()
1181 .FromMaybe(0); in QuitOnce()
Dbootstrapper.cc1068 .FromMaybe(false)); in InstallError()
1072 .FromMaybe(false)); in InstallError()
Dcode-stubs.h1412 constant_type.FromMaybe(PropertyCellConstantType::kSmi); in StoreGlobalStub()
Dobjects.cc233 .FromMaybe(false); in IsErrorObject()
1834 if (result.FromMaybe(ABSENT) != ABSENT) return result; in GetPropertyAttributesWithFailedAccessCheck()
/external/pdfium/fxjs/
Dcfxjse_value.cpp218 .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()
Dcfxjse_context.cpp142 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()
Dcfxjse_class.cpp124 .FromMaybe(v8::Local<v8::String>()); in Context_GlobalObjToString()
/external/v8/src/builtins/
Dbuiltins-callsite.cc18 .FromMaybe(false)) { \
/external/v8/include/
Dv8.h379 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/
Dshell.cc223 args[0]->Int32Value(args.GetIsolate()->GetCurrentContext()).FromMaybe(0); in Quit()