/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/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/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/ril/libril/ |
D | rilSocketQueue.h | 103 T* temp = NULL; in dequeue() local 109 temp = this->front; in dequeue() 117 return temp; in dequeue() 139 T* temp; in checkAndDequeue() local 146 temp = *ppCur; in checkAndDequeue() 148 free(temp); in checkAndDequeue()
|
/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/qcom/sdm845/data/ipacfg-mgr/ipacm/src/ |
D | IPACM_Conntrack_NATApp.cpp | 59 memset(temp, 0, sizeof(temp)); in NatApp() 772 if(temp[cnt].private_ip == new_entry->private_ip && in AddTempEntry() 773 temp[cnt].target_ip == new_entry->target_ip && in AddTempEntry() 774 temp[cnt].private_port == new_entry->private_port && in AddTempEntry() 775 temp[cnt].target_port == new_entry->target_port && in AddTempEntry() 776 temp[cnt].protocol == new_entry->protocol) in AddTempEntry() 785 if(temp[cnt].private_ip == 0 && in AddTempEntry() 786 temp[cnt].target_ip == 0) in AddTempEntry() 788 memcpy(&temp[cnt], new_entry, sizeof(nat_table_entry)); in AddTempEntry() 810 if(temp[cnt].private_ip == entry->private_ip && in DeleteTempEntry() [all …]
|
/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/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/google/pixel/thermal/ |
D | thermal-helper.cpp | 252 std::string temp; in readTemperature() local 254 if (!thermal_sensors_.readThermalFile(sensor_name, &temp)) { in readTemperature() 259 if (temp.empty()) { in readTemperature() 271 out->currentValue = std::stof(temp) * sensor_info.multiplier; in readTemperature() 285 std::string temp; in readTemperature() local 287 if (!thermal_sensors_.readThermalFile(sensor_name, &temp)) { in readTemperature() 292 if (temp.empty()) { in readTemperature() 300 out->value = std::stof(temp) * sensor_info.multiplier; in readTemperature() 331 std::string temp; in readTemperatureThreshold() local 488 Temperature_1_0 temp; in fillTemperatures() local [all …]
|
/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 …]
|
D | data_builder.h | 131 struct inv_single_sensor_t temp; member 245 inv_error_t inv_build_temp(const long temp, inv_time_t timestamp); 275 void inv_get_mpl_gyro_bias(long *bias, long *temp); 279 void inv_get_mpl_accel_bias(long *bias, long *temp);
|
/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/sdm845/bt/libbt-vendor/src/ |
D | bt_vendor_qcom.c | 619 struct bt_qcom_struct *temp = NULL; in init() local 630 temp = (struct bt_qcom_struct *) malloc(sizeof(*q)); in init() 631 if (!temp) { in init() 636 memset(temp, 0, sizeof(*temp)); in init() 638 temp->rfkill_id = -1; in init() 639 temp->enable_extldo = FALSE; in init() 640 temp->cb = cb; in init() 641 temp->ant_fd = -1; in init() 642 temp->soc_type = get_bt_soc_type(); in init() 643 soc_init(temp->soc_type); in init() [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/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 …]
|
D | data_builder.h | 134 struct inv_single_sensor_t temp; member 248 inv_error_t inv_build_temp(const long temp, inv_time_t timestamp); 278 void inv_get_mpl_gyro_bias(long *bias, long *temp); 282 void inv_get_mpl_accel_bias(long *bias, long *temp);
|
/hardware/libhardware/modules/thermal/ |
D | thermal.c | 42 float temp; in get_temperatures() local 63 if (1 != fscanf(file, "%f", &temp)) { in get_temperatures() 72 .current_value = temp, in get_temperatures()
|
/hardware/qcom/display/msm8909/sdm/libs/hwc/ |
D | hwc_display_external_test.cpp | 459 uint8_t *temp = buffer + (loop_height * buffer_stride); in GenerateColorRamp() local 463 PixelCopy(color_value, 0, 0, 0, &temp); in GenerateColorRamp() 469 PixelCopy(0, color_value, 0, 0, &temp); in GenerateColorRamp() 475 PixelCopy(0, 0, color_value, 0, &temp); in GenerateColorRamp() 481 PixelCopy(color_value, color_value, color_value, 0, &temp); in GenerateColorRamp() 533 uint8_t *temp = buffer + (loop_height * buffer_stride); in GenerateBWVertical() local 537 PixelCopy(0, 0, 0, 0, &temp); in GenerateBWVertical() 543 PixelCopy(max_color_val, max_color_val, max_color_val, 0, &temp); in GenerateBWVertical() 603 uint8_t *temp = buffer + (loop_height * buffer_stride); in GenerateColorSquare() local 606 PixelCopy(colors[color][0], colors[color][1], colors[color][2], 0, &temp); in GenerateColorSquare()
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/ |
D | hwc_display_external_test.cpp | 459 uint8_t *temp = buffer + (loop_height * buffer_stride); in GenerateColorRamp() local 463 PixelCopy(color_value, 0, 0, 0, &temp); in GenerateColorRamp() 469 PixelCopy(0, color_value, 0, 0, &temp); in GenerateColorRamp() 475 PixelCopy(0, 0, color_value, 0, &temp); in GenerateColorRamp() 481 PixelCopy(color_value, color_value, color_value, 0, &temp); in GenerateColorRamp() 533 uint8_t *temp = buffer + (loop_height * buffer_stride); in GenerateBWVertical() local 537 PixelCopy(0, 0, 0, 0, &temp); in GenerateBWVertical() 543 PixelCopy(max_color_val, max_color_val, max_color_val, 0, &temp); in GenerateBWVertical() 603 uint8_t *temp = buffer + (loop_height * buffer_stride); in GenerateColorSquare() local 606 PixelCopy(colors[color][0], colors[color][1], colors[color][2], 0, &temp); in GenerateColorSquare()
|
/hardware/qcom/display/msm8909/sdm/libs/hwc2/ |
D | hwc_display_external_test.cpp | 452 uint8_t *temp = buffer + (loop_height * buffer_stride); in GenerateColorRamp() local 456 PixelCopy(color_value, 0, 0, 0, &temp); in GenerateColorRamp() 462 PixelCopy(0, color_value, 0, 0, &temp); in GenerateColorRamp() 468 PixelCopy(0, 0, color_value, 0, &temp); in GenerateColorRamp() 474 PixelCopy(color_value, color_value, color_value, 0, &temp); in GenerateColorRamp() 526 uint8_t *temp = buffer + (loop_height * buffer_stride); in GenerateBWVertical() local 530 PixelCopy(0, 0, 0, 0, &temp); in GenerateBWVertical() 536 PixelCopy(max_color_val, max_color_val, max_color_val, 0, &temp); in GenerateBWVertical() 596 uint8_t *temp = buffer + (loop_height * buffer_stride); in GenerateColorSquare() local 599 PixelCopy(colors[color][0], colors[color][1], colors[color][2], 0, &temp); in GenerateColorSquare()
|
/hardware/interfaces/memtrack/1.0/default/ |
D | Memtrack.cpp | 44 size_t temp = 0; in getMemory() local 45 size_t *size = &temp; in getMemory()
|
/hardware/qcom/camera/msm8998/QCamera2/util/ |
D | QCameraCommon.cpp | 124 uint32_t temp = 0; in calculateLCM() local 139 temp = lcm; in calculateLCM() 145 lcm += temp; in calculateLCM()
|
/hardware/qcom/sdm845/display/sdm/libs/hwc2/ |
D | hwc_display_external_test.cpp | 452 uint8_t *temp = buffer + (loop_height * buffer_stride); in GenerateColorRamp() local 456 PixelCopy(color_value, 0, 0, 0, &temp); in GenerateColorRamp() 462 PixelCopy(0, color_value, 0, 0, &temp); in GenerateColorRamp() 468 PixelCopy(0, 0, color_value, 0, &temp); in GenerateColorRamp() 474 PixelCopy(color_value, color_value, color_value, 0, &temp); in GenerateColorRamp() 526 uint8_t *temp = buffer + (loop_height * buffer_stride); in GenerateBWVertical() local 530 PixelCopy(0, 0, 0, 0, &temp); in GenerateBWVertical() 536 PixelCopy(max_color_val, max_color_val, max_color_val, 0, &temp); in GenerateBWVertical() 596 uint8_t *temp = buffer + (loop_height * buffer_stride); in GenerateColorSquare() local 599 PixelCopy(colors[color][0], colors[color][1], colors[color][2], 0, &temp); in GenerateColorSquare()
|