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

<<21222324252627282930>>

  /external/libcxx/test/std/containers/sequences/array/array.cons/
implicit_copy.pass.cpp 10 // <array>
12 // implicitly generated array constructors / assignment operators
14 #include <array>
19 // std::array is explicitly allowed to be initialized with A a = { init-list };.
39 typedef std::array<T, 3> C;
48 typedef std::array<const T, 3> C;
57 typedef std::array<T, 0> C;
67 typedef std::array<const T, 0> C;
76 typedef std::array<T, 0> C;
85 typedef std::array<const T, 0> C
    [all...]
  /external/libcxx/test/std/containers/sequences/array/
indexing.pass.cpp 10 // <array>
17 #include <array>
22 // std::array is explicitly allowed to be initialized with A a = { init-list };.
29 std::array<double, 3> arr = {1, 2, 3.5};
38 typedef std::array<T, 3> C;
52 typedef std::array<T, 3> C;
61 typedef std::array<T, 0> C;
75 typedef std::array<const T, 0> C;
90 typedef std::array<T, 3> C;
  /external/mesa3d/src/mesa/vbo/
vbo_save.c 55 struct gl_vertex_array *array; local
56 array = &arrays[VERT_ATTRIB_FF(i)];
57 array->BufferObj = NULL;
67 struct gl_vertex_array *array; local
68 array = &arrays[VERT_ATTRIB_GENERIC(i)];
69 array->BufferObj = NULL;
70 _mesa_reference_buffer_object(ctx, &array->BufferObj,
  /external/tensorflow/tensorflow/contrib/factorization/python/kernel_tests/
wals_solver_ops_test.py 29 ind = np.array(
31 val = np.array([0.1, 0.2, 1.1, 2.0, 2.1, 3.2]).astype(np.float32)
32 shape = np.array([4, 3]).astype(np.int64)
39 self._column_factors = np.array([
44 self._row_factors = np.array([[0.1, 0.2, 0.3], [0.4, 0.5, 0.6],
47 self._column_weights = np.array([0.1, 0.2, 0.3]).astype(np.float32)
48 self._row_weights = np.array([0.1, 0.2, 0.3, 0.4]).astype(np.float32)
  /frameworks/base/core/jni/
android_nio_utils.cpp 31 void* android::nio_getPointer(JNIEnv *_env, jobject buffer, jarray *array) {
32 assert(array);
41 *array = NULL;
45 *array = (jarray) _env->CallStaticObjectMethod(gNioJNI.nioAccessClass,
49 data = _env->GetPrimitiveArrayCritical(*array, (jboolean *) 0);
55 void android::nio_releasePointer(JNIEnv *_env, jarray array, void *data,
57 _env->ReleasePrimitiveArrayCritical(array, data,
  /frameworks/base/core/tests/coretests/src/com/android/internal/os/
KernelMemoryBandwidthStatsTest.java 42 LongSparseLongArray array = stats.getBandwidthEntries(); local
43 for (int i = 2; i < array.size(); i++) {
44 assertEquals(i, array.keyAt(i));
45 assertEquals(expected[i], array.valueAt(i));
74 LongSparseLongArray array = zeroStats.getBandwidthEntries(); local
75 for (int i = 0; i < array.size(); i++) {
76 assertEquals(expected[i], array.valueAt(i));
  /frameworks/base/libs/hwui/
ProfileData.h 23 #include <array>
86 std::array<uint32_t, NUM_BUCKETS> mJankTypeCounts;
88 std::array<uint32_t, 57> mFrameCounts;
90 std::array<uint16_t, 97> mSlowFrameCounts;
100 std::array<uint32_t, NUM_BUCKETS>& editJankTypeCounts() { return mJankTypeCounts; }
101 std::array<uint32_t, 57>& editFrameCounts() { return mFrameCounts; }
102 std::array<uint16_t, 97>& editSlowFrameCounts() { return mSlowFrameCounts; }
  /hardware/interfaces/drm/1.0/default/
TypeConvert.h 34 vec.setToExternal(const_cast<T *>(Vector.array()), Vector.size());
57 const hidl_array<T, SIZE> &array) {
59 vector.appendArray(array.data(), array.size());
64 hidl_array<T, SIZE> &array) {
66 vector.appendArray(array.data(), array.size());
  /external/webrtc/talk/app/webrtc/objctests/
RTCPeerConnectionSyncObserver.m 53 _expectedSignalingChanges = [NSMutableArray array];
54 _expectedSignalingChanges = [NSMutableArray array];
55 _expectedAddStreamLabels = [NSMutableArray array];
56 _expectedRemoveStreamLabels = [NSMutableArray array];
57 _receivedICECandidates = [NSMutableArray array];
58 _expectedICEConnectionChanges = [NSMutableArray array];
59 _expectedICEGatheringChanges = [NSMutableArray array];
60 _expectedDataChannels = [NSMutableArray array];
61 _expectedMessages = [NSMutableArray array];
62 _expectedStateChanges = [NSMutableArray array];
    [all...]
  /external/tensorflow/tensorflow/python/data/kernel_tests/
dataset_constructor_op_test.py 43 components = (np.array(1), np.array([1, 2, 3]), np.array(37.0))
69 indices=np.array([[0]]),
70 values=np.array([0]),
71 dense_shape=np.array([1])),
73 indices=np.array([[0, 0], [1, 1]]),
74 values=np.array([-1, 1]),
75 dense_shape=np.array([2, 2])))
97 components = (np.array(1), np.array([1, 2, 3]), np.array(37.0)
    [all...]
  /external/Microsoft-GSL/tests/
algorithm_tests.cpp 21 #include <array>
30 std::array<int, 5> src{1, 2, 3, 4, 5};
31 std::array<int, 10> dst{};
47 std::array<int, 5> src{1, 2, 3, 4, 5};
48 std::array<int, 10> dst{};
64 std::array<int, 5> src{1, 2, 3, 4, 5};
65 std::array<int, 10> dst{};
81 std::array<int, 5> src{1, 2, 3, 4, 5};
82 std::array<int, 10> dst{};
101 std::array<short, 5> src{1, 2, 3, 4, 5}
    [all...]
  /external/syslinux/com32/gpllib/zzjson/
zzjson_create.c 87 zzjson->value.array.val = val;
152 ZZJSON *zzjson_array_prepend(ZZJSON_CONFIG *config, ZZJSON *array,
156 if (!array->value.array.val) { /* empty array */
157 array->value.array.val = val;
158 return array;
163 zzjson->value.array.val = val;
164 zzjson->next = array;
    [all...]
  /external/tensorflow/tensorflow/python/kernel_tests/
parse_single_example_op_test.py 53 np.array([], dtype=dtype), np.array(shape, dtype=np.int64))
136 np.array([0], dtype=np.int64)) # max_elems = 0
140 a_name: np.array([a_default]),
141 b_name: np.array(b_default),
142 c_name: np.array(c_default),
250 "st_c": (np.array([[0], [1]], dtype=np.int64),
251 np.array([3.0, 4.0], dtype=np.float32),
252 np.array([2], dtype=np.int64)),
262 "st_c": (np.array([[0], [1], [2]], dtype=np.int64)
    [all...]
  /packages/apps/UnifiedEmail/src/org/apache/commons/io/
FilenameUtils.java 273 char[] array = new char[size + 2]; // +1 for possible extra slash, +2 for arraycopy local
274 filename.getChars(0, filename.length(), array, 0);
277 for (int i = 0; i < array.length; i++) {
278 if (array[i] == OTHER_SEPARATOR) {
279 array[i] = SYSTEM_SEPARATOR;
285 if (array[size - 1] != SYSTEM_SEPARATOR) {
286 array[size++] = SYSTEM_SEPARATOR;
292 if (array[i] == SYSTEM_SEPARATOR && array[i - 1] == SYSTEM_SEPARATOR) {
293 System.arraycopy(array, i, array, i - 1, size - i)
1160 int[] array = backtrack.pop(); local
1234 char[] array = text.toCharArray(); local
    [all...]
  /external/mesa3d/src/mesa/swrast/
s_fog.c 93 const GLfloat fogCoord = span->array->attribs[VARYING_SLOT_FOGC][i][0]; \
126 * The fog value are either in the span->array->fog array or interpolated from
141 if (span->array->ChanType == GL_UNSIGNED_BYTE) {
146 else if (span->array->ChanType == GL_UNSIGNED_SHORT) {
167 if (span->array->ChanType == GL_UNSIGNED_BYTE) {
168 GLubyte (*rgba)[4] = span->array->rgba8;
171 else if (span->array->ChanType == GL_UNSIGNED_SHORT) {
172 GLushort (*rgba)[4] = span->array->rgba16;
176 GLfloat (*rgba)[4] = span->array->attribs[VARYING_SLOT_COL0]
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
OverlayPackagesProviderTest.java 218 verifyEmptyIntersection(R.array.required_apps_managed_device,
219 R.array.disallowed_apps_managed_device);
224 verifyEmptyIntersection(R.array.required_apps_managed_user,
225 R.array.disallowed_apps_managed_user);
230 verifyEmptyIntersection(R.array.required_apps_managed_profile,
231 R.array.disallowed_apps_managed_profile);
236 verifyEmptyIntersection(R.array.vendor_required_apps_managed_device,
237 R.array.vendor_disallowed_apps_managed_device);
242 verifyEmptyIntersection(R.array.vendor_required_apps_managed_user,
243 R.array.vendor_disallowed_apps_managed_user)
    [all...]
  /system/chre/util/tests/
heap_test.cc 5 #include <array>
28 std::array<int, MaxSize> array; local
29 std::array<int, MaxSize> array_sorted;
32 array[i] = std::rand();
33 array_sorted[i] = array[i];
36 // make sure the popped data is in the right order of various array sizes.
39 v.push_back(array[i]);
68 std::array<int, MaxSize> array; local
    [all...]
  /external/eigen/unsupported/test/
mpreal_support.cpp 36 VERIFY(Eigen::internal::isApprox(A.array().abs2().sum(), A.squaredNorm()));
37 VERIFY_IS_APPROX(A.array().exp(), exp(A.array()));
38 VERIFY_IS_APPROX(A.array().abs2().sqrt(), A.array().abs());
39 VERIFY_IS_APPROX(A.array().sin(), sin(A.array()));
40 VERIFY_IS_APPROX(A.array().cos(), cos(A.array()));
  /external/mesa3d/src/gallium/auxiliary/util/
u_surfaces.c 41 { /* or 2D array */
49 if(!us->u.array)
50 us->u.array = CALLOC(pt->last_level + 1, sizeof(struct pipe_surface *));
51 ps = us->u.array[level];
73 us->u.array[level] = ps;
84 { /* or 2D array */
88 us->u.array[ps->u.tex.level] = 0;
95 { /* or 2D array */
111 if(us->u.array)
116 struct pipe_surface *ps = us->u.array[i]
    [all...]
  /packages/services/Car/service/src/com/android/car/
CarServiceUtils.java 145 final float[] array = new float[size]; local
147 array[i] = list.get(i);
149 return array;
154 final int[] array = new int[size]; local
156 array[i] = list.get(i);
158 return array;
163 final byte[] array = new byte[size];
165 array[i] = list.get(i);
167 return array;
  /art/compiler/driver/
compiled_method_storage.cc 36 const LengthPrefixedArray<T>* CopyArray(SwapSpace* swap_space, const ArrayRef<const T>& array) {
37 DCHECK(!array.empty());
39 void* storage = allocator.allocate(LengthPrefixedArray<T>::ComputeSize(array.size()));
40 LengthPrefixedArray<T>* array_copy = new(storage) LengthPrefixedArray<T>(array.size());
41 std::copy(array.begin(), array.end(), array_copy->begin());
46 void ReleaseArray(SwapSpace* swap_space, const LengthPrefixedArray<T>* array) {
48 size_t size = LengthPrefixedArray<T>::ComputeSize(array->size());
49 array->~LengthPrefixedArray<T>();
50 allocator.deallocate(const_cast<uint8_t*>(reinterpret_cast<const uint8_t*>(array)), size)
    [all...]
  /external/brotli/c/enc/
write_bits.h 7 /* Write bits into a byte array. */
42 uint8_t * BROTLI_RESTRICT array) {
49 uint8_t *p = &array[*pos >> 3];
61 uint8_t *array_pos = &array[*pos >> 3];
78 size_t pos, uint8_t *array) {
83 array[pos >> 3] = 0;
  /external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
p14.cpp 43 CopyCtorDefault array[3]; member in struct:ExpectedArrayLayout
47 CopyCtorDefault array[3]; local
49 capture(array[0]);
81 int array[3]; local
85 result += array[i];
  /external/compiler-rt/lib/asan/tests/
asan_mem_test.cc 19 T *array = Ident((T*)malloc(size)); local
23 // memset interval inside array
24 MEMSET(array, element, size);
25 MEMSET(array, element, size - 1);
26 MEMSET(array + length - 1, element, sizeof(T));
27 MEMSET(array, element, 1);
30 MEMSET(array - 10, element, zero);
31 MEMSET(array - 1, element, zero);
32 MEMSET(array, element, zero);
33 MEMSET(array + length, 0, zero)
    [all...]
  /external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/
CollectionCreationTester.java 39 E[] array = createArrayWithNullElement(); local
40 collection = getSubjectGenerator().create(array);
41 expectContents(array);
47 E[] array = createArrayWithNullElement(); local
50 getSubjectGenerator().create(array);

Completed in 1083 milliseconds

<<21222324252627282930>>