Lines Matching refs:c_str
53 ASSERT_EQ(0, __system_property_set(property_name.c_str(), "value1")); in TEST()
54 ASSERT_EQ(6, __system_property_get(property_name.c_str(), propvalue)); in TEST()
65 ASSERT_EQ(-1, __system_property_set(property_name.c_str(), long_value.c_str())); in TEST()
66 ASSERT_EQ(6, __system_property_get(property_name.c_str(), propvalue)); in TEST()
70 ASSERT_EQ(0, __system_property_set(property_name.c_str(), "value1-1")); in TEST()
71 ASSERT_EQ(8, __system_property_get(property_name.c_str(), propvalue)); in TEST()
84 ASSERT_EQ(0, __system_property_set(long_property_name.c_str(), "value2")); in TEST()
85 ASSERT_EQ(6, __system_property_get(long_property_name.c_str(), propvalue)); in TEST()
89 const prop_info* pi = __system_property_find(property_name.c_str()); in TEST()
100 pi = __system_property_find(long_property_name.c_str()); in TEST()
112 pi = __system_property_find(property_name.c_str()); in TEST()
115 expected_name = std::string(property_name.c_str(), PROP_NAME_MAX-1); in TEST()
120 const prop_info* pi_long = __system_property_find(long_property_name.c_str()); in TEST()
122 expected_name = std::string(long_property_name.c_str(), PROP_NAME_MAX-1); in TEST()
140 ASSERT_EQ(0, __system_property_set(property_name.c_str(), "")); in TEST()
141 ASSERT_EQ(0, __system_property_get(property_name.c_str(), propvalue)); in TEST()