• Home
  • Raw
  • Download

Lines Matching refs:buffer_at_offset

309 #define buffer_at_offset(buffer) ((buffer)->content + (buffer)->offset)  macro
330 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()
1142 *return_parse_end = (const char*)buffer_at_offset(&buffer); in cJSON_ParseWithLengthOpts()
1326 …if (can_read(input_buffer, 4) && (strncmp((const char*)buffer_at_offset(input_buffer), "null", 4) … in parse_value()
1333 …if (can_read(input_buffer, 5) && (strncmp((const char*)buffer_at_offset(input_buffer), "false", 5)… in parse_value()
1340 …if (can_read(input_buffer, 4) && (strncmp((const char*)buffer_at_offset(input_buffer), "true", 4) … in parse_value()
1348 if (can_access_at_index(input_buffer, 0) && (buffer_at_offset(input_buffer)[0] == '\"')) in parse_value()
1353 …input_buffer, 0) && ((buffer_at_offset(input_buffer)[0] == '-') || ((buffer_at_offset(input_buffer… in parse_value()
1358 if (can_access_at_index(input_buffer, 0) && (buffer_at_offset(input_buffer)[0] == '[')) in parse_value()
1363 if (can_access_at_index(input_buffer, 0) && (buffer_at_offset(input_buffer)[0] == '{')) in parse_value()
1457 if (buffer_at_offset(input_buffer)[0] != '[') in parse_array()
1465 if (can_access_at_index(input_buffer, 0) && (buffer_at_offset(input_buffer)[0] == ']')) in parse_array()
1513 while (can_access_at_index(input_buffer, 0) && (buffer_at_offset(input_buffer)[0] == ',')); in parse_array()
1515 if (cannot_access_at_index(input_buffer, 0) || buffer_at_offset(input_buffer)[0] != ']') in parse_array()
1613 if (cannot_access_at_index(input_buffer, 0) || (buffer_at_offset(input_buffer)[0] != '{')) in parse_object()
1620 if (can_access_at_index(input_buffer, 0) && (buffer_at_offset(input_buffer)[0] == '}')) in parse_object()
1671 if (cannot_access_at_index(input_buffer, 0) || (buffer_at_offset(input_buffer)[0] != ':')) in parse_object()
1685 while (can_access_at_index(input_buffer, 0) && (buffer_at_offset(input_buffer)[0] == ',')); in parse_object()
1687 if (cannot_access_at_index(input_buffer, 0) || (buffer_at_offset(input_buffer)[0] != '}')) in parse_object()