Searched refs:npos (Results 1 – 13 of 13) sorted by relevance
62 if (pos == std::string::npos) { in mkdir_recursively()84 if (next_end == std::string::npos) { in mkdir_recursively()
90 if (std::string(LAST_KMSG_FILTER).find(filename) != std::string::npos || in logbasename()91 std::string(LAST_LOG_FILTER).find(filename) != std::string::npos) { in logbasename()108 if (std::string(LAST_KMSG_FILTER).find(sub) == std::string::npos && in logrotate()109 std::string(LAST_LOG_FILTER).find(sub) == std::string::npos) { in logrotate()114 if (dot == std::string::npos) { in logrotate()
43 if (num_index == std::string::npos) { in ParseRecoveryUpdateMetrics()
42 EXPECT_NE(std::string::npos, kInjectTxtFilename.find(filename)); in __pmsg_fn()
119 auto npos = dm_block_name.rfind("-verity"); in FindDmPartitions() local120 dm_block_name = dm_block_name.substr(0, npos); in FindDmPartitions()
94 if (eq != std::string::npos) { in ReadMetadataFromPackage()434 std::string args = space == std::string::npos ? "" : android::base::Trim(line.substr(space)); in try_update_binary()
145 if (last_path_sep != std::string::npos) { in InitDefaultBootloaderControl()
393 auto op_and_args = comment_idx == std::string::npos ? line : line.substr(0, comment_idx); in UpdateDynamicPartitionsFn()
611 if (equal_pos == std::string::npos) { in FileGetPropFn()
355 if (separator == std::string::npos) { in matches_locale()
159 is_bootreason_recovery_ui_ = cmdline.find("bootreason=recovery_ui") != std::string::npos; in Init()
657 if (last_space == std::string::npos) { in DrawWrappedTextLines()
213 std::string result = (haystack.find(needle) != std::string::npos) ? "t" : ""; in SubstringFn()