/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
H A D | sfn_virtualvalues.h | 108 virtual bool ready(int block, int index) const; 169 bool ready(int block, int index) const override; 179 int index() const {return m_index;} in index() function in r600::Register 285 bool ready(int block_id, int index) const; 364 bool ready_for_direct(int block, int index, int chan) const; 365 bool ready_for_indirect(int block, int index, int chan) const; 400 LocalArrayValue(PRegister reg, PVirtualValue index, LocalArray &array); 405 bool ready(int block, int index) const override;
|
/third_party/mesa3d/src/imagination/vulkan/ |
H A D | pvr_pass.c | 113 color_attachment_mask |= (1 << pass->attachments[color_idx].index); in pvr_is_subpass_initops_flush_needed() 386 attachment->index = i; in pvr_CreateRenderPass2() 417 uint32_t index; in pvr_CreateRenderPass2() local 429 index = subpass->color_attachments[j]; in pvr_CreateRenderPass2() 430 subpass->sample_count = pass->attachments[index].sample_count; in pvr_CreateRenderPass2() 437 index = desc->pDepthStencilAttachment->attachment; in pvr_CreateRenderPass2() 438 subpass->sample_count = pass->attachments[index].sample_count; in pvr_CreateRenderPass2() 475 /* Reset the dependencies count so we can start from 0 and index into in pvr_CreateRenderPass2() 479 subpass->index = i; in pvr_CreateRenderPass2()
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | plurfmt.cpp | 306 int32_t index = part.getIndex(); in format() local 308 return appendTo.append(pattern, prevIndex, index - prevIndex); in format() 311 appendTo.append(pattern, prevIndex, index - prevIndex); in format() 317 appendTo.append(pattern, prevIndex, index - prevIndex); in format() 318 prevIndex = index; in format() 320 index = msgPattern.getPart(partIndex).getLimit(); in format() 321 MessageImpl::appendReducedApostrophes(pattern, prevIndex, index, appendTo); in format() 322 prevIndex = index; in format()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
H A D | nv50_push.c | 38 prim_restart_search_i08(uint8_t *elts, unsigned push, uint8_t index) in prim_restart_search_i08() argument 42 if (elts[i] == index) in prim_restart_search_i08() 48 prim_restart_search_i16(uint16_t *elts, unsigned push, uint16_t index) in prim_restart_search_i16() argument 52 if (elts[i] == index) in prim_restart_search_i16() 58 prim_restart_search_i32(uint32_t *elts, unsigned push, uint32_t index) in prim_restart_search_i32() argument 62 if (elts[i] == index) in prim_restart_search_i32() 287 nv04_resource(info->index.resource), 0, NOUVEAU_BO_RD); in nv50_push_vbo() 289 ctx.idxbuf = info->index.user; in nv50_push_vbo()
|
/third_party/ltp/testcases/lib/ |
H A D | tst_net_vars.c | 426 unsigned int index = strlen(net); in get_host_from_ip() local 430 if (index == strlen(ip)) in get_host_from_ip() 434 if (index > 0 && index < strlen(ip)) { in get_host_from_ip() 435 len = strlen(ip) - index - 1; in get_host_from_ip() 436 assert(ip[index] == ':' || ip[index] == '.'); in get_host_from_ip() 437 memmove(buf, buf + index + 1, len); in get_host_from_ip()
|
/third_party/node/deps/v8/src/codegen/arm/ |
H A D | assembler-arm-inl.h | 340 for (int index = 0; index < T::kNumRegisters; index++) { in CanAcquireVfp() 341 T reg = T::from_code(index); in CanAcquireVfp() 354 for (int index = 0; index < T::kNumRegisters; index++) { in AcquireVfp() 355 T reg = T::from_code(index); in AcquireVfp()
|
/third_party/node/deps/v8/src/torque/ |
H A D | class-debug-reader-generator.cc | 37 ValueTypeFieldIterator(const Type* type, size_t index) in ValueTypeFieldIterator() argument 38 : type_(type), index_(index) {} in ValueTypeFieldIterator() 89 size_t index = 0; in end() local 92 index = (*struct_type)->fields().size(); in end() 101 index = bit_field_struct_type->fields().size(); in end() 103 return {type_, index}; in end() 272 if (field.index) { in GenerateFieldValueAccessor() 388 if (field.index) { in GenerateGetPropsChunkForField()
|
/third_party/mesa3d/src/util/indices/ |
H A D | u_primconvert.c | 30 * hardware. It handles binding new index buffer state, and restoring 147 src = info->has_user_indices ? info->index.user : NULL; in primconvert_init_draw() 149 /* Map the index range we're interested in (not the whole buffer) */ in primconvert_init_draw() 150 src = pipe_buffer_map_range(pc->pipe, info->index.resource, in primconvert_init_draw() 172 /* step 2: get a translator function which does nothing but handle any index size conversions in primconvert_init_draw() 217 /* (step 5: allocate gpu memory sized for the FINAL index count) */ in primconvert_init_draw() 219 &ib_offset, &new_info->index.resource, &dst); in primconvert_init_draw() 228 * loop over all the direct draws in order to rewrite them into a single index buffer in primconvert_init_draw() 232 /* step 6a: get the index count for this draw, once converted */ in primconvert_init_draw() 234 /* step 6b: handle index siz in primconvert_init_draw() [all...] |
/third_party/python/Tools/scripts/ |
H A D | summarize_stats.py | 74 _, index = key[:-1].split("[") 75 index = int(index) 76 failure_kinds[index] = family_stats[key] 77 failures = [(value, index) for (index, value) in enumerate(failure_kinds)] 80 for value, index in failures: 83 rows.append((kind_to_text(index, defines, name), value, f"{100*value/total_failures:0.1f}%"))
|
/third_party/skia/third_party/externals/angle2/src/common/ |
H A D | FastVector_unittest.cpp | 197 for (size_t index = 0; index < 2u; ++index) in TEST() 199 EXPECT_EQ(1, vec[index]); in TEST() 201 for (size_t index = 2u; index < 10u; ++index) in TEST() 203 EXPECT_EQ(2, vec[index]); in TEST()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/ |
H A D | ReplaceClipCullDistanceVariable.cpp | 31 typedef TIntermNode *AssignFunc(const unsigned int index, 50 // Traverse the tree and collect the redeclaration and all constant index references of 159 // index 161 // Max constant index that is used to reference gl_ClipDistance 163 // List of constant index reference of gl_ClipDistance 196 TIntermNode *simpleAssignFunc(const unsigned int index, in simpleAssignFunc() argument 201 // leftSymbol[index] = rightSymbol[index] in simpleAssignFunc() 202 // E.g., ANGLEClipDistance[index] = gl_ClipDistance[index] in simpleAssignFunc() 212 assignFuncWithEnableFlags(const unsigned int index, TIntermSymbol *leftSymbol, TIntermSymbol *rightSymbol, const TIntermTyped *enableFlags) assignFuncWithEnableFlags() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | validationES32.cpp | 121 GLuint index, in ValidateColorMaski() 127 if (index >= static_cast<GLuint>(context->getCaps().maxDrawBuffers)) in ValidateColorMaski() 200 GLuint index) in ValidateDisablei() 205 if (index >= static_cast<GLuint>(context->getCaps().maxDrawBuffers)) in ValidateDisablei() 275 GLuint index) in ValidateEnablei() 280 if (index >= static_cast<GLuint>(context->getCaps().maxDrawBuffers)) in ValidateEnablei() 453 GLuint index) in ValidateIsEnabledi() 458 if (index >= static_cast<GLuint>(context->getCaps().maxDrawBuffers)) in ValidateIsEnabledi() 119 ValidateColorMaski(const Context *context, angle::EntryPoint entryPoint, GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a) ValidateColorMaski() argument 197 ValidateDisablei(const Context *context, angle::EntryPoint entryPoint, GLenum target, GLuint index) ValidateDisablei() argument 272 ValidateEnablei(const Context *context, angle::EntryPoint entryPoint, GLenum target, GLuint index) ValidateEnablei() argument 450 ValidateIsEnabledi(const Context *context, angle::EntryPoint entryPoint, GLenum target, GLuint index) ValidateIsEnabledi() argument
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libEGL/ |
H A D | Config.cpp | 439 EGLint index; 440 for(index = 0; index < configSize && index < static_cast<EGLint>(passed.size()); index++) 442 configs[index] = passed[index]->getHandle(); 445 *numConfig = index;
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | plurfmt.cpp | 306 int32_t index = part.getIndex(); in format() local 308 return appendTo.append(pattern, prevIndex, index - prevIndex); in format() 311 appendTo.append(pattern, prevIndex, index - prevIndex); in format() 317 appendTo.append(pattern, prevIndex, index - prevIndex); in format() 318 prevIndex = index; in format() 320 index = msgPattern.getPart(partIndex).getLimit(); in format() 321 MessageImpl::appendReducedApostrophes(pattern, prevIndex, index, appendTo); in format() 322 prevIndex = index; in format()
|
/third_party/skia/tests/ |
H A D | PathOpsQuadIntersectionTest.cpp | 16 for (size_t index = 0; index < quadraticTests_count; ++index) { in standardTestCases() 17 const QuadPts& q1 = quadraticTests[index][0]; in standardTestCases() 21 const QuadPts& q2 = quadraticTests[index][1]; in standardTestCases() 30 SkDebugf("[%d] quad1 order=%d\n", static_cast<int>(index), order1); in standardTestCases() 35 SkDebugf("[%d] quad2 order=%d\n", static_cast<int>(index), order2); in standardTestCases() 49 __FUNCTION__, static_cast<int>(index), pt, tt1, xy1.fX, xy1.fY, in standardTestCases()
|
/third_party/skia/third_party/externals/brotli/research/ |
H A D | deorummolae.cc | 147 static void cutMatch(std::vector<std::vector<TextChar>>* data, TextIdx index, in cutMatch() argument 152 TextIdx i = index; in cutMatch() 160 sa->at(index), length, data, file_map, file_offset, next_terminator); in cutMatch() 161 if (index == 0 || lcp->at(index - 1) < length) break; in cutMatch() 162 index--; in cutMatch() 165 index = invese_sa->at(sa->at(index) + 1); in cutMatch()
|
/third_party/skia/third_party/externals/tint/src/transform/ |
H A D | zero_init_workgroup_memory.cc | 51 /// ArrayIndex represents a function on the local invocation index, of 105 /// index. 167 // No existing local index parameter. Append one to the entry point. in Run() 312 // The index for this array is: in BuildZeroingStatements() 319 auto index = in BuildZeroingStatements() 322 return Expression{b.IndexAccessor(a.expr, index), a.num_iterations, in BuildZeroingStatements() 337 /// @param iteration a function that returns the index of the current 346 for (auto index : array_indices) { in DeclareArrayIndices() 347 auto name = array_index_names.at(index); in DeclareArrayIndices() 349 (num_iterations > index in DeclareArrayIndices() [all...] |
/third_party/protobuf/java/util/src/test/java/com/google/protobuf/util/ |
H A D | TimeUtilTest.java | 92 int index = 0; in run() 96 result = TimeUtil.parseTimestamp(strings[index]); in run() 98 errorMessage = "Failed to parse timestamp: " + strings[index]; in run() 101 if (result.getSeconds() != values[index].getSeconds() in run() 102 || result.getNanos() != values[index].getNanos()) { in run() 104 "Actual result: " + result.toString() + ", expected: " + values[index].toString(); in run() 107 index = (index + 1) % strings.length; in run()
|
/third_party/skia/gm/ |
H A D | convex_all_line_paths.cpp | 186 static SkPath GetPath(int index, SkPathDirection dir) { in GetPath() argument 190 if (index < (int) SK_ARRAY_COUNT(ConvexLineOnlyData::gPoints)) { in GetPath() 192 points = ConvexLineOnlyData::gPoints[index]; in GetPath() 193 numPts = (int)ConvexLineOnlyData::gSizes[index]; in GetPath() 198 switch (index-SK_ARRAY_COUNT(ConvexLineOnlyData::gPoints)) { in GetPath() 272 void drawPath(SkCanvas* canvas, int index, SkPoint* offset) { in drawPath() argument 276 SkPath path = GetPath(index, SkPathDirection::kCW); in drawPath() 303 SkPath path = GetPath(index, dirs[i%2]); in drawPath()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_io.c | 1081 static void qlcnic_handle_fw_message(int desc_cnt, int index, in qlcnic_handle_fw_message() argument 1091 desc = &sds_ring->desc_head[index]; in qlcnic_handle_fw_message() 1095 index = get_next_index(index, sds_ring->num_desc); in qlcnic_handle_fw_message() 1139 u16 index, u16 cksum) in qlcnic_process_rxbuf() 1144 buffer = &ring->rx_buf_arr[index]; in qlcnic_process_rxbuf() 1202 int index, length, cksum, pkt_offset, is_lb_pkt; in qlcnic_process_rcv() local 1210 index = qlcnic_get_sts_refhandle(sts_data0); in qlcnic_process_rcv() 1211 if (unlikely(index >= rds_ring->num_desc)) in qlcnic_process_rcv() 1214 buffer = &rds_ring->rx_buf_arr[index]; in qlcnic_process_rcv() 1137 qlcnic_process_rxbuf(struct qlcnic_adapter *adapter, struct qlcnic_host_rds_ring *ring, u16 index, u16 cksum) qlcnic_process_rxbuf() argument 1273 int index, l2_hdr_offset, l4_hdr_offset, is_lb_pkt; qlcnic_process_lro() local 1496 int index, length, cksum, pkt_offset; qlcnic_process_rcv_diag() local 1725 int index, length, cksum, is_lb_pkt; qlcnic_83xx_process_rcv() local 1796 int index, is_lb_pkt; qlcnic_83xx_process_lro() local 2179 int index, length; qlcnic_83xx_process_rcv_diag() local [all...] |
/kernel/linux/linux-5.10/drivers/pci/controller/ |
H A D | pci-tegra.c | 381 unsigned int index; member 456 if (port->index + 1 == slot) { in tegra_pcie_map_bus() 509 switch (port->index) { in tegra_pcie_port_get_pex_ctrl() 728 value |= AFI_PCIE_CONFIG_PCIE_DISABLE(port->index); in tegra_pcie_port_disable() 729 value |= AFI_PCIE_CONFIG_PCIE_CLKREQ_GPIO(port->index); in tegra_pcie_port_disable() 1068 port->index, err); in tegra_pcie_phy_power_on() 1099 port->index, err); in tegra_pcie_phy_power_off() 1132 value &= ~AFI_PCIE_CONFIG_PCIE_DISABLE(port->index); in tegra_pcie_enable_controller() 1133 value &= ~AFI_PCIE_CONFIG_PCIE_CLKREQ_GPIO(port->index); in tegra_pcie_enable_controller() 1343 unsigned int index) in devm_of_phy_optional_get_index() 1340 devm_of_phy_optional_get_index(struct device *dev, struct device_node *np, const char *consumer, unsigned int index) devm_of_phy_optional_get_index() argument 1597 unsigned int index = i * 32 + offset; tegra_pcie_msi_irq() local 2101 unsigned int index; tegra_pcie_parse_dt() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_io.c | 1082 static void qlcnic_handle_fw_message(int desc_cnt, int index, in qlcnic_handle_fw_message() argument 1092 desc = &sds_ring->desc_head[index]; in qlcnic_handle_fw_message() 1096 index = get_next_index(index, sds_ring->num_desc); in qlcnic_handle_fw_message() 1140 u16 index, u16 cksum) in qlcnic_process_rxbuf() 1145 buffer = &ring->rx_buf_arr[index]; in qlcnic_process_rxbuf() 1203 int index, length, cksum, pkt_offset, is_lb_pkt; in qlcnic_process_rcv() local 1211 index = qlcnic_get_sts_refhandle(sts_data0); in qlcnic_process_rcv() 1212 if (unlikely(index >= rds_ring->num_desc)) in qlcnic_process_rcv() 1215 buffer = &rds_ring->rx_buf_arr[index]; in qlcnic_process_rcv() 1138 qlcnic_process_rxbuf(struct qlcnic_adapter *adapter, struct qlcnic_host_rds_ring *ring, u16 index, u16 cksum) qlcnic_process_rxbuf() argument 1274 int index, l2_hdr_offset, l4_hdr_offset, is_lb_pkt; qlcnic_process_lro() local 1498 int index, length, cksum, pkt_offset; qlcnic_process_rcv_diag() local 1725 int index, length, cksum, is_lb_pkt; qlcnic_83xx_process_rcv() local 1796 int index, is_lb_pkt; qlcnic_83xx_process_lro() local 2175 int index, length; qlcnic_83xx_process_rcv_diag() local [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | vk_cache_utils.cpp | 688 for (uint32_t index = 0; index < createInfo.attachmentCount; ++index) in CreateRenderPass2() 690 ToAttachmentDesciption2(createInfo.pAttachments[index], &attachmentDescs[index]); in CreateRenderPass2() 719 for (uint32_t index = 0; index < desc.inputAttachmentCount; ++index) in CreateRenderPass2() 722 if (index >= desc.colorAttachmentCount) in CreateRenderPass2() 726 ASSERT(index in CreateRenderPass2() [all...] |
/kernel/linux/linux-5.10/drivers/clk/ |
H A D | clk.c | 57 int index; member 437 static int of_parse_clkspec(const struct device_node *np, int index, 442 static inline int of_parse_clkspec(const struct device_node *np, int index, in of_parse_clkspec() argument 458 * @p_index: parent index to search for 494 int index = core->parents[p_index].index; in clk_core_get() local 501 if (np && (name || index >= 0) && in clk_core_get() 502 !of_parse_clkspec(np, index, name, &clkspec)) { in clk_core_get() 522 static void clk_core_fill_parent_index(struct clk_core *core, u8 index) in clk_core_fill_parent_index() argument 524 struct clk_parent_map *entry = &core->parents[index]; in clk_core_fill_parent_index() 547 clk_core_get_parent_by_index(struct clk_core *core, u8 index) clk_core_get_parent_by_index() argument 560 clk_hw_get_parent_by_index(const struct clk_hw *hw, unsigned int index) clk_hw_get_parent_by_index() argument 2555 u8 index = 0; __clk_init_parent() local 4127 clk_nodrv_set_parent(struct clk_hw *hw, u8 index) clk_nodrv_set_parent() argument 4803 of_parse_clkspec(const struct device_node *np, int index, const char *name, struct of_phandle_args *out_args) of_parse_clkspec() argument 4892 of_clk_get_hw(struct device_node *np, int index, const char *con_id) of_clk_get_hw() argument 4909 __of_clk_get(struct device_node *np, int index, const char *dev_id, const char *con_id) __of_clk_get() argument 4918 of_clk_get(struct device_node *np, int index) of_clk_get() argument 4960 of_clk_get_parent_name(const struct device_node *np, int index) of_clk_get_parent_name() argument 5100 of_clk_detect_critical(struct device_node *np, int index, unsigned long *flags) of_clk_detect_critical() argument [all...] |
/kernel/linux/linux-6.6/drivers/clk/ |
H A D | clk.c | 53 int index; member 342 static int of_parse_clkspec(const struct device_node *np, int index, 347 static inline int of_parse_clkspec(const struct device_node *np, int index, in of_parse_clkspec() argument 363 * @p_index: parent index to search for 399 int index = core->parents[p_index].index; in clk_core_get() local 406 if (np && (name || index >= 0) && in clk_core_get() 407 !of_parse_clkspec(np, index, name, &clkspec)) { in clk_core_get() 427 static void clk_core_fill_parent_index(struct clk_core *core, u8 index) in clk_core_fill_parent_index() argument 429 struct clk_parent_map *entry = &core->parents[index]; in clk_core_fill_parent_index() 453 clk_core_get_parent_by_index(struct clk_core *core, u8 index) clk_core_get_parent_by_index() argument 466 clk_hw_get_parent_by_index(const struct clk_hw *hw, unsigned int index) clk_hw_get_parent_by_index() argument 2716 u8 index = 0; __clk_init_parent() local 4344 clk_nodrv_set_parent(struct clk_hw *hw, u8 index) clk_nodrv_set_parent() argument 5048 of_parse_clkspec(const struct device_node *np, int index, const char *name, struct of_phandle_args *out_args) of_parse_clkspec() argument 5137 of_clk_get_hw(struct device_node *np, int index, const char *con_id) of_clk_get_hw() argument 5154 __of_clk_get(struct device_node *np, int index, const char *dev_id, const char *con_id) __of_clk_get() argument 5163 of_clk_get(struct device_node *np, int index) of_clk_get() argument 5205 of_clk_get_parent_name(const struct device_node *np, int index) of_clk_get_parent_name() argument 5345 of_clk_detect_critical(struct device_node *np, int index, unsigned long *flags) of_clk_detect_critical() argument [all...] |