/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...] |