• Home
  • Raw
  • Download

Lines Matching refs:string

22 BRILLO_EXPORT std::vector<std::string> Split(const std::string& str,
23 const std::string& delimiter,
27 inline std::vector<std::string> Split(const std::string& str, in Split()
28 const std::string& delimiter) { in Split()
32 inline std::vector<std::string> Split(const std::string& str, in Split()
33 const std::string& delimiter, in Split()
40 BRILLO_EXPORT std::pair<std::string, std::string> SplitAtFirst(
41 const std::string& str,
42 const std::string& delimiter,
46 inline std::pair<std::string, std::string> SplitAtFirst( in SplitAtFirst()
47 const std::string& str, in SplitAtFirst()
48 const std::string& delimiter) { in SplitAtFirst()
55 BRILLO_EXPORT bool SplitAtFirst(const std::string& str,
56 const std::string& delimiter,
57 std::string* left_part,
58 std::string* right_part,
61 inline bool SplitAtFirst(const std::string& str, in SplitAtFirst()
62 const std::string& delimiter, in SplitAtFirst()
63 std::string* left_part, in SplitAtFirst()
64 std::string* right_part) { in SplitAtFirst()
70 std::string JoinRange(const std::string& delimiter, in JoinRange()
73 std::string result; in JoinRange()
85 std::string Join(const std::string& delimiter, const Container& strings) { in Join()
91 inline std::string Join(const std::string& delimiter, in Join()
92 std::initializer_list<std::string> strings) { in Join()
96 inline std::string Join(const std::string& delimiter, in Join()
97 const std::string& str1, in Join()
98 const std::string& str2) { in Join()
106 inline std::string ToString(T value) { in ToString()
111 inline std::string ToString(std::string value) { in ToString()
116 BRILLO_EXPORT std::string ToString(double value);
118 BRILLO_EXPORT std::string ToString(bool value);
123 BRILLO_EXPORT std::string GetBytesAsString(const std::vector<uint8_t>& buf);
126 BRILLO_EXPORT std::vector<uint8_t> GetStringAsBytes(const std::string& str);