/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);
|
/third_party/python/Python/ |
H A D | symtable.c | 744 PyObject *temp; in analyze_block() local 783 temp = PyNumber_InPlaceOr(newglobal, global); in analyze_block() 784 if (!temp) in analyze_block() 786 Py_DECREF(temp); in analyze_block() 789 temp = PyNumber_InPlaceOr(newbound, bound); in analyze_block() 790 if (!temp) in analyze_block() 792 Py_DECREF(temp); in analyze_block() 807 temp = PyNumber_InPlaceOr(newbound, local); in analyze_block() 808 if (!temp) in analyze_block() 810 Py_DECREF(temp); in analyze_block() 890 PyObject *temp; analyze_child_block() local [all...] |
/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/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...] |
/third_party/cups-filters/filter/ |
H A D | rastertopclx.c | 978 temp; /* Temporary count */ in CompressData() local 1304 temp = count - 8; in CompressData() 1309 if (count <= temp) in CompressData() 1316 if (temp >= 255) in CompressData() 1319 *comp_ptr++ = temp; in CompressData() 1321 temp -= 255; in CompressData() 1372 if (temp == 0) in CompressData() 1469 temp = count - 8; in CompressData() 1474 if (count <= temp) in CompressData() 1481 if (temp > in CompressData() [all...] |
/third_party/gptfdisk/ |
H A D | basicmbr.cc | 1314 MBRPart temp; in RemoveLogicalsFromFirstFour() local 1322 temp = partitions[j]; in RemoveLogicalsFromFirstFour() 1324 partitions[i] = temp; in RemoveLogicalsFromFirstFour() 1341 MBRPart temp; in MovePrimariesToFirstFour() local 1349 temp = partitions[j]; in MovePrimariesToFirstFour() 1351 partitions[i] = temp; in MovePrimariesToFirstFour() 1368 MBRPart temp; in CreateExtended() local 1379 temp.Empty(); in CreateExtended() 1380 temp.SetStartLBA(FirstLogicalLBA() - 1); in CreateExtended() 1381 temp in CreateExtended() [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
H A D | nvfx_vertprog.c | 70 temp(struct nvfx_vpc *vpc) in temp() function 497 src[i] = nvfx_src(temp(vpc)); in nvfx_vertprog_parse_instruction() 508 src[i] = nvfx_src(temp(vpc)); in nvfx_vertprog_parse_instruction() 519 src[i] = nvfx_src(temp(vpc)); in nvfx_vertprog_parse_instruction() 550 dst = temp(vpc); in nvfx_vertprog_parse_instruction() 561 tmp = nvfx_src(temp(vpc)); in nvfx_vertprog_parse_instruction() 582 tmp = nvfx_src(temp(vpc)); in nvfx_vertprog_parse_instruction() 617 tmp = nvfx_src(temp(vpc)); in nvfx_vertprog_parse_instruction() 639 tmp = nvfx_src(temp(vpc)); in nvfx_vertprog_parse_instruction() 675 tmp = nvfx_src(temp(vp in nvfx_vertprog_parse_instruction() [all...] |
/third_party/toybox/lib/ |
H A D | lib.c | 532 char temp; in fdlength() local 535 if (lseek(fd, pos, 0)>=0 && read(fd, &temp, 1)==1) { in fdlength() 818 char *temp = xstrdup(*tempname); in replace_tempfile() local 820 temp[strlen(temp)-6]=0; in replace_tempfile() 826 xrename(*tempname, temp); in replace_tempfile() 829 free(temp); in replace_tempfile() 1262 struct passwd *temp; in bufgetpwuid() local 1273 size-sizeof(*list), &temp); in bufgetpwuid() 1277 if (!temp) { in bufgetpwuid() 1295 struct group *temp; bufgetgrgid() local [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...] |
/third_party/mesa3d/src/amd/compiler/ |
H A D | aco_ir.h | 498 data_.temp = r; 509 data_.temp = r; 663 data_.temp = Temp(0, type); 668 data_.temp = Temp(0, type); 735 data_.temp = t; 738 constexpr Temp getTemp() const noexcept { return data_.temp; } 740 constexpr uint32_t tempId() const noexcept { return data_.temp.id(); } 744 constexpr RegClass regClass() const noexcept { return data_.temp.regClass(); } 751 return data_.temp.bytes(); 759 return data_.temp 890 Temp temp; global() member 925 Definition(uint32_t index, RegClass type) noexcept : temp(index, type) {} temp() function in final 926 explicit Definition(Temp tmp) noexcept : temp(tmp) {} temp() function in final 977 Temp temp = Temp(0, s1); global() member in final [all...] |
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/ |
H A D | hdf_liteos_scann.py | 135 enable_path_dict[temp_name] = enable_path_dict.pop("temp")
159 temp = re.search(
163 '${' + temp[1:] + "}",
199 enable_path_dict[temp_name] = enable_path_dict.pop("temp")
218 temp = re.search(self.re_right_macro,
221 '${' + temp[1:] + "}",
223 import_replace_name.add(temp[1:])
269 temp = re.search(self.re_right_macro, info).group()
271 '${' + temp[1:] + "}", info)
308 enable_name = "temp"
[all...] |