Lines Matching defs:const
25 explicit CrossThreadPersistentBase(const void* raw) : PersistentBase(raw) {}
27 V8_CLANG_NO_SANITIZE("address") const void* GetValueFromGC() const {
32 PersistentNode* GetNodeFromGC() const { return node_; }
35 void ClearFromGC() const {
42 PersistentNode* GetNodeSafe() const {
49 void SetNodeSafe(PersistentNode* value) const {
87 const void* old_value = GetValue();
106 const SourceLocation& loc = SourceLocation::Current())
110 std::nullptr_t, const SourceLocation& loc = SourceLocation::Current())
114 SentinelPointer s, const SourceLocation& loc = SourceLocation::Current())
118 T* raw, const SourceLocation& loc = SourceLocation::Current())
137 const SourceLocation& loc = SourceLocation::Current())
146 T& raw, const SourceLocation& loc = SourceLocation::Current())
156 const SourceLocation& loc = SourceLocation::Current())
160 const BasicCrossThreadPersistent& other,
161 const SourceLocation& loc = SourceLocation::Current())
172 const BasicCrossThreadPersistent<U, OtherWeaknessPolicy,
175 const SourceLocation& loc = SourceLocation::Current())
182 const SourceLocation& loc = SourceLocation::Current()) noexcept {
188 const BasicCrossThreadPersistent& other) {
198 const BasicCrossThreadPersistent<U, OtherWeaknessPolicy,
272 V8_CLANG_NO_SANITIZE("cfi-unrelated-cast") T* Get() const {
304 explicit operator bool() const { return Get(); }
313 operator T*() const { return Get(); }
320 T* operator->() const { return Get(); }
321 T& operator*() const { return *Get(); }
328 To() const {
342 Lock() const {
348 static bool IsValid(const void* ptr) {
352 static void Trace(Visitor* v, const void* ptr) {
353 const auto* handle = static_cast<const BasicCrossThreadPersistent*>(ptr);
358 const void* old_value = GetValue();
387 const void* old_value = GetValue();
405 void ClearFromGC() const {
415 T* GetFromGC() const {