Home
last modified time | relevance | path

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

12345

/third_party/flutter/engine/flutter/shell/platform/fuchsia/dart-pkg/zircon/sdk_ext/
Dhandle.cc21 FML_DCHECK(state); in Handle()
23 FML_DCHECK(!tonic::LogIfError(zircon_lib)); in Handle()
27 FML_DCHECK(!tonic::LogIfError(on_wait_completer_type)); in Handle()
31 FML_DCHECK(!tonic::LogIfError(async_lib)); in Handle()
35 FML_DCHECK(!tonic::LogIfError(closure_string)); in Handle()
39 FML_DCHECK(!tonic::LogIfError(schedule_microtask_string)); in Handle()
46 FML_DCHECK(status == ZX_OK); in ~Handle()
59 FML_DCHECK(is_valid()); in ReleaseHandle()
66 FML_DCHECK(waiters_.back()->is_pending()); in ReleaseHandle()
70 FML_DCHECK(!is_valid()); in ReleaseHandle()
[all …]
Dhandle_waiter.cc50 FML_DCHECK(status == ZX_OK); in HandleWaiter()
58 FML_DCHECK(wait_.is_pending() == !!handle_); in Cancel()
67 FML_DCHECK(!wait_.is_pending()); in Cancel()
74 FML_DCHECK(handle_); in OnWaitComplete()
76 FML_DCHECK(!callback_.is_empty()); in OnWaitComplete()
Dsystem.cc52 FML_DCHECK(!tonic::LogIfError(dart_handle_)); in ByteDataScope()
54 FML_DCHECK(size == size_); in ByteDataScope()
69 FML_DCHECK(is_valid_); in Release()
79 FML_DCHECK(size_ == 0); in Acquire()
80 FML_DCHECK(data_ == nullptr); in Acquire()
81 FML_DCHECK(!is_valid_); in Acquire()
124 FML_DCHECK(!tonic::LogIfError(type)); in ConstructDartObject()
133 FML_DCHECK(!tonic::LogIfError(object)); in ConstructDartObject()
140 FML_DCHECK(!tonic::LogIfError(zircon_lib)); in GetNamespace()
143 FML_DCHECK(!tonic::LogIfError(namespace_type)); in GetNamespace()
[all …]
/third_party/flutter/engine/flutter/shell/platform/darwin/ios/
Dios_gl_render_target.mm26 FML_DCHECK(layer_ != nullptr);
27 FML_DCHECK(context_ != nullptr);
28 FML_DCHECK(resource_context_ != nullptr);
32 FML_DCHECK(context_current);
33 FML_DCHECK(glGetError() == GL_NO_ERROR);
38 FML_DCHECK(glGetError() == GL_NO_ERROR);
39 FML_DCHECK(framebuffer_ != GL_NONE);
42 FML_DCHECK(glGetError() == GL_NO_ERROR);
47 FML_DCHECK(colorbuffer_ != GL_NONE);
50 FML_DCHECK(glGetError() == GL_NO_ERROR);
[all …]
/third_party/flutter/engine/flutter/fml/memory/
Dref_counted_internal.h23 FML_DCHECK(!adoption_required_); in AddRef()
24 FML_DCHECK(!destruction_started_); in AddRef()
33 void AssertHasOneRef() const { FML_DCHECK(HasOneRef()); } in AssertHasOneRef()
42 FML_DCHECK(!adoption_required_); in Release()
43 FML_DCHECK(!destruction_started_); in Release()
45 FML_DCHECK(ref_count_.load(std::memory_order_acquire) != 0u); in Release()
70 FML_DCHECK(adoption_required_); in Adopt()
98 FML_DCHECK(!adoption_required_); in ~RefCountedThreadSafeBase()
100 FML_DCHECK(destruction_started_); in ~RefCountedThreadSafeBase()
/third_party/flutter/engine/flutter/shell/common/
Dace_shell.cc258 FML_DCHECK(task_runners_.IsValid()); in Shell()
259 FML_DCHECK(task_runners_.GetPlatformTaskRunner()->RunsTasksOnCurrentThread()); in Shell()
343 FML_DCHECK(is_setup_); in RunEngine()
344 FML_DCHECK(task_runners_.GetPlatformTaskRunner()->RunsTasksOnCurrentThread()); in RunEngine()
409 FML_DCHECK(is_setup_); in GetRasterizer()
417 FML_DCHECK(is_setup_); in GetEngine()
423 FML_DCHECK(is_setup_); in GetPlatformView()
430 FML_DCHECK(is_setup_); in OnPlatformViewCreated()
431 FML_DCHECK(task_runners_.GetPlatformTaskRunner()->RunsTasksOnCurrentThread()); in OnPlatformViewCreated()
478 FML_DCHECK(platform_view); in OnPlatformViewCreated()
[all …]
Dshell.cc275 FML_DCHECK(task_runners_.IsValid()); in Shell()
276 FML_DCHECK(task_runners_.GetPlatformTaskRunner()->RunsTasksOnCurrentThread()); in Shell()
386 FML_DCHECK(is_setup_); in RunEngine()
387 FML_DCHECK(task_runners_.GetPlatformTaskRunner()->RunsTasksOnCurrentThread()); in RunEngine()
412 FML_DCHECK(is_setup_); in GetUIIsolateLastError()
413 FML_DCHECK(task_runners_.GetPlatformTaskRunner()->RunsTasksOnCurrentThread()); in GetUIIsolateLastError()
434 FML_DCHECK(is_setup_); in EngineHasLivePorts()
435 FML_DCHECK(task_runners_.GetPlatformTaskRunner()->RunsTasksOnCurrentThread()); in EngineHasLivePorts()
494 FML_DCHECK(is_setup_); in GetRasterizer()
502 FML_DCHECK(is_setup_); in GetEngine()
[all …]
/third_party/flutter/engine/flutter/third_party/txt/src/txt/
Dasset_font_manager.cc30 FML_DCHECK(font_provider_ != nullptr); in AssetFontManager()
44 FML_DCHECK(false); in onCreateStyleSet()
75 FML_DCHECK(false); in onMatchFaceStyle()
81 FML_DCHECK(false); in onMakeFromData()
88 FML_DCHECK(false); in onMakeFromStreamIndex()
95 FML_DCHECK(false); in onMakeFromStreamArgs()
101 FML_DCHECK(false); in onMakeFromFile()
108 FML_DCHECK(false); in onLegacyMakeTypeface()
/third_party/flutter/engine/flutter/shell/platform/android/
Dandroid_surface_gl.cc64 FML_DCHECK(onscreen_context_ && onscreen_context_->IsValid()); in OnScreenSurfaceResize()
69 FML_DCHECK(offscreen_context_ && offscreen_context_->IsValid()); in ResourceContextMakeCurrent()
74 FML_DCHECK(offscreen_context_ && offscreen_context_->IsValid()); in ResourceContextClearCurrent()
108 FML_DCHECK(onscreen_context_ && onscreen_context_->IsValid()); in GLContextMakeCurrent()
113 FML_DCHECK(onscreen_context_ && onscreen_context_->IsValid()); in GLContextClearCurrent()
118 FML_DCHECK(onscreen_context_ && onscreen_context_->IsValid()); in GLContextPresent()
123 FML_DCHECK(onscreen_context_ && onscreen_context_->IsValid()); in GLContextFBO()
/third_party/flutter/engine/flutter/fml/platform/android/
Dscoped_java_ref.cc17 FML_DCHECK(!failed); in ScopedJavaLocalFrame()
23 FML_DCHECK(!failed); in ScopedJavaLocalFrame()
34 FML_DCHECK(env && env->GetObjectRefType(obj) == JNILocalRefType); in JavaRef()
44 FML_DCHECK(env == AttachCurrentThread()); // Is |env| on correct thread. in SetNewLocalRef()
58 FML_DCHECK(env == AttachCurrentThread()); // Is |env| on correct thread. in SetNewGlobalRef()
69 FML_DCHECK(env == AttachCurrentThread()); // Is |env| on correct thread. in ResetLocalRef()
Djni_util.cc20 FML_DCHECK(g_jvm == nullptr); in InitJavaVM()
25 FML_DCHECK(g_jvm != nullptr) in AttachCurrentThread()
29 FML_DCHECK(JNI_OK == ret); in AttachCurrentThread()
100 FML_DCHECK(env); in VectorToStringArray()
103 FML_DCHECK(!string_clazz.is_null()); in VectorToStringArray()
/third_party/flutter/engine/flutter/flow/
Dview_holder.cc62 FML_DCHECK(bindings); in Create()
63 FML_DCHECK(bindings->find(id) == bindings->end()); in Create()
73 FML_DCHECK(bindings); in Destroy()
98 FML_DCHECK(ui_task_runner_); in ViewHolder()
99 FML_DCHECK(pending_view_holder_token_.value); in ViewHolder()
122 FML_DCHECK(opacity_node_); in UpdateScene()
123 FML_DCHECK(view_holder_); in UpdateScene()
/third_party/flutter/engine/flutter/shell/platform/embedder/
Dembedder_external_view_embedder.cc18 FML_DCHECK(create_render_target_callback_); in EmbedderExternalViewEmbedder()
19 FML_DCHECK(present_callback_); in EmbedderExternalViewEmbedder()
82 FML_DCHECK(pending_recorders_.count(view_id) == 0); in PrerollCompositeEmbeddedView()
83 FML_DCHECK(pending_params_.count(view_id) == 0); in PrerollCompositeEmbeddedView()
84 FML_DCHECK(std::find(composition_order_.begin(), composition_order_.end(), in PrerollCompositeEmbeddedView()
106 FML_DCHECK(false) << "Attempted to composite a view that was not " in CompositeEmbeddedView()
182 FML_DCHECK(pending_recorders_.count(view_id) == 1); in SubmitFrame()
183 FML_DCHECK(pending_params_.count(view_id) == 1); in SubmitFrame()
Dembedder_task_runner.cc18 FML_DCHECK(dispatch_table_.post_task_callback); in EmbedderTaskRunner()
19 FML_DCHECK(dispatch_table_.runs_task_on_current_thread_callback); in EmbedderTaskRunner()
75 FML_DCHECK(task); in PostTask()
/third_party/flutter/engine/flutter/lib/ui/compositing/
Dscene_host.cc33 FML_DCHECK(bindings); in GetSceneHost()
52 FML_DCHECK(dart_handle && !Dart_IsNull(dart_handle) && in InvokeDartClosure()
67 FML_DCHECK(dart_handle && !Dart_IsNull(dart_handle) && in InvokeDartFunction()
155 FML_DCHECK(bindings); in SceneHost()
156 FML_DCHECK(bindings->find(id) == bindings->end()); in SceneHost()
177 FML_DCHECK(bindings); in ~SceneHost()
198 FML_DCHECK(view_holder); in setProperties()
208 FML_DCHECK(view_holder); in setOpacity()
/third_party/flutter/engine/flutter/runtime/
Dembedder_resources.cc25 FML_DCHECK(entry.length_ > 0); in ResourceLookup()
33 FML_DCHECK(idx >= 0); in Path()
38 FML_DCHECK(entry->path_ != nullptr); in Path()
43 FML_DCHECK(idx >= 0); in At()
Ddart_vm_lifecycle.h53 FML_DCHECK(vm_); in get()
58 FML_DCHECK(vm_);
63 FML_DCHECK(vm_);
/third_party/flutter/engine/flutter/fml/
Dmessage_loop_impl.cc58 FML_DCHECK(task != nullptr); in PostTask()
59 FML_DCHECK(task != nullptr); in PostTask()
69 FML_DCHECK(callback != nullptr); in AddTaskObserver()
70 FML_DCHECK(MessageLoop::GetCurrent().GetLoopImpl().get() == this) in AddTaskObserver()
81 FML_DCHECK(MessageLoop::GetCurrent().GetLoopImpl().get() == this) in RemoveTaskObserver()
Dgpu_thread_merger.cc24 FML_DCHECK(lease_term > 0) << "lease_term should be positive."; in MergeWithLease()
41 FML_DCHECK(lease_term > 0) << "lease_term should be positive."; in ExtendLeaseTo()
61 FML_DCHECK(lease_term_ > 0) in DecrementLease()
/third_party/flutter/engine/flutter/lib/ui/painting/
Dgradient.cc40 FML_DCHECK(end_points.size() == 4); in initLinear()
41 FML_DCHECK(colors.size() == color_stops.size() || in initLinear()
68 FML_DCHECK(colors.size() == color_stops.size() || in initRadial()
94 FML_DCHECK(colors.size() == color_stops.size() || in initSweep()
123 FML_DCHECK(colors.size() == color_stops.size() || in initTwoPointConical()
Dimage_decoder.cc21 FML_DCHECK(runners_.IsValid()); in ImageDecoder()
22 FML_DCHECK(runners_.GetUITaskRunner()->RunsTasksOnCurrentThread()) in ImageDecoder()
63 FML_DCHECK(!image->isTextureBacked()); in ResizeRasterImage()
162 FML_DCHECK(!image->isTextureBacked()); in UploadRasterImage()
195 FML_DCHECK(callback); in Decode()
196 FML_DCHECK(runners_.GetUITaskRunner()->RunsTasksOnCurrentThread()); in Decode()
/third_party/flutter/engine/flutter/flow/layers/
Dopacity_layer.cc17 FML_DCHECK(layers().size() > 0); // OpacityLayer should never be a leaf in EnsureSingleChild()
48 FML_DCHECK(layers().size() == 1); in Preroll()
66 FML_DCHECK(needs_painting()); in Paint()
80 FML_DCHECK(layers().size() == 1); in Paint()
Dclip_rect_layer.cc11 FML_DCHECK(clip_behavior != Clip::none); in ClipRectLayer()
34 FML_DCHECK(needs_system_composite()); in UpdateScene()
45 FML_DCHECK(needs_painting()); in Paint()
Dclip_path_layer.cc17 FML_DCHECK(clip_behavior != Clip::none); in ClipPathLayer()
41 FML_DCHECK(needs_system_composite()); in UpdateScene()
52 FML_DCHECK(needs_painting()); in Paint()
/third_party/flutter/engine/flutter/fml/synchronization/
Dwaitable_event.cc24 FML_DCHECK(locker->owns_lock()); in WaitWithTimeoutImpl()
44 FML_DCHECK(now >= start); in WaitWithTimeoutImpl()
98 FML_DCHECK(now >= start); in WaitWithTimeout()
158 FML_DCHECK(rv || signaled_ || signal_id_ != last_signal_id); in WaitWithTimeout()

12345