Searched refs:arrayNullability (Results 1 – 3 of 3) sorted by relevance
/external/libmojo/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
D | Decoder.java | 307 public boolean[] readBooleans(int offset, int arrayNullability, int expectedLength) { in readBooleans() argument 308 Decoder d = readPointer(offset, BindingsHelper.isArrayNullable(arrayNullability)); in readBooleans() 331 public byte[] readBytes(int offset, int arrayNullability, int expectedLength) { in readBytes() argument 332 Decoder d = readPointer(offset, BindingsHelper.isArrayNullable(arrayNullability)); in readBytes() 346 public short[] readShorts(int offset, int arrayNullability, int expectedLength) { in readShorts() argument 347 Decoder d = readPointer(offset, BindingsHelper.isArrayNullable(arrayNullability)); in readShorts() 361 public int[] readInts(int offset, int arrayNullability, int expectedLength) { in readInts() argument 362 Decoder d = readPointer(offset, BindingsHelper.isArrayNullable(arrayNullability)); in readInts() 376 public float[] readFloats(int offset, int arrayNullability, int expectedLength) { in readFloats() argument 377 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()
|