/third_party/skia/third_party/externals/libjpeg-turbo/ |
H A D | transupp.c | 131 JCOEF temp, qval; in requant_comp() local 144 temp = qtblptr->quantval[k]; in requant_comp() 146 if (temp != qval) { in requant_comp() 147 temp *= ptr[k]; in requant_comp() 154 if (temp < 0) { in requant_comp() 155 temp = -temp; in requant_comp() 156 temp += qval >> 1; /* for rounding */ in requant_comp() 157 DIVIDE_BY(temp, qval); in requant_comp() 158 temp in requant_comp() [all...] |
/third_party/vixl/test/aarch64/ |
H A D | test-api-aarch64.cc | 1149 VRegister temp = temps.AcquireH(); in TEST() local 1150 VIXL_CHECK(temp.Is(h31)); in TEST() 1154 VRegister temp = temps.AcquireS(); in TEST() local 1155 VIXL_CHECK(temp.Is(s31)); in TEST() 1159 VRegister temp = temps.AcquireD(); in TEST() local 1160 VIXL_CHECK(temp.Is(d31)); in TEST() 1164 VRegister temp = temps.AcquireVRegisterOfSize(kQRegSize); in TEST() local 1165 VIXL_CHECK(temp.Is(q31)); in TEST() 1169 VRegister temp = temps.AcquireVRegisterOfSize(kDRegSize); in TEST() local 1170 VIXL_CHECK(temp in TEST() 1174 VRegister temp = temps.AcquireVRegisterOfSize(kSRegSize); TEST() local 1186 ZRegister temp = temps.AcquireZ(); TEST() local [all...] |
/third_party/skia/third_party/externals/expat/expat/lib/ |
H A D | xmlparse.c | 1968 char *temp = NULL; in XML_Parse() local 1971 temp = (char *)REALLOC(parser, parser->m_buffer, bytesToAllocate); in XML_Parse() 1973 if (temp == NULL) { in XML_Parse() 1979 parser->m_buffer = temp; in XML_Parse() 2636 char *temp = (char *)REALLOC(parser, tag->buf, bufSize); in storeRawNames() local 2637 if (temp == NULL) in storeRawNames() 2643 tag->name.str = (XML_Char *)temp; in storeRawNames() 2649 = (XML_Char *)temp + (tag->name.localPart - (XML_Char *)tag->buf); in storeRawNames() 2650 tag->buf = temp; in storeRawNames() 2651 tag->bufEnd = temp in storeRawNames() 2992 char *temp = (char *)REALLOC(parser, tag->buf, bufSize); doContent() local 3335 ATTRIBUTE *temp; storeAtts() local 3527 NS_ATT *temp; storeAtts() local 3857 XML_Char *temp = (XML_Char *)REALLOC( addBinding() local 6374 DEFAULT_ATTRIBUTE *temp; defineAttribute() local 7322 BLOCK *temp; poolGrow() local 7423 CONTENT_SCAFFOLD *temp; nextScaffoldPart() local [all...] |
/foundation/arkui/napi/sample/native_module_storage/ |
H A D | js_storage.cpp | 32 auto temp = new EventHandler(); in Add() local 33 temp->next = handlers_; in Add() 34 handlers_ = temp; in Add() 41 EventHandler* temp = nullptr; in Del() local 48 if (temp == nullptr) { in Del() 51 temp->next = i->next; in Del() 56 temp = i; in Del()
|
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/smp/ |
H A D | smp_tool.c | 684 for (uint16_t temp = 0x00; temp < length; temp++) { in SMP_MemoryReverseCopy() 685 *(dest + temp) = *(source + length - 0x01 - temp); in SMP_MemoryReverseCopy() 694 uint8_t temp = buf[index]; in SMP_ReverseMemoryOrder() local 696 buf[length - 0x01 - index] = temp; in SMP_ReverseMemoryOrder()
|
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | abituguru.c | 29 #define ABIT_UGURU_SENSOR_BANK1 0x21 /* 16x volt and temp */ 32 /* max nr of sensors in bank1, a bank1 sensor can be in, temp or nc */ 43 #define ABIT_UGURU_TEMP_HIGH_ALARM_ENABLE 0x01 /* temp over warn */ 46 #define ABIT_UGURU_TEMP_HIGH_ALARM_FLAG 0x10 /* temp is over warn */ 99 * sum of strlen of: temp??_input\0, temp??_max\0, temp??_crit\0, 100 * temp??_alarm\0, temp??_alarm_enable\0, temp [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/ |
H A D | i40iw_uk.c | 89 u64 temp; in i40iw_qp_post_wr() local 96 get_64bit_val(qp->shadow_area, 0, &temp); in i40iw_qp_post_wr() 98 hw_sq_tail = (u32)RS_64(temp, I40IW_QP_DBSA_HW_SQ_TAIL); in i40iw_qp_post_wr() 1095 u8 polarity, temp; in i40iw_clean_cq() local 1098 temp = cq->polarity; in i40iw_clean_cq() 1107 if (polarity != temp) in i40iw_clean_cq() 1116 temp ^= 1; in i40iw_clean_cq()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlegacy/ |
H A D | 4965.c | 1664 s32 temp; in il4965_temperature_calib() local 1666 temp = il4965_hw_get_temperature(il); in il4965_temperature_calib() 1667 if (IL_TX_POWER_TEMPERATURE_OUT_OF_RANGE(temp)) in il4965_temperature_calib() 1670 if (il->temperature != temp) { in il4965_temperature_calib() 1674 kelvin_to_celsius(temp)); in il4965_temperature_calib() 1677 kelvin_to_celsius(temp)); in il4965_temperature_calib() 1680 il->temperature = temp; in il4965_temperature_calib()
|
/kernel/linux/linux-5.10/drivers/scsi/mvsas/ |
H A D | mv_94xx.c | 205 u32 temp; in mvs_94xx_config_reg_from_hba() local 206 temp = (u32)(*(u32 *)&mvi->hba_info_param.phy_tuning[phy_id]); in mvs_94xx_config_reg_from_hba() 207 if (temp == 0xFFFFFFFFL) { in mvs_94xx_config_reg_from_hba() 213 temp = (u8)(*(u8 *)&mvi->hba_info_param.ffe_ctl[phy_id]); in mvs_94xx_config_reg_from_hba() 214 if (temp == 0xFFL) { in mvs_94xx_config_reg_from_hba() 231 temp = (u8)(*(u8 *)&mvi->hba_info_param.phy_rate[phy_id]); in mvs_94xx_config_reg_from_hba() 232 if (temp == 0xFFL) in mvs_94xx_config_reg_from_hba()
|
/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | ohci-hcd.c | 477 u32 temp; in ohci_init() local 485 temp = 500; /* arbitrary: five seconds */ in ohci_init() 491 if (--temp == 0) { in ohci_init() 1034 int temp; in ohci_restart() local 1085 if ((temp = ohci_run (ohci)) < 0) { in ohci_restart() 1086 ohci_err (ohci, "can't restart, %d\n", temp); in ohci_restart() 1087 return temp; in ohci_restart()
|
/kernel/linux/linux-5.10/sound/pci/nm256/ |
H A D | nm256.c | 1351 void __iomem *temp; in snd_nm256_peek_for_sig() local 1356 temp = ioremap(chip->buffer_addr + chip->buffer_end - 0x400, 16); in snd_nm256_peek_for_sig() 1357 if (temp == NULL) { in snd_nm256_peek_for_sig() 1363 sig = readl(temp); in snd_nm256_peek_for_sig() 1365 u32 pointer = readl(temp + 4); in snd_nm256_peek_for_sig() 1375 iounmap(temp); in snd_nm256_peek_for_sig() 1385 iounmap(temp); in snd_nm256_peek_for_sig()
|
/kernel/linux/linux-5.10/fs/overlayfs/ |
H A D | dir.c | 47 struct dentry *temp; in ovl_lookup_temp() local 51 /* counter is allowed to wrap, since temp dentries are ephemeral */ in ovl_lookup_temp() 54 temp = lookup_one_len(name, workdir, strlen(name)); in ovl_lookup_temp() 55 if (!IS_ERR(temp) && temp->d_inode) { in ovl_lookup_temp() 57 dput(temp); in ovl_lookup_temp() 58 temp = ERR_PTR(-EIO); in ovl_lookup_temp() 61 return temp; in ovl_lookup_temp()
|
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_bmap_util.c | 726 xfs_extlen_t extsz, temp; in xfs_alloc_file_space() local 773 div_u64_rem(startoffset_fsb, extsz, &temp); in xfs_alloc_file_space() 774 if (temp) in xfs_alloc_file_space() 775 e += temp; in xfs_alloc_file_space() 776 div_u64_rem(e, extsz, &temp); in xfs_alloc_file_space() 777 if (temp) in xfs_alloc_file_space() 778 e += extsz - temp; in xfs_alloc_file_space() 1200 * E.g. target has space for 7 extents in extent format, temp inode only has 1248 * if the target inode is in extent form and the temp inode is in btree in xfs_swap_extents_check_format() 1250 * as we already know there are less extents in the temp inod in xfs_swap_extents_check_format() [all...] |
/kernel/linux/linux-6.6/drivers/ata/ |
H A D | ahci_imx.c | 330 static int __sata_ahci_read_temperature(void *dev, int *temp) in __sata_ahci_read_temperature() argument 414 *temp = ((-559) * a * a) / 1000 + (1379) * a + (-458000); in __sata_ahci_read_temperature() 419 static int sata_ahci_read_temperature(struct thermal_zone_device *tz, int *temp) in sata_ahci_read_temperature() argument 421 return __sata_ahci_read_temperature(thermal_zone_device_priv(tz), temp); in sata_ahci_read_temperature() 428 unsigned int temp = 0; in sata_ahci_show_temp() local 431 err = __sata_ahci_read_temperature(dev, &temp); in sata_ahci_show_temp() 435 return sprintf(buf, "%u\n", temp); in sata_ahci_show_temp()
|
/kernel/linux/linux-6.6/fs/overlayfs/ |
H A D | dir.c | 47 struct dentry *temp; in ovl_lookup_temp() local 51 /* counter is allowed to wrap, since temp dentries are ephemeral */ in ovl_lookup_temp() 54 temp = ovl_lookup_upper(ofs, name, workdir, strlen(name)); in ovl_lookup_temp() 55 if (!IS_ERR(temp) && temp->d_inode) { in ovl_lookup_temp() 57 dput(temp); in ovl_lookup_temp() 58 temp = ERR_PTR(-EIO); in ovl_lookup_temp() 61 return temp; in ovl_lookup_temp()
|
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_bmap_util.c | 784 xfs_extlen_t extsz, temp; in xfs_alloc_file_space() local 829 div_u64_rem(startoffset_fsb, extsz, &temp); in xfs_alloc_file_space() 830 if (temp) in xfs_alloc_file_space() 831 e += temp; in xfs_alloc_file_space() 832 div_u64_rem(e, extsz, &temp); in xfs_alloc_file_space() 833 if (temp) in xfs_alloc_file_space() 834 e += extsz - temp; in xfs_alloc_file_space() 1252 * E.g. target has space for 7 extents in extent format, temp inode only has 1300 * if the target inode is in extent form and the temp inode is in btree in xfs_swap_extents_check_format() 1302 * as we already know there are less extents in the temp inod in xfs_swap_extents_check_format() [all...] |
/kernel/linux/linux-6.6/drivers/thermal/ |
H A D | thermal_core.c | 376 int temp, ret; in update_temperature() local 378 ret = __thermal_zone_get_temp(tz, &temp); in update_temperature() 388 tz->temperature = temp; in update_temperature() 392 thermal_genl_sampling_temp(tz->id, temp); in update_temperature() 1179 int thermal_zone_get_crit_temp(struct thermal_zone_device *tz, int *temp) in thermal_zone_get_crit_temp() argument 1184 return tz->ops->get_crit_temp(tz, temp); in thermal_zone_get_crit_temp() 1193 *temp = tz->trips[i].temperature; in thermal_zone_get_crit_temp()
|
/kernel/linux/linux-6.6/drivers/platform/x86/ |
H A D | samsung-laptop.c | 918 char temp = readb(memcheck + loca); in find_signature() local 920 if (temp == testStr[i]) { in find_signature() 1356 char temp = readb(samsung->f0000_segment + loca); in samsung_sabi_diag() local 1358 if (isalnum(temp) || temp == '/' || temp == '-') in samsung_sabi_diag() 1359 samsung->sdiag[i++] = temp; in samsung_sabi_diag()
|
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | ohci-hcd.c | 475 u32 temp; in ohci_init() local 483 temp = 500; /* arbitrary: five seconds */ in ohci_init() 489 if (--temp == 0) { in ohci_init() 1032 int temp; in ohci_restart() local 1083 if ((temp = ohci_run (ohci)) < 0) { in ohci_restart() 1084 ohci_err (ohci, "can't restart, %d\n", temp); in ohci_restart() 1085 return temp; in ohci_restart()
|
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlegacy/ |
H A D | 4965.c | 1664 s32 temp; in il4965_temperature_calib() local 1666 temp = il4965_hw_get_temperature(il); in il4965_temperature_calib() 1667 if (IL_TX_POWER_TEMPERATURE_OUT_OF_RANGE(temp)) in il4965_temperature_calib() 1670 if (il->temperature != temp) { in il4965_temperature_calib() 1674 kelvin_to_celsius(temp)); in il4965_temperature_calib() 1677 kelvin_to_celsius(temp)); in il4965_temperature_calib() 1680 il->temperature = temp; in il4965_temperature_calib()
|
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | abituguru.c | 29 #define ABIT_UGURU_SENSOR_BANK1 0x21 /* 16x volt and temp */ 32 /* max nr of sensors in bank1, a bank1 sensor can be in, temp or nc */ 43 #define ABIT_UGURU_TEMP_HIGH_ALARM_ENABLE 0x01 /* temp over warn */ 46 #define ABIT_UGURU_TEMP_HIGH_ALARM_FLAG 0x10 /* temp is over warn */ 99 * sum of strlen of: temp??_input\0, temp??_max\0, temp??_crit\0, 100 * temp??_alarm\0, temp??_alarm_enable\0, temp [all...] |
/kernel/linux/linux-6.6/sound/pci/nm256/ |
H A D | nm256.c | 1319 void __iomem *temp; in snd_nm256_peek_for_sig() local 1324 temp = ioremap(chip->buffer_addr + chip->buffer_end - 0x400, 16); in snd_nm256_peek_for_sig() 1325 if (temp == NULL) { in snd_nm256_peek_for_sig() 1331 sig = readl(temp); in snd_nm256_peek_for_sig() 1333 u32 pointer = readl(temp + 4); in snd_nm256_peek_for_sig() 1343 iounmap(temp); in snd_nm256_peek_for_sig() 1353 iounmap(temp); in snd_nm256_peek_for_sig()
|
/kernel/linux/linux-6.6/drivers/scsi/mvsas/ |
H A D | mv_94xx.c | 205 u32 temp; in mvs_94xx_config_reg_from_hba() local 206 temp = (u32)(*(u32 *)&mvi->hba_info_param.phy_tuning[phy_id]); in mvs_94xx_config_reg_from_hba() 207 if (temp == 0xFFFFFFFFL) { in mvs_94xx_config_reg_from_hba() 213 temp = (u8)(*(u8 *)&mvi->hba_info_param.ffe_ctl[phy_id]); in mvs_94xx_config_reg_from_hba() 214 if (temp == 0xFFL) { in mvs_94xx_config_reg_from_hba() 231 temp = (u8)(*(u8 *)&mvi->hba_info_param.phy_rate[phy_id]); in mvs_94xx_config_reg_from_hba() 232 if (temp == 0xFFL) in mvs_94xx_config_reg_from_hba()
|
/third_party/ffmpeg/libavcodec/ |
H A D | evrcdec.c | 578 scratch[SUBFRAME_SIZE], temp[SUBFRAME_SIZE], in postfilter() local 618 memcpy(temp, e->postfilter_residual + ACB_SIZE, length * sizeof(float)); in postfilter() 622 memcpy(temp, e->postfilter_residual + ACB_SIZE, length * sizeof(float)); in postfilter() 627 temp[i] = e->postfilter_residual[ACB_SIZE + i] + gamma * in postfilter() 633 memcpy(scratch, temp, length * sizeof(float)); in postfilter() 645 temp[i] *= gain; in postfilter() 648 synthesis_filter(temp, wcoef2, e->postfilter_iir, length, out); in postfilter()
|
/third_party/icu/icu4c/source/i18n/ |
H A D | translit.cpp | 1108 Transliterator* temp = createInstance(*idBlock, UTRANS_FORWARD, parseError, status); in createFromRules() local 1110 delete temp; in createFromRules() 1113 if (temp != NULL && typeid(*temp) != typeid(NullTransliterator)) { in createFromRules() 1114 transliterators.addElement(temp, status); in createFromRules() 1116 delete temp; in createFromRules() 1120 delete temp; in createFromRules()
|