/external/guava/guava-gwt/src-super/com/google/common/primitives/super/com/google/common/primitives/ |
Shorts.java | 117 * {@code array}. 119 * @param array an array of {@code short} values, possibly empty 121 * @return {@code true} if {@code array[i] == target} for some value of {@code 124 public static boolean contains(short[] array, short target) { 125 for (short value : array) { 135 * {@code array}. 137 * @param array an array of {@code short} values, possibly empty 139 * @return the least index {@code i} for which {@code array[i] == target}, o 385 short[] array = new short[len]; local 417 final short[] array; field in class:Shorts.ShortArrayAsList [all...] |
Chars.java | 112 * {@code array}. 114 * @param array an array of {@code char} values, possibly empty 116 * @return {@code true} if {@code array[i] == target} for some value of {@code 119 public static boolean contains(char[] array, char target) { 120 for (char value : array) { 130 * {@code array}. 132 * @param array an array of {@code char} values, possibly empty 134 * @return the least index {@code i} for which {@code array[i] == target}, o 381 char[] array = new char[len]; local 413 final char[] array; field in class:Chars.CharArrayAsList [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
CollectionToArrayTester.java | 45 Object[] array = collection.toArray(); local 46 expectArrayContentsAnyOrder(createSamplesArray(), array); local 55 * element array of a type other than {@code Object[]}. 58 Object[] array = collection.toArray(); local 59 assertEquals(Object[].class, array.getClass()); 64 E[] array = collection.toArray(empty); local 65 assertEquals("toArray(emptyT[]) should return an array of type T", 66 empty.getClass(), array.getClass()); 67 assertEquals("toArray(emptyT[]).length:", getNumElements(), array.length); 68 expectArrayContentsAnyOrder(createSamplesArray(), array); local 74 E[] array = collection.toArray(empty); local 78 expectArrayContentsInOrder(getOrderedElements(), array); local 83 Object[] array = collection.toArray(in); local 88 expectArrayContentsAnyOrder(createSamplesArray(), array); local 92 E[] array = getSubjectGenerator().createArray(getNumElements()); local 95 expectArrayContentsAnyOrder(createSamplesArray(), array); local 100 E[] array = getSubjectGenerator().createArray(getNumElements()); local 103 expectArrayContentsInOrder(getOrderedElements(), array); local 107 Object[] array = new Object[getNumElements()]; local 110 expectArrayContentsAnyOrder(createSamplesArray(), array); local 115 Object[] array = new Object[getNumElements()]; local 118 expectArrayContentsInOrder(getOrderedElements(), array); local 122 E[] array = getSubjectGenerator().createArray(getNumElements() + 2); local 143 E[] array = getSubjectGenerator().createArray(getNumElements() + 2); local 151 assertEquals(expected.get(i), array[i]); local 162 WrongType[] array = new WrongType[0]; local 171 WrongType[] array = new WrongType[0]; local [all...] |
/external/chromium_org/ppapi/api/ |
ppb_var_array.idl | 8 * a way to interact with array vars. 18 * Creates an array var, i.e., a <code>PP_Var</code> with type set to 19 * <code>PP_VARTYPE_ARRAY</code>. The array length is set to 0. 21 * @return An empty array var, whose reference count is set to 1 on behalf of 27 * Gets an element from the array. 29 * @param[in] array An array var. 34 * <code>index</code> is larger than or equal to the array length, an 37 PP_Var Get([in] PP_Var array, [in] uint32_t index); 40 * Sets the value of an element in the array [all...] |
/external/chromium_org/third_party/WebKit/Source/modules/crypto/ |
Crypto.cpp | 42 bool isIntegerArray(ArrayBufferView* array) 44 ArrayBufferView::ViewType type = array->getType(); 62 void Crypto::getRandomValues(ArrayBufferView* array, ExceptionState& es) 64 if (!array || !isIntegerArray(array)) { 68 if (array->byteLength() > 65536) { 72 cryptographicallyRandomValues(array->baseAddress(), array->byteLength());
|
WorkerCrypto.idl | 34 [Custom, RaisesException] ArrayBufferView getRandomValues(ArrayBufferView array);
|
/external/clang/test/Sema/ |
template-specialization.cpp | 13 int array[i]; local 14 A::template bar(array[0]); // expected-error {{no matching function for call to 'bar'}}
|
/external/harfbuzz_ng/src/hb-icu-le/ |
letest.h | 37 #define ARRAY_SIZE(array) (sizeof array / sizeof array[0]) 43 #define DELETE_ARRAY(array) free((void *) (array)) 45 #define GROW_ARRAY(array,newSize) realloc((void *) (array), (newSize) * sizeof (array)[0])
|
/external/stlport/test/unit/ |
bcompos_test.cpp | 36 int array [6] = { -2, -1, 0, 1, 2, 3 }; local 41 int* p = find_if((int*)array, (int*)array + 6, b); 42 CPPUNIT_ASSERT(p != array + 6); 49 int array [6] = { -2, -1 , 0, 1, 2, 3 }; local 51 int* p = find_if((int*)array, (int*)array + 6, 53 CPPUNIT_ASSERT(p != array + 6);
|
/libcore/support/src/test/java/tests/support/ |
Support_TestResource.java | 21 final String array[] = {"Str1", "Str2", "Str3"}; field in class:Support_TestResource 27 { "parent4", "parentValue4" }, {"IntegerVal", 1}, {"StringArray", array}};
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/array/array.tuple/ |
get.pass.cpp | 10 // <array> 12 // template <size_t I, class T, size_t N> T& get(array<T, N>& a); 14 #include <array> 21 typedef std::array<T, 3> C;
|
/ndk/tests/device/test-gnustl-full/unit/ |
bcompos_test.cpp | 36 int array [6] = { -2, -1, 0, 1, 2, 3 }; local 41 int* p = find_if((int*)array, (int*)array + 6, b); 42 CPPUNIT_ASSERT(p != array + 6); 49 int array [6] = { -2, -1 , 0, 1, 2, 3 }; local 51 int* p = find_if((int*)array, (int*)array + 6, 53 CPPUNIT_ASSERT(p != array + 6);
|
/ndk/tests/device/test-stlport/unit/ |
bcompos_test.cpp | 36 int array [6] = { -2, -1, 0, 1, 2, 3 }; local 41 int* p = find_if((int*)array, (int*)array + 6, b); 42 CPPUNIT_ASSERT(p != array + 6); 49 int array [6] = { -2, -1 , 0, 1, 2, 3 }; local 51 int* p = find_if((int*)array, (int*)array + 6, 53 CPPUNIT_ASSERT(p != array + 6);
|
/external/guava/guava/src/com/google/common/primitives/ |
Chars.java | 114 * {@code array}. 116 * @param array an array of {@code char} values, possibly empty 118 * @return {@code true} if {@code array[i] == target} for some value of {@code 121 public static boolean contains(char[] array, char target) { 122 for (char value : array) { 132 * {@code array}. 134 * @param array an array of {@code char} values, possibly empty 136 * @return the least index {@code i} for which {@code array[i] == target}, o 432 char[] array = new char[len]; local 464 final char[] array; field in class:Chars.CharArrayAsList [all...] |
Doubles.java | 98 * {@code array}. Note that this always returns {@code false} when {@code 101 * @param array an array of {@code double} values, possibly empty 103 * @return {@code true} if {@code array[i] == target} for some value of {@code 106 public static boolean contains(double[] array, double target) { 107 for (double value : array) { 117 * {@code array}. Note that this always returns {@code -1} when {@code target} 120 * @param array an array of {@code double} values, possibly empty 122 * @return the least index {@code i} for which {@code array[i] == target}, o 375 double[] array = new double[len]; local 410 final double[] array; field in class:Doubles.DoubleArrayAsList [all...] |
Floats.java | 95 * {@code array}. Note that this always returns {@code false} when {@code 98 * @param array an array of {@code float} values, possibly empty 100 * @return {@code true} if {@code array[i] == target} for some value of {@code 103 public static boolean contains(float[] array, float target) { 104 for (float value : array) { 114 * {@code array}. Note that this always returns {@code -1} when {@code target} 117 * @param array an array of {@code float} values, possibly empty 119 * @return the least index {@code i} for which {@code array[i] == target}, o 372 float[] array = new float[len]; local 407 final float[] array; field in class:Floats.FloatArrayAsList [all...] |
Bytes.java | 63 * {@code array}. 65 * @param array an array of {@code byte} values, possibly empty 67 * @return {@code true} if {@code array[i] == target} for some value of {@code 70 public static boolean contains(byte[] array, byte target) { 71 for (byte value : array) { 81 * {@code array}. 83 * @param array an array of {@code byte} values, possibly empty 85 * @return the least index {@code i} for which {@code array[i] == target}, o 265 final byte[] array; field in class:Bytes.ByteArrayAsList [all...] |
/external/chromium_org/net/third_party/nss/ssl/bodge/ |
secitem_array.c | 28 SECITEM_AllocArray(PLArenaPool *arena, SECItemArray *array, unsigned int len) 37 if (array == NULL) { 47 PORT_Assert(array->items == NULL); 48 result = array; 75 if (array != NULL) { 76 array->items = NULL; 77 array->len = 0; 80 if (result != NULL && array == NULL) { 84 * If array is not NULL, the above has set array->data an [all...] |
/external/chromium_org/ppapi/c/ |
ppb_var_array.h | 22 * a way to interact with array vars. 32 * Creates an array var, i.e., a <code>PP_Var</code> with type set to 33 * <code>PP_VARTYPE_ARRAY</code>. The array length is set to 0. 35 * @return An empty array var, whose reference count is set to 1 on behalf of 40 * Gets an element from the array. 42 * @param[in] array An array var. 47 * <code>index</code> is larger than or equal to the array length, an 50 struct PP_Var (*Get)(struct PP_Var array, uint32_t index); 52 * Sets the value of an element in the array [all...] |
/external/clang/test/CodeGenCXX/ |
debug-info-global-ctor-dtor.cpp | 13 A array[2]; variable
|
/external/v8/test/mjsunit/ |
array-shift.js | 28 // Check that shifting array of holes keeps it as array of holes 30 var array = new Array(10); 31 array.shift(); 32 assertFalse(0 in array); 35 // Now check the case with array of holes and some elements on prototype. 38 var array = new Array(len); 39 Array.prototype[3] = "@3" [all...] |
/libcore/luni/src/main/java/java/util/ |
Arrays.java | 21 import java.lang.reflect.Array; 129 contents = (T[]) Array.newInstance(ct, size); 144 * Returns a {@code List} of the objects in the specified array. The size of the 147 * array. 149 * @param array 150 * the array. 151 * @return a {@code List} of the elements of the specified array. 154 public static <T> List<T> asList(T... array) { 155 return new ArrayList<T>(array); 159 * Performs a binary search for {@code value} in the ascending sorted array {@code array} [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
EncodedArrayItem.java | 24 * Encoded array of constant values. 30 /** {@code non-null;} the array to represent */ 31 private final CstArray array; field in class:EncodedArrayItem 42 * @param array {@code non-null;} array to represent 44 public EncodedArrayItem(CstArray array) { 51 if (array == null) { 52 throw new NullPointerException("array == null"); 55 this.array = array; [all...] |
/development/tutorials/ReverseDebug/ |
main.c | 25 void clobber(int *array, int size) { 27 array[-1] = 0x123; 28 array[size] = 0x123;
|
/external/chromium_org/chrome/installer/mini_installer/ |
decompress.h | 10 char (&ArraySizeHelper(T (&array)[N]))[N]; 11 #define arraysize(array) (sizeof(ArraySizeHelper(array)))
|