/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_tc.c | 340 req->index = rq_idx; in otx2_tc_act_set_police() 440 req->index = act->rx_queue; in otx2_tc_parse_actions() 636 NL_SET_ERR_MSG_MOD(extack, "spi index not specified"); in otx2_tc_prepare_flow() 642 "SPI index is valid only for ESP/AH proto"); in otx2_tc_prepare_flow() 792 int index) in otx2_tc_get_entry_by_index() 798 if (i == index) in otx2_tc_get_entry_by_index() 826 int index = 0; in otx2_tc_add_to_flow_list() local 831 return index; in otx2_tc_add_to_flow_list() 838 index++; in otx2_tc_add_to_flow_list() 842 return index; in otx2_tc_add_to_flow_list() 791 otx2_tc_get_entry_by_index(struct otx2_flow_config *flow_cfg, int index) otx2_tc_get_entry_by_index() argument 918 int i = 0, index = 0; otx2_tc_update_mcam_table_del_req() local [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/samsung/exynos-gsc/ |
H A D | gsc-core.c | 200 const struct gsc_fmt *get_format(int index) in get_format() argument 202 if (index >= ARRAY_SIZE(gsc_formats)) in get_format() 205 return (struct gsc_fmt *)&gsc_formats[index]; in get_format() 208 const struct gsc_fmt *find_fmt(u32 *pixelformat, u32 *mbus_code, u32 index) in find_fmt() argument 213 if (index >= ARRAY_SIZE(gsc_formats)) in find_fmt() 222 if (index == i) in find_fmt() 312 fmt = find_fmt(NULL, NULL, f->index); in gsc_enum_fmt() 321 static int get_plane_info(struct gsc_frame *frm, u32 addr, u32 *index, u32 *ret_addr) in get_plane_info() argument 324 *index = 0; in get_plane_info() 327 *index in get_plane_info() [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/renesas/ |
H A D | renesas-ceu.c | 976 .index = 0, in ceu_init_mbus_fmt() 1000 sd_mbus_fmt.index++; in ceu_init_mbus_fmt() 1144 if (f->index >= ARRAY_SIZE(ceu_fmt_list)) in ceu_enum_fmt_vid_cap() 1147 fmt = &ceu_fmt_list[f->index]; in ceu_enum_fmt_vid_cap() 1188 if (inp->index >= ceudev->num_sd) in ceu_enum_input() 1191 ceusd = ceudev->subdevs[inp->index]; in ceu_enum_input() 1196 inp->index, ceusd->v4l2_sd->name); in ceu_enum_input() 1278 .index = fsize->index, in ceu_enum_framesizes() 1310 .index in ceu_enum_frameintervals() [all...] |
/kernel/linux/linux-6.6/drivers/of/ |
H A D | base.c | 325 int index = 0, score = 0; in __of_device_is_compatible() local 331 cp = of_prop_next_string(prop, cp), index++) { in __of_device_is_compatible() 333 score = INT_MAX/2 - (index << 2); in __of_device_is_compatible() 1244 int cell_count, int index, in __of_parse_phandle_with_args() 1250 if (index < 0) in __of_parse_phandle_with_args() 1258 * index matches, then fill the out_args structure and return, in __of_parse_phandle_with_args() 1262 if (cur_index == index) { in __of_parse_phandle_with_args() 1287 * -ENOENT : index is for empty phandle in __of_parse_phandle_with_args() 1302 * @index: index o 1241 __of_parse_phandle_with_args(const struct device_node *np, const char *list_name, const char *cells_name, int cell_count, int index, struct of_phandle_args *out_args) __of_parse_phandle_with_args() argument 1339 of_parse_phandle_with_args_map(const struct device_node *np, const char *list_name, const char *stem_name, int index, struct of_phandle_args *out_args) of_parse_phandle_with_args_map() argument 1867 of_console_check(struct device_node *dn, char *name, int index) of_console_check() argument [all...] |
/kernel/linux/linux-6.6/block/ |
H A D | genhd.c | 169 /* index in the above - for now: assume no multimajor ranges */ 218 int index, ret = 0; in __register_blkdev() local 224 for (index = ARRAY_SIZE(major_names)-1; index > 0; index--) { in __register_blkdev() 225 if (major_names[index] == NULL) in __register_blkdev() 229 if (index == 0) { in __register_blkdev() 235 major = index; in __register_blkdev() 259 index = major_to_index(major); in __register_blkdev() 262 for (n = &major_names[index]; * in __register_blkdev() 287 int index = major_to_index(major); unregister_blkdev() local [all...] |
/kernel/linux/linux-6.6/drivers/iio/light/ |
H A D | ltr501.c | 350 int ret, i, index = -1, status; in ltr501_set_it_time() local 354 index = i; in ltr501_set_it_time() 358 /* Make sure integ time index is valid */ in ltr501_set_it_time() 359 if (index < 0) in ltr501_set_it_time() 371 if (index > 1) in ltr501_set_it_time() 375 if (index == 1) in ltr501_set_it_time() 378 return regmap_field_write(data->reg_it, index); in ltr501_set_it_time() 385 int ret, index; in ltr501_read_it_time() local 387 ret = regmap_field_read(data->reg_it, &index); in ltr501_read_it_time() 391 /* Make sure integ time index i in ltr501_read_it_time() [all...] |
/kernel/linux/linux-6.6/sound/drivers/vx/ |
H A D | vx_mixer.c | 71 * @reg: register index 358 * @audio: the audio index 413 int codec = kcontrol->id.index; in vx_output_level_get() 424 int codec = kcontrol->id.index; in vx_output_level_put() 911 temp.index = i; in snd_vx_mixer_new() 922 temp.index = i; in snd_vx_mixer_new() 929 temp.index = i; in snd_vx_mixer_new() 935 temp.index = i; in snd_vx_mixer_new() 941 temp.index = i; in snd_vx_mixer_new() 949 temp.index in snd_vx_mixer_new() [all...] |
/kernel/liteos_m/kernel/src/ |
H A D | los_task.c | 424 UINT32 index;
in OsTaskInit() local 437 for (index = 0; index <= LOSCFG_BASE_CORE_TSK_LIMIT; index++) {
in OsTaskInit() 438 g_taskCBArray[index].taskStatus = OS_TASK_STATUS_UNUSED;
in OsTaskInit() 439 g_taskCBArray[index].taskID = index;
in OsTaskInit() 440 LOS_ListTailInsert(&g_losFreeTask, &g_taskCBArray[index].pendList);
in OsTaskInit() 446 g_losTask.runTask->taskID = index;
in OsTaskInit() 1427 LITE_OS_SEC_TEXT_MINOR UINT32 LOS_TaskSwitchInfoGet(UINT32 index, UINT3 argument [all...] |
/kernel/linux/linux-6.6/kernel/time/ |
H A D | hrtimer.c | 63 * There are more clockids than hrtimer bases. Thus, we index 74 .index = HRTIMER_BASE_MONOTONIC, 79 .index = HRTIMER_BASE_REALTIME, 84 .index = HRTIMER_BASE_BOOTTIME, 89 .index = HRTIMER_BASE_TAI, 94 .index = HRTIMER_BASE_MONOTONIC_SOFT, 99 .index = HRTIMER_BASE_REALTIME_SOFT, 104 .index = HRTIMER_BASE_BOOTTIME_SOFT, 109 .index = HRTIMER_BASE_TAI_SOFT, 231 int basenum = base->index; in switch_hrtimer_base() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | g723_1dec.c | 224 /* Compute pulse_pos index using the 13-bit combined position index */ in unpack_bitstream() 280 * @param index current subframe index 283 enum Rate cur_rate, int pitch_lag, int index) in gen_fcb_excitation() 290 if (subfrm->pulse_pos >= max_pos[index]) in gen_fcb_excitation() 294 j = PULSE_MAX - pulses[index]; in gen_fcb_excitation() 388 ppf->index = lag; in comp_ppf_gains() 452 ppf->index = 0; in comp_ppf_coeff() 514 * @return residual interpolation index i 282 gen_fcb_excitation(int16_t *vector, G723_1_Subframe *subfrm, enum Rate cur_rate, int pitch_lag, int index) gen_fcb_excitation() argument 522 int index, ccr, tgt_eng, best_eng, temp; comp_interp_index() local [all...] |
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
H A D | CollationAPITest.java | 280 * - resetting the iterator index 680 for (int index = 0; index < someCollators.length; index ++) in TestSafeClone() 683 someClonedCollators[index] in TestSafeClone() 684 = (RuleBasedCollator)someCollators[index].clone(); in TestSafeClone() 689 someClonedCollators[index].setStrength(Collator.TERTIARY); in TestSafeClone() 690 someCollators[index].setStrength(Collator.PRIMARY); in TestSafeClone() 691 someClonedCollators[index].setCaseLevel(false); in TestSafeClone() 692 someCollators[index] in TestSafeClone() [all...] |
/third_party/PyYAML/lib/yaml/ |
H A D | emitter.py | 667 index = 0 668 while index < len(scalar): 669 ch = scalar[index] 672 if index == 0: 711 if index == 0: 713 if index == len(scalar)-1: 720 if index == 0: 722 if index == len(scalar)-1: 733 index += 1 735 followed_by_whitespace = (index [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/ |
H A D | CollationAPITest.java | 283 * - reseting the iterator index 683 for (int index = 0; index < someCollators.length; index ++) in TestSafeClone() 686 someClonedCollators[index] in TestSafeClone() 687 = (RuleBasedCollator)someCollators[index].clone(); in TestSafeClone() 692 someClonedCollators[index].setStrength(Collator.TERTIARY); in TestSafeClone() 693 someCollators[index].setStrength(Collator.PRIMARY); in TestSafeClone() 694 someClonedCollators[index].setCaseLevel(false); in TestSafeClone() 695 someCollators[index] in TestSafeClone() [all...] |
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_meta_resolve_cs.c | 131 build_depth_stencil_resolve_compute_shader(struct radv_device *dev, int samples, int index, in build_depth_stencil_resolve_compute_shader() argument 134 enum glsl_base_type img_base_type = index == DEPTH_RESOLVE ? GLSL_TYPE_FLOAT : GLSL_TYPE_UINT; in build_depth_stencil_resolve_compute_shader() 140 index == DEPTH_RESOLVE ? "depth" : "stencil", in build_depth_stencil_resolve_compute_shader() 157 nir_alu_type type = index == DEPTH_RESOLVE ? nir_type_float32 : nir_type_uint32; in build_depth_stencil_resolve_compute_shader() 197 assert(index == DEPTH_RESOLVE); in build_depth_stencil_resolve_compute_shader() 201 if (index == DEPTH_RESOLVE) in build_depth_stencil_resolve_compute_shader() 207 if (index == DEPTH_RESOLVE) in build_depth_stencil_resolve_compute_shader() 325 create_depth_stencil_resolve_pipeline(struct radv_device *device, int samples, int index, in create_depth_stencil_resolve_pipeline() argument 337 build_depth_stencil_resolve_compute_shader(device, samples, index, resolve_mode); in create_depth_stencil_resolve_pipeline() 634 int index in emit_depth_stencil_resolve() local [all...] |
/third_party/ninja/src/ |
H A D | ninja.cc | 901 size_t index = command.find(rspfile);
in EvaluateCommandWithRspfile() 902 if (index == 0 || index == string::npos ||
in EvaluateCommandWithRspfile() 903 (command[index - 1] != '@' &&
in EvaluateCommandWithRspfile() 904 command.find("--option-file=") != index - 14 &&
in EvaluateCommandWithRspfile() 905 command.find("-f ") != index - 3))
in EvaluateCommandWithRspfile() 915 if (command[index - 1] == '@') {
in EvaluateCommandWithRspfile() 916 command.replace(index - 1, rspfile.length() + 1, rspfile_content);
in EvaluateCommandWithRspfile() 917 } else if (command.find("-f ") == index - 3) {
in EvaluateCommandWithRspfile() 918 command.replace(index in EvaluateCommandWithRspfile() [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | transreg.cpp | 372 // Caller must call DEBUG_setup first. Return index of given Entry, 735 * Return the index-th available ID. index must be between 0 736 * and countAvailableIDs() - 1, inclusive. If index is out of 739 const UnicodeString& TransliteratorRegistry::getAvailableID(int32_t index) const { in getAvailableID() 740 if (index < 0 || index >= availableIDs.count()) { in getAvailableID() 741 index = 0; in getAvailableID() 746 while (index-- >= 0) { in getAvailableID() 771 UnicodeString& TransliteratorRegistry::getAvailableSource(int32_t index, in getAvailableSource() argument 794 getAvailableTarget(int32_t index, const UnicodeString& source, UnicodeString& result) const getAvailableTarget() argument 835 getAvailableVariant(int32_t index, const UnicodeString& source, const UnicodeString& target, UnicodeString& result) const getAvailableVariant() argument [all...] |
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_manager.c | 92 * Map an attachment to a buffer index. 97 gl_buffer_index index; in attachment_to_buffer_index() local 101 index = BUFFER_FRONT_LEFT; in attachment_to_buffer_index() 104 index = BUFFER_BACK_LEFT; in attachment_to_buffer_index() 107 index = BUFFER_FRONT_RIGHT; in attachment_to_buffer_index() 110 index = BUFFER_BACK_RIGHT; in attachment_to_buffer_index() 113 index = BUFFER_DEPTH; in attachment_to_buffer_index() 116 index = BUFFER_ACCUM; in attachment_to_buffer_index() 119 index = BUFFER_COUNT; in attachment_to_buffer_index() 123 return index; in attachment_to_buffer_index() 131 buffer_index_to_attachment(gl_buffer_index index) buffer_index_to_attachment() argument [all...] |
/third_party/mesa3d/src/util/ |
H A D | register_allocate.c | 227 /* Users may rely on the class index being allocated in order starting from 0. */ in ra_alloc_reg_class() 228 class->index = regs->class_count++; in ra_alloc_reg_class() 229 regs->classes[class->index] = class; in ra_alloc_reg_class() 263 return c->index; in ra_class_index() 457 class->index = c; in ra_set_deserialize() 493 uint64_t index = ra_get_adjacency_bit_index(n1, n2); in ra_test_adjacency_bit() local 494 return BITSET_TEST(g->adjacency, index); in ra_test_adjacency_bit() 500 unsigned index = ra_get_adjacency_bit_index(n1, n2); in ra_set_adjacency_bit() local 501 BITSET_SET(g->adjacency, index); in ra_set_adjacency_bit() 507 unsigned index in ra_clear_adjacency_bit() local [all...] |
/third_party/node/deps/v8/src/compiler/ |
H A D | access-info.cc | 18 #include "src/objects/field-index-inl.h" 418 int index = descriptors->GetFieldIndex(descriptor); in ComputeDataFieldAccessInfo() local 428 FieldIndex field_index = FieldIndex::ForPropertyIndex(*map.object(), index, in ComputeDataFieldAccessInfo() 757 InternalIndex index = InternalIndex::NotFound(); in ComputePropertyAccessInfo() local 758 if (!TryLoadPropertyDetails(map, holder, name, &index, &details)) { in ComputePropertyAccessInfo() 762 if (index.is_found()) { in ComputePropertyAccessInfo() 793 receiver_map, name, holder.value(), index, access_mode, details); in ComputePropertyAccessInfo() 816 index, access_mode); in ComputePropertyAccessInfo() 826 holder, index, access_mode); in ComputePropertyAccessInfo() 833 DCHECK(!index in ComputePropertyAccessInfo() 1110 int const index = details.field_index(); LookupTransition() local [all...] |
/third_party/node/deps/v8/src/codegen/arm/ |
H A D | macro-assembler-arm.h | 15 #include "src/objects/tagged-index.h" 519 void LoadRoot(Register destination, RootIndex index) final { 520 LoadRoot(destination, index, al); 522 void LoadRoot(Register destination, RootIndex index, Condition cond); 672 void LoadNativeContextSlot(Register dst, int index); 734 void CompareRoot(Register obj, RootIndex index); 735 void PushRoot(RootIndex index) { in PushRoot() argument 738 LoadRoot(scratch, index); in PushRoot() 743 void JumpIfRoot(Register with, RootIndex index, Label* if_equal) { in JumpIfRoot() argument 744 CompareRoot(with, index); in JumpIfRoot() 749 JumpIfNotRoot(Register with, RootIndex index, Label* if_not_equal) JumpIfNotRoot() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Context_gles_ext_autogen.h | 70 GLuint index, const GLchar *name); \ 123 void getUnsignedBytei_v(GLenum target, GLuint index, GLubyte *data); \ 405 void getVertexAttribfvRobust(GLuint index, GLenum pname, GLsizei bufSize, GLsizei *length, \ 407 void getVertexAttribivRobust(GLuint index, GLenum pname, GLsizei bufSize, GLsizei *length, \ 409 void getVertexAttribPointervRobust(GLuint index, GLenum pname, GLsizei bufSize, \ 451 void getIntegeri_vRobust(GLenum target, GLuint index, GLsizei bufSize, GLsizei *length, \ 455 void getVertexAttribIivRobust(GLuint index, GLenum pname, GLsizei bufSize, GLsizei *length, \ 457 void getVertexAttribIuivRobust(GLuint index, GLenum pname, GLsizei bufSize, GLsizei *length, \ 465 void getInteger64i_vRobust(GLenum target, GLuint index, GLsizei bufSize, GLsizei *length, \ 482 void getBooleani_vRobust(GLenum target, GLuint index, GLsize [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | vk_utils.h | 113 // A packed attachment index interface with vulkan API 117 explicit constexpr PackedAttachmentIndex(uint32_t index) : mAttachmentIndex(index) {} in PackedAttachmentIndex() argument 819 void store(uint32_t index, VkImageAspectFlags aspectFlags, const VkClearValue &clearValue); 820 void storeNoDepthStencil(uint32_t index, const VkClearValue &clearValue); 822 void reset(size_t index) in reset() argument 824 mValues[index] = {}; in reset() 825 mEnabled.reset(index); in reset() 828 bool test(size_t index) const { return mEnabled.test(index); } in test() [all...] |
H A D | VertexArrayVk.cpp | 152 // We use an alignment of four for index data. This ensures that compute shaders can read index in mDirtyLineLoopTranslation() 335 for (size_t index = 0; index < indexCount; index++) in convertIndexBufferCPU() 337 GLushort value = static_cast<GLushort>(in[index]); in convertIndexBufferCPU() 338 if (in[index] == kUnsignedByteRestartValue) in convertIndexBufferCPU() 343 expandedDst[index] = value; in convertIndexBufferCPU() 349 for (size_t index = 0; index < indexCoun in convertIndexBufferCPU() [all...] |
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-coretext.cc | 490 unsigned int index; member 497 return a->index < b->index ? -1 : a->index > b->index ? 1 : in cmp() 573 event->index = features[i].start; in _hb_coretext_shape() 578 event->index = features[i].end; in _hb_coretext_shape() 591 event->index = 0; /* This value does magic. */ in _hb_coretext_shape() 603 if (event->index != last_index) in _hb_coretext_shape() 671 range->index_last = event->index in _hb_coretext_shape() [all...] |
/third_party/python/Lib/tkinter/ |
H A D | ttk.py | 642 def bbox(self, index): 644 bounding box of the character given by index.""" 645 return self._getints(self.tk.call(self._w, "bbox", index)) 683 returns the index of the current value in the list of values 804 valid for method index) 838 def index(self, tab_id): member in Notebook 839 """Returns the numeric index of the tab specified by tab_id, or 841 return self.tk.getint(self.tk.call(self._w, "index", tab_id)) 847 pos is either the string end, an integer index, or the name of 933 pos is either the string end, and integer index, o 1315 def index(self, item): global() member in Treeview [all...] |