Home
last modified time | relevance | path

Searched refs:index (Results 1426 - 1450 of 24969) sorted by relevance

1...<<51525354555657585960>>...999

/kernel/linux/linux-6.6/fs/epfs/
H A Dfile.c55 __u64 index; in epfs_check_range() local
63 for (index = 1; index < range->num; index++) { in epfs_check_range()
64 if ((range->range[index].begin >= range->range[index].end) || in epfs_check_range()
65 (range->range[index].begin < range->range[index - 1].end)) { in epfs_check_range()
67 range->range[index - 1].begin, in epfs_check_range()
68 range->range[index in epfs_check_range()
[all...]
/kernel/linux/linux-6.6/fs/afs/
H A Dvl_rotate.c82 vc->index = -1; in afs_start_vl_iteration()
99 vc->untried, vc->index, in afs_select_vlserver()
100 vc->ac.tried, vc->ac.index, in afs_select_vlserver()
134 //vc->server_list->weird_mask |= 1 << vc->index; in afs_select_vlserver()
192 vc->index = vc->server_list->preferred; in afs_select_vlserver()
193 if (test_bit(vc->index, &vc->untried)) in afs_select_vlserver()
196 vc->index = -1; in afs_select_vlserver()
205 vc->index = i; in afs_select_vlserver()
210 if (vc->index == -1) in afs_select_vlserver()
214 _debug("use %d", vc->index); in afs_select_vlserver()
[all...]
/kernel/linux/linux-6.6/crypto/asymmetric_keys/
H A Dpkcs7_verify.c31 kenter(",%u,%s", sinfo->index, sinfo->sig->hash_algo); in pkcs7_digest()
76 pr_warn("Sig %u: No messageDigest\n", sinfo->index); in pkcs7_digest()
83 sinfo->index, sinfo->msgdigest_len); in pkcs7_digest()
91 sinfo->index); in pkcs7_digest()
164 kenter("%u", sinfo->index); in pkcs7_find_key()
175 sinfo->index, certix); in pkcs7_find_key()
185 sinfo->index, in pkcs7_find_key()
253 p->index, p->id->len, p->id->data); in pkcs7_verify_sig_chain()
264 p->index, p->skid->len, p->skid->data); in pkcs7_verify_sig_chain()
281 sinfo->index, x50 in pkcs7_verify_sig_chain()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/isci/
H A Dremote_node_table.c65 * @remote_node_table: This is the remote node index table from which the
67 * @group_table_index: This is the index to the group table from which to
104 * @group_index: This is the bit index in the table to be modified.
106 * This method will clear the group index entry in the specified group index
136 * This method will set the group index bit entry in the specified gropu index
162 * @remote_node_index: This is the remote node index that is being returned to
195 * @remote_node_index: This is the remote node index which is to be cleared
198 * This method clears the remote node index fro
317 u32 index; sci_remote_node_table_initialize() local
383 u8 index; sci_remote_node_table_allocate_single_remote_node() local
[all...]
/third_party/mesa3d/src/compiler/glsl/
H A Dgl_nir_link_uniform_initializers.c74 const unsigned index = storage->opaque[sh].index + i; in set_opaque_binding() local
77 if (index >= shader->Program->sh.NumBindlessSamplers) in set_opaque_binding()
79 shader->Program->sh.BindlessSamplers[index].unit = in set_opaque_binding()
81 shader->Program->sh.BindlessSamplers[index].bound = true; in set_opaque_binding()
84 if (index >= ARRAY_SIZE(shader->Program->SamplerUnits)) in set_opaque_binding()
86 shader->Program->SamplerUnits[index] = in set_opaque_binding()
92 const unsigned index = storage->opaque[sh].index + i; in set_opaque_binding() local
95 if (index > in set_opaque_binding()
248 unsigned index = storage->opaque[sh].index; set_uniform_initializer() local
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
H A Dcharconv_bigint.h206 uint32_t GetWord(int index) const { in GetWord()
207 if (index < 0 || index >= size_) { in GetWord()
210 return words_[index]; in GetWord()
240 // (64-bit-wide) values that should be added at the given index (step), and
279 // Adds a 32-bit value to the index'th word, with carry.
280 void AddWithCarry(int index, uint32_t value) { in AddWithCarry() argument
282 while (index < max_words && value > 0) { in AddWithCarry()
283 words_[index] += value; in AddWithCarry()
285 if (value > words_[index]) { in AddWithCarry()
296 AddWithCarry(int index, uint64_t value) AddWithCarry() argument
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/
H A Dsqlite_cloud_kv_executor_utils.cpp221 int SqliteCloudKvExecutorUtils::GetCloudKvBlobData(const std::string &keyStr, int index, sqlite3_stmt *stmt, in GetCloudKvBlobData() argument
225 int errCode = SQLiteUtils::GetColumnBlobValue(stmt, index, blob); in GetCloudKvBlobData()
313 int index = 1; in GetLogInfoInner() local
315 errCode = SQLiteUtils::BindTextToStatement(stmt, index++, userId); in GetLogInfoInner()
321 errCode = SQLiteUtils::BindTextToStatement(stmt, index++, gid); in GetLogInfoInner()
328 errCode = SQLiteUtils::BindTextToStatement(stmt, index++, userId); in GetLogInfoInner()
334 errCode = SQLiteUtils::BindBlobToStatement(stmt, index++, key); in GetLogInfoInner()
357 int index = 0; in FillLogInfoWithStmt() local
358 dataInfoWithLog.logInfo.dataKey = sqlite3_column_int64(stmt, index++); in FillLogInfoWithStmt()
359 dataInfoWithLog.logInfo.flag = static_cast<uint64_t>(sqlite3_column_int64(stmt, index in FillLogInfoWithStmt()
405 int index = 0; ExecutePutCloudData() local
441 OperateCloudData(sqlite3 *db, bool isMemory, int index, OpType opType, DownloadData &downloadData) OperateCloudData() argument
534 int index = 0; BindOnlyUpdateLogStmt() local
567 BindStmt(sqlite3_stmt *logStmt, sqlite3_stmt *dataStmt, int index, OpType opType, DownloadData &downloadData) BindStmt() argument
646 int index = 1; BindUpdateLogStmt() local
693 int index = 1; BindDataStmt() local
711 BindSyncDataStmt(sqlite3_stmt *dataStmt, const DataItem &dataItem, bool isInsert, int &index) BindSyncDataStmt() argument
761 BindCloudDataStmt(sqlite3_stmt *dataStmt, const DataItem &dataItem, int &index) BindCloudDataStmt() argument
815 OnlyUpdateLogTable(sqlite3 *db, bool isMemory, int index, OpType op, DownloadData &downloadData) OnlyUpdateLogTable() argument
912 OnlyUpdateSyncData(sqlite3 *db, bool isMemory, int index, OpType opType, DownloadData &downloadData) OnlyUpdateSyncData() argument
946 BindUpdateSyncDataStmt(sqlite3_stmt *dataStmt, int index, OpType opType, DownloadData &downloadData) BindUpdateSyncDataStmt() argument
960 BindUpdateTimestampStmt(sqlite3_stmt *dataStmt, int index, DownloadData &downloadData) BindUpdateTimestampStmt() argument
985 GetDataItem(int index, DownloadData &downloadData) GetDataItem() argument
1486 int index = 1; CheckDataChanged() local
1526 int index = 1; CheckDataDelete() local
1566 int index = 1; MarkUploadSuccessInner() local
[all...]
/third_party/mesa3d/src/gallium/drivers/lima/ir/gp/
H A Dscheduler.c475 int start = succ->sched.instr->index + gpir_get_min_dist(dep); in gpir_get_max_start()
493 int end = succ->sched.instr->index + gpir_get_max_dist(dep); in gpir_get_min_end()
511 load->index == iload->index && in gpir_sched_instr_has_load()
533 if (instr->index < gpir_get_max_start(node)) in _try_place_node()
537 load->index, instr->index, node->index); in _try_place_node()
555 if (instr->index < 2) in _try_place_node()
566 if (instr->index > in _try_place_node()
1598 unsigned index = 4 * load->index + load->component; schedule_block() local
1687 int index = 0; gpir_schedule_prog() local
[all...]
/foundation/graphic/graphic_3d/lume/metaobject/src/container/
H A Dcontainer.cpp45 SizeType index; in Add() local
56 index = children_.size(); in Add()
63 ChildChangedInfo info { object, index, parent_ }; in Add()
78 bool Container::Insert(SizeType index, const IObject::Ptr& object) in Insert() argument
96 index = BASE_NS::Math::min(index, children_.size()); in Insert()
98 children_.insert(children_.begin() + index, object); in Insert()
103 ChildChangedInfo info { object, index, parent_ }; in Insert()
108 children_.insert(children_.begin() + index, object); in Insert()
133 SizeType index in Replace() local
[all...]
/kernel/linux/linux-5.10/drivers/android/
H A Dbinder_alloc_selftest.c106 pr_err("expect alloc but is %s at page index %d\n", in check_buffer_pages_allocated()
149 pr_err("expect lru but is %s at page index %d\n", in binder_selftest_free_buf()
168 pr_err("expect free but is %s at page index %d\n", in binder_selftest_free_page()
193 static bool is_dup(int *seq, int index, int val) in is_dup() argument
197 for (i = 0; i < index; i++) { in is_dup()
207 int index, size_t end) in binder_selftest_free_seq()
211 if (index == BUFFER_NUM) { in binder_selftest_free_seq()
216 if (is_dup(seq, index, i)) in binder_selftest_free_seq()
218 seq[index] = i; in binder_selftest_free_seq()
219 binder_selftest_free_seq(alloc, sizes, seq, index in binder_selftest_free_seq()
205 binder_selftest_free_seq(struct binder_alloc *alloc, size_t *sizes, int *seq, int index, size_t end) binder_selftest_free_seq() argument
249 binder_selftest_alloc_offset(struct binder_alloc *alloc, size_t *end_offset, int index) binder_selftest_alloc_offset() argument
[all...]
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ingenic/
H A Djz4740_ecc.c99 static void jz_nand_correct_data(uint8_t *buf, int index, int mask) in jz_nand_correct_data() argument
101 int offset = index & 0x7; in jz_nand_correct_data()
104 index += (index >> 3); in jz_nand_correct_data()
106 data = buf[index]; in jz_nand_correct_data()
107 data |= buf[index + 1] << 8; in jz_nand_correct_data()
113 buf[index] = data & 0xff; in jz_nand_correct_data()
114 buf[index + 1] = (data >> 8) & 0xff; in jz_nand_correct_data()
121 int i, error_count, index; in jz4740_ecc_correct() local
153 index in jz4740_ecc_correct()
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dsbitmap.h238 unsigned int index; in __sbitmap_for_each_set() local
244 index = SB_NR_TO_INDEX(sb, start); in __sbitmap_for_each_set()
250 sb->map[index].depth - nr, in __sbitmap_for_each_set()
254 word = sb->map[index].word & ~sb->map[index].cleared; in __sbitmap_for_each_set()
268 if (!fn(sb, (index << sb->shift) + nr, data)) in __sbitmap_for_each_set()
275 if (++index >= sb->map_nr) in __sbitmap_for_each_set()
276 index = 0; in __sbitmap_for_each_set()
313 * the caller doing sbitmap_deferred_clear() if a given index is full, which
490 static inline int sbq_index_inc(int index) in sbq_index_inc() argument
495 sbq_index_atomic_inc(atomic_t *index) sbq_index_atomic_inc() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/rcar-du/
H A Drcar_du_group.c69 if (rgrp->index == 0) { in rcar_du_group_setup_defr8()
80 if (rgrp->index == rcdu->dpad0_source / 2) in rcar_du_group_setup_defr8()
103 if (rcdu->info->gen < 3 && rgrp->index == 0) { in rcar_du_group_setup_didsr()
115 rcrtc = &rcdu->crtcs[rgrp->index * 2]; in rcar_du_group_setup_didsr()
124 if (rcdu->info->lvds_clk_mask & BIT(rcrtc->index)) in rcar_du_group_setup_didsr()
225 if (rcdu->info->channels_mask & BIT(rgrp->index * 2)) { in __rcar_du_group_start_stop()
226 struct rcar_du_crtc *rcrtc = &rgrp->dev->crtcs[rgrp->index * 2]; in __rcar_du_group_start_stop()
272 unsigned int index; in rcar_du_set_dpad0_vsp1_routing() local
285 index = rcdu->info->gen < 3 ? 0 : DIV_ROUND_UP(rcdu->num_crtcs, 2) - 1; in rcar_du_set_dpad0_vsp1_routing()
286 rgrp = &rcdu->groups[index]; in rcar_du_set_dpad0_vsp1_routing()
[all...]
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/ingenic/
H A Djz4740_ecc.c99 static void jz_nand_correct_data(uint8_t *buf, int index, int mask) in jz_nand_correct_data() argument
101 int offset = index & 0x7; in jz_nand_correct_data()
104 index += (index >> 3); in jz_nand_correct_data()
106 data = buf[index]; in jz_nand_correct_data()
107 data |= buf[index + 1] << 8; in jz_nand_correct_data()
113 buf[index] = data & 0xff; in jz_nand_correct_data()
114 buf[index + 1] = (data >> 8) & 0xff; in jz_nand_correct_data()
121 int i, error_count, index; in jz4740_ecc_correct() local
153 index in jz4740_ecc_correct()
[all...]
/kernel/linux/linux-6.6/drivers/acpi/
H A Dirq.c138 * Contains a return code, the lookup index, and references to the flags
143 unsigned int index; member
187 * might contain multiple interrupts we check if the index is within this
189 * count from the lookup index to prepare for the next resource.
208 if (ctx->index >= irq->interrupt_count) { in acpi_irq_parse_one_cb()
209 ctx->index -= irq->interrupt_count; in acpi_irq_parse_one_cb()
212 fwnode = acpi_get_gsi_domain_id(irq->interrupts[ctx->index]); in acpi_irq_parse_one_cb()
213 acpi_irq_parse_one_match(fwnode, irq->interrupts[ctx->index], in acpi_irq_parse_one_cb()
221 if (ctx->index >= eirq->interrupt_count) { in acpi_irq_parse_one_cb()
222 ctx->index in acpi_irq_parse_one_cb()
252 acpi_irq_parse_one(acpi_handle handle, unsigned int index, struct irq_fwspec *fwspec, unsigned long *flags) acpi_irq_parse_one() argument
276 acpi_irq_get(acpi_handle handle, unsigned int index, struct resource *res) acpi_irq_get() argument
[all...]
/kernel/linux/linux-6.6/drivers/android/
H A Dbinder_alloc_selftest.c106 pr_err("expect alloc but is %s at page index %d\n", in check_buffer_pages_allocated()
149 pr_err("expect lru but is %s at page index %d\n", in binder_selftest_free_buf()
168 pr_err("expect free but is %s at page index %d\n", in binder_selftest_free_page()
193 static bool is_dup(int *seq, int index, int val) in is_dup() argument
197 for (i = 0; i < index; i++) { in is_dup()
207 int index, size_t end) in binder_selftest_free_seq()
211 if (index == BUFFER_NUM) { in binder_selftest_free_seq()
216 if (is_dup(seq, index, i)) in binder_selftest_free_seq()
218 seq[index] = i; in binder_selftest_free_seq()
219 binder_selftest_free_seq(alloc, sizes, seq, index in binder_selftest_free_seq()
205 binder_selftest_free_seq(struct binder_alloc *alloc, size_t *sizes, int *seq, int index, size_t end) binder_selftest_free_seq() argument
249 binder_selftest_alloc_offset(struct binder_alloc *alloc, size_t *end_offset, int index) binder_selftest_alloc_offset() argument
[all...]
/kernel/liteos_m/testsuites/src/
H A DosTest.c117 UINT32 index; in QueueUsedCountGet() local
120 for (index = 0; index < LOSCFG_BASE_IPC_QUEUE_LIMIT; index++) { in QueueUsedCountGet()
121 LosQueueCB *queueNode = ((LosQueueCB *)g_allQueue) + index; in QueueUsedCountGet()
128 for (index = 0; index < LOSCFG_BASE_IPC_STATIC_QUEUE_LIMIT; index++) { in QueueUsedCountGet()
129 LosQueueCB *queueNode = ((LosQueueCB *)g_staticQueue) + index; in QueueUsedCountGet()
148 for (UINT32 index in TaskUsedCountGet()
[all...]
/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/
H A Dtest_VIDIOC_ENUMSTD.c11 * 1 Jan 2009 0.3 Added index=S32_MAX and S32_MAX+1
56 std.index = i; in test_VIDIOC_ENUMSTD()
65 CU_ASSERT_EQUAL(std.index, i); in test_VIDIOC_ENUMSTD()
85 std2.index = std.index; in test_VIDIOC_ENUMSTD()
95 dprintf("\tstd = {.index=%u, .id=%llX, .name=\"%s\", " in test_VIDIOC_ENUMSTD()
99 std.index, in test_VIDIOC_ENUMSTD()
115 std2.index = i; in test_VIDIOC_ENUMSTD()
130 std.index = (__u32) S32_MAX; in test_VIDIOC_ENUMSTD_S32_MAX()
138 std2.index in test_VIDIOC_ENUMSTD_S32_MAX()
[all...]
H A Dtest_VIDIOC_ENUMOUTPUT.c47 output.index = i; in test_VIDIOC_ENUMOUTPUT()
57 CU_ASSERT_EQUAL(output.index, i); in test_VIDIOC_ENUMOUTPUT()
78 output2.index = output.index; in test_VIDIOC_ENUMOUTPUT()
88 dprintf("\toutput = {.index=%u, .name=\"%s\", " in test_VIDIOC_ENUMOUTPUT()
92 output.index, in test_VIDIOC_ENUMOUTPUT()
108 output2.index = i; in test_VIDIOC_ENUMOUTPUT()
127 output.index = (__u32) S32_MAX; in test_VIDIOC_ENUMOUTPUT_S32_MAX()
135 output2.index = (__u32) S32_MAX; in test_VIDIOC_ENUMOUTPUT_S32_MAX()
146 output.index in test_VIDIOC_ENUMOUTPUT_S32_MAX_1()
[all...]
/third_party/musl/porting/liteos_a/kernel/src/time/
H A D__tz.c36 static const unsigned char *zi, *trans, *index, *types, *abbrevs, *abbrevs_end; variable
58 size_t a = 0, n = (index-trans)>>scale, m; in scan_trans()
71 if (local) off = (int32_t)zi_read32(types + 6 * index[m-1]); in scan_trans()
80 /* First and last entry are special. First means to use lowest-index in scan_trans()
82 n = (index-trans)>>scale; in scan_trans()
95 * and the index-zero (after transition) type as the alt. */ in scan_trans()
97 if (alt) *alt = index[0]; in scan_trans()
104 if (a && types[6*index[a-1]+4] != types[6*index[a]+4]) in scan_trans()
105 *alt = index[ in scan_trans()
[all...]
/third_party/node/deps/v8/src/regexp/
H A Dregexp-utils.cc20 const int index = capture * 2; in GenericCaptureGetter() local
21 if (index >= match_info->NumberOfCaptureRegisters()) { in GenericCaptureGetter()
26 const int match_start = match_info->Capture(index); in GenericCaptureGetter()
27 const int match_end = match_info->Capture(index + 1); in GenericCaptureGetter()
146 // Check that the index refers to "exec" method (this has to be consistent in IsUnmodifiedRegExp()
171 uint64_t RegExpUtils::AdvanceStringIndex(Handle<String> string, uint64_t index, in AdvanceStringIndex() argument
173 DCHECK_LE(static_cast<double>(index), kMaxSafeInteger); in AdvanceStringIndex()
175 if (unicode && index < string_length) { in AdvanceStringIndex()
176 const uint16_t first = string->Get(static_cast<uint32_t>(index)); in AdvanceStringIndex()
177 if (first >= 0xD800 && first <= 0xDBFF && index in AdvanceStringIndex()
[all...]
/third_party/mesa3d/src/gallium/drivers/r300/
H A Dr300_vs.c44 unsigned index; in r300_shader_read_vs_outputs() local
49 index = info->output_semantic_index[i]; in r300_shader_read_vs_outputs()
53 assert(index == 0); in r300_shader_read_vs_outputs()
58 assert(index == 0); in r300_shader_read_vs_outputs()
63 assert(index < ATTR_COLOR_COUNT); in r300_shader_read_vs_outputs()
64 vs_outputs->color[index] = i; in r300_shader_read_vs_outputs()
68 assert(index < ATTR_COLOR_COUNT); in r300_shader_read_vs_outputs()
69 vs_outputs->bcolor[index] = i; in r300_shader_read_vs_outputs()
73 assert(index < ATTR_GENERIC_COUNT); in r300_shader_read_vs_outputs()
74 vs_outputs->generic[index] in r300_shader_read_vs_outputs()
[all...]
/third_party/rust/crates/clap/src/util/
H A Dflat_map.rs20 for (index, existing) in self.keys.iter().enumerate() {
22 std::mem::swap(&mut self.values[index], &mut value);
68 let index = some!(self in remove_entry()
73 let key = self.keys.remove(index); in remove_entry()
74 let value = self.values.remove(index); in remove_entry()
83 for (index, existing) in self.keys.iter().enumerate() { in entry()
85 return Entry::Occupied(OccupiedEntry { v: self, index }); in entry()
96 for (index, existing) in self.keys.iter().enumerate() { in get()
98 return Some(&self.values[index]); in get()
109 for (index, existin in get_mut()
[all...]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
H A DparseConst.cpp25 index(0), in TConstTraverser()
48 size_t index; member in TConstTraverser
135 index = 0; in visitAggregate()
170 if (index >= instanceSize) in visitConstantUnion()
178 if (index >= instanceSize) in visitConstantUnion()
180 leftUnionArray[index].cast(basicType, rightUnionArray[i]); in visitConstantUnion()
182 (index)++; in visitConstantUnion()
185 size_t totalSize = index + size; in visitConstantUnion()
189 for(size_t i = index; i < totalSize; i++) { in visitConstantUnion()
195 (index) in visitConstantUnion()
[all...]
/third_party/skia/third_party/externals/harfbuzz/test/api/
H A Dtest-ot-layout.c75 unsigned int index; in test_ot_layout_table_find_script() local
77 g_assert (hb_ot_layout_table_find_script (face, HB_OT_TAG_GSUB, HB_TAG ('a','r','a','b'), &index)); in test_ot_layout_table_find_script()
78 g_assert_cmpuint (0, ==, index); in test_ot_layout_table_find_script()
79 g_assert (hb_ot_layout_table_find_script (face, HB_OT_TAG_GSUB, HB_TAG ('d','f','l','t'), &index)); in test_ot_layout_table_find_script()
80 g_assert_cmpuint (1, ==, index); in test_ot_layout_table_find_script()
81 g_assert (hb_ot_layout_table_find_script (face, HB_OT_TAG_GSUB, HB_TAG ('l','a','t','n'), &index)); in test_ot_layout_table_find_script()
82 g_assert_cmpuint (2, ==, index); in test_ot_layout_table_find_script()
84 g_assert (hb_ot_layout_table_find_script (face, HB_OT_TAG_GPOS, HB_TAG ('a','r','a','b'), &index)); in test_ot_layout_table_find_script()
85 g_assert_cmpuint (0, ==, index); in test_ot_layout_table_find_script()
86 g_assert (!hb_ot_layout_table_find_script (face, HB_OT_TAG_GPOS, HB_TAG ('d','f','l','t'), &index)); in test_ot_layout_table_find_script()
[all...]

Completed in 16 milliseconds

1...<<51525354555657585960>>...999