Home
last modified time | relevance | path

Searched refs:FLATBUFFERS_MAX_BUFFER_SIZE (Results 1 – 5 of 5) sorted by relevance

/third_party/flatbuffers/rust/flatbuffers/src/
Dbuilder.rs84 buffer.len() <= FLATBUFFERS_MAX_BUFFER_SIZE, in from_vec()
729 want <= FLATBUFFERS_MAX_BUFFER_SIZE, in ensure_capacity()
Dprimitives.rs25 pub const FLATBUFFERS_MAX_BUFFER_SIZE: usize = (1u64 << 31) as usize; constant
/third_party/flatbuffers/include/flatbuffers/
Dbase.h328 #define FLATBUFFERS_MAX_BUFFER_SIZE ((1ULL << (sizeof(::flatbuffers::soffset_t) * 8 - 1)) - 1) macro
Dflatbuffers.h990 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;
/third_party/flatbuffers/tests/rust_usage_test/tests/
Dintegration_test.rs367 flatbuffers::FlatBufferBuilder::new_with_capacity(flatbuffers::FLATBUFFERS_MAX_BUFFER_SIZE+1); in builder_abort_with_greater_than_maximum_buffer_size()