/kernel/linux/linux-6.6/drivers/hwtracing/coresight/ |
H A D | coresight-etm4x-core.c | 1396 * @comparator is divided by two since it is the index in the in etm4_set_comparator_filter() 1401 * index 0 -> compatator pair 0 in etm4_set_comparator_filter() 1402 * index 2 -> comparator pair 1 in etm4_set_comparator_filter() 1403 * index 4 -> comparator pair 2 in etm4_set_comparator_filter() 1405 * index 14 -> comparator pair 7 in etm4_set_comparator_filter() 1465 int nr_comparator, index = 0; in etm4_get_next_comparator() local 1475 while (index < nr_comparator) { in etm4_get_next_comparator() 1478 if (config->addr_type[index] == ETM_ADDR_TYPE_NONE && in etm4_get_next_comparator() 1479 config->addr_type[index + 1] == ETM_ADDR_TYPE_NONE) in etm4_get_next_comparator() 1480 return index; in etm4_get_next_comparator() [all...] |
/kernel/linux/linux-6.6/drivers/i3c/master/ |
H A D | svc-i3c-master.c | 213 * @index: Index in the master tables corresponding to this device 214 * @ibi: IBI slot index in the master structure 218 u8 index; member 667 data->index = slot; in svc_i3c_master_attach_i3c_dev() 684 master->addrs[data->index] = dev->info.dyn_addr ? dev->info.dyn_addr : in svc_i3c_master_reattach_i3c_dev() 696 master->addrs[data->index] = 0; in svc_i3c_master_detach_i3c_dev() 697 svc_i3c_master_release_slot(master, data->index); in svc_i3c_master_detach_i3c_dev() 719 data->index = slot; in svc_i3c_master_attach_i2c_dev() 733 svc_i3c_master_release_slot(master, data->index); in svc_i3c_master_detach_i2c_dev() 1349 cmd->addr = master->addrs[data->index]; in svc_i3c_master_priv_xfers() [all...] |
/kernel/liteos_a/drivers/block/disk/src/ |
H A D | disk.c | 538 UINT32 tableNum, i, index; in DiskGPTPartitionRecognition() local 557 index = (tableNum % PAR_ENTRY_NUM_PER_SECTOR) ? ((tableNum / PAR_ENTRY_NUM_PER_SECTOR) + 1) : in DiskGPTPartitionRecognition() 560 for (i = 0; i < index; i++) { in DiskGPTPartitionRecognition() 1737 UINT32 index, i; in add_mmc_partition() local 1751 index = info->part_count; in add_mmc_partition() 1752 for (i = 0; i < index; i++) { in add_mmc_partition() 1758 info->part[index].sector_start = sectorStart; in add_mmc_partition() 1759 info->part[index].sector_count = sectorCount; in add_mmc_partition() 1760 info->part[index].type = EMMC; in add_mmc_partition()
|
/kernel/linux/linux-6.6/sound/firewire/ |
H A D | amdtp-stream.c | 438 unsigned int index = phase % 13; in calculate_syt_offset() local 441 syt_offset += 1386 + ((index && !(index & 3)) || in calculate_syt_offset() 684 unsigned int syt, unsigned int index, u32 curr_cycle_time) in build_it_pkt_header() 701 data_block_counter, s->packet_index, index, curr_cycle_time); in build_it_pkt_header() 803 unsigned int *syt, unsigned int packet_index, unsigned int index, in parse_ir_ctx_header() 849 *data_block_counter, packet_index, index, curr_cycle_time); in parse_ir_ctx_header() 1014 unsigned int index = (s->packet_index + i) % s->queue_size; in generate_rx_packet_descs() local 1034 desc->ctx_payload = s->buffer.packets[index].buffer; in generate_rx_packet_descs() 680 build_it_pkt_header(struct amdtp_stream *s, unsigned int cycle, struct fw_iso_packet *params, unsigned int header_length, unsigned int data_blocks, unsigned int data_block_counter, unsigned int syt, unsigned int index, u32 curr_cycle_time) build_it_pkt_header() argument 799 parse_ir_ctx_header(struct amdtp_stream *s, unsigned int cycle, const __be32 *ctx_header, unsigned int *data_blocks, unsigned int *data_block_counter, unsigned int *syt, unsigned int packet_index, unsigned int index, u32 curr_cycle_time) parse_ir_ctx_header() argument
|
/kernel/linux/linux-6.6/drivers/s390/char/ |
H A D | con3270.c | 121 int rcl_write_index; /* Write index of recallable items */ 122 int rcl_read_index; /* Read index of recallable items */ 1095 tty3270_create_view(int index, struct tty3270 **newtp) in tty3270_create_view() argument 1100 if (tty3270_max_index < index + 1) in tty3270_create_view() 1101 tty3270_max_index = index + 1; in tty3270_create_view() 1109 index + RAW3270_FIRSTMINOR, in tty3270_create_view() 1187 view = raw3270_find_view(&tty3270_fn, tty->index + RAW3270_FIRSTMINOR); in tty3270_install() 1189 rc = tty3270_create_view(tty->index, &tp); in tty3270_install() 2076 con3270_device(struct console *c, int *index) in con3270_device() argument 2078 *index in con3270_device() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/lpfc/ |
H A D | lpfc_nvme.c | 68 * @qidx: An cpu index used to affinitize IO queues and MSIX vectors. 110 * EQ/CQ/WQ at index 0. After that they are sequentially assigned. in lpfc_nvme_create_queue() 114 qhandle->index = ((qidx - 1) % in lpfc_nvme_create_queue() 118 qhandle->index = qidx; in lpfc_nvme_create_queue() 124 qidx, qhandle->cpu_id, qhandle->index, qhandle); in lpfc_nvme_create_queue() 132 * @qidx: An cpu index used to affinitize IO queues and MSIX vectors. 1656 lpfc_queue_info->index, ndlp->nlp_DID, in lpfc_nvme_fcp_io_submit() 1665 /* Lookup Hardware Queue index based on fcp_io_sched module parameter */ in lpfc_nvme_fcp_io_submit() 1667 idx = lpfc_queue_info->index; in lpfc_nvme_fcp_io_submit() 1679 lpfc_queue_info->index, ndl in lpfc_nvme_fcp_io_submit() [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | iov_iter.c | 82 pgoff_t index = start / PAGE_SIZE; \ 83 XA_STATE(xas, i->xarray, index); \ 1006 pgoff_t index, unsigned int nr_pages) in iter_xarray_populate_pages() 1008 XA_STATE(xas, xa, index); in iter_xarray_populate_pages() 1037 pgoff_t index; in iter_xarray_get_pages() local 1041 index = pos >> PAGE_SHIFT; in iter_xarray_get_pages() 1048 nr = iter_xarray_populate_pages(*pages, i->xarray, index, count); in iter_xarray_get_pages() 1613 pgoff_t index = pos >> PAGE_SHIFT; in iov_iter_extract_xarray_pages() local 1614 XA_STATE(xas, i->xarray, index); in iov_iter_extract_xarray_pages() 1005 iter_xarray_populate_pages(struct page **pages, struct xarray *xa, pgoff_t index, unsigned int nr_pages) iter_xarray_populate_pages() argument
|
/kernel/linux/linux-6.6/mm/ |
H A D | page-writeback.c | 2330 * @start: starting page index 2331 * @end: ending page index (inclusive) 2389 * multiple pages in ascending page->index order, and looping back to the start 2403 pgoff_t index; in write_cache_pages() local 2411 index = mapping->writeback_index; /* prev offset */ in write_cache_pages() 2414 index = wbc->range_start >> PAGE_SHIFT; in write_cache_pages() 2420 tag_pages_for_writeback(mapping, index, end); in write_cache_pages() 2425 done_index = index; in write_cache_pages() 2426 while (!done && (index <= end)) { in write_cache_pages() 2429 nr_folios = filemap_get_folios_tag(mapping, &index, en in write_cache_pages() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | dnxhdenc.c | 223 int index = level * (1 << 1) | run; in dnxhd_init_vlc() local 235 av_assert1(!ctx->vlc_codes[index]); in dnxhd_init_vlc() 237 ctx->vlc_codes[index] = in dnxhd_init_vlc() 239 ctx->vlc_bits[index] = ctx->cid_table->ac_bits[j] + 1; in dnxhd_init_vlc() 241 ctx->vlc_codes[index] = ctx->cid_table->ac_codes[j]; in dnxhd_init_vlc() 242 ctx->vlc_bits[index] = ctx->cid_table->ac_bits[j]; in dnxhd_init_vlc() 249 ctx->vlc_codes[index] = in dnxhd_init_vlc() 250 (ctx->vlc_codes[index] << ctx->cid_table->index_bits) | offset; in dnxhd_init_vlc() 251 ctx->vlc_bits[index] += ctx->cid_table->index_bits; in dnxhd_init_vlc()
|
/third_party/ffmpeg/libavformat/ |
H A D | rmdec.c | 451 "Invalid stream index %d for index at pos %"PRId64"\n", in rm_read_index() 456 "Nr. of packets in packet index for stream index %d " in rm_read_index() 478 "Non-linear index detected, not supported\n"); in rm_read_index() 591 indx_off = avio_rb32(pb); /* index offset */ in rm_read_header() 714 /* some files don't add index entries to chunk size... */ in rm_sync() 722 len -= 14; // we already read part of the index header in rm_sync() 935 rm->audio_stream_num = st->index; in ff_rm_parse_packet() 944 rm->audio_stream_num = st->index; in ff_rm_parse_packet() 1325 unsigned size, index; ivr_read_packet() local [all...] |
/third_party/FreeBSD/sys/dev/usb/ |
H A D | usb_device.c | 174 uint8_t index = setup->ep_index; in usbd_get_endpoint() local 181 "type=0x%x dir=0x%x index=%d\n", in usbd_get_endpoint() 253 if (!index--) { in usbd_get_endpoint() 267 (!index)) { in usbd_get_endpoint() 473 * This function selects configuration by index, independent of the 482 usbd_set_config_index(struct usb_device *udev, uint8_t index) in usbd_set_config_index() argument 492 DPRINTFN(6, "udev=%p index=%d\n", udev, index); in usbd_set_config_index() 499 if (index == USB_UNCONFIG_INDEX) { in usbd_set_config_index() 503 * the current config number and index in usbd_set_config_index() [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | TestMessageFormat.java | 659 logln("formatsChg == formatsCmp at index " + i); in TestAdopt() 694 errln("formatsAct != formatsCmp at index " + i); in TestAdopt() 720 errln("Can't clone format at index " + i); in TestAdopt() 768 errln("Can't clone format at index " + i); in TestAdopt() 884 if (i != 3) { // TODO: fix this, for now skip ordinal parsing (format string at index 3) in TestRBNF() 1698 int index = acit.getBeginIndex(); in TestFormatToCharacterIterator() 1702 if (end - index != expectedLen) { in TestFormatToCharacterIterator() 1703 errln("FAIL: Length of the result attributed string is " + (end - index) + " expected: " + expectedLen); in TestFormatToCharacterIterator() 1706 while (index < end) { in TestFormatToCharacterIterator() 1707 char c = acit.setIndex(index); in TestFormatToCharacterIterator() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
H A D | TestMessageFormat.java | 662 logln("formatsChg == formatsCmp at index " + i); in TestAdopt() 697 errln("formatsAct != formatsCmp at index " + i); in TestAdopt() 723 errln("Can't clone format at index " + i); in TestAdopt() 771 errln("Can't clone format at index " + i); in TestAdopt() 887 if (i != 3) { // TODO: fix this, for now skip ordinal parsing (format string at index 3) in TestRBNF() 1701 int index = acit.getBeginIndex(); in TestFormatToCharacterIterator() 1705 if (end - index != expectedLen) { in TestFormatToCharacterIterator() 1706 errln("FAIL: Length of the result attributed string is " + (end - index) + " expected: " + expectedLen); in TestFormatToCharacterIterator() 1709 while (index < end) { in TestFormatToCharacterIterator() 1710 char c = acit.setIndex(index); in TestFormatToCharacterIterator() [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | rulebasedcollator.cpp | 784 NFDIterator() : index(-1), length(0) {} in NFDIterator() 792 if(index >= 0) { in nextCodePoint() 793 if(index == length) { in nextCodePoint() 794 index = -1; in nextCodePoint() 797 U16_NEXT_UNSAFE(decomp, index, c); in nextCodePoint() 810 if(index >= 0) { return c; } in nextDecomposedCodePoint() 813 index = 0; in nextDecomposedCodePoint() 814 U16_NEXT_UNSAFE(decomp, index, c); in nextDecomposedCodePoint() 826 int32_t index; member in __anon3370::NFDIterator
|
/third_party/mesa3d/src/freedreno/vulkan/ |
H A D | tu_query.c | 181 uint32_t index, uint32_t *gid, uint32_t *cid) in perfcntr_index() 187 if (group[i].num_countables > index) { in perfcntr_index() 189 *cid = index; in perfcntr_index() 192 index -= group[i].num_countables; in perfcntr_index() 268 * correct group id, countable id, counter register and pass index with in tu_CreateQueryPool() 269 * only a counter index provided by applications at each command submit. in tu_CreateQueryPool() 271 * Also, since this built data will be sorted by pass index later, we in tu_CreateQueryPool() 302 /* Sort by pass index so we could easily prepare a command stream in tu_CreateQueryPool() 303 * with the ascending order of pass index. in tu_CreateQueryPool() 918 * 0) There's a scratch reg to set a pass index fo in emit_begin_perf_query() 180 perfcntr_index(const struct fd_perfcntr_group *group, uint32_t group_count, uint32_t index, uint32_t *gid, uint32_t *cid) perfcntr_index() argument 1073 tu_CmdBeginQueryIndexedEXT(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t query, VkQueryControlFlags flags, uint32_t index) tu_CmdBeginQueryIndexedEXT() argument 1537 tu_CmdEndQueryIndexedEXT(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t query, uint32_t index) tu_CmdEndQueryIndexedEXT() argument [all...] |
/third_party/mesa3d/src/compiler/glsl/ |
H A D | gl_nir_link_uniforms.c | 88 * array index used. 96 * array element index used, plus one. The compiler or linker 97 * determines the highest index used. There will be only one 458 if (nir_src_is_const((*p)->arr.index)) { in add_var_use_deref() 459 dr->index = nir_src_as_uint((*p)->arr.index); in add_var_use_deref() 469 dr->index = dr->size; in add_var_use_deref() 608 * to store the next index for opaque types. Array types are expanded so that 618 /* For opaque types, this will be the next index to use. If we haven’t 716 /* Each Parameter will hold the index t in add_parameter() 754 unsigned index = state->current_type->next_index; get_next_index() local [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_linking_helpers.c | 1207 nir_load_const_instr *index = in clone_deref_instr() local 1208 nir_instr_as_load_const(deref->arr.index.ssa->parent_instr); in clone_deref_instr() 1209 return nir_build_deref_array_imm(b, parent, index->value->i64); in clone_deref_instr() 1212 nir_load_const_instr *index = in clone_deref_instr() local 1213 nir_instr_as_load_const(deref->arr.index.ssa->parent_instr); in clone_deref_instr() 1214 nir_ssa_def *ssa = nir_imm_intN_t(b, index->value->i64, in clone_deref_instr() 1219 return nir_build_deref_struct(b, parent, deref->strct.index); in clone_deref_instr() 1550 if (processed_locs[var->data.index] & in nir_assign_io_var_locations() 1554 processed_locs[var->data.index] |= in nir_assign_io_var_locations()
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
H A D | sfn_nir_lower_64bit.cpp | 58 split_load_deref_array(nir_intrinsic_instr *intr, nir_src& index); 403 return split_load_deref_array(intr, deref->arr.index); in split_double_load_deref() 411 LowerSplit64BitVar::split_load_deref_array(nir_intrinsic_instr *intr, nir_src& index) in split_load_deref_array() argument 421 auto deref_array1 = nir_build_deref_array(b, deref1, nir_ssa_for_src(b, index, 1)); in split_load_deref_array() 425 auto deref_array2 = nir_build_deref_array(b, deref2, nir_ssa_for_src(b, index, 1)); in split_load_deref_array() 445 auto deref_array1 = nir_build_deref_array(b, deref1, nir_ssa_for_src(b, deref->arr.index, 1)); in split_store_deref_array() 450 auto deref_array2 = nir_build_deref_array(b, deref2, nir_ssa_for_src(b, deref->arr.index, 1)); in split_store_deref_array() 1182 unsigned index = nir_intrinsic_base(ir) + 64 * vertex + in collect_stores() local 1184 m_stores[index].push_back(ir); in collect_stores()
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | rulebasedcollator.cpp | 786 NFDIterator() : index(-1), length(0) {} in NFDIterator() 794 if(index >= 0) { in nextCodePoint() 795 if(index == length) { in nextCodePoint() 796 index = -1; in nextCodePoint() 799 U16_NEXT_UNSAFE(decomp, index, c); in nextCodePoint() 812 if(index >= 0) { return c; } in nextDecomposedCodePoint() 815 index = 0; in nextDecomposedCodePoint() 816 U16_NEXT_UNSAFE(decomp, index, c); in nextDecomposedCodePoint() 828 int32_t index; member in __anon12021::NFDIterator
|
/third_party/icu/icu4c/source/test/intltest/ |
H A D | convtest.cpp | 70 ConversionTest::runIndexedTest(int32_t index, UBool exec, const char *&name, char * /*par*/) { in runIndexedTest() argument 205 int32_t offsetsLength, index; in TestFromUnicode() local 266 if((index=s.indexOf((UChar)0))>0) { in TestFromUnicode() 271 length=index+1; in TestFromUnicode() 288 s.truncate(index); in TestFromUnicode() 289 } else if((index=s.indexOf((UChar)0x3d))>0) /* '=' */ { in TestFromUnicode() 291 p=s.getBuffer()+index+1; in TestFromUnicode() 292 length=s.length()-(index+1); in TestFromUnicode() 303 s.truncate(index); in TestFromUnicode() 407 " error index in TestGetUnicodeSet() [all...] |
/third_party/node/deps/v8/src/debug/ |
H A D | debug-interface.cc | 163 i::VariableMode mode = scope_info->ContextLocalMode(it->index()); in CollectPrivateMethodsAndAccessorsFromContext() 164 i::IsStaticFlag flag = scope_info->ContextLocalIsStaticFlag(it->index()); in CollectPrivateMethodsAndAccessorsFromContext() 169 int context_index = scope_info->ContextHeaderLength() + it->index(); in CollectPrivateMethodsAndAccessorsFromContext() 498 int GetSmiValue(i::Handle<i::FixedArray> array, int index) { in GetSmiValue() argument 499 return i::Smi::ToInt(array->get(index)); in GetSmiValue() 1181 Coverage::ScriptData::ScriptData(size_t index, in ScriptData() argument 1183 : script_(&coverage->at(index)), coverage_(std::move(coverage)) {} in ScriptData() 1216 size_t index, std::shared_ptr<i::TypeProfile> type_profile) in ScriptData() 1217 : script_(&type_profile->at(index)), in ScriptData() 1215 ScriptData( size_t index, std::shared_ptr<i::TypeProfile> type_profile) ScriptData() argument
|
/third_party/node/deps/v8/src/builtins/ |
H A D | builtins-regexp-gen.cc | 95 TNode<Context> context, TNode<Smi> length, TNode<Smi> index, in AllocateRegExpResult() 149 StoreObjectFieldNoWriteBarrier(result, JSRegExpResult::kIndexOffset, index); in AllocateRegExpResult() 314 // index at odd indices. in ConstructNewResultFromMatchInfo() 358 TNode<Smi> index = CAST(LoadFixedArrayElement(names, i_plus_1)); in ConstructNewResultFromMatchInfo() local 360 CAST(LoadFixedArrayElement(result_elements, SmiUntag(index))); in ConstructNewResultFromMatchInfo() 581 // Argument 1: Previous index. in RegExpExecInternal() 1407 TNode<String> string, TNode<Number> index, TNode<BoolT> is_unicode, in AdvanceStringIndex() 1409 CSA_DCHECK(this, IsNumberNormalized(index)); in AdvanceStringIndex() 1410 if (is_fastpath) CSA_DCHECK(this, TaggedIsPositiveSmi(index)); in AdvanceStringIndex() 1415 TNode<Number> index_plus_one = NumberInc(index); in AdvanceStringIndex() 94 AllocateRegExpResult( TNode<Context> context, TNode<Smi> length, TNode<Smi> index, TNode<String> input, TNode<JSRegExp> regexp, TNode<Number> last_index, TNode<BoolT> has_indices, TNode<FixedArray>* elements_out) AllocateRegExpResult() argument 1406 AdvanceStringIndex( TNode<String> string, TNode<Number> index, TNode<BoolT> is_unicode, bool is_fastpath) AdvanceStringIndex() argument [all...] |
/third_party/node/deps/v8/src/runtime/ |
H A D | runtime-test.cc | 74 #define CONVERT_INT32_ARG_FUZZ_SAFE(name, index) \ 75 if (!args[index].IsNumber()) return CrashUnlessFuzzing(isolate); \ 77 if (!args[index].ToInt32(&name)) return CrashUnlessFuzzing(isolate); 82 #define CONVERT_BOOLEAN_ARG_FUZZ_SAFE(name, index) \ 83 if (!args[index].IsBoolean()) return CrashUnlessFuzzing(isolate); \ 84 bool name = args[index].IsTrue(isolate); 135 int index = args.smi_value_at(1); in RUNTIME_FUNCTION() local 138 CHECK_LT(index, string->length()); in RUNTIME_FUNCTION() 141 isolate->factory()->NewSubString(string, index, string->length()); in RUNTIME_FUNCTION()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/ |
H A D | vktMeshShaderInOutTestsEXT.cpp | 129 , index (index_) in IfaceVar() 134 DE_ASSERT(index < kVarsPerType); in IfaceVar() 138 // To make sure it's not used, the index is defined to be very large, which should trigger the assertion in getName() below. 145 , index (std::numeric_limits<uint32_t>::max()) 154 uint32_t index; // In case there are several variables matching this type. 159 DE_ASSERT(index < kVarsPerType); 167 << index 1108 for index in range(arraySize): 1113 compValue += floatSuffixes[index][comp] 1116 statement = '%s[%s] = %s;' % (varName, index, valu [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/ |
H A D | vktMeshShaderInOutTestsEXT.cpp | 129 , index (index_) in IfaceVar() 134 DE_ASSERT(index < kVarsPerType); in IfaceVar() 138 // To make sure it's not used, the index is defined to be very large, which should trigger the assertion in getName() below. 145 , index (std::numeric_limits<uint32_t>::max()) 154 uint32_t index; // In case there are several variables matching this type. 159 DE_ASSERT(index < kVarsPerType); 167 << index 1108 for index in range(arraySize): 1113 compValue += floatSuffixes[index][comp] 1116 statement = '%s[%s] = %s;' % (varName, index, valu [all...] |