Lines Matching defs:data

130                 long data = wpg.getData();
132 motifWindow = Native.getLong(data);
188 long data = Native.allocateLongArray(1);
191 Native.putLong(data, motifWindow);
199 data, 1);
210 unsafe.freeMemory(data);
246 public static short getShort(long data, byte order) {
247 short s = unsafe.getShort(data);
254 public static int getInt(long data, byte order) {
255 int i = unsafe.getInt(data);
292 long data = wpg.getData();
294 if (unsafe.getByte(data + 1) != MOTIF_DND_PROTOCOL_VERSION) {
298 boolean swapNeeded = unsafe.getByte(data + 0) != getByteOrderByte();
300 short numTargetLists = unsafe.getShort(data + 2);
313 long bufptr = data + 8;
360 long data = unsafe.allocateMemory(tableSize);
364 unsafe.putByte(data + 0, getByteOrderByte());
366 unsafe.putByte(data + 1, MOTIF_DND_PROTOCOL_VERSION);
368 unsafe.putShort(data + 2, (short)table.length);
370 unsafe.putInt(data + 4, tableSize);
372 long bufptr = data + 8;
403 data, tableSize);
419 data, tableSize);
429 unsafe.freeMemory(data);
558 long data = unsafe.allocateMemory(dataSize);
561 unsafe.putByte(data, MotifDnDConstants.getByteOrderByte()); /* byte order */
562 unsafe.putByte(data + 1, MotifDnDConstants.MOTIF_DND_PROTOCOL_VERSION); /* protocol version */
563 unsafe.putByte(data + 2, (byte)MotifDnDConstants.MOTIF_DYNAMIC_STYLE); /* protocol style */
564 unsafe.putByte(data + 3, (byte)0); /* pad */
565 unsafe.putInt(data + 4, (int)window); /* proxy window */
566 unsafe.putShort(data + 8, (short)0); /* num_drop_sites */
567 unsafe.putShort(data + 10, (short)0); /* pad */
568 unsafe.putInt(data + 12, dataSize);
575 data, dataSize);
583 unsafe.freeMemory(data);