Searched refs:FLATBUFFERS_MAX_BUFFER_SIZE (Results 1 – 5 of 5) sorted by relevance
84 buffer.len() <= FLATBUFFERS_MAX_BUFFER_SIZE, in from_vec()729 want <= FLATBUFFERS_MAX_BUFFER_SIZE, in ensure_capacity()
25 pub const FLATBUFFERS_MAX_BUFFER_SIZE: usize = (1u64 << 31) as usize; constant
328 #define FLATBUFFERS_MAX_BUFFER_SIZE ((1ULL << (sizeof(::flatbuffers::soffset_t) * 8 - 1)) - 1) macro
990 FLATBUFFERS_ASSERT(size() < FLATBUFFERS_MAX_BUFFER_SIZE);2280 FLATBUFFERS_ASSERT(size_ < FLATBUFFERS_MAX_BUFFER_SIZE);2367 auto max_elems = FLATBUFFERS_MAX_BUFFER_SIZE / elem_size;
367 flatbuffers::FlatBufferBuilder::new_with_capacity(flatbuffers::FLATBUFFERS_MAX_BUFFER_SIZE+1); in builder_abort_with_greater_than_maximum_buffer_size()