Home
last modified time | relevance | path

Searched refs:index (Results 2676 - 2700 of 25001) sorted by relevance

1...<<101102103104105106107108109110>>...1001

/base/security/device_auth/services/legacy/group_manager/src/callback_manager/
H A Dcallback_manager.c40 uint32_t index; in UpdateCallbackIfExist() local
43 FOR_EACH_HC_VECTOR(g_callbackVec, index, entry) { in UpdateCallbackIfExist()
177 uint32_t index; in GetGMCallbackByAppId() local
180 FOR_EACH_HC_VECTOR(g_callbackVec, index, entry) { in GetGMCallbackByAppId()
210 uint32_t index; in UnRegGroupManagerCallback() local
213 FOR_EACH_HC_VECTOR(g_callbackVec, index, entry) { in UnRegGroupManagerCallback()
218 HC_VECTOR_POPELEMENT(&g_callbackVec, &tempEntry, index); in UnRegGroupManagerCallback()
250 uint32_t index; in DestroyCallbackManager() local
253 FOR_EACH_HC_VECTOR(g_callbackVec, index, entry) { in DestroyCallbackManager()
/base/tee/tee_client/services/tlogcat/src/
H A Dtarzip.c86 char *index = (char *)header; in WriteHeader() local
97 sumAppend += WriteOneUint(j, nameLen, fileName, index); in WriteHeader()
100 sumAppend += WriteOneUint(j, FILE_MODE_LEN, FILE_MODE, index); in WriteHeader()
103 sumAppend += WriteOneUint(j, (UID_LEN + GID_LEN), ID_BYTE, index); in WriteHeader()
112 sumAppend += WriteOneUint(j, FILE_SIZE, buf, index); in WriteHeader()
122 index[j + i] = buf[i]; in WriteHeader()
204 static bool JudgeFileValidite(const char *index, struct stat *fileAttr) in JudgeFileValidite() argument
206 if (index == NULL) { in JudgeFileValidite()
210 if (lstat(index, fileAttr) < 0) { in JudgeFileValidite()
/base/telephony/ril_adapter/test/unittest/ril_adapter_gtest/
H A Dril_adapter_service_test.cpp55 int32_t index = 0; in HWTEST_F() local
59 EXPECT_EQ(base.ConvertHexStringToInt(response, index, len), HRIL_ERR_GENERIC_FAILURE); in HWTEST_F()
91 int32_t index = 0; in HWTEST_F() local
94 EXPECT_NE(hRilSms.DelSimMessage(serialId, index), HRIL_ERR_INVALID_PARAMETER); in HWTEST_F()
131 int32_t index = 0; in HWTEST_F() local
134 EXPECT_NE(hRilSms.DelCdmaSimMessage(serialId, index), HRIL_ERR_INVALID_PARAMETER); in HWTEST_F()
191 int32_t index = 0; in HWTEST_F() local
192 hRilEvent.ProcessEvents(nullptr, index); in HWTEST_F()
193 EXPECT_EQ(index, 0); in HWTEST_F()
/foundation/CastEngine/castengine_wifi_display/services/codec/src/
H A Dvideo_source_encoder.cpp43 uint32_t index, std::shared_ptr<MediaAVCodec::AVSharedMemory> buffer) in OnInputBufferAvailable()
47 parent->OnInputBufferAvailable(index, buffer); in OnInputBufferAvailable()
52 uint32_t index, MediaAVCodec::AVCodecBufferInfo info, MediaAVCodec::AVCodecBufferFlag flag, in OnOutputBufferAvailable()
57 parent->OnOutputBufferAvailable(index, info, flag, buffer); in OnOutputBufferAvailable()
224 void VideoSourceEncoder::OnOutputBufferAvailable(uint32_t index, MediaAVCodec::AVCodecBufferInfo info, in OnOutputBufferAvailable() argument
228 SHARING_LOGD("index: %{public}u, size:%{public}u, pts: %{public}" PRIi64 ".", index, info.size, in OnOutputBufferAvailable()
279 if (videoEncoder_->ReleaseOutputBuffer(index) != MediaAVCodec::AVCodecServiceErrCode::AVCS_ERR_OK) { in OnOutputBufferAvailable()
284 void VideoSourceEncoder::OnInputBufferAvailable(uint32_t index, std::shared_ptr<MediaAVCodec::AVSharedMemory> buffer) in OnInputBufferAvailable() argument
286 SHARING_LOGI("index in OnInputBufferAvailable()
42 OnInputBufferAvailable( uint32_t index, std::shared_ptr<MediaAVCodec::AVSharedMemory> buffer) OnInputBufferAvailable() argument
51 OnOutputBufferAvailable( uint32_t index, MediaAVCodec::AVCodecBufferInfo info, MediaAVCodec::AVCodecBufferFlag flag, std::shared_ptr<MediaAVCodec::AVSharedMemory> buffer) OnOutputBufferAvailable() argument
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/linear_indicator/
H A Dlinear_indicator_controller.h147 void SetIndex(int32_t index) in SetIndex() argument
149 index_ = index; in SetIndex()
152 void SetIndexAndValue(int32_t index, float value) in SetIndexAndValue() argument
154 SetIndex(index); in SetIndexAndValue()
233 void SetProgress(int32_t index, float value);
238 void OnChange(std::function<void(int32_t index, float progress)>&& callback) in OnChange() argument
284 RefPtr<FrameNode> GetProgressNode(int32_t index) const;
285 bool SetProgressComponentValue(int32_t index, float value);
305 std::function<void(int32_t index, float progress)> changeCallback_;
/foundation/arkui/ace_engine/frameworks/base/geometry/
H A Dmatrix4.h81 double operator[](int32_t index) const;
143 // Make sure that the value of index is less than 4.
144 inline std::vector<double>& operator[](int32_t index) in operator []() argument
146 return matrix4n_[index]; in operator []()
149 // Make sure that the value of index is less than 4.
150 inline const std::vector<double>& operator[](int32_t index) const in operator []()
152 return matrix4n_[index]; in operator []()
197 // Make sure that the value of index is less than rows.
198 inline std::vector<double>& operator[](int32_t index) in operator []() argument
200 return matrixn4_[index]; in operator []()
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/functions/
H A Djs_swiper_function.cpp27 "index", &JsSwiperContentTransitionProxy::GetIndex, &JsSwiperContentTransitionProxy::SetIndex); in JSBind()
56 TAG_LOGD(AceLogTag::ACE_SWIPER, "SwiperContentTransitionProxy can not support set index value."); in SetIndex()
61 auto index = 0; in GetIndex() local
63 index = proxy_->GetIndex(); in GetIndex()
65 auto fromRef = JSRef<JSVal>::Make(JSVal(ToJSValue(index))); in GetIndex()
125 void JsSwiperFunction::Execute(int32_t index, int32_t targetIndex, const AnimationCallbackInfo& animationCallbackInfo) in Execute() argument
138 params[0] = JSRef<JSVal>::Make(ToJSValue(index)); in Execute()
144 void JsSwiperFunction::Execute(int32_t index, const AnimationCallbackInfo& animationCallbackInfo) in Execute() argument
157 params[0] = JSRef<JSVal>::Make(ToJSValue(index)); in Execute()
184 void JsSwiperFunction::Execute(int32_t selectedIndex, int32_t index, floa argument
[all...]
/foundation/arkui/ace_engine/frameworks/base/utils/
H A Dutf.cpp151 size_t EncodeUTF8(uint32_t codePoint, uint8_t* utf8, size_t len, size_t index) in EncodeUTF8() argument
154 if (index + size > len) { in EncodeUTF8()
159 utf8[index + j] = cont; in EncodeUTF8()
162 utf8[index] = codePoint | FIRST_BYTE_MARK[size]; in EncodeUTF8()
166 uint32_t HandleAndDecodeInvalidUTF16(uint16_t const* utf16, size_t len, size_t* index) in HandleAndDecodeInvalidUTF16() argument
168 uint16_t first = utf16[*index]; in HandleAndDecodeInvalidUTF16()
174 if (*index == len - 1) { in HandleAndDecodeInvalidUTF16()
178 uint16_t second = utf16[*index + 1]; in HandleAndDecodeInvalidUTF16()
184 (*index)++; in HandleAndDecodeInvalidUTF16()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/dot_indicator/
H A Ddot_indicator_paint_method.h54 const LinearVector<float>& itemHalfSizes, float margin, float padding, float space, int32_t index);
60 void SetCurrentIndex(int32_t index) in SetCurrentIndex() argument
62 currentIndex_ = index; in SetCurrentIndex()
182 const LinearVector<float>& itemHalfSizes, float startCenterX, float endCenterX, float space, int32_t index);
184 const LinearVector<float>& itemHalfSizes, float startCenterX, float endCenterX, float space, int32_t index);
194 std::pair<int32_t, int32_t> GetStartAndEndIndex(int32_t index);
200 float selectedItemWidth, int32_t index);
201 std::pair<int32_t, int32_t> GetIndex(int32_t index);
202 std::pair<int32_t, int32_t> GetIndexOnRTL(int32_t index);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_input_response_area.h37 virtual SizeF Measure(LayoutWrapper* layoutWrapper, int32_t index) = 0;
39 virtual void Layout(LayoutWrapper* layoutWrapper, int32_t index, float& nodeWidth) = 0;
58 void LayoutChild(LayoutWrapper* layoutWrapper, int32_t index, float& nodeWidth);
76 SizeF Measure(LayoutWrapper* layoutWrapper, int32_t index) override;
78 void Layout(LayoutWrapper* layoutWrapper, int32_t index, float& nodeWidth) override;
150 SizeF Measure(LayoutWrapper* layoutWrapper, int32_t index) override;
152 void Layout(LayoutWrapper* layoutWrapper, int32_t index, float& nodeWidth) override;
181 SizeF Measure(LayoutWrapper* layoutWrapper, int32_t index) override;
183 void Layout(LayoutWrapper* layoutWrapper, int32_t index, float& nodeWidth) override;
/foundation/bundlemanager/app_domain_verify/interfaces/inner_api/common/src/
H A Dbundle_verify_status_info.cpp58 for (uint32_t index = 0; index < size; ++index) { in ReadFromParcel()
125 for (uint32_t index = 0; index < size; ++index) { in ReadHostVerifyStatusMap()
160 for (uint32_t index = 0; index < size; ++index) { in ReadFromParcel()
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_axis.cpp105 uint16_t index = 1; in DrawAxisMark() local
106 while (index <= markDataCount_) { in DrawAxisMark()
108 start.x = start_.x + static_cast<int16_t>(index * markInterval_); in DrawAxisMark()
114 index++; in DrawAxisMark()
185 uint16_t index = 1; in DrawAxisMark() local
186 while (index <= markDataCount_) { in DrawAxisMark()
190 start.y = enableReverse_ ? (start_.y + static_cast<int16_t>(index * markInterval_)) in DrawAxisMark()
191 : (start_.y - static_cast<int16_t>(index * markInterval_)); in DrawAxisMark()
197 index++; in DrawAxisMark()
/foundation/arkui/ui_lite/interfaces/kits/common/
H A Dspannable_string.h80 bool GetSpannable(uint16_t index);
82 bool GetTextStyle(uint16_t index, TextStyle& textStyle);
84 bool GetFontSize(uint16_t index, uint8_t& outputSize);
86 bool GetFontId(uint16_t index, uint16_t& outputFontId);
87 bool GetFontHeight(uint16_t index, int16_t& outputHeight, uint16_t& defaultFontId, uint8_t defaultFontSize);
90 bool GetBackgroundColor(uint16_t index, ColorType& outputBackgroundColor);
92 bool GetForegroundColor(uint16_t index, ColorType& outputForegroundColor);
94 bool GetLineBackgroundColor(uint16_t index, ColorType& outputLineBackgroundColor);
116 bool ExpandSpannableLen(uint16_t index);
/foundation/multimedia/image_framework/plugins/common/libs/image/libheifplugin/src/
H A Dheif_decoder.cpp48 uint32_t HeifDecoder::SetDecodeOptions(uint32_t index, const PixelDecodeOptions &opts, PlImageInfo &info) in SetDecodeOptions() argument
50 uint32_t ret = GetImageSize(index, info.size); in SetDecodeOptions()
76 uint32_t HeifDecoder::Decode(uint32_t index, DecodeContext &context) in Decode() argument
83 if (index >= HEIF_IMAGE_NUM) { in Decode()
84 IMAGE_LOGE("decode image out of range, index:%{public}u, range:%{public}d.", index, HEIF_IMAGE_NUM); in Decode()
95 uint32_t HeifDecoder::GetImageSize(uint32_t index, Size &size) in GetImageSize() argument
97 if (index >= HEIF_IMAGE_NUM) { in GetImageSize()
98 IMAGE_LOGE("decode image out of range, index:%{public}u, range:%{public}d.", index, HEIF_IMAGE_NU in GetImageSize()
116 PromoteIncrementalDecode(uint32_t index, ProgDecodeContext &context) PromoteIncrementalDecode() argument
[all...]
/foundation/multimedia/image_framework/plugins/manager/include/image/
H A Dabs_image_decoder.h147 virtual uint32_t SetDecodeOptions(uint32_t index, const PixelDecodeOptions &opts, PlImageInfo &info) = 0;
150 virtual uint32_t Decode(uint32_t index, DecodeContext &context) = 0;
153 virtual uint32_t PromoteIncrementalDecode(uint32_t index, ProgDecodeContext &context) = 0;
163 virtual uint32_t GetImageSize(uint32_t index, OHOS::Media::Size &size) = 0;
166 virtual uint32_t GetImagePropertyInt(uint32_t index, const std::string &key, int32_t &value) in GetImagePropertyInt() argument
172 virtual uint32_t GetImagePropertyString(uint32_t index, const std::string &key, std::string &value) in GetImagePropertyString() argument
178 virtual uint32_t ModifyImageProperty(uint32_t index, const std::string &key, in ModifyImageProperty() argument
184 virtual uint32_t ModifyImageProperty(uint32_t index, const std::string &key, in ModifyImageProperty() argument
190 virtual uint32_t ModifyImageProperty(uint32_t index, const std::string &key, in ModifyImageProperty() argument
/kernel/linux/linux-5.10/drivers/clk/tegra/
H A Dclk-tegra20-emc.c72 static int emc_set_parent(struct clk_hw *hw, u8 index) in emc_set_parent() argument
79 val |= index << CLK_SOURCE_EMC_2X_CLK_SRC_SHIFT; in emc_set_parent()
83 if (index == EMC_SRC_PLL_M && div == 0 && emc->want_low_jitter) in emc_set_parent()
104 unsigned int index; in emc_set_rate() local
113 index = val >> CLK_SOURCE_EMC_2X_CLK_SRC_SHIFT; in emc_set_rate()
115 if (index == EMC_SRC_PLL_M && div == 0 && emc->want_low_jitter) in emc_set_rate()
135 u8 index) in emc_set_rate_and_parent()
145 val |= index << CLK_SOURCE_EMC_2X_CLK_SRC_SHIFT; in emc_set_rate_and_parent()
150 if (index == EMC_SRC_PLL_M && div == 0 && emc->want_low_jitter) in emc_set_rate_and_parent()
132 emc_set_rate_and_parent(struct clk_hw *hw, unsigned long rate, unsigned long parent_rate, u8 index) emc_set_rate_and_parent() argument
/kernel/linux/linux-5.10/arch/arm/mach-omap2/
H A Dcm_common.c236 .index = TI_CLKM_CM,
241 .index = TI_CLKM_CM2,
248 .index = TI_CLKM_CM,
256 .index = TI_CLKM_CM,
270 .index = TI_CLKM_CM,
278 .index = TI_CLKM_CM,
339 if (data->index == TI_CLKM_CM) in omap2_cm_base_init()
342 if (data->index == TI_CLKM_CM2) in omap2_cm_base_init()
382 ret = omap2_clk_provider_init(np, data->index, NULL, data->mem); in omap_cm_init()
H A Dcpuidle34xx.c105 * @index: the index of state to be entered
109 int index) in omap3_enter_idle()
111 struct omap3_idle_statedata *cx = &omap3_idle_data[index]; in omap3_enter_idle()
153 return index; in omap3_enter_idle()
160 * @index: Index of currently selected c-state
162 * If the state corresponding to index is valid, index is returned back
164 * still valid (as defined in omap3_power_states[]) and returns its index.
170 struct cpuidle_driver *drv, int index) in next_valid_state()
107 omap3_enter_idle(struct cpuidle_device *dev, struct cpuidle_driver *drv, int index) omap3_enter_idle() argument
169 next_valid_state(struct cpuidle_device *dev, struct cpuidle_driver *drv, int index) next_valid_state() argument
219 omap3_enter_idle_bm(struct cpuidle_device *dev, struct cpuidle_driver *drv, int index) omap3_enter_idle_bm() argument
[all...]
/kernel/linux/linux-5.10/drivers/char/hw_random/
H A Dvirtio-rng.c23 int index; member
131 int err, index; in probe_common() local
138 vi->index = index = ida_simple_get(&rng_index_ida, 0, 0, GFP_KERNEL); in probe_common()
139 if (index < 0) { in probe_common()
140 err = index; in probe_common()
143 sprintf(vi->name, "virtio_rng.%d", index); in probe_common()
168 ida_simple_remove(&rng_index_ida, index); in probe_common()
186 ida_simple_remove(&rng_index_ida, vi->index); in remove_common()
/kernel/linux/linux-6.6/arch/arm/mach-omap2/
H A Dcm_common.c223 .index = TI_CLKM_CM,
228 .index = TI_CLKM_CM2,
235 .index = TI_CLKM_CM,
243 .index = TI_CLKM_CM,
257 .index = TI_CLKM_CM,
265 .index = TI_CLKM_CM,
328 if (data->index == TI_CLKM_CM) in omap2_cm_base_init()
331 if (data->index == TI_CLKM_CM2) in omap2_cm_base_init()
371 ret = omap2_clk_provider_init(np, data->index, NULL, data->mem); in omap_cm_init()
H A Dcpuidle34xx.c105 * @index: the index of state to be entered
109 int index) in omap3_enter_idle()
111 struct omap3_idle_statedata *cx = &omap3_idle_data[index]; in omap3_enter_idle()
153 return index; in omap3_enter_idle()
160 * @index: Index of currently selected c-state
162 * If the state corresponding to index is valid, index is returned back
164 * still valid (as defined in omap3_power_states[]) and returns its index.
170 struct cpuidle_driver *drv, int index) in next_valid_state()
107 omap3_enter_idle(struct cpuidle_device *dev, struct cpuidle_driver *drv, int index) omap3_enter_idle() argument
169 next_valid_state(struct cpuidle_device *dev, struct cpuidle_driver *drv, int index) next_valid_state() argument
219 omap3_enter_idle_bm(struct cpuidle_device *dev, struct cpuidle_driver *drv, int index) omap3_enter_idle_bm() argument
[all...]
/kernel/linux/linux-5.10/drivers/input/serio/
H A Darc_ps2.c126 int index, bool status) in arc_ps2_calc_addr()
130 addr = arc_ps2->addr + 4 + 4 * index; in arc_ps2_calc_addr()
153 int index) in arc_ps2_create_port()
155 struct arc_ps2_port *port = &arc_ps2->port[index]; in arc_ps2_create_port()
166 snprintf(io->name, sizeof(io->name), "ARC PS/2 port%d", index); in arc_ps2_create_port()
167 snprintf(io->phys, sizeof(io->phys), "arc/serio%d", index); in arc_ps2_create_port()
172 port->data_addr = arc_ps2_calc_addr(arc_ps2, index, false); in arc_ps2_create_port()
173 port->status_addr = arc_ps2_calc_addr(arc_ps2, index, true); in arc_ps2_create_port()
176 index, port->data_addr, port->status_addr); in arc_ps2_create_port()
125 arc_ps2_calc_addr(struct arc_ps2_data *arc_ps2, int index, bool status) arc_ps2_calc_addr() argument
151 arc_ps2_create_port(struct platform_device *pdev, struct arc_ps2_data *arc_ps2, int index) arc_ps2_create_port() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/
H A Denetc_cbdr.c77 int enetc_clear_mac_flt_entry(struct enetc_si *si, int index) in enetc_clear_mac_flt_entry() argument
85 cbd.index = cpu_to_le16(index); in enetc_clear_mac_flt_entry()
90 int enetc_set_mac_flt_entry(struct enetc_si *si, int index, in enetc_set_mac_flt_entry() argument
102 cbd.index = cpu_to_le16(index); in enetc_set_mac_flt_entry()
118 int index) in enetc_set_fs_entry()
128 cbd.index = cpu_to_le16(index); in enetc_set_fs_entry()
117 enetc_set_fs_entry(struct enetc_si *si, struct enetc_cmd_rfse *rfse, int index) enetc_set_fs_entry() argument
/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/
H A Dvnic_rq.c46 buf->index = i * VNIC_RQ_BUF_BLK_ENTRIES(count) + j; in vnic_rq_alloc_bufs()
48 rq->ring.desc_size * buf->index; in vnic_rq_alloc_bufs()
49 if (buf->index + 1 == count) { in vnic_rq_alloc_bufs()
85 int vnic_rq_alloc(struct vnic_dev *vdev, struct vnic_rq *rq, unsigned int index, in vnic_rq_alloc() argument
90 rq->index = index; in vnic_rq_alloc()
93 rq->ctrl = vnic_dev_get_res(vdev, RES_TYPE_RQ, index); in vnic_rq_alloc()
95 vdev_err(vdev, "Failed to hook RQ[%d] resource\n", index); in vnic_rq_alloc()
175 rq->index); in vnic_rq_disable()
/kernel/linux/linux-5.10/drivers/soc/amlogic/
H A Dmeson-secure-pwrc.c22 unsigned int index; member
33 unsigned int index; member
49 pwrc_domain->index, 0, 0, 0, 0) < 0) in pwrc_secure_is_off()
62 pwrc_domain->index, PWRC_OFF, 0, 0, 0) < 0) { in meson_secure_pwrc_off()
77 pwrc_domain->index, PWRC_ON, 0, 0, 0) < 0) { in meson_secure_pwrc_on()
89 .index = PWRC_##__name##_ID, \
168 if (!match->domains[i].index) in meson_secure_pwrc_probe()
172 dom->index = match->domains[i].index; in meson_secure_pwrc_probe()

Completed in 19 milliseconds

1...<<101102103104105106107108109110>>...1001