Home
last modified time | relevance | path

Searched refs:FILE_IDENTIFIER_LENGTH (Results 1 – 16 of 16) sorted by relevance

/third_party/flatbuffers/ts/
Dbyte-buffer.ts1 import { FILE_IDENTIFIER_LENGTH, SIZEOF_INT } from "./constants";
157 FILE_IDENTIFIER_LENGTH) {
162 for (let i = 0; i < FILE_IDENTIFIER_LENGTH; i++) {
293 if (ident.length != FILE_IDENTIFIER_LENGTH) {
295 FILE_IDENTIFIER_LENGTH);
297 for (let i = 0; i < FILE_IDENTIFIER_LENGTH; i++) {
Dbuilder.ts2 import { SIZEOF_SHORT, SIZE_PREFIX_LENGTH, SIZEOF_INT, FILE_IDENTIFIER_LENGTH } from "./constants"
430 FILE_IDENTIFIER_LENGTH + size_prefix);
431 if (file_identifier.length != FILE_IDENTIFIER_LENGTH) {
433 FILE_IDENTIFIER_LENGTH);
435 for (let i = FILE_IDENTIFIER_LENGTH - 1; i >= 0; i--) {
Dconstants.ts3 export const FILE_IDENTIFIER_LENGTH = 4; constant
Dflatbuffers.ts3 export { FILE_IDENTIFIER_LENGTH } from './constants'
/third_party/flatbuffers/php/
DTable.php133 if (strlen($ident) != Constants::FILE_IDENTIFIER_LENGTH) {
134 …mentException("FlatBuffers: file identifier must be length " . Constants::FILE_IDENTIFIER_LENGTH);
DConstants.php24 const FILE_IDENTIFIER_LENGTH = 4; define in Google\\FlatBuffers\\Constants
DFlatbufferBuilder.php913 $this->prep($this->minalign, Constants::SIZEOF_INT + Constants::FILE_IDENTIFIER_LENGTH);
914 if (strlen($identifier) != Constants::FILE_IDENTIFIER_LENGTH) {
917 Constants::FILE_IDENTIFIER_LENGTH));
920 for ($i = Constants::FILE_IDENTIFIER_LENGTH - 1; $i >= 0;
/third_party/flatbuffers/java/com/google/flatbuffers/
DTable.java214 if (ident.length() != FILE_IDENTIFIER_LENGTH) in __has_identifier()
216 FILE_IDENTIFIER_LENGTH); in __has_identifier()
217 for (int i = 0; i < FILE_IDENTIFIER_LENGTH; i++) { in __has_identifier()
DConstants.java39 static final int FILE_IDENTIFIER_LENGTH = 4; field in Constants
DFlatBufferBuilder.java987 prep(minalign, SIZEOF_INT + FILE_IDENTIFIER_LENGTH + (size_prefix ? SIZEOF_INT : 0)); in finish()
988 if (file_identifier.length() != FILE_IDENTIFIER_LENGTH) in finish()
990 FILE_IDENTIFIER_LENGTH); in finish()
991 for (int i = FILE_IDENTIFIER_LENGTH - 1; i >= 0; i--) { in finish()
/third_party/flatbuffers/rust/flatbuffers/src/
Dprimitives.rs27 pub const FILE_IDENTIFIER_LENGTH: usize = 4; constant
278 &buf[loc..loc + FILE_IDENTIFIER_LENGTH] in follow()
290 T::follow(buf, loc + FILE_IDENTIFIER_LENGTH) in follow()
Dtable.rs60 assert_eq!(ident.len(), FILE_IDENTIFIER_LENGTH); in buffer_has_identifier()
Dbuilder.rs670 FILE_IDENTIFIER_LENGTH in finish_with_opts()
683 debug_assert_eq!(ident.len(), FILE_IDENTIFIER_LENGTH); in finish_with_opts()
/third_party/flatbuffers/python/flatbuffers/
Dencode.py22 FILE_IDENTIFIER_LENGTH=4 variable
Dutil.py31 end = offset + encode.FILE_IDENTIFIER_LENGTH
Dbuilder.py530 self.Prep(N.UOffsetTFlags.bytewidth, encode.FILE_IDENTIFIER_LENGTH)
536 for i in range(encode.FILE_IDENTIFIER_LENGTH-1, -1, -1):