/third_party/skia/docs/examples/ |
H A D | RRect_inset_2.cpp | 11 for (int index = 0; index < 25; ++index) { in REG_FIDDLE()
|
H A D | RRect_inset.cpp | 11 for (int index = 0; index < 25; ++index) { in REG_FIDDLE()
|
H A D | RRect_makeOffset.cpp | 11 for (int index = 0; index < 25; ++index) { in REG_FIDDLE()
|
H A D | RRect_outset_2.cpp | 11 for (int index = 0; index < 25; ++index) { in REG_FIDDLE()
|
H A D | RRect_outset.cpp | 11 for (int index = 0; index < 25; ++index) { in REG_FIDDLE()
|
H A D | RRect_offset.cpp | 11 for (int index = 0; index < 25; ++index) { in REG_FIDDLE()
|
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
H A D | SamplerCore.cpp | 1320 void SamplerCore::computeIndices(UInt index[4], Short4 uuuu, Short4 vvvv, Short4 wwww, const Short4 &layerIndex, Vector4i &offset, const Int4 &sample, const Pointer<Byte> &mipmap, SamplerFunction function) in computeIndices() argument 1381 index[0] = Extract(indices, 0); in computeIndices() 1382 index[1] = Extract(indices, 1); in computeIndices() 1383 index[2] = Extract(indices, 2); in computeIndices() 1384 index[3] = Extract(indices, 3); in computeIndices() 1387 void SamplerCore::computeIndices(UInt index[4], Int4 uuuu, Int4 vvvv, Int4 wwww, const Int4 &sample, Int4 valid, const Pointer<Byte> &mipmap, SamplerFunction function) in computeIndices() argument 1410 // with the border color, so sample them at linear index 0. in computeIndices() 1416 index[i] = Extract(As<Int4>(indices), i); in computeIndices() 1420 Vector4s SamplerCore::sampleTexel(UInt index[4], Pointer<Byte> buffer) in sampleTexel() argument 1426 c.x = Insert(c.x, Pointer<Short>(buffer)[index[ in sampleTexel() 1729 UInt index[4]; sampleTexel() local 1887 UInt index[4]; sampleTexel() local [all...] |
/base/powermgr/battery_statistics/test/unittest/src/servicetest/ |
H A D | stats_service_dump_test.cpp | 108 auto index = actualDebugInfo.find(expectedDebugInfo); in HWTEST_F() local 109 EXPECT_TRUE(index != string::npos); in HWTEST_F() 162 auto index = actualDebugInfo.find(expectedDebugInfo); in HWTEST_F() local 163 EXPECT_TRUE(index != string::npos); in HWTEST_F() 203 auto index = actualDebugInfo.find(expectedDebugInfo); in HWTEST_F() local 204 EXPECT_TRUE(index != string::npos); in HWTEST_F() 255 auto index = actualDebugInfo.find(expectedDebugInfo); in HWTEST_F() local 256 EXPECT_TRUE(index != string::npos); in HWTEST_F() 297 auto index = actualDebugInfo.find(expectedDebugInfo); in HWTEST_F() local 298 EXPECT_TRUE(index ! in HWTEST_F() 349 auto index = actualDebugInfo.find(expectedDebugInfo); HWTEST_F() local 402 auto index = actualDebugInfo.find(expectedDebugInfo); HWTEST_F() local 450 auto index = actualDebugInfo.find(expectedDebugInfo); HWTEST_F() local [all...] |
/kernel/linux/linux-5.10/drivers/gpio/ |
H A D | gpiolib-of.c | 136 int index) in of_gpio_flags_quirks() 190 if (cs == index) { in of_gpio_flags_quirks() 232 * @index: index of the GPIO 240 const char *propname, int index, enum of_gpio_flags *flags) in of_get_named_gpiod_flags() 247 ret = of_parse_phandle_with_args_map(np, propname, "gpio", index, in of_get_named_gpiod_flags() 251 __func__, propname, np, index); in of_get_named_gpiod_flags() 266 of_gpio_flags_quirks(np, propname, flags, index); in of_get_named_gpiod_flags() 269 __func__, propname, np, index, in of_get_named_gpiod_flags() 279 int index, enu in of_get_named_gpio_flags() 133 of_gpio_flags_quirks(struct device_node *np, const char *propname, enum of_gpio_flags *flags, int index) of_gpio_flags_quirks() argument 239 of_get_named_gpiod_flags(struct device_node *np, const char *propname, int index, enum of_gpio_flags *flags) of_get_named_gpiod_flags() argument 278 of_get_named_gpio_flags(struct device_node *np, const char *list_name, int index, enum of_gpio_flags *flags) of_get_named_gpio_flags() argument 306 gpiod_get_from_of_node(struct device_node *node, const char *propname, int index, enum gpiod_flags dflags, const char *label) gpiod_get_from_of_node() argument 930 int index = 0, ret; of_gpiochip_add_pin_range() local [all...] |
/kernel/linux/linux-5.10/drivers/mtd/ |
H A D | mtdpstore.c | 13 int index; member 389 cxt->index = mtd->index; in mtdpstore_notify_add() 391 if (mtd->index != cxt->index || cxt->index < 0) in mtdpstore_notify_add() 398 mtd->index); in mtdpstore_notify_add() 409 mtd->index); in mtdpstore_notify_add() 437 mtd->index); in mtdpstore_notify_add() 441 dev_info(&mtd->dev, "Attached to MTD device %d\n", mtd->index); in mtdpstore_notify_add() [all...] |
/kernel/linux/linux-6.6/arch/s390/kernel/ |
H A D | cert_store.c | 202 "index: %d vce_hdr.vc_name (ASCII): %s", in pr_dbf_vce() 424 * [key name in EBCDIC]:[VCE index]:[CS token]. 512 static void fill_vcb_input(struct vcssb *vcssb, struct vcb *vcb, u16 index) in fill_vcb_input() argument 519 vcb->vcb_hdr.first_vc_index = index; in fill_vcb_input() 520 vcb->vcb_hdr.last_vc_index = index; in fill_vcb_input() 532 static int get_sevcb(struct vcssb *vcssb, u16 index, struct vcb *vcb) in get_sevcb() argument 536 fill_vcb_input(vcssb, vcb, index); in get_sevcb() 546 pr_dbf_msg("No certificate entry for index %u", index); in get_sevcb() 571 static int create_key_from_sevcb(struct vcssb *vcssb, u16 index, in create_key_from_sevcb() argument 611 int rc, index, count, added; add_certificates_to_keyring() local [all...] |
/kernel/linux/linux-5.10/tools/perf/ui/ |
H A D | browser.c | 191 return browser->top_idx + row == browser->index; in ui_browser__is_current_entry() 258 browser->index = browser->top_idx = 0; in ui_browser__reset_index() 317 pct = ((browser->index * (browser->height - 1)) / in ui_browser__scrollbar_set() 378 browser->index += offset; in ui_browser__update_nr_entries() 424 if (browser->index == browser->nr_entries - 1) in ui_browser__run() 426 ++browser->index; in ui_browser__run() 427 if (browser->index == browser->top_idx + browser->rows) { in ui_browser__run() 433 if (browser->index == 0) in ui_browser__run() 435 --browser->index; in ui_browser__run() 436 if (browser->index < browse in ui_browser__run() [all...] |
/kernel/linux/linux-5.10/drivers/mfd/ |
H A D | kempld-core.c | 160 * @index: register index on the chip 164 u8 kempld_read8(struct kempld_device_data *pld, u8 index) in kempld_read8() argument 166 iowrite8(index, pld->io_index); in kempld_read8() 174 * @index: register index on the chip 179 void kempld_write8(struct kempld_device_data *pld, u8 index, u8 data) in kempld_write8() argument 181 iowrite8(index, pld->io_index); in kempld_write8() 189 * @index: register index o 193 kempld_read16(struct kempld_device_data *pld, u8 index) kempld_read16() argument 207 kempld_write16(struct kempld_device_data *pld, u8 index, u16 data) kempld_write16() argument 221 kempld_read32(struct kempld_device_data *pld, u8 index) kempld_read32() argument 235 kempld_write32(struct kempld_device_data *pld, u8 index, u32 data) kempld_write32() argument [all...] |
/kernel/linux/linux-5.10/fs/gfs2/ |
H A D | aops.c | 133 if (page->index == end_index && offset) in gfs2_write_jdata_page() 227 * @done_index: Page index 251 *done_index = page->index; in gfs2_write_jdata_pagevec() 295 *done_index = page->index + 1; in gfs2_write_jdata_pagevec() 335 pgoff_t index; in gfs2_write_cache_jdata() local 345 index = writeback_index; in gfs2_write_cache_jdata() 346 if (index == 0) in gfs2_write_cache_jdata() 352 index = wbc->range_start >> PAGE_SHIFT; in gfs2_write_cache_jdata() 365 tag_pages_for_writeback(mapping, index, end); in gfs2_write_cache_jdata() 366 done_index = index; in gfs2_write_cache_jdata() 512 unsigned long index = *pos >> PAGE_SHIFT; gfs2_internal_read() local [all...] |
/kernel/linux/linux-6.6/drivers/mtd/ |
H A D | mtdpstore.c | 13 int index; member 389 cxt->index = mtd->index; in mtdpstore_notify_add() 391 if (mtd->index != cxt->index || cxt->index < 0) in mtdpstore_notify_add() 398 mtd->index); in mtdpstore_notify_add() 409 mtd->index); in mtdpstore_notify_add() 437 mtd->index); in mtdpstore_notify_add() 441 dev_info(&mtd->dev, "Attached to MTD device %d\n", mtd->index); in mtdpstore_notify_add() [all...] |
/kernel/linux/linux-6.6/drivers/mfd/ |
H A D | kempld-core.c | 159 * @index: register index on the chip 163 u8 kempld_read8(struct kempld_device_data *pld, u8 index) in kempld_read8() argument 165 iowrite8(index, pld->io_index); in kempld_read8() 173 * @index: register index on the chip 178 void kempld_write8(struct kempld_device_data *pld, u8 index, u8 data) in kempld_write8() argument 180 iowrite8(index, pld->io_index); in kempld_write8() 188 * @index: register index o 192 kempld_read16(struct kempld_device_data *pld, u8 index) kempld_read16() argument 206 kempld_write16(struct kempld_device_data *pld, u8 index, u16 data) kempld_write16() argument 220 kempld_read32(struct kempld_device_data *pld, u8 index) kempld_read32() argument 234 kempld_write32(struct kempld_device_data *pld, u8 index, u32 data) kempld_write32() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/wwan/t7xx/ |
H A D | t7xx_hif_dpmaif_tx.c | 64 dev_err(dpmaif_ctrl->dev, "Out of range read index: %u\n", new_hw_rd_idx); in t7xx_dpmaif_update_drb_rd_idx() 125 cb->state_notify(dpmaif_ctrl->t7xx_dev, DMPAIF_TXQ_STATE_IRQ, txq->index); in t7xx_dpmaif_release_tx_buffer() 140 /* Update read index from HW */ in t7xx_dpmaif_tx_release() 155 return !!t7xx_dpmaif_update_drb_rd_idx(txq->dpmaif_ctrl, txq->index); in t7xx_dpmaif_drb_ring_not_empty() 173 ret = t7xx_dpmaif_tx_release(dpmaif_ctrl, txq->index, txq->drb_size_cnt); in t7xx_dpmaif_tx_done() 175 (t7xx_dpmaif_ul_clr_done(hw_info, txq->index) && in t7xx_dpmaif_tx_done() 177 queue_work(dpmaif_ctrl->txq[txq->index].worker, in t7xx_dpmaif_tx_done() 178 &dpmaif_ctrl->txq[txq->index].dpmaif_tx_work); in t7xx_dpmaif_tx_done() 183 t7xx_dpmaif_unmask_ulq_intr(hw_info, txq->index); in t7xx_dpmaif_tx_done() 236 drb_skb->index in t7xx_record_drb_skb() [all...] |
/kernel/linux/linux-6.6/tools/perf/ui/ |
H A D | browser.c | 191 return browser->top_idx + row == browser->index; in ui_browser__is_current_entry() 258 browser->index = browser->top_idx = 0; in ui_browser__reset_index() 317 pct = ((browser->index * (browser->height - 1)) / in ui_browser__scrollbar_set() 378 browser->index += offset; in ui_browser__update_nr_entries() 424 if (browser->index == browser->nr_entries - 1) in ui_browser__run() 426 ++browser->index; in ui_browser__run() 427 if (browser->index == browser->top_idx + browser->rows) { in ui_browser__run() 433 if (browser->index == 0) in ui_browser__run() 435 --browser->index; in ui_browser__run() 436 if (browser->index < browse in ui_browser__run() [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_lower_io_to_vector.c | 47 return var->data.location + var->data.index; in get_slot() 137 a->data.index != b->data.index) in variables_can_merge() 341 nir_ssa_def *index = nir_i2i(b, deref->arr.index.ssa, in build_array_index() local 350 nir_amul_imm(b, index, glsl_count_attribute_slots(deref->type, vs_in))); in build_array_index() 373 nir_ssa_def *index = p->arr.index.ssa; in build_array_deref_of_new_var_flat() local 374 deref = nir_build_deref_array(b, deref, index); in build_array_deref_of_new_var_flat() 636 assert(nir_src_is_const(deref->arr.index)); in nir_vectorize_tess_levels_impl() 637 unsigned index = nir_src_as_uint(deref->arr.index); nir_vectorize_tess_levels_impl() local [all...] |
/third_party/mesa3d/src/asahi/lib/ |
H A D | gen_pack.py | 404 for index in range(self.length // 4): 406 if not index in words: 407 print(" cl[%2d] = 0;" % index) 410 word = words[index] 412 word_start = index * 32 415 prefix = " cl[%2d] =" % index 471 # Given a field (start, end) contained in word `index`, generate the 32-bit 473 def mask_for_word(self, index, start, end): 474 field_word_start = index * 32 488 for index i [all...] |
/third_party/mesa3d/src/gallium/drivers/virgl/ |
H A D | virgl_tgsi.c | 39 unsigned index; member 41 /* TGSI_FILE_TEMPORARY index it will be mapped to. */ 84 input_temp->index = decl->Range.First; in virgl_tgsi_transform_declaration_input_temp() 166 if (temp->index != ~0) { in virgl_mov_input_temp_sint() 169 temp->file, temp->index, in virgl_mov_input_temp_sint() 170 temp->file, temp->index, 0); in virgl_mov_input_temp_sint() 178 if (temp->index != ~0) { in virgl_mov_input_temp_uint() 181 temp->file, temp->index); in virgl_mov_input_temp_uint() 214 if (vtctx->input_temp[i].index != ~0) { in virgl_tgsi_transform_prolog() 234 if (vtctx->input_temp[INPUT_TEMP_BLOCK_ID].index ! in virgl_tgsi_transform_prolog() 287 uint32_t index = inst->Dst[i].Register.Index / 8; virgl_tgsi_transform_instruction() local 303 uint32_t index = inst->Src[i].Register.Index / 8; virgl_tgsi_transform_instruction() local [all...] |
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_atifs_to_nir.c | 75 get_temp(struct st_translate *t, unsigned index) in get_temp() argument 77 if (!t->temps[index]) in get_temp() 78 t->temps[index] = nir_ssa_undef(t->b, 4, 32); in get_temp() 79 return t->temps[index]; in get_temp() 137 atifs_load_uniform(struct st_translate *t, int index) in atifs_load_uniform() argument 141 nir_imm_int(t->b, index)); in atifs_load_uniform() 155 int index = src_type - GL_CON_0_ATI; in get_source() local 156 if (t->atifs->LocalConstDef & (1 << index)) { in get_source() 158 t->atifs->Constants[index][0], in get_source() 159 t->atifs->Constants[index][ in get_source() 581 GLint index = inst->SrcReg[optype][arg].Index; st_init_atifs_prog() local [all...] |
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | ShaderStorageBlockOutputHLSL.cpp | 181 for (size_t index = 0; index < variable.fields.size(); ++index) in MapVariableToField() 183 const TField *subField = subStruct->fields()[index]; in MapVariableToField() 184 const ShaderVariable &subVariable = variable.fields[index]; in MapVariableToField() 281 for (size_t index = 0; index < block->fields.size(); ++index) in GetShaderStorageBlockMembersInfo() 283 const TField *field = interfaceBlock->fields()[index]; in GetShaderStorageBlockMembersInfo() 284 const ShaderVariable &variable = block->fields[index]; in GetShaderStorageBlockMembersInfo() 472 const TIntermConstantUnion *index = binaryNode->getRight()->getAsConstantUnion(); traverseSSBOAccess() local 572 const TIntermConstantUnion *index = binaryNode->getRight()->getAsConstantUnion(); traverseNode() local 582 const TIntermConstantUnion *index = binaryNode->getRight()->getAsConstantUnion(); traverseNode() local [all...] |
/third_party/skia/third_party/externals/spirv-cross/ |
H A D | spirv_reflect.cpp | 380 void CompilerReflection::emit_type_member(const SPIRType &type, uint32_t index) in emit_type_member() argument 382 auto &membertype = get<SPIRType>(type.member_types[index]); in emit_type_member() 384 auto name = to_member_name(type, index); in emit_type_member() 401 emit_type_member_qualifiers(type, index); in emit_type_member() 424 void CompilerReflection::emit_type_member_qualifiers(const SPIRType &type, uint32_t index) in emit_type_member_qualifiers() argument 426 auto &membertype = get<SPIRType>(type.member_types[index]); in emit_type_member_qualifiers() 429 if (index < memb.size()) in emit_type_member_qualifiers() 431 auto &dec = memb[index]; in emit_type_member_qualifiers() 438 if (has_decoration(type.member_types[index], DecorationArrayStride)) in emit_type_member_qualifiers() 440 get_decoration(type.member_types[index], DecorationArrayStrid in emit_type_member_qualifiers() [all...] |
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/truetype/ |
H A D | glyph_table.cc | 478 int32_t GlyphTable::SimpleGlyph::FlagAsInt(int32_t index) { in FlagAsInt() argument 479 return data_->ReadUByte(flags_offset_ + index * DataSize::kBYTE); in FlagAsInt() 555 int32_t index = 5 * DataSize::kUSHORT; in Initialize() local 559 contour_index_.push_back(index); in Initialize() 560 flags = data_->ReadUShort(index); in Initialize() 564 index += 2 * DataSize::kUSHORT; // flags and glyphIndex in Initialize() 566 index += 2 * DataSize::kSHORT; in Initialize() 568 index += 2 * DataSize::kBYTE; in Initialize() 571 index += DataSize::kF2DOT14; in Initialize() 574 index in Initialize() [all...] |