/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
H A D | TextureD3D.h | 45 virtual ImageD3D *getImage(const gl::ImageIndex &index) const = 0; 49 const gl::ImageIndex &index, 83 const gl::ImageIndex &index, 93 virtual bool isValidIndex(const gl::ImageIndex &index) const = 0; 124 void onSubjectStateChange(angle::SubjectIndex index, angle::SubjectMessage message) override; 128 const gl::ImageIndex &index, 135 const gl::ImageIndex &index, 144 const gl::ImageIndex &index, 149 const gl::ImageIndex &index, 174 virtual bool isImageComplete(const gl::ImageIndex &index) cons [all...] |
/third_party/glslang/glslang/Public/ |
H A D | ShaderLang.h | 750 int index; member in glslang::TObjectReflection 760 : offset(-1), glDefineType(-1), size(-1), index(-1), counterIndex(-1), numMembers(-1), arrayStride(0), in TObjectReflection() 776 // and descriptor set index respectively. 818 // Should return a value >= 0 if the current component index should be overridden. 819 // Return -1 if the current component index (including no index) should be kept. 821 // Should return a value >= 0 if the current color index should be overridden. 822 // Return -1 if the current color index (including no index) should be kept. 869 // call first, to do liveness analysis, index mappin [all...] |
/foundation/ability/idl_tool/idl_tool_2/ast/ |
H A D | ast.cpp | 50 size_t index = idlFilePath_.rfind('\\'); in SetIdlFile() local 52 size_t index = idlFilePath_.rfind('/'); in SetIdlFile() local 60 name_ = StringHelper::SubStr(idlFilePath_, (index == std::string::npos) ? 0 : (index + 1), end); in SetIdlFile() 70 size_t index = name.rfind('.'); in SetFullName() local 71 if (index != std::string::npos) { in SetFullName() 72 packageName_ = StringHelper::SubStr(name, 0, index); in SetFullName() 73 name_ = StringHelper::SubStr(name, index + 1); in SetFullName() 90 size_t index = 0; in ParseNamespace() local 91 while ((index in ParseNamespace() 140 GetNamespace(size_t index) GetNamespace() argument 159 GetInterfaceDef(size_t index) GetInterfaceDef() argument 168 GetSequenceableDef(size_t index) GetSequenceableDef() argument 269 GetTypeDefintion(size_t index) GetTypeDefintion() argument [all...] |
/foundation/arkui/ace_engine_lite/frameworks/src/core/stylemgr/ |
H A D | app_style_manager.cpp | 140 uint16_t index = styleItemNameId >> 1; in MarkStandardFlag() local 142 flags_[index].u8Bits.standardEven_ = 1; in MarkStandardFlag() 144 flags_[index].u8Bits.standardOdd_ = 1; in MarkStandardFlag() 157 for (uint32_t index = 0; index < propKeySize; index++) { in HandleStaticStyle() 158 jerry_value_t propKey = jerry_get_property_by_index(propKeys, index); in HandleStaticStyle() 181 for (uint32_t index = 0; index < propKeySize; index in HandleDynamicStyle() 301 uint16_t index = styleItemNameId >> 1; isStandardExist() local 311 uint16_t index = styleItemNameId >> 1; isPseudoExist() local 326 uint16_t index = styleItemNameId >> 1; MarkPseudoFlag() local [all...] |
/foundation/distributedhardware/distributed_camera/services/channel/test/unittest/common/channel/ |
H A D | dcamera_channel_sink_impl_test.cpp | 86 DCameraIndex index; in HWTEST_F() local 87 index.devId_ = TEST_DEVICE_ID; in HWTEST_F() 88 index.dhId_ = TEST_CAMERA_DH_ID_0; in HWTEST_F() 89 camIndexs.push_back(index); in HWTEST_F() 110 DCameraIndex index; in HWTEST_F() local 111 index.devId_ = TEST_DEVICE_ID; in HWTEST_F() 112 index.dhId_ = TEST_CAMERA_DH_ID_0; in HWTEST_F() 113 camIndexs.push_back(index); in HWTEST_F() 135 DCameraIndex index; in HWTEST_F() local 136 index in HWTEST_F() 161 DCameraIndex index; HWTEST_F() local 234 DCameraIndex index; HWTEST_F() local 283 DCameraIndex index; HWTEST_F() local [all...] |
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/ime/indic/ |
H A D | IndicInputMethodImpl.java | 61 * Returns the index of the given character in the JOIN_WITH_NUKTA array. 70 int index = 0; in nuktaIndex() 73 index = extra; in nuktaIndex() 79 if (JOIN_WITH_NUKTA[index + probe] <= ch) { in nuktaIndex() 80 index += probe; in nuktaIndex() 84 if (JOIN_WITH_NUKTA[index] != ch) { in nuktaIndex() 85 index = -1; in nuktaIndex() 88 return index; in nuktaIndex() 303 private int index = 0; field in IndicInputMethodImpl.ACIText 324 if( index in current() [all...] |
/third_party/ffmpeg/libavutil/ |
H A D | lfg.h | 35 int index; member 54 unsigned a = c->state[c->index & 63] = c->state[(c->index-24) & 63] + c->state[(c->index-55) & 63]; in av_lfg_get() 55 c->index += 1U; in av_lfg_get() 65 unsigned int a= c->state[(c->index-55) & 63]; in av_mlfg_get() 66 unsigned int b= c->state[(c->index-24) & 63]; in av_mlfg_get() 67 a = c->state[c->index & 63] = 2*a*b+a+b; in av_mlfg_get() 68 c->index += 1U; in av_mlfg_get()
|
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/vertexprimitive/ |
H A D | geometry_plaindata_array.h | 79 * @brief Gets the element of the specified index. 84 const T& operator[](uint32_t index) const in operator []() 86 return data_[index]; in operator []() 89 * @brief Gets the element of the specified index. 94 T& operator[](uint32_t index) in operator []() argument 96 if (index > size_) { in operator []() 100 return data_[index]; in operator []() 103 * @brief Gets the element of the specified index. 108 T ValueAt(uint32_t index) const in ValueAt() 110 return data_[index]; in ValueAt() 128 IndexAt(uint32_t index) IndexAt() argument [all...] |
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | ir3_dominance.c | 41 * because we index blocks from beginning -> end (i.e. reverse in intersect() 44 while (b1->index > b2->index) in intersect() 46 while (b2->index > b1->index) in intersect() 77 calc_dfs_indices(struct ir3_block *block, unsigned index) in calc_dfs_indices() argument 79 block->dom_pre_index = index++; in calc_dfs_indices() 81 index = calc_dfs_indices(block->dom_children[i], index); in calc_dfs_indices() 82 block->dom_post_index = index in calc_dfs_indices() [all...] |
/third_party/node/deps/v8/src/codegen/ |
H A D | handler-table.h | 65 int GetRangeStart(int index) const; 66 int GetRangeEnd(int index) const; 67 int GetRangeHandler(int index) const; 68 int GetRangeData(int index) const; 71 void SetRangeStart(int index, int value); 72 void SetRangeEnd(int index, int value); 73 void SetRangeHandler(int index, int offset, CatchPrediction pred); 74 void SetRangeData(int index, int value); 102 CatchPrediction GetRangePrediction(int index) const; 108 int GetReturnOffset(int index) cons [all...] |
H A D | external-reference-table.h | 75 int index = offset / kEntrySize; in NameFromOffset() local 76 return name(index); in NameFromOffset() 85 static void AddIsolateIndependent(Address address, int* index); 87 static void AddIsolateIndependentReferences(int* index); 88 static void AddBuiltins(int* index); 89 static void AddRuntimeFunctions(int* index); 90 static void AddAccessors(int* index); 92 void Add(Address address, int* index); 94 void CopyIsolateIndependentReferences(int* index); 95 void AddIsolateDependentReferences(Isolate* isolate, int* index); [all...] |
/third_party/node/deps/v8/src/objects/ |
H A D | property-array.h | 32 inline Object get(int index) const; 33 inline Object get(PtrComprCageBase cage_base, int index) const; 34 inline Object get(int index, SeqCstAccessTag tag) const; 35 inline Object get(PtrComprCageBase cage_base, int index, 38 inline void set(int index, Object value); 39 inline void set(int index, Object value, SeqCstAccessTag tag); 41 inline void set(int index, Object value, WriteBarrierMode mode); 43 inline Object Swap(int index, Object value, SeqCstAccessTag tag); 44 inline Object Swap(PtrComprCageBase cage_base, int index, Object value, 58 static constexpr int OffsetOfElementAt(int index) { retur in SizeFor() argument [all...] |
/third_party/node/deps/v8/src/utils/ |
H A D | utils-inl.h | 36 bool TryAddArrayIndexChar(uint32_t* index, Char c) { in TryAddArrayIndexChar() argument 39 // The maximum index is 4294967294; for the computation below to not in TryAddArrayIndexChar() 40 // exceed that, the previous index value must be <= 429496729 if d <= 4, in TryAddArrayIndexChar() 43 if (*index > 429496729U - ((d + 3) >> 3)) return false; in TryAddArrayIndexChar() 44 *index = (*index) * 10 + d; in TryAddArrayIndexChar() 49 bool TryAddIntegerIndexChar(uint64_t* index, Char c) { in TryAddIntegerIndexChar() argument 52 *index = (*index) * 10 + d; in TryAddIntegerIndexChar() 53 return (*index < in TryAddIntegerIndexChar() 57 StringToIndex(Stream* stream, index_t* index) StringToIndex() argument [all...] |
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | submeshhandler.cpp | 125 // that index changes would be propagated incorrectly to client app 167 void SetRenderSortLayerOrder(size_t index, uint8_t value) override 171 if (index >= 0 && index < handle->submeshes.size()) { 172 handle->submeshes[index].renderSortOrder = value; 179 [index, value](auto selfNode) { 184 self->GetEntity(), index, value); 195 if (index < submeshes_->GetSize()) { 196 META_NS::SetValue(submeshes_->GetValueAt(index)->RenderSortLayerOrder(), value); 200 void SetMaterialToEcs(size_t index, SCENE_N [all...] |
/third_party/node/deps/v8/src/compiler/ |
H A D | node-properties.cc | 92 void NodeProperties::ReplaceValueInput(Node* node, Node* value, int index) { in ReplaceValueInput() argument 93 CHECK_LE(0, index); in ReplaceValueInput() 94 CHECK_LT(index, node->op()->ValueInputCount()); in ReplaceValueInput() 95 node->ReplaceInput(FirstValueIndex(node) + index, value); in ReplaceValueInput() 118 void NodeProperties::ReplaceControlInput(Node* node, Node* control, int index) { in ReplaceControlInput() argument 119 CHECK_LE(0, index); in ReplaceControlInput() 120 CHECK_LT(index, node->op()->ControlInputCount()); in ReplaceControlInput() 121 node->ReplaceInput(FirstControlIndex(node) + index, control); in ReplaceControlInput() 126 void NodeProperties::ReplaceEffectInput(Node* node, Node* effect, int index) { in ReplaceEffectInput() argument 127 CHECK_LE(0, index); in ReplaceEffectInput() 166 int index = NodeProperties::FirstControlIndex(graph->end()) + i; RemoveControlFromEnd() local 268 size_t index; CollectControlProjections() local 638 int const index = edge.index(); IsInputRange() local [all...] |
/foundation/multimedia/image_framework/plugins/common/libs/image/libgifplugin/src/ |
H A D | gif_encoder.cpp | 184 for (int index = 0; index < pixelMaps_.size(); index++) { in DoEncode() 186 WriteFrameInfo(index); in DoEncode() 187 processFrame(index); in DoEncode() 237 uint32_t GifEncoder::WriteFrameInfo(int index) in WriteFrameInfo() argument 245 gce.packedFields |= (((index < encodeOpts_.disposalTypes.size() ? in WriteFrameInfo() 246 encodeOpts_.disposalTypes[index] : DEFAULT_DISPOSAL_TYPE) & 0x07) << DISPOSAL_METHOD_SHIFT_BIT); in WriteFrameInfo() 247 gce.delayTime = index < encodeOpts_.delayTimes.size() ? encodeOpts_.delayTimes[index] in WriteFrameInfo() 271 processFrame(int index) processFrame() argument 312 colorQuantize(int index, uint16_t width, uint16_t height, uint8_t *outputBuffer, ColorType *outputColorMap) colorQuantize() argument 349 separateRGB(int index, uint16_t width, uint16_t height, uint8_t *redBuffer, uint8_t *greenBuffer, uint8_t *blueBuffer) separateRGB() argument 379 uint16_t index = ((colorInput->redInput[i] >> (BITS_IN_BYTE - BITS_PER_PRIM_COLOR)) << RED_COORDINATE) + InitColorCube() local 466 uint32_t index = ((redInput[i] >> (BITS_IN_BYTE - BITS_PER_PRIM_COLOR)) << RED_COORDINATE) + doColorQuantize() local 496 int index = -1; PrepareSort() local 509 doSort(ColorCoordinate **sortArray, ColorSubdivMap *colorSubdivMap, uint32_t index) doSort() argument 521 SubdivColorByPartition(ColorCoordinate *colorCoordinate, ColorSubdivMap *colorSubdivMap, uint32_t colorSubdivMapSize, int index) SubdivColorByPartition() argument 555 int index = 0; BuildColorSubdivMap() local [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_navigation_stack.cpp | 147 void JSNavigationStack::Push(const std::string& name, int32_t index) in Push() argument 183 void JSNavigationStack::RemoveIndex(int32_t index) in RemoveIndex() argument 193 params[0] = JSRef<JSVal>::Make(ToJSValue(index)); in RemoveIndex() 294 void JSNavigationStack::SetDestinationIdToJsStack(int32_t index, const std::string& navDestinationId) in SetDestinationIdToJsStack() argument 297 auto pathInfo = GetJsPathInfo(index); in SetDestinationIdToJsStack() 304 bool JSNavigationStack::CreateNodeByIndex(int32_t index, const WeakPtr<NG::UINode>& customNode, in CreateNodeByIndex() argument 308 auto pathInfo = GetJsPathInfo(index); in CreateNodeByIndex() 316 bool isRemove = RemoveDestinationIfNeeded(pathInfo, errorCode, index); in CreateNodeByIndex() 321 TAG_LOGE(AceLogTag::ACE_NAVIGATION, "can't find target destination by index, create empty node"); in CreateNodeByIndex() 329 pattern->SetIndex(index); in CreateNodeByIndex() 371 GetNameByIndex(int32_t index) GetNameByIndex() argument 411 GetIsEntryByIndex(int32_t index) GetIsEntryByIndex() argument 431 SetIsEntryByIndex(int32_t index, bool isEntry) SetIsEntryByIndex() argument 703 RemoveInvalidPage(int32_t index) RemoveInvalidPage() argument 884 GetJsIndexFromNativeIndex(int32_t index) GetJsIndexFromNativeIndex() argument 903 MoveIndexToTop(int32_t index) MoveIndexToTop() argument 918 UpdatePathInfoIfNeeded(RefPtr<NG::UINode>& uiNode, int32_t index) UpdatePathInfoIfNeeded() argument 942 GetNeedUpdatePathInfo(int32_t index) GetNeedUpdatePathInfo() argument 956 SetNeedUpdatePathInfo(int32_t index, bool need) SetNeedUpdatePathInfo() argument 995 NeedBuildNewInstance(int32_t index) NeedBuildNewInstance() argument 1009 SetNeedBuildNewInstance(int32_t index, bool need) SetNeedBuildNewInstance() argument 1032 GetJsPathInfo(int32_t index) GetJsPathInfo() argument 1122 IsFromRecovery(int32_t index) IsFromRecovery() argument 1135 SetFromRecovery(int32_t index, bool fromRecovery) SetFromRecovery() argument 1144 GetRecoveredDestinationMode(int32_t index) GetRecoveredDestinationMode() argument 1173 RemoveDestinationIfNeeded(const JSRef<JSObject>& pathInfo, int32_t errorCode, int32_t index) RemoveDestinationIfNeeded() argument 1202 CheckIsReplacedDestination(int32_t index, std::string& replacedName, int32_t& replacedIndex) CheckIsReplacedDestination() argument 1226 SetRecoveryFromReplaceDestination(int32_t index, bool value) SetRecoveryFromReplaceDestination() argument [all...] |
H A D | js_lazy_foreach_component.h | 42 void OnDataAdded(size_t index) override 48 void OnDataBulkAdded(size_t index, size_t count) override 54 void OnDataDeleted(size_t index) override 60 void OnDataBulkDeleted(size_t index, size_t count) override 66 void OnDataChanged(size_t index) override 108 for (auto index = 0; index < totalIndex; index++) { in ExpandChildrenOnInitial() 109 params[0] = CallJSFunction(getDataFunc_, dataSourceObj_, index); in ExpandChildrenOnInitial() 110 params[1] = JSRef<JSVal>::Make(ToJSValue(index)); in ExpandChildrenOnInitial() [all...] |
/third_party/icu/icu4c/source/layoutex/ |
H A D | RunArrays.cpp | 68 le_int32 index = ensureCapacity(); in add() local 71 limits[index] = limit; in add() 73 return index; in add() 108 le_int32 index = RunArray::add(limit); in add() local 110 if (index >= 0) { in add() 113 fonts[index] = (LEFontInstance *) font; in add() 116 return index; in add() 160 le_int32 index = RunArray::add(limit); in add() local 162 if (index >= 0) { in add() 165 locales[index] in add() 212 le_int32 index = RunArray::add(limit); add() local [all...] |
/third_party/skia/tests/ |
H A D | PathOpsQuadLineIntersectionTest.cpp | 85 for (size_t index = 0; index < oneOffs_count; ++index) { in testOneOffs() 86 const QuadPts& q = oneOffs[index].quad; in testOneOffs() 90 const SkDLine& line = oneOffs[index].line; in testOneOffs() 112 for (size_t index = 0; index < lineQuadTests_count; ++index) { in DEF_TEST() 113 int iIndex = static_cast<int>(index); in DEF_TEST() 114 const QuadPts& q = lineQuadTests[index] in DEF_TEST() [all...] |
/foundation/arkui/ace_engine/advanced_ui_component/segmentbutton/interfaces/ |
H A D | segmentbutton.js | 404 const forEachItemGenFunction = (_item, index) => { 408 if (index < a1) { 414 Stack.height(this.buttonItemsSize[index].height); 416 Stack.borderRadius(this.buttonBorderRadius[index]); 583 this.w2 = new ObservedPropertyObjectPU(Array.from({ length: a1 }, (q3, index) => Color.Transparent), this, 706 const forEachItemGenFunction = (_item, index) => { 710 if (index < a1) { 715 Stack.width(this.buttonItemsSize[index].width); 716 Stack.height(this.buttonItemsSize[index].height); 717 Stack.backgroundColor(this.multiColor[index]); [all...] |
/third_party/node/benchmark/napi/type-tag/ |
H A D | binding.c | 34 uint32_t index; in TagObject() local 41 for (index = 0; index < n; index++) { in TagObject() 42 NAPI_CALL(napi_create_object(env, &objects[index])); in TagObject() 47 for (index = 0; index < n; index++) { in TagObject() 48 NAPI_CALL(napi_type_tag_object(env, objects[index], &tag)); in TagObject() 60 uint32_t index; in CheckObjectTag() local [all...] |
/third_party/node/deps/v8/src/sandbox/ |
H A D | external-pointer-table.h | 57 * to store the index of the next free entry. When the freelist is empty and a 76 // Retrieves the entry at the given index. 79 inline Address Get(uint32_t index, ExternalPointerTag tag) const; 81 // Sets the entry at the given index to the given value. 84 inline void Set(uint32_t index, Address value, ExternalPointerTag tag); 100 inline void Mark(uint32_t index); 131 inline Address entry_address(uint32_t index) const { in entry_address() 132 return buffer_ + index * sizeof(Address); in entry_address() 135 // Loads the value at the given index. This method is non-atomic, only use it 137 inline Address load(uint32_t index) cons 143 store(uint32_t index, Address value) store() argument 154 store_atomic(uint32_t index, Address value) store_atomic() argument [all...] |
/foundation/multimedia/av_codec/test/unittest/video_test/vcodec_framework_test/func_sample/mock/ |
H A D | vcodec_mock.h | 43 virtual void OnNeedInputData(uint32_t index, std::shared_ptr<AVMemoryMock> data) = 0; 44 virtual void OnNewOutputData(uint32_t index, std::shared_ptr<AVMemoryMock> data, OH_AVCodecBufferAttr attr) = 0; 52 virtual void OnNeedInputData(uint32_t index, std::shared_ptr<AVBufferMock> data) = 0; 53 virtual void OnNewOutputData(uint32_t index, std::shared_ptr<AVBufferMock> data) = 0; 59 virtual void OnInputParameterAvailable(uint32_t index, std::shared_ptr<FormatMock> parameter) = 0; 65 virtual void OnInputParameterWithAttrAvailable(uint32_t index, std::shared_ptr<FormatMock> attribute, 84 virtual int32_t PushInputData(uint32_t index, OH_AVCodecBufferAttr &attr) = 0; 85 virtual int32_t RenderOutputData(uint32_t index) = 0; 86 virtual int32_t FreeOutputData(uint32_t index) = 0; 87 virtual int32_t PushInputBuffer(uint32_t index) [all...] |
/foundation/multimedia/media_foundation/interface/inner_api/osal/utils/ |
H A D | ring_buffer.h | 61 size_t index = head_ % bufferSize_; in ReadBuffer() local 62 if (index + available < bufferSize_) { in ReadBuffer() 63 (void)memcpy_s(ptr, available, buffer_.get() + index, available); in ReadBuffer() 65 (void)memcpy_s(ptr, bufferSize_ - index, buffer_.get() + index, bufferSize_ - index); in ReadBuffer() 66 (void)memcpy_s(((uint8_t*)ptr) + (bufferSize_ - index), available - (bufferSize_ - index), buffer_.get(), in ReadBuffer() 67 available - (bufferSize_ - index)); in ReadBuffer() 90 size_t index in WriteBuffer() local [all...] |