Searched refs:FLATBUFFERS_MAX_BUFFER_SIZE (Results 1 – 5 of 5) sorted by relevance
71 assert!(size <= FLATBUFFERS_MAX_BUFFER_SIZE, in new_with_capacity()591 assert!(want <= FLATBUFFERS_MAX_BUFFER_SIZE, in ensure_capacity()
25 pub const FLATBUFFERS_MAX_BUFFER_SIZE: usize = (1u64 << 31) as usize; constant
291 #define FLATBUFFERS_MAX_BUFFER_SIZE ((1ULL << (sizeof(soffset_t) * 8 - 1)) - 1) macro
763 FLATBUFFERS_ASSERT(size() < FLATBUFFERS_MAX_BUFFER_SIZE);1984 FLATBUFFERS_ASSERT(size_ < FLATBUFFERS_MAX_BUFFER_SIZE);2067 auto max_elems = FLATBUFFERS_MAX_BUFFER_SIZE / elem_size;
211 flatbuffers::FlatBufferBuilder::new_with_capacity(flatbuffers::FLATBUFFERS_MAX_BUFFER_SIZE+1); in builder_abort_with_greater_than_maximum_buffer_size()