Lines Matching refs:unsafe

44     private static final Unsafe unsafe = XlibWrapper.unsafe;
130 byte byteOrderByte = unsafe.getByte(data);
133 int tproxy = unsafe.getInt(data + 4);
150 unsafe.putInt(data + 4, tproxy);
153 data = unsafe.allocateMemory(dataSize);
155 unsafe.putByte(data, MotifDnDConstants.getByteOrderByte()); /* byte order */
156 unsafe.putByte(data + 1, MotifDnDConstants.MOTIF_DND_PROTOCOL_VERSION); /* protocol version */
157 unsafe.putByte(data + 2, (byte)MotifDnDConstants.MOTIF_DYNAMIC_STYLE); /* protocol style */
158 unsafe.putByte(data + 3, (byte)0); /* pad */
159 unsafe.putInt(data + 4, (int)newProxy); /* proxy window */
160 unsafe.putShort(data + 8, (short)0); /* num_drop_sites */
161 unsafe.putShort(data + 10, (short)0); /* pad */
162 unsafe.putInt(data + 12, dataSize);
179 unsafe.freeMemory(data);
230 byte byteOrderByte = unsafe.getByte(data);
237 unsafe.putInt(data + 4, tproxy);
303 byte byteOrderByte = unsafe.getByte(data);
306 int tproxy = unsafe.getInt(data + 4);
363 byte eventByteOrder = unsafe.getByte(data + 1);
388 byte propertyByteOrder = unsafe.getByte(data);
390 protocol_version = unsafe.getByte(data + 1);
460 byte eventByteOrder = unsafe.getByte(data + 1);
461 byte eventReason = (byte)(unsafe.getByte(data) &
483 unsafe.putInt(data + 12, win);
559 byte eventByteOrder = unsafe.getByte(data + 1);
614 byte eventByteOrder = unsafe.getByte(data + 1);
688 byte reason = (byte)(unsafe.getByte(data) &
718 byte reason = (byte)(unsafe.getByte(data) &
720 byte origin = (byte)(unsafe.getByte(data) &
782 byte reason = (byte)(unsafe.getByte(data) &
784 byte origin = (byte)(unsafe.getByte(data) &
786 byte eventByteOrder = unsafe.getByte(data + 1);
831 unsafe.putByte(responseData, (byte)(response_reason |
833 unsafe.putByte(responseData + 1, MotifDnDConstants.getByteOrderByte());
858 unsafe.putShort(responseData + 2, (short)response_flags);
862 unsafe.putInt(responseData + 4, time);
870 unsafe.putShort(responseData + 8, x); // x
871 unsafe.putShort(responseData + 10, y); // y
873 unsafe.putShort(responseData + 8, (short)0); // x
874 unsafe.putShort(responseData + 10, (short)0); // y
903 byte reason = (byte)(unsafe.getByte(data) &
905 byte origin = (byte)(unsafe.getByte(data) &
907 byte eventByteOrder = unsafe.getByte(data + 1);
953 byte reason = (byte)(unsafe.getByte(data) &
955 byte origin = (byte)(unsafe.getByte(data) &
957 byte eventByteOrder = unsafe.getByte(data + 1);
1065 nativeCtxt = unsafe.allocateMemory(size + 4 * Native.getLongSize());
1067 unsafe.copyMemory(xclient.pData, nativeCtxt, size);