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

<<31323334353637383940>>

  /external/fonttools/Lib/fontTools/ttLib/tables/
T_S_I__5.py 6 import array
14 a = array.array("H")
24 a = array.array("H")
_c_v_t.py 6 import array
11 values = array.array("h")
31 self.values = array.array("h")
  /external/harfbuzz_ng/src/
sample.py 6 import array
58 hb.buffer_add_utf32 (buf, array.array('I', text.encode('utf-32')), 0, -1)
60 hb.buffer_add_utf16 (buf, array.array('H', text.encode('utf-16')), 0, -1)
  /external/libcxx/test/std/containers/sequences/array/array.tuple/
tuple_element.pass.cpp 10 // <array>
12 // tuple_element<I, array<T, N> >::type
14 #include <array>
22 typedef std::array<T, 3> C;
29 typedef std::array<T, 3> const C;
36 typedef std::array<T, 3> volatile C;
43 typedef std::array<T, 3> const volatile C;
  /external/mesa3d/src/gallium/auxiliary/util/
u_surfaces.h 40 struct pipe_surface **array; member in union:util_surfaces::__anon29457
59 if(likely((pt->target == PIPE_TEXTURE_2D || pt->target == PIPE_TEXTURE_RECT) && us->u.array))
61 struct pipe_surface *ps = us->u.array[level];
82 return us->u.array[level];
92 us->u.array[ps->u.tex.level] = 0;
  /external/mockftpserver/MockFtpServer/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/protobuf/java/core/src/main/java/com/google/protobuf/
ByteBufferWriter.java 93 // Optimized write for array-backed buffers.
94 // Note that we're taking the risk that a malicious OutputStream could modify the array.
95 output.write(buffer.array(), buffer.arrayOffset() + buffer.position(), buffer.remaining());
100 // Read all of the data from the buffer to an array.
102 final byte[] array = getOrCreateBuffer(buffer.remaining());
104 int length = min(buffer.remaining(), array.length);
105 buffer.get(array, 0, length);
106 output.write(array, 0, length);
  /hardware/libhardware/modules/camera/3_4/metadata/
