Lines Matching refs:cur_len
254 uint32_t cur_len; in ucl_test_string() local
261 while ((cur_len = pcg32_random ()) % 128 == 0); in ucl_test_string()
263 str = malloc (cur_len % 128); in ucl_test_string()
264 ucl_array_append (res, ucl_object_fromstring_common (str, cur_len % 128, in ucl_test_string()
268 while ((cur_len = pcg32_random ()) % 512 == 0); in ucl_test_string()
269 str = malloc (cur_len % 512); in ucl_test_string()
270 ucl_array_append (res, ucl_object_fromstring_common (str, cur_len % 512, in ucl_test_string()
274 while ((cur_len = pcg32_random ()) % 128 == 0); in ucl_test_string()
275 str = malloc (cur_len % 128); in ucl_test_string()
276 elt = ucl_object_fromstring_common (str, cur_len % 128, in ucl_test_string()
282 while ((cur_len = pcg32_random ()) % 512 == 0); in ucl_test_string()
283 str = malloc (cur_len % 512); in ucl_test_string()
284 elt = ucl_object_fromstring_common (str, cur_len % 512, in ucl_test_string()
323 uint32_t cur_len, sel; in ucl_test_map() local
369 uint32_t cur_len; in ucl_test_large_map() local
395 uint32_t cur_len, sel; in ucl_test_array() local
430 uint32_t cur_len; in ucl_test_large_array() local
452 uint32_t cur_len; in ucl_test_large_string() local
454 while ((cur_len = pcg32_random ()) % 100000 == 0); in ucl_test_large_string()
455 str = malloc (cur_len % 100000); in ucl_test_large_string()
456 res = ucl_object_fromstring_common (str, cur_len % 100000, in ucl_test_large_string()