Home
last modified time | relevance | path

Searched refs:mBaseOffset (Results 1 – 2 of 2) sorted by relevance

/external/libchrome/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
DEncoder.java102 private int mBaseOffset; field in Encoder
134 mBaseOffset = bufferInformation.dataEnd; in Encoder()
160 mEncoderState.byteBuffer.put(mBaseOffset + offset, v); in encode()
168 byte encodedValue = mEncoderState.byteBuffer.get(mBaseOffset + offset); in encode()
170 mEncoderState.byteBuffer.put(mBaseOffset + offset, encodedValue); in encode()
178 mEncoderState.byteBuffer.putShort(mBaseOffset + offset, v); in encode()
185 mEncoderState.byteBuffer.putInt(mBaseOffset + offset, v); in encode()
192 mEncoderState.byteBuffer.putFloat(mBaseOffset + offset, v); in encode()
199 mEncoderState.byteBuffer.putLong(mBaseOffset + offset, v); in encode()
206 mEncoderState.byteBuffer.putDouble(mBaseOffset + offset, v); in encode()
[all …]
DDecoder.java113 private final int mBaseOffset; field in Decoder
132 mBaseOffset = baseOffset; in Decoder()
141 mValidator.claimMemory(mBaseOffset, mBaseOffset + DataHeader.HEADER_SIZE); in readDataHeader()
144 mValidator.claimMemory(mBaseOffset + DataHeader.HEADER_SIZE, mBaseOffset + result.size); in readDataHeader()
254 return mMessage.getData().get(mBaseOffset + offset); in readByte()
270 return mMessage.getData().getShort(mBaseOffset + offset); in readShort()
278 return mMessage.getData().getInt(mBaseOffset + offset); in readInt()
286 return mMessage.getData().getFloat(mBaseOffset + offset); in readFloat()
294 return mMessage.getData().getLong(mBaseOffset + offset); in readLong()
302 return mMessage.getData().getDouble(mBaseOffset + offset); in readDouble()
[all …]