test_common.h 20 #include <array>
64 // Array of items.
68 const std::array<T, N>& expected) {
85 const std::vector<std::array<T, N>>& expected) {
86 // Convert to array vector so we know all the elements are contiguous.
88 for (const auto& array : expected) {
89 array_vector.push_back(array);
  /prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/containers/sequences/array/array.tuple/
tuple_element.pass.cpp 10 // <array>
12 // tuple_element<I, array<T, N> >::type
14 #include <array>
22 typedef std::array<T, 3> C;
29 typedef std::array<T, 3> const C;
36 typedef std::array<T, 3> volatile C;
43 typedef std::array<T, 3> const volatile C;
  /art/test/530-checker-lse/src/
Main.java 694 static int sumWithFilter(int[] array, Filter f) {
696 for (int i = 0; i < array.length; i++) {
697 if (f.isValid(array[i])) {
698 sum += array[i];
717 static int sumWithinRange(int[] array, final int low, final int high) {
723 return sumWithFilter(array, filter);
874 private static int testNoSideEffects(int[] array) {
875 array[0] = 101;
876 array[1] = 102;
878 array[1] = 103
989 int[] array = new int[4]; local
1009 int[] array = new int[3]; local
1029 int[] array = new int[4]; local
1049 int[] array = new int[4]; local
1067 int[] array = new int[i]; local
1132 Object[] array = new Object[2]; local
1200 int[] array = {2, 5, 9, -1, -3, 10, 8, 4}; local
    [all...]
  /frameworks/support/collection/src/main/java/androidx/collection/
ArraySet.java 25 import java.lang.reflect.Array;
35 * separate from ArrayMap, however, so the Object array contains only one item for each
41 * and deleting entries in the array. For containers holding up to hundreds of items,
45 * standard Java containers it will shrink its array as items are removed from it. Currently
63 * Maximum number of entries to have in array caches.
68 * Caches of small array objects to avoid spamming garbage. The cache
69 * Object[] variable is a pointer to a linked list of array objects.
70 * The first entry in the array is a pointer to the next array in the
71 * list; the second entry is a pointer to the int[] hash code array for it
164 final Object[] array = sTwiceBaseCache; local
180 final Object[] array = sBaseCache; local
    [all...]
  /libcore/ojluni/src/main/java/java/util/
Spliterators.java 114 // Array-based spliterators
117 * Creates a {@code Spliterator} covering the elements of a given array,
123 * which a Spliterator for an array is needed should use
132 * @param array The array, assumed to be unmodified during use
136 * @return A spliterator for an array
137 * @throws NullPointerException if the given array is {@code null}
140 public static <T> Spliterator<T> spliterator(Object[] array,
142 return new ArraySpliterator<>(Objects.requireNonNull(array),
148 * array, using a customized set of spliterator characteristics
900 private final Object[] array; field in class:Spliterators.ArraySpliterator
985 private final int[] array; field in class:Spliterators.IntArraySpliterator
1068 private final long[] array; field in class:Spliterators.LongArraySpliterator
1151 private final double[] array; field in class:Spliterators.DoubleArraySpliterator
    [all...]
  /packages/apps/Camera2/src/com/android/camera/settings/
Keys.java 91 context.getResources().getIntArray(R.array.pref_countdown_duration));
95 context.getResources().getStringArray(R.array.camera_id_entryvalues));
99 context.getResources().getStringArray(R.array.pref_camera_scenemode_entryvalues));
103 context.getResources().getStringArray(R.array.pref_camera_flashmode_entryvalues));
107 context.getResources().getStringArray(R.array.pref_camera_hdr_supportmode_entryvalues));
116 context.getResources().getStringArray(R.array.pref_camera_focusmode_entryvalues));
130 context.getResources().getStringArray(R.array.pref_video_quality_entryvalues));
138 context.getResources().getStringArray(R.array.pref_video_quality_entryvalues));
147 R.array.pref_camera_jpeg_quality_entryvalues));
152 R.array.pref_camera_video_flashmode_entryvalues))
    [all...]
  /system/connectivity/wifilogd/tests/
memory_reader_unittest.cpp 17 #include <array>
31 constexpr std::array<uint8_t, 1> buffer{};
37 constexpr std::array<uint8_t, 0> buffer{};
48 constexpr std::array<uint8_t, 3> buffer{{1, 2, 3}};
62 constexpr std::array<uint8_t, 3> buffer{{1, 2, 3}};
110 constexpr std::array<uint8_t, 1024> buffer{};
116 constexpr std::array<uint8_t, 1024> buffer{};
122 constexpr std::array<uint8_t, 1024> buffer{};
131 constexpr std::array<uint8_t, 1> buffer{};
137 constexpr std::array<uint8_t, 0> buffer{}
    [all...]
  /external/eigen/bench/tensors/
tensor_benchmarks.h 48 Eigen::array<TensorIndex, 2> sizes;
69 Eigen::array<TensorIndex, 2> sizes;
84 Eigen::array<TensorIndex, 2> sizes;
114 Eigen::array<TensorIndex, 2> input_size;
118 Eigen::array<TensorIndex, 1> output_size;
131 Eigen::array<TensorIndex, 2> input_size;
135 Eigen::array<TensorIndex, 1> output_size;
149 Eigen::array<TensorIndex, 2> size_a;
153 Eigen::array<TensorIndex, 2> size_b;
158 Eigen::array<int, 2> shuffle
    [all...]
  /external/icu/icu4c/source/common/
