/third_party/gn/src/gn/ |
H A D | hash_table_base.h | 2 // Use of this source code is governed by a BSD-style license that can be 26 // That being said, this implementation uses a completely typical 28 // a power of 2, instead of a prime number. Experience shows this is 60 // it is highly recommended to make this a static constexpr method 65 // (!is_null() && !is_tombstone()). This is a convenience for this 67 // (more on this below, in the usage description). 70 // cannot be used in them. Item lifecycle must this be managed 82 // out of this header. Any recent C++ optimizer will generate 83 // very tight machine code for this call. 99 // Note that what the tombstone value is doesn't matter to this [all...] |
H A D | string_atom.h | 2 // Use of this source code is governed by a BSD-style license that can be 45 // // but not that this does not extend to the [] operator, only to the 71 if (this != &other) { 72 this->~StringAtom(); // really a no-op 73 new (this) StringAtom(other); 75 return *this; 80 if (this != &other) { 81 this->~StringAtom(); // really a no-op 82 new (this) StringAtom(std::move(other)); 84 return *this; [all...] |
/third_party/skia/src/core/ |
H A D | SkStrikeCache.h | 4 * Use of this source code is governed by a BSD-style license that can be 54 this->updateDelta(increase); in mergeGlyphAndImage() 60 this->updateDelta(increase); in mergePath() 81 this->updateDelta(increase); in metrics() 88 this->updateDelta(increase); in preparePaths() 95 this->updateDelta(increase); in prepareImages() 101 this->updateDelta(increase); in prepareForDrawingMasksCPU() 123 this->updateDelta(increase); 129 this->updateDelta(increase); 135 this [all...] |
H A D | SkGlyphBuffer.h | 4 * Use of this source code is governed by a BSD-style license that can be 26 this->~SkSourceGlyphBuffer(); in setSource() 27 new (this) SkSourceGlyphBuffer{source}; in setSource() 34 if (!this->sourceIsRejectBuffers()) { in reject() 36 // this one. in reject() 49 this->reject(index); 91 return *this; in operator =() 96 return *this; in operator =() 102 return *this; in operator =() 118 operator SkPackedGlyphID() const { return this [all...] |
H A D | SkZip.h | 4 * Use of this source code is governed by a BSD-style license that can be 36 constexpr Iterator& operator++() { ++fIndex; return *this; } in operator ++() 37 constexpr Iterator operator++(int) { Iterator tmp(*this); operator++(); return tmp; } in operator ++() 74 constexpr ReturnTuple operator[](size_t i) const { return this->index(i);} in operator []() 76 constexpr bool empty() const { return this->size() == 0; } in empty() 77 constexpr ReturnTuple front() const { return this->index(0); } in front() 78 constexpr ReturnTuple back() const { return this->index(this->size() - 1); } in back() 79 constexpr Iterator begin() const { return Iterator{this, 0}; } in begin() 80 constexpr Iterator end() const { return Iterator{this, thi in begin() [all...] |
/third_party/skia/src/gpu/glsl/ |
H A D | GrGLSLShaderBuilder.h | 4 * Use of this source code is governed by a BSD-style license that can be 74 this->definitions().appendf("const %s %s = %s;\n", type, name, value); in defineConstant() 78 this->definitions().appendf("const int %s = %i;\n", name, value); in defineConstant() 82 this->definitions().appendf("const float %s = %f;\n", name, value); in defineConstant() 86 this->definitions().appendf("const %s %s = ", type, name); in defineConstantf() 89 this->definitions().appendVAList(fmt, args); in defineConstantf() 91 this->definitions().append(";\n"); in defineConstantf() 94 void definitionAppend(const char* str) { this->definitions().append(str); } in definitionAppend() 111 this->code().appendVAList(format, args); 115 void codeAppend(const char* str) { this [all...] |
/third_party/skia/third_party/externals/piex/src/binary_parse/ |
H A D | range_checked_byte_ptr.h | 4 // you may not use this file except in compliance with the License. 62 // Thread safety: In general, subclasses implementing this interface should 75 // PagedByteArray backed by a file might define a Page subclass like this: 81 // The corresponding getPage() implementation could then look like this: 101 // In this way, the storage associated with the page (the FilePage::bytes 133 // this indicates that the memory buffer will remain valid until the 151 // The intent of this class is to allow easy security hardening of code that 152 // parses binary data structures using raw byte pointers. To do this, only the 157 // read operations from this point on return 0. This means that error checking 159 // (using errorOccurred()) once before the RCBP is destroyed. Again, this allow [all...] |
/third_party/skia/modules/svg/include/ |
H A D | SkSVGNode.h | 4 * Use of this source code is governed by a BSD-style license that can be 68 if (pr.isValid()) { this->set##attr_name(std::move(*pr)); } \ 183 // FIXME: this should be sparse 195 if (pr.isValid()) { this->set##attr_name(*pr); } \ 200 if (pr.isValid()) { this->set##attr_name(std::move(*pr)); } \ 214 [this](const attr_type& a) { this->f##attr_name = a; }, \ 215 [this](attr_type&& a) { this->f##attr_name = std::move(a); }) 224 [this](cons [all...] |
/third_party/skia/src/gpu/ |
H A D | GrRenderTargetProxy.h | 4 * Use of this source code is governed by a BSD-style license that can be 51 GrRenderTargetProxy* asRenderTargetProxy() override { return this; } 52 const GrRenderTargetProxy* asRenderTargetProxy() const override { return this; } 57 // Returns true if this proxy either has a stencil attachment already, or if we can attach one 63 * Indicate that a draw to this proxy requires stencil. 85 SkASSERT(SkIRect::MakeSize(this->backingStoreDimensions()).contains(dirtyRect)); in markMSAADirty() 86 SkASSERT(this->requiresManualMSAAResolve()); in markMSAADirty() 90 SkASSERT(this->requiresManualMSAAResolve()); in markMSAAResolved() 94 SkASSERT(fMSAADirtyRect.isEmpty() || this->requiresManualMSAAResolve()); in isMSAADirty() 95 return this in isMSAADirty() [all...] |
H A D | GrSurfaceProxyView.h | 4 * Use of this source code is governed by a BSD-style license that can be 42 bool operator!=(const GrSurfaceProxyView& other) const { return !(*this == other); } in operator !=() 44 int width() const { return this->proxy()->width(); } in width() 45 int height() const { return this->proxy()->height(); } in height() 46 SkISize dimensions() const { return this->proxy()->dimensions(); } in dimensions() 49 if (const GrTextureProxy* proxy = this->asTextureProxy()) { in mipmapped() 65 return sk_ref_sp<GrTextureProxy>(this->asTextureProxy()); in asTextureProxyRef() 76 return sk_ref_sp<GrRenderTargetProxy>(this->asRenderTargetProxy()); in asRenderTargetProxyRef() 93 *this = {}; in reset()
|
/third_party/skia/src/sksl/ir/ |
H A D | SkSLConstructor.h | 4 * Use of this source code is governed by a BSD-style license that can be 28 for (const std::unique_ptr<Expression>& arg : this->argumentSpan()) { 37 String result = this->type().description() + "("; 39 for (const std::unique_ptr<Expression>& arg : this->argumentSpan()) { 49 return this->type().componentType(); in componentType() 53 for (const std::unique_ptr<Expression>& arg : this->argumentSpan()) { 62 for (const std::unique_ptr<Expression>& arg : this->argumentSpan()) { 132 clonedArgs.reserve_back(this->arguments().size()); in cloneArguments() 133 for (const std::unique_ptr<Expression>& arg: this->arguments()) { in cloneArguments() 168 // Constructor expression types; this clas [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
H A D | Statistic.h | 15 // simplified, optimized or removed by various transformations, like this: 35 // than in CMake because multi-config generators cannot determine this at 71 // Allow use of this class as the value itself. 101 return *this; in operator +=() 108 return *this; in operator -=() 127 return *this; in init() 139 // Allow use of this class as the value itself. 142 const NoopStatistic &operator=(unsigned Val) { return *this; } in operator =() 144 const NoopStatistic &operator++() { return *this; } in operator ++() 148 const NoopStatistic &operator--() { return *this; } in operator --() [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/ |
H A D | spinlock.h | 5 // you may not use this file except in compliance with the License. 24 // arrive while they are holding the lock. Typically, this is done by blocking 53 ABSL_TSAN_MUTEX_CREATE(this, __tsan_mutex_not_static); in SpinLock() 68 ~SpinLock() { ABSL_TSAN_MUTEX_DESTROY(this, __tsan_mutex_not_static); } in ~SpinLock() 73 // Acquire this SpinLock. 75 ABSL_TSAN_MUTEX_PRE_LOCK(this, 0); in ABSL_EXCLUSIVE_LOCK_FUNCTION() 79 ABSL_TSAN_MUTEX_POST_LOCK(this, 0, 0); in ABSL_EXCLUSIVE_LOCK_FUNCTION() 82 // Try to acquire this SpinLock without blocking and return true if the 84 // returned. If this SpinLock is free at the time of the call, TryLock 87 ABSL_TSAN_MUTEX_PRE_LOCK(this, __tsan_mutex_try_loc in ABSL_EXCLUSIVE_TRYLOCK_FUNCTION() [all...] |
/third_party/protobuf/src/google/protobuf/ |
H A D | wrappers.pb.h | 19 #error regenerate this file with a newer version of protoc. 110 *this = ::std::move(from); in DoubleValue() 115 return *this; in operator =() 119 if (this != &from) InternalSwap(&from); 123 return *this; 149 if (other == this) return; in Swap() 153 ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other); in Swap() 157 if (other == this) return; in UnsafeArenaSwap() 247 *this = ::std::move(from); in FloatValue() 252 return *this; in operator =() [all...] |
/kernel/linux/linux-5.10/net/caif/ |
H A D | cfserl.c | 41 struct cfserl *this = kzalloc(sizeof(struct cfserl), GFP_ATOMIC); in cfserl_create() local 42 if (!this) in cfserl_create() 45 this->layer.receive = cfserl_receive; in cfserl_create() 46 this->layer.transmit = cfserl_transmit; in cfserl_create() 47 this->layer.ctrlcmd = cfserl_ctrlcmd; in cfserl_create() 48 this->usestx = use_stx; in cfserl_create() 49 spin_lock_init(&this->sync); in cfserl_create() 50 snprintf(this->layer.name, CAIF_LAYER_NAME_SZ, "ser1"); in cfserl_create() 51 return &this->layer; in cfserl_create()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/ |
H A D | shmem_utils.c | 100 unsigned int this = in __shmem_rw() local 112 memcpy(vaddr + offset_in_page(off), ptr, this); in __shmem_rw() 115 memcpy(ptr, vaddr + offset_in_page(off), this); in __shmem_rw() 121 len -= this; in __shmem_rw() 122 ptr += this; in __shmem_rw() 135 unsigned int this = in shmem_read_to_iosys_map() local 147 this); in shmem_read_to_iosys_map() 152 len -= this; in shmem_read_to_iosys_map() 153 map_off += this; in shmem_read_to_iosys_map()
|
/kernel/linux/linux-6.6/net/caif/ |
H A D | cfserl.c | 41 struct cfserl *this = kzalloc(sizeof(struct cfserl), GFP_ATOMIC); in cfserl_create() local 42 if (!this) in cfserl_create() 45 this->layer.receive = cfserl_receive; in cfserl_create() 46 this->layer.transmit = cfserl_transmit; in cfserl_create() 47 this->layer.ctrlcmd = cfserl_ctrlcmd; in cfserl_create() 48 this->usestx = use_stx; in cfserl_create() 49 spin_lock_init(&this->sync); in cfserl_create() 50 snprintf(this->layer.name, CAIF_LAYER_NAME_SZ, "ser1"); in cfserl_create() 51 return &this->layer; in cfserl_create()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Context.inl.h | 3 // Use of this source code is governed by a BSD-style license that can be 74 // and fragment shader execution will respectively be undefined. However, this is not 75 // an error. ANGLE will treat this as a no-op. 77 // have a valid primitive for this mode (0 for points, 0-1 for lines, 0-2 for tris). 91 ANGLE_TRY(mImplementation->syncState(this, dirtyBits, mAllDirtyBits, command)); in syncDirtyBits() 99 ANGLE_TRY(mImplementation->syncState(this, dirtyBits, bitMask, command)); in syncDirtyBits() 107 return mState.syncDirtyObjects(this, objectMask, command); in syncDirtyObjects() 114 ANGLE_TRY(mGLES1Renderer->prepareForDraw(mode, this, &mState)); in prepareForDraw() 133 ANGLE_CONTEXT_TRY(mImplementation->drawArrays(this, mode, first, count)); in drawArrays() 134 MarkTransformFeedbackBufferUsage(this, coun in drawArrays() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
H A D | TrackingMDRef.h | 36 if (&X == this) in operator =() 37 return *this; in operator =() 42 return *this; in operator =() 46 if (&X == this) in operator =() 47 return *this; in operator =() 52 return *this; in operator =() 68 this->MD = MD; in reset() 72 /// Check whether this has a trivial destructor. 104 /// Track refererences of a particular type. It's useful to use this for \a 118 return *this; in operator =() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/ |
H A D | TrackingMDRef.h | 34 if (&X == this) in operator =() 35 return *this; in operator =() 40 return *this; in operator =() 43 if (&X == this) in operator =() 44 return *this; in operator =() 49 return *this; in operator =() 64 this->MD = MD; in reset() 68 /// \brief Check whether this has a trivial destructor. 98 /// Track refererences of a particular type. It's useful to use this for \a 111 return *this; in operator =() [all...] |
/kernel/linux/linux-5.10/arch/sparc/lib/ |
H A D | divdi3.S | 49 sub %i0,%o4,%i0 ! this kills msb of n 50 addx %i0,%i0,%i0 ! so this cannot give carry 57 sub %i0,%o4,%i0 ! this kills msb of n 62 ! Got carry from n. Subtract next step to cancel this carry. 85 sub %g3,%o4,%g3 ! this kills msb of n 86 addx %g3,%g3,%g3 ! so this cannot give carry 93 sub %g3,%o4,%g3 ! this kills msb of n 98 ! Got carry from n. Subtract next step to cancel this carry. 109 sub %i0,%o4,%i0 ! this kills msb of n 110 addx %i0,%i0,%i0 ! so this canno [all...] |
H A D | udivdi3.S | 25 sub %i0,%o3,%i0 ! this kills msb of n 26 addx %i0,%i0,%i0 ! so this cannot give carry 33 sub %i0,%o3,%i0 ! this kills msb of n 38 ! Got carry from n. Subtract next step to cancel this carry. 63 sub %o4,%o3,%o4 ! this kills msb of n 64 addx %o4,%o4,%o4 ! so this cannot give carry 71 sub %o4,%o3,%o4 ! this kills msb of n 76 ! Got carry from n. Subtract next step to cancel this carry. 89 sub %i0,%o3,%i0 ! this kills msb of n 90 addx %i0,%i0,%i0 ! so this canno [all...] |
/kernel/linux/linux-6.6/arch/sparc/lib/ |
H A D | divdi3.S | 49 sub %i0,%o4,%i0 ! this kills msb of n 50 addx %i0,%i0,%i0 ! so this cannot give carry 57 sub %i0,%o4,%i0 ! this kills msb of n 62 ! Got carry from n. Subtract next step to cancel this carry. 85 sub %g3,%o4,%g3 ! this kills msb of n 86 addx %g3,%g3,%g3 ! so this cannot give carry 93 sub %g3,%o4,%g3 ! this kills msb of n 98 ! Got carry from n. Subtract next step to cancel this carry. 109 sub %i0,%o4,%i0 ! this kills msb of n 110 addx %i0,%i0,%i0 ! so this canno [all...] |
H A D | udivdi3.S | 25 sub %i0,%o3,%i0 ! this kills msb of n 26 addx %i0,%i0,%i0 ! so this cannot give carry 33 sub %i0,%o3,%i0 ! this kills msb of n 38 ! Got carry from n. Subtract next step to cancel this carry. 63 sub %o4,%o3,%o4 ! this kills msb of n 64 addx %o4,%o4,%o4 ! so this cannot give carry 71 sub %o4,%o3,%o4 ! this kills msb of n 76 ! Got carry from n. Subtract next step to cancel this carry. 89 sub %i0,%o3,%i0 ! this kills msb of n 90 addx %i0,%i0,%i0 ! so this canno [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/ |
H A D | RTDyldObjectLinkingLayer.h | 65 this->NotifyLoaded = std::move(NotifyLoaded); in setNotifyLoaded() 66 return *this; in setNotifyLoaded() 72 this->NotifyEmitted = std::move(NotifyEmitted); in setNotifyEmitted() 73 return *this; in setNotifyEmitted() 83 this->ProcessAllSections = ProcessAllSections; in setProcessAllSections() 84 return *this; in setProcessAllSections() 87 /// Instructs this RTDyldLinkingLayer2 instance to override the symbol flags 93 /// FIXME: We should be able to remove this if/when COFF properly tracks 97 this->OverrideObjectFlags = OverrideObjectFlags; in setOverrideObjectFlagsWithResponsibilityFlags() 98 return *this; in setOverrideObjectFlagsWithResponsibilityFlags() [all...] |