/frameworks/base/libs/common_time/ |
H A D | common_time_server_packets.cpp | 42 if ((offset + sizeof(field_name)) > length) \ 44 *((type*)(data + offset)) = converter(field_name); \ 45 offset += sizeof(field_name); \ 53 if ((offset + sizeof(field_name)) > length) \ 55 (field_name) = converter(*((type*)(data + offset))); \ 56 offset += sizeof(field_name); \ 80 ssize_t offset = 0; local 87 return offset; 92 ssize_t offset = 0; local 100 return offset; 186 ssize_t offset = serializeHeader(data, length); local 196 ssize_t offset = deserializeHeader(data, length); local 208 ssize_t offset = serializeHeader(data, length); local 218 ssize_t offset = deserializeHeader(data, length); local 230 ssize_t offset = serializeHeader(data, length); local 239 ssize_t offset = deserializeHeader(data, length); local 248 ssize_t offset = serializeHeader(data, length); local 260 ssize_t offset = deserializeHeader(data, length); local 272 ssize_t offset = serializeHeader(data, length); local 282 ssize_t offset = deserializeHeader(data, length); local [all...] |
/frameworks/base/libs/hwui/ |
H A D | Program.cpp | 154 const mat4& transformMatrix, bool offset) { 155 if (projectionMatrix != mProjection || offset != mOffset) { 156 if (CC_LIKELY(!offset)) { 160 // offset screenspace xy by an amount that compensates for typical precision 163 // This offset value is based on an assumption that some hardware may use as 164 // little as 12.4 precision, so we offset by slightly more than 1/16. 169 mOffset = offset; 153 set(const mat4& projectionMatrix, const mat4& modelViewMatrix, const mat4& transformMatrix, bool offset) argument
|
/frameworks/base/libs/usb/tests/accessorytest/ |
H A D | hid.c | 52 int id, ret, offset; local 94 for (offset = 0; offset < desc_length; ) { 95 int count = desc_length - offset; 98 fprintf(stderr, "sending ACCESSORY_SET_HID_REPORT_DESC offset: %d count: %d desc_length: %d\n", 99 offset, count, desc_length); 101 ACCESSORY_SET_HID_REPORT_DESC, id, offset, &desc.value[offset], count, 1000); 103 offset += count;
|
/frameworks/base/media/java/android/media/midi/ |
H A D | MidiInputPort.java | 76 public void onSend(byte[] msg, int offset, int count, long timestamp) throws IOException { argument 77 if (offset < 0 || count < 0 || offset + count > msg.length) { 78 throw new IllegalArgumentException("offset or count out of range"); 88 int length = MidiPortImpl.packData(msg, offset, count, timestamp, mBuffer);
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaHTTPConnection.cpp | 135 JNIEnv *env, jobject thiz, jlong offset, jint size) { 144 thiz, gFields.readAtMethodID, offset, byteArrayObj, size); 134 android_media_MediaHTTPConnection_native_readAt( JNIEnv *env, jobject thiz, jlong offset, jint size) argument
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | SimpleFrame.java | 110 public void setData(ByteBuffer buffer, int offset, int length) { argument 112 setGenericObjectValue(ByteBuffer.wrap(buffer.array(), offset, length));
|
H A D | VertexFrame.java | 88 public void setData(ByteBuffer buffer, int offset, int length) { argument 93 } else if (!setNativeData(bytes, offset, length)) { 136 private native boolean setNativeData(byte[] data, int offset, int length); argument
|
/frameworks/base/media/packages/BluetoothMidiService/src/com/android/bluetoothmidiservice/ |
H A D | BluetoothMidiDevice.java | 290 private static void logByteArray(String prefix, byte[] value, int offset, int count) { argument 292 for (int i = offset; i < count; i++) {
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/ |
H A D | PageRangeUtils.java | 323 * @param pageRanges The page ranges to offset. 324 * @param offset The offset value. 326 public static void offset(PageRange[] pageRanges, int offset) { argument 327 if (offset == 0) { 332 final int start = pageRanges[i].getStart() + offset; 333 final int end = pageRanges[i].getEnd() + offset; 425 // Hence, we have to offset appropriately the printed pages to 428 final int offset [all...] |
/frameworks/base/rs/java/android/renderscript/ |
H A D | Byte2.java | 380 * @param offset 382 public void copyTo(byte[] data, int offset) { argument 383 data[offset] = x; 384 data[offset + 1] = y;
|
H A D | Byte3.java | 412 * @param offset 414 public void copyTo(byte[] data, int offset) { argument 415 data[offset] = x; 416 data[offset + 1] = y; 417 data[offset + 2] = z;
|
H A D | Byte4.java | 443 * @param offset 445 public void copyTo(byte[] data, int offset) { argument 446 data[offset] = x; 447 data[offset + 1] = y; 448 data[offset + 2] = z; 449 data[offset + 3] = w;
|
H A D | Double4.java | 442 * @param offset 444 public void copyTo(double[] data, int offset) { argument 445 data[offset] = x; 446 data[offset + 1] = y; 447 data[offset + 2] = z; 448 data[offset + 3] = w;
|
H A D | Float4.java | 442 * @param offset 444 public void copyTo(float[] data, int offset) { argument 445 data[offset] = x; 446 data[offset + 1] = y; 447 data[offset + 2] = z; 448 data[offset + 3] = w;
|
H A D | Int2.java | 434 * @param offset 436 public void copyTo(int[] data, int offset) { argument 437 data[offset] = (int)(x); 438 data[offset + 1] = (int)(y);
|
H A D | Int3.java | 470 * @param offset 472 public void copyTo(int[] data, int offset) { argument 473 data[offset] = (int)(x); 474 data[offset + 1] = (int)(y); 475 data[offset + 2] = (int)(z);
|
H A D | Int4.java | 506 * @param offset 508 public void copyTo(int[] data, int offset) { argument 509 data[offset] = (int)(x); 510 data[offset + 1] = (int)(y); 511 data[offset + 2] = (int)(z); 512 data[offset + 3] = (int)(w);
|
H A D | Long2.java | 434 * @param offset 436 public void copyTo(long[] data, int offset) { argument 437 data[offset] = (long)(x); 438 data[offset + 1] = (long)(y);
|
H A D | Long3.java | 470 * @param offset 472 public void copyTo(long[] data, int offset) { argument 473 data[offset] = (long)(x); 474 data[offset + 1] = (long)(y); 475 data[offset + 2] = (long)(z);
|
H A D | Long4.java | 506 * @param offset 508 public void copyTo(long[] data, int offset) { argument 509 data[offset] = (long)(x); 510 data[offset + 1] = (long)(y); 511 data[offset + 2] = (long)(z); 512 data[offset + 3] = (long)(w);
|
H A D | ProgramVertexFixedFunction.java | 243 private void addToBuffer(int offset, Matrix4f m) { argument 244 mIOBuffer.reset(offset);
|
H A D | Short2.java | 437 * @param offset 439 public void copyTo(short[] data, int offset) { argument 440 data[offset] = (short)(x); 441 data[offset + 1] = (short)(y);
|
H A D | Short3.java | 470 * @param offset 472 public void copyTo(short[] data, int offset) { argument 473 data[offset] = (short)(x); 474 data[offset + 1] = (short)(y); 475 data[offset + 2] = (short)(z);
|
H A D | Short4.java | 506 * @param offset 508 public void copyTo(short[] data, int offset) { argument 509 data[offset] = (short)(x); 510 data[offset + 1] = (short)(y); 511 data[offset + 2] = (short)(z); 512 data[offset + 3] = (short)(w);
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | HdmiMhlControllerStub.java | 98 void sendVendorCommand(int portId, int offset, int length, byte[] data) { argument
|