/third_party/gn/src/base/numerics/ |
H A D | clamped_math.h | 2 // Use of this source code is governed by a BSD-style license that can be 55 return *this; in Cast() 122 *this += 1; in operator ++() 123 return *this; in operator ++() 127 ClampedNumeric value = *this; in operator ++() 128 *this += 1; in operator ++() 133 *this -= 1; in operator --() 134 return *this; in operator --() 138 ClampedNumeric value = *this; in operator --() 139 *this in operator --() [all...] |
/third_party/skia/third_party/externals/angle2/src/common/third_party/base/anglebase/numerics/ |
H A D | clamped_math.h | 2 // Use of this source code is governed by a BSD-style license that can be 61 return *this; in Cast() 129 *this += 1; in operator ++() 130 return *this; in operator ++() 135 ClampedNumeric value = *this; in operator ++() 136 *this += 1; in operator ++() 142 *this -= 1; in operator --() 143 return *this; in operator --() 148 ClampedNumeric value = *this; in operator --() 149 *this in operator --() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
H A D | DepthFirstIterator.h | 102 this->Visited.insert(Node); in df_iterator() 110 if (this->Visited.insert(Node).second) in df_iterator() 133 if (this->Visited.insert(Next).second) { in toNext() 139 this->Visited.completed(Node); in toNext() 164 bool operator!=(const df_iterator &x) const { return !(*this == x); } in operator !=() 172 NodeRef operator->() const { return **this; } in operator ->() 176 return *this; in operator ++() 182 /// always increment and call this function, you risk walking off the end. 187 return *this; in skipChildren() 191 df_iterator tmp = *this; in operator ++() [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
H A D | raw_hash_map.h | 4 // you may not use this file except in compliance with the License. 56 // remove this assertion if/when it is supported. 144 auto it = this->find(key); in at() 145 if (it == this->end()) { in at() 154 auto it = this->find(key); in at() 155 if (it == this->end()) { in at() 175 auto res = this->find_or_prepare_insert(k); in insert_or_assign_impl() 177 this->emplace_at(res.first, std::forward<K>(k), std::forward<V>(v)); in insert_or_assign_impl() 179 Policy::value(&*this->iterator_at(res.first)) = std::forward<V>(v); in insert_or_assign_impl() 180 return {this in insert_or_assign_impl() [all...] |
/third_party/node/deps/v8/src/wasm/baseline/x64/ |
H A D | liftoff-assembler-x64.h | 2 // Use of this source code is governed by a BSD-style license that can be 24 CpuFeatureScope feature(this, name); 74 // TODO(clemensb): Make this a constexpr variable once Operand is constexpr. 182 // PatchPrepareStackFrame will patch this in order to increase the stack in PrepareStackFrame() 237 // check the available stack space before we allocate the frame. To do this we in PatchPrepareStackFrame() 238 // replace the {__ sub(sp, framesize)} with a jump to OOL code that does this in PatchPrepareStackFrame() 270 safepoint_table_builder->DefineSafepoint(this); in PatchPrepareStackFrame() 275 // Now allocate the stack space. Note that this might do more than just in PatchPrepareStackFrame() 385 Operand src_op = liftoff::GetMemOp(this, src_addr, offset_reg, in LoadTaggedPointer() 392 Operand src_op = liftoff::GetMemOp(this, src_add in LoadFullPointer() [all...] |
/third_party/node/deps/v8/src/compiler/ |
H A D | persistent-map.h | 2 // Use of this source code is governed by a BSD-style license that can be 51 const Key& key() const { return this->first; } in key() 52 const Value& value() const { return this->second; } in value() 88 return !(*this == other); in operator !=() 115 ZipIterable Zip(const PersistentMap& other) const { return {*this, other}; } in Zip() 125 // Output the path to this {FocusedTree} and its length. If no such 161 // the pointers outside of this path. Instead of storing all of these nodes, 166 // this structure also represents all the nodes on its path. The intended node 176 // this structure. 183 // over-allocate memory for this structur [all...] |
/third_party/node/deps/v8/src/wasm/baseline/ia32/ |
H A D | liftoff-assembler-ia32.h | 2 // Use of this source code is governed by a BSD-style license that can be 23 CpuFeatureScope feature(this, name); 65 // TODO(clemensb): Make this a constexpr variable once Operand is constexpr. 202 // PatchPrepareStackFrame will patch this in order to increase the stack in PrepareStackFrame() 258 // check the available stack space before we allocate the frame. To do this we in PatchPrepareStackFrame() 259 // replace the {__ sub(sp, framesize)} with a jump to OOL code that does this in PatchPrepareStackFrame() 295 safepoint_table_builder->DefineSafepoint(this); in PatchPrepareStackFrame() 300 // Now allocate the stack space. Note that this might do more than just in PatchPrepareStackFrame() 462 liftoff::SignExtendI32ToI64(this, dst); in Load() 476 liftoff::SignExtendI32ToI64(this, ds in Load() [all...] |
/foundation/CastEngine/castengine_cast_plus_stream/src/utils/include/ |
H A D | message.h | 4 * you may not use this file except in compliance with the License. 70 return (this->when_ > msg.when_); in operator >() 75 return (this->when_ < msg.when_); in operator <() 80 return (this->what_ == msg.what_) && (this->task_ != nullptr) && (msg.task_ != nullptr); in operator ==() 85 return (this->what_ == what); in operator ==()
|
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/utils/include/ |
H A D | message.h | 4 * you may not use this file except in compliance with the License.
70 return (this->when_ > msg.when_);
in operator >() 75 return (this->when_ < msg.when_);
in operator <() 80 return (this->what_ == msg.what_) && (this->task_ != nullptr) && (msg.task_ != nullptr);
in operator ==() 85 return (this->what_ == what);
in operator ==()
|
/foundation/communication/bluetooth/frameworks/js/napi/include/ |
H A D | napi_bluetooth_event.h | 4 * you may not use this file except in compliance with the License. 31 this->env_ = cb->env_; in AsyncEventData() 32 this->callback_ = cb->callback_; in AsyncEventData() 33 this->state_ = cb->state_; in AsyncEventData() 34 this->deviceId_ = cb->deviceId_; in AsyncEventData() 35 this->info_ = cb->info_; in AsyncEventData()
|
/third_party/skia/src/opts/ |
H A D | Sk4px_SSE2.h | 4 * Use of this source code is governed by a BSD-style license that can be 11 return Sk16h(_mm_unpacklo_epi8(this->fVec, _mm_setzero_si128()), in widen() 12 _mm_unpackhi_epi8(this->fVec, _mm_setzero_si128())); in widen() 16 return this->widen() * Sk4px(other).widen(); in mulWiden() 20 Sk4px::Wide r = (*this + other) >> 8; in addNarrowHi() 40 return Sk16b(_mm_shuffle_epi8(this->fVec, splat)); in alphas()
|
/third_party/skia/src/gpu/gl/ |
H A D | GrGLRenderTarget.h | 4 * Use of this source code is governed by a BSD-style license that can be 24 bool alwaysClearStencil() const override { return this->glRTFBOIDis0(); } 26 // set fSingleSampleFBOID to this value to indicate that it is multisampled but 70 this->bindInternal(GR_GL_FRAMEBUFFER, useMultisampleFBO); in bind() 77 this->bindInternal(fboTarget, in bindForPixelOps() 78 this->numSamples() > 1 && !this->isMultisampledRenderToTexture()); in bindForPixelOps()
|
/third_party/skia/src/sksl/ir/ |
H A D | SkSLFunctionDefinition.h | 4 * Use of this source code is governed by a BSD-style license that can be 44 * This will return a FunctionDefinition even if an error is detected; this leads to better 83 return std::make_unique<FunctionDefinition>(fLine, &this->declaration(), 84 /*builtin=*/false, this->body()->clone(), 85 this->referencedIntrinsics()); 89 return this->declaration().description() + " " + this->body()->description(); 100 // the entire lifespan of this object. The parse tree's lifespan is normally controlled by 102 // will invalidate this pointer.
|
H A D | SkSLPostfixExpression.h | 4 * Use of this source code is governed by a BSD-style license that can be 53 this->operand()->hasProperty(property); 57 return std::make_unique<PostfixExpression>(this->operand()->clone(), this->getOperator()); 61 return this->operand()->description() + this->getOperator().operatorName();
|
/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()
|
/foundation/multimedia/image_effect/frameworks/native/render_environment/render_thread/worker/ |
H A D | render_thread.h | 4 * you may not use this file except in compliance with the License.
79 cvFull.wait(lk, [this]() { return (m_localMsgQueue->GetSize() < this->qSize) || (!m_isWorking); });
in AddTask() 103 t = new std::thread([this]() {
in Start() 104 this->m_isStopped = false;
in Start() 105 this->Run();
in Start() 106 this->m_isStopped = true;
in Start() 128 [this]() { return (m_localMsgQueue->GetSize() > 0) || (!m_isWorking); });
in Run()
|
/third_party/skia/src/gpu/ |
H A D | GrPipeline.h | 4 * Use of this source code is governed by a BSD-style license that can be 119 // mechanism is not thread safe so we do not hold a ref on this global. in getXferProcessor() 124 // Helper functions to quickly know if this GrPipeline will access the dst as a texture or an 126 bool usesDstTexture() const { return this->dstProxyView() && !this->usesDstInputAttachment(); } in usesDstTexture() 128 return this->dstSampleFlags() & GrDstSampleFlags::kAsInputAttachment; in usesDstInputAttachment() 142 /** If this GrXferProcessor uses a texture to access the dst color, returns that texture. */ 144 if (!this->usesDstTexture()) { in peekDstTexture() 148 if (GrTextureProxy* dstProxy = this->dstProxyView().asTextureProxy()) { in peekDstTexture() 182 if (this in allProxiesInstantiated() [all...] |
/third_party/skia/src/ports/skia_ohos/ |
H A D | FontInfo_ohos.h | 2 // Use of this source code is governed by a BSD-style license that can be 64 this->fname.set(fname); in FontInfo() 79 if (this == &font) { in operator =() 80 return *this; in operator =() 92 return *this; in operator =() 100 if (this == &font) { in operator =() 101 return *this; in operator =() 113 return *this; in operator =()
|
/third_party/skia/src/sksl/lex/ |
H A D | NFAtoDFA.h | 4 * Use of this source code is governed by a BSD-style license that can be 25 * possible combination of simultaneous NFA states and give this combination a label. These labelled 49 // this becomes state 1, our start state in convert() 51 this->scanState(start); in convert() 53 this->computeMappings(); in convert() 80 this->add(next, states); in add() 115 this->add(nextState, &next); in scanState() 120 DFAState* nextState = this->getState(DFAState::Label(next)); in scanState() 121 this->addTransition(c, state->fId, nextState->fId); in scanState() 129 this in scanState() [all...] |
/third_party/skia/third_party/externals/dawn/src/common/ |
H A D | RefBase.h | 4 // you may not use this file except in compliance with the License. 52 return *this; in operator =() 62 return *this; in operator =() 72 return *this; in operator =() 80 if (&other != this) { in operator =() 84 return *this; in operator =() 87 // Constructors from a RefBase<U>. Note that in the *-assignment operators this cannot be the 98 return *this; in operator =() 110 return *this; in operator =()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ |
H A D | PassAnalysisSupport.h | 49 // this usecase. The sizes were picked to minimize wasted space, but are 77 /// Add the specified ID to the set of analyses preserved by this pass. 80 return *this; in addPreservedID() 84 return *this; in addPreservedID() 86 /// Add the specified Pass class to the set of analyses preserved by this pass. 90 return *this; in addPreserved() 95 /// Add the specified ID to the set of analyses used by this pass if they are 99 return *this; in addUsedIfAvailableID() 103 return *this; in addUsedIfAvailableID() 105 /// Add the specified Pass class to the set of analyses used by this pas in addUsedIfAvailableID() [all...] |
/third_party/skia/third_party/externals/tint/src/utils/ |
H A D | enum_set.h | 4 // you may not use this file except in compliance with the License. 33 /// Enum is the enum type this EnumSet wraps 49 /// @param set the set to assign to this set 50 /// @return this set so calls can be chained 55 /// @return this set so calls can be chained 56 inline EnumSet& operator=(Enum e) { return *this = EnumSet{e}; } in operator =() 58 /// Adds all the given values to this set 60 /// @return this set so calls can be chained 66 /// Removes all the given values from this set 68 /// @return this se [all...] |