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

<<41424344454647484950>>

  /packages/apps/Settings/src/com/android/settings/widget/
AspectRatioFrameLayout.java 48 TypedArray array = local
50 mAspectRatio = array.getFloat(
52 array.recycle();
  /prebuilts/go/darwin-x86/test/ken/
string.go 85 /* create string with byte array */
92 panic("create byte array " + c)
95 /* create string with int array */
102 panic("create int array " + c)
105 /* create string with byte array pointer */
112 panic("create array pointer " + c)
  /prebuilts/go/linux-x86/test/ken/
string.go 85 /* create string with byte array */
92 panic("create byte array " + c)
95 /* create string with int array */
102 panic("create int array " + c)
105 /* create string with byte array pointer */
112 panic("create array pointer " + c)
  /system/core/base/include/android-base/
macros.h 58 // The arraysize(arr) macro returns the # of elements in an array arr.
63 // One caveat is that arraysize() doesn't accept any array of an
73 char(&ArraySizeHelper(T(&array)[N]))[N]; // NOLINT(readability/casting)
75 #define arraysize(array) (sizeof(ArraySizeHelper(array)))
97 // the array) and sizeof(*(arr)) (the # of bytes in one array
99 // indeed an array, in which case the division result is the # of
100 // elements in the array. Otherwise, arr cannot possibly be an array,
    [all...]
  /tools/loganalysis/tests/src/com/android/loganalysis/item/
MonkeyLogItemTest.java 59 private boolean in(String value, JSONArray array) throws JSONException {
60 for (int i = 0; i < array.length(); i++) {
61 if (value.equals(array.get(i))) {
  /tools/test/connectivity/acts/framework/acts/test_utils/audio_analysis_lib/
audio_analysis.py 62 A numpy array containing normalized signal. The normalized signal has
66 signal = numpy.array(signal)
159 A numpy array containing frequency corresponding to numpy.fft.rfft
170 def peak_detection(array, window_size):
171 """Detects peaks in an array.
173 A point (i, array[i]) is a peak if array[i] is the maximum among
174 array[i - half_window_size] to array[i + half_window_size].
175 If array[i - half_window_size] to array[i + half_window_size] are all equal
    [all...]
  /external/tensorflow/tensorflow/python/kernel_tests/
parsing_ops_test.py 136 np.array(
141 a_name: np.array(2 * [[a_default]]),
142 b_name: np.array(2 * [b_default]),
143 c_name: np.array(2 * [c_default]),
268 np.array(
269 [[0, 0], [0, 1], [3, 0], [3, 1], [3, 2]], dtype=np.int64), np.array(
270 [3.0, 4.0, 1.0, 2.0, -1.0], dtype=np.float32), np.array(
274 np.array(
275 [[3, 0]], dtype=np.int64), np.array(
276 ["hi"], dtype=bytes), np.array(
    [all...]
diag_op_test.py 36 v = np.array([1.0, 2.0, 3.0])
44 v_batch = np.array([[1.0, 0.0, 3.0], [4.0, 5.0, 6.0]]).astype(dtype)
45 mat_batch = np.array([[[1.0, 0.0, 0.0], [0.0, 0.0, 0.0], [0.0, 0.0, 3.0]],
86 v = np.array([1.0, 2.0, 3.0])
87 mat = np.array([[0.0, 1.0, 0.0], [1.0, 0.0, 1.0], [1.0, 1.0, 1.0]])
88 mat_set_diag = np.array([[1.0, 1.0, 0.0], [1.0, 2.0, 1.0],
96 v = np.array([3.0, 4.0])
97 mat = np.array([[0.0, 1.0, 0.0], [1.0, 0.0, 1.0]])
98 expected = np.array([[3.0, 1.0, 0.0], [1.0, 4.0, 1.0]])
103 v = np.array([3.0, 4.0]
    [all...]
  /external/eigen/unsupported/Eigen/CXX11/src/Tensor/
Tensor.h 92 static const bool is_array = internal::is_base_of<array<Index, NumIndices>, CustomIndices>::value;
119 return coeff(array<Index, NumIndices>{{firstIndex, secondIndex, otherIndices...}});
124 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar& coeff(const array<Index, NumIndices>& indices) const
159 return coeffRef(array<Index, NumIndices>{{firstIndex, secondIndex, otherIndices...}});
164 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar& coeffRef(const array<Index, NumIndices>& indices)
199 return this->operator()(array<Index, NumIndices>{{firstIndex, secondIndex, otherIndices...}});
205 return coeff(array<Index, 2>(i0, i1));
210 return coeff(array<Index, 3>(i0, i1, i2));
215 return coeff(array<Index, 4>(i0, i1, i2, i3));
220 return coeff(array<Index, 5>(i0, i1, i2, i3, i4))
    [all...]
  /prebuilts/ndk/r16/sources/third_party/vulkan/src/layers/
parameter_validation_utils.h 158 * Validate array count and pointer to array.
160 * Verify that required count and array parameters are not 0 or NULL. If the
161 * count parameter is not optional, verify that it is not 0. If the array
167 * @param arrayName Name of array parameter.
168 * @param count Number of elements in the array.
169 * @param array Array to validate.
171 * @param arrayRequired The 'array' parameter may not be NULL when true.
176 const ParameterName &arrayName, T count, const void *array, bool countRequired, bool arrayRequired)
    [all...]
  /prebuilts/tools/common/fest/
fest-util-1.1.3.jar 
  /system/core/libutils/
VectorImpl.cpp 126 ssize_t VectorImpl::insertArrayAt(const void* array, size_t index, size_t length)
132 _do_copy(where, array, length);
137 ssize_t VectorImpl::appendArray(const void* array, size_t length)
139 return insertArrayAt(array, size(), length);
179 void* array = const_cast<void*>(arrayImpl()); local
183 void* item = reinterpret_cast<char*>(array) + mItemSize*(i);
184 void* curr = reinterpret_cast<char*>(array) + mItemSize*(i-1);
188 // we're going to have to modify the array...
189 array = editArrayImpl();
190 if (!array) return NO_MEMORY
    [all...]
  /external/capstone/bindings/ocaml/
ocaml.c 31 CAMLlocal5(list, cons, rec_insn, array, tmp);
54 array = caml_alloc(lcount, 0);
56 Store_field(array, i, Val_int(insn[j-1].bytes[i]));
59 array = Atom(0); // empty list
60 Store_field(rec_insn, 3, array);
69 array = caml_alloc(lcount, 0);
71 Store_field(array, i, Val_int(insn[j-1].detail->regs_read[i]));
74 array = Atom(0); // empty list
76 array = Atom(0); // empty list
77 Store_field(rec_insn, 6, array);
    [all...]
  /external/eigen/test/
mapstride.cpp 24 Scalar* array = a_array; local
26 array = (Scalar*)(internal::IntPtr(a_array) + (internal::packet_traits<Scalar>::AlignedOnScalar?sizeof(Scalar):sizeof(typename NumTraits<Scalar>::Real)));
29 Map<VectorType, Alignment, InnerStride<3> > map(array, size);
33 VERIFY(array[3*i] == v[i]);
39 Map<VectorType, Unaligned, InnerStride<Dynamic> > map(array, size, InnerStride<Dynamic>(2));
43 VERIFY(array[2*i] == v[i]);
81 Scalar* array = (k==0 ? array1 : array2); local
83 Map<MatrixType, Alignment, OuterStride<Dynamic> > map(array, rows, cols, OuterStride<Dynamic>(m.innerSize()+1));
89 VERIFY(array[map.outerStride()*i+j] == m.coeffByOuterInner(i,j));
103 Scalar* array = (k==0 ? array1 : array2) local
129 Scalar* array = (k==0 ? array1 : array2); local
    [all...]
  /frameworks/native/services/surfaceflinger/tests/hwc2/
Hwc2TestProperties.h 20 #include <array>
88 const std::array<bool, 6>& compositionSupport)
94 const std::array<bool, 6>& compositionSupport)
132 const std::array<bool, 6>& mCompositionSupport;
166 static const std::array<bool, 6> mCompositionSupport;
189 static const std::array<bool, 6> mCompositionSupport;
214 static const std::array<bool, 6> mCompositionSupport;
229 static const std::array<bool, 6> mCompositionSupport;
244 static const std::array<bool, 6> mCompositionSupport;
266 static const std::array<bool, 6> mCompositionSupport
    [all...]
  /external/tensorflow/tensorflow/contrib/estimator/python/estimator/
head_test.py 186 logits = np.array(
192 features={'x': np.array(((42,),), dtype=np.int32)},
223 logits = np.array(
228 features={'x': np.array(((42,),), dtype=np.int32)},
243 logits = np.array(
250 'x': np.array(((42,),), dtype=np.int32),
272 logits = np.array([[-1., 1.], [-1.5, 1.]], dtype=np.float32)
273 labels = np.array([[1, 0], [1, 1]], dtype=np.int64)
279 features={'x': np.array(((42,),), dtype=np.int32)},
293 logits = np.array([[-10., 10.], [-15., 10.]], dtype=np.float32
    [all...]
  /external/icu/icu4c/source/common/
uset.cpp 18 * There are functions to efficiently serialize a USet into an array of uint16_t
319 * Important: the code points in the array are in ascending order,
327 * and add the bmpLength between it and the array.
371 fillSet->array=src;
382 fillSet->array=fillSet->staticArray;
411 const uint16_t* array; local
417 array=set->array;
422 if (c < array[0]) {
424 } else if (c < array[hi])
479 const uint16_t* array; local
    [all...]
  /external/tensorflow/tensorflow/python/kernel_tests/distributions/
gamma_test.py 68 x = np.array([2.5, 2.5, 4.0, 0.1, 1.0, 2.0], dtype=np.float32)
85 alpha_v = np.array([2.0, 4.0])
86 beta_v = np.array([3.0, 4.0])
87 x = np.array([[2.5, 2.5, 4.0, 0.1, 1.0, 2.0]], dtype=np.float32).T
106 alpha_v = np.array([2.0, 4.0])
108 x = np.array([[2.5, 2.5, 4.0, 0.1, 1.0, 2.0]], dtype=np.float32).T
130 x = np.array([2.5, 2.5, 4.0, 0.1, 1.0, 2.0], dtype=np.float32)
142 alpha_v = np.array([1.0, 3.0, 2.5])
143 beta_v = np.array([1.0, 4.0, 5.0])
153 alpha_v = np.array([5.5, 3.0, 2.5]
    [all...]
  /external/vulkan-validation-layers/layers/
parameter_validation.h 212 * Validate array count and pointer to array.
214 * Verify that required count and array parameters are not 0 or NULL. If the
215 * count parameter is not optional, verify that it is not 0. If the array
221 * @param arrayName Name of array parameter.
222 * @param count Number of elements in the array.
223 * @param array Array to validate.
225 * @param arrayRequired The 'array' parameter may not be NULL when true.
230 const ParameterName &arrayName, T count, const void *array, bool countRequired, bool arrayRequired
    [all...]
  /external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/stub/command/
AlloCommandHandlerTest.java 75 commandHandler.handleCommand(new Command(CommandNames.ALLO, array("123 R ")), session);
89 commandHandler.handleCommand(new Command(CommandNames.ALLO, array("xx")), session);
102 commandHandler.handleCommand(new Command(CommandNames.ALLO, array("123 R xx")), session);
119 command1 = new Command(CommandNames.ALLO, array(Integer.toString(BYTES1)));
120 command2 = new Command(CommandNames.ALLO, array(Integer.toString(BYTES2) + " R " + Integer.toString(RECORD_SIZE)));
  /external/skia/bench/
ResultsWriter.h 51 virtual void metrics(const char name[], const SkTArray<double>& array) {}
120 void metrics(const char name[], const SkTArray<double>& array) override {
123 value.resize(array.count());
124 for (int i = 0; i < array.count(); i++) {
126 value[i] = array[i];
  /external/skia/tests/
InterpolatorTest.cpp 12 static SkScalar* iset(SkScalar array[3], int a, int b, int c) {
13 array[0] = SkIntToScalar(a);
14 array[1] = SkIntToScalar(b);
15 array[2] = SkIntToScalar(c);
16 return array;
  /external/skqp/bench/
ResultsWriter.h 51 virtual void metrics(const char name[], const SkTArray<double>& array) {}
120 void metrics(const char name[], const SkTArray<double>& array) override {
123 value.resize(array.count());
124 for (int i = 0; i < array.count(); i++) {
126 value[i] = array[i];
  /external/skqp/tests/
InterpolatorTest.cpp 12 static SkScalar* iset(SkScalar array[3], int a, int b, int c) {
13 array[0] = SkIntToScalar(a);
14 array[1] = SkIntToScalar(b);
15 array[2] = SkIntToScalar(c);
16 return array;
  /external/tensorflow/tensorflow/compiler/tests/
variable_ops_test.py 46 init = np.array([[1, 2j], [3, 4]]).astype(dtype)
55 np.array([[2, 1 + 2j], [4, 5]]).astype(dtype), sess.run(y, {
61 init = np.array([[0, 1, 2, 3], [4, 5, 6, 7], [8j, 9, 10,
68 np.array([8j, 9, 10, 11]).astype(dtype), sess.run(x))
72 init = np.array([[0, 1, 2, 3], [4, 5, 6j, 7], [8, 9, 10,
79 np.array([[8, 9, 10, 11], [4, 5, 6j, 7]]).astype(dtype),
84 init = np.array([[0, 1, 2j, 3], [4, 5, 6, 7], [8, 9, 10,
91 np.array([[[8, 9, 10, 11], [4, 5, 6, 7]],
97 init = np.array([[[0, 1, 2], [3, 4, 5]], [[10, 11, 12], [13, 14, 15]],
105 np.array(
    [all...]

Completed in 1608 milliseconds

<<41424344454647484950>>