Lines Matching refs:ret
172 int ret; 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()
177 ret = snprintf(prop_value, PROP_VALUE_MAX - 1, "value_%d", count); in TEST()
178 memset(prop_value + ret, 'b', PROP_VALUE_MAX - 1 - ret); in TEST()
182 ret = system_properties.Add(prop_name, PROP_NAME_MAX - 1, prop_value, PROP_VALUE_MAX - 1); in TEST()
183 if (ret < 0) 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()
195 ret = snprintf(prop_value, PROP_VALUE_MAX - 1, "value_%d", i); in TEST()
196 memset(prop_value + ret, 'b', PROP_VALUE_MAX - 1 - ret); in TEST()
263 int ret; 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()
270 ret = snprintf(prop_value, PROP_VALUE_MAX - 1, "value_%d.%d.%d", i, j, k); in TEST()
271 memset(prop_value + ret, 'b', PROP_VALUE_MAX - 1 - ret); 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()
286 ret = snprintf(prop_value, PROP_VALUE_MAX - 1, "value_%d.%d.%d", i, j, k); in TEST()
287 memset(prop_value + ret, 'b', PROP_VALUE_MAX - 1 - ret); in TEST()