Home | History | Annotate | Download | only in tests

Lines Matching refs:PROP_NAME_MAX

82     char name[PROP_NAME_MAX];
183 char prop_name[PROP_NAME_MAX];
190 ret = snprintf(prop_name, PROP_NAME_MAX - 1, "property_%d", count);
191 memset(prop_name + ret, 'a', PROP_NAME_MAX - 1 - ret);
194 prop_name[PROP_NAME_MAX - 1] = 0;
197 ret = __system_property_add(prop_name, PROP_NAME_MAX - 1, prop_value, PROP_VALUE_MAX - 1);
208 ret = snprintf(prop_name, PROP_NAME_MAX - 1, "property_%d", i);
209 memset(prop_name + ret, 'a', PROP_NAME_MAX - 1 - ret);
212 prop_name[PROP_NAME_MAX - 1] = 0;
269 char prop_name[PROP_NAME_MAX];
277 ret = snprintf(prop_name, PROP_NAME_MAX - 1, "property_%d.%d.%d", i, j, k);
278 memset(prop_name + ret, 'a', PROP_NAME_MAX - 1 - ret);
281 prop_name[PROP_NAME_MAX - 1] = 0;
284 ASSERT_EQ(0, __system_property_add(prop_name, PROP_NAME_MAX - 1, prop_value, PROP_VALUE_MAX - 1));
292 ret = snprintf(prop_name, PROP_NAME_MAX - 1, "property_%d.%d.%d", i, j, k);
293 memset(prop_name + ret, 'a', PROP_NAME_MAX - 1 - ret);
296 prop_name[PROP_NAME_MAX - 1] = 0;
326 char prop_value[PROP_NAME_MAX];
335 ASSERT_EQ(-1, __system_property_add("name", PROP_NAME_MAX, "value", 5));