• Home
  • Raw
  • Download

Lines Matching refs:output_pointer

556     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()
1542 unsigned char *output_pointer = NULL; in print_array() local
1553 output_pointer = ensure(output_buffer, 1); in print_array()
1554 if (output_pointer == NULL) in print_array()
1559 *output_pointer = '['; in print_array()
1573 output_pointer = ensure(output_buffer, length + 1); in print_array()
1574 if (output_pointer == NULL) in print_array()
1578 *output_pointer++ = ','; in print_array()
1581 *output_pointer++ = ' '; in print_array()
1583 *output_pointer = '\0'; in print_array()
1589 output_pointer = ensure(output_buffer, 2); in print_array()
1590 if (output_pointer == NULL) in print_array()
1594 *output_pointer++ = ']'; in print_array()
1595 *output_pointer = '\0'; in print_array()
1713 unsigned char *output_pointer = NULL; in print_object() local
1724 output_pointer = ensure(output_buffer, length + 1); in print_object()
1725 if (output_pointer == NULL) in print_object()
1730 *output_pointer++ = '{'; in print_object()
1734 *output_pointer++ = '\n'; in print_object()
1743 output_pointer = ensure(output_buffer, output_buffer->depth); in print_object()
1744 if (output_pointer == NULL) in print_object()
1750 *output_pointer++ = '\t'; in print_object()
1763 output_pointer = ensure(output_buffer, length); in print_object()
1764 if (output_pointer == NULL) in print_object()
1768 *output_pointer++ = ':'; in print_object()
1771 *output_pointer++ = '\t'; in print_object()
1784 output_pointer = ensure(output_buffer, length + 1); in print_object()
1785 if (output_pointer == NULL) in print_object()
1791 *output_pointer++ = ','; in print_object()
1796 *output_pointer++ = '\n'; in print_object()
1798 *output_pointer = '\0'; in print_object()
1804 output_pointer = ensure(output_buffer, output_buffer->format ? (output_buffer->depth + 1) : 2); in print_object()
1805 if (output_pointer == NULL) in print_object()
1814 *output_pointer++ = '\t'; in print_object()
1817 *output_pointer++ = '}'; in print_object()
1818 *output_pointer = '\0'; in print_object()