mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Change word_size to wordSize
... to respect the coding style. Change-Id: Ie68422182afad2532ce9238665bb06576fc3cc18 Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
This commit is contained in:
parent
d0ef9d1d82
commit
9ed8f75f74
1 changed files with 9 additions and 9 deletions
|
@ -813,19 +813,19 @@ public class SyncUtil {
|
||||||
* @param dmc the data model context
|
* @param dmc the data model context
|
||||||
* @param address the memory block address
|
* @param address the memory block address
|
||||||
* @param offset the offset in the buffer
|
* @param offset the offset in the buffer
|
||||||
* @param word_size the size of a word, in octets
|
* @param wordSize the size of a word, in octets
|
||||||
* @param count the number of bytes to read
|
* @param count the number of bytes to read
|
||||||
* @return the memory content
|
* @return the memory content
|
||||||
* @throws InterruptedException
|
* @throws InterruptedException
|
||||||
* @throws ExecutionException
|
* @throws ExecutionException
|
||||||
*/
|
*/
|
||||||
public static MemoryByte[] readMemory(final IMemoryDMContext dmc,
|
public static MemoryByte[] readMemory(final IMemoryDMContext dmc,
|
||||||
final IAddress address, final long offset, final int word_size,
|
final IAddress address, final long offset, final int wordSize,
|
||||||
final int count) throws InterruptedException, ExecutionException {
|
final int count) throws InterruptedException, ExecutionException {
|
||||||
Query<MemoryByte[]> query = new Query<MemoryByte[]>() {
|
Query<MemoryByte[]> query = new Query<MemoryByte[]>() {
|
||||||
@Override
|
@Override
|
||||||
protected void execute(DataRequestMonitor<MemoryByte[]> rm) {
|
protected void execute(DataRequestMonitor<MemoryByte[]> rm) {
|
||||||
fMemory.getMemory(dmc, address, offset, word_size, count, rm);
|
fMemory.getMemory(dmc, address, offset, wordSize, count, rm);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -840,20 +840,20 @@ public class SyncUtil {
|
||||||
* @param dmc the data model context
|
* @param dmc the data model context
|
||||||
* @param address the memory block address (could be an expression)
|
* @param address the memory block address (could be an expression)
|
||||||
* @param offset the offset from address
|
* @param offset the offset from address
|
||||||
* @param word_size the word size, in octets
|
* @param wordSize the word size, in octets
|
||||||
* @param count the number of bytes to write
|
* @param count the number of bytes to write
|
||||||
* @param buffer the byte buffer to write from
|
* @param buffer the byte buffer to write from
|
||||||
* @throws InterruptedException
|
* @throws InterruptedException
|
||||||
* @throws ExecutionException
|
* @throws ExecutionException
|
||||||
*/
|
*/
|
||||||
public static void writeMemory(final IMemoryDMContext dmc,
|
public static void writeMemory(final IMemoryDMContext dmc,
|
||||||
final IAddress address, final long offset, final int word_size,
|
final IAddress address, final long offset, final int wordSize,
|
||||||
final int count, final byte[] buffer) throws InterruptedException,
|
final int count, final byte[] buffer) throws InterruptedException,
|
||||||
ExecutionException {
|
ExecutionException {
|
||||||
Query<Void> query = new Query<Void>() {
|
Query<Void> query = new Query<Void>() {
|
||||||
@Override
|
@Override
|
||||||
protected void execute(DataRequestMonitor<Void> rm) {
|
protected void execute(DataRequestMonitor<Void> rm) {
|
||||||
fMemory.setMemory(dmc, address, offset, word_size, count,
|
fMemory.setMemory(dmc, address, offset, wordSize, count,
|
||||||
buffer, rm);
|
buffer, rm);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -869,20 +869,20 @@ public class SyncUtil {
|
||||||
* @param dmc the data model context
|
* @param dmc the data model context
|
||||||
* @param address the memory block address (could be an expression)
|
* @param address the memory block address (could be an expression)
|
||||||
* @param offset the offset from address
|
* @param offset the offset from address
|
||||||
* @param word_size the word size, in octets
|
* @param wordSize the word size, in octets
|
||||||
* @param count the number of bytes to write
|
* @param count the number of bytes to write
|
||||||
* @param pattern the pattern to write
|
* @param pattern the pattern to write
|
||||||
* @throws InterruptedException
|
* @throws InterruptedException
|
||||||
* @throws ExecutionException
|
* @throws ExecutionException
|
||||||
*/
|
*/
|
||||||
public static void fillMemory(final IMemoryDMContext dmc,
|
public static void fillMemory(final IMemoryDMContext dmc,
|
||||||
final IAddress address, final long offset, final int word_size,
|
final IAddress address, final long offset, final int wordSize,
|
||||||
final int count, final byte[] pattern) throws InterruptedException,
|
final int count, final byte[] pattern) throws InterruptedException,
|
||||||
ExecutionException {
|
ExecutionException {
|
||||||
Query<Void> query = new Query<Void>() {
|
Query<Void> query = new Query<Void>() {
|
||||||
@Override
|
@Override
|
||||||
protected void execute(DataRequestMonitor<Void> rm) {
|
protected void execute(DataRequestMonitor<Void> rm) {
|
||||||
fMemory.fillMemory(dmc, address, offset, word_size, count,
|
fMemory.fillMemory(dmc, address, offset, wordSize, count,
|
||||||
pattern, rm);
|
pattern, rm);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue