/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/ |
D | iio_utils.h | 260 struct iio_channel_info temp; in bsort_channel_array_by_index() local 266 temp = (*ci_array)[y + 1]; in bsort_channel_array_by_index() 268 (*ci_array)[y] = temp; in bsort_channel_array_by_index() 440 char temp[200]; in _write_sysfs_int() local 442 if (temp == NULL) in _write_sysfs_int() 444 sprintf(temp, "%s/%s", basedir, filename); in _write_sysfs_int() 445 sysfsfp = fopen(temp, "w"); in _write_sysfs_int() 447 printf("failed to open write %s\n", temp); in _write_sysfs_int() 456 sysfsfp = fopen(temp, "r"); in _write_sysfs_int() 458 printf("failed to open read %s\n", temp); in _write_sysfs_int() [all …]
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/ |
D | iio_utils.h | 261 struct iio_channel_info temp; in bsort_channel_array_by_index() local 267 temp = (*ci_array)[y + 1]; in bsort_channel_array_by_index() 269 (*ci_array)[y] = temp; in bsort_channel_array_by_index() 440 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in _write_sysfs_int() local 441 if (temp == NULL) in _write_sysfs_int() 444 sprintf(temp, "%s/%s", basedir, filename); in _write_sysfs_int() 447 printf("VERB: echo %d > %s\n", val, temp); in _write_sysfs_int() 448 sysfsfp = fopen(temp, "w"); in _write_sysfs_int() 450 printf("failed to open %s\n", temp); in _write_sysfs_int() 458 sysfsfp = fopen(temp, "r"); in _write_sysfs_int() [all …]
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/ |
D | iio_utils.h | 261 struct iio_channel_info temp; in bsort_channel_array_by_index() local 267 temp = (*ci_array)[y + 1]; in bsort_channel_array_by_index() 269 (*ci_array)[y] = temp; in bsort_channel_array_by_index() 440 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in _write_sysfs_int() local 441 if (temp == NULL) in _write_sysfs_int() 444 sprintf(temp, "%s/%s", basedir, filename); in _write_sysfs_int() 447 printf("VERB: echo %d > %s\n", val, temp); in _write_sysfs_int() 448 sysfsfp = fopen(temp, "w"); in _write_sysfs_int() 450 printf("failed to open %s\n", temp); in _write_sysfs_int() 458 sysfsfp = fopen(temp, "r"); in _write_sysfs_int() [all …]
|
/hardware/google/gfxstream/third-party/glm/include/glm/gtx/ |
D | rotate_normalized_axis.inl | 20 tvec3<T, P> const temp((static_cast<T>(1) - c) * axis); local 23 Rotate[0][0] = c + temp[0] * axis[0]; 24 Rotate[0][1] = 0 + temp[0] * axis[1] + s * axis[2]; 25 Rotate[0][2] = 0 + temp[0] * axis[2] - s * axis[1]; 27 Rotate[1][0] = 0 + temp[1] * axis[0] - s * axis[2]; 28 Rotate[1][1] = c + temp[1] * axis[1]; 29 Rotate[1][2] = 0 + temp[1] * axis[2] + s * axis[0]; 31 Rotate[2][0] = 0 + temp[2] * axis[0] + s * axis[1]; 32 Rotate[2][1] = 0 + temp[2] * axis[1] - s * axis[0]; 33 Rotate[2][2] = c + temp[2] * axis[2];
|
/hardware/google/aemu/host-common/ |
D | logging.cpp | 130 char temp[2048]; in OutputLog() local 131 int ret = vsnprintf(temp, sizeof(temp), format, args); in OutputLog() 132 temp[sizeof(temp) - 1] = 0; in OutputLog() 135 logger("%s\n", temp); in OutputLog() 137 fprintf(stream, "%s\n", temp); in OutputLog()
|
/hardware/google/gfxstream/guest/mesa/src/util/ |
D | memstream.c | 49 char *temp = mem->temp; in u_memstream_open() 50 UINT uResult = GetTempFileName(path, "MEMSTREAM", 0, temp); in u_memstream_open() 52 FILE *f = fopen(temp, "w+b"); in u_memstream_open() 90 remove(mem->temp); in u_memstream_close()
|
/hardware/ril/libril/ |
D | rilSocketQueue.h | 101 T* temp = NULL; in dequeue() local 107 temp = this->front; in dequeue() 115 return temp; in dequeue() 137 T* temp; in checkAndDequeue() local 144 temp = *ppCur; in checkAndDequeue() 146 free(temp); in checkAndDequeue()
|
/hardware/qcom/sm8150/gps/utils/ |
D | loc_misc_utils.cpp | 175 char *temp; in getQTimerDeltaNanos() local 195 temp = qtimer_val_string; in getQTimerDeltaNanos() 196 temp = strchr(temp, ':'); in getQTimerDeltaNanos() 197 temp = temp + 2; in getQTimerDeltaNanos() 198 local_qtimer = atoll(temp); in getQTimerDeltaNanos() 200 temp = strchr(temp, ':'); in getQTimerDeltaNanos() 201 temp = temp + 2; in getQTimerDeltaNanos() 202 remote_qtimer = atoll(temp); in getQTimerDeltaNanos()
|
/hardware/qcom/sm7250/gps/utils/ |
D | loc_misc_utils.cpp | 175 char *temp; in getQTimerDeltaNanos() local 195 temp = qtimer_val_string; in getQTimerDeltaNanos() 196 temp = strchr(temp, ':'); in getQTimerDeltaNanos() 197 temp = temp + 2; in getQTimerDeltaNanos() 198 local_qtimer = atoll(temp); in getQTimerDeltaNanos() 200 temp = strchr(temp, ':'); in getQTimerDeltaNanos() 201 temp = temp + 2; in getQTimerDeltaNanos() 202 remote_qtimer = atoll(temp); in getQTimerDeltaNanos()
|
/hardware/google/pixel/thermal/ |
D | init.thermal.logging.sh | 14 temp=`cat $f/temp` 15 logline+="|$temp"
|
D | thermal-helper.cpp | 106 static_cast<int>(sensor_status.thermal_cached.temp)); in dumpTraces() 399 bool ThermalHelperImpl::emulTemp(std::string_view target_sensor, const float temp, in emulTemp() argument 401 LOG(INFO) << "Set " << target_sensor.data() << " emul_temp: " << temp in emulTemp() 414 sensor_status.override_status.emul_temp.reset(new EmulTemp{temp, -1}); in emulTemp() 444 const auto temp = sensor_info.hot_thresholds[severity] / sensor_info.multiplier; in emulSeverity() local 448 sensor_status.override_status.emul_temp.reset(new EmulTemp{temp, severity}); in emulSeverity() 507 float temp = NAN; in readTemperature() local 511 if (!readThermalSensor(sensor_name, &temp, force_no_cache, &sensor_log_map)) { in readTemperature() 518 if (std::isnan(temp)) { in readTemperature() 526 out->value = temp * sensor_info.multiplier; in readTemperature() [all …]
|
/hardware/qcom/wlan/wcn6740/qcwcn/wpa_supplicant_8_lib/ |
D | driver_cmd_nl80211.c | 994 const char *temp = text; in convert_string_to_bytes() local 996 while (temp && *temp != '\0' && i < max_bytes) { in convert_string_to_bytes() 997 nibble = chartohex(*temp++); in convert_string_to_bytes() 1001 nibble = chartohex(*temp++); in convert_string_to_bytes() 1005 if (*temp == ':') in convert_string_to_bytes() 1006 temp++; in convert_string_to_bytes() 1239 int temp; in op_class_band_conversion() local 1244 temp = g_sta_info.supp_op_classes[i]; in op_class_band_conversion() 1245 if (temp >= 81 && temp <= 84) in op_class_band_conversion() 1247 else if (temp >= 115 && temp <= 130) in op_class_band_conversion() [all …]
|
/hardware/google/pixel/thermal/utils/ |
D | thermal_throttling.cpp | 187 const Temperature &temp, const SensorInfo &sensor_info, in updatePowerBudget() argument 195 auto &throttling_status = thermal_throttling_status_map_.at(temp.name); in updatePowerBudget() 196 std::string sensor_name = temp.name; in updatePowerBudget() 213 float err = target - temp.value; in updatePowerBudget() 291 LOG(INFO) << temp.name << " power_budget=" << power_budget << " err=" << err in updatePowerBudget() 318 static_cast<int>(temp.value / sensor_info.multiplier)); in updatePowerBudget() 357 const Temperature &temp, const SensorInfo &sensor_info, in allocatePowerToCdev() argument 374 updatePowerBudget(temp, sensor_info, cooling_device_info_map, time_elapsed_ms, in allocatePowerToCdev() 376 const auto &profile = thermal_throttling_status_map_[temp.name].profile; in allocatePowerToCdev() 380 &log_buf, temp.name); in allocatePowerToCdev() [all …]
|
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/ |
D | queue.c | 101 Node *temp; in pop() local 107 temp = q->head; in pop() 108 element = temp->element; in pop() 116 free(temp); in pop()
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/ |
D | queue.c | 106 Node *temp; in pop() local 112 temp = q->head; in pop() 113 element = temp->element; in pop() 124 free(temp); in pop()
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/ |
D | IPACM_Conntrack_NATApp.cpp | 55 memset(temp, 0, sizeof(temp)); in NatApp() 742 if(temp[cnt].private_ip == new_entry->private_ip && in AddTempEntry() 743 temp[cnt].target_ip == new_entry->target_ip && in AddTempEntry() 744 temp[cnt].private_port == new_entry->private_port && in AddTempEntry() 745 temp[cnt].target_port == new_entry->target_port && in AddTempEntry() 746 temp[cnt].protocol == new_entry->protocol) in AddTempEntry() 755 if(temp[cnt].private_ip == 0 && in AddTempEntry() 756 temp[cnt].target_ip == 0) in AddTempEntry() 758 memcpy(&temp[cnt], new_entry, sizeof(nat_table_entry)); in AddTempEntry() 780 if(temp[cnt].private_ip == entry->private_ip && in DeleteTempEntry() [all …]
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/htmldiff/ |
D | htmldiff.pl | 196 my $temp = ""; 248 if ($temp ne "") { 249 $_ = $span[$state] . $anchor . $temp . $anchorEnd . $diffEnd[$state] . "\n"; 250 $temp = ""; 259 if ($temp eq "") { 265 $temp .= $_; 271 $temp .= $_;
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
D | data_builder.c | 415 if (sensors.temp.status & INV_SENSOR_ON) { in inv_get_last_timestamp() 416 if (timestamp < sensors.temp.timestamp) in inv_get_last_timestamp() 417 timestamp = sensors.temp.timestamp; in inv_get_last_timestamp() 638 if (sensors.temp.calibrated[0]) in inv_set_mpl_gyro_bias() 639 inv_data_builder.save.gyro_temp = sensors.temp.calibrated[0]; in inv_set_mpl_gyro_bias() 675 void inv_get_mpl_gyro_bias(long *bias, long *temp) in inv_get_mpl_gyro_bias() argument 681 if (temp != NULL) in inv_get_mpl_gyro_bias() 682 temp[0] = inv_data_builder.save.gyro_temp; in inv_get_mpl_gyro_bias() 756 void inv_get_mpl_accel_bias(long *bias, long *temp) in inv_get_mpl_accel_bias() argument 761 if (temp != NULL) in inv_get_mpl_accel_bias() [all …]
|
D | ml_math_func.c | 73 long temp; in inv_get_gyro_sum_of_sqr() local 77 temp = gyro[kk] >> (16 - (GYRO_MAG_SQR_SHIFT / 2)); in inv_get_gyro_sum_of_sqr() 78 gmag += temp * temp; in inv_get_gyro_sum_of_sqr() 98 long long temp; in inv_q29_mult() 100 temp = (long long)a * b; in inv_q29_mult() 101 result = (long)(temp >> 29); in inv_q29_mult() 120 long long temp; in inv_q30_mult() 122 temp = (long long)a * b; in inv_q30_mult() 123 result = (long)(temp >> 30); in inv_q30_mult() 131 long long temp; in inv_q30_div() local [all …]
|
/hardware/google/gfxstream/third-party/glm/include/glm/gtc/ |
D | ulp.inl | 249 T temp = x; local 251 temp = next_float(temp); 252 return temp; 267 T temp = x; local 269 temp = prev_float(temp); 270 return temp; 289 T temp = x; local 290 while(temp != y)// && ulp < std::numeric_limits<std::size_t>::max()) 293 temp = next_float(temp); 298 T temp = y; local [all …]
|
/hardware/qcom/camera/msm8998/usbcamcore/inc/ |
D | QCameraUsbPriv.h | 87 char temp[1001] = {0};\ 90 strlcpy(temp,parms+n,1000);\ 91 ALOGD("parms = %s", temp);\ 92 if (strlen(temp) < 1000) break;\
|
/hardware/qcom/bt/msm8909w_3100/libbt-vendor/src/ |
D | bt_vendor_qcom.c | 615 struct bt_qcom_struct *temp = NULL; in init() local 626 temp = (struct bt_qcom_struct *) malloc(sizeof(*q)); in init() 627 if (!temp) { in init() 632 memset(temp, 0, sizeof(*temp)); in init() 634 temp->rfkill_id = -1; in init() 635 temp->enable_extldo = FALSE; in init() 636 temp->cb = cb; in init() 637 temp->ant_fd = -1; in init() 638 temp->soc_type = get_bt_soc_type(); in init() 639 soc_init(temp->soc_type); in init() [all …]
|
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/ |
D | IPACM_Conntrack_NATApp.cpp | 61 memset(temp, 0, sizeof(temp)); in NatApp() 1013 if(temp[cnt].private_ip == new_entry->private_ip && in AddTempEntry() 1014 temp[cnt].target_ip == new_entry->target_ip && in AddTempEntry() 1015 temp[cnt].private_port == new_entry->private_port && in AddTempEntry() 1016 temp[cnt].target_port == new_entry->target_port && in AddTempEntry() 1017 temp[cnt].protocol == new_entry->protocol) in AddTempEntry() 1026 if(temp[cnt].private_ip == 0 && in AddTempEntry() 1027 temp[cnt].target_ip == 0) in AddTempEntry() 1029 memcpy(&temp[cnt], new_entry, sizeof(nat_table_entry)); in AddTempEntry() 1051 if(temp[cnt].private_ip == entry->private_ip && in DeleteTempEntry() [all …]
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
D | data_builder.c | 618 if (sensors.temp.status & INV_SENSOR_ON) { in inv_get_last_timestamp() 619 if (timestamp < sensors.temp.timestamp) { in inv_get_last_timestamp() 620 timestamp = sensors.temp.timestamp; in inv_get_last_timestamp() 852 if (sensors.temp.calibrated[0]) in inv_set_mpl_gyro_bias() 853 inv_data_builder.save.gyro_temp = sensors.temp.calibrated[0]; in inv_set_mpl_gyro_bias() 889 void inv_get_mpl_gyro_bias(long *bias, long *temp) in inv_get_mpl_gyro_bias() argument 895 if (temp != NULL) in inv_get_mpl_gyro_bias() 896 temp[0] = inv_data_builder.save.gyro_temp; in inv_get_mpl_gyro_bias() 970 void inv_get_mpl_accel_bias(long *bias, long *temp) in inv_get_mpl_accel_bias() argument 975 if (temp != NULL) in inv_get_mpl_accel_bias() [all …]
|
D | ml_math_func.c | 73 long temp; in inv_get_gyro_sum_of_sqr() local 77 temp = gyro[kk] >> (16 - (GYRO_MAG_SQR_SHIFT / 2)); in inv_get_gyro_sum_of_sqr() 78 gmag += temp * temp; in inv_get_gyro_sum_of_sqr() 98 long long temp; in inv_q29_mult() 100 temp = (long long)a * b; in inv_q29_mult() 101 result = (long)(temp >> 29); in inv_q29_mult() 120 long long temp; in inv_q30_mult() 122 temp = (long long)a * b; in inv_q30_mult() 123 result = (long)(temp >> 30); in inv_q30_mult() 131 long long temp; in inv_q30_div() local [all …]
|