/hardware/interfaces/gnss/common/utils/default/ |
D | NmeaFixInfo.cpp | 100 tm.tm_mday = std::stoi(dateStr.substr(0, 2).c_str()); in nmeaPartsToTimestamp() 101 tm.tm_mon = std::stoi(dateStr.substr(2, 2).c_str()) - 1; in nmeaPartsToTimestamp() 102 tm.tm_year = std::stoi(dateStr.substr(4, 2).c_str()) + unixYearOffset; in nmeaPartsToTimestamp() 103 tm.tm_hour = std::stoi(timeStr.substr(0, 2).c_str()); in nmeaPartsToTimestamp() 104 tm.tm_min = std::stoi(timeStr.substr(2, 2).c_str()); in nmeaPartsToTimestamp() 105 tm.tm_sec = std::stoi(timeStr.substr(4, 2).c_str()); in nmeaPartsToTimestamp() 118 this->latDeg = std::stof(sentenceValues[2].substr(0, 2)) + in parseGGALine() 119 (std::stof(sentenceValues[2].substr(2)) / 60.0); in parseGGALine() 125 this->lngDeg = std::stof(sentenceValues[4].substr(0, 3)) + in parseGGALine() 126 std::stof(sentenceValues[4].substr(3)) / 60.0; in parseGGALine()
|
/hardware/qcom/sm7250/display/sde-drm/ |
D | drm_utils.cpp | 66 final_format_str = matched_sub_str.substr(0, matched_sub_str.find("/")); in ParseFormats() 69 string vendor_sub_str = matched_sub_str.substr(matched_sub_str.find("/") + 1); in ParseFormats() 73 uint64_t fmt_modifier = std::stoi(vendor_sub_str.substr(vendor_sub_str.find("/") + 1)); in ParseFormats()
|
/hardware/qcom/sm7250/display/sdm/libs/utils/ |
D | debug.cpp | 181 *height = UINT32(stoi(str.substr(str.find('x') + 1))); in GetMixerResolution() 196 str = (str.substr(str.find(',') + 1)); in GetWindowRect() 198 str = (str.substr(str.find(',') + 1)); in GetWindowRect() 200 str = (str.substr(str.find(',') + 1)); in GetWindowRect() 221 *num_dma_pipes = UINT32(stoi(str.substr(str.find('x') + 1))); in GetReducedConfig()
|
/hardware/nxp/secure_element/pn8x/libese-spi/p73/utils/ |
D | config.cpp | 70 value_string_ = in.substr(1, in.length() - 2); in parseFromString() 77 return parseBytesString(in.substr(1, in.length() - 2), value_bytes_); in parseFromString() 110 string key(Trim(line.substr(0, search))); in parseFromString() 111 string value_string(Trim(line.substr(search + 1, string::npos))); in parseFromString()
|
/hardware/nxp/secure_element/snxxx/libese-spi/p73/utils/ |
D | config.cpp | 89 value_string_ = in.substr(1, in.length() - 2); in parseFromString() 96 return parseBytesString(in.substr(1, in.length() - 2), value_bytes_); in parseFromString() 129 string key(Trim(line.substr(0, search))); in parseFromString() 130 string value_string(Trim(line.substr(search + 1, string::npos))); in parseFromString()
|
/hardware/st/secure_element/ese-spi-driver/utils-lib/ |
D | config.cc | 65 value_string_ = in.substr(1, in.length() - 2); in parseFromString() 72 return parseBytesString(in.substr(1, in.length() - 2), value_bytes_); in parseFromString() 105 string key(Trim(line.substr(0, search))); in parseFromString() 106 string value_string(Trim(line.substr(search + 1, string::npos))); in parseFromString()
|
/hardware/google/av/hooks/ |
D | pre-commit | 28 if (found) { print substr(chunk, 2); found=0; chunk="" } 45 END { if (found) { print substr(chunk, 2) } }
|
/hardware/interfaces/automotive/can/1.0/tools/ |
D | canhalsend.cpp | 77 const std::string msgidStr = msg.substr(0, hashpos); in parseCanMessage() 78 const std::string payloadStr = msg.substr(hashpos + 1); in parseCanMessage() 102 if (!android::base::ParseUint(payloadStr.substr(1), &dlc, 10000u)) { in parseCanMessage()
|
/hardware/nxp/nfc/snxxx/halimpl/hal/ |
D | phNxpNciHal_IoctlOperations.cc | 419 string key(Trim(line.substr(0, search))); in phNxpNciHal_extractConfig() 427 string value_string(Trim(line.substr(search + 1, string::npos))); in phNxpNciHal_extractConfig() 465 string key(Trim(line.substr(0, search))); in phNxpNciHal_IsAutonmousModeSet() 467 string value(Trim(line.substr(search + 1, string::npos))); in phNxpNciHal_IsAutonmousModeSet() 504 string key(Trim(line.substr(0, search))); in phNxpNciHal_UpdatePwrStateConfigs() 508 string value(Trim(line.substr(search + 1, string::npos))); in phNxpNciHal_UpdatePwrStateConfigs()
|
/hardware/qcom/sdm845/display/sdm/libs/core/drm/ |
D | hw_tv_drm.cpp | 130 height = UINT32(stoi(str.substr(str.find(':') + 1))); in GetConfigIndex() 131 std::string str3 = str.substr(str.find(':') + 1); in GetConfigIndex() 132 fps = UINT32(stoi(str3.substr(str3.find(':') + 1))); in GetConfigIndex() 133 std::string str4 = str3.substr(str3.find(':') + 1); in GetConfigIndex() 134 format = UINT32(stoi(str4.substr(str4.find(':') + 1))); in GetConfigIndex()
|
/hardware/qcom/sm8150/display/sdm/libs/core/drm/ |
D | hw_tv_drm.cpp | 140 height = UINT32(stoi(str.substr(str.find(':') + 1))); in GetConfigIndex() 141 std::string str3 = str.substr(str.find(':') + 1); in GetConfigIndex() 142 fps = UINT32(stoi(str3.substr(str3.find(':') + 1))); in GetConfigIndex() 143 std::string str4 = str3.substr(str3.find(':') + 1); in GetConfigIndex() 144 format = UINT32(stoi(str4.substr(str4.find(':') + 1))); in GetConfigIndex()
|
/hardware/qcom/sm7250/display/sdm/libs/core/drm/ |
D | hw_tv_drm.cpp | 141 height = UINT32(stoi(str.substr(str.find(':') + 1))); in GetConfigIndex() 142 std::string str3 = str.substr(str.find(':') + 1); in GetConfigIndex() 143 fps = UINT32(stoi(str3.substr(str3.find(':') + 1))); in GetConfigIndex() 144 std::string str4 = str3.substr(str3.find(':') + 1); in GetConfigIndex() 145 format = UINT32(stoi(str4.substr(str4.find(':') + 1))); in GetConfigIndex()
|
/hardware/google/graphics/common/memtrack-pixel/core/ |
D | filesystem.h | 29 return path(strPath.substr(pos, l - pos)); in filename()
|
/hardware/qcom/sm8150/display/sdm/libs/utils/ |
D | debug.cpp | 193 *height = UINT32(stoi(str.substr(str.find('x') + 1))); in GetMixerResolution() 209 *num_dma_pipes = UINT32(stoi(str.substr(str.find('x') + 1))); in GetReducedConfig()
|
/hardware/qcom/sm8150/gps/utils/ |
D | loc_log.cpp | 252 std::string tag = line.substr(0, pos); in log_tag_level_map_init() 253 std::string level = line.substr(pos+1, 1); in log_tag_level_map_init()
|
/hardware/qcom/sdm845/display/sdm/libs/utils/ |
D | debug.cpp | 193 *height = UINT32(stoi(str.substr(str.find('x') + 1))); in GetMixerResolution() 209 *num_dma_pipes = UINT32(stoi(str.substr(str.find('x') + 1))); in GetReducedConfig()
|
/hardware/qcom/sm7250/gps/utils/ |
D | loc_log.cpp | 252 std::string tag = line.substr(0, pos); in log_tag_level_map_init() 253 std::string level = line.substr(pos+1, 1); in log_tag_level_map_init()
|
/hardware/interfaces/keymaster/4.1/vts/functional/ |
D | Keymaster4_1HidlTest.cpp | 51 result = Finish(op_handle_, finish_params, message.substr(consumed), unused, &finish_out_params, in ProcessMessage()
|
/hardware/qcom/sm8150/gps/android/1.1/ |
D | Gnss.cpp | 64 const char* substr = s.c_str(); in getVersionString() local 66 while (0 != substr[found] && isspace(substr[found])) { in getVersionString()
|
/hardware/qcom/sm7150/gps/android/1.1/ |
D | Gnss.cpp | 63 const char* substr = s.c_str(); in getVersionString() local 65 while (0 != substr[found] && isspace(substr[found])) { in getVersionString()
|
/hardware/google/pixel/thermal/utils/ |
D | power_files.cpp | 202 strtoul(line.substr(start_pos + 2, end_pos - start_pos - 2).c_str(), NULL, 10); in updateEnergyValues() 211 railName = line.substr(start_pos + 2, end_pos - start_pos - 2); in updateEnergyValues() 218 energy_counter = strtoul(line.substr(start_pos + 2).c_str(), NULL, 10); in updateEnergyValues()
|
/hardware/qcom/sm8150p/gps/android/1.1/ |
D | Gnss.cpp | 63 const char* substr = s.c_str(); in getVersionString() local 65 while (0 != substr[found] && isspace(substr[found])) { in getVersionString()
|
/hardware/qcom/sm7250/gps/android/1.1/ |
D | Gnss.cpp | 64 const char* substr = s.c_str(); in getVersionString() local 66 while (0 != substr[found] && isspace(substr[found])) { in getVersionString()
|
/hardware/google/pixel/health/ |
D | ChargerDetect.cpp | 101 *type = usbType.substr(start + 1, usbType.find(']') - start - 1); in getPsyUsbType()
|
/hardware/qcom/sm8150/data/ipacfg-mgr/hal/src/ |
D | PrefixParser.cpp | 218 addr = in.substr(0, pos); in splitIntoAddrAndMask() 231 mask = in.substr(pos + 1); in splitIntoAddrAndMask()
|