Home
last modified time | relevance | path

Searched refs:intArray (Results 1 – 22 of 22) sorted by relevance

/external/antlr/runtime/ObjC/Framework/test/runtime/misc/
DIntArrayTest.m16 IntArray *intArray = [IntArray newArrayWithLen:10];
17 [intArray addInteger:1];
18 STAssertTrue([intArray count] == 1, @"Int array should be of size 1");
19 STAssertTrue([intArray integerAtIndex:0] == 1, @"First item in int array should be 1");
20 [intArray release];
25 IntArray *intArray = [IntArray newArrayWithLen:10];
28 [intArray push:i + 1];
30 NSInteger popped = [intArray pop];
33 [intArray release];
38 IntArray *intArray = [IntArray newArrayWithLen:10];
[all …]
/external/apache-harmony/beans/src/test/support/java/org/apache/harmony/beans/tests/support/
DSerializableBean.java32 private int[] intArray; field in SerializableBean
64 return intArray; in getIntArray()
67 public void setIntArray(int[] intArray) { in setIntArray() argument
68 this.intArray = intArray; in setIntArray()
/external/llvm-project/flang/test/Semantics/
Dresolve94.f9013 integer, dimension(4) :: intArray local
27 rVar1 = rCoarray[1,intArray,3]
37 rVar1 = rCoarray[1,2,3,STAT=intArray(2)]
41 rVar1 = rCoarray[1,2,3,STAT=intArray]
56 rVar1 = rCoarray[1,2,3,TEAM_NUMBER=intArray]
/external/oboe/samples/MegaDrone/src/main/cpp/
Dnative-lib.cpp24 std::vector<int> convertJavaArrayToVector(JNIEnv *env, jintArray intArray) { in convertJavaArrayToVector() argument
26 jsize length = env->GetArrayLength(intArray); in convertJavaArrayToVector()
28 jint *elements = env->GetIntArrayElements(intArray, nullptr); in convertJavaArrayToVector()
31 env->ReleaseIntArrayElements(intArray, elements, 0); in convertJavaArrayToVector()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ArrayReference/
DArrayReferenceDebuggee.java38 static int[] intArray = new int[10]; field in ArrayReferenceDebuggee
53 for (int i=0; i<intArray.length; i++) {
54 intArray[i] = i;
/external/slf4j/slf4j-api/src/test/java/org/slf4j/helpers/
DBogoPerf.java86 int[] intArray = new int[len]; in bogoInstruction() local
88 intArray[i] = myRandom.nextInt(); in bogoInstruction()
91 BubbleSort.sort(intArray); in bogoInstruction()
/external/dagger2/javatests/dagger/functional/
DInjectedThing.java65 @Inject int[] intArray; field in InjectedThing
135 int[] intArray, in InjectedThing()
204 @Inject void intArray(int[] intArray) {} in intArray() method in InjectedThing
/external/llvm-project/mlir/test/lib/Dialect/Test/
DTestTypes.cpp82 auto intArray = getArrayOfInts(); in print() local
83 llvm::interleaveComma(intArray, printer); in print()
/external/llvm/unittests/DebugInfo/PDB/
DMappedBlockStreamTest.cpp323 ArrayRef<uint32_t> intArray[] = {{890723408, 29082234}, {0, 0}}; in TEST() local
383 EXPECT_NO_ERROR(Writer.writeArray(intArray[0])); in TEST()
384 EXPECT_NO_ERROR(Reader.readArray(intArray[1], intArray[0].size())); in TEST()
385 EXPECT_EQ(intArray[0], intArray[1]); in TEST()
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DTestUtil.java159 public static byte[] createByteArray(int... intArray) { in createByteArray() argument
160 byte[] byteArray = new byte[intArray.length]; in createByteArray()
162 Assertions.checkState(0x00 <= intArray[i] && intArray[i] <= 0xFF); in createByteArray()
163 byteArray[i] = (byte) intArray[i]; in createByteArray()
/external/caliper/examples/src/main/java/examples/
DCopyArrayBenchmark.java251 int[] intArray; field in CopyArrayBenchmark
262 intArray = new int[size]; in setUp()
275 intArray[i] = num; in setUp()
332 dummy += System.identityHashCode(strategy.copy(intArray)); in ints()
/external/parameter-framework/upstream/test/functional-tests/
DHandle.cpp645 ElementHandle intArray(*this, "/test/test/parameter_block/integer_array"); variable
649 CHECK_THROWS(intArray.setAsSignedInteger(0));
655 CHECK_NOTHROW(intArray.setAsSignedIntegerArray(expected));
658 CHECK_NOTHROW(intArray.getAsSignedIntegerArray(back));
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/
DLanguageTestFmwk.java601 int[] intArray; in FileTestData() field in FileTestData.Wrapup
618 intArray = new int[list.size()]; in FileTestData()
619 for (int i = 0, e = intArray.length; i < e; ++i) { in FileTestData()
620 intArray[i] = Integer.parseInt((String) list.get(i)); in FileTestData()
634 FileTestData.this.fullPluralizedFormCounts = intArray; in FileTestData()
652 FileTestData.this.halfUnitCounts = intArray; in FileTestData()
/external/llvm-project/llvm/unittests/DebugInfo/MSF/
DMappedBlockStreamTest.cpp334 ArrayRef<uint32_t> intArray[] = {intArr0, intArr1}; in TEST() local
396 EXPECT_THAT_ERROR(Writer.writeArray(intArray[0]), Succeeded()); in TEST()
397 EXPECT_THAT_ERROR(Reader.readArray(intArray[1], intArray[0].size()), in TEST()
399 EXPECT_EQ(intArray[0], intArray[1]); in TEST()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/
DLanguageTestFmwk.java602 int[] intArray; in FileTestData() field in FileTestData.Wrapup
619 intArray = new int[list.size()]; in FileTestData()
620 for (int i = 0, e = intArray.length; i < e; ++i) { in FileTestData()
621 intArray[i] = Integer.parseInt((String) list.get(i)); in FileTestData()
635 FileTestData.this.fullPluralizedFormCounts = intArray; in FileTestData()
653 FileTestData.this.halfUnitCounts = intArray; in FileTestData()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/jdk/
DCollectionDeserTest.java162 int[] intArray = mapper.readValue("-7", int[].class); in testImplicitArrays() local
163 assertEquals(1, intArray.length); in testImplicitArrays()
164 assertEquals(-7, intArray[0]); in testImplicitArrays()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DBluetoothConnectionFacade.java370 List<Integer> intArray = new ArrayList<Integer>(); in jsonArrayToIntegerList() local
372 intArray.add(jsonArray.getInt(i)); in jsonArrayToIntegerList()
374 return intArray; in jsonArrayToIntegerList()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DMessageSchema.java154 private final int[] intArray; field in MessageSchema
182 int[] intArray, in MessageSchema() argument
200 this.intArray = intArray; in MessageSchema()
285 final int[] intArray; in newSchemaForRawMessageInfo() local
296 intArray = EMPTY_INT_ARRAY; in newSchemaForRawMessageInfo()
394 intArray = new int[checkInitialized + mapFieldCount + repeatedFieldCount]; in newSchemaForRawMessageInfo()
441 intArray[checkInitializedPosition++] = bufferIndex; in newSchemaForRawMessageInfo()
515 intArray[mapFieldIndex++] = bufferIndex; in newSchemaForRawMessageInfo()
556 intArray[repeatedFieldIndex++] = fieldOffset; in newSchemaForRawMessageInfo()
577 intArray, in newSchemaForRawMessageInfo()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowBundleTest.java189 public void intArray() { in intArray() method in ShadowBundleTest
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/util/
DUtil.java1230 int[] intArray = new int[length]; in toArray() local
1232 intArray[i] = list.get(i); in toArray()
1234 return intArray; in toArray()
/external/cpuinfo/test/dmesg/
Dpixel-xl.log2443 …: [1142:E :HDD] hdd_hex_string_to_u16_array: 6277: str ffffffc06a8be92d intArray ffffffc0e04c397a …
2445 …: [1142:E :HDD] hdd_hex_string_to_u16_array: 6277: str ffffffc06a8be92d intArray ffffffc0e04c397a …
Dnexus5x.log1716 [ 21.050006] wlan: [878:E :HDD] hdd_hex_string_to_u16_array: 6224: str ffffffc05822592d intArray