Searched refs:elementsOrVersion (Results 1 – 6 of 6) sorted by relevance
154 if (result.elementsOrVersion != 0) { in readDataHeaderForUnion()157 + result.elementsOrVersion); in readDataHeaderForUnion()180 int elementsOrVersion = readInt(offset + DataHeader.ELEMENTS_OR_VERSION_OFFSET); in readDataHeaderAtOffset() local185 if (elementsOrVersion < 0 && (!isUnion || elementsOrVersion != -1)) { in readDataHeaderAtOffset()190 return new DataHeader(size, elementsOrVersion); in readDataHeaderAtOffset()196 if (header.elementsOrVersion <= versionArray[maxVersionIndex].elementsOrVersion) { in readAndValidateDataHeader()200 if (header.elementsOrVersion >= dataHeader.elementsOrVersion) { in readAndValidateDataHeader()243 if (si.elementsOrVersion != BindingsHelper.MAP_STRUCT_HEADER.elementsOrVersion) { in readDataHeaderForMap()334 byte[] bytes = new byte[(si.elementsOrVersion + 7) / BindingsHelper.ALIGNMENT]; in readBooleans()337 boolean[] result = new boolean[si.elementsOrVersion]; in readBooleans()[all …]
35 public final int elementsOrVersion; field in DataHeader40 public DataHeader(int size, int elementsOrVersion) { in DataHeader() argument43 this.elementsOrVersion = elementsOrVersion; in DataHeader()53 result = prime * result + elementsOrVersion; in hashCode()68 return (elementsOrVersion == other.elementsOrVersion && size == other.size); in equals()
225 if (dataHeader.elementsOrVersion < SIMPLE_MESSAGE_VERSION) { in validateDataHeader()227 + SIMPLE_MESSAGE_VERSION + ", but got: " + dataHeader.elementsOrVersion); in validateDataHeader()234 if (dataHeader.elementsOrVersion == SIMPLE_MESSAGE_VERSION in validateDataHeader()240 if (dataHeader.elementsOrVersion == MESSAGE_WITH_REQUEST_ID_VERSION in validateDataHeader()
153 encode(s.elementsOrVersion, DataHeader.ELEMENTS_OR_VERSION_OFFSET); in encode()
34 final int elementsOrVersion = mainDataHeader.elementsOrVersion;35 result = new ArcPackageInfo(elementsOrVersion);48 if (elementsOrVersion >= 11) {54 if (elementsOrVersion >= 25) {60 if (elementsOrVersion >= 0) {89 final int elementsOrVersion = mainDataHeader.elementsOrVersion;90 result = new {{struct|name}}(elementsOrVersion);100 if (elementsOrVersion >= {{packed_field.min_version}}) {
86 {{variable}} = {{kind|new_array('si'~(level+1)~'.elementsOrVersion')}};87 for (int i{{level+1}} = 0; i{{level+1}} < si{{level+1}}.elementsOrVersion; ++i{{level+1}}) {176 final int elementsOrVersion = mainDataHeader.elementsOrVersion;177 result = new {{struct|name}}(elementsOrVersion);188 if (elementsOrVersion >= {{packed_field.min_version}}) {287 switch (dataHeader.elementsOrVersion) {