Lines Matching defs:res
206 ucl_object_t *res;
211 res = ucl_object_typed_new (UCL_ARRAY);
216 ucl_array_append (res, ucl_object_fromint (cur % 128));
217 ucl_array_append (res, ucl_object_fromint (-(cur % 128)));
219 ucl_array_append (res, ucl_object_fromint (cur % UINT16_MAX));
220 ucl_array_append (res, ucl_object_fromint (-(cur % INT16_MAX)));
222 ucl_array_append (res, ucl_object_fromint (cur % UINT32_MAX));
223 ucl_array_append (res, ucl_object_fromint (-(cur % INT32_MAX)));
225 ucl_array_append (res, ucl_object_fromint (cur));
226 ucl_array_append (res, ucl_object_fromint (-cur));
230 ucl_array_append (res, ucl_object_fromdouble (curf));
233 ucl_array_append (res, ucl_object_fromdouble (curf));
236 ucl_array_append (res, ucl_object_fromdouble (curf));
237 ucl_array_append (res, ucl_object_fromdouble (-curf));
240 ucl_array_append (res, ucl_object_fromdouble (curf));
243 ucl_array_append (res, ucl_object_fromint (cur));
246 return res;
252 ucl_object_t *res, *elt;
257 res = ucl_object_typed_new (UCL_ARRAY);
264 ucl_array_append (res, ucl_object_fromstring_common (str, cur_len % 128,
270 ucl_array_append (res, ucl_object_fromstring_common (str, cur_len % 512,
279 ucl_array_append (res, elt);
287 ucl_array_append (res, elt);
296 ucl_array_append (res, elt);
299 return res;
305 ucl_object_t *res;
308 res = ucl_object_typed_new (UCL_ARRAY);
312 ucl_array_append (res, ucl_object_frombool (pcg32_random () % 2));
315 return res;
321 ucl_object_t *res, *cur;
327 res = ucl_object_typed_new (UCL_OBJECT);
352 ucl_object_insert_key (res, cur, key, klen, true);
358 ucl_object_insert_key (res, cur, key, klen, true);
361 return res;
367 ucl_object_t *res, *cur;
373 res = ucl_object_typed_new (UCL_OBJECT);
384 ucl_object_insert_key (res, cur, key, klen, true);
387 return res;
393 ucl_object_t *res, *cur;
397 res = ucl_object_typed_new (UCL_ARRAY);
419 ucl_array_append (res, cur);
422 return res;
428 ucl_object_t *res, *cur;
432 res = ucl_object_typed_new (UCL_ARRAY);
441 ucl_array_append (res, cur);
444 return res;
450 ucl_object_t *res;
456 res = ucl_object_fromstring_common (str, cur_len % 100000,
458 res->flags |= UCL_OBJECT_BINARY;
460 return res;