/third_party/skia/modules/skparagraph/include/ |
H A D | TextStyle.h | 123 FontFeature(const SkString name, int value) : fName(name), fValue(value) {} in FontFeature() 276 void addFontFeature(const SkString& fontFeature, int value) in addFontFeature() argument 277 { fFontFeatures.emplace_back(fontFeature, value); } in addFontFeature() 351 // value to indicate no decoration color was set.
|
/third_party/skia/experimental/skottiekit/ |
H A D | skottiekit_bindings.cpp | 151 prop.set("value", fPropMgr->getColor(cp)); in getColorProps() 164 prop.set("value", fPropMgr->getOpacity(op)); in getOpacityProps() 446 .value("Opaque", SkAlphaType::kOpaque_SkAlphaType) in EMSCRIPTEN_BINDINGS() 447 .value("Premul", SkAlphaType::kPremul_SkAlphaType) in EMSCRIPTEN_BINDINGS() 448 .value("Unpremul", SkAlphaType::kUnpremul_SkAlphaType); in EMSCRIPTEN_BINDINGS() 451 .value("RGBA_8888", SkColorType::kRGBA_8888_SkColorType); in EMSCRIPTEN_BINDINGS()
|
/third_party/skia/include/private/ |
H A D | SkTemplates.h | 239 typename = std::enable_if_t<std::is_trivially_default_constructible<T>::value && 240 std::is_trivially_destructible<T>::value>> 243 /** Takes ownership of the ptr. The ptr must be a value which can be passed to sk_free. */ 291 typename = std::enable_if_t<std::is_trivially_default_constructible<T>::value && 292 std::is_trivially_destructible<T>::value>>
|
/third_party/selinux/libselinux/src/ |
H A D | matchpathcon.c | 161 options[i].value = (flags & MATCHPATHCON_BASEONLY) ? (char*)1 : NULL; in set_matchpathcon_flags() 164 options[i].value = (flags & MATCHPATHCON_VALIDATE) ? (char*)1 : NULL; in set_matchpathcon_flags() 359 options[SELABEL_OPT_SUBSET].value = subset; in matchpathcon_init_prefix() 361 options[SELABEL_OPT_PATH].value = path; in matchpathcon_init_prefix()
|
H A D | regex.c | 192 void *value; in match_data_thread_free() local 198 value = __selinux_getspecific(match_data_key); in match_data_thread_free() 199 match_data = value ? value : key; in match_data_thread_free()
|
/third_party/rust/crates/syn/src/ |
H A D | attr.rs | 193 /// #[my_attr(value < 5)] 203 /// #[precondition(value < 5)] 456 /// A name-value meta is like the `path = "..."` in `#[path = 471 /// A name-value pair within an attribute, like `feature = "nightly"`. 487 /// A name-value pair within an attribute, like `feature = "nightly"`. 492 pub value: Expr, 549 "expected a value for this attribute: `{} = ...`", in require_name_value() 697 let value = if let (Some(lit), true) = (lit, ahead.is_empty()) { in parse_meta_name_value_after_path() 711 value, in parse_meta_name_value_after_path() 773 self.value in to_tokens() [all...] |
/third_party/vk-gl-cts/framework/opengl/ |
H A D | gluShaderProgram.hpp | 374 deUint32 value; member 376 SpecializationData (void) : index(0), value(0) {} in SpecializationData() 377 SpecializationData (const deUint32 index_, const deUint32 value_) : index(index_), value(value_) {} in SpecializationData() 415 specializationValues.push_back(specData.value); in operator <<()
|
/third_party/vk-gl-cts/framework/randomshaders/ |
H A D | rsgShaderGenerator.cpp | 116 // Update value range. This will be stored into shader input info. in genVertexPassthrough() 136 // Sets undefined (-inf..inf) components to some meaningful values. Used for sanitizing final shader input value ranges. 281 // Create input entries (store value range) if necessary in generate() 289 const ValueEntry* value = m_state.getVariableManager().getValue(variable); in generate() local 292 inputs.push_back(new ShaderInput(variable, value->getValueRange())); in generate() 298 const ValueEntry* value = m_state.getVariableManager().getValue(variable); in generate() local 301 uniforms.push_back(new ShaderInput(variable, value->getValueRange())); in generate()
|
H A D | rsgVariableValue.hpp | 77 StridedValueRead (const VariableType& type, const Scalar* value) : m_type(type), m_value(value) {} in StridedValueRead() argument 114 // For assignment: b = a.value() 115 StridedValueRead<Stride> value (void) const { return StridedValueRead<Stride>(getType(), m_value); } in value() function in rsg::ConstStridedValueAccess 148 StridedValueAccess& operator= (const StridedValueRead<SrcStride>& value); 169 return *this; // Happens when void value range is copied in operator =()
|
/third_party/skia/third_party/externals/angle2/src/common/ |
H A D | angleutils.h | 75 SaveFileHelper &operator<<(const T &value) in operator <<() 77 mOfs << value; in operator <<() local 227 std::string ToString(const T &value) in ToString() argument 230 o << value; in ToString() local
|
/third_party/node/deps/v8/src/heap/ |
H A D | heap.cc | 130 bool Heap_ValueMightRequireGenerationalWriteBarrier(HeapObject value) { in Heap_ValueMightRequireGenerationalWriteBarrier() argument 131 if (!value.IsCode()) return true; in Heap_ValueMightRequireGenerationalWriteBarrier() 134 DCHECK(!ObjectInYoungGeneration(value)); in Heap_ValueMightRequireGenerationalWriteBarrier() 139 HeapObject value) { in Heap_GenerationalBarrierSlow() 140 Heap::GenerationalBarrierSlow(object, slot, value); in Heap_GenerationalBarrierSlow() 798 uint32_t value = in UpdateAllocationsHash() local 802 UpdateAllocationsHash(value); in UpdateAllocationsHash() 805 void UpdateAllocationsHash(uint32_t value) { in UpdateAllocationsHash() argument 806 const uint16_t c1 = static_cast<uint16_t>(value); in UpdateAllocationsHash() 807 const uint16_t c2 = static_cast<uint16_t>(value >> 1 in UpdateAllocationsHash() 138 Heap_GenerationalBarrierSlow(HeapObject object, Address slot, HeapObject value) Heap_GenerationalBarrierSlow() argument 1119 const int value = static_cast<int>(site_and_count.second); MergeAllocationSitePretenuringFeedback() local 4516 ShouldBeInSharedOldSpace(HeapObject value) ShouldBeInSharedOldSpace() argument 4528 InSpace(HeapObject value, AllocationSpace space) const InSpace() argument 7278 GenerationalBarrierSlow(HeapObject object, Address slot, HeapObject value) GenerationalBarrierSlow() argument 7333 typename TSlot::TObject value = *slot; WriteBarrierForRangeImpl() local [all...] |
/kernel/linux/linux-5.10/fs/fuse/ |
H A D | file.c | 49 args.in_args[0].value = &inarg; in fuse_send_open() 52 args.out_args[0].value = outargp; in fuse_send_open() 295 ra->args.in_args[0].value = &ra->inarg; in fuse_prepare_release() 346 /* return value is ignored by VFS */ in fuse_release() 363 * Scramble the ID space with XTEA, so that the value of the files_struct 503 args.in_args[0].value = &inarg; in fuse_flush() 538 args.in_args[0].value = &inarg; in fuse_fsync_common() 606 args->in_args[0].value = &ia->read.in; in fuse_read_args_fill() 1032 args->in_args[0].value = &ia->write.in; in fuse_write_args_fill() 1036 args->out_args[0].value in fuse_write_args_fill() [all...] |
/kernel/linux/linux-6.6/drivers/spi/ |
H A D | spi.c | 734 * Also, unless we change the return value convention to use in spi_new_device() 1255 * Restore the original value of tx_buf or rx_buf if they are in spi_unmap_msg() 1387 u32 delay = _delay->value; in spi_delay_to_ns() 1447 u32 delay = xfer->cs_change_delay.value; in _spi_transfer_cs_change_delay() 1924 * (by setting the ->rt value before calling spi_register_controller()) or 2217 u32 value; in of_spi_parse_dt_cs_delay() local 2219 if (!of_property_read_u32(nc, prop, &value)) { in of_spi_parse_dt_cs_delay() 2220 if (value > U16_MAX) { in of_spi_parse_dt_cs_delay() 2221 delay->value = DIV_ROUND_UP(value, 100 in of_spi_parse_dt_cs_delay() 2233 u32 value; of_spi_parse_dt() local 4575 acpi_spi_notify(struct notifier_block *nb, unsigned long value, void *arg) acpi_spi_notify() argument [all...] |
/kernel/linux/linux-6.6/drivers/thunderbolt/ |
H A D | test.c | 2612 0x00000a27, /* Immediate value, ! Vendor ID */ 2620 0x0000000a, /* Immediate value, ! Device ID */ 2628 0x80000100, /* Immediate value, Device Revision */ 2647 0x00000001, /* Immediate value, Network Protocol ID */ 2651 0x00000001, /* Immediate value, Network Protocol Version */ 2655 0x00000001, /* Immediate value, Network Protocol Revision */ 2659 0x00000000, /* Immediate value, Network Protocol Settings */ 2679 KUNIT_EXPECT_STREQ(test, p->value.text, "Apple Inc."); in tb_test_property_parse() 2683 KUNIT_EXPECT_EQ(test, p->value.immediate, 0xa27); in tb_test_property_parse() 2687 KUNIT_EXPECT_STREQ(test, p->value in tb_test_property_parse() [all...] |
/third_party/libinput/src/ |
H A D | evdev-mt-touchpad.c | 496 rotated(struct tp_dispatch *tp, unsigned int code, int value) in rotated() argument 501 return value; in rotated() 515 return absinfo->maximum - (value - absinfo->minimum); in rotated() 529 e->value); in tp_process_absolute() 530 t->point.x = rotated(tp, e->code, e->value); in tp_process_absolute() 537 e->value); in tp_process_absolute() 538 t->point.y = rotated(tp, e->code, e->value); in tp_process_absolute() 543 tp->slot = e->value; in tp_process_absolute() 546 if (e->value != -1) { in tp_process_absolute() 556 t->pressure = e->value; in tp_process_absolute() [all...] |
/third_party/pcre2/pcre2/src/sljit/ |
H A D | sljitNativeX86_common.c | 316 static SLJIT_INLINE void sljit_unaligned_store_s16(void *addr, sljit_s16 value) in sljit_unaligned_store_s16() argument 318 SLJIT_MEMCPY(addr, &value, sizeof(value)); in sljit_unaligned_store_s16() 321 static SLJIT_INLINE void sljit_unaligned_store_s32(void *addr, sljit_s32 value) in sljit_unaligned_store_s32() argument 323 SLJIT_MEMCPY(addr, &value, sizeof(value)); in sljit_unaligned_store_s32() 326 static SLJIT_INLINE void sljit_unaligned_store_sw(void *addr, sljit_sw value) in sljit_unaligned_store_sw() argument 328 SLJIT_MEMCPY(addr, &value, sizeof(value)); in sljit_unaligned_store_sw() 338 sljit_u32 value; in get_cpu_features() local 423 mov value, eax get_cpu_features() local 433 mov value, eax get_cpu_features() local 442 mov value, edx get_cpu_features() local [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
H A D | ProgramD3D.cpp | 497 // gl_PointCoord in the fragment shader, requiring us to provide a placeholder value. For in addsPointCoordToVertexShader() 1545 *outExecutable = mPixelExecutables[mCachedPixelExecutableIndex.value()]->shaderExecutable(); 1588 mVertexExecutables[mCachedVertexExecutableIndex.value()]->shaderExecutable(); 1998 mComputeExecutables[mCachedComputeExecutableIndex.value()]->shaderExecutable(); 2423 const GLfloat *value) 2425 setUniformMatrixfvInternal<2, 2>(location, count, transpose, value); 2431 const GLfloat *value) 2433 setUniformMatrixfvInternal<3, 3>(location, count, transpose, value); 2439 const GLfloat *value) 2441 setUniformMatrixfvInternal<4, 4>(location, count, transpose, value); [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
H A D | vegam_smumgr.c | 303 static uint32_t vegam_get_mac_definition(uint32_t value) in vegam_get_mac_definition() argument 305 switch (value) { in vegam_get_mac_definition() 327 pr_warn("can't get the mac of %x\n", value); in vegam_get_mac_definition() 461 data->mvdd_voltage_table.entries[level].value * VOLTAGE_SCALE); in vegam_populate_smc_mvdd_table() 489 data->vddci_voltage_table.entries[level].value * VOLTAGE_SCALE); in vegam_populate_smc_vddci_table() 511 /* tables is already swapped, so in order to use the value from it, in vegam_populate_cac_table() 518 data->vddc_voltage_table.entries[count].value); in vegam_populate_cac_table() 582 (uint8_t)dpm_table->pcie_speed_table.dpm_levels[i].value; in vegam_populate_smc_link_level() 733 /* get the engine clock dividers for this clock value */ in vegam_calculate_sclk_params() 829 "can not find VDDC voltage value fo in vegam_populate_single_graphic_level() 1489 uint32_t ro, efuse, volt_without_cks, volt_with_cks, value, max, min; vegam_populate_clock_stretcher_data_table() local [all...] |
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | lm93.c | 293 * save the user-commanded value here. 800 int value, i; in lm93_read_byte() local 804 value = i2c_smbus_read_byte_data(client, reg); in lm93_read_byte() 805 if (value >= 0) { in lm93_read_byte() 806 return value; in lm93_read_byte() 821 static int lm93_write_byte(struct i2c_client *client, u8 reg, u8 value) in lm93_write_byte() argument 826 result = i2c_smbus_write_byte_data(client, reg, value); in lm93_write_byte() 831 value, reg); in lm93_write_byte() 838 int value, i; in lm93_read_word() local 842 value in lm93_read_word() 859 lm93_write_word(struct i2c_client *client, u8 reg, u16 value) lm93_write_word() argument 1694 lm93_write_fan_smart_tach(struct i2c_client *client, struct lm93_data *data, int fan, long value) lm93_write_fan_smart_tach() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/atl1e/ |
H A D | atl1e_main.c | 158 u32 value; in atl1e_check_link() local 160 value = AT_READ_REG(hw, REG_MAC_CTRL); in atl1e_check_link() 161 value &= ~MAC_CTRL_RX_EN; in atl1e_check_link() 162 AT_WRITE_REG(hw, REG_MAC_CTRL, value); in atl1e_check_link() 292 /* comoute mc addresses' hash value ,and put it into hash table */ in atl1e_set_multi() 418 * @new_mtu: new value for maximum frame size 1046 u32 value; in atl1e_setup_mac_ctrl() local 1051 value = MAC_CTRL_TX_EN | in atl1e_setup_mac_ctrl() 1055 value |= MAC_CTRL_DUPLX; in atl1e_setup_mac_ctrl() 1057 value | in atl1e_setup_mac_ctrl() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/atheros/atl1e/ |
H A D | atl1e_main.c | 158 u32 value; in atl1e_check_link() local 160 value = AT_READ_REG(hw, REG_MAC_CTRL); in atl1e_check_link() 161 value &= ~MAC_CTRL_RX_EN; in atl1e_check_link() 162 AT_WRITE_REG(hw, REG_MAC_CTRL, value); in atl1e_check_link() 292 /* comoute mc addresses' hash value ,and put it into hash table */ in atl1e_set_multi() 418 * @new_mtu: new value for maximum frame size 1046 u32 value; in atl1e_setup_mac_ctrl() local 1051 value = MAC_CTRL_TX_EN | in atl1e_setup_mac_ctrl() 1055 value |= MAC_CTRL_DUPLX; in atl1e_setup_mac_ctrl() 1057 value | in atl1e_setup_mac_ctrl() [all...] |
/kernel/linux/linux-6.6/drivers/dma/ |
H A D | at_xdmac.c | 316 #define at_xdmac_write(atxdmac, reg, value) \ 317 writel_relaxed((value), (atxdmac)->regs + (reg)) 320 #define at_xdmac_chan_write(atchan, reg, value) writel_relaxed((value), (atchan)->ch_regs + (reg)) 686 dev_err(chan2dev(chan), "invalid src maxburst value\n"); in at_xdmac_compute_chan_conf() 692 dev_err(chan2dev(chan), "invalid src addr width value\n"); in at_xdmac_compute_chan_conf() 711 dev_err(chan2dev(chan), "invalid src maxburst value\n"); in at_xdmac_compute_chan_conf() 717 dev_err(chan2dev(chan), "invalid dst addr width value\n"); in at_xdmac_compute_chan_conf() 1279 int value) in at_xdmac_memset_create_desc() 1328 /* Only the first byte of value i in at_xdmac_memset_create_desc() 1275 at_xdmac_memset_create_desc(struct dma_chan *chan, struct at_xdmac_chan *atchan, dma_addr_t dst_addr, size_t len, int value) at_xdmac_memset_create_desc() argument 1353 at_xdmac_prep_dma_memset(struct dma_chan *chan, dma_addr_t dest, int value, size_t len, unsigned long flags) at_xdmac_prep_dma_memset() argument 1360 __func__, &dest, len, value, flags); at_xdmac_prep_dma_memset() local 1376 at_xdmac_prep_dma_memset_sg(struct dma_chan *chan, struct scatterlist *sgl, unsigned int sg_len, int value, unsigned long flags) at_xdmac_prep_dma_memset_sg() argument 1397 value, flags); at_xdmac_prep_dma_memset_sg() local 1547 u32 cur_nda, check_nda, cur_ubc, mask, value; at_xdmac_tx_status() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/powerplay/smumgr/ |
H A D | vegam_smumgr.c | 302 static uint32_t vegam_get_mac_definition(uint32_t value) in vegam_get_mac_definition() argument 304 switch (value) { in vegam_get_mac_definition() 326 pr_warn("can't get the mac of %x\n", value); in vegam_get_mac_definition() 460 data->mvdd_voltage_table.entries[level].value * VOLTAGE_SCALE); in vegam_populate_smc_mvdd_table() 488 data->vddci_voltage_table.entries[level].value * VOLTAGE_SCALE); in vegam_populate_smc_vddci_table() 510 /* tables is already swapped, so in order to use the value from it, in vegam_populate_cac_table() 517 data->vddc_voltage_table.entries[count].value); in vegam_populate_cac_table() 581 (uint8_t)dpm_table->pcie_speed_table.dpm_levels[i].value; in vegam_populate_smc_link_level() 732 /* get the engine clock dividers for this clock value */ in vegam_calculate_sclk_params() 828 "can not find VDDC voltage value fo in vegam_populate_single_graphic_level() 1488 uint32_t ro, efuse, volt_without_cks, volt_with_cks, value, max, min; vegam_populate_clock_stretcher_data_table() local [all...] |
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | lm93.c | 293 * save the user-commanded value here. 800 int value, i; in lm93_read_byte() local 804 value = i2c_smbus_read_byte_data(client, reg); in lm93_read_byte() 805 if (value >= 0) { in lm93_read_byte() 806 return value; in lm93_read_byte() 821 static int lm93_write_byte(struct i2c_client *client, u8 reg, u8 value) in lm93_write_byte() argument 826 result = i2c_smbus_write_byte_data(client, reg, value); in lm93_write_byte() 831 value, reg); in lm93_write_byte() 838 int value, i; in lm93_read_word() local 842 value in lm93_read_word() 859 lm93_write_word(struct i2c_client *client, u8 reg, u16 value) lm93_write_word() argument 1694 lm93_write_fan_smart_tach(struct i2c_client *client, struct lm93_data *data, int fan, long value) lm93_write_fan_smart_tach() argument [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | vsprintf.c | 218 * below. All other callers pass a non-zero value of r. 318 * holds for all x < 1,128,869,999. The largest value this 814 * Print the real pointer value for NULL and error pointers, in ptr_to_id() 873 * Only print the real pointer value if the current in restricted_pointer() 984 unsigned long value; in symbol_string() local 991 value = (unsigned long)ptr; in symbol_string() 995 sprint_backtrace_build_id(sym, value); in symbol_string() 997 sprint_backtrace(sym, value); in symbol_string() 999 sprint_symbol_build_id(sym, value); in symbol_string() 1001 sprint_symbol(sym, value); in symbol_string() [all...] |