Lines Matching refs:address

222   protected final byte[] readBytes(long address, long numBytes)  in readBytes()  argument
225 return cache.getData(address, numBytes); in readBytes()
227 ReadResult res = readBytesFromProcess(address, numBytes); in readBytes()
236 protected final void writeBytes(long address, long numBytes, byte[] data) in writeBytes() argument
239 cache.clear(address, numBytes); in writeBytes()
241 writeBytesToProcess(address, numBytes, data); in writeBytes()
244 public boolean readJBoolean(long address) in readJBoolean() argument
247 utils.checkAlignment(address, jbooleanSize); in readJBoolean()
249 return (cache.getByte(address) != 0); in readJBoolean()
251 byte[] data = readBytes(address, jbooleanSize); in readJBoolean()
256 public byte readJByte(long address) in readJByte() argument
259 utils.checkAlignment(address, jbyteSize); in readJByte()
261 return cache.getByte(address); in readJByte()
263 byte[] data = readBytes(address, jbyteSize); in readJByte()
270 public char readJChar(long address) in readJChar() argument
273 utils.checkAlignment(address, jcharSize); in readJChar()
275 return cache.getChar(address, bigEndian); in readJChar()
277 byte[] data = readBytes(address, jcharSize); in readJChar()
284 public double readJDouble(long address) in readJDouble() argument
287 utils.checkAlignment(address, jdoubleSize); in readJDouble()
289 return cache.getDouble(address, bigEndian); in readJDouble()
291 byte[] data = readBytes(address, jdoubleSize); in readJDouble()
298 public float readJFloat(long address) in readJFloat() argument
301 utils.checkAlignment(address, jfloatSize); in readJFloat()
303 return cache.getFloat(address, bigEndian); in readJFloat()
305 byte[] data = readBytes(address, jfloatSize); in readJFloat()
312 public int readJInt(long address) in readJInt() argument
315 utils.checkAlignment(address, jintSize); in readJInt()
317 return cache.getInt(address, bigEndian); in readJInt()
319 byte[] data = readBytes(address, jintSize); in readJInt()
326 public long readJLong(long address) in readJLong() argument
329 utils.checkAlignment(address, jlongSize); in readJLong()
331 return cache.getLong(address, bigEndian); in readJLong()
333 byte[] data = readBytes(address, jlongSize); in readJLong()
340 public short readJShort(long address) in readJShort() argument
343 utils.checkAlignment(address, jshortSize); in readJShort()
345 return cache.getShort(address, bigEndian); in readJShort()
347 byte[] data = readBytes(address, jshortSize); in readJShort()
354 public long readCInteger(long address, long numBytes, boolean isUnsigned) in readCInteger() argument
357 utils.checkAlignment(address, numBytes); in readCInteger()
361 case 1: return cache.getByte(address) & 0xFF; in readCInteger()
362 case 2: return cache.getShort(address, bigEndian) & 0xFFFF; in readCInteger()
363 case 4: return cache.getInt(address, bigEndian) & 0xFFFFFFFFL; in readCInteger()
364 case 8: return cache.getLong(address, bigEndian); in readCInteger()
366 byte[] data = readBytes(address, numBytes); in readCInteger()
372 case 1: return cache.getByte(address); in readCInteger()
373 case 2: return cache.getShort(address, bigEndian); in readCInteger()
374 case 4: return cache.getInt(address, bigEndian); in readCInteger()
375 case 8: return cache.getLong(address, bigEndian); in readCInteger()
377 byte[] data = readBytes(address, numBytes); in readCInteger()
383 byte[] data = readBytes(address, numBytes); in readCInteger()
388 public void writeJBoolean(long address, boolean value) in writeJBoolean() argument
391 utils.checkAlignment(address, jbooleanSize); in writeJBoolean()
393 writeBytes(address, jbooleanSize, data); in writeJBoolean()
396 public void writeJByte(long address, byte value) in writeJByte() argument
399 utils.checkAlignment(address, jbyteSize); in writeJByte()
401 writeBytes(address, jbyteSize, data); in writeJByte()
404 public void writeJChar(long address, char value) in writeJChar() argument
407 utils.checkAlignment(address, jcharSize); in writeJChar()
409 writeBytes(address, jcharSize, data); in writeJChar()
412 public void writeJDouble(long address, double value) in writeJDouble() argument
415 utils.checkAlignment(address, jdoubleSize); in writeJDouble()
417 writeBytes(address, jdoubleSize, data); in writeJDouble()
420 public void writeJFloat(long address, float value) in writeJFloat() argument
423 utils.checkAlignment(address, jfloatSize); in writeJFloat()
425 writeBytes(address, jfloatSize, data); in writeJFloat()
428 public void writeJInt(long address, int value) in writeJInt() argument
431 utils.checkAlignment(address, jintSize); in writeJInt()
433 writeBytes(address, jintSize, data); in writeJInt()
436 public void writeJLong(long address, long value) in writeJLong() argument
439 utils.checkAlignment(address, jlongSize); in writeJLong()
441 writeBytes(address, jlongSize, data); in writeJLong()
444 public void writeJShort(long address, short value) in writeJShort() argument
447 utils.checkAlignment(address, jshortSize); in writeJShort()
449 writeBytes(address, jshortSize, data); in writeJShort()
452 public void writeCInteger(long address, long numBytes, long value) in writeCInteger() argument
455 utils.checkAlignment(address, numBytes); in writeCInteger()
457 writeBytes(address, numBytes, data); in writeCInteger()
460 protected long readAddressValue(long address) in readAddressValue() argument
462 return readCInteger(address, machDesc.getAddressSize(), true); in readAddressValue()
465 protected long readCompOopAddressValue(long address) in readCompOopAddressValue() argument
467 long value = readCInteger(address, getHeapOopSize(), true); in readCompOopAddressValue()
475 protected long readCompKlassAddressValue(long address) in readCompKlassAddressValue() argument
477 long value = readCInteger(address, getKlassPtrSize(), true); in readCompKlassAddressValue()
484 protected void writeAddressValue(long address, long value) in writeAddressValue() argument
486 writeCInteger(address, machDesc.getAddressSize(), value); in writeAddressValue()