Searched refs:arrayNullability (Results 1 – 3 of 3) sorted by relevance
/external/libchrome/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
D | Decoder.java | 328 public boolean[] readBooleans(int offset, int arrayNullability, int expectedLength) { in readBooleans() argument 329 Decoder d = readPointer(offset, BindingsHelper.isArrayNullable(arrayNullability)); in readBooleans() 352 public byte[] readBytes(int offset, int arrayNullability, int expectedLength) { in readBytes() argument 353 Decoder d = readPointer(offset, BindingsHelper.isArrayNullable(arrayNullability)); in readBytes() 367 public short[] readShorts(int offset, int arrayNullability, int expectedLength) { in readShorts() argument 368 Decoder d = readPointer(offset, BindingsHelper.isArrayNullable(arrayNullability)); in readShorts() 382 public int[] readInts(int offset, int arrayNullability, int expectedLength) { in readInts() argument 383 Decoder d = readPointer(offset, BindingsHelper.isArrayNullable(arrayNullability)); in readInts() 397 public float[] readFloats(int offset, int arrayNullability, int expectedLength) { in readFloats() argument 398 Decoder d = readPointer(offset, BindingsHelper.isArrayNullable(arrayNullability)); in readFloats() [all …]
|
D | Encoder.java | 245 final int arrayNullability = nullable in encode() local 247 encode(v.getBytes(Charset.forName("utf8")), offset, arrayNullability, in encode() 335 public void encode(boolean[] v, int offset, int arrayNullability, int expectedLength) { in encode() argument 337 encodeNullPointer(offset, BindingsHelper.isArrayNullable(arrayNullability)); in encode() 359 public void encode(byte[] v, int offset, int arrayNullability, int expectedLength) { in encode() argument 361 encodeNullPointer(offset, BindingsHelper.isArrayNullable(arrayNullability)); in encode() 374 public void encode(short[] v, int offset, int arrayNullability, int expectedLength) { in encode() argument 376 encodeNullPointer(offset, BindingsHelper.isArrayNullable(arrayNullability)); in encode() 385 public void encode(int[] v, int offset, int arrayNullability, int expectedLength) { in encode() argument 387 encodeNullPointer(offset, BindingsHelper.isArrayNullable(arrayNullability)); in encode() [all …]
|
D | BindingsHelper.java | 67 public static boolean isArrayNullable(int arrayNullability) { in isArrayNullable() argument 68 return (arrayNullability & ARRAY_NULLABLE) > 0; in isArrayNullable() 71 public static boolean isElementNullable(int arrayNullability) { in isElementNullable() argument 72 return (arrayNullability & ELEMENT_NULLABLE) > 0; in isElementNullable()
|