HomeSort by relevance Sort by last modified time
    Searched refs:array (Results 351 - 375 of 4096) sorted by null

<<11121314151617181920>>

  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/array/array.tuple/
get_const.pass.cpp 10 // <array>
12 // template <size_t I, class T, size_t N> const T& get(const array<T, N>& a);
14 #include <array>
21 typedef std::array<T, 3> C;
get_rv.pass.cpp 10 // <array>
12 // template <size_t I, class T, size_t N> T&& get(array<T, N>&& a);
14 #include <array>
23 typedef std::array<T, 1> C;
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/array/
begin.pass.cpp 10 // <array>
14 #include <array>
21 typedef std::array<T, 3> C;
  /ndk/tests/device/test-gnustl-full/unit/
ptr2_test.cpp 71 int array [3] = { 1, 2, 3 }; local
73 int* p = find_if((int*)array, (int*)array + 3, pointer_to_unary_function<int, bool>(even));
74 CPPUNIT_ASSERT(p != array+3);
79 int array [3] = { 1, 2, 3 }; local
81 int* p = find_if((int*)array, (int*)array + 3, ptr_fun(even));
82 CPPUNIT_ASSERT(p != array+3);
  /ndk/tests/device/test-stlport/unit/
ptr2_test.cpp 71 int array [3] = { 1, 2, 3 }; local
73 int* p = find_if((int*)array, (int*)array + 3, pointer_to_unary_function<int, bool>(even));
74 CPPUNIT_ASSERT(p != array+3);
79 int array [3] = { 1, 2, 3 }; local
81 int* p = find_if((int*)array, (int*)array + 3, ptr_fun(even));
82 CPPUNIT_ASSERT(p != array+3);
  /external/chromium_org/third_party/skia/src/effects/
