Searched defs:offset (Results 226 - 250 of 693) sorted by relevance

1234567891011>>

/frameworks/base/libs/common_time/
H A Dcommon_time_server_packets.cpp42 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 DProgram.cpp154 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 Dhid.c52 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 DMidiInputPort.java76 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 Dandroid_media_MediaHTTPConnection.cpp135 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 DSimpleFrame.java110 public void setData(ByteBuffer buffer, int offset, int length) { argument
112 setGenericObjectValue(ByteBuffer.wrap(buffer.array(), offset, length));
H A DVertexFrame.java88 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 DBluetoothMidiDevice.java290 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 DPageRangeUtils.java323 * @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 DByte2.java380 * @param offset
382 public void copyTo(byte[] data, int offset) { argument
383 data[offset] = x;
384 data[offset + 1] = y;
H A DByte3.java412 * @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 DByte4.java443 * @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 DDouble4.java442 * @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 DFloat4.java442 * @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 DInt2.java434 * @param offset
436 public void copyTo(int[] data, int offset) { argument
437 data[offset] = (int)(x);
438 data[offset + 1] = (int)(y);
H A DInt3.java470 * @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 DInt4.java506 * @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 DLong2.java434 * @param offset
436 public void copyTo(long[] data, int offset) { argument
437 data[offset] = (long)(x);
438 data[offset + 1] = (long)(y);
H A DLong3.java470 * @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 DLong4.java506 * @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 DProgramVertexFixedFunction.java243 private void addToBuffer(int offset, Matrix4f m) { argument
244 mIOBuffer.reset(offset);
H A DShort2.java437 * @param offset
439 public void copyTo(short[] data, int offset) { argument
440 data[offset] = (short)(x);
441 data[offset + 1] = (short)(y);
H A DShort3.java470 * @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 DShort4.java506 * @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 DHdmiMhlControllerStub.java98 void sendVendorCommand(int portId, int offset, int length, byte[] data) { argument

Completed in 3669 milliseconds

1234567891011>>