• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/libucl/src/

Lines Matching defs:nobj

98 	ucl_object_t *nobj;
101 nobj = ucl_object_fromstring_common (begin, len, 0);
105 DL_APPEND (parser->last_comment, nobj);
108 parser->last_comment = nobj;
641 ucl_object_t *nobj;
644 nobj = ucl_object_new_full (is_array ? UCL_ARRAY : UCL_OBJECT, parser->chunks->priority);
645 if (nobj == NULL) {
657 nobj = obj;
658 nobj->type = is_array ? UCL_ARRAY : UCL_OBJECT;
662 if (nobj->value.ov == NULL) {
663 nobj->value.ov = ucl_hash_create (parser->flags & UCL_PARSER_KEY_LOWERCASE);
664 if (nobj->value.ov == NULL) {
679 st->obj = nobj;
685 if (nobj != obj) {
705 parser->cur_obj = nobj;
707 return nobj;
709 if (nobj != obj)
710 ucl_object_unref (nobj);
1142 ucl_object_t *nobj;
1157 nobj = ucl_object_typed_new (UCL_ARRAY);
1158 nobj->key = top->key;
1159 nobj->keylen = top->keylen;
1160 nobj->flags |= UCL_OBJECT_MULTIVALUE;
1161 ucl_array_append (nobj, top);
1162 ucl_array_append (nobj, elt);
1163 ucl_hash_replace (cont, top, nobj);
1169 ucl_parser_process_object_element (struct ucl_parser *parser, ucl_object_t *nobj)
1178 tobj = __DECONST (ucl_object_t *, ucl_hash_search_obj (cur->value.ov, nobj));
1187 container = ucl_hash_insert_object (container, nobj,
1192 nobj->prev = nobj;
1193 nobj->next = NULL;
1198 prinew = ucl_object_get_priority (nobj);
1216 ucl_parser_append_elt (parser, container, tobj, nobj);
1224 DL_APPEND (parser->trash_objs, nobj);
1227 ucl_hash_replace (container, tobj, nobj);
1235 ucl_hash_replace (container, tobj, nobj);
1243 nobj->key);
1253 ucl_object_unref (nobj);
1254 nobj = tobj;
1257 ucl_parser_append_elt (parser, container, tobj, nobj);
1265 DL_APPEND (parser->trash_objs, nobj);
1268 ucl_hash_replace (container, tobj, nobj);
1276 parser->cur_obj = nobj;
1277 ucl_attach_comment (parser, nobj, false);
1299 ucl_object_t *nobj;
1474 nobj = ucl_object_new_full (UCL_NULL, parser->chunks->priority);
1475 if (nobj == NULL) {
1478 keylen = ucl_copy_or_store_ptr (parser, c, &nobj->trash_stack[UCL_TRASH_KEY],
1482 ucl_object_unref (nobj);
1487 ucl_object_unref (nobj);
1491 nobj->key = key;
1492 nobj->keylen = keylen;
1494 if (!ucl_parser_process_object_element (parser, nobj)) {
1499 nobj->flags |= UCL_OBJECT_NEED_KEY_ESCAPE;