HomeSort by relevance Sort by last modified time
    Searched refs:array (Results 726 - 750 of 7929) sorted by null

<<21222324252627282930>>

  /frameworks/layoutlib/bridge/src/android/graphics/
ColorMatrixColorFilter_Delegate.java 53 /*package*/ static long nativeColorMatrixFilter(float[] array) {
  /frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/java/com/android/layoutlib/test/myapplication/
ArraysCheckWidget.java 40 for (CharSequence chars : resources.getTextArray(R.array.array)) {
43 for (int i : resources.getIntArray(R.array.int_array)) {
46 for (String string : resources.getStringArray(R.array.string_array)) {
  /frameworks/opt/net/wifi/libwifi_system_iface/testlib/include/wifi_system_test/
mock_interface_tool.h 34 const std::array<uint8_t, ETH_ALEN>& address));
  /frameworks/support/collection/src/main/java/androidx/collection/
ContainerHelpers.java 45 static int binarySearch(int[] array, int size, int value) {
51 int midVal = array[mid];
64 static int binarySearch(long[] array, int size, long value) {
70 final long midVal = array[mid];
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
GenericReflectionTestsBase.java 57 public static void assertLenghtOne(Object[] array) {
58 TestCase.assertEquals("Array does NOT contain exactly one element.", 1, array.length);
61 public static void assertLenghtZero(Object[] array) {
62 TestCase.assertEquals("Array has more than zero elements.", 0, array.length);
  /packages/apps/TV/src/com/android/tv/data/
DisplayMode.java 36 return context.getResources().getStringArray(R.array.display_mode_labels)[mode];
  /packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
CollectionUtils.java 37 * Converts a sub-range of the given array to an ArrayList of the appropriate type.
38 * @param array Array to be converted.
44 public static <E> ArrayList<E> arrayAsList(@Nonnull final E[] array, final int start,
46 if (start < 0 || start > end || end > array.length) {
48 + " with array.length: " + array.length);
53 list.add(array[i]);
  /prebuilts/go/darwin-x86/test/fixedbugs/
bug101.go 12 if len(a) != 3 { panic("array len") }
14 if a[0] != 1 || a[1] != 2 || a[2] != 3 { panic("array contents") }
issue13485.go 12 _ [float64(10)]int // ERROR "invalid array bound"
15 _ [complex128(complex(10, 0))]int // ERROR "invalid array bound"
issue7153.go 7 // Issue 7153: array invalid index error duplicated on successive bad values
11 var _ = []int{a: true, true} // ERROR "undefined: a" "cannot use true \(type bool\) as type int in array or slice literal"
issue7525.go 7 // Issue 7525: self-referential array types.
14 a [unsafe.Sizeof(x.a)]int // ERROR "array bound|typechecking loop|invalid expression"
  /prebuilts/go/linux-x86/test/fixedbugs/
bug101.go 12 if len(a) != 3 { panic("array len") }
14 if a[0] != 1 || a[1] != 2 || a[2] != 3 { panic("array contents") }
issue13485.go 12 _ [float64(10)]int // ERROR "invalid array bound"
15 _ [complex128(complex(10, 0))]int // ERROR "invalid array bound"
issue7153.go 7 // Issue 7153: array invalid index error duplicated on successive bad values
11 var _ = []int{a: true, true} // ERROR "undefined: a" "cannot use true \(type bool\) as type int in array or slice literal"
issue7525.go 7 // Issue 7525: self-referential array types.
14 a [unsafe.Sizeof(x.a)]int // ERROR "array bound|typechecking loop|invalid expression"
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/iterators/iterator.container/
empty.pass.cpp 12 // template <class T, size_t N> constexpr bool empty(const T (&array)[N]) noexcept; // C++17
24 #include <array>
53 void test_const_array( const T (&array)[Sz] )
55 assert (!std::empty(array));
62 std::array<int, 1> a; a[0] = 3;
size.pass.cpp 12 // template <class T, size_t N> constexpr size_t size(const T (&array)[N]) noexcept; // C++17
23 #include <array>
52 void test_const_array( const T (&array)[Sz] )
54 assert ( std::size(array) == Sz );
61 std::array<int, 1> a; a[0] = 3;
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/tuple/tuple.tuple/tuple.helper/
tuple_size_incomplete.fail.cpp 21 #include <array>
  /system/netd/libnetdutils/
Socket.cpp 26 std::array<char, INET6_ADDRSTRLEN> out = {};
  /cts/tests/tests/media/src/android/media/cts/
IvfWriter.java 153 * Lays least significant 16 bits of an int into 2 items of a byte array.
157 * @param array the array to be modified
158 * @param index index of the array to start laying down
161 private static void lay16Bits(byte[] array, int index, int value){
162 array[index] = (byte) (value);
163 array[index + 1] = (byte) (value >> 8);
167 * Lays an int into 4 items of a byte array.
171 * @param array the array to be modifie
    [all...]
  /development/tools/mkstubs/tests/com/android/mkstubs/sourcer/
SignatureSourcerTest.java 77 String[] array = toStringArray(params); local
81 array);
130 String[] array = toStringArray(params); local
136 array);
140 String[] array = new String[params.size()]; local
142 array[i] = params.get(i).toString();
144 return array;
  /external/clang/test/SemaCXX/
c99-variable-length-array.cpp 50 int array[N]; // expected-warning{{variable length arrays are a C99 feature}} local
51 X0<__typeof__(array)> x0a; // expected-error{{variably modified type 'typeof (array)' (aka 'int [N]') cannot be used as a template argument}}
56 template<int (&Array)[T::value]> // expected-error{{non-type template parameter of variably modified type 'int (&)[HasNonConstantValue::value]'}} \
69 void accept_array(T (&array)[N]); // expected-note{{candidate template ignored: could not match 'T [N]' against 'int [N]'}}
72 int array[N]; // expected-warning{{variable length arrays are a C99 feature}} local
73 accept_array(array); // expected-error{{no matching function for call to 'accept_array'}}
80 int array[N]; // expected-error{{fields must have a constant size: 'variable length array in structure' extension will never be supported}} \ member in struct:X
100 int array[value * i]; // expected-warning 2{{variable length arrays are a C99 feature} local
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
ListRetainAllTester.java 44 E[] array = createSamplesArray(); local
45 array[1] = samples.e0;
46 collection = getSubjectGenerator().create(array);
49 expectContents(array);
56 E[] array = createSamplesArray(); local
57 array[1] = samples.e0;
58 collection = getSubjectGenerator().create(array);
  /external/guava/guava-tests/benchmark/com/google/common/collect/
IteratorBenchmark.java 35 Object[] array; field in class:IteratorBenchmark
40 array = new Object[size];
46 array[i] = value;
56 sum += array[index].hashCode();
65 for (int index = 0; index < array.length; index++) {
66 sum += array[index].hashCode();
75 for (Object value : array) {
  /external/libmojo/base/android/
command_line_android.cc 22 jobjectArray array,
25 if (array)
26 base::android::AppendJavaStringArrayToStringVector(env, array, &vec);
79 const JavaParamRef<jobjectArray>& array) {
80 AppendJavaStringArrayToCommandLine(env, array, false);
86 void InitNativeCommandLineFromJavaArray(JNIEnv* env, jobjectArray array) {
90 AppendJavaStringArrayToCommandLine(env, array, true);

Completed in 2808 milliseconds

<<21222324252627282930>>