Lines Matching defs:last

4430     The byte index of the last read character in the input file.
5129 /// last stringified array index
6213 iterator_input_adapter(IteratorType first, IteratorType last)
6214 : current(std::move(first)), end(std::move(last))
6419 static adapter_type create(IteratorType first, IteratorType last)
6421 return adapter_type(std::move(first), std::move(last));
6443 static adapter_type create(IteratorType first, IteratorType last)
6445 return adapter_type(base_adapter_type(std::move(first), std::move(last)));
6451 typename iterator_input_adapter_factory<IteratorType>::adapter_type input_adapter(IteratorType first, IteratorType last)
6454 return factory_type::create(first, last);
6550 span_input_adapter(IteratorType first, IteratorType last)
6551 : ia(input_adapter(first, last)) {}
6697 @param[in] last_token the last read token
8740 /// return position of last read token
8746 /// return the last read token (for errors only). Will never contain EOF
9226 exception_message(input_format, concat("expected end of input; last byte: 0x", get_token_string()), "value"), nullptr));
9488 input (true) or whether the last read character should
10065 exception_message(input_format_t::cbor, concat("expected length specification (0x60-0x7B) or indefinite string type (0x7F); last byte: 0x", last_token), "string"), nullptr));
10165 exception_message(input_format_t::cbor, concat("expected length specification (0x40-0x5B) or indefinite binary array type (0x5F); last byte: 0x", last_token), "binary"), nullptr));
10719 exception_message(input_format_t::msgpack, concat("expected length specification (0xA0-0xBF, 0xD9-0xDB); last byte: 0x", last_token), "string"), nullptr));
10899 input (true, default) or whether the last read
10918 input (true, default) or whether the last read
11005 message = "expected length type specification (U, i, I, l, L); last byte: 0x" + last_token;
11009 message = "expected length type specification (U, i, u, I, m, l, M, L); last byte: 0x" + last_token;
11286 message = "expected length type specification (U, i, I, l, L) after '#'; last byte: 0x" + last_token;
11290 message = "expected length type specification (U, i, u, I, m, l, M, L) after '#'; last byte: 0x" + last_token;
11339 exception_message(input_format, concat("expected '#' after type information; last byte: 0x", last_token), "size"), nullptr));
11528 exception_message(input_format, concat("byte after 'C' must be in range 0x00..0x7F; last byte: 0x", last_token), "char"), nullptr));
11959 @return whether the last read character is not EOF
11973 @return a string representation of the last read byte
12184 @param[in] strict whether to expect the last token to be EOF
12248 @param[in] strict whether to expect the last token to be EOF
12450 default: // the last token was unexpected
12577 error_msg += concat(m_lexer.get_error_message(), "; last read: '",
12596 /// the type of the last read token
13024 @brief set the iterator past the last value
13838 /// @brief remove last reference token
13850 /// @brief return last reference token
14364 // - slash: position of the last read slash (or end of string)
14380 // (start) and the last slash (slash).
17349 // ten_k represents a unit-in-the-last-place in the decimal representation
17836 @brief generates a decimal representation of the floating-point number value in [first, last).
17848 char* to_chars(char* first, const char* last, FloatType value)
17850 static_cast<void>(last); // maybe unused - fix warning
17876 JSON_ASSERT(last - first >= std::numeric_limits<FloatType>::max_digits10);
17893 JSON_ASSERT(last - first >= kMaxExp + 2);
17894 JSON_ASSERT(last - first >= 2 + (-kMinExp - 1) + std::numeric_limits<FloatType>::max_digits10);
17895 JSON_ASSERT(last - first >= std::numeric_limits<FloatType>::max_digits10 + 6);
18030 // last element
18058 // last element
18100 // last element
18121 // last element
18281 // number of bytes written at the point of the last valid byte
18412 // reset length buffer to the last accepted index;
18489 JSON_THROW(type_error::create(316, concat("incomplete UTF-8 string; last byte: 0x", hex_bytes(static_cast<std::uint8_t>(s.back() | 0))), nullptr));
18771 prematurely; that is, the last byte indicated more bytes should have
18929 ordered_map(It first, It last, const Allocator& alloc = Allocator())
18930 : Container{first, last, alloc} {}
19087 iterator erase(iterator first, iterator last)
19089 if (first == last)
19094 const auto elements_affected = std::distance(first, last);
19099 // iterator past the last deleted element (h in this example).
19105 // first last
19125 // first last
19132 // first last
19134 // first is now pointing past the last deleted element, but we cannot
19227 void insert(InputIt first, InputIt last)
19229 for (auto it = first; it != last; ++it)
19756 // move the last item to local variable to be processed
20198 basic_json(InputIT first, InputIT last)
20201 JSON_ASSERT(last.m_object != nullptr);
20204 if (JSON_HEDLEY_UNLIKELY(first.m_object != last.m_object))
20222 || !last.m_it.primitive_iterator.is_end()))
20273 last.m_it.object_iterator);
20280 last.m_it.array_iterator);
21572 /// @brief access the last element
21581 /// @brief access the last element
21665 IteratorType erase(IteratorType first, IteratorType last)
21668 if (JSON_HEDLEY_UNLIKELY(this != first.m_object || this != last.m_object))
21685 || !last.m_it.primitive_iterator.is_end()))
21713 last.m_it.object_iterator);
21720 last.m_it.array_iterator);
21959 /// @brief returns an iterator to one past the last element
21968 /// @brief returns an iterator to one past the last element
21975 /// @brief returns an iterator to one past the last element
22012 /// @brief returns a const reverse iterator to the last element
22502 iterator insert(const_iterator pos, const_iterator first, const_iterator last)
22517 if (JSON_HEDLEY_UNLIKELY(first.m_object != last.m_object))
22528 return insert_iterator(pos, first.m_it.array_iterator, last.m_it.array_iterator);
22553 void insert(const_iterator first, const_iterator last)
22562 if (JSON_HEDLEY_UNLIKELY(first.m_object != last.m_object))
22570 JSON_THROW(invalid_iterator::create(202, "iterators first and last must point to objects", this));
22573 m_value.object->insert(first.m_it.object_iterator, last.m_it.object_iterator);
22585 void update(const_iterator first, const_iterator last, bool merge_objects = false)
22601 if (JSON_HEDLEY_UNLIKELY(first.m_object != last.m_object))
22612 for (auto it = first; it != last; ++it)
23201 IteratorType last,
23207 parser(detail::input_adapter(std::move(first), std::move(last)), cb, allow_exceptions, ignore_comments).parse(true, result);
23235 static bool accept(IteratorType first, IteratorType last,
23238 return parser(detail::input_adapter(std::move(first), std::move(last)), nullptr, false, ignore_comments).accept(true);
23268 static bool sax_parse(IteratorType first, IteratorType last, SAX* sax,
23273 auto ia = detail::input_adapter(std::move(first), std::move(last));
23523 static basic_json from_cbor(IteratorType first, IteratorType last,
23530 auto ia = detail::input_adapter(std::move(first), std::move(last));
23581 static basic_json from_msgpack(IteratorType first, IteratorType last,
23587 auto ia = detail::input_adapter(std::move(first), std::move(last));
23635 static basic_json from_ubjson(IteratorType first, IteratorType last,
23641 auto ia = detail::input_adapter(std::move(first), std::move(last));
23690 static basic_json from_bjdata(IteratorType first, IteratorType last,
23696 auto ia = detail::input_adapter(std::move(first), std::move(last));
23720 static basic_json from_bson(IteratorType first, IteratorType last,
23726 auto ia = detail::input_adapter(std::move(first), std::move(last));