/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
H A D | es31cVertexAttribBindingTests.cpp | 523 << " " << expected_data[i][2] << " " << expected_data[i][3] << ", index is: " << i in Run() 1580 << ", index is: " << i * 8 + j << tcu::TestLog::EndMessage; in Run() 1590 << ", index is: " << i * 8 + j << tcu::TestLog::EndMessage; in Run() 1906 int index; member in glcts::__anon27702::VertexAttribState 1920 , index(attribindex) in VertexAttribState() 1928 glGetVertexAttribiv(index, GL_VERTEX_ATTRIB_ARRAY_ENABLED, &p); in stateVerify() 1932 << tcu::TestLog::Message << "GL_VERTEX_ATTRIB_ARRAY_ENABLED(" << index << ") is " << p << " should be " in stateVerify() 1936 glGetVertexAttribiv(index, GL_VERTEX_ATTRIB_ARRAY_SIZE, &p); in stateVerify() 1940 << tcu::TestLog::Message << "GL_VERTEX_ATTRIB_ARRAY_SIZE(" << index << ") is " << p << " should be " in stateVerify() 1944 glGetVertexAttribiv(index, GL_VERTEX_ATTRIB_ARRAY_STRID in stateVerify() 2026 int index; global() member in glcts::__anon27702::VertexBindingState 2841 RelinkProgram(GLuint index) RelinkProgram() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | vk_helpers.cpp | 99 // layout has a single stage mask bit, we use that stage as index. If layout has multiple stage 100 // mask bits, we pick the lowest stage as the index since it is the first stage that needs 966 void PackedClearValuesArray::store(PackedAttachmentIndex index, in store() argument 973 storeNoDepthStencil(index, clearValue); in store() 977 void PackedClearValuesArray::storeNoDepthStencil(PackedAttachmentIndex index, in storeNoDepthStencil() argument 980 mValues[index.get()] = clearValue; in storeNoDepthStencil() 1264 // Note that the resolve depth/stencil image has the same level/layer index as the in depthStencilImagesDraw() 1581 for (PackedAttachmentIndex index = kAttachmentIndexZero; index < mColorImagesCount; ++index) in finalizeImageLayout() 5701 stageSubresourceUpdateImpl(ContextVk *contextVk, const gl::ImageIndex &index, const gl::Extents &glExtents, const gl::Offset &offset, const gl::InternalFormat &formatInfo, const gl::PixelUnpackState &unpack, DynamicBuffer *stagingBufferOverride, GLenum type, const uint8_t *pixels, const Format &vkFormat, ImageAccess access, const GLuint inputRowPitch, const GLuint inputDepthPitch, const GLuint inputSkipBytes) stageSubresourceUpdateImpl() argument 6152 stageSubresourceUpdate(ContextVk *contextVk, const gl::ImageIndex &index, const gl::Extents &glExtents, const gl::Offset &offset, const gl::InternalFormat &formatInfo, const gl::PixelUnpackState &unpack, DynamicBuffer *stagingBufferOverride, GLenum type, const uint8_t *pixels, const Format &vkFormat, ImageAccess access) stageSubresourceUpdate() argument 6218 stageSubresourceUpdateFromFramebuffer( const gl::Context *context, const gl::ImageIndex &index, const gl::Rectangle &sourceArea, const gl::Offset &dstOffset, const gl::Extents &dstExtent, const gl::InternalFormat &formatInfo, ImageAccess access, FramebufferVk *framebufferVk, DynamicBuffer *stagingBufferOverride) stageSubresourceUpdateFromFramebuffer() argument 6326 stageSubresourceUpdateFromImage(RefCounted<ImageHelper> *image, const gl::ImageIndex &index, LevelIndex srcMipLevel, const gl::Offset &destOffset, const gl::Extents &glExtents, const VkImageType imageType) stageSubresourceUpdateFromImage() argument 6373 const gl::ImageIndex index = stageSubresourceUpdatesFromAllImageLevels() local 6382 stageClear(const gl::ImageIndex &index, VkImageAspectFlags aspectFlags, const VkClearValue &clearValue) stageClear() argument 6390 stageRobustResourceClear(const gl::ImageIndex &index) stageRobustResourceClear() argument 6401 stageRobustResourceClearWithFormat(ContextVk *contextVk, const gl::ImageIndex &index, const gl::Extents &glExtents, const angle::Format &intendedFormat, const angle::Format &imageFormat) stageRobustResourceClearWithFormat() argument 6492 gl::ImageIndex index = stageClearIfEmulatedFormat() local 6597 const gl::ImageIndex index = stageSelfAsSubresourceUpdates() local [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/ |
H A D | capture_gles_2_0_autogen.cpp | 48 GLuint index, in CaptureBindAttribLocation() 54 paramBuffer.addValueParam("index", ParamType::TGLuint, index); in CaptureBindAttribLocation() 60 CaptureBindAttribLocation_name(glState, isCallValid, programPacked, index, name, in CaptureBindAttribLocation() 715 CallCapture CaptureDisableVertexAttribArray(const State &glState, bool isCallValid, GLuint index) in CaptureDisableVertexAttribArray() argument 719 paramBuffer.addValueParam("index", ParamType::TGLuint, index); in CaptureDisableVertexAttribArray() 780 CallCapture CaptureEnableVertexAttribArray(const State &glState, bool isCallValid, GLuint index) in CaptureEnableVertexAttribArray() argument 784 paramBuffer.addValueParam("index", ParamType::TGLuint, index); in CaptureEnableVertexAttribArray() 45 CaptureBindAttribLocation(const State &glState, bool isCallValid, ShaderProgramID programPacked, GLuint index, const GLchar *name) CaptureBindAttribLocation() argument 978 CaptureGetActiveAttrib(const State &glState, bool isCallValid, ShaderProgramID programPacked, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) CaptureGetActiveAttrib() argument 1058 CaptureGetActiveUniform(const State &glState, bool isCallValid, ShaderProgramID programPacked, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) CaptureGetActiveUniform() argument 1807 CaptureGetVertexAttribPointerv(const State &glState, bool isCallValid, GLuint index, GLenum pname, void **pointer) CaptureGetVertexAttribPointerv() argument 1837 CaptureGetVertexAttribfv(const State &glState, bool isCallValid, GLuint index, GLenum pname, GLfloat *params) CaptureGetVertexAttribfv() argument 1866 CaptureGetVertexAttribiv(const State &glState, bool isCallValid, GLuint index, GLenum pname, GLint *params) CaptureGetVertexAttribiv() argument 2987 CaptureVertexAttrib1f(const State &glState, bool isCallValid, GLuint index, GLfloat x) CaptureVertexAttrib1f() argument 2997 CaptureVertexAttrib1fv(const State &glState, bool isCallValid, GLuint index, const GLfloat *v) CaptureVertexAttrib1fv() argument 3024 CaptureVertexAttrib2f(const State &glState, bool isCallValid, GLuint index, GLfloat x, GLfloat y) CaptureVertexAttrib2f() argument 3039 CaptureVertexAttrib2fv(const State &glState, bool isCallValid, GLuint index, const GLfloat *v) CaptureVertexAttrib2fv() argument 3066 CaptureVertexAttrib3f(const State &glState, bool isCallValid, GLuint index, GLfloat x, GLfloat y, GLfloat z) CaptureVertexAttrib3f() argument 3083 CaptureVertexAttrib3fv(const State &glState, bool isCallValid, GLuint index, const GLfloat *v) CaptureVertexAttrib3fv() argument 3110 CaptureVertexAttrib4f(const State &glState, bool isCallValid, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) CaptureVertexAttrib4f() argument 3129 CaptureVertexAttrib4fv(const State &glState, bool isCallValid, GLuint index, const GLfloat *v) CaptureVertexAttrib4fv() argument 3156 CaptureVertexAttribPointer(const State &glState, bool isCallValid, GLuint index, GLint size, VertexAttribType typePacked, GLboolean normalized, GLsizei stride, const void *pointer) CaptureVertexAttribPointer() argument [all...] |
/foundation/multimedia/audio_framework/frameworks/native/pulseaudio/modules/hdi/ |
H A D | hdi_sink.c | 357 size_t index; in RenderWrite() local 364 index = pchunk->index; in RenderWrite() 372 int32_t ret = sinkAdapter->RendererRenderFrame(sinkAdapter, ((char*)p + index), in RenderWrite() 387 index += writeLen; in RenderWrite() 452 size_t index; in RenderWriteOffload() local 458 index = pchunk->index; in RenderWriteOffload() 472 int32_t ret = u->offload.sinkAdapter->RendererRenderFrame(u->offload.sinkAdapter, ((char*)p + index), in RenderWriteOffload() 533 size_t index; in TestModeRenderWrite() local [all...] |
/foundation/ability/ability_runtime/tools/aa/src/ |
H A D | ability_tool_command.cpp | 255 int index = 0; in ParseStartAbilityArgsFromCmd() local 269 while ((option = getopt_long(argc_, argv_, shortOptions.c_str(), longOptions, &index)) != EOF) { in ParseStartAbilityArgsFromCmd() 366 int index = 0; in ParseStopServiceArgsFromCmd() local 376 while ((option = getopt_long(argc_, argv_, shortOptions.c_str(), longOptions, &index)) != EOF) { in ParseStopServiceArgsFromCmd() 421 int index = 0; in ParseTestArgsFromCmd() local 424 while ((option = getopt_long(argc_, argv_, SHORT_OPTIONS_FOR_TEST.c_str(), LONG_OPTIONS_FOR_TEST, &index)) != EOF) { in ParseTestArgsFromCmd()
|
/foundation/arkui/ace_engine/frameworks/core/components/calendar/ |
H A D | calendar_data_adapter.h | 112 int32_t index = 0; member 134 static constexpr char INDEX[] { "index" }; 147 json->Put(INDEX, index); in ToString() 409 bool ParseData(int32_t index, const std::string& source, CalendarDaysOfMonth& result); 423 const CalendarMonth& currentMonth, int32_t indexOfContainer, int32_t& index, CalendarDaysOfMonth& result); 425 const CalendarMonth& currentMonth, int32_t indexOfContainer, int32_t& index, CalendarDaysOfMonth& result); 427 const CalendarMonth& currentMonth, int32_t indexOfContainer, int32_t& index, CalendarDaysOfMonth& result);
|
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_progress.cpp | 48 for (int32_t index = 0; index < colors->GetArraySize(); index++) { in ParseGradient() 51 if (colors->GetArrayItem(index)->ToString().length() > 2) { in ParseGradient() 52 gradient.AddColor(GradientColor(progress.ParseColor(colors->GetArrayItem(index)->ToString().substr( in ParseGradient() 53 1, colors->GetArrayItem(index)->ToString().length() - 2)))); in ParseGradient()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/dot_indicator/ |
H A D | overlength_dot_indicator_paint_method.cpp | 117 const LinearVector<float>& itemHalfSizes, float margin, float padding, float space, int32_t index)
in CalculatePointCenterX() 135 return BackwardCalculation(itemHalfSizes, startCenterX, endCenterX, space, index);
in CalculatePointCenterX() 137 return ForwardCalculation(itemHalfSizes, startCenterX, endCenterX, space, index);
in CalculatePointCenterX() 219 const LinearVector<float>& itemHalfSizes, float startCenterX, float endCenterX, float space, int32_t index)
in ForwardCalculation() 230 auto [startCurrentIndex, endCurrentIndex] = GetStartAndEndIndex(index);
in ForwardCalculation() 270 pointCenter, endVectorBlackPointCenterX, startCurrentIndex, endCurrentIndex, selectedItemWidth, index);
in ForwardCalculation() 116 CalculatePointCenterX( const LinearVector<float>& itemHalfSizes, float margin, float padding, float space, int32_t index) CalculatePointCenterX() argument 218 ForwardCalculation( const LinearVector<float>& itemHalfSizes, float startCenterX, float endCenterX, float space, int32_t index) ForwardCalculation() argument
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/ |
H A D | textpicker_pattern.h | 152 std::string GetOption(uint32_t index) const in GetOption() 154 if (index >= GetOptionCount()) { in GetOption() 157 return options_[index].text_; in GetOption() 315 void HandleColumnChange(const RefPtr<FrameNode>& tag, bool isAdd, uint32_t index, bool needNotify); 320 std::vector<NG::TextCascadePickerOptions>& reOptions, uint32_t index); 509 void ProcessCascadeOptionsValues(const std::vector<std::string>& rangeResultValue, uint32_t index);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/ |
H A D | timepicker_row_pattern.h | 138 const RefPtr<FrameNode>& tag, bool isAdd, uint32_t index, std::vector<RefPtr<FrameNode>>& resultTags); 140 void HandleHour12Change(bool isAdd, uint32_t index, std::vector<RefPtr<FrameNode>>& resultTags); 144 void HandleColumnChange(const RefPtr<FrameNode>& tag, bool isAdd, uint32_t index, bool needNotify); 184 std::string GetOptionValue(const RefPtr<FrameNode>& frmeNode, uint32_t index) in GetOptionValue() argument 186 if (index >= GetOptionCount(frmeNode)) { in GetOptionValue() 189 return options_[frmeNode][index]; in GetOptionValue()
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | shape_composed_element.cpp | 195 auto index = std::to_string(i); in GetStrokeDashArray() local 197 jsonDashArray->Put(index.c_str(), value.c_str()); in GetStrokeDashArray() 266 auto index = std::to_string(i); in GetRadiusArray() local 267 jsonRadiusArray->Put(index.c_str(), jsonObject); in GetRadiusArray() 377 auto index = std::to_string(i); in GetPointsArray() local 378 pointsArray->Put(index.c_str(), pointsObject); in GetPointsArray()
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/stylemgr/ |
H A D | condition_arbitrator.cpp | 293 uint8_t index = 0; in GetConditionName() local 294 for (; index < ConditionName::UNKOWN; index++) { in GetConditionName() 295 if (strcmp(conditionName, conditionNamePair[index].nameStr) == 0) { in GetConditionName() 296 targetName = conditionNamePair[index].name; in GetConditionName() 300 if (index == ConditionName::UNKOWN) { in GetConditionName()
|
/foundation/communication/bluetooth/frameworks/inner/ipc/src/ |
H A D | bluetooth_hfp_hf_proxy.cpp | 277 bool BluetoothHfpHfProxy::HandleMultiCall(const BluetoothRawAddress &device, int flag, int index) in HandleMultiCall() argument 284 CHECK_AND_RETURN_LOG_RET(data.WriteInt32(index), false, "write index error"); in HandleMultiCall() 310 bool BluetoothHfpHfProxy::DialMemory(const BluetoothRawAddress &device, int index) in DialMemory() argument 316 CHECK_AND_RETURN_LOG_RET(data.WriteInt32(index), false, "write index error"); in DialMemory() 327 bool BluetoothHfpHfProxy::SendVoiceTag(const BluetoothRawAddress &device, int index) in SendVoiceTag() argument 333 CHECK_AND_RETURN_LOG_RET(data.WriteInt32(index), false, "write index error"); in SendVoiceTag()
|
/foundation/multimedia/audio_framework/services/audio_service/server/src/ |
H A D | none_mix_engine.cpp | 261 int32_t index = -1; in MixStreams() local 262 int32_t result = stream_->Peek(&audioBuffer, index); in MixStreams() 264 if (index < 0) { in MixStreams() 265 AUDIO_WARNING_LOG("peek buffer failed.result:%{public}d,buffer size:%{public}d", result, index); in MixStreams() 266 stream_->ReturnIndex(index); in MixStreams() 287 stream_->ReturnIndex(index); in MixStreams()
|
/foundation/graphic/graphic_3d/lume/metaobject/src/animation/ |
H A D | animation.h | 260 bool Insert(SizeType index, const IObject::Ptr& object) override 262 return GetContainer().Insert(index, object); 264 bool Remove(SizeType index) override 266 return GetContainer().Remove(index); 292 IObject::Ptr GetAt(SizeType index) const override 294 return GetContainer().GetAt(index);
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/ |
H A D | static_factory.cpp | 72 std::shared_ptr<Typeface> StaticFactory::MakeFromFile(const char path[], int index) in MakeFromFile() argument 76 return DDGRStaticFactory::MakeFromFile(path, index); in MakeFromFile() 79 return EngineStaticFactory::MakeFromFile(path, index); in MakeFromFile() 102 std::shared_ptr<Typeface> StaticFactory::MakeFromStream(std::unique_ptr<MemoryStream> memoryStream, int32_t index) in MakeFromStream() argument 106 return DDGRStaticFactory::MakeFromStream(std::move(memoryStream), index); in MakeFromStream() 109 return EngineStaticFactory::MakeFromStream(std::move(memoryStream), index); in MakeFromStream()
|
/foundation/graphic/graphic_3d/lume/LumeEngine/src/ecs/ |
H A D | entity_manager.cpp | 337 EntityManager::IteratorImpl::IteratorImpl(const EntityManager& owner, size_t index, IteratorType type) in IteratorImpl() argument 338 : owner_(&owner), index_(static_cast<uint32_t>(index)), type_(type) in IteratorImpl() 341 if (index < owner.entities_.size()) { in IteratorImpl() 342 const auto& e = owner.entities_[index]; in IteratorImpl() 390 IEntityManager::Iterator::Ptr EntityManager::MakeIterator(uint32_t index, IteratorType type) const in MakeIterator() argument 393 auto p = new EntityManager::IteratorImpl(*this, index, type); in MakeIterator()
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/source/http_source/hls/ |
H A D | hls_tags.cpp | 323 auto index = s.find(delim, last); in Split() local 324 while (index != std::string::npos) { in Split() 325 if (index - last > 0) { in Split() 326 ret.push_back(s.substr(last, index - last)); in Split() 328 last = index + strlen(delim); in Split() 329 index = s.find(delim, last); in Split()
|
/foundation/multimedia/av_codec/services/media_engine/plugins/source/http_source/hls/ |
H A D | hls_tags.cpp | 328 auto index = s.find(delim, last); in Split() local 329 while (index != std::string::npos && last < s.size()) { in Split() 330 if (index > last) { in Split() 331 ret.push_back(s.substr(last, index - last)); in Split() 333 last = index + delimLen; in Split() 334 index = s.find(delim, last); in Split()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/ |
H A D | medialibrary_urisensitive_operations.cpp | 187 vector<int32_t> &querySingleResultSet, int index) in GetSingleDbOperation() 190 int32_t fileId = std::stoi((static_cast<string>(values.at(index).Get(AppUriSensitiveColumn::FILE_ID, isValid)))); in GetSingleDbOperation() 191 int32_t uriType = values.at(index).Get(AppUriSensitiveColumn::URI_TYPE, isValid); in GetSingleDbOperation() 192 int32_t sensitiveType = values.at(index).Get(AppUriSensitiveColumn::HIDE_SENSITIVE_TYPE, isValid); in GetSingleDbOperation() 195 dbOperation[index] = NO_DB_OPERATION; in GetSingleDbOperation() 197 dbOperation[index] = UPDATE_DB_OPERATION; in GetSingleDbOperation() 186 GetSingleDbOperation(const vector<DataShareValuesBucket> &values, vector<int32_t> &dbOperation, vector<int32_t> &querySingleResultSet, int index) GetSingleDbOperation() argument
|
/foundation/multimedia/player_framework/services/services/avmetadatahelper/server/ |
H A D | avmetadatahelper_server.cpp | 309 int32_t AVMetadataHelperServer::GetTimeByFrameIndex(uint32_t index, uint64_t &time) in GetTimeByFrameIndex() argument 317 return avMetadataHelperEngine_->GetTimeByFrameIndex(index, timeUs); in GetTimeByFrameIndex() 325 int32_t AVMetadataHelperServer::GetFrameIndexByTime(uint64_t time, uint32_t &index) in GetFrameIndexByTime() argument 330 auto task = std::make_shared<TaskHandler<int32_t>>([&, this, &index = index] { in GetFrameIndexByTime() 333 return avMetadataHelperEngine_->GetFrameIndexByTime(time, index); in GetFrameIndexByTime()
|
/foundation/communication/netmanager_ext/frameworks/js/napi/netfirewall/src/context/ |
H A D | net_firewall_rule_parse.cpp | 149 uint32_t index = 0;
in SetIpList() local 162 NapiUtils::SetArrayElement(env, ipList, index++, element);
in SetIpList() 170 uint32_t index = 0;
in SetPortList() local 177 NapiUtils::SetArrayElement(env, portList, index++, element);
in SetPortList() 185 uint32_t index = 0;
in SetDomainList() local 192 NapiUtils::SetArrayElement(env, domenList, index++, element);
in SetDomainList()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/cloud/ |
H A D | cloud_sync_tag_assets.cpp | 116 if (type.index() == TYPE_INDEX<Assets>) { in IsDataContainField() 121 if (type.index() != TYPE_INDEX<T>) { in IsDataContainField() 243 if (GetAssetsCaseInsensitive(assetFieldName, beCoveredData).index() == TYPE_INDEX<Asset>) { in TagAsset() 246 } else if (GetAssetsCaseInsensitive(assetFieldName, beCoveredData).index() == TYPE_INDEX<Assets>) { in TagAsset() 254 if (GetAssetsCaseInsensitive(assetFieldName, beCoveredData).index() == TYPE_INDEX<Asset>) { in TagAsset() 257 } else if (GetAssetsCaseInsensitive(assetFieldName, beCoveredData).index() == TYPE_INDEX<Assets>) { in TagAsset()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/include/cloud/ |
H A D | cloud_storage_utils.h | 28 static int BindInt64(int index, const VBucket &vBucket, const Field &field, sqlite3_stmt *upsertStmt); 29 static int BindBool(int index, const VBucket &vBucket, const Field &field, sqlite3_stmt *upsertStmt); 30 static int BindDouble(int index, const VBucket &vBucket, const Field &field, sqlite3_stmt *upsertStmt); 31 static int BindText(int index, const VBucket &vBucket, const Field &field, sqlite3_stmt *upsertStmt); 32 static int BindBlob(int index, const VBucket &vBucket, const Field &field, sqlite3_stmt *upsertStmt); 33 static int BindAsset(int index, const VBucket &vBucket, const Field &field, sqlite3_stmt *upsertStmt);
|
/foundation/distributeddatamgr/data_object/frameworks/jskitsimpl/src/common/ |
H A D | js_util.cpp | 131 int index = 0; in SetValue() local 135 status = napi_set_element(env, out, index++, element); in SetValue() 252 for (uint32_t index = 0; index < count; index++) { in GetValue() 253 status = napi_get_element(env, values, index, &key); in GetValue()
|