Lines Matching refs:prop_name
168 char prop_name[PROP_NAME_MAX]; in TEST() local
175 ret = snprintf(prop_name, PROP_NAME_MAX - 1, "property_%d", count); in TEST()
176 memset(prop_name + ret, 'a', PROP_NAME_MAX - 1 - ret); in TEST()
179 prop_name[PROP_NAME_MAX - 1] = 0; in TEST()
182 ret = system_properties.Add(prop_name, PROP_NAME_MAX - 1, prop_value, PROP_VALUE_MAX - 1); in TEST()
193 ret = snprintf(prop_name, PROP_NAME_MAX - 1, "property_%d", i); in TEST()
194 memset(prop_name + ret, 'a', PROP_NAME_MAX - 1 - ret); in TEST()
197 prop_name[PROP_NAME_MAX - 1] = 0; in TEST()
201 ASSERT_EQ(PROP_VALUE_MAX - 1, system_properties.Get(prop_name, prop_value_ret)); in TEST()
260 char prop_name[PROP_NAME_MAX]; in TEST() local
268 ret = snprintf(prop_name, PROP_NAME_MAX - 1, "property_%d.%d.%d", i, j, k); in TEST()
269 memset(prop_name + ret, 'a', PROP_NAME_MAX - 1 - ret); in TEST()
272 prop_name[PROP_NAME_MAX - 1] = 0; in TEST()
276 prop_name, PROP_NAME_MAX - 1, prop_value, PROP_VALUE_MAX - 1)); in TEST()
284 ret = snprintf(prop_name, PROP_NAME_MAX - 1, "property_%d.%d.%d", i, j, k); in TEST()
285 memset(prop_name + ret, 'a', PROP_NAME_MAX - 1 - ret); in TEST()
288 prop_name[PROP_NAME_MAX - 1] = 0; in TEST()
292 ASSERT_EQ(PROP_VALUE_MAX - 1, system_properties.Get(prop_name, prop_value_ret)); in TEST()