Searched refs:arrayNullability (Results 1 – 3 of 3) sorted by relevance
/external/chromium_org/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
D | Decoder.java | 226 public boolean[] readBooleans(int offset, int arrayNullability, int expectedLength) { in readBooleans() argument 227 Decoder d = readPointer(offset, BindingsHelper.isArrayNullable(arrayNullability)); in readBooleans() 250 public byte[] readBytes(int offset, int arrayNullability, int expectedLength) { in readBytes() argument 251 Decoder d = readPointer(offset, BindingsHelper.isArrayNullable(arrayNullability)); in readBytes() 265 public short[] readShorts(int offset, int arrayNullability, int expectedLength) { in readShorts() argument 266 Decoder d = readPointer(offset, BindingsHelper.isArrayNullable(arrayNullability)); in readShorts() 280 public int[] readInts(int offset, int arrayNullability, int expectedLength) { in readInts() argument 281 Decoder d = readPointer(offset, BindingsHelper.isArrayNullable(arrayNullability)); in readInts() 295 public float[] readFloats(int offset, int arrayNullability, int expectedLength) { in readFloats() argument 296 Decoder d = readPointer(offset, BindingsHelper.isArrayNullable(arrayNullability)); in readFloats() [all …]
|
D | Encoder.java | 229 final int arrayNullability = nullable ? in encode() local 231 encode(v.getBytes(Charset.forName("utf8")), offset, arrayNullability, in encode() 301 public void encode(boolean[] v, int offset, int arrayNullability, int expectedLength) { in encode() argument 303 encodeNullPointer(offset, BindingsHelper.isArrayNullable(arrayNullability)); in encode() 325 public void encode(byte[] v, int offset, int arrayNullability, int expectedLength) { in encode() argument 327 encodeNullPointer(offset, BindingsHelper.isArrayNullable(arrayNullability)); in encode() 340 public void encode(short[] v, int offset, int arrayNullability, int expectedLength) { in encode() argument 342 encodeNullPointer(offset, BindingsHelper.isArrayNullable(arrayNullability)); in encode() 351 public void encode(int[] v, int offset, int arrayNullability, int expectedLength) { in encode() argument 353 encodeNullPointer(offset, BindingsHelper.isArrayNullable(arrayNullability)); in encode() [all …]
|
D | BindingsHelper.java | 58 public static boolean isArrayNullable(int arrayNullability) { in isArrayNullable() argument 59 return (arrayNullability & ARRAY_NULLABLE) > 0; in isArrayNullable() 62 public static boolean isElementNullable(int arrayNullability) { in isElementNullable() argument 63 return (arrayNullability & ELEMENT_NULLABLE) > 0; in isElementNullable()
|