/foundation/arkui/ace_engine/interfaces/napi/kits/promptaction/ |
H A D | prompt_action.cpp | 688 for (int32_t index = 0; index < buttonsLenInt; index++) { in GetPrimaryButtonNum() 689 napi_get_element(env, context->buttonsNApi, index, &buttonArray); in GetPrimaryButtonNum() 712 for (int32_t index = 0; index < buttonsLenInt; index++) { in ParseButtons() 713 napi_get_element(env, context->buttonsNApi, index, &buttonArray); in ParseButtons() 1205 void GetNapiNamedProperties(napi_env env, napi_value* argv, size_t index, in GetNapiNamedProperties() argument 1210 if (index in GetNapiNamedProperties() [all...] |
/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/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...] |
/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...] |
/base/hiviewdfx/hiview/base/utility/ |
H A D | file_util.cpp | 167 string::size_type index = 0; in ForceCreateDirectory() local 169 index = path.find('/', index + 1); in ForceCreateDirectory() 170 string subPath = (index == string::npos) ? path : path.substr(0, index); in ForceCreateDirectory() 176 } while (index != string::npos); in ForceCreateDirectory()
|
/base/global/i18n_lite/tools/i18n-dat-tool/src/main/java/ohos/global/i18n/ |
H A D | DataFetcher.java | 194 int index = entry.getValue(); in buildLocaleConfigs() 195 Fetcher currentFetcher = FETCHERS.get(index); in buildLocaleConfigs() 197 LOCALE_CONFIGS.put(index, temp); in buildLocaleConfigs() 280 private static void writeData(String fileName, int index) { in writeData() argument 284 String data = fetcher.datas.get(index); in writeData() 285 if (data.length() == 0 || !fetcher.getIncluded() || fetcher.reservedGet(index) == 0) { in writeData() 310 int start = 4; // 4 is unit start index in getMeasureDataUnit() 331 // 22 is measure data index in writeMeasureData() 338 languageJson.put("unit_num", values[0]); // 0 is unit num index in measure data in writeMeasureData() 339 languageJson.put("unit_set", values[1]); // 1 is unit set index i in writeMeasureData() [all...] |
/base/security/access_token/interfaces/innerkits/analysis_model/src/ |
H A D | code_signature_analysis_kit.c | 372 uint32_t index = 0; in GetResult() local 374 if (index == g_riskAppCount) { in GetResult() 378 SetResultInfoAccordingToNode(&(data[index]), node); in GetResult() 379 index++; in GetResult() 383 int32_t ret = memcpy_s(result, *resultLen, data, sizeof(NotifyRiskResultInfo) * index); in GetResult() 388 *resultLen = sizeof(NotifyRiskResultInfo) * index; in GetResult()
|
/base/startup/init/services/init/standard/ |
H A D | init_cmds.c | 145 int index = 0;
in DoInsmod() local 148 if (ctx->argc > index) {
in DoInsmod() 149 fileName = ctx->argv[index];
in DoInsmod() 150 index++;
in DoInsmod() 158 index++;
in DoInsmod() 160 char *options = BuildStringFromCmdArg(ctx, index); // [options]
in DoInsmod()
|
/base/telephony/cellular_call/test/fuzztest/getcallrestriction_fuzzer/ |
H A D | getcallrestriction_fuzzer.cpp | 244 int32_t index = static_cast<int32_t>(size); in Dial() local 256 callInfo.index = index; in Dial() 295 int32_t index = static_cast<int32_t>(size); in KickOutFromConference() local 307 callInfo.index = index; in KickOutFromConference()
|
/base/telephony/cellular_call/test/fuzztest/setimsfeaturevalue_fuzzer/ |
H A D | setimsfeaturevalue_fuzzer.cpp | 238 int32_t index = static_cast<int32_t>(size); in Reject() local 250 callInfo.index = index; in Reject() 274 int32_t index = static_cast<int32_t>(size); in HangUp() local 286 callInfo.index = index; in HangUp()
|
/base/telephony/core_service/services/sim/src/ |
H A D | icc_dialling_numbers_manager.cpp | 182 int index = diallingNumber->GetIndex(); in UpdateIccDiallingNumbers() local 183 TELEPHONY_LOGI("UpdateIccDiallingNumbers start: %{public}d %{public}d", type, index); in UpdateIccDiallingNumbers() 187 diallingNumbersCache_->UpdateDiallingNumberToIcc(fileId, diallingNumber, index, false, response); in UpdateIccDiallingNumbers() 211 int index = diallingNumber->GetIndex(); in DelIccDiallingNumbers() local 212 TELEPHONY_LOGI("DelIccDiallingNumbers start: %{public}d %{public}d", type, index); in DelIccDiallingNumbers() 216 diallingNumbersCache_->UpdateDiallingNumberToIcc(fileId, diallingNumber, index, true, response); in DelIccDiallingNumbers()
|
/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()
|