/third_party/node/deps/icu-small/source/i18n/ |
H A D | numrange_fluent.cpp | 355 auto* temp = new NumberRangeFormatterImpl(fMacros, status); in getFormatter() local 357 delete temp; in getFormatter() 360 if (temp == nullptr) { in getFormatter() 369 if (!nonConstThis->fAtomicFormatter.compare_exchange_strong(ptr, temp)) { in getFormatter() 371 delete temp; in getFormatter() 375 return temp; in getFormatter()
|
/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_vec4_reg_allocate.cpp | 488 src_reg temp = inst->src[i]; in spill_reg() local 489 temp.nr = scratch_reg; in spill_reg() 490 temp.offset = 0; in spill_reg() 491 temp.swizzle = BRW_SWIZZLE_XYZW; in spill_reg() 493 dst_reg(temp), inst->src[i], spill_offset); in spill_reg() 494 temp.offset = inst->src[i].offset; in spill_reg()
|
/third_party/mesa3d/src/gallium/drivers/r300/compiler/ |
H A D | radeon_variable.c | 371 * MAD temp[0].xyz, src0.000, src0.111, src0.000 in rc_get_variables() 372 * MAD temp[0].w, src0.0, src0.1, src0.0 in rc_get_variables() 375 * TXB temp[0], temp[1].xy_w, 2D[0] SEM_WAIT SEM_ACQUIRE; in rc_get_variables() 377 * src0.xyz = input[0], src0.w = input[0], src1.xyz = temp[0], src1.w = temp[0] SEM_WAIT in rc_get_variables() 378 * MAD temp[1].xyz, src0.xyz, src1.xyz, src0.000 in rc_get_variables() 379 * MAD temp[1].w, src0.w, src1.w, src0.0 in rc_get_variables() 382 * temp[0].xyz and temp[ in rc_get_variables() 473 struct rc_list * temp; rc_variable_readers_union() local [all...] |
/third_party/skia/src/effects/ |
H A D | SkDashPathEffect.cpp | 337 SkScalar temp = length - distance; in onAsPoints() local 338 SkASSERT(temp < fIntervals[0]); in onAsPoints() 339 SkScalar x = pts[0].fX + tangent.fX * (distance + SkScalarHalf(temp)); in onAsPoints() 340 SkScalar y = pts[0].fY + tangent.fY * (distance + SkScalarHalf(temp)); in onAsPoints() 343 halfWidth = SkScalarHalf(temp); in onAsPoints() 347 halfHeight = SkScalarHalf(temp); in onAsPoints()
|
/third_party/toybox/lib/ |
H A D | args.c | 257 char *temp; in parse_optflaglist() local 304 long l = strtol(++options, &temp, 10); in parse_optflaglist() 305 if (temp != options) new->val[idx].l = l; in parse_optflaglist() 307 FLOAT f = strtod(++options, &temp); in parse_optflaglist() 308 if (temp != options) new->val[idx].f = f; in parse_optflaglist() 310 options = --temp; in parse_optflaglist()
|
/third_party/toybox/toys/other/ |
H A D | bzcat.c | 228 unsigned temp[MAX_HUFCODE_BITS+1]; in read_block_header() local 282 // zero temp[] and limit[], and calculate permute[] in read_block_header() 285 temp[ii] = limit[ii] = 0; in read_block_header() 291 for (ii = 0; ii < symCount; ii++) temp[length[ii]]++; in read_block_header() 299 pp += temp[ii]; in read_block_header() 302 base[ii+1] = pp-(hh+=temp[ii]); in read_block_header() 304 limit[maxLen] = pp+temp[maxLen]-1; in read_block_header()
|
/third_party/python/PC/ |
H A D | pyshellext.cpp | 279 LPSTR temp = (LPSTR)CoTaskMemAlloc(sizeof(CHAR) * (len + 1)); in GetArguments() local 280 if (temp) { in GetArguments() 281 hr = FilenameListCchCopyA(temp, 32767, files, " "); in GetArguments() 283 int wlen = MultiByteToWideChar(CP_ACP, 0, temp, (int)len, NULL, 0); in GetArguments() 286 if (MultiByteToWideChar(CP_ACP, 0, temp, (int)len, args, wlen + 1)) { in GetArguments() 298 CoTaskMemFree(temp); in GetArguments()
|
/third_party/python/Modules/ |
H A D | sha1module.c | 375 struct sha1_state temp; in SHA1Type_digest_impl() local 377 temp = self->hash_state; in SHA1Type_digest_impl() 378 sha1_done(&temp, digest); in SHA1Type_digest_impl() 393 struct sha1_state temp; in SHA1Type_hexdigest_impl() local 396 temp = self->hash_state; in SHA1Type_hexdigest_impl() 397 sha1_done(&temp, digest); in SHA1Type_hexdigest_impl()
|
H A D | mathmodule.c | 541 double temp; in m_erfc_contfrac() local 545 temp = p; p = b*p - a*p_last; p_last = temp; in m_erfc_contfrac() 546 temp = q; q = b*q - a*q_last; q_last = temp; in m_erfc_contfrac() 3123 PyObject *temp, *item, *iter; in math_prod_impl() local 3175 temp = PyNumber_Multiply(result, item); in math_prod_impl() 3178 result = temp; in math_prod_impl() 3224 temp = PyNumber_Multiply(result, item); in math_prod_impl() 3227 result = temp; in math_prod_impl() 3671 PyObject *result = NULL, *temp; math_comb_impl() local [all...] |
/third_party/skia/gm/ |
H A D | filterfastbounds.cpp | 86 SkCanvas temp(bm); in draw_bitmap() 87 temp.clear(SK_ColorMAGENTA); in draw_bitmap() 260 SkCanvas* temp = surface->getCanvas(); variable 261 temp->clear(SK_ColorYELLOW); 263 temp->drawRect(SkRect::MakeLTRB(5, 5, 10, 10), p); 265 temp->drawRect(SkRect::MakeLTRB(5, 0, 10, 5), p);
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dp/ |
H A D | dp_ctrl.c | 407 s64 temp1_fp, temp2_fp, temp, temp1, temp2; in _tu_valid_boundary_calc() local 415 temp = (tu->i_upper_boundary_count * in _tu_valid_boundary_calc() 419 tu->average_valid2_fp = drm_fixp_from_fraction(temp, in _tu_valid_boundary_calc() 469 temp = tu->paired_tus * (tu->i_upper_boundary_count * in _tu_valid_boundary_calc() 477 tu->total_valid_fp = drm_fixp_from_fraction(temp, 1); in _tu_valid_boundary_calc() 521 temp = tu->i_upper_boundary_count * tu->nlanes; in _tu_valid_boundary_calc() 526 temp1_fp = drm_fixp_from_fraction(temp, 1); in _tu_valid_boundary_calc() 616 u64 temp = 0; in _dp_ctrl_calc_tu() local 701 temp = drm_fixp2int_ceil(temp2_fp); in _dp_ctrl_calc_tu() 702 temp1_fp = drm_fixp_from_fraction(temp, in _dp_ctrl_calc_tu() [all...] |
/kernel/linux/linux-6.6/drivers/opp/ |
H A D | core.c | 807 unsigned long temp = *level; in dev_pm_opp_find_level_ceil() local 810 opp = _find_key_ceil(dev, &temp, 0, true, _read_level, NULL); in dev_pm_opp_find_level_ceil() 811 *level = temp; in dev_pm_opp_find_level_ceil() 838 unsigned long temp = *bw; in dev_pm_opp_find_bw_ceil() local 841 opp = _find_key_ceil(dev, &temp, index, true, _read_bw, NULL); in dev_pm_opp_find_bw_ceil() 842 *bw = temp; in dev_pm_opp_find_bw_ceil() 869 unsigned long temp = *bw; in dev_pm_opp_find_bw_floor() local 872 opp = _find_key_floor(dev, &temp, index, true, _read_bw, NULL); in dev_pm_opp_find_bw_floor() 873 *bw = temp; in dev_pm_opp_find_bw_floor() 1590 struct opp_device *opp_dev, *temp; in _opp_table_kref_release() local 1712 struct dev_pm_opp *opp = NULL, *temp; _opp_get_next() local 2165 const char * const *temp = names; _opp_set_regulators() local 2269 const char * const *temp = names; _opp_set_clknames() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/dp/ |
H A D | dp_ctrl.c | 403 s64 temp1_fp, temp2_fp, temp, temp1, temp2; in _tu_valid_boundary_calc() local 411 temp = (tu->i_upper_boundary_count * in _tu_valid_boundary_calc() 415 tu->average_valid2_fp = drm_fixp_from_fraction(temp, in _tu_valid_boundary_calc() 465 temp = tu->paired_tus * (tu->i_upper_boundary_count * in _tu_valid_boundary_calc() 473 tu->total_valid_fp = drm_fixp_from_fraction(temp, 1); in _tu_valid_boundary_calc() 517 temp = tu->i_upper_boundary_count * tu->nlanes; in _tu_valid_boundary_calc() 522 temp1_fp = drm_fixp_from_fraction(temp, 1); in _tu_valid_boundary_calc() 613 u64 temp = 0; in _dp_ctrl_calc_tu() local 700 temp = drm_fixp2int_ceil(temp2_fp); in _dp_ctrl_calc_tu() 701 temp1_fp = drm_fixp_from_fraction(temp, in _dp_ctrl_calc_tu() [all...] |
/kernel/linux/linux-5.10/drivers/mmc/host/ |
H A D | dw_mmc.c | 454 u32 temp; in dw_mci_idmac_stop_dma() local 457 temp = mci_readl(host, CTRL); in dw_mci_idmac_stop_dma() 458 temp &= ~SDMMC_CTRL_USE_IDMAC; in dw_mci_idmac_stop_dma() 459 temp |= SDMMC_CTRL_DMA_RESET; in dw_mci_idmac_stop_dma() 460 mci_writel(host, CTRL, temp); in dw_mci_idmac_stop_dma() 463 temp = mci_readl(host, BMOD); in dw_mci_idmac_stop_dma() 464 temp &= ~(SDMMC_IDMAC_ENABLE | SDMMC_IDMAC_FB); in dw_mci_idmac_stop_dma() 465 temp |= SDMMC_IDMAC_SWRESET; in dw_mci_idmac_stop_dma() 466 mci_writel(host, BMOD, temp); in dw_mci_idmac_stop_dma() 721 u32 temp; in dw_mci_idmac_start_dma() local 1081 u32 temp; dw_mci_submit_data_dma() local 1140 u32 temp; dw_mci_submit_data() local 3140 u32 temp; dw_mci_enable_cd() local [all...] |
/kernel/linux/linux-6.6/drivers/mmc/host/ |
H A D | dw_mmc.c | 459 u32 temp; in dw_mci_idmac_stop_dma() local 462 temp = mci_readl(host, CTRL); in dw_mci_idmac_stop_dma() 463 temp &= ~SDMMC_CTRL_USE_IDMAC; in dw_mci_idmac_stop_dma() 464 temp |= SDMMC_CTRL_DMA_RESET; in dw_mci_idmac_stop_dma() 465 mci_writel(host, CTRL, temp); in dw_mci_idmac_stop_dma() 468 temp = mci_readl(host, BMOD); in dw_mci_idmac_stop_dma() 469 temp &= ~(SDMMC_IDMAC_ENABLE | SDMMC_IDMAC_FB); in dw_mci_idmac_stop_dma() 470 temp |= SDMMC_IDMAC_SWRESET; in dw_mci_idmac_stop_dma() 471 mci_writel(host, BMOD, temp); in dw_mci_idmac_stop_dma() 726 u32 temp; in dw_mci_idmac_start_dma() local 1086 u32 temp; dw_mci_submit_data_dma() local 1145 u32 temp; dw_mci_submit_data() local 3263 u32 temp; dw_mci_enable_cd() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/ |
H A D | gianfar_ethtool.c | 1269 struct ethtool_flow_spec_container *temp, *comp; in gfar_add_cls() local 1272 temp = kmalloc(sizeof(*temp), GFP_KERNEL); in gfar_add_cls() 1273 if (temp == NULL) in gfar_add_cls() 1275 memcpy(&temp->fs, flow, sizeof(temp->fs)); in gfar_add_cls() 1277 gfar_invert_masks(&temp->fs); in gfar_add_cls() 1278 ret = gfar_check_capability(&temp->fs, priv); in gfar_add_cls() 1286 list_add(&temp->list, &priv->rx_list.list); in gfar_add_cls() 1291 list_add_tail(&temp in gfar_add_cls() [all...] |
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | lm63.c | 494 int temp; in set_temp8() local 506 temp = TEMP8U_TO_REG(val - data->temp2_offset); in set_temp8() 508 temp = TEMP8_TO_REG(val - data->temp2_offset); in set_temp8() 512 temp = TEMP8_TO_REG(val); in set_temp8() 516 temp = lut_temp_to_reg(data, val); in set_temp8() 518 data->temp8[nr] = temp; in set_temp8() 519 i2c_smbus_write_byte_data(client, reg, temp); in set_temp8() 530 int temp; in show_temp11() local 538 temp = TEMP11_FROM_REG(data->temp11u); in show_temp11() 540 temp in show_temp11() [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/ |
H A D | gbefb.c | 534 int temp; in gbe_set_timing_info() local 583 temp = timing->vblank_start - timing->vblank_end - 1; in gbe_set_timing_info() 584 if (temp > 0) in gbe_set_timing_info() 585 temp = -temp; in gbe_set_timing_info() 590 SET_GBE_FIELD(DID_START_XY, DID_STARTY, val, (u32) temp); in gbe_set_timing_info() 600 SET_GBE_FIELD(CRS_START_XY, CRS_STARTY, val, (u32) (temp + 1)); in gbe_set_timing_info() 611 SET_GBE_FIELD(VC_START_XY, VC_STARTY, val, (u32) temp); in gbe_set_timing_info() 616 temp = timing->hblank_end - GBE_PIXEN_MAGIC_ON; in gbe_set_timing_info() 617 if (temp < in gbe_set_timing_info() [all...] |
/kernel/linux/linux-5.10/sound/pci/au88x0/ |
H A D | au88x0_xtalk.c | 642 u32 temp; in vortex_XtalkHw_SetSampleRate() local 644 temp = (hwread(vortex->mmio, 0x24660) & 0x1FFFFFFF) | 0xC0000000; in vortex_XtalkHw_SetSampleRate() 645 temp = (temp & 0xffffff07) | ((sr & 0x1f) << 3); in vortex_XtalkHw_SetSampleRate() 646 hwwrite(vortex->mmio, 0x24660, temp); in vortex_XtalkHw_SetSampleRate() 658 u32 temp; in vortex_XtalkHw_Enable() local 660 temp = (hwread(vortex->mmio, 0x24660) & 0x1FFFFFFF) | 0xC0000000; in vortex_XtalkHw_Enable() 661 temp |= 1; in vortex_XtalkHw_Enable() 662 hwwrite(vortex->mmio, 0x24660, temp); in vortex_XtalkHw_Enable() 668 u32 temp; in vortex_XtalkHw_Disable() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/ |
H A D | gianfar_ethtool.c | 1279 struct ethtool_flow_spec_container *temp, *comp; in gfar_add_cls() local 1282 temp = kmalloc(sizeof(*temp), GFP_KERNEL); in gfar_add_cls() 1283 if (temp == NULL) in gfar_add_cls() 1285 memcpy(&temp->fs, flow, sizeof(temp->fs)); in gfar_add_cls() 1287 gfar_invert_masks(&temp->fs); in gfar_add_cls() 1288 ret = gfar_check_capability(&temp->fs, priv); in gfar_add_cls() 1296 list_add(&temp->list, &priv->rx_list.list); in gfar_add_cls() 1301 list_add_tail(&temp in gfar_add_cls() [all...] |
/kernel/linux/linux-6.6/drivers/video/fbdev/ |
H A D | gbefb.c | 532 int temp; in gbe_set_timing_info() local 581 temp = timing->vblank_start - timing->vblank_end - 1; in gbe_set_timing_info() 582 if (temp > 0) in gbe_set_timing_info() 583 temp = -temp; in gbe_set_timing_info() 588 SET_GBE_FIELD(DID_START_XY, DID_STARTY, val, (u32) temp); in gbe_set_timing_info() 598 SET_GBE_FIELD(CRS_START_XY, CRS_STARTY, val, (u32) (temp + 1)); in gbe_set_timing_info() 609 SET_GBE_FIELD(VC_START_XY, VC_STARTY, val, (u32) temp); in gbe_set_timing_info() 614 temp = timing->hblank_end - GBE_PIXEN_MAGIC_ON; in gbe_set_timing_info() 615 if (temp < in gbe_set_timing_info() [all...] |
/kernel/linux/linux-6.6/drivers/power/supply/ |
H A D | ab8500_chargalg.c | 81 int temp; member 655 if (di->batt_data.temp > (bi->temp_alert_min + di->t_hyst_norm) && in ab8500_chargalg_check_temp() 656 di->batt_data.temp < (bi->temp_alert_max - di->t_hyst_norm)) { in ab8500_chargalg_check_temp() 664 if ((di->batt_data.temp >= bi->temp_alert_max) && in ab8500_chargalg_check_temp() 665 (di->batt_data.temp < (bi->temp_max - di->t_hyst_lowhigh))) { in ab8500_chargalg_check_temp() 671 } else if ((di->batt_data.temp > (bi->temp_min + di->t_hyst_lowhigh)) && in ab8500_chargalg_check_temp() 672 (di->batt_data.temp <= bi->temp_alert_min)) { in ab8500_chargalg_check_temp() 678 } else if (di->batt_data.temp <= bi->temp_min || in ab8500_chargalg_check_temp() 679 di->batt_data.temp >= bi->temp_max) { in ab8500_chargalg_check_temp() 688 dev_dbg(di->dev, "Within hysteresis limit temp in ab8500_chargalg_check_temp() [all...] |
H A D | power_supply_core.c | 794 list = of_get_property(battery_np, "resistance-temp-table", &len); in power_supply_get_battery_info() 810 resist_table[index].temp = be32_to_cpu(*list++); in power_supply_get_battery_info() 974 * @temp: Current temperature 984 int table_len, int temp) in power_supply_temp2resist_simple() 989 if (temp > table[i].temp) in power_supply_temp2resist_simple() 1000 return fixp_linear_interpolate(table[low].temp, in power_supply_temp2resist_simple() 1002 table[high].temp, in power_supply_temp2resist_simple() 1004 temp); in power_supply_temp2resist_simple() 1121 int temp, in in power_supply_find_ocv2cap_table() 983 power_supply_temp2resist_simple(struct power_supply_resistance_temp_table *table, int table_len, int temp) power_supply_temp2resist_simple() argument 1120 power_supply_find_ocv2cap_table(struct power_supply_battery_info *info, int temp, int *table_len) power_supply_find_ocv2cap_table() argument 1147 power_supply_batinfo_ocv2cap(struct power_supply_battery_info *info, int ocv, int temp) power_supply_batinfo_ocv2cap() argument 1276 power_supply_read_temp(struct thermal_zone_device *tzd, int *temp) power_supply_read_temp() argument [all...] |
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | lm63.c | 494 int temp; in set_temp8() local 506 temp = TEMP8U_TO_REG(val - data->temp2_offset); in set_temp8() 508 temp = TEMP8_TO_REG(val - data->temp2_offset); in set_temp8() 512 temp = TEMP8_TO_REG(val); in set_temp8() 516 temp = lut_temp_to_reg(data, val); in set_temp8() 518 data->temp8[nr] = temp; in set_temp8() 519 i2c_smbus_write_byte_data(client, reg, temp); in set_temp8() 530 int temp; in show_temp11() local 538 temp = TEMP11_FROM_REG(data->temp11u); in show_temp11() 540 temp in show_temp11() [all...] |
/kernel/linux/linux-6.6/sound/pci/au88x0/ |
H A D | au88x0_xtalk.c | 642 u32 temp; in vortex_XtalkHw_SetSampleRate() local 644 temp = (hwread(vortex->mmio, 0x24660) & 0x1FFFFFFF) | 0xC0000000; in vortex_XtalkHw_SetSampleRate() 645 temp = (temp & 0xffffff07) | ((sr & 0x1f) << 3); in vortex_XtalkHw_SetSampleRate() 646 hwwrite(vortex->mmio, 0x24660, temp); in vortex_XtalkHw_SetSampleRate() 658 u32 temp; in vortex_XtalkHw_Enable() local 660 temp = (hwread(vortex->mmio, 0x24660) & 0x1FFFFFFF) | 0xC0000000; in vortex_XtalkHw_Enable() 661 temp |= 1; in vortex_XtalkHw_Enable() 662 hwwrite(vortex->mmio, 0x24660, temp); in vortex_XtalkHw_Enable() 668 u32 temp; in vortex_XtalkHw_Disable() local [all...] |