/hardware/interfaces/gnss/common/utils/default/ |
D | NmeaFixInfo.cpp | 103 tm.tm_mday = std::stoi(dateStr.substr(0, 2).c_str()); in nmeaPartsToTimestamp() 104 tm.tm_mon = std::stoi(dateStr.substr(2, 2).c_str()) - 1; in nmeaPartsToTimestamp() 105 tm.tm_year = std::stoi(dateStr.substr(4, 2).c_str()) + unixYearOffset; in nmeaPartsToTimestamp() 106 tm.tm_hour = std::stoi(timeStr.substr(0, 2).c_str()); in nmeaPartsToTimestamp() 107 tm.tm_min = std::stoi(timeStr.substr(2, 2).c_str()); in nmeaPartsToTimestamp() 108 tm.tm_sec = std::stoi(timeStr.substr(4, 2).c_str()); in nmeaPartsToTimestamp() 121 this->latDeg = std::stof(sentenceValues[2].substr(0, 2)) + in parseGGALine() 122 (std::stof(sentenceValues[2].substr(2)) / 60.0); in parseGGALine() 128 this->lngDeg = std::stof(sentenceValues[4].substr(0, 3)) + in parseGGALine() 129 std::stof(sentenceValues[4].substr(3)) / 60.0; in parseGGALine()
|
D | DeviceFileReader.cpp | 85 inputStr = s_buffer_.substr(0, pos); in getDataFromDeviceFile() 86 s_buffer_ = s_buffer_.substr(pos + 4); in getDataFromDeviceFile()
|
/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/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/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/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/gfxstream/codegen/generic-apigen/ |
D | EntryPoint.cpp | 220 v->setLenExpression(line.substr(pos)); in setAttribute() 229 v->setParamCheckExpression(line.substr(pos)); in setAttribute() 304 v->setPackExpression(line.substr(pos)); in setAttribute() 314 v->setUnpackExpression(line.substr(pos)); in setAttribute() 329 v->setHostPackTmpAllocExpression(line.substr(pos)); in setAttribute() 344 v->setHostPackExpression(line.substr(pos)); in setAttribute() 359 v->setGuestUnpackExpression(line.substr(pos)); in setAttribute() 374 v->setGuestPackExpression(line.substr(pos)); in setAttribute() 384 v->setWriteExpression(line.substr(pos)); in setAttribute()
|
D | strUtils.cpp | 30 std::string retval = str.substr(pos, *last - pos); in getNextToken() 44 result = str.substr(start, end - start + 1); in trim()
|
/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/google/gfxstream/host/gl/gl-host-common/opengl/ |
D | NativeGpuInfo_windows.cpp | 57 result = val.substr(key_start + 4, key_end - key_start - 4); in parse_windows_gpu_ids() 68 result = val.substr(key_start + 4, key_end - key_start - 4); in parse_windows_gpu_ids() 95 contents.substr(val_pos, line_loc - val_pos); in parse_windows_gpu_dlls() 102 gpulist->currGpu().addDll(dll_str.substr(vp, dll_end - vp)); in parse_windows_gpu_dlls() 109 gpulist->currGpu().addDll(dll_str.substr(vp, dll_end - vp)); in parse_windows_gpu_dlls() 230 key = contents.substr(p, equals_pos - p); in parse_gpu_info_list_windows() 232 val = contents.substr(val_pos, line_loc - val_pos); in parse_gpu_info_list_windows()
|
D | NativeGpuInfo_linux.cpp | 39 return str.substr(openbrace_p + 1, closebrace_p - openbrace_p - 1); in parse_last_hexbrackets() 62 key = contents.substr(p, line_loc - p); in parse_gpu_info_list_linux()
|
/hardware/google/gfxstream/common/vulkan/include/vulkan/ |
D | vulkan_to_string.hpp | 69 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; in to_string() 98 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; in to_string() 131 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; in to_string() 142 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; in to_string() 154 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; in to_string() 173 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; in to_string() 193 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; in to_string() 210 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; in to_string() 226 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; in to_string() 262 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; in to_string() [all …]
|
D | vulkansc_to_string.hpp | 61 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; in to_string() 84 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; in to_string() 103 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; in to_string() 121 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; in to_string() 137 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; in to_string() 151 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; in to_string() 168 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; in to_string() 184 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; in to_string() 212 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; in to_string() 238 return "{ " + result.substr( 0, result.size() - 3 ) + " }"; in to_string() [all …]
|
/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/google/aemu/base/ |
D | StringUtils.cpp | 95 return s.substr(start_index, end_index - start_index + 1); in Trim() 103 return s.substr(0, prefix.size()) == prefix; in StartsWith() 141 result.push_back(s.substr(base, found - base)); in Split() 168 s.substr(s.size() - suffix.size(), suffix.size()) == suffix; in EndsWith()
|
/hardware/google/graphics/common/libhwc2.1/libvrr/ |
D | VariableRefreshRateVersion.cpp | 49 patterns.emplace_back(xrrVersionString.substr(0, pos)); in getDisplayXrrVersion() 60 std::string candidateVersionString = pattern.substr(0, pos); in getDisplayXrrVersion()
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/katex/contrib/ |
D | mhchem.min.js | 1 …substr(e[0].length)}:null},"(-)(9)^(-9)":function(t){var e=t.match(/^(\+\-|\+\/\-|\+|\-|\\pm\s?)?(…
|
D | mhchem.js | 387 remainder: input.substr(m[0].length) 399 remainder: input.substr(m[0].length) 419 remainder: input.substr(m[0].length) 551 remainder: input.substr(match[0].length) 564 remainder: input.substr(match[0].length) 586 remainder: input.substr(match[0].length) 625 var match = _match(input.substr(i), endChars); 658 input = input.substr(match.length); 676 remainder: input.substr(e.endMatchEnd) 679 …var group2 = this.findObserveGroups(input.substr(e.endMatchEnd), beg2Excl, beg2Incl, end2Incl, end… [all …]
|
/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/nxp/nfc/snxxx/halimpl/hal/ |
D | phNxpNciHal_IoctlOperations.cc | 421 string key(Trim(line.substr(0, search))); in phNxpNciHal_extractConfig() 429 string value_string(Trim(line.substr(search + 1, string::npos))); in phNxpNciHal_extractConfig() 481 string key(Trim(line.substr(0, search))); in phNxpNciHal_IsAutonmousModeSet() 483 string value(Trim(line.substr(search + 1, string::npos))); in phNxpNciHal_IsAutonmousModeSet() 520 string key(Trim(line.substr(0, search))); in phNxpNciHal_UpdatePwrStateConfigs() 524 string value(Trim(line.substr(search + 1, string::npos))); in phNxpNciHal_UpdatePwrStateConfigs()
|
/hardware/google/aemu/host-common/ |
D | logging_unittest.cpp | 125 std::string tid1 = log1.substr(21, 9); in TEST() 126 std::string tid2 = log2.substr(21, 9); in TEST()
|
/hardware/google/gfxstream/common/utils/ |
D | Strings.cpp | 30 result.push_back(s.substr(base, found - base)); in Split()
|
/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/interfaces/usb/gadget/aidl/default/ |
D | UsbGadget.cpp | 63 std::string single_irq = irqs.substr(read_pos, found_pos - read_pos); in getUsbGadgetIrqPath() 68 if (!ParseUint(single_irq.substr(0, dwc3_pos), &dwc3_irq_number)) { in getUsbGadgetIrqPath() 73 mGadgetIrqPath = kProcIrqPath + single_irq.substr(0, dwc3_pos) + kSmpAffinityList; in getUsbGadgetIrqPath()
|