Home
last modified time | relevance | path

Searched refs:index (Results 2201 - 2225 of 22913) sorted by relevance

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

/kernel/linux/linux-6.6/drivers/acpi/acpica/
H A Drscreate.c188 u32 index; in acpi_rs_create_pci_routing_table() local
227 for (index = 0; index < number_of_elements; index++) { in acpi_rs_create_pci_routing_table()
250 index, (*top_object_list)->package.count)); in acpi_rs_create_pci_routing_table()
267 index, in acpi_rs_create_pci_routing_table()
280 index, in acpi_rs_create_pci_routing_table()
300 index, in acpi_rs_create_pci_routing_table()
351 index, in acpi_rs_create_pci_routing_table()
369 index, in acpi_rs_create_pci_routing_table()
[all...]
/kernel/linux/linux-6.6/drivers/crypto/intel/qat/qat_common/
H A Dadf_gen2_hw_data.h87 #define READ_CSR_AE2FUNCTION_MAP_A(pmisc_bar_addr, index) \
89 AE2FUNCTION_MAP_REG_SIZE * (index))
90 #define WRITE_CSR_AE2FUNCTION_MAP_A(pmisc_bar_addr, index, value) \
92 AE2FUNCTION_MAP_REG_SIZE * (index), value)
93 #define READ_CSR_AE2FUNCTION_MAP_B(pmisc_bar_addr, index) \
95 AE2FUNCTION_MAP_REG_SIZE * (index))
96 #define WRITE_CSR_AE2FUNCTION_MAP_B(pmisc_bar_addr, index, value) \
98 AE2FUNCTION_MAP_REG_SIZE * (index), value)
112 #define WRITE_CSR_RING_SRV_ARB_EN(csr_addr, index, value) \
114 (ADF_ARB_REG_SLOT * (index)), valu
[all...]
/kernel/linux/linux-6.6/drivers/net/wwan/iosm/
H A Diosm_ipc_protocol.c17 int index = ipc_protocol_msg_prep(ipc_protocol->imem, msg_type, in ipc_protocol_tq_msg_send() local
23 if (index >= 0 && index < IPC_MEM_MSG_ENTRIES) { in ipc_protocol_tq_msg_send()
24 ipc_protocol->rsp_ring[index] = response; in ipc_protocol_tq_msg_send()
28 return index; in ipc_protocol_tq_msg_send()
62 int index; in ipc_protocol_msg_send() local
80 * A positive index returned form tasklet_call references the message in ipc_protocol_msg_send()
83 index = ipc_task_queue_send_task(ipc_protocol->imem, in ipc_protocol_msg_send()
87 if (index < 0) { in ipc_protocol_msg_send()
89 return index; in ipc_protocol_msg_send()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/core/
H A Devent.c26 nvkm_event_put(struct nvkm_event *event, u32 types, int index) in nvkm_event_put() argument
30 nvkm_trace(event->subdev, "event: decr %08x on %d\n", types, index); in nvkm_event_put()
34 if (--event->refs[index * event->types_nr + type] == 0) { in nvkm_event_put()
35 nvkm_trace(event->subdev, "event: blocking %d on %d\n", type, index); in nvkm_event_put()
37 event->func->fini(event, 1 << type, index); in nvkm_event_put()
43 nvkm_event_get(struct nvkm_event *event, u32 types, int index) in nvkm_event_get() argument
47 nvkm_trace(event->subdev, "event: incr %08x on %d\n", types, index); in nvkm_event_get()
51 if (++event->refs[index * event->types_nr + type] == 1) { in nvkm_event_get()
52 nvkm_trace(event->subdev, "event: allowing %d on %d\n", type, index); in nvkm_event_get()
54 event->func->init(event, 1 << type, index); in nvkm_event_get()
[all...]
/third_party/icu/icu4c/source/common/
H A Duvector.h37 * There is index bounds checking, but little is done about it. If
72 * <p>Improve the handling of index out of bounds errors.
150 void setElementAt(void* obj, int32_t index);
152 void setElementAt(int32_t elem, int32_t index);
154 void insertElementAt(void* obj, int32_t index, UErrorCode &status);
156 void insertElementAt(int32_t elem, int32_t index, UErrorCode &status);
158 void* elementAt(int32_t index) const;
160 int32_t elementAti(int32_t index) const;
184 void removeElementAt(int32_t index);
218 inline void* operator[](int32_t index) cons
[all...]
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
H A Dsfn_ra.cpp115 auto& adjecency = interference.row(start_comp, group.channels[comp]->index()); in group_allocation()
138 auto& adjecencies = interference.row(comp, group.channels[comp]->index()); in group_allocation()
167 auto& vreg_cmp = vregs[reg->index()]; in group_allocation()
197 auto& adjecency = interference.row(comp, r.m_register->index()); in scalar_allocation()
247 * definite register index, and array values are allocated in register_allocation()
259 assert(comp[entry.m_register->index()].m_register->index() == entry.m_register->index()); in register_allocation()
264 assert(comp[group.channels[i]->index()].m_register->index() in register_allocation()
[all...]
/third_party/node/deps/icu-small/source/common/
H A Duvector.h37 * There is index bounds checking, but little is done about it. If
72 * <p>Improve the handling of index out of bounds errors.
150 void setElementAt(void* obj, int32_t index);
152 void setElementAt(int32_t elem, int32_t index);
154 void insertElementAt(void* obj, int32_t index, UErrorCode &status);
156 void insertElementAt(int32_t elem, int32_t index, UErrorCode &status);
158 void* elementAt(int32_t index) const;
160 int32_t elementAti(int32_t index) const;
184 void removeElementAt(int32_t index);
218 inline void* operator[](int32_t index) cons
[all...]
/third_party/node/deps/v8/src/codegen/
H A Dsignature.h34 T GetParam(size_t index) const { in GetParam()
35 DCHECK_LT(index, parameter_count_); in GetParam()
36 return reps_[return_count_ + index]; in GetParam()
39 T GetReturn(size_t index = 0) const { in GetReturn()
40 DCHECK_LT(index, return_count_); in GetReturn()
41 return reps_[index]; in GetReturn()
88 void AddParamAt(size_t index, T val) { in AddParamAt() argument
89 DCHECK_LT(index, parameter_count_); in AddParamAt()
90 buffer_[return_count_ + index] = val; in AddParamAt()
91 pcursor_ = std::max(pcursor_, index in AddParamAt()
[all...]
/third_party/node/deps/v8/src/api/
H A Dapi-arguments.h49 inline FullObjectSlot slot_at(int index) { in slot_at() argument
50 // This allows index == T::kArgsLength so "one past the end" slots in slot_at()
52 DCHECK_LE(static_cast<unsigned>(index), in slot_at()
54 return FullObjectSlot(values_ + index); in slot_at()
116 uint32_t index);
118 uint32_t index);
120 uint32_t index, Handle<Object> value);
122 uint32_t index,
125 uint32_t index);
127 Handle<InterceptorInfo> interceptor, uint32_t index);
[all...]
/third_party/python/Lib/
H A Dasynchat.py168 index = self.ac_in_buffer.find(terminator)
169 if index != -1:
171 if index > 0:
174 self.collect_incoming_data(self.ac_in_buffer[:index])
175 self.ac_in_buffer = self.ac_in_buffer[index+terminator_len:]
181 index = find_prefix_at_end(self.ac_in_buffer, terminator)
182 if index:
183 if index != lb:
185 self.collect_incoming_data(self.ac_in_buffer[:-index])
186 self.ac_in_buffer = self.ac_in_buffer[-index
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
H A Dtransformation_composite_insert.cpp30 const std::vector<uint32_t>& index) { in TransformationCompositeInsert()
36 for (auto an_index : index) { in TransformationCompositeInsert()
56 // The indices in |message_.index| must be suitable for indexing into in IsApplicable()
59 ir_context, composite->type_id(), message_.index()); in IsApplicable()
79 // the component of the composite at index |message_.index| must be the same. in IsApplicable()
115 std::vector<uint32_t> index = in Apply() local
116 fuzzerutil::RepeatedFieldToVector(message_.index()); in Apply()
120 for (auto i : index) { in Apply()
194 // index bein in AddDataSynonymFacts()
27 TransformationCompositeInsert( const protobufs::InstructionDescriptor& instruction_to_insert_before, uint32_t fresh_id, uint32_t composite_id, uint32_t object_id, const std::vector<uint32_t>& index) TransformationCompositeInsert() argument
203 std::vector<uint32_t> index = AddDataSynonymFacts() local
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
H A Dtransformation_composite_insert.cpp30 const std::vector<uint32_t>& index) { in TransformationCompositeInsert()
36 for (auto an_index : index) { in TransformationCompositeInsert()
56 // The indices in |message_.index| must be suitable for indexing into in IsApplicable()
59 ir_context, composite->type_id(), message_.index()); in IsApplicable()
79 // the component of the composite at index |message_.index| must be the same. in IsApplicable()
115 std::vector<uint32_t> index = in Apply() local
116 fuzzerutil::RepeatedFieldToVector(message_.index()); in Apply()
120 for (auto i : index) { in Apply()
194 // index bein in AddDataSynonymFacts()
27 TransformationCompositeInsert( const protobufs::InstructionDescriptor& instruction_to_insert_before, uint32_t fresh_id, uint32_t composite_id, uint32_t object_id, const std::vector<uint32_t>& index) TransformationCompositeInsert() argument
203 std::vector<uint32_t> index = AddDataSynonymFacts() local
[all...]
/third_party/spirv-tools/source/fuzz/
H A Dtransformation_composite_insert.cpp30 const std::vector<uint32_t>& index) { in TransformationCompositeInsert()
36 for (auto an_index : index) { in TransformationCompositeInsert()
56 // The indices in |message_.index| must be suitable for indexing into in IsApplicable()
59 ir_context, composite->type_id(), message_.index()); in IsApplicable()
79 // the component of the composite at index |message_.index| must be the same. in IsApplicable()
115 std::vector<uint32_t> index = in Apply() local
116 fuzzerutil::RepeatedFieldToVector(message_.index()); in Apply()
120 for (auto i : index) { in Apply()
194 // index bein in AddDataSynonymFacts()
27 TransformationCompositeInsert( const protobufs::InstructionDescriptor& instruction_to_insert_before, uint32_t fresh_id, uint32_t composite_id, uint32_t object_id, const std::vector<uint32_t>& index) TransformationCompositeInsert() argument
203 std::vector<uint32_t> index = AddDataSynonymFacts() local
[all...]
/foundation/multimedia/av_codec/test/fuzztest/audiodecoderreset_fuzzer/
H A Daudio_decoder_reset_demo.cpp62 static void OnInputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *data, void *userData) in OnInputBufferAvailable() argument
67 signal->inQueue_.push(index); in OnInputBufferAvailable()
72 static void OnOutputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *data, void *userData) in OnOutputBufferAvailable() argument
77 signal->outQueue_.push(index); in OnOutputBufferAvailable()
87 string::size_type index = str.find_first_of(separator, start); in SplitStringFully() local
89 while (index != string::npos) { in SplitStringFully()
90 substring = str.substr(start, index - start); in SplitStringFully()
92 start = str.find_first_not_of(separator, index); in SplitStringFully()
96 index = str.find_first_of(separator, start); in SplitStringFully()
364 void ADecBufferDemo::HandleInputEOS(const uint32_t index) in HandleInputEOS() argument
394 uint32_t index = signal_->inQueue_.front(); InputFunc() local
[all...]
/foundation/multimedia/image_effect/frameworks/native/capi/
H A Dimage_effect.cpp117 OH_EffectFilter *OH_ImageEffect_InsertFilter(OH_ImageEffect *imageEffect, uint32_t index, const char *filterName) in OH_ImageEffect_InsertFilter() argument
131 ImageEffect_ErrorCode errorCode = OH_ImageEffect_InsertFilterByFilter(imageEffect, index, filter); in OH_ImageEffect_InsertFilter()
140 ImageEffect_ErrorCode OH_ImageEffect_InsertFilterByFilter(OH_ImageEffect *imageEffect, uint32_t index, in OH_ImageEffect_InsertFilterByFilter() argument
150 CHECK_AND_RETURN_RET_LOG(index <= static_cast<uint32_t>(imageEffect->filters_.size()), in OH_ImageEffect_InsertFilterByFilter()
152 "InsertFilter: input parameter index is invalid! index=%{public}d, efilterSize=%{public}zu", in OH_ImageEffect_InsertFilterByFilter()
153 index, imageEffect->filters_.size()); in OH_ImageEffect_InsertFilterByFilter()
158 ErrorCode result = imageEffect->imageEffect_->InsertEFilter(filter->filter_, index); in OH_ImageEffect_InsertFilterByFilter()
164 imageEffect->filters_.emplace(imageEffect->filters_.begin() + index, filter, filterName); in OH_ImageEffect_InsertFilterByFilter()
207 ImageEffect_ErrorCode OH_ImageEffect_RemoveFilterByIndex(OH_ImageEffect *imageEffect, uint32_t index) in OH_ImageEffect_RemoveFilterByIndex() argument
215 index, imageEffect->filters_.size()); OH_ImageEffect_RemoveFilterByIndex() local
248 OH_ImageEffect_ReplaceFilter(OH_ImageEffect *imageEffect, uint32_t index, const char *filterName) OH_ImageEffect_ReplaceFilter() argument
273 OH_ImageEffect_ReplaceFilterByFilter(OH_ImageEffect *imageEffect, uint32_t index, OH_EffectFilter *filter) OH_ImageEffect_ReplaceFilterByFilter() argument
282 index, imageEffect->filters_.size()); OH_ImageEffect_ReplaceFilterByFilter() local
678 OH_ImageEffect_GetFilter(OH_ImageEffect *imageEffect, uint32_t index) OH_ImageEffect_GetFilter() argument
[all...]
/foundation/multimedia/av_codec/test/fuzztest/audiodecoderdescription_fuzzer/
H A Daudio_decoder_description_demo.cpp62 static void OnInputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *data, void *userData) in OnInputBufferAvailable() argument
67 signal->inQueue_.push(index); in OnInputBufferAvailable()
72 static void OnOutputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *data, void *userData) in OnOutputBufferAvailable() argument
77 signal->outQueue_.push(index); in OnOutputBufferAvailable()
87 string::size_type index = str.find_first_of(separator, start); in SplitStringFully() local
89 while (index != string::npos) { in SplitStringFully()
90 substring = str.substr(start, index - start); in SplitStringFully()
92 start = str.find_first_not_of(separator, index); in SplitStringFully()
96 index = str.find_first_of(separator, start); in SplitStringFully()
364 void ADecBufferDemo::HandleInputEOS(const uint32_t index) in HandleInputEOS() argument
394 uint32_t index = signal_->inQueue_.front(); InputFunc() local
[all...]
/foundation/multimedia/av_codec/test/fuzztest/audiodecoderflush_fuzzer/
H A Daudio_decoder_flush_demo.cpp62 static void OnInputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *data, void *userData) in OnInputBufferAvailable() argument
67 signal->inQueue_.push(index); in OnInputBufferAvailable()
72 static void OnOutputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *data, void *userData) in OnOutputBufferAvailable() argument
77 signal->outQueue_.push(index); in OnOutputBufferAvailable()
87 string::size_type index = str.find_first_of(separator, start); in SplitStringFully() local
89 while (index != string::npos) { in SplitStringFully()
90 substring = str.substr(start, index - start); in SplitStringFully()
92 start = str.find_first_not_of(separator, index); in SplitStringFully()
96 index = str.find_first_of(separator, start); in SplitStringFully()
364 void ADecBufferDemo::HandleInputEOS(const uint32_t index) in HandleInputEOS() argument
394 uint32_t index = signal_->inQueue_.front(); InputFunc() local
[all...]
/foundation/multimedia/av_codec/test/fuzztest/audiodecoder_fuzzer/
H A Daudio_decoder_demo.cpp63 static void OnInputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *data, void *userData) in OnInputBufferAvailable() argument
68 signal->inQueue_.push(index); in OnInputBufferAvailable()
73 static void OnOutputBufferAvailable(OH_AVCodec *codec, uint32_t index, OH_AVBuffer *data, void *userData) in OnOutputBufferAvailable() argument
78 signal->outQueue_.push(index); in OnOutputBufferAvailable()
88 string::size_type index = str.find_first_of(separator, start); in SplitStringFully() local
90 while (index != string::npos) { in SplitStringFully()
91 substring = str.substr(start, index - start); in SplitStringFully()
93 start = str.find_first_not_of(separator, index); in SplitStringFully()
97 index = str.find_first_of(separator, start); in SplitStringFully()
405 void ADecBufferDemo::HandleInputEOS(const uint32_t index) in HandleInputEOS() argument
435 uint32_t index = signal_->inQueue_.front(); InputFunc() local
[all...]
/kernel/linux/linux-5.10/drivers/isdn/mISDN/
H A Ddsp_tones.c377 int index, count, start, num; in dsp_tone_copy() local
390 index = tone->index; /* gives current sequence index */ in dsp_tone_copy()
398 if (!pat->seq[index]) { in dsp_tone_copy()
400 index = 0; in dsp_tone_copy()
403 if (count < pat->seq[index]) in dsp_tone_copy()
407 "(index=%d)\n", __func__, index); in dsp_tone_copy()
408 count -= pat->seq[index]; in dsp_tone_copy()
465 int index = tone->index; dsp_tone_timeout() local
[all...]
/kernel/linux/linux-5.10/drivers/hwmon/
H A Dftsteutates.c349 int index = to_sensor_dev_attr(devattr)->index; in in_value_show() local
356 return sprintf(buf, "%u\n", data->volt[index]); in in_value_show()
363 int index = to_sensor_dev_attr(devattr)->index; in temp_value_show() local
370 return sprintf(buf, "%u\n", data->temp_input[index]); in temp_value_show()
377 int index = to_sensor_dev_attr(devattr)->index; in temp_fault_show() local
385 return sprintf(buf, "%d\n", data->temp_input[index] == 0); in temp_fault_show()
392 int index in temp_alarm_show() local
407 int index = to_sensor_dev_attr(devattr)->index; temp_alarm_store() local
438 int index = to_sensor_dev_attr(devattr)->index; fan_value_show() local
452 int index = to_sensor_dev_attr(devattr)->index; fan_source_show() local
466 int index = to_sensor_dev_attr(devattr)->index; fan_alarm_show() local
481 int index = to_sensor_dev_attr(devattr)->index; fan_alarm_store() local
[all...]
H A Dmax6697.c255 int index = to_sensor_dev_attr(devattr)->index; in temp_input_show() local
262 temp = (data->temp[index][MAX6697_TEMP_INPUT] - data->temp_offset) << 3; in temp_input_show()
263 temp |= data->temp[index][MAX6697_TEMP_EXT] >> 5; in temp_input_show()
272 int index = to_sensor_dev_attr_2(devattr)->index; in temp_show() local
279 temp = data->temp[nr][index]; in temp_show()
288 int index = to_sensor_dev_attr(attr)->index; in alarm_show() local
295 index in alarm_show()
305 int index = to_sensor_dev_attr_2(devattr)->index; temp_store() local
330 int val, ret, index, select; offset_store() local
375 int select, ret, index; offset_show() local
460 max6697_is_visible(struct kobject *kobj, struct attribute *attr, int index) max6697_is_visible() argument
[all...]
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dmax6697.c254 int index = to_sensor_dev_attr(devattr)->index; in temp_input_show() local
261 temp = (data->temp[index][MAX6697_TEMP_INPUT] - data->temp_offset) << 3; in temp_input_show()
262 temp |= data->temp[index][MAX6697_TEMP_EXT] >> 5; in temp_input_show()
271 int index = to_sensor_dev_attr_2(devattr)->index; in temp_show() local
278 temp = data->temp[nr][index]; in temp_show()
287 int index = to_sensor_dev_attr(attr)->index; in alarm_show() local
294 index in alarm_show()
304 int index = to_sensor_dev_attr_2(devattr)->index; temp_store() local
329 int val, ret, index, select; offset_store() local
374 int select, ret, index; offset_show() local
459 max6697_is_visible(struct kobject *kobj, struct attribute *attr, int index) max6697_is_visible() argument
[all...]
/kernel/linux/linux-6.6/drivers/isdn/mISDN/
H A Ddsp_tones.c377 int index, count, start, num; in dsp_tone_copy() local
390 index = tone->index; /* gives current sequence index */ in dsp_tone_copy()
398 if (!pat->seq[index]) { in dsp_tone_copy()
400 index = 0; in dsp_tone_copy()
403 if (count < pat->seq[index]) in dsp_tone_copy()
407 "(index=%d)\n", __func__, index); in dsp_tone_copy()
408 count -= pat->seq[index]; in dsp_tone_copy()
465 int index = tone->index; dsp_tone_timeout() local
[all...]
/kernel/liteos_a/kernel/base/ipc/
H A Dlos_futex.c146 PRINTK("hash -> index : %d\n", count); in OsFutexHashShow()
171 UINT32 index = LOS_HashFNV32aBuf(&futexKey, sizeof(UINTPTR), FNV1_32A_INIT); in OsFutexKeyToIndex() local
174 index &= FUTEX_HASH_PRIVATE_MASK; in OsFutexKeyToIndex()
176 index &= FUTEX_HASH_SHARED_MASK; in OsFutexKeyToIndex()
177 index += FUTEX_INDEX_SHARED_POS; in OsFutexKeyToIndex()
180 return index; in OsFutexKeyToIndex()
186 node->index = OsFutexKeyToIndex(futexKey, flags); in OsFutexSetKey()
192 node->index = OS_INVALID_VALUE; in OsFutexDeinitFutexNode()
216 if (node->index >= FUTEX_INDEX_MAX) { in OsFutexDeleteKeyNodeFromHash()
250 UINT32 index in OsFutexNodeDeleteFromFutexHash() local
576 UINT32 index = OsFutexKeyToIndex(futexKey, flags); OsFutexWaitTask() local
716 UINT32 index = OsFutexKeyToIndex(futexKey, flags); OsFutexWakeTask() local
749 UINT32 index; OsFutexWake() local
[all...]
/third_party/ffmpeg/libavformat/
H A Dseek.c2 * Seeking and index-related functions
67 int index; in ff_add_index_entry() local
90 index = ff_index_search_timestamp(*index_entries, *nb_index_entries, in ff_add_index_entry()
92 if (index < 0) { in ff_add_index_entry()
93 index = (*nb_index_entries)++; in ff_add_index_entry()
94 ie = &entries[index]; in ff_add_index_entry()
95 av_assert0(index == 0 || ie[-1].timestamp < timestamp); in ff_add_index_entry()
97 ie = &entries[index]; in ff_add_index_entry()
101 memmove(entries + index + 1, entries + index, in ff_add_index_entry()
289 int index; ff_seek_frame_binary() local
526 int index; seek_frame_generic() local
[all...]

Completed in 18 milliseconds

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