SkColorMatrixFilter.cpp 15 static int32_t rowmul4(const int32_t array[], unsigned r, unsigned g,
17 return array[0] * r + array[1] * g + array[2] * b + array[3] * a + array[4];
20 static int32_t rowmul3(const int32_t array[], unsigned r, unsigned g,
22 return array[0] * r + array[1] * g + array[2] * b + array[4]
28 const int32_t* SK_RESTRICT array = state.fArray; local
40 const int32_t* SK_RESTRICT array = state.fArray; local
51 const int32_t* SK_RESTRICT array = state.fArray; local
63 const int32_t* SK_RESTRICT array = state.fArray; local
74 const int32_t* SK_RESTRICT array = state.fArray; local
87 const int32_t* SK_RESTRICT array = state.fArray; local
99 const int32_t* SK_RESTRICT array = state.fArray; local
111 const int32_t* SK_RESTRICT array = state.fArray; local
125 int32_t* array = fState.fArray; local
    [all...]
  /external/skia/src/effects/
SkColorMatrixFilter.cpp 15 static int32_t rowmul4(const int32_t array[], unsigned r, unsigned g,
17 return array[0] * r + array[1] * g + array[2] * b + array[3] * a + array[4];
20 static int32_t rowmul3(const int32_t array[], unsigned r, unsigned g,
22 return array[0] * r + array[1] * g + array[2] * b + array[4]
28 const int32_t* SK_RESTRICT array = state.fArray; local
40 const int32_t* SK_RESTRICT array = state.fArray; local
51 const int32_t* SK_RESTRICT array = state.fArray; local
63 const int32_t* SK_RESTRICT array = state.fArray; local
74 const int32_t* SK_RESTRICT array = state.fArray; local
87 const int32_t* SK_RESTRICT array = state.fArray; local
99 const int32_t* SK_RESTRICT array = state.fArray; local
111 const int32_t* SK_RESTRICT array = state.fArray; local
125 int32_t* array = fState.fArray; local
    [all...]
  /external/skia/bench/
FontCacheBench.cpp 44 const uint16_t* array = gUniqueGlyphIDs; variable
45 while (*array != gUniqueGlyphIDs_Sentinel) {
46 size_t count = count_glyphs(array);
48 paint.measureText(array, count * sizeof(uint16_t));
50 array += count + 1; // skip the sentinel
93 static int count_collisions(const uint16_t array[], int count, HasherProc proc,
100 int index = proc(array[i]) & hashMask;
107 static void dump_array(const uint16_t array[], int count) {
109 SkDebugf(" %d,", array[i]);
139 const uint16_t* array = gUniqueGlyphIDs variable
    [all...]
SortBench.cpp 15 static void rand_proc(int array[], int count) {
18 array[i] = rand.nextS();
22 static void randN_proc(int array[], int count) {
26 array[i] = rand.nextU() % mod;
30 static void forward_proc(int array[], int count) {
32 array[i] = i;
36 static void backward_proc(int array[], int count) {
38 array[i] = -i;
42 static void same_proc(int array[], int count) {
44 array[i] = count
    [all...]
  /external/chromium_org/third_party/WebKit/Source/web/
WebIDBKey.cpp 37 WebIDBKey WebIDBKey::createArray(const WebVector<WebIDBKey>& array)
40 key.assignArray(array);
84 static PassRefPtr<IDBKey> convertFromWebIDBKeyArray(const WebVector<WebIDBKey>& array)
87 keys.reserveCapacity(array.size());
88 for (size_t i = 0; i < array.size(); ++i) {
89 switch (array[i].keyType()) {
91 keys.append(convertFromWebIDBKeyArray(array[i].array()));
94 keys.append(IDBKey::createString(array[i].string()));
97 keys.append(IDBKey::createDate(array[i].date()))
194 WebVector<WebIDBKey> WebIDBKey::array() const function in class:WebKit::WebIDBKey
    [all...]
  /external/eigen/test/eigen2/
eigen2_first_aligned.cpp 13 void test_eigen2_first_aligned_helper(Scalar *array, int size)
16 VERIFY(((std::size_t(array) + sizeof(Scalar) * ei_alignmentOffset(array, size)) % packet_size) == 0);
20 void test_eigen2_none_aligned_helper(Scalar *array, int size)
22 VERIFY(ei_packet_traits<Scalar>::size == 1 || ei_alignmentOffset(array, size) == size);
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
AbstractCollectionTester.java 52 * @return an array of the proper size with {@code null} inserted into the
56 E[] array = createSamplesArray(); local
57 array[getNullLocation()] = null;
58 return array;
62 E[] array = createArrayWithNullElement(); local
63 resetContainer(getSubjectGenerator().create(array));
  /external/jmonkeyengine/engine/src/core/com/jme3/app/state/
AppStateManager.java 182 AppState[] array = getStates(); local
183 for (AppState state : array) {
193 array = getInitializing();
194 for (AppState state : array) {
204 AppState[] array = getInitializing(); local
205 if (array.length == 0)
210 // into the active array. In all but one case the
214 List<AppState> transfer = Arrays.asList(array);
218 for (AppState state : array) {
224 AppState[] array = getTerminating(); local
252 AppState[] array = getStates(); local
265 AppState[] array = getStates(); local
277 AppState[] array = getStates(); local
289 AppState[] array = getStates(); local
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/
test_cast.py 8 array = (c_int * 3)(42, 17, 2)
10 # casting an array to a pointer works.
11 ptr = cast(array, POINTER(c_int))
15 ptr = cast(array, POINTER(c_short))
24 array = (c_int * 3)(42, 17, 2)
26 address = addressof(array)
34 array = (c_char_p * 5)()
35 self.assertEqual(array._objects, None)
36 array[0] = "foo bar"
37 self.assertEqual(array._objects, {'0': "foo bar"}
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/
test_cast.py 8 array = (c_int * 3)(42, 17, 2)
10 # casting an array to a pointer works.
11 ptr = cast(array, POINTER(c_int))
15 ptr = cast(array, POINTER(c_short))
24 array = (c_int * 3)(42, 17, 2)
26 address = addressof(array)
34 array = (c_char_p * 5)()
35 self.assertEqual(array._objects, None)
36 array[0] = "foo bar"
37 self.assertEqual(array._objects, {'0': "foo bar"}
    [all...]
  /external/mockito/src/org/mockito/internal/matchers/
ArrayEquals.java 8 import java.lang.reflect.Array;
55 private void appendArray(Object[] array, Description description) {
57 for (int i = 0; i < array.length; i++) {
58 new Equals(array[i]).describeTo(description);
59 if (i != array.length - 1) {
66 public static Object[] createObjectArray(Object array) {
67 if (array instanceof Object[]) {
68 return (Object[]) array;
70 Object[] result = new Object[Array.getLength(array)];
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/scene/shape/
Curve.java 98 float[] array = new float[((spline.getControlPoints().size() - 1) * nbSubSegments + 1) * 3]; local
104 array[i] = vector3f.x;
106 array[i] = vector3f.y;
108 array[i] = vector3f.z;
113 array[i] = temp.getX();
115 array[i] = temp.getY();
117 array[i] = temp.getZ();
136 this.setBuffer(VertexBuffer.Type.Position, 3, array);
155 float[] array = new float[((centerPointsAmount - 1) * nbSubSegments + 1) * 3]; local
161 array[lineIndex++] = vector3f.x
204 float[] array = new float[(nbSubSegments + 1) * 3]; local
232 float[] array = new float[spline.getControlPoints().size() * 3]; local
    [all...]
  /cts/tests/tests/jni/src/android/jni/cts/
JniStaticTest.java 108 short[] array = StaticNonce.returnShortArray(); local
109 assertSame(short[].class, array.getClass());
110 assertEquals(3, array.length);
111 assertEquals(10, array[0]);
112 assertEquals(20, array[1]);
113 assertEquals(30, array[2]);
120 String[] array = StaticNonce.returnStringArray(); local
121 assertSame(String[].class, array.getClass());
122 assertEquals(100, array.length);
123 assertEquals("blort", array[0])
    [all...]
  /external/v8/test/mjsunit/
external-array.js 109 var array = new Float64Array(2);
111 set(array, 0, 2.5);
112 assertEquals(2.5, array[0]);
115 set(array, 0, 2.5);
116 assertEquals(2.5, array[0]);
117 set(array, 1, 3.5);
118 assertEquals(3.5, array[1]);
120 assertEquals(2.5, get(array, 0));
121 assertEquals(3.5, array[1]);
124 assertEquals(2.5, get(array, 0))
    [all...]
  /art/runtime/entrypoints/portable/
portable_fillarray_entrypoints.cc 26 mirror::Array* array,
33 if (UNLIKELY(array == NULL)) {
34 ThrowNullPointerException(NULL, "null array in FILL_ARRAY_DATA");
37 DCHECK(array->IsArrayInstance() && !array->IsObjectArray());
38 if (UNLIKELY(static_cast<int32_t>(payload->element_count) > array->GetLength())) {
43 array->GetLength(), payload->element_count - 1);
47 memcpy(array->GetRawData(payload->element_width), payload->data, size_in_bytes);
  /external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
ListRetainAllTester.java 41 E[] array = createSamplesArray(); local
42 array[1] = samples.e0;
43 collection = getSubjectGenerator().create(array);
46 expectContents(array);
53 E[] array = createSamplesArray(); local
54 array[1] = samples.e0;
55 collection = getSubjectGenerator().create(array);
  /external/jmonkeyengine/engine/src/core/com/jme3/util/
SafeArrayList.java 40 * direct access to the current array. This List allows modification of the
43 * array is only presenting a snap shot and so can be safely iterated while
56 * as the array can be accessed directly.</p>
102 return (T[])java.lang.reflect.Array.newInstance(type, size);
110 * Returns a current snapshot of this List's backing array that
112 * Changes to this array may or may not be reflected in the list and
122 // Only keep the array or the buffer but never both at
138 // Only keep the array or the buffer but never both at
169 E[] array = getArray(); local
170 if (a.length < array.length)
249 E[] array = getArray(); local
281 E[] array = getArray(); local
295 E[] array = getArray(); local
325 E[] array = getArray(); local
343 private E[] array; field in class:SafeArrayList.ArrayIterator
    [all...]
  /external/libvpx/libvpx/examples/includes/geshi/geshi/
z80.php 46 $language_data = array (
48 'COMMENT_SINGLE' => array(1 => ';'),
49 'COMMENT_MULTI' => array(),
51 'QUOTEMARKS' => array("'", '"'),
53 'KEYWORDS' => array(
55 1 => array(
66 2 => array(
72 3 => array(
77 'SYMBOLS' => array(
80 'CASE_SENSITIVE' => array(
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/
WrappedByteBufferTest.java 40 byte array[] = new byte[BUFFER_LENGTH];
42 ByteBuffer.wrap(array, -1, 0);
48 ByteBuffer.wrap(array, BUFFER_LENGTH + 1, 0);
54 ByteBuffer.wrap(array, 0, -1);
60 ByteBuffer.wrap(array, 0, BUFFER_LENGTH + 1);
66 ByteBuffer.wrap(array, 1, Integer.MAX_VALUE);
72 ByteBuffer.wrap(array, Integer.MAX_VALUE, 1);
  /external/guava/guava/src/com/google/common/primitives/
generate.sh 136 * {@code array}.
138 * @param array an array of {@code primtyp} values, possibly empty
140 * @return {@code true} if {@code array[i] == target} for some value of {@code
143 public static boolean contains(primtyp[] array, primtyp target) {
144 for (primtyp value : array) {
154 * {@code array}.
156 * @param array an array of {@code primtyp} values, possibly empty
158 * @return the least index {@code i} for which {@code array[i] == target}, o
    [all...]

Completed in 786 milliseconds

<<11121314151617181920>>