Searched refs:buffer_at_offset (Results 1 – 1 of 1) sorted by relevance
309 #define buffer_at_offset(buffer) ((buffer)->content + (buffer)->offset) macro330 switch (buffer_at_offset(input_buffer)[i]) in parse_number()346 number_c_string[i] = buffer_at_offset(input_buffer)[i]; in parse_number()780 const unsigned char *input_pointer = buffer_at_offset(input_buffer) + 1; in parse_string()781 const unsigned char *input_end = buffer_at_offset(input_buffer) + 1; in parse_string()786 if (buffer_at_offset(input_buffer)[0] != '\"') in parse_string()816 allocation_length = (size_t) (input_end - buffer_at_offset(input_buffer)) - skipped_bytes; in parse_string()1055 while (can_access_at_index(buffer, 0) && (buffer_at_offset(buffer)[0] <= 32)) in buffer_skip_whitespace()1076 …if (can_access_at_index(buffer, 4) && (strncmp((const char*)buffer_at_offset(buffer), "\xEF\xBB\xB… in skip_utf8_bom()1135 if ((buffer.offset >= buffer.length) || buffer_at_offset(&buffer)[0] != '\0') in cJSON_ParseWithLengthOpts()[all …]