OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:inArray
(Results
1 - 6
of
6
) sorted by null
/cts/tests/tests/renderscript/src/android/renderscript/cts/
AllocationCopy2DRangeTest.java
36
int[]
inArray
= new int[width * height];
40
inArray
[i] = random.nextInt();
48
mInAllocation.copy2DRangeFrom(0, 0, width, height,
inArray
);
58
compareTwoArrays(
inArray
, outArray, width*height));
AllocationResize.java
45
int[]
inArray
= new int[INPUTSIZE];
47
inArray
[i] = random.nextInt();
49
mIn.copy1DRangeFrom(0, INPUTSIZE,
inArray
);
58
assertEquals("Incorrect value @ idx = " + i + " | ",
inArray
[i], outArray[i]);
SendToClient.java
52
int[]
inArray
= new int[4];
54
inArray
[i] = random.nextInt(1000);
57
mInAllocation.copyFrom(
inArray
);
68
for (int i=0; i<
inArray
.length; i++) {
69
assertEquals(createErrorMsgF(i,
inArray
[i], outArray[i]),
70
inArray
[i], outArray[i]);
RsPackColorTo8888Test.java
72
float[]
inArray
= new float[INPUTSIZE * 4];
75
RSUtils.genRandom(seed, 1, 0,
inArray
, 4, 1);
76
mAllocationIn.copy1DRangeFrom(0, INPUTSIZE,
inArray
);
84
Float3 inValues = new Float3(
inArray
[offset],
inArray
[offset + 1],
inArray
[offset + 2]);
99
float[]
inArray
= new float[INPUTSIZE * 4];
102
RSUtils.genRandom(seed, 1, 0,
inArray
);
103
mAllocationIn.copy1DRangeFrom(0, INPUTSIZE,
inArray
);
111
Float4 inValues = new Float4(
inArray
[offset],inArray[offset + 1],inArray[offset + 2],inArray[offset + 3])
[
all
...]
RSBaseCompute.java
91
float[]
inArray
= makeInArray(INPUTSIZE * inStride);
92
fillRandom(seed, fact, offset,
inArray
, rStride, rSkip);
93
float[] refArray = getRefArray(
inArray
, INPUTSIZE, inStride, skip);
96
fillInAlloc(mAllocationIn,
inArray
);
156
protected float[] getRefArray(float[]
inArray
, int size, int stride, int skip) {
176
protected void fillRandom(long seed, int fact, int offset, float[]
inArray
, int rStride, int rSkip) {
177
RSUtils.genRandom(seed, fact, offset,
inArray
, rStride, rSkip);
180
protected void fillInAlloc(Allocation mIn, float[]
inArray
) {
181
mIn.copy1DRangeFromUnchecked(0, INPUTSIZE,
inArray
);
/libcore/luni/src/test/java/libcore/java/nio/charset/
OldCharsetEncoderDecoderBufferTest.java
73
byte[]
inArray
= {(byte)'a', (byte)'b'};
74
ByteBuffer inWithArray = ByteBuffer.wrap(
inArray
);
77
assertEquals('a',
inArray
[0]);
78
assertEquals('b',
inArray
[1]);
86
assertEquals('a',
inArray
[0]);
87
assertEquals('b',
inArray
[1]);
131
char[]
inArray
= {'a', 'b'};
132
CharBuffer inWithArray = CharBuffer.wrap(
inArray
);
136
assertEquals('a',
inArray
[0]);
137
assertEquals('b',
inArray
[1])
[
all
...]
Completed in 103 milliseconds