Searched refs:buffer_at_offset (Results 1 – 1 of 1) sorted by relevance
227 #define buffer_at_offset(buffer) ((buffer)->content + (buffer)->offset) macro248 switch (buffer_at_offset(input_buffer)[i]) in parse_number()264 number_c_string[i] = buffer_at_offset(input_buffer)[i]; in parse_number()656 const unsigned char *input_pointer = buffer_at_offset(input_buffer) + 1; in parse_string()657 const unsigned char *input_end = buffer_at_offset(input_buffer) + 1; in parse_string()662 if (buffer_at_offset(input_buffer)[0] != '\"') in parse_string()692 allocation_length = (size_t) (input_end - buffer_at_offset(input_buffer)) - skipped_bytes; in parse_string()926 while (can_access_at_index(buffer, 0) && (buffer_at_offset(buffer)[0] <= 32)) in buffer_skip_whitespace()975 if ((buffer.offset >= buffer.length) || buffer_at_offset(&buffer)[0] != '\0') in cJSON_ParseWithOpts()982 *return_parse_end = (const char*)buffer_at_offset(&buffer); in cJSON_ParseWithOpts()[all …]