Lines Matching refs:nesting_depth
80 int nesting_depth; member
92 emitter->nesting_depth = 0; in emitter_init()
211 emitter->nesting_depth++; in emitter_nest_inc()
217 emitter->nesting_depth--; in emitter_nest_dec()
223 int amount = emitter->nesting_depth; in emitter_indent()
245 assert(emitter->nesting_depth == 0); in emitter_begin()
257 assert(emitter->nesting_depth == 1); in emitter_end()
273 assert(emitter->nesting_depth > 0); in emitter_kv_note()
334 assert(emitter->nesting_depth > 0); in emitter_dict_end()
384 assert(emitter->nesting_depth > 0); in emitter_json_arr_end()
404 assert(emitter->nesting_depth > 0); in emitter_json_arr_obj_end()