Lines Matching refs:string
27 #include <string>
34 std::string GetProperty(const std::string& key, const std::string& default_value) {
38 std::string property_value;
41 auto property_value = reinterpret_cast<std::string*>(cookie);
52 bool GetBoolProperty(const std::string& key, bool default_value) {
53 std::string value = GetProperty(key, "");
63 T GetIntProperty(const std::string& key, T default_value, T min, T max) {
65 std::string value = GetProperty(key, "");
71 T GetUintProperty(const std::string& key, T default_value, T max) {
73 std::string value = GetProperty(key, "");
78 template int8_t GetIntProperty(const std::string&, int8_t, int8_t, int8_t);
79 template int16_t GetIntProperty(const std::string&, int16_t, int16_t, int16_t);
80 template int32_t GetIntProperty(const std::string&, int32_t, int32_t, int32_t);
81 template int64_t GetIntProperty(const std::string&, int64_t, int64_t, int64_t);
83 template uint8_t GetUintProperty(const std::string&, uint8_t, uint8_t);
84 template uint16_t GetUintProperty(const std::string&, uint16_t, uint16_t);
85 template uint32_t GetUintProperty(const std::string&, uint32_t, uint32_t);
86 template uint64_t GetUintProperty(const std::string&, uint64_t, uint64_t);
88 bool SetProperty(const std::string& key, const std::string& value) {
94 const std::string* expected_value;
134 static const prop_info* WaitForPropertyCreation(const std::string& key,
150 bool WaitForProperty(const std::string& key, const std::string& expected_value,
172 bool WaitForPropertyCreation(const std::string& key,