|   /frameworks/base/core/java/android/hardware/camera2/utils/ | 
| HashCodeHelpers.java  | 29      * @param array a non-{@code null} array of integers 33     public static int hashCode(int... array) { 34         if (array == null) { 46         for (int x : array) { 59      * @param array a non-{@code null} array of floats 63     public static int hashCode(float... array) { 64         if (array == null) { 69         for (float f : array) {     [all...] | 
|   /art/test/472-type-propagation/src/ | 
| Main.java  | 23   public static void ssaBuilderDouble(double[] array) { 25     if (array.length > 3) { 26       x = array[0]; 28       x = array[1]; 30     array[2] = x;
  | 
|   /external/eigen/doc/snippets/ | 
| Tutorial_Map_rowmajor.cpp  | 1 int array[8];  variable  2 for(int i = 0; i < 8; ++i) array[i] = i; 3 cout << "Column-major:\n" << Map<Matrix<int,2,4> >(array) << endl; 4 cout << "Row-major:\n" << Map<Matrix<int,2,4,RowMajor> >(array) << endl; 6   Map<Matrix<int,2,4>, Unaligned, Stride<1,4> >(array) << endl;
  | 
| Map_general_stride.cpp  | 1 int array[24];  variable  2 for(int i = 0; i < 24; ++i) array[i] = i; 4          (array, 3, 3, Stride<Dynamic,2>(8, 2))
  | 
| MatrixBase_array_const.cpp  | 2 cout << "the absolute values:" << endl << v.array().abs() << endl; 3 cout << "the absolute values plus one:" << endl << v.array().abs()+1 << endl; 4 cout << "sum of the squares: " << v.array().square().sum() << endl;
  | 
| MatrixBase_all.cpp  | 5      << ((boxMin.array()<p0.array()).all() && (boxMax.array()>p0.array()).all()) << endl; 7      << ((boxMin.array()<p1.array()).all() && (boxMax.array()>p1.array()).all()) << endl;
  | 
|   /frameworks/support/core/ktx/src/androidTest/java/androidx/core/util/ | 
| SparseBooleanArrayTest.kt  | 29         val array = SparseBooleanArray() 30         assertEquals(0, array.size) 31         array.put(1, true) 32         assertEquals(1, array.size) 36         val array = SparseBooleanArray() 37         assertFalse(1 in array) 38         array.put(1, true) 39         assertTrue(1 in array) 43         val array = SparseBooleanArray() 45         array.put(1, true     [all...] | 
| SparseIntArrayTest.kt  | 29         val array = SparseIntArray() 30         assertEquals(0, array.size) 31         array.put(1, 11) 32         assertEquals(1, array.size) 36         val array = SparseIntArray() 37         assertFalse(1 in array) 38         array.put(1, 11) 39         assertTrue(1 in array) 43         val array = SparseIntArray() 45         array.put(1, 11     [all...] | 
| SparseLongArrayTest.kt  | 31         val array = SparseLongArray() 32         assertEquals(0, array.size) 33         array.put(1, 11L) 34         assertEquals(1, array.size) 38         val array = SparseLongArray() 39         assertFalse(1 in array) 40         array.put(1, 11L) 41         assertTrue(1 in array) 45         val array = SparseLongArray() 47         array.put(1, 11L     [all...] | 
| SparseArrayTest.kt  | 30         val array = SparseArray<String>() 31         assertEquals(0, array.size) 32         array.put(1, "one") 33         assertEquals(1, array.size) 37         val array = SparseArray<String>() 38         assertFalse(1 in array) 39         array.put(1, "one") 40         assertTrue(1 in array) 44         val array = SparseArray<String>() 46         array.put(1, "one"     [all...] | 
|   /frameworks/base/core/java/com/android/internal/util/ | 
| GrowingArrayUtils.java  | 21  * arrays. Common array operations are implemented for efficient use in dynamic containers. 23  * All methods in this class assume that the length of an array is equivalent to its capacity and 24  * NOT the number of elements in the array. The current size of the array is always passed in as a 32      * Appends an element to the end of the array, growing the array if there is no more room. 33      * @param array The array to which to append the element. This must NOT be null. 34      * @param currentSize The number of elements in the array. Must be less than or equal to 35      *                    array.length     [all...] | 
|   /art/test/642-fp-callees/ | 
| fp_callees.cc  | 24 // Make the array volatile, which is apparently making the C compiler 26 volatile double array[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0 };  member in namespace:art  32   double a = array[0]; 33   double b = array[1]; 34   double c = array[2]; 35   double d = array[3]; 36   double e = array[4]; 37   double f = array[5]; 38   double g = array[6]; 39   double h = array[7]     [all...] | 
|   /frameworks/support/collection/ktx/src/test/java/androidx/collection/ | 
| LongSparseArrayTest.kt  | 29         val array = LongSparseArray<String>() 30         assertEquals(0, array.size) 31         array.put(1L, "one") 32         assertEquals(1, array.size) 36         val array = LongSparseArray<String>() 37         assertFalse(1L in array) 38         array.put(1L, "one") 39         assertTrue(1L in array) 43         val array = LongSparseArray<String>() 45         array.put(1L, "one"     [all...] | 
|   /art/test/532-checker-nonnull-arrayset/src/ | 
| Main.java  | 32     Object[] array = sArray;  local  33     Object nonNull = array[0]; 35     array[1] = nonNull;
  | 
|   /external/compiler-rt/test/asan/TestCases/ | 
| stack-frame-demangle.cc  | 8     char array[10];  local  9     memset(array, 0, 10); 10     return array[x];  // BOOOM
  | 
|   /external/webrtc/webrtc/base/ | 
| arraysize.h  | 19 // The arraysize(arr) macro returns the # of elements in an array arr. 27 template <typename T, size_t N> char (&ArraySizeHelper(T (&array)[N]))[N]; 29 #define arraysize(array) (sizeof(ArraySizeHelper(array)))
  | 
|   /libcore/json/src/test/java/libcore/org/json/ | 
| JSONArrayTest.java  | 36         JSONArray array = new JSONArray();  local  37         assertEquals(0, array.length()); 38         assertEquals("", array.join(" AND ")); 40             array.get(0); 45             array.getBoolean(0); 50         assertEquals("[]", array.toString()); 51         assertEquals("[]", array.toString(4)); 54         assertTrue(array.isNull(0)); 55         assertNull(array.opt(0)); 56         assertFalse(array.optBoolean(0)) 82  JSONArray array = new JSONArray();  local  132  JSONArray array = new JSONArray();  local  144  JSONArray array = new JSONArray();  local  186  JSONArray array = new JSONArray("[\\"null\\",null]");  local  205  JSONArray array = new JSONArray();  local  251  JSONArray array = new JSONArray();  local  304  JSONArray array = new JSONArray();  local  320  JSONArray array = new JSONArray(Arrays.asList(5, 6));  local  325  JSONArray array = new JSONArray(Arrays.asList(5, 6));  local  396  JSONArray array = new JSONArray();  local  416  JSONArray array = new JSONArray();  local  428  JSONArray array = new JSONArray(Arrays.asList(5.5, Double.NaN));  local  436  JSONArray array = new JSONArray(Arrays.asList(5.5, Double.NaN));  local  442  JSONArray array = new JSONArray(contents);  local  512  JSONArray array = new JSONArray(Arrays.asList(5.5, true));  local  520  JSONArray array = new JSONArray();  local      [all...] | 
|   /external/clang/test/CodeGenCXX/ | 
| microsoft-abi-array-cookies.cpp  | 11   ClassWithoutDtor *array = new ClassWithoutDtor[42];  local  14   delete [] array; 26   ClassWithDtor *array = new ClassWithDtor[42];  local  31 // CHECK: [[ARRAY:%.*]] = getelementptr inbounds i8, i8* [[ALLOCATED]], i32 4 32 // CHECK: bitcast i8* [[ARRAY]] to [[CLASS:%.*]]* 34   delete [] array; 48   ClassWithAlignment *array = new ClassWithAlignment[42];  local  53 // CHECK: [[ARRAY:%.*]] = getelementptr inbounds i8, i8* [[ALLOCATED]], i32 8 54 // CHECK: bitcast i8* [[ARRAY]] to [[CLASS:%.*]]* 56   delete [] array;     [all...] | 
|   /frameworks/base/core/java/android/animation/ | 
| FloatArrayEvaluator.java  | 21  * Each index into the array is treated as a separate value to interpolate. For example, 45      * @param reuseArray The array to modify and return from <code>evaluate</code>. 65         float[] array = mArray;  local  66         if (array == null) { 67             array = new float[startValue.length]; 70         for (int i = 0; i < array.length; i++) { 73             array[i] = start + (fraction * (end - start)); 75         return array;
  | 
| IntArrayEvaluator.java  | 21  * Each index into the array is treated as a separate value to interpolate. For example, 45      * @param reuseArray The array to modify and return from <code>evaluate</code>. 64         int[] array = mArray;  local  65         if (array == null) { 66             array = new int[startValue.length]; 68         for (int i = 0; i < array.length; i++) { 71             array[i] = (int) (start + (fraction * (end - start))); 73         return array;
  | 
|   /system/bt/osi/include/ | 
| array.h  | 27 // Returns a new array object that stores elements of size |element_size|. The 32 // Frees an array that was allocated with |array_new|. |array| may be NULL. 33 void array_free(array_t* array); 35 // Returns a pointer to the first stored element in |array|. |array| must not be 37 void* array_ptr(const array_t* array); 39 // Returns a pointer to the |index|th element of |array|. |index| must be less 40 // than the array's length. |array| must not be NULL     [all...] | 
|   /external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/ | 
| p15.cpp  | 9   int array[3];  local  12   (void)[&array] () -> void {};
  | 
|   /external/icu/icu4c/source/test/letest/ | 
| letest.h  | 32 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) 38 #define DELETE_ARRAY(array) free((void *) (array)) 40 #define GROW_ARRAY(array,newSize) realloc((void *) (array), (newSize) * sizeof (array)[0])
  | 
|   /external/libcxx/test/std/containers/sequences/array/array.fill/ | 
| fill.fail.cpp  | 10 // <array> 14 #include <array> 17 // std::array is explicitly allowed to be initialized with A a = { init-list };. 24     typedef std::array<const T, 0> C; 26     // expected-error-re@array:* {{static_assert failed {{.*}}"cannot fill zero-sized array of type 'const T'"}}
  | 
|   /system/libvintf/include/vintf/ | 
| XmlSchemaFormat.h  | 20 #include <array> 31 static const std::array<std::string, 2> gXmlSchemaFormatStrings = {{
  |