Home
last modified time | relevance | path

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

12

/device/generic/goldfish/qemu-props/
Dqemu-props.cpp95 char temp[BUFF_SIZE]; in main() local
97 int len = qemud_channel_recv(qemud_fd, temp, sizeof(temp) - 1); in main()
100 if (len < 0 || len > BUFF_SIZE-1 || temp[0] == '\0') in main()
103 temp[len] = '\0'; /* zero-terminate string */ in main()
105 DD("received: %.*s", len, temp); in main()
108 q = strchr(temp, '='); in main()
116 if (strcmp(temp, "qemu.sf.lcd.density") == 0 ) { in main()
117 final_prop_name = temp; in main()
118 } else if (strcmp(temp, "qemu.hw.mainkeys") == 0 ) { in main()
119 final_prop_name = temp; in main()
[all …]
/device/linaro/hikey/hifi/xaf/host-apf/proxy/
Dxf-fio.c110 xf_proxy_msg_t temp; in xf_ipc_recv() local
124 if ((r = ioctl(fd, HIFI_MISC_IOCTL_XAF_IPC_MSG_RECV, &temp)) == sizeof(temp)) in xf_ipc_recv()
126 msg->id = temp.id; in xf_ipc_recv()
127 msg->opcode = temp.opcode; in xf_ipc_recv()
128 msg->length = temp.length; in xf_ipc_recv()
129 *buffer = xf_ipc_a2b(ipc, temp.address); in xf_ipc_recv()
131 XF_CHK_ERR((*buffer = xf_ipc_a2b(ipc, temp.address)) != (void *)-1, -EBADFD); in xf_ipc_recv()
132 msg->address = temp.address; in xf_ipc_recv()
/device/generic/goldfish/radio/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()
Dril_service.cpp2203 ImsCdmaSms temp = {}; in dispatchImsCdmaSms() local
2211 temp.imsSms.tech = RADIO_TECH_3GPP2; in dispatchImsCdmaSms()
2212 temp.imsSms.retry = BOOL_TO_INT(message.retry); in dispatchImsCdmaSms()
2213 temp.imsSms.messageRef = message.messageRef; in dispatchImsCdmaSms()
2214 temp.imsSms.message.cdmaMessage = &temp.cdmaSms; in dispatchImsCdmaSms()
2216 constructCdmaSms(temp.cdmaSms, message.cdmaMessage[0]); in dispatchImsCdmaSms()
2224 CALL_ONREQUEST(pRI->pCI->requestNumber, &temp.imsSms, payloadLen, pRI, pRI->socket_id); in dispatchImsCdmaSms()
/device/google/contexthub/firmware/os/algos/calibration/accelerometer/
Daccel_cal.c97 static void accelTempHisto(struct AccelStatsMem *adf, float temp) { in accelTempHisto() argument
102 if (temp <= TEMP_HIST_LOW) { in accelTempHisto()
106 if (temp >= TEMP_HIST_HIGH) { in accelTempHisto()
110 index = (int)(((temp - TEMP_HIST_LOW) / 2) + 1); in accelTempHisto()
287 float temp) { in accelGoodData() argument
295 ac1->agd.acc_t += temp; in accelGoodData()
296 ac1->agd.acc_tt += temp * temp; in accelGoodData()
302 ac1->agd.acc_t += temp; in accelGoodData()
303 ac1->agd.acc_tt += temp * temp; in accelGoodData()
309 ac1->agd.acc_t += temp; in accelGoodData()
[all …]
Daccel_cal.h182 float y, float z, float temp);
208 void accelCalDebPrint(struct AccelCal *acc, float temp);
/device/google/cuttlefish/host/commands/modem_simulator/
Dpdu_parser.cpp59 std::string temp = pdu.substr(0, 2); in DecodePDU() local
61 if (temp != kWithoutServiceCenterAddress) { in DecodePDU()
62 auto smsc_length = Hex2ToByte(temp); in DecodePDU()
75 temp = pdu_view.substr(std::min(pos, pdu_total_length), 2); in DecodePDU()
76 auto oa_length = Hex2ToByte(temp); in DecodePDU()
92 temp = pdu_view.substr(std::min(pos, pdu_total_length), 2); in DecodePDU()
93 auto ud_length = Hex2ToByte(temp); in DecodePDU()
Dsim_service.cpp202 std::string_view temp(pin_); in VerifyPIN() local
203 if (pin == temp) { // C++20 remove Operator!= in VerifyPIN()
225 std::string_view temp(puk_); in VerifyPUK() local
226 if (puk == temp) { // C++20 remove Operator!= in VerifyPUK()
261 std::string temp(new_pin); in ChangePIN() local
262 pin_ = temp; in ChangePIN()
279 std::string temp(new_puk); in ChangePUK() local
280 puk_ = temp; in ChangePUK()
939 std::string temp = "144,0,"; in HandleSIM_IO() local
940 temp += data; in HandleSIM_IO()
[all …]
/device/google/cuttlefish/guest/hals/camera/
DCameraConfiguration.cpp116 int temp; in ValueToCameraHalVersion() local
119 temp = strtol(value.c_str(), &endptr, 10); in ValueToCameraHalVersion()
126 switch (temp) { in ValueToCameraHalVersion()
141 __FUNCTION__, temp); in ValueToCameraHalVersion()
/device/generic/goldfish-opengl/android-emu/android/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/cuttlefish/host/commands/fetcher/
Dcurl_wrapper.cc39 curl_slist* temp = curl_slist_append(curl_headers, str.c_str()); in build_slist() local
40 if (temp == nullptr) { in build_slist()
47 curl_headers = temp; in build_slist()
/device/google/contexthub/firmware/os/algos/common/math/
Dlevenberg_marquardt.c81 if (computeResidualAndGradients(solver->func, state, f_data, data->temp, in lmSolverSolve()
99 if (!computeStep(data->gradient, data->hessian, data->temp, damping_factor, in lmSolverSolve()
131 if (computeResidualAndGradients(solver->func, state, f_data, data->temp, in lmSolverSolve()
Dlevenberg_marquardt.h79 float temp[MAX_LM_STATE_DIMENSION * MAX_LM_MEAS_DIMENSION]; member
/device/google/contexthub/firmware/os/algos/calibration/magnetometer/mag_cal/
Dmag_cal.h109 void magLogPrint(struct DiversityChecker *moc, float temp);
Dmag_cal.c271 void magLogPrint(struct DiversityChecker *diverse_data, float temp) { in magLogPrint() argument
301 CAL_ENCODE_FLOAT(data_log_ptr[19 * 3], 3), CAL_ENCODE_FLOAT(temp, 3)); in magLogPrint()
/device/linaro/hikey/hifi/xaf/hifi-dpf/build_hikey/
Dcommon.mk67 TEMPOBJ = temp.o
/device/linaro/hikey/hifi/xaf/host-apf/playback/tinyalsa/
Dpcm.c51 do { int temp, clipoffset = offset > size ? size : offset; \
52 temp = snprintf(string + clipoffset, size - clipoffset, __VA_ARGS__); \
53 if (temp > 0) offset += temp; } while (0)
/device/google/bonito/usb/
DUsbGadget.cpp157 steady_clock::time_point temp = steady_clock::now(); in monitorFfs() local
159 if (std::chrono::duration_cast<microseconds>(temp - disconnect).count() in monitorFfs()
/device/google/contexthub/firmware/os/drivers/bosch_bmp280/
Dbosch_bmp280.c544 int32_t temp = compensateTemp(temp_adc, &T_fine); in getTempAndBaro() local
547 *temp_centigrade = (float)temp * 0.01f; in getTempAndBaro()
/device/google/cuttlefish/host/commands/run_cvd/
Dlaunch.cc394 auto temp = (pos != std::string::npos) ? ports.substr(0, pos - 1) : ports; in LaunchModemSimulatorIfEnabled() local
395 auto port = std::stoi(temp); in LaunchModemSimulatorIfEnabled()
/device/google/crosshatch/usb/
DUsbGadget.cpp157 steady_clock::time_point temp = steady_clock::now(); in monitorFfs() local
159 if (std::chrono::duration_cast<microseconds>(temp - disconnect).count() in monitorFfs()
/device/google/cuttlefish/guest/hals/ril/
Dcuttlefish_ril.cpp617 std::map<int, CallState>::iterator temp = iter++; in request_hangup_waiting() local
618 gActiveCalls.erase(temp); in request_hangup_waiting()
636 std::map<int, CallState>::iterator temp = iter++; in request_hangup_current() local
637 gActiveCalls.erase(temp); in request_hangup_current()
724 std::map<int, CallState>::iterator temp = iter++; in request_udub_on_incoming_calls() local
725 gActiveCalls.erase(temp); in request_udub_on_incoming_calls()
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c1834 float temp; in lsm6dsm_convertAccelOffsetValue() local
1836 temp = val * LSM6DSM_ACCEL_LSB_TO_OFFSET_DIGIT_SCALE; in lsm6dsm_convertAccelOffsetValue()
1837 if (temp > LSM6DSM_ACCEL_MAX_CALIBRATION_THR_LSB) in lsm6dsm_convertAccelOffsetValue()
1838 temp = LSM6DSM_ACCEL_MAX_CALIBRATION_THR_LSB; in lsm6dsm_convertAccelOffsetValue()
1840 if (temp < -LSM6DSM_ACCEL_MAX_CALIBRATION_THR_LSB) in lsm6dsm_convertAccelOffsetValue()
1841 temp = -LSM6DSM_ACCEL_MAX_CALIBRATION_THR_LSB; in lsm6dsm_convertAccelOffsetValue()
1843 return (uint8_t)((int8_t)temp); in lsm6dsm_convertAccelOffsetValue()
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c580 int8_t temp; member
1121 out->temp = (int8_t)data[idx + 13];
2452 T(chip_temperature) = fifo_data.temp * TEMP_SCALE + TEMP_OFFSET;
/device/google/cuttlefish/guest/hals/ril/libril/
Dril_service.cpp2338 ImsCdmaSms temp = {}; in dispatchImsCdmaSms() local
2346 temp.imsSms.tech = RADIO_TECH_3GPP2; in dispatchImsCdmaSms()
2347 temp.imsSms.retry = BOOL_TO_INT(message.retry); in dispatchImsCdmaSms()
2348 temp.imsSms.messageRef = message.messageRef; in dispatchImsCdmaSms()
2349 temp.imsSms.message.cdmaMessage = &temp.cdmaSms; in dispatchImsCdmaSms()
2351 constructCdmaSms(temp.cdmaSms, message.cdmaMessage[0]); in dispatchImsCdmaSms()
2359 CALL_ONREQUEST(pRI->pCI->requestNumber, &temp.imsSms, payloadLen, pRI, pRI->socket_id); in dispatchImsCdmaSms()

12