Lines Matching refs:ret

178     int ret = mount(system_properties.get_appcompat_path(), system_properties.get_path(), nullptr,  in TEST()  local
180 if (ret != 0) { in TEST()
246 int ret; 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()
251 ret = snprintf(prop_value, PROP_VALUE_MAX - 1, "value_%d", count); in TEST()
252 memset(prop_value + ret, 'b', PROP_VALUE_MAX - 1 - ret); in TEST()
256 ret = system_properties.Add(prop_name, PROP_NAME_MAX - 1, prop_value, PROP_VALUE_MAX - 1); in TEST()
257 if (ret < 0) 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()
269 ret = snprintf(prop_value, PROP_VALUE_MAX - 1, "value_%d", i); in TEST()
270 memset(prop_value + ret, 'b', PROP_VALUE_MAX - 1 - ret); in TEST()
337 int ret; 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()
344 ret = snprintf(prop_value, PROP_VALUE_MAX - 1, "value_%d.%d.%d", i, j, k); in TEST()
345 memset(prop_value + ret, 'b', PROP_VALUE_MAX - 1 - ret); 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()
360 ret = snprintf(prop_value, PROP_VALUE_MAX - 1, "value_%d.%d.%d", i, j, k); in TEST()
361 memset(prop_value + ret, 'b', PROP_VALUE_MAX - 1 - ret); in TEST()
646 int ret = mount(system_properties.get_path(), system_properties.get_real_sysprop_dir(), nullptr, in TEST() local
648 if (ret != 0) { in TEST()
684 int ret = mount(system_properties.get_mount_path(), system_properties.get_real_sysprop_dir(), in TEST() local
686 if (ret != 0) { in TEST()