Home
last modified time | relevance | path

Searched refs:newarr (Results 1 – 4 of 4) sorted by relevance

/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/util/
DArrayBuildersTest.java23 String [] newarr; in testInsertInListNoDup() local
25 newarr = ArrayBuilders.insertInListNoDup(arr, "you"); in testInsertInListNoDup()
26 Assert.assertArrayEquals(new String[]{"you", "me", "him"}, newarr); in testInsertInListNoDup()
28 newarr = ArrayBuilders.insertInListNoDup(arr, "me"); in testInsertInListNoDup()
29 Assert.assertArrayEquals(new String[]{"me", "you","him"}, newarr); in testInsertInListNoDup()
31 newarr = ArrayBuilders.insertInListNoDup(arr, "him"); in testInsertInListNoDup()
32 Assert.assertArrayEquals(new String[]{"him", "me", "you"}, newarr); in testInsertInListNoDup()
34 newarr = ArrayBuilders.insertInListNoDup(arr, "foobar"); in testInsertInListNoDup()
35 Assert.assertArrayEquals(new String[]{"foobar", "me", "you", "him"}, newarr); in testInsertInListNoDup()
/external/icu/android_icu4j/src/main/java/android/icu/math/
DBigDecimal.java3370 byte newarr[]; in extend()
3373 newarr = new byte[newlen]; in extend()
3374 java.lang.System.arraycopy(inarr, 0, newarr, 0, inarr.length); in extend()
3376 return newarr; in extend()
3413 byte newarr[]; in byteaddsub()
3479 newarr = null; in byteaddsub()
3482 newarr = a; // OK to reuse A in byteaddsub()
3483 if (newarr == null) in byteaddsub()
3484 newarr = new byte[maxarr + 2]; in byteaddsub()
3485 newarr[0] = (byte) digit; // the carried digit .. in byteaddsub()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/math/
DBigDecimal.java3445 byte newarr[]; in extend()
3448 newarr = new byte[newlen]; in extend()
3449 java.lang.System.arraycopy(inarr, 0, newarr, 0, inarr.length); in extend()
3451 return newarr; in extend()
3488 byte newarr[]; in byteaddsub()
3554 newarr = null; in byteaddsub()
3557 newarr = a; // OK to reuse A in byteaddsub()
3558 if (newarr == null) in byteaddsub()
3559 newarr = new byte[maxarr + 2]; in byteaddsub()
3560 newarr[0] = (byte) digit; // the carried digit .. in byteaddsub()
[all …]
/external/llvm-project/openmp/runtime/src/
Dkmp_affinity.cpp5239 int *newarr = (int *)__kmp_allocate(sizeof(int) * nproc); in __kmp_balanced_affinity() local
5241 newarr[i] = 0; in __kmp_balanced_affinity()
5256 if (newarr[i * nth_per_core + k] == 0) { in __kmp_balanced_affinity()
5257 newarr[i * nth_per_core + k] = 1; in __kmp_balanced_affinity()
5263 newarr[i * nth_per_core + k]++; in __kmp_balanced_affinity()
5283 sum += newarr[i]; in __kmp_balanced_affinity()
5300 __kmp_free(newarr); in __kmp_balanced_affinity()