/third_party/skia/tools/sk_app/unix/ |
H A D | Window_unix.h | 4 * Use of this source code is governed by a BSD-style license that can be 34 ~Window_unix() override { this->closeWindow(); } 63 this->onPaint(); in finishPaint() 69 if (width != this->width() || height != this->height()){ in markPendingResize() 77 this->onResize(fPendingWidth, fPendingHeight); in finishResize()
|
/third_party/skia/include/gpu/vk/ |
H A D | GrVkMemoryAllocator.h | 4 * Use of this source code is governed by a BSD-style license that can be 25 // visible. Setting this flag does not guarantee that we will allocate memory that respects 44 // and will try to take advantage of the write-combined nature of the gpu buffers. Thus this 58 // The default implementation here is so clients can delete this virtual as the switch to in allocateMemoryForImage() 65 bool result = this->allocateMemoryForImage(image, flags, memory); in allocateImageMemory() 66 // VK_ERROR_INITIALIZATION_FAILED is a bogus result to return from this function, but it is in allocateImageMemory() 69 // update clients to implement this virtual. in allocateImageMemory() 76 // The default implementation here is so clients can delete this virtual as the switch to in allocateMemoryForBuffer() 85 bool result = this->allocateMemoryForBuffer(buffer, usage, flags, memory); in allocateBufferMemory() 86 // VK_ERROR_INITIALIZATION_FAILED is a bogus result to return from this functio in allocateBufferMemory() [all...] |
/third_party/skia/modules/sksg/include/ |
H A D | SkSGNode.h | 4 * Use of this source code is governed by a BSD-style license that can be 40 // Nodes with this trait never generate direct damage -- instead, 44 // Nodes with this trait obscure the descendants' damage and always override it. 52 SkASSERT(!this->hasInval()); in bounds() 56 // Tag this node for invalidation and optional damage. 64 // Register/unregister |this| to receive invalidation events from a descendant. 103 this->invalidate(); \ 108 this->invalidate(); \ 116 this->invalidate(); \ 121 this [all...] |
/third_party/skia/experimental/sorttoy/ |
H A D | SortKey.h | 2 // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. 74 if (this->transparent()) { in depth() 85 if (this->transparent()) { in material() 94 this->transparent(), in dump() 95 this->depth(), in dump() 96 this->material()); in dump()
|
/kernel/linux/linux-5.10/drivers/net/phy/ |
H A D | mdio_devres.c | 12 static void devm_mdiobus_free(struct device *dev, void *this) in devm_mdiobus_free() argument 14 struct mdiobus_devres *dr = this; in devm_mdiobus_free() 24 * Managed mdiobus_alloc_size. mii_bus allocated with this function is 49 static void devm_mdiobus_unregister(struct device *dev, void *this) in devm_mdiobus_unregister() argument 51 struct mdiobus_devres *dr = this; in devm_mdiobus_unregister() 57 void *this, void *match_data) in mdiobus_devres_match() 59 struct mdiobus_devres *res = this; in mdiobus_devres_match() 56 mdiobus_devres_match(struct device *dev, void *this, void *match_data) mdiobus_devres_match() argument
|
/kernel/linux/linux-6.6/drivers/net/phy/ |
H A D | mdio_devres.c | 12 static void devm_mdiobus_free(struct device *dev, void *this) in devm_mdiobus_free() argument 14 struct mdiobus_devres *dr = this; in devm_mdiobus_free() 24 * Managed mdiobus_alloc_size. mii_bus allocated with this function is 49 static void devm_mdiobus_unregister(struct device *dev, void *this) in devm_mdiobus_unregister() argument 51 struct mdiobus_devres *dr = this; in devm_mdiobus_unregister() 57 void *this, void *match_data) in mdiobus_devres_match() 59 struct mdiobus_devres *res = this; in mdiobus_devres_match() 56 mdiobus_devres_match(struct device *dev, void *this, void *match_data) mdiobus_devres_match() argument
|
/kernel/liteos_a/apps/perf/src/ |
H A D | option.c | 8 * 1. Redistributions of source code must retain the above copyright notice, this list of 11 * 2. Redistributions in binary form must reproduce the above copyright notice, this list 16 * to endorse or promote products derived from this software without specific prior written 107 char *this = NULL; in ParseIds() local 115 sp = strtok_r(list, ",", &this); in ParseIds() 123 sp = strtok_r(NULL, ",", &this); in ParseIds() 150 char *this = NULL; in ParseEvents() local 158 sp = strtok_r(list, ",", &this); in ParseEvents() 174 sp = strtok_r(NULL, ",", &this); in ParseEvents()
|
/third_party/node/deps/v8/src/wasm/ |
H A D | stacks.h | 2 // Use of this source code is governed by a BSD-style license that can be 52 // this). This only happens on isolate tear down, otherwise there is always in ~StackMemory() 64 // Insert a stack in the linked list after this stack. 66 stack->next_ = this->next_; in Add() 67 stack->prev_ = this; in Add() 68 this->next_->prev_ = stack; in Add() 69 this->next_ = stack; in Add() 120 StackMemory* next_ = this; 121 StackMemory* prev_ = this;
|
/third_party/skia/src/gpu/vk/ |
H A D | GrVkRenderTarget.h | 4 * Use of this source code is governed by a BSD-style license that can be 49 return this->getFramebuffer(renderPass.hasResolveAttachment(), in getFramebuffer() 56 SkASSERT(!this->wrapsSecondaryCommandBuffer()); in colorAttachment() 60 SkASSERT(!this->wrapsSecondaryCommandBuffer()); in colorAttachmentView() 61 return this->colorAttachment()->framebufferView(); in colorAttachmentView() 65 SkASSERT(!this->wrapsSecondaryCommandBuffer()); in resolveAttachment() 69 SkASSERT(!this->wrapsSecondaryCommandBuffer()); in resolveAttachmentView() 75 // Note that in this second case the resolve attachment may be null if this was created by 118 kDirectlyWrapped, // We need to register this i [all...] |
/third_party/skia/src/gpu/ |
H A D | GrTextureProxy.h | 4 * Use of this source code is governed by a BSD-style license that can be 24 GrTextureProxy* asTextureProxy() override { return this; } 25 const GrTextureProxy* asTextureProxy() const override { return this; } 55 GrTextureType textureType() const { return this->backendFormat().textureType(); } in textureType() 59 return GrTextureTypeHasRestrictedSampling(this->textureType()); in hasRestrictedSampling() 64 // that type, but this function exists in GrTextureProxy because it's only relevant when the 74 if (this->isInstantiated() && fUniqueKey.isValid() && fSyncTargetKey && 76 GrSurface* surface = this->peekSurface(); 156 // Setting syncTargetKey to false disables this behavior and only keeps the unique key 164 // each class to achieve the necessary alignment. However, ASAN checks the alignment of 'this' [all...] |
/third_party/skia/src/sksl/ir/ |
H A D | SkSLBinaryExpression.h | 4 * Use of this source code is governed by a BSD-style license that can be 37 SkASSERT(!op.isAssignment() || CheckRef(*this->left())); in BinaryExpression() 83 return this->left()->isConstantOrUniform() && this->right()->isConstantOrUniform(); 87 if (property == Property::kSideEffects && this->getOperator().isAssignment()) { 90 return this->left()->hasProperty(property) || this->right()->hasProperty(property);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/ |
H A D | ObjectLinkingLayer.h | 50 /// Clients can use this class to add relocatable object files to an 91 this->ReturnObjectBuffer = std::move(ReturnObjectBuffer); in setReturnObjectBuffer() 98 return *this; in addPlugin() 105 /// Instructs this ObjectLinkingLayer instance to override the symbol flags 111 /// FIXME: We should be able to remove this if/when COFF properly tracks 115 this->OverrideObjectFlags = OverrideObjectFlags; in setOverrideObjectFlagsWithResponsibilityFlags() 116 return *this; in setOverrideObjectFlagsWithResponsibilityFlags() 119 /// If set, this ObjectLinkingLayer instance will claim responsibility 121 /// the MaterializationResponsibility instance. Setting this flag allows 127 /// deterministically). If this optio [all...] |
/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | mutex.h | 9 // notice, this list of conditions and the following disclaimer. 11 // copyright notice, this list of conditions and the following disclaimer 16 // this software without specific prior written permission. 101 // Crash if this Mutex is not held exclusively by this thread. 118 explicit MutexLock(Mutex *mu) : mu_(mu) { this->mu_->Lock(); } in MutexLock() 119 ~MutexLock() { this->mu_->Unlock(); } in ~MutexLock() 133 mu_(mu) { if (this->mu_ != nullptr) { this->mu_->Lock(); } } in MutexLockMaybe() 134 ~MutexLockMaybe() { if (this in MutexLockMaybe() [all...] |
/third_party/skia/experimental/graphite/src/ |
H A D | EnumBitMask.h | 4 * Use of this source code is governed by a BSD-style license that can be 50 SK_ALWAYS_INLINE Mask& operator|=(Mask m) { return *this = *this | m; } in operator |=() 51 SK_ALWAYS_INLINE Mask& operator&=(Mask m) { return *this = *this & m; } in operator &=() 52 SK_ALWAYS_INLINE Mask& operator^=(Mask m) { return *this = *this ^ m; } in operator ^=()
|
/third_party/skia/include/sksl/ |
H A D | DSLFunction.h | 4 * Use of this source code is governed by a BSD-style license that can be 44 // unfortunately we can't capture position info from this overload. in DSLFunction() 45 this->init(modifiers, returnType, name, std::move(parameterArray), PositionInfo()); in DSLFunction() 50 this->init(DSLModifiers(), returnType, name, std::move(parameters), pos); in DSLFunction() 55 this->init(modifiers, returnType, name, std::move(parameters), pos); in DSLFunction() 66 this->define(std::move(block)); in define() 78 this->collectArgs(argArray, std::forward<Args>(args)...); in operator ()() 79 return this->call(std::move(argArray)); in operator ()()
|
/kernel/linux/linux-5.10/fs/sharefs/ |
H A D | lookup.c | 210 struct qstr this; in __sharefs_lookup() local 248 this.name = name; in __sharefs_lookup() 249 this.len = strlen(name); in __sharefs_lookup() 250 this.hash = full_name_hash(lower_dir_dentry, this.name, this.len); in __sharefs_lookup() 251 lower_dentry = d_lookup(lower_dir_dentry, &this); in __sharefs_lookup() 255 lower_dentry = d_alloc(lower_dir_dentry, &this); in __sharefs_lookup() 264 * lower_dentry. Without this, sharefs could not stack on top of itself. in __sharefs_lookup() 276 * the VFS will continue the process of making this negativ in __sharefs_lookup() [all...] |
/kernel/linux/linux-6.6/fs/sharefs/ |
H A D | lookup.c | 210 struct qstr this; in __sharefs_lookup() local 248 this.name = name; in __sharefs_lookup() 249 this.len = strlen(name); in __sharefs_lookup() 250 this.hash = full_name_hash(lower_dir_dentry, this.name, this.len); in __sharefs_lookup() 251 lower_dentry = d_lookup(lower_dir_dentry, &this); in __sharefs_lookup() 255 lower_dentry = d_alloc(lower_dir_dentry, &this); in __sharefs_lookup() 264 * lower_dentry. Without this, sharefs could not stack on top of itself. in __sharefs_lookup() 276 * the VFS will continue the process of making this negativ in __sharefs_lookup() [all...] |
/third_party/node/deps/v8/src/base/ |
H A D | small-vector.h | 2 // Use of this source code is governed by a BSD-style license that can be 39 *this = other; in allocator_() 44 *this = std::move(other); in allocator_() 58 if (this == &other) return *this; 68 return *this; 72 if (this == &other) return *this; 85 return *this; 155 // storage (this reduce [all...] |
/third_party/node/deps/v8/src/codegen/ |
H A D | reglist-base.h | 2 // Use of this source code is governed by a BSD-style license that can be 88 return *this | RegListBase{reg}; in operator |() 92 return *this - RegListBase{reg}; in operator -() 97 return *this; in operator &=() 102 return *this; in operator |=() 160 return *this; in operator ++() 179 return *this; in operator ++() 199 return Iterator{*this}; in begin() 209 return ReverseIterator{*this}; in rbegin()
|
/third_party/skia/src/gpu/ops/ |
H A D | AtlasTextOp.h | 4 * Use of this source code is governed by a BSD-style license that can be 69 // Either this Geometry holds a ref to the support data in the case of a blob based 79 // TransformedMaskSubRun, and SDFTSubRun don't use this field, and expect an empty rect. 193 switch (this->maskType()) { in maskFormat() 210 return MaskType::kAliasedDistanceField == this->maskType() || in usesDistanceFields() 211 MaskType::kGrayscaleDistanceField == this->maskType() || in usesDistanceFields() 212 MaskType::kLCDDistanceField == this->maskType() || in usesDistanceFields() 213 MaskType::kLCDBGRDistanceField == this->maskType(); in usesDistanceFields() 217 return MaskType::kLCDCoverage == this->maskType() || in isLCD() 218 MaskType::kLCDDistanceField == this in isLCD() [all...] |
/third_party/skia/tools/ |
H A D | DDLPromiseImageHelper.h | 4 * Use of this source code is governed by a BSD-style license that can be 30 // callbacks this object is deleted - removing the GrBackendTexture from VRAM. 89 // The way this works is: 90 // the original skp is converted to SkData and all its image info is extracted into this 91 // class and only indices into this class are left in the SkData 120 // Remove this class' refs on the promise images and the PromiseImageCallbackContexts 131 // This is the information extracted into this class from the parsing of the skp file. 152 SkASSERT(this->isYUV()); in yuvPixmap() 157 SkASSERT(!this->isYUV()); in baseLevel() 166 SkASSERT(index >= 0 && index < (this in setCallbackContext() [all...] |
/third_party/protobuf/src/google/protobuf/ |
H A D | empty.pb.h | 19 #error regenerate this file with a newer version of protoc. 78 *this = ::std::move(from); in Empty() 83 return *this; in operator =() 87 if (this != &from) InternalSwap(&from); 91 return *this; 117 if (other == this) return; in Swap() 121 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); in Swap() 125 if (other == this) return; in UnsafeArenaSwap()
|
/third_party/skia/include/core/ |
H A D | SkFont.h | 4 * Use of this source code is governed by a BSD-style license that can be 84 bool operator!=(const SkFont& font) const { return !(*this == font); } in operator !=() 149 Note that some bitmap formats may not be able to scale linearly and will ignore this flag. 186 /** Returns a font with the same attributes of this font, but with the specified size. 324 return this->textToGlyphs(text, byteLength, encoding, nullptr, 0); in countText() 338 return this->measureText(text, byteLength, encoding, bounds, nullptr); in measureText() 367 this->getWidthsBounds(glyphs, count, widths, bounds, nullptr); in getWidths() 372 this->getWidths(glyphs, count, widths); in getWidths() 385 this->getWidthsBounds(glyphs, count, widths, nullptr, nullptr); in getWidths() 414 this in getBounds() [all...] |
/third_party/skia/include/gpu/d3d/ |
H A D | GrD3DTypes.h | 5 * Use of this source code is governed by a BSD-style license that can be 21 // You should only include this header if you need the Direct3D definitions and are 85 * Shares the underlying object referenced by the argument by calling AddRef() on it. If this 90 if (this != &that) { in operator =() 91 this->reset(GrSafeComAddRef(that.get())); in operator =() 93 return *this; in operator =() 102 this->reset(that.release()); in operator =() 103 return *this; in operator =() 106 explicit operator bool() const { return this->get() != nullptr; } in operator bool() 123 * Shares the new object by calling AddRef() on it. If this gr_c [all...] |
/third_party/node/deps/v8/src/interpreter/ |
H A D | bytecode-array-random-iterator.h | 2 // Use of this source code is governed by a BSD-style license that can be 30 return *this; in operator ++() 35 return *this; in operator --() 41 return *this; in operator +=() 47 return *this; in operator -=()
|