Searched refs:FILE_IDENTIFIER_LENGTH (Results 1 – 16 of 16) sorted by relevance
/third_party/flatbuffers/ts/ |
D | byte-buffer.ts | 1 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++) {
|
D | builder.ts | 2 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--) {
|
D | constants.ts | 3 export const FILE_IDENTIFIER_LENGTH = 4; constant
|
D | flatbuffers.ts | 3 export { FILE_IDENTIFIER_LENGTH } from './constants'
|
/third_party/flatbuffers/php/ |
D | Table.php | 133 if (strlen($ident) != Constants::FILE_IDENTIFIER_LENGTH) { 134 …mentException("FlatBuffers: file identifier must be length " . Constants::FILE_IDENTIFIER_LENGTH);
|
D | Constants.php | 24 const FILE_IDENTIFIER_LENGTH = 4; define in Google\\FlatBuffers\\Constants
|
D | FlatbufferBuilder.php | 913 $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/ |
D | Table.java | 214 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()
|
D | Constants.java | 39 static final int FILE_IDENTIFIER_LENGTH = 4; field in Constants
|
D | FlatBufferBuilder.java | 987 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/ |
D | primitives.rs | 27 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()
|
D | table.rs | 60 assert_eq!(ident.len(), FILE_IDENTIFIER_LENGTH); in buffer_has_identifier()
|
D | builder.rs | 670 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/ |
D | encode.py | 22 FILE_IDENTIFIER_LENGTH=4 variable
|
D | util.py | 31 end = offset + encode.FILE_IDENTIFIER_LENGTH
|
D | builder.py | 530 self.Prep(N.UOffsetTFlags.bytewidth, encode.FILE_IDENTIFIER_LENGTH) 536 for i in range(encode.FILE_IDENTIFIER_LENGTH-1, -1, -1):
|