HomeSort by relevance Sort by last modified time
    Searched refs:SIZE (Results 151 - 175 of 986) sorted by null

1 2 3 4 5 67 8 91011>>

  /libcore/jsr166-tests/src/test/java/jsr166/
CopyOnWriteArrayListTest.java 43 assertEquals(n, a.size());
53 assertEquals(elements.length, a.size());
69 Integer[] ints = new Integer[SIZE];
70 for (int i = 0; i < SIZE - 1; ++i)
73 for (int i = 0; i < SIZE; ++i)
81 Integer[] ints = new Integer[SIZE];
82 for (int i = 0; i < SIZE - 1; ++i)
85 for (int i = 0; i < SIZE; ++i)
95 assertEquals(6, full.size());
97 assertEquals(9, full.size());
    [all...]
  /frameworks/av/services/audiopolicy/common/managerdefinitions/src/
AudioOutputDescriptor.cpp 51 if (port->mGains.size() > 0) {
188 const size_t SIZE = 256;
189 char buffer[SIZE];
192 snprintf(buffer, SIZE, " ID: %d\n", mId);
194 snprintf(buffer, SIZE, " Sampling rate: %d\n", mSamplingRate);
196 snprintf(buffer, SIZE, " Format: %08x\n", mFormat);
198 snprintf(buffer, SIZE, " Channels: %08x\n", mChannelMask);
200 snprintf(buffer, SIZE, " Devices %08x\n", device());
202 snprintf(buffer, SIZE, " Stream volume refCount muteCount\n");
205 snprintf(buffer, SIZE, " %02d %.03f %02d %02d\n"
    [all...]
AudioPolicyMix.cpp 57 const size_t SIZE = 256;
58 char buffer[SIZE];
61 snprintf(buffer, SIZE, "%*sAudio Policy Mix %d:\n", spaces, "", index+1);
68 snprintf(buffer, SIZE, "%*s- mix type: %s\n", spaces, "", mixTypeLiteral.c_str());
72 snprintf(buffer, SIZE, "%*s- Route Flags: %s\n", spaces, "", routeFlagLiteral.c_str());
76 snprintf(buffer, SIZE, "%*s- device type: %s\n", spaces, "", deviceLiteral.c_str());
78 snprintf(buffer, SIZE, "%*s- device address: %s\n", spaces, "", mMix.mDeviceAddress.string());
83 snprintf(buffer, SIZE, "%*s- Criterion %d:\n", spaces + 2, "", indexCriterion++);
90 snprintf(buffer, SIZE, "%*s- Usage:%s\n", spaces + 4, "", usageLiteral.c_str());
98 snprintf(buffer, SIZE, "%*s- Source:%s\n", spaces + 4, "", sourceLiteral.c_str())
    [all...]
IOProfile.cpp 105 const size_t SIZE = 256;
106 char buffer[SIZE];
111 snprintf(buffer, SIZE, " - flags: 0x%04x", getFlags());
123 write(fd, result.string(), result.size());
AudioProfile.cpp 45 if (left.size() != right.size()) {
48 for(size_t index = 0; index < right.size(); index++) {
79 if (orderOfDesiredRate < mSamplingRates.size()) {
111 for (size_t i = 0; i < mChannelMasks.size(); i ++) {
187 const size_t SIZE = 256;
188 char buffer[SIZE];
191 snprintf(buffer, SIZE, "%s%s%s\n", mIsDynamicFormat ? "[dynamic format]" : "",
196 snprintf(buffer, SIZE, "%*s- name: %s\n", spaces, "", mName.string());
201 snprintf(buffer, SIZE, "%*s- format: %s\n", spaces, "", formatLiteral.c_str())
    [all...]
StreamDescriptor.cpp 84 const size_t SIZE = 256;
85 char buffer[SIZE];
88 snprintf(buffer, SIZE, "%s %02d %02d ",
91 for (size_t i = 0; i < mIndexCur.size(); i++) {
92 snprintf(buffer, SIZE, "%04x : %02d, ",
99 write(fd, result.string(), result.size());
209 const size_t SIZE = 256;
210 char buffer[SIZE];
212 snprintf(buffer, SIZE, "\nStreams dump:\n");
214 snprintf(buffer, SIZE,
    [all...]
  /frameworks/native/libs/ui/
GraphicBufferAllocator.cpp 58 const size_t SIZE = 4096;
59 char buffer[SIZE];
60 snprintf(buffer, SIZE, "Allocated buffers:\n");
62 const size_t c = list.size();
65 if (rec.size) {
66 snprintf(buffer, SIZE, "%10p: %7.2f KiB | %4u (%4u) x %4u | %4u | %8X | 0x%" PRIx64
68 list.keyAt(i), rec.size/1024.0,
72 snprintf(buffer, SIZE, "%10p: unknown | %4u (%4u) x %4u | %4u | %8X | 0x%" PRIx64
79 total += rec.size;
81 snprintf(buffer, SIZE, "Total allocated (estimate): %.2f KB\n", total/1024.0)
    [all...]
  /device/asus/fugu/libaudio/
HDMIAudioOutput.cpp 120 const size_t SIZE = 256;
121 char buffer[SIZE];
123 snprintf(buffer, SIZE,
  /external/okhttp/okio/okio/src/test/java/okio/
BufferedSinkTest.java 89 assertEquals(0, data.size());
96 assertEquals("Buffer[size=2 data=abcd]", data.toString());
100 sink.writeUtf8(repeat('a', Segment.SIZE - 1));
104 assertEquals(asList(Segment.SIZE, 1), data.segmentSizes());
105 assertEquals(repeat('a', Segment.SIZE - 1), data.readUtf8(Segment.SIZE - 1));
106 assertEquals("Buffer[size=2 data=2021]", data.toString());
113 assertEquals("Buffer[size=4 data=abcd4321]", data.toString());
120 assertEquals("Buffer[size=4 data=cdab2143]", data.toString());
127 assertEquals("Buffer[size=8 data=abcdef0187654321]", data.toString())
    [all...]
  /external/webp/src/enc/
picture_tools_enc.c 26 #define SIZE 8
27 #define SIZE2 (SIZE / 2)
28 static int is_transparent_area(const uint8_t* ptr, int stride, int size) {
30 for (y = 0; y < size; ++y) {
31 for (x = 0; x < size; ++x) {
41 static int is_transparent_argb_area(const uint32_t* ptr, int stride, int size) {
43 for (y = 0; y < size; ++y) {
44 for (x = 0; x < size; ++x) {
54 static void flatten(uint8_t* ptr, int v, int stride, int size) {
56 for (y = 0; y < size; ++y)
    [all...]
  /hardware/interfaces/tests/foo/1.0/default/lib/include/hidl-test/
FooHelper.h 40 template<typename T, size_t SIZE>
41 std::string to_string(const hidl_array<T, SIZE> &array) {
42 return to_string(&array[0], SIZE);
71 return to_string(&vec[0], vec.size());
  /cts/tests/openglperf2/jni/primitive/shaderperf/
ShaderPerfRenderer.cpp 124 const int SIZE = 256;
125 uint32_t* m = new uint32_t[SIZE];
128 for (int i = 0; i < SIZE; i++) {
134 glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, SIZE, 1, 0, GL_RGBA, GL_UNSIGNED_BYTE, m);
  /external/dagger2/core/src/main/java/dagger/internal/
Collections.java 25 private static final int MAX_POWER_OF_TWO = 1 << (Integer.SIZE - 2);
  /external/eigen/bench/btl/libs/blitz/
tiny_blitz_interface.hh 33 template<class real, int SIZE>
44 typedef TinyVector<real,SIZE> gene_vector;
45 typedef TinyMatrix<real,SIZE,SIZE> gene_matrix;
54 for (int j=0; j<A_stl.size() ; j++)
55 for (int i=0; i<A_stl[j].size() ; i++)
60 for (int i=0; i<B_stl.size() ; i++)
65 for (int i=0; i<B_stl.size() ; i++)
70 int N = A_stl.size();
  /external/eigen/bench/btl/libs/tvmet/
tvmet_interface.hh 31 template<class real, int SIZE>
41 typedef Vector<real,SIZE> gene_vector;
42 typedef Matrix<real,SIZE,SIZE> gene_matrix;
51 for (int j=0; j<A_stl.size() ; j++)
52 for (int i=0; i<A_stl[j].size() ; i++)
57 for (int i=0; i<B_stl.size() ; i++)
62 for (int i=0; i<B_stl.size() ; i++){
68 int N = A_stl.size();
  /external/eigen/bench/
sparse_lu.cpp 11 #ifndef SIZE
12 #define SIZE 10
74 int rows = SIZE;
75 int cols = SIZE;
sparse_randomsetter.cpp 10 #ifndef SIZE
11 #define SIZE 10000
67 int rows = SIZE;
68 int cols = SIZE;
sparse_transpose.cpp 6 #ifndef SIZE
7 #define SIZE 10000
38 int rows = SIZE;
39 int cols = SIZE;
  /external/guava/guava/src/com/google/common/cache/
RemovalCause.java 84 * The entry was evicted due to size constraints. This can occur when using
87 SIZE {
  /external/webp/src/dsp/
neon.h 84 #define PRINT_REG(REG, SIZE) do { \
86 printf("%s \t[%d]: 0x", #REG, SIZE); \
87 if (SIZE == 8) { \
91 } else if (SIZE == 16) { \
  /frameworks/base/services/core/java/com/android/server/notification/
ZenLog.java 40 private static final int SIZE = Build.IS_DEBUGGABLE ? 100 : 20;
42 private static final long[] TIMES = new long[SIZE];
43 private static final int[] TYPES = new int[SIZE];
44 private static final String[] MSGS = new String[SIZE];
201 for (int i = 0; i < components.size(); ++i) {
216 sNext = (sNext + 1) % SIZE;
217 if (sSize < SIZE) {
226 final int start = (sNext - sSize + SIZE) % SIZE;
228 final int j = (start + i) % SIZE;
    [all...]
  /frameworks/native/libs/math/include/math/
vec2.h 55 static constexpr size_t SIZE = 2;
56 inline constexpr size_type size() const { return SIZE; } function in class:android::details::TVec2
62 assert(i < SIZE);
68 assert(i < SIZE);
98 // cross product works only on vectors of size 2 or 3
  /libcore/ojluni/src/main/java/java/util/stream/
AbstractSpinedBuffer.java 40 * Minimum size for the first chunk.
50 * Minimum array size for array-of-chunks.
56 * log2 of the size of the first chunk.
94 Integer.SIZE - Integer.numberOfLeadingZeros(initialCapacity - 1));
  /external/e2fsprogs/tests/scripts/
mkdup 3 SIZE=4096
14 dd if=/dev/zero of=$IMG bs=1k count=$SIZE
15 echo $MKE2FS -F -t ext4 -L test $OPTS test.img $SIZE
16 $MKE2FS -F -t ext4 -L test $OPTS $IMG $SIZE
  /external/eigen/bench/btl/libs/eigen2/
eigen2_interface.hh 30 template<class real, int SIZE=Dynamic>
36 enum {IsFixedSize = (SIZE!=Dynamic)};
43 typedef Eigen::Matrix<real,SIZE,SIZE> gene_matrix;
44 typedef Eigen::Matrix<real,SIZE,1> gene_vector;
49 if (SIZE==Dynamic) return "eigen2"; else return "tiny_eigen2";
51 if (SIZE==Dynamic) return "eigen2"; else return "tiny_eigen2";
53 if (SIZE==Dynamic) return "eigen2_novec"; else return "tiny_eigen2_novec";
62 A.resize(A_stl[0].size(), A_stl.size());
    [all...]

Completed in 758 milliseconds

1 2 3 4 5 67 8 91011>>