Lines Matching defs:depth
310 size_t depth; /* How deeply nested (in arrays/objects) is the input at the current offset. */
598 size_t depth; /* current nesting depth (for formatted printing) */
1689 if (input_buffer->depth >= CJSON_NESTING_LIMIT)
1693 input_buffer->depth++;
1759 input_buffer->depth--;
1803 output_buffer->depth++;
1838 output_buffer->depth--;
1849 if (input_buffer->depth >= CJSON_NESTING_LIMIT)
1853 input_buffer->depth++;
1940 input_buffer->depth--;
1982 output_buffer->depth++;
1994 output_pointer = ensure(output_buffer, output_buffer->depth);
1999 for (i = 0; i < output_buffer->depth; i++)
2003 output_buffer->offset += output_buffer->depth;
2055 output_pointer = ensure(output_buffer, output_buffer->format ? (output_buffer->depth + 1) : 2);
2063 for (i = 0; i < (output_buffer->depth - 1); i++)
2070 output_buffer->depth--;