/kernel/linux/linux-6.6/net/sched/ |
H A D | act_tunnel_key.c | 187 NL_SET_ERR_MSG(extack, "Missing tunnel key erspan option index"); in tunnel_key_copy_erspan_opt() 207 md->u.index = nla_get_be32(nla); in tunnel_key_copy_erspan_opt() 377 u32 index; in tunnel_key_init() local 398 index = parm->index; in tunnel_key_init() 399 err = tcf_idr_check_alloc(tn, &index, a, bind); in tunnel_key_init() 502 ret = tcf_idr_create_from_flags(tn, index, est, a, in tunnel_key_init() 558 tcf_idr_cleanup(tn, index); in tunnel_key_init() 636 nla_put_be32(skb, TCA_TUNNEL_KEY_ENC_OPT_ERSPAN_INDEX, md->u.index)) in tunnel_key_erspan_opts_dump() 723 .index in tunnel_key_dump() [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | Trie2Writable.java | 65 /* set the index-2 indexes for the 2=0x80>>UTRIE2_SHIFT_2 ASCII data blocks */ in init() 93 * set the remaining indexes in the BMP index-2 block in init() 101 * Fill the index gap with impossible values so that compaction in init() 102 * does not overlap other index-2 blocks with the gap. in init() 108 /* set the indexes in the null index-2 block */ in init() 115 /* set the index-1 indexes for the linear index-2 block */ in init() 123 /* set the remaining index-1 indexes to the null index-2 block */ in init() 337 this.index in uncompact() [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | SpoofChecker.java | 963 // Build up the string array, and record the index of each string therein in build() 979 // convention that is used in the final run-time string table index. in build() 1110 public SPUString getByIndex(int index) { in getByIndex() argument 1111 SPUString retString = fVec.elementAt(index); in getByIndex() 1224 * The index of the first string position that failed a check. 1345 int index = findHiddenOverlay(text); in failsChecks() 1346 if (index != -1) { in failsChecks() 1774 // For longer strings, the value array contains an index into the strings 1993 * Return the code point (key) at the specified index. 1995 * @param index 1999 codePointAt(int index) codePointAt() argument 2011 appendValueTo(int index, StringBuilder dest) appendValueTo() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/ |
H A D | BytesTrieTest.java | 561 int index, step; in buildTrie() 564 index=dataLength/2; in buildTrie() 568 index=dataLength/5; in buildTrie() 571 index=dataLength-1; in buildTrie() 576 builder_.add(data[index].bytes, data[index].bytes.length, data[index].value); in buildTrie() 577 index=(index+step)%dataLength; in buildTrie() 641 errln(String.format("trie.current()!=hasNext before end of %s (at index in checkNext() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | Trie2Writable.java | 67 /* set the index-2 indexes for the 2=0x80>>UTRIE2_SHIFT_2 ASCII data blocks */ in init() 95 * set the remaining indexes in the BMP index-2 block in init() 103 * Fill the index gap with impossible values so that compaction in init() 104 * does not overlap other index-2 blocks with the gap. in init() 110 /* set the indexes in the null index-2 block */ in init() 117 /* set the index-1 indexes for the linear index-2 block */ in init() 125 /* set the remaining index-1 indexes to the null index-2 block */ in init() 339 this.index in uncompact() [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
H A D | BytesTrieTest.java | 564 assertEquals("differently encoded delta " + delta + " at byte index " + i, b0, b1); in TestDelta() 595 int index, step; in buildTrie() 598 index=dataLength/2; in buildTrie() 602 index=dataLength/5; in buildTrie() 605 index=dataLength-1; in buildTrie() 610 builder_.add(data[index].bytes, data[index].bytes.length, data[index].value); in buildTrie() 611 index=(index in buildTrie() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | SpoofChecker.java | 911 // Build up the string array, and record the index of each string therein in build() 927 // convention that is used in the final run-time string table index. in build() 1058 public SPUString getByIndex(int index) { in getByIndex() argument 1059 SPUString retString = fVec.elementAt(index); in getByIndex() 1166 * The index of the first string position that failed a check. 1278 int index = findHiddenOverlay(text); in failsChecks() 1279 if (index != -1) { in failsChecks() 1701 // For longer strings, the value array contains an index into the strings 1920 * Return the code point (key) at the specified index. 1922 * @param index 1926 codePointAt(int index) codePointAt() argument 1938 appendValueTo(int index, StringBuilder dest) appendValueTo() argument [all...] |
/third_party/jinja2/ |
H A D | runtime.py | 190 index = blocks.index(current) + 1 191 blocks[index] 196 return BlockReference(name, self, blocks, index) 442 self._length = len(iterable) + self.index + (self._after is not missing) 455 def index(self) -> int: member in LoopContext 465 return self.length - self.index 581 return f"<{type(self).__name__} {self.index}/{self.length}>" 603 self._length = len(iterable) + self.index + (self._after is not missing) 609 return await self.length - self.index [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_gather_info.c | 66 /* Vertex index is the outermost array index. */ in get_deref_info() 70 *cross_invocation = !src_is_invocation_id(&(*p)->arr.index); in get_deref_info() 72 *cross_invocation = !src_is_local_invocation_index(&(*p)->arr.index); in get_deref_info() 81 *indirect |= !nir_src_is_const((*p)->arr.index); in get_deref_info() 183 !is_output_read && var->data.index == 1) in set_io_mask() 230 return nir_src_is_const(deref->arr.index) ? in get_io_offset() 231 (nir_src_as_uint(deref->arr.index) + var->data.location_frac) / 4u : in get_io_offset() 245 if (!nir_src_is_const(d->arr.index)) in get_io_offset() 249 nir_src_as_uint(d->arr.index); in get_io_offset() [all...] |
/third_party/node/deps/v8/src/objects/ |
H A D | code.cc | 396 SharedFunctionInfo DeoptimizationData::GetInlinedFunction(int index) { in GetInlinedFunction() argument 397 if (index == -1) { in GetInlinedFunction() 400 return SharedFunctionInfo::cast(LiteralArray().get(index)); in GetInlinedFunction() 443 os << " index bytecode-offset node-id pc"; in DeoptimizationDataPrint() 445 os << " index bytecode-offset pc"; in DeoptimizationDataPrint() 852 int DependentCode::FillEntryFromBack(int index, int length) { in FillEntryFromBack() argument 853 DCHECK_EQ(index % 2, 0); in FillEntryFromBack() 855 for (int i = length - kSlotsPerEntry; i > index; i -= kSlotsPerEntry) { in FillEntryFromBack() 859 Set(index + kCodeSlotOffset, obj); in FillEntryFromBack() 860 Set(index in FillEntryFromBack() [all...] |
H A D | feedback-vector.h | 178 inline Handle<FeedbackCell> GetFeedbackCell(int index); 179 inline FeedbackCell cell(int index); 245 // Conversion from a slot to an integer index to the underlying array. 248 // Conversion from an integer index to the underlying array to a slot. 249 static inline FeedbackSlot ToSlot(intptr_t index); 260 // Returns the feedback cell at |index| that is used to create the 262 inline Handle<FeedbackCell> GetClosureFeedbackCell(int index) const; 263 inline FeedbackCell closure_feedback_cell(int index) const; 335 static constexpr int OffsetOfElementAt(int index) { in OffsetOfElementAt() argument 336 return kRawFeedbackSlotsOffset + index * kTaggedSiz in OffsetOfElementAt() [all...] |
/third_party/python/Lib/test/ |
H A D | test_bdb.py | 128 self.stack, self.index = super().get_stack(f, t) 129 self.frame = self.stack[self.index][0] 130 return self.stack, self.index 152 if not self.index: 154 self.index -= 1 155 self.frame = self.stack[self.index][0] 159 if self.index + 1 == len(self.stack): 161 self.index += 1 162 self.frame = self.stack[self.index][0]
|
/third_party/python/Lib/ |
H A D | _collections_abc.py | 986 def __getitem__(self, index): 1009 def index(self, value, start=0, stop=None): member in Sequence 1010 '''S.index(value, [start, [stop]]) -> integer -- return first index of value. 1064 def __setitem__(self, index, value): 1068 def __delitem__(self, index): 1072 def insert(self, index, value): 1073 'S.insert(index, value) -- insert value before index' 1101 def pop(self, index [all...] |
/device/soc/rockchip/common/sdk_linux/include/linux/ |
H A D | pwm.h | 72 * @hwpwm: per-chip relative index of the PWM device 73 * @pwm: global index of the PWM device 395 struct pwm_device *pwm_request_from_chip(struct pwm_chip *chip, unsigned int index, const char *label); 471 static inline struct pwm_device *pwm_request_from_chip(struct pwm_chip *chip, unsigned int index, const char *label) in pwm_request_from_chip() argument 546 unsigned int index; member 556 .provider = (_provider), .index = (_index), .dev_id = (_dev_id), .con_id = (_con_id), .period = (_period), \
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/ump/common/ |
H A D | ump_kernel_api.c | 92 UMP_KERNEL_API_EXPORT ump_dd_status_code ump_dd_phys_block_get(ump_dd_handle memh, unsigned long index, ump_dd_physical_block *block) in ump_dd_phys_block_get() argument 103 if (index >= mem->nr_blocks) { in ump_dd_phys_block_get() 104 DBG_MSG(5, ("Invalid index specified in ump_dd_phys_block_get()\n")); in ump_dd_phys_block_get() 108 DBG_MSG(5, ("Returning physical block information. ID: %u, index: %lu\n", mem->secure_id, index)); in ump_dd_phys_block_get() 110 *block = mem->block_array[index]; in ump_dd_phys_block_get()
|
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
H A D | dhd_cfg80211.c | 302 int8 index; in dhd_cfgvendor_priv_string_handler() local 310 index = dhd_net2idx(dhd->info, ndev); in dhd_cfgvendor_priv_string_handler() 311 if (index == DHD_BAD_IF) { in dhd_cfgvendor_priv_string_handler() 322 ret = dhd_ioctl_process(dhd, index, &ioc, buf); in dhd_cfgvendor_priv_string_handler()
|
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/driver_add/liteos/ |
H A D | gn_file_add_config.py | 23 for index, line in enumerate(date_lines):
30 end_index = index
101 for index, i in enumerate(date):
108 macro_definition_dict[temp_name] = date[index + 1].strip()
|
/kernel/linux/linux-5.10/drivers/clk/at91/ |
H A D | clk-generated.c | 208 static int clk_generated_set_parent(struct clk_hw *hw, u8 index) in clk_generated_set_parent() argument 212 if (index >= clk_hw_get_num_parents(hw)) in clk_generated_set_parent() 216 gck->parent_id = clk_mux_index_to_val(gck->mux_table, 0, index); in clk_generated_set_parent() 218 gck->parent_id = index; in clk_generated_set_parent()
|
/kernel/linux/linux-5.10/drivers/clk/qcom/ |
H A D | clk-regmap-mux-div.c | 179 static int mux_div_set_parent(struct clk_hw *hw, u8 index) in mux_div_set_parent() argument 183 return mux_div_set_src_div(md, md->parent_map[index], md->div); in mux_div_set_parent() 195 unsigned long prate, u8 index) in mux_div_set_rate_and_parent() 200 md->parent_map[index]); in mux_div_set_rate_and_parent() 194 mux_div_set_rate_and_parent(struct clk_hw *hw, unsigned long rate, unsigned long prate, u8 index) mux_div_set_rate_and_parent() argument
|
/kernel/linux/linux-5.10/arch/arm/mach-omap2/ |
H A D | board-n8x0.c | 326 int bit, *openp, index; in n8x0_mmc_callback() local 331 index = 1; in n8x0_mmc_callback() 335 index = 0; in n8x0_mmc_callback() 343 omap_mmc_notify_cover_event(mmc_device, index, *openp); in n8x0_mmc_callback()
|
/kernel/linux/linux-5.10/arch/x86/kvm/svm/ |
H A D | pmu.c | 25 enum index { enum 80 static enum index msr_to_index(u32 msr) in msr_to_index() 244 u32 msr = msr_info->index; in amd_pmu_get_msr() 266 u32 msr = msr_info->index; in amd_pmu_set_msr()
|
/kernel/linux/linux-5.10/arch/x86/math-emu/ |
H A D | get_address.c | 74 u_char ss, index, base; in sib() local 83 index = (base >> 3) & 7; in sib() 91 if (index == 4) { in sib() 92 /* No index register */ in sib() 97 offset += (REG_(index)) << ss; in sib()
|
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
H A D | rscalc.c | 721 u32 index; in acpi_rs_get_pci_routing_table_length() local 743 for (index = 0; index < number_of_elements; index++) { in acpi_rs_get_pci_routing_table_length()
|
/kernel/linux/linux-5.10/drivers/clk/x86/ |
H A D | clk-pmc-atom.c | 54 /* Return an index in parent table */ 66 /* Return clk index of parent */ 67 static inline int plt_parent_to_reg(int index) in plt_parent_to_reg() argument 69 switch (index) { in plt_parent_to_reg() 106 static int plt_clk_set_parent(struct clk_hw *hw, u8 index) in plt_clk_set_parent() argument 110 plt_clk_reg_update(clk, PMC_MASK_CLK_FREQ, plt_parent_to_reg(index)); in plt_clk_set_parent()
|
/kernel/linux/linux-6.6/arch/arm/mach-omap2/ |
H A D | board-n8x0.c | 156 /* Slot index 1, VSD power, GPIO 23 */ 159 /* Slot index 1, VIO power, GPIO 9 */ 283 int bit, *openp, index; in n8x0_mmc_callback() local 288 index = 1; in n8x0_mmc_callback() 292 index = 0; in n8x0_mmc_callback() 300 omap_mmc_notify_cover_event(mmc_device, index, *openp); in n8x0_mmc_callback()
|