Home
last modified time | relevance | path

Searched refs:temp (Results 1 – 25 of 109) sorted by relevance

12345

/device/generic/goldfish/qemu-props/
Dqemu-props.cpp91 char temp[PROPERTY_KEY_MAX + PROPERTY_VALUE_MAX + 2]; in setBootProperties() local
92 const int len = qemud_channel_recv(qemud.get(), temp, sizeof(temp) - 1); in setBootProperties()
95 if (len < 0 || len > (sizeof(temp) - 1) || !temp[0]) { in setBootProperties()
99 temp[len] = '\0'; in setBootProperties()
100 char* prop_value = strchr(temp, '='); in setBootProperties()
108 if (check_if_property_in_list(temp, k_properties_to_ignore)) { in setBootProperties()
112 char renamed_property[sizeof(temp)]; in setBootProperties()
117 if (need_prepend_prefix(temp, k_vendor_prefix)) { in setBootProperties()
119 int(k_vendor_prefix.size()), k_vendor_prefix.data(), temp); in setBootProperties()
123 final_prop_name = temp; in setBootProperties()
[all …]
/device/google/contexthub/firmware/os/algos/calibration/accelerometer/
Daccel_cal.c101 static void accelTempHisto(struct AccelStatsMem *adf, float temp) { in accelTempHisto() argument
106 if (temp <= TEMP_HIST_LOW) { in accelTempHisto()
110 if (temp >= TEMP_HIST_HIGH) { in accelTempHisto()
114 index = (int)(((temp - TEMP_HIST_LOW) / 2) + 1); in accelTempHisto()
292 float temp) { in accelGoodData() argument
300 ac1->agd.acc_t += temp; in accelGoodData()
301 ac1->agd.acc_tt += temp * temp; in accelGoodData()
307 ac1->agd.acc_t += temp; in accelGoodData()
308 ac1->agd.acc_tt += temp * temp; in accelGoodData()
314 ac1->agd.acc_t += temp; in accelGoodData()
[all …]
Daccel_cal.h183 float y, float z, float temp);
209 void accelCalDebPrint(struct AccelCal *acc, float temp);
/device/generic/vulkan-cereal/third-party/glm/include/glm/gtx/
Drotate_normalized_axis.inl20 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];
/device/generic/vulkan-cereal/third-party/glm/include/glm/gtc/
Dulp.inl249 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 …]
Dmatrix_transform.inl26 tvec3<T, P> temp((T(1) - c) * axis); local
29 Rotate[0][0] = c + temp[0] * axis[0];
30 Rotate[0][1] = temp[0] * axis[1] + s * axis[2];
31 Rotate[0][2] = temp[0] * axis[2] - s * axis[1];
33 Rotate[1][0] = temp[1] * axis[0] - s * axis[2];
34 Rotate[1][1] = c + temp[1] * axis[1];
35 Rotate[1][2] = temp[1] * axis[2] + s * axis[0];
37 Rotate[2][0] = temp[2] * axis[0] + s * axis[1];
38 Rotate[2][1] = temp[2] * axis[1] - s * axis[0];
39 Rotate[2][2] = c + temp[2] * axis[2];
/device/google/cuttlefish/guest/hals/ril/reference-libril/
DrilSocketQueue.h103 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()
/device/google/cuttlefish/host/commands/modem_simulator/
Dpdu_parser.cpp58 std::string temp = pdu.substr(0, 2); in DecodePDU() local
60 if (temp != kWithoutServiceCenterAddress) { in DecodePDU()
61 auto smsc_length = Hex2ToByte(temp); in DecodePDU()
74 temp = pdu_view.substr(std::min(pos, pdu_total_length), 2); in DecodePDU()
75 auto oa_length = Hex2ToByte(temp); in DecodePDU()
91 temp = pdu_view.substr(std::min(pos, pdu_total_length), 2); in DecodePDU()
92 auto ud_length = Hex2ToByte(temp); in DecodePDU()
Dsim_service.cpp204 std::string_view temp(pin_); in VerifyPIN() local
205 if (pin == temp) { // C++20 remove Operator!= in VerifyPIN()
227 std::string_view temp(puk_); in VerifyPUK() local
228 if (puk == temp) { // C++20 remove Operator!= in VerifyPUK()
263 std::string temp(new_pin); in ChangePIN() local
264 pin_ = temp; in ChangePIN()
281 std::string temp(new_puk); in ChangePUK() local
282 puk_ = temp; in ChangePUK()
987 std::string temp = "144,0,"; in HandleSIM_IO() local
988 temp += data; in HandleSIM_IO()
[all …]
/device/generic/vulkan-cereal/stream-servers/compressedTextureFormats/
Detc.cpp708 etc_compressed temp; in etc_encode_block_helper() local
709 temp.score = 0; in etc_encode_block_helper()
710 temp.high = originalHigh | (i << 5); in etc_encode_block_helper()
711 temp.low = 0; in etc_encode_block_helper()
712 etc_encode_subblock_helper(pIn, inMask, &temp, flipped, false, in etc_encode_block_helper()
714 take_best(pCompressed, &temp); in etc_encode_block_helper()
719 etc_compressed temp; in etc_encode_block_helper() local
720 temp.score = firstHalf.score; in etc_encode_block_helper()
721 temp.high = firstHalf.high | (i << 2); in etc_encode_block_helper()
722 temp.low = firstHalf.low; in etc_encode_block_helper()
[all …]
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
Detc.cpp708 etc_compressed temp; in etc_encode_block_helper() local
709 temp.score = 0; in etc_encode_block_helper()
710 temp.high = originalHigh | (i << 5); in etc_encode_block_helper()
711 temp.low = 0; in etc_encode_block_helper()
712 etc_encode_subblock_helper(pIn, inMask, &temp, flipped, false, in etc_encode_block_helper()
714 take_best(pCompressed, &temp); in etc_encode_block_helper()
719 etc_compressed temp; in etc_encode_block_helper() local
720 temp.score = firstHalf.score; in etc_encode_block_helper()
721 temp.high = firstHalf.high | (i << 2); in etc_encode_block_helper()
722 temp.low = firstHalf.low; in etc_encode_block_helper()
[all …]
/device/generic/vulkan-cereal/stream-servers/gl/glestranslator/GLcommon/
Detc.cpp708 etc_compressed temp; in etc_encode_block_helper() local
709 temp.score = 0; in etc_encode_block_helper()
710 temp.high = originalHigh | (i << 5); in etc_encode_block_helper()
711 temp.low = 0; in etc_encode_block_helper()
712 etc_encode_subblock_helper(pIn, inMask, &temp, flipped, false, in etc_encode_block_helper()
714 take_best(pCompressed, &temp); in etc_encode_block_helper()
719 etc_compressed temp; in etc_encode_block_helper() local
720 temp.score = firstHalf.score; in etc_encode_block_helper()
721 temp.high = firstHalf.high | (i << 2); in etc_encode_block_helper()
722 temp.low = firstHalf.low; in etc_encode_block_helper()
[all …]
DRangeManip.cpp80 Range temp; in delRange() local
108 Range temp; in merge() local
118 if (list[i].rangeUnion(list[j],temp)) { in merge()
120 list[i] = temp; in merge()
/device/google/gs-common/powerstats/
DDvfsStateResidencyDataProvider.cpp94 int32_t temp, powerEntityIndex, stateId = -1; in getStateResidencies() local
99 temp = matchEntity(line); in getStateResidencies()
101 if (temp >= 0) { in getStateResidencies()
102 powerEntityIndex = temp; in getStateResidencies()
DCpupmStateResidencyDataProvider.cpp104 int32_t temp, entityIndex, stateId = -1; in getStateResidencies() local
129 temp = matchState(line); in getStateResidencies()
131 if (temp >= 0) { in getStateResidencies()
132 stateId = temp; in getStateResidencies()
/device/generic/goldfish-opengl/android-emu/aemu/base/
DAlignedBuf.h107 std::vector<T> temp(mBuffer, mBuffer + keepSize); in resizeImpl()
109 std::copy(temp.data(), temp.data() + keepSize, mBuffer); in resizeImpl()
/device/google/redbull-kernel/.prebuilt_info/kernel-and-modules/
Dprebuilt_info_qcom-spmi-temp-alarm_ko.asciipb5 source_file: "qcom-spmi-temp-alarm.ko"
7 dest_file: "qcom-spmi-temp-alarm.ko"
Dprebuilt_info_debug_memory_accounting_qcom-spmi-temp-alarm_ko.asciipb5 source_file: "qcom-spmi-temp-alarm.ko"
7 dest_file: "debug_memory_accounting/qcom-spmi-temp-alarm.ko"
Dprebuilt_info_kasan_qcom-spmi-temp-alarm_ko.asciipb5 source_file: "qcom-spmi-temp-alarm.ko"
7 dest_file: "kasan/qcom-spmi-temp-alarm.ko"
Dprebuilt_info_debug_locking_qcom-spmi-temp-alarm_ko.asciipb5 source_file: "qcom-spmi-temp-alarm.ko"
7 dest_file: "debug_locking/qcom-spmi-temp-alarm.ko"
Dprebuilt_info_debug_api_qcom-spmi-temp-alarm_ko.asciipb5 source_file: "qcom-spmi-temp-alarm.ko"
7 dest_file: "debug_api/qcom-spmi-temp-alarm.ko"
Dprebuilt_info_debug_memory_qcom-spmi-temp-alarm_ko.asciipb5 source_file: "qcom-spmi-temp-alarm.ko"
7 dest_file: "debug_memory/qcom-spmi-temp-alarm.ko"
Dprebuilt_info_vintf_qcom-spmi-temp-alarm_ko.asciipb5 source_file: "qcom-spmi-temp-alarm.ko"
7 dest_file: "vintf/qcom-spmi-temp-alarm.ko"
/device/google/contexthub/firmware/os/algos/common/math/
Dlevenberg_marquardt.c78 if (computeResidualAndGradients(solver->func, state, f_data, data->temp, in lmSolverSolve()
96 if (!computeStep(data->gradient, data->hessian, data->temp, damping_factor, in lmSolverSolve()
128 if (computeResidualAndGradients(solver->func, state, f_data, data->temp, in lmSolverSolve()
/device/generic/vulkan-cereal/third-party/astc-encoder/Source/
Dastcenc_color_unquantize.cpp480 int temp; in hdr_rgbo_unpack() local
484 temp = red; in hdr_rgbo_unpack()
486 green = temp; in hdr_rgbo_unpack()
489 temp = red; in hdr_rgbo_unpack()
491 blue = temp; in hdr_rgbo_unpack()

12345