edits.cpp 27 // m or n = 61: actual length follows in the next edits array unit.
28 // m or n = 62..63: actual length follows in the next two edits array units.
37 if (array != stackArray) {
38 uprv_free(array); variable
55 array = newArray;
59 uprv_memcpy(array, other.array, (size_t)length * 2);
71 array = src.array;
73 src.array = src.stackArray
    [all...]
  /external/tensorflow/tensorflow/python/estimator/canned/
head_test.py 155 logits_2x2 = np.array(((45., 44.), (41., 42.),))
160 features={'x': np.array(((30.,), (42.,),))},
167 features={'x': np.array(((30.,), (42.,),))},
183 labels_2x2 = np.array(((45, 44), (41, 42),), dtype=np.int)
184 logits_2x3 = np.array(((1., 2., 3.), (1., 2., 3.),))
185 features = {'x': np.array(((42.,),))}
219 labels_2x1 = np.array(((1.,), (1.,),))
220 logits_2x3 = np.array(((1., 2., 3.), (1., 2., 3.),))
221 features = {'x': np.array(((42.,),))}
246 labels_2x1_with_large_id = np.array(((45,), (1,),), dtype=np.int
    [all...]
  /external/mesa3d/src/mesa/swrast/
s_aatritemp.h 196 span.array = SWRAST_CONTEXT(ctx)->SpanArrays + omp_get_thread_num();
224 SWspanarrays *array = span.array;
225 array->coverage[count] = coverage;
227 array->z[count] = (GLuint) solve_plane(cx, cy, zPlane);
229 array->rgba[count][RCOMP] = solve_plane_chan(cx, cy, rPlane);
230 array->rgba[count][GCOMP] = solve_plane_chan(cx, cy, gPlane);
231 array->rgba[count][BCOMP] = solve_plane_chan(cx, cy, bPlane);
232 array->rgba[count][ACOMP] = solve_plane_chan(cx, cy, aPlane);
265 span.array = SWRAST_CONTEXT(ctx)->SpanArrays + omp_get_thread_num()
    [all...]
s_span.c 167 * fill in span->array->attribs[].
178 * Don't overwrite existing array values, such as colors that may have
198 span->array->attribs[attr][k][0] = v0 * invW;
199 span->array->attribs[attr][k][1] = v1 * invW;
200 span->array->attribs[attr][k][2] = v2 * invW;
201 span->array->attribs[attr][k][3] = v3 * invW;
216 * Interpolate primary colors to fill in the span->array->rgba8 (or rgb16)
217 * color array.
229 switch (span->array->ChanType) {
233 GLubyte (*rgba)[4] = span->array->rgba8
    [all...]
  /hardware/google/easel/amber/camera/include/
HdrPlusTypes.h 19 #include <array>
137 // Pixel array resolution.
141 // Active array resolution.
224 std::vector<std::array<T, SIZE>> values);
228 std::array<T, SIZE> values);
247 std::array<int32_t, 2> sensitivityRange; // android.sensor.info.sensitivityRange
249 std::array<int32_t, 2> pixelArraySize; // android.sensor.info.pixelArraySize
250 std::array<int32_t, 4> activeArraySize; // android.sensor.info.activeArraySize
251 std::vector<std::array<int32_t, 4>> opticalBlackRegions; // android.sensor.opticalBlackRegions
253 std::vector<std::array<int32_t, 4>> availableStreamConfigurations
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
LayerDrawableTest.java 98 Drawable[] array = new Drawable[]{mBitmapDrawable, mColorDrawable}; local
99 LayerDrawable layerDrawable = new LayerDrawable(array);
100 assertEquals(array.length, layerDrawable.getNumberOfLayers());
104 array = new Drawable[0];
105 layerDrawable = new LayerDrawable(array);
116 Drawable[] array = new Drawable[0]; local
117 LayerDrawable layerDrawable = new LayerDrawable(array);
135 layerDrawable = new LayerDrawable(array);
171 Drawable[] array = new Drawable[] { mBitmapDrawable, mColorDrawable }; local
172 LayerDrawable layerDrawable = new LayerDrawable(array);
193 Drawable[] array = new Drawable[] { mBitmapDrawable, mColorDrawable }; local
209 Drawable[] array = new Drawable[] { mBitmapDrawable, mColorDrawable }; local
216 Drawable[] array = new Drawable[] { mBitmapDrawable, mColorDrawable }; local
223 Drawable[] array = new Drawable[] { mBitmapDrawable, mColorDrawable }; local
230 Drawable[] array = new Drawable[] { mBitmapDrawable, mColorDrawable }; local
237 Drawable[] array = new Drawable[] { mBitmapDrawable, mColorDrawable }; local
255 Drawable[] array = new Drawable[] { mBitmapDrawable, mColorDrawable }; local
314 Drawable[] array = new Drawable[] { firstLayer, secondLayer }; local
345 Drawable[] array = new Drawable[0]; local
365 Drawable[] array = new Drawable[0]; local
385 Drawable[] array = new Drawable[0]; local
407 Drawable[] array = new Drawable[] { mockDrawable1, mockDrawable2 }; local
433 Drawable[] array = new Drawable[] { mBitmapDrawable, mColorDrawable }; local
444 Drawable[] array = new Drawable[] { new ShapeDrawable(), new ShapeDrawable() }; local
495 Drawable[] array = new Drawable[] { mBitmapDrawable, mColorDrawable }; local
515 Drawable[] array = new Drawable[] { mockDrawable1, mockDrawable2 }; local
534 Drawable[] array = new Drawable[] { mockDrawable1, mockDrawable2 }; local
548 Drawable[] array = new Drawable[] { mockDrawable1, mockDrawable2 }; local
561 Drawable[] array = new Drawable[] { mockDrawable1, mockDrawable2 }; local
579 Drawable[] array = new Drawable[] { mockDrawable1, mockDrawable2 }; local
595 Drawable[] array = new Drawable[0]; local
630 Drawable[] array = new Drawable[0]; local
647 Drawable[] array = new Drawable[] { mockDrawable1, mockDrawable2 }; local
685 Drawable[] array = new Drawable[] { mockDrawable1, mockDrawable2 }; local
701 Drawable[] array = new Drawable[] { mockDrawable1, mockDrawable2 }; local
739 Drawable[] array = new Drawable[] { mockDrawable1, mockDrawable2 }; local
795 Drawable[] array = new Drawable[] { largeMockDrawable, smallMockDrawable }; local
838 Drawable[] array = new Drawable[] { largeMockDrawable, smallMockDrawable }; local
874 Drawable[] array = new Drawable[] { mBitmapDrawable, mColorDrawable }; local
888 Drawable[] array = new Drawable[] { new GradientDrawable(), new ColorDrawable(Color.BLUE) }; local
900 Drawable[] array = new Drawable[] { mBitmapDrawable, mColorDrawable }; local
914 Drawable[] array = new Drawable[] { mBitmapDrawable, mColorDrawable }; local
927 Drawable[] array = new Drawable[] { mBitmapDrawable, mColorDrawable }; local
947 Drawable[] array = new Drawable[] { mBitmapDrawable }; local
956 Drawable[] array = new Drawable[] { mBitmapDrawable }; local
965 Drawable[] array = new Drawable[] { mBitmapDrawable }; local
974 Drawable[] array = new Drawable[] { mBitmapDrawable }; local
983 Drawable[] array = new Drawable[] { mBitmapDrawable }; local
994 Drawable[] array = new Drawable[] { mBitmapDrawable }; local
1005 Drawable[] array = new Drawable[] { mBitmapDrawable }; local
1019 Drawable[] array = new Drawable[] { mBitmapDrawable }; local
1033 Drawable[] array = new Drawable[] { mBitmapDrawable, mColorDrawable }; local
1050 Drawable[] array = new Drawable[] { mBitmapDrawable, mColorDrawable }; local
1067 Drawable[] array = new Drawable[] { mBitmapDrawable, mColorDrawable }; local
1084 Drawable[] array = new Drawable[] { mBitmapDrawable, mColorDrawable }; local
1101 Drawable[] array = new Drawable[] { mBitmapDrawable, mColorDrawable }; local
1118 Drawable[] array = new Drawable[] { mBitmapDrawable, mColorDrawable }; local
1135 Drawable[] array = new Drawable[] { mBitmapDrawable, mColorDrawable }; local
1161 Drawable[] array = new Drawable[] { firstLayer, secondLayer }; local
1197 Drawable[] array = new Drawable[] { mBitmapDrawable }; local
1223 Drawable[] array = new Drawable[] { mBitmapDrawable }; local
1246 Drawable[] array = new Drawable[] { mBitmapDrawable }; local
1272 Drawable[] array = new Drawable[] { mBitmapDrawable }; local
1295 Drawable[] array = new Drawable[] { mBitmapDrawable }; local
1321 Drawable[] array = new Drawable[] { mBitmapDrawable }; local
1344 Drawable[] array = new Drawable[] { mBitmapDrawable }; local
1370 Drawable[] array = new Drawable[] { mBitmapDrawable }; local
1393 Drawable[] array = new Drawable[] { mBitmapDrawable }; local
1419 Drawable[] array = new Drawable[] { mBitmapDrawable }; local
1442 Drawable[] array = new Drawable[] { mBitmapDrawable }; local
1469 Drawable[] array = new Drawable[] { mBitmapDrawable }; local
    [all...]
  /external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/
BytesTest.java 168 byte[] array = {(byte) 0, (byte) 1, (byte) 0x55};
171 assertTrue(Arrays.equals(array, Bytes.toArray(three)));
173 assertTrue(Arrays.equals(array, Bytes.toArray(Bytes.asList(array))));
202 byte[] array = {(byte) 0, (byte) 1, (byte) 2};
211 assertTrue(Arrays.equals(array, Bytes.toArray(bytes)));
212 assertTrue(Arrays.equals(array, Bytes.toArray(shorts)));
213 assertTrue(Arrays.equals(array, Bytes.toArray(ints)));
214 assertTrue(Arrays.equals(array, Bytes.toArray(floats)));
215 assertTrue(Arrays.equals(array, Bytes.toArray(longs)))
    [all...]
  /external/guava/guava-tests/test/com/google/common/primitives/
BytesTest.java 170 byte[] array = {(byte) 0, (byte) 1, (byte) 0x55};
173 assertTrue(Arrays.equals(array, Bytes.toArray(three)));
175 assertTrue(Arrays.equals(array, Bytes.toArray(Bytes.asList(array))));
204 byte[] array = {(byte) 0, (byte) 1, (byte) 2};
213 assertTrue(Arrays.equals(array, Bytes.toArray(bytes)));
214 assertTrue(Arrays.equals(array, Bytes.toArray(shorts)));
215 assertTrue(Arrays.equals(array, Bytes.toArray(ints)));
216 assertTrue(Arrays.equals(array, Bytes.toArray(floats)));
217 assertTrue(Arrays.equals(array, Bytes.toArray(longs)))
    [all...]
  /external/autotest/client/cros/cellular/mbim_compliance/
mbim_message_unittest.py 5 import array
101 message_data = array.array('B', [0x02, 0xAA])
112 message_data = array.array('B', [0x02, 0xAA, 0xAA, 0XCC, 0xED, 0x98,
116 self.assertEqual(message.payload_buffer, array.array('B', [0x50, 0x40]))
123 packets = [array.array('B', [0x01, 0x00, 0x00, 0x80, 0x10, 0x00, 0x00,
140 packets = [array.array('B', [0x02, 0x00, 0x00, 0x80, 0x10, 0x00, 0x00
    [all...]
  /external/protobuf/javanano/src/main/java/com/google/protobuf/nano/
Extension.java 34 import java.lang.reflect.Array;
134 * @param clazz the Java array type of this extension, with an unboxed component type
150 * Protocol Buffer {@link #type}; for a repeated extension, this is an array type whose
203 T result = clazz.cast(Array.newInstance(clazz.getComponentType(), resultSize));
205 Array.set(result, i, resultList.get(i));
285 protected void writeRepeatedData(Object array, CodedOutputByteBufferNano output) {
287 int arrayLength = Array.getLength(array);
289 Object element = Array.get(array, i)
    [all...]

Completed in 1316 milliseconds

<<31323334353637383940>>