Lines Matching refs:c_str
55 ASSERT_EQ(0, __system_property_set(property_name.c_str(), "value1")); in TEST()
56 ASSERT_EQ(6, __system_property_get(property_name.c_str(), propvalue)); in TEST()
67 ASSERT_EQ(-1, __system_property_set(property_name.c_str(), long_value.c_str())); in TEST()
68 ASSERT_EQ(6, __system_property_get(property_name.c_str(), propvalue)); in TEST()
72 ASSERT_EQ(0, __system_property_set(property_name.c_str(), "value1-1")); in TEST()
73 ASSERT_EQ(8, __system_property_get(property_name.c_str(), propvalue)); in TEST()
86 ASSERT_EQ(0, __system_property_set(long_property_name.c_str(), "value2")); in TEST()
87 ASSERT_EQ(6, __system_property_get(long_property_name.c_str(), propvalue)); in TEST()
91 const prop_info* pi = __system_property_find(property_name.c_str()); in TEST()
102 pi = __system_property_find(long_property_name.c_str()); in TEST()
114 pi = __system_property_find(property_name.c_str()); in TEST()
117 expected_name = std::string(property_name.c_str(), PROP_NAME_MAX-1); in TEST()
122 const prop_info* pi_long = __system_property_find(long_property_name.c_str()); in TEST()
124 expected_name = std::string(long_property_name.c_str(), PROP_NAME_MAX-1); in TEST()
143 ASSERT_EQ(0, __system_property_set(property_name.c_str(), "value1")); in TEST()
144 ASSERT_EQ(6, __system_property_get(property_name.c_str(), propvalue)); in TEST()
147 ASSERT_EQ(0, __system_property_set(property_name.c_str(), "value2")); in TEST()
148 ASSERT_EQ(6, __system_property_get(property_name.c_str(), propvalue)); in TEST()
165 ASSERT_EQ(0, __system_property_set(property_name.c_str(), "")); in TEST()
166 ASSERT_EQ(0, __system_property_get(property_name.c_str(), propvalue)); in TEST()