Lines Matching refs:input_pointer

533 static unsigned char utf16_literal_to_utf8(const unsigned char * const input_pointer, const unsigne…  in utf16_literal_to_utf8()  argument
537 const unsigned char *first_sequence = input_pointer; in utf16_literal_to_utf8()
656 const unsigned char *input_pointer = buffer_at_offset(input_buffer) + 1; in parse_string() local
702 while (input_pointer < input_end) in parse_string()
704 if (*input_pointer != '\\') in parse_string()
706 *output_pointer++ = *input_pointer++; in parse_string()
712 if ((input_end - input_pointer) < 1) in parse_string()
717 switch (input_pointer[1]) in parse_string()
737 *output_pointer++ = input_pointer[1]; in parse_string()
742 … sequence_length = utf16_literal_to_utf8(input_pointer, input_end, &output_pointer); in parse_string()
753 input_pointer += sequence_length; in parse_string()
774 if (input_pointer != NULL) in parse_string()
776 input_buffer->offset = (size_t)(input_pointer - input_buffer->content); in parse_string()
785 const unsigned char *input_pointer = NULL; in print_string_ptr() local
811 for (input_pointer = input; *input_pointer; input_pointer++) in print_string_ptr()
813 switch (*input_pointer) in print_string_ptr()
826 if (*input_pointer < 32) in print_string_ptr()
834 output_length = (size_t)(input_pointer - input) + escape_characters; in print_string_ptr()
856 for (input_pointer = input; *input_pointer != '\0'; (void)input_pointer++, output_pointer++) in print_string_ptr()
858 if ((*input_pointer > 31) && (*input_pointer != '\"') && (*input_pointer != '\\')) in print_string_ptr()
861 *output_pointer = *input_pointer; in print_string_ptr()
867 switch (*input_pointer) in print_string_ptr()
892 sprintf((char*)output_pointer, "u%04x", *input_pointer); in print_string_ptr()