Lines Matching refs:prop_name
242 char prop_name[PROP_NAME_MAX]; in TEST() local
249 ret = snprintf(prop_name, PROP_NAME_MAX - 1, "property_%d", count); in TEST()
250 memset(prop_name + ret, 'a', PROP_NAME_MAX - 1 - ret); in TEST()
253 prop_name[PROP_NAME_MAX - 1] = 0; in TEST()
256 ret = system_properties.Add(prop_name, PROP_NAME_MAX - 1, prop_value, PROP_VALUE_MAX - 1); in TEST()
267 ret = snprintf(prop_name, PROP_NAME_MAX - 1, "property_%d", i); in TEST()
268 memset(prop_name + ret, 'a', PROP_NAME_MAX - 1 - ret); in TEST()
271 prop_name[PROP_NAME_MAX - 1] = 0; in TEST()
275 ASSERT_EQ(PROP_VALUE_MAX - 1, system_properties.Get(prop_name, prop_value_ret)); in TEST()
334 char prop_name[PROP_NAME_MAX]; in TEST() local
342 ret = snprintf(prop_name, PROP_NAME_MAX - 1, "property_%d.%d.%d", i, j, k); in TEST()
343 memset(prop_name + ret, 'a', PROP_NAME_MAX - 1 - ret); in TEST()
346 prop_name[PROP_NAME_MAX - 1] = 0; in TEST()
350 prop_name, PROP_NAME_MAX - 1, prop_value, PROP_VALUE_MAX - 1)); in TEST()
358 ret = snprintf(prop_name, PROP_NAME_MAX - 1, "property_%d.%d.%d", i, j, k); in TEST()
359 memset(prop_name + ret, 'a', PROP_NAME_MAX - 1 - ret); in TEST()
362 prop_name[PROP_NAME_MAX - 1] = 0; in TEST()
366 ASSERT_EQ(PROP_VALUE_MAX - 1, system_properties.Get(prop_name, prop_value_ret)); in TEST()