Home
last modified time | relevance | path

Searched refs:index (Results 2076 - 2100 of 22913) sorted by relevance

1...<<81828384858687888990>>...917

/foundation/communication/dhcp/services/dhcp_client/src/
H A Ddhcp_options.cpp27 static bool CheckOptSoverloaded(const struct DhcpPacket *packet, int code, int maxLen, int *over, int *index) in CheckOptSoverloaded() argument
35 if (*index + DHCP_OPT_LEN_INDEX + pOption[*index + DHCP_OPT_LEN_INDEX] >= maxLen) { in CheckOptSoverloaded()
36 DHCP_LOGW("CheckOptSoverloaded code:%{public}d,*index:%{public}d more than max bytes:%{public}d!", in CheckOptSoverloaded()
37 code, *index, maxLen); in CheckOptSoverloaded()
40 *over = pOption[*index + DHCP_OPT_DATA_INDEX + DHCP_OPT_CODE_INDEX]; in CheckOptSoverloaded()
41 *index += pOption[DHCP_OPT_LEN_INDEX] + DHCP_OPT_CODE_BYTES + DHCP_OPT_LEN_BYTES; in CheckOptSoverloaded()
45 /* Check packet options based on the code and index. */
46 static int CheckOptionsData(const struct DhcpPacket *packet, int code, int index, int maxLen) in CheckOptionsData() argument
53 if (index > in CheckOptionsData()
[all...]
/kernel/linux/linux-5.10/sound/soc/meson/
H A Daxg-card.c104 int *index) in axg_card_add_tdm_loopback()
107 struct snd_soc_dai_link *pad = &card->dai_link[*index]; in axg_card_add_tdm_loopback()
117 lb = &card->dai_link[*index + 1]; in axg_card_add_tdm_loopback()
143 priv->link_data[*index + 1] = priv->link_data[*index]; in axg_card_add_tdm_loopback()
152 *index += 1; in axg_card_add_tdm_loopback()
249 int *index) in axg_card_parse_tdm()
252 struct snd_soc_dai_link *link = &card->dai_link[*index]; in axg_card_parse_tdm()
260 priv->link_data[*index] = be; in axg_card_parse_tdm()
281 ret = axg_card_add_tdm_loopback(card, index); in axg_card_parse_tdm()
103 axg_card_add_tdm_loopback(struct snd_soc_card *card, int *index) axg_card_add_tdm_loopback() argument
247 axg_card_parse_tdm(struct snd_soc_card *card, struct device_node *node, int *index) axg_card_parse_tdm() argument
310 axg_card_add_link(struct snd_soc_card *card, struct device_node *np, int *index) axg_card_add_link() argument
[all...]
/kernel/linux/linux-5.10/net/dsa/
H A Dswitch.c58 if (ds->index == info->sw_index) in dsa_switch_mtu_match()
94 if (dst->index == info->tree_index && ds->index == info->sw_index && in dsa_switch_bridge_join()
98 if ((dst->index != info->tree_index || ds->index != info->sw_index) && in dsa_switch_bridge_join()
114 if (dst->index == info->tree_index && ds->index == info->sw_index && in dsa_switch_bridge_leave()
118 if ((dst->index != info->tree_index || ds->index != info->sw_index) && in dsa_switch_bridge_leave()
184 if (ds->index in dsa_switch_mdb_match()
[all...]
/kernel/linux/linux-6.6/drivers/platform/x86/amd/
H A Dhsmp.c82 u32 index; in __hsmp_send_message() local
93 index = 0; in __hsmp_send_message()
95 while (index < msg->num_args) { in __hsmp_send_message()
96 ret = amd_hsmp_rdwr(root, SMN_HSMP_MSG_DATA + (index << 2), in __hsmp_send_message()
97 &msg->args[index], HSMP_WR); in __hsmp_send_message()
99 pr_err("Error %d writing message argument %d\n", ret, index); in __hsmp_send_message()
102 index++; in __hsmp_send_message()
156 index = 0; in __hsmp_send_message()
157 while (index < msg->response_sz) { in __hsmp_send_message()
158 ret = amd_hsmp_rdwr(root, SMN_HSMP_MSG_DATA + (index << in __hsmp_send_message()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7915/
H A Deeprom.c272 int index, target_power; in mt7915_eeprom_get_target_power() local
283 index = MT_EE_TX0_POWER_2G_V2 + chain_idx; in mt7915_eeprom_get_target_power()
284 target_power = eeprom[index]; in mt7915_eeprom_get_target_power()
286 index = MT_EE_TX0_POWER_2G + chain_idx * 3; in mt7915_eeprom_get_target_power()
287 target_power = eeprom[index]; in mt7915_eeprom_get_target_power()
290 target_power += eeprom[index + 1]; in mt7915_eeprom_get_target_power()
296 index = MT_EE_TX0_POWER_5G_V2 + chain_idx * 5; in mt7915_eeprom_get_target_power()
297 target_power = eeprom[index + group]; in mt7915_eeprom_get_target_power()
299 index = MT_EE_TX0_POWER_5G + chain_idx * 12; in mt7915_eeprom_get_target_power()
300 target_power = eeprom[index in mt7915_eeprom_get_target_power()
[all...]
/kernel/linux/linux-6.6/sound/soc/meson/
H A Daxg-card.c104 int *index) in axg_card_add_tdm_loopback()
107 struct snd_soc_dai_link *pad = &card->dai_link[*index]; in axg_card_add_tdm_loopback()
117 lb = &card->dai_link[*index + 1]; in axg_card_add_tdm_loopback()
141 priv->link_data[*index + 1] = priv->link_data[*index]; in axg_card_add_tdm_loopback()
150 *index += 1; in axg_card_add_tdm_loopback()
247 int *index) in axg_card_parse_tdm()
250 struct snd_soc_dai_link *link = &card->dai_link[*index]; in axg_card_parse_tdm()
258 priv->link_data[*index] = be; in axg_card_parse_tdm()
279 ret = axg_card_add_tdm_loopback(card, index); in axg_card_parse_tdm()
103 axg_card_add_tdm_loopback(struct snd_soc_card *card, int *index) axg_card_add_tdm_loopback() argument
245 axg_card_parse_tdm(struct snd_soc_card *card, struct device_node *node, int *index) axg_card_parse_tdm() argument
308 axg_card_add_link(struct snd_soc_card *card, struct device_node *np, int *index) axg_card_add_link() argument
[all...]
/kernel/liteos_m/arch/risc-v/riscv32/gcc/
H A Dlos_interrupt.c98 UINT32 index; in HalHwiInit() local
99 for (index = OS_RISCV_SYS_VECTOR_CNT; index < OS_HWI_MAX_NUM; index++) { in HalHwiInit()
100 g_hwiForm[index].pfnHook = HalHwiDefaultHandler; in HalHwiInit()
101 g_hwiForm[index].uwParam = 0; in HalHwiInit()
214 UINT32 index; in ExcBackTrace() local
219 for (index = 0; index < LOSCFG_BACKTRACE_DEPTH; index in ExcBackTrace()
[all...]
/kernel/liteos_m/arch/xtensa/lx6/gcc/
H A Dlos_interrupt.c250 INT32 index; in OsExcRegInfo() local
260 for (index = 0; index < XTENSA_LOGREG_NUM; index++) { in OsExcRegInfo()
261 PRINTK("regA%d = 0x%x\n", index, excInfo->context->regA[index]); in OsExcRegInfo()
269 UINT32 index; in OsExcBackTraceInfo() local
274 for (index = 0; index < LOSCFG_BACKTRACE_DEPTH; index in OsExcBackTraceInfo()
[all...]
/third_party/icu/icu4c/source/test/intltest/
H A Dnumbertest.h45 void runIndexedTest(int32_t index, UBool exec, const char *&name, char *par = 0) override;
107 void runIndexedTest(int32_t index, UBool exec, const char *&name, char *par = 0) override;
215 void runIndexedTest(int32_t index, UBool exec, const char *&name, char *par = 0) override;
228 void runIndexedTest(int32_t index, UBool exec, const char *&name, char *par = 0) override;
238 void runIndexedTest(int32_t index, UBool exec, const char *&name, char *par = 0) override;
256 void runIndexedTest(int32_t index, UBool exec, const char *&name, char *par = 0) override;
271 void runIndexedTest(int32_t index, UBool exec, const char *&name, char *par = 0) override;
288 void runIndexedTest(int32_t index, UBool exec, const char *&name, char *par = 0) override;
305 void runIndexedTest(int32_t index, UBool exec, const char *&name, char *par = 0) override;
332 void runIndexedTest(int32_t index, UBoo
[all...]
/third_party/node/test/node-api/test_threadsafe_function/
H A Dbinding.c41 int index; in data_source_thread() local
72 for (index = ARRAY_LENGTH - 1; index > -1 && !queue_was_closing; index--) { in data_source_thread()
73 status = napi_call_threadsafe_function(ts_fn, &ints[index], in data_source_thread()
75 if (ts_fn_info->max_queue_size == 0 && (index % 1000 == 0)) { in data_source_thread()
84 index++; in data_source_thread()
303 size_t index; in Init() local
304 for (index = 0; index < ARRAY_LENGT in Init()
[all...]
/third_party/mesa3d/src/mesa/main/
H A Dmultisample.c87 GLuint index, in get_sample_position()
97 index, outPos); in get_sample_position()
103 _mesa_GetMultisamplefv(GLenum pname, GLuint index, GLfloat * val) in _mesa_GetMultisamplefv() argument
113 if (index >= ctx->DrawBuffer->Visual.samples) { in _mesa_GetMultisamplefv()
114 _mesa_error( ctx, GL_INVALID_VALUE, "glGetMultisamplefv(index)" ); in _mesa_GetMultisamplefv()
118 get_sample_position(ctx, ctx->DrawBuffer, index, val); in _mesa_GetMultisamplefv()
133 if (index >= MAX_SAMPLE_LOCATION_TABLE_SIZE * 2) { in _mesa_GetMultisamplefv()
134 _mesa_error( ctx, GL_INVALID_VALUE, "glGetMultisamplefv(index)" ); in _mesa_GetMultisamplefv()
139 *val = ctx->DrawBuffer->SampleLocationTable[index]; in _mesa_GetMultisamplefv()
152 sample_maski(struct gl_context *ctx, GLuint index, GLbitfiel argument
85 get_sample_position(struct gl_context *ctx, struct gl_framebuffer *fb, GLuint index, GLfloat *outPos) get_sample_position() argument
163 _mesa_SampleMaski_no_error(GLuint index, GLbitfield mask) _mesa_SampleMaski_no_error() argument
170 _mesa_SampleMaski(GLuint index, GLbitfield mask) _mesa_SampleMaski() argument
[all...]
/third_party/node/deps/v8/src/compiler/
H A Dschedule.h50 static Id FromSize(size_t index) { return Id(index); } in FromSize() argument
51 static Id FromInt(int index) { return Id(static_cast<size_t>(index)); } in FromInt() argument
54 explicit Id(size_t index) : index_(index) {} in Id() argument
76 BasicBlock* PredecessorAt(size_t index) { return predecessors_[index]; } in PredecessorAt() argument
79 void RemovePredecessor(size_t index);
85 BasicBlock* SuccessorAt(size_t index) { retur in SuccessorCount() argument
93 NodeAt(size_t index) NodeAt() argument
[all...]
/third_party/rust/crates/clap/src/output/
H A Dusage.rs251 if let Some(index) = arg.get_index() {
252 let new_len = index + 1;
256 required_positionals[index] = Some(stylized);
273 let index = pos.get_index().unwrap();
274 let new_len = index + 1;
278 if required_positionals[index].is_some() {
280 let styled = required_positionals[index].take().unwrap();
284 required_positionals[index] = Some(new);
296 required_positionals[index] = Some(styled);
299 required_positionals[index]
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/
H A DesextcGeometryShaderBlitting.cpp194 for (unsigned int index = 0; index < TEXTURE_WIDTH * TEXTURE_HEIGHT * TEXTURE_TEXEL_COMPONENTS; in iterate()
195 index += TEXTURE_TEXEL_COMPONENTS) in iterate()
197 if (memcmp(&expected_result_data[index], &result_data[index], TEXTURE_TEXEL_COMPONENTS) != 0) in iterate()
199 m_testCtx.getLog() << tcu::TestLog::Message << "Rendered data [" << (int)result_data[index + 0] << ", " in iterate()
200 << (int)result_data[index + 1] << ", " << (int)result_data[index + 2] << ", " in iterate()
201 << (int)result_data[index + 3] << "] is different from reference data [" in iterate()
202 << (int)expected_result_data[index in iterate()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Device/
H A DQuadRasterizer.cpp79 for(int index = 0; index < MAX_COLOR_BUFFERS; index++)
81 if(state.colorWriteActive(index))
83 cBuffer[index] = *Pointer<Pointer<Byte>>(data + OFFSET(DrawData, colorBuffer[index])) + yMin * *Pointer<Int>(data + OFFSET(DrawData, colorPitchB[index]));
210 for(int index = 0; index < MAX_COLOR_BUFFERS; index
[all...]
/third_party/typescript/tests/baselines/reference/tsbuild/sample1/
H A DlistFiles.js21 //// [/src/core/index.ts]
41 //// [/src/logic/index.ts]
42 import * as c from '../core/index';
65 //// [/src/tests/index.ts]
66 import * as c from '../core/index';
67 import * as logic from '../logic/index';
82 "files": ["index.ts"],
91 //// [/src/ui/index.ts]
105 { "path": "../logic/index" }
116 /src/core/index
[all...]
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/src/appmgr/
H A Dapp_debug_listener_stub.cpp63 for (int32_t index = 0; index < infoSize; index++) { in HandleOnAppDebugStarted()
85 for (int32_t index = 0; index < infoSize; index++) { in HandleOnAppDebugStoped()
/foundation/ability/idl_tool/idl_tool_2/ast/
H A Dast_union_type.h66 inline std::string GetMemberName(size_t index) in GetMemberName() argument
68 if (index >= members_.size()) { in GetMemberName()
71 return std::get<0>(members_[index]); in GetMemberName()
74 inline AutoPtr<ASTType> GetMemberType(size_t index) in GetMemberType() argument
76 if (index >= members_.size()) { in GetMemberType()
79 return std::get<1>(members_[index]); in GetMemberType()
H A Dast_struct_type.h73 inline std::string GetMemberName(size_t index) in GetMemberName() argument
75 if (index >= members_.size()) { in GetMemberName()
78 return std::get<0>(members_[index]); in GetMemberName()
81 inline AutoPtr<ASTType> GetMemberType(size_t index) in GetMemberType() argument
83 if (index >= members_.size()) { in GetMemberType()
86 return std::get<1>(members_[index]); in GetMemberType()
/foundation/arkui/ace_engine/frameworks/core/components/grid/
H A Dgrid_controller.cpp42 void GridController::JumpTo(int32_t index) in JumpTo() argument
46 LOGW("RenderGrid is null. JumpTo %{public}d failed.", index); in JumpTo()
49 grid->JumpTo(index); in JumpTo()
52 void GridController::AnimateTo(int32_t index, float duration, const RefPtr<Curve>& curve) in AnimateTo() argument
56 LOGW("RenderGrid is null. AnimateTo %{public}d failed.", index); in AnimateTo()
59 grid->AnimateTo(index, duration, curve); in AnimateTo()
/foundation/arkui/ace_engine/frameworks/core/components/picker/
H A Dpicker_column_component.cpp49 LOGE("current index[%{private}u] is out of range[0~%{private}u).", GetCurrentIndex(), GetOptionCount()); in Initialize()
60 for (uint32_t index = 0; index < showCount; index++) { in Initialize()
62 option->SetSelected((index == selectedIndex)); in Initialize()
67 (index == 0 || index == showCount - 1))); in Initialize()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/
H A Dlist_position_controller.cpp22 Rect ListPositionController::GetItemRectInGroup(int32_t index, int32_t indexInGroup) const in GetItemRectInGroup() argument
26 auto pxRect = listPattern->GetItemRectInGroup(index, indexInGroup); in GetItemRectInGroup()
40 itemGroupIndex.index = itemIndex.index; in GetItemIndexInGroup()
46 void ListPositionController::JumpToItemInGroup(int32_t index, int32_t indexInGroup, bool smooth, in JumpToItemInGroup() argument
56 listPattern->ScrollToItemInGroup(index, indexInGroup, smooth, align); in JumpToItemInGroup()
/foundation/arkui/ace_engine/frameworks/core/components_v2/list/
H A Dlist_item_group_element.cpp42 RefPtr<RenderListItem> ListItemGroupElement::RequestListItem(size_t index) in RequestListItem() argument
44 auto element = GetElementByIndex(index); in RequestListItem()
58 RefPtr<Element> ListItemGroupElement::GetListItemBySlot(size_t index) in GetListItemBySlot() argument
60 auto listItemElement = GetElementByIndex(index); in GetListItemBySlot()
64 void ListItemGroupElement::RecycleListItem(size_t index) in RecycleListItem() argument
66 ReleaseElementByIndex(index); in RecycleListItem()
H A Dlist_element.h41 size_t FindItemStartIndex(size_t index) override;
42 RefPtr<RenderListItem> RequestListItem(size_t index) override;
43 RefPtr<Element> GetListItemBySlot(size_t index);
44 void RecycleListItem(size_t index) override;
46 size_t FindPreviousStickyListItem(size_t index) override;
63 size_t FindItemStartIndex(size_t startIndex, size_t index);
/foundation/multimedia/av_codec/interfaces/kits/c/
H A Dnative_avcodec_videoencoder.h34 * @param index The index corresponding to the new OH_AVFormat instance
39 typedef void (*OH_VideoEncoder_OnNeedInputParameter)(OH_AVCodec *codec, uint32_t index, OH_AVFormat *parameter,
297 * @param index The index value corresponding to the output Buffer
302 * Buffer index should be given by {@link OH_AVCodecOnNewOutputData}.
311 OH_AVErrCode OH_VideoEncoder_FreeOutputData(OH_AVCodec *codec, uint32_t index);
334 * @param index Enter the index value corresponding to the Buffer
340 * Buffer index shoul
[all...]

Completed in 20 milliseconds

1...<<81828384858687888990>>...917