Lines Matching refs:output_pointer
552 unsigned char *output_pointer = NULL; in print_number() local
594 output_pointer = ensure(output_buffer, (size_t)length + sizeof("")); in print_number()
595 if (output_pointer == NULL) in print_number()
606 output_pointer[i] = '.'; in print_number()
610 output_pointer[i] = number_buffer[i]; in print_number()
612 output_pointer[i] = '\0'; in print_number()
657 … char * const input_pointer, const unsigned char * const input_end, unsigned char **output_pointer) in utf16_literal_to_utf8() argument
756 (*output_pointer)[utf8_position] = (unsigned char)((codepoint | 0x80) & 0xBF); in utf16_literal_to_utf8()
762 (*output_pointer)[0] = (unsigned char)((codepoint | first_byte_mark) & 0xFF); in utf16_literal_to_utf8()
766 (*output_pointer)[0] = (unsigned char)(codepoint & 0x7F); in utf16_literal_to_utf8()
769 *output_pointer += utf8_length; in utf16_literal_to_utf8()
782 unsigned char *output_pointer = NULL; in parse_string() local
824 output_pointer = output; in parse_string()
830 *output_pointer++ = *input_pointer++; in parse_string()
844 *output_pointer++ = '\b'; in parse_string()
847 *output_pointer++ = '\f'; in parse_string()
850 *output_pointer++ = '\n'; in parse_string()
853 *output_pointer++ = '\r'; in parse_string()
856 *output_pointer++ = '\t'; in parse_string()
861 *output_pointer++ = input_pointer[1]; in parse_string()
866 … sequence_length = utf16_literal_to_utf8(input_pointer, input_end, &output_pointer); in parse_string()
882 *output_pointer = '\0'; in parse_string()
911 unsigned char *output_pointer = NULL; in print_string_ptr() local
978 output_pointer = output + 1; in print_string_ptr()
980 for (input_pointer = input; *input_pointer != '\0'; (void)input_pointer++, output_pointer++) in print_string_ptr()
985 *output_pointer = *input_pointer; in print_string_ptr()
990 *output_pointer++ = '\\'; in print_string_ptr()
994 *output_pointer = '\\'; in print_string_ptr()
997 *output_pointer = '\"'; in print_string_ptr()
1000 *output_pointer = 'b'; in print_string_ptr()
1003 *output_pointer = 'f'; in print_string_ptr()
1006 *output_pointer = 'n'; in print_string_ptr()
1009 *output_pointer = 'r'; in print_string_ptr()
1012 *output_pointer = 't'; in print_string_ptr()
1016 sprintf((char*)output_pointer, "u%04x", *input_pointer); in print_string_ptr()
1017 output_pointer += 4; in print_string_ptr()
1546 unsigned char *output_pointer = NULL; in print_array() local
1557 output_pointer = ensure(output_buffer, 1); in print_array()
1558 if (output_pointer == NULL) in print_array()
1563 *output_pointer = '['; in print_array()
1577 output_pointer = ensure(output_buffer, length + 1); in print_array()
1578 if (output_pointer == NULL) in print_array()
1582 *output_pointer++ = ','; in print_array()
1585 *output_pointer++ = ' '; in print_array()
1587 *output_pointer = '\0'; in print_array()
1593 output_pointer = ensure(output_buffer, 2); in print_array()
1594 if (output_pointer == NULL) in print_array()
1598 *output_pointer++ = ']'; in print_array()
1599 *output_pointer = '\0'; in print_array()
1721 unsigned char *output_pointer = NULL; in print_object() local
1732 output_pointer = ensure(output_buffer, length + 1); in print_object()
1733 if (output_pointer == NULL) in print_object()
1738 *output_pointer++ = '{'; in print_object()
1742 *output_pointer++ = '\n'; in print_object()
1751 output_pointer = ensure(output_buffer, output_buffer->depth); in print_object()
1752 if (output_pointer == NULL) in print_object()
1758 *output_pointer++ = '\t'; in print_object()
1771 output_pointer = ensure(output_buffer, length); in print_object()
1772 if (output_pointer == NULL) in print_object()
1776 *output_pointer++ = ':'; in print_object()
1779 *output_pointer++ = '\t'; in print_object()
1792 output_pointer = ensure(output_buffer, length + 1); in print_object()
1793 if (output_pointer == NULL) in print_object()
1799 *output_pointer++ = ','; in print_object()
1804 *output_pointer++ = '\n'; in print_object()
1806 *output_pointer = '\0'; in print_object()
1812 output_pointer = ensure(output_buffer, output_buffer->format ? (output_buffer->depth + 1) : 2); in print_object()
1813 if (output_pointer == NULL) in print_object()
1822 *output_pointer++ = '\t'; in print_object()
1825 *output_pointer++ = '}'; in print_object()
1826 *output_pointer = '\0'; in print_object()