Home
last modified time | relevance | path

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

/external/flatbuffers/js/
Dflatbuffers.js49 flatbuffers.FILE_IDENTIFIER_LENGTH = 4;
666 flatbuffers.FILE_IDENTIFIER_LENGTH);
667 if (file_identifier.length != flatbuffers.FILE_IDENTIFIER_LENGTH) {
669 flatbuffers.FILE_IDENTIFIER_LENGTH);
671 for (var i = flatbuffers.FILE_IDENTIFIER_LENGTH - 1; i >= 0; i--) {
1132 if (ident.length != flatbuffers.FILE_IDENTIFIER_LENGTH) {
1134 flatbuffers.FILE_IDENTIFIER_LENGTH);
1136 for (var i = 0; i < flatbuffers.FILE_IDENTIFIER_LENGTH; i++) {
/external/flatbuffers/php/
DTable.php123 if (strlen($ident) != Constants::FILE_IDENTIFIER_LENGTH) {
124 …mentException("FlatBuffers: file identifier must be length " . Constants::FILE_IDENTIFIER_LENGTH);
DConstants.php24 const FILE_IDENTIFIER_LENGTH = 4; define in Google\\FlatBuffers\\Constants
DFlatbufferBuilder.php902 $this->prep($this->minalign, Constants::SIZEOF_INT + Constants::FILE_IDENTIFIER_LENGTH);
903 if (strlen($identifier) != Constants::FILE_IDENTIFIER_LENGTH) {
906 Constants::FILE_IDENTIFIER_LENGTH));
909 for ($i = Constants::FILE_IDENTIFIER_LENGTH - 1; $i >= 0;
/external/flatbuffers/java/com/google/flatbuffers/
DTable.java198 if (ident.length() != FILE_IDENTIFIER_LENGTH) in __has_identifier()
200 FILE_IDENTIFIER_LENGTH); in __has_identifier()
201 for (int i = 0; i < FILE_IDENTIFIER_LENGTH; i++) { in __has_identifier()
DFlatBufferBuilder.java766 prep(minalign, SIZEOF_INT + FILE_IDENTIFIER_LENGTH); in finish()
767 if (file_identifier.length() != FILE_IDENTIFIER_LENGTH) in finish()
769 FILE_IDENTIFIER_LENGTH); in finish()
770 for (int i = FILE_IDENTIFIER_LENGTH - 1; i >= 0; i--) { in finish()
DConstants.java39 static final int FILE_IDENTIFIER_LENGTH = 4; field in Constants