Lines Matching refs:PROP_NAME_MAX
79 char name[PROP_NAME_MAX]; in hierarchical_test_callback()
180 char prop_name[PROP_NAME_MAX]; in TEST()
187 ret = snprintf(prop_name, PROP_NAME_MAX - 1, "property_%d", count); in TEST()
188 memset(prop_name + ret, 'a', PROP_NAME_MAX - 1 - ret); in TEST()
191 prop_name[PROP_NAME_MAX - 1] = 0; in TEST()
194 ret = __system_property_add(prop_name, PROP_NAME_MAX - 1, prop_value, PROP_VALUE_MAX - 1); in TEST()
205 ret = snprintf(prop_name, PROP_NAME_MAX - 1, "property_%d", i); in TEST()
206 memset(prop_name + ret, 'a', PROP_NAME_MAX - 1 - ret); in TEST()
209 prop_name[PROP_NAME_MAX - 1] = 0; in TEST()
266 char prop_name[PROP_NAME_MAX]; in TEST()
274 ret = snprintf(prop_name, PROP_NAME_MAX - 1, "property_%d.%d.%d", i, j, k); in TEST()
275 memset(prop_name + ret, 'a', PROP_NAME_MAX - 1 - ret); in TEST()
278 prop_name[PROP_NAME_MAX - 1] = 0; in TEST()
281 … ASSERT_EQ(0, __system_property_add(prop_name, PROP_NAME_MAX - 1, prop_value, PROP_VALUE_MAX - 1)); in TEST()
289 ret = snprintf(prop_name, PROP_NAME_MAX - 1, "property_%d.%d.%d", i, j, k); in TEST()
290 memset(prop_name + ret, 'a', PROP_NAME_MAX - 1 - ret); in TEST()
293 prop_name[PROP_NAME_MAX - 1] = 0; in TEST()
323 char prop_value[PROP_NAME_MAX]; in TEST()
332 ASSERT_EQ(-1, __system_property_add("name", PROP_NAME_MAX, "value", 5)); in TEST()