Searched refs:count (Results 1 - 25 of 124) sorted by relevance

12345

/system/media/audio_utils/
H A Dprimitives.c35 void memcpy_to_i16_from_u8(int16_t *dst, const uint8_t *src, size_t count) argument
37 dst += count;
38 src += count;
39 while (count--) {
44 void memcpy_to_u8_from_i16(uint8_t *dst, const int16_t *src, size_t count) argument
46 while (count--) {
51 void memcpy_to_i16_from_i32(int16_t *dst, const int32_t *src, size_t count) argument
53 while (count--) {
58 void memcpy_to_i16_from_float(int16_t *dst, const float *src, size_t count) argument
60 while (count
65 memcpy_to_float_from_q4_27(float *dst, const int32_t *src, size_t count) argument
72 memcpy_to_float_from_i16(float *dst, const int16_t *src, size_t count) argument
79 memcpy_to_float_from_p24(float *dst, const uint8_t *src, size_t count) argument
87 memcpy_to_i16_from_p24(int16_t *dst, const uint8_t *src, size_t count) argument
99 memcpy_to_p24_from_i16(uint8_t *dst, const int16_t *src, size_t count) argument
114 memcpy_to_p24_from_float(uint8_t *dst, const float *src, size_t count) argument
131 memcpy_to_p24_from_q8_23(uint8_t *dst, const int32_t *src, size_t count) argument
148 memcpy_to_q8_23_from_i16(int32_t *dst, const int16_t *src, size_t count) argument
155 memcpy_to_q8_23_from_float_with_clamp(int32_t *dst, const float *src, size_t count) argument
162 memcpy_to_q4_27_from_float(int32_t *dst, const float *src, size_t count) argument
169 memcpy_to_i16_from_q8_23(int16_t *dst, const int32_t *src, size_t count) argument
176 memcpy_to_float_from_q8_23(float *dst, const int32_t *src, size_t count) argument
183 memcpy_to_i32_from_i16(int32_t *dst, const int16_t *src, size_t count) argument
190 memcpy_to_i32_from_float(int32_t *dst, const float *src, size_t count) argument
197 memcpy_to_float_from_i32(float *dst, const int32_t *src, size_t count) argument
204 downmix_to_mono_i16_from_stereo_i16(int16_t *dst, const int16_t *src, size_t count) argument
212 upmix_to_stereo_i16_from_mono_i16(int16_t *dst, const int16_t *src, size_t count) argument
222 nonZeroMono32(const int32_t *samples, size_t count) argument
233 nonZeroMono16(const int16_t *samples, size_t count) argument
244 nonZeroStereo32(const int32_t *frames, size_t count) argument
256 nonZeroStereo16(const int16_t *frames, size_t count) argument
289 memcpy_by_channel_mask(void *dst, uint32_t dst_mask, const void *src, uint32_t src_mask, size_t sample_size, size_t count) argument
356 memcpy_by_index_array(void *dst, uint32_t dst_channels, const void *src, uint32_t src_channels, const int8_t *idxary, size_t sample_size, size_t count) argument
[all...]
H A Dformat.c25 const void *src, audio_format_t src_format, size_t count)
35 memcpy(dst, src, count * audio_bytes_per_sample(dst_format));
45 memcpy_to_i16_from_float((int16_t*)dst, (float*)src, count);
48 memcpy_to_i16_from_p24((int16_t*)dst, (uint8_t*)src, count);
51 memcpy_to_i16_from_i32((int16_t*)dst, (int32_t*)src, count);
54 memcpy_to_i16_from_q8_23((int16_t*)dst, (int32_t*)src, count);
63 memcpy_to_float_from_i16((float*)dst, (int16_t*)src, count);
66 memcpy_to_float_from_p24((float*)dst, (uint8_t*)src, count);
69 memcpy_to_float_from_i32((float*)dst, (int32_t*)src, count);
72 memcpy_to_float_from_q8_23((float*)dst, (int32_t*)src, count);
24 memcpy_by_audio_format(void *dst, audio_format_t dst_format, const void *src, audio_format_t src_format, size_t count) argument
[all...]
/system/extras/tests/bionic/libc/bionic/
H A Dtest_getgrouplist.c37 int count = MAX_GROUPS; local
45 ret = getgrouplist( TEST_USER, TEST_GROUP, groups, &count );
48 ret, count);
/system/core/include/cutils/
H A Daref.h36 volatile int32_t count; member in struct:aref
41 r->count = 1;
46 return r->count;
51 android_atomic_inc(&r->count);
56 if (android_atomic_dec(&r->count) == 1)
/system/core/toolbox/
H A Ddynarray.c8 a->count = a->capacity = 0;
14 dynarray_reserve_more( dynarray_t *a, int count )
20 int new_count = a->count + count;
22 if (count <= 0)
25 if (count > max_cap - a->count)
28 new_count = a->count + count;
48 if (a->count >
[all...]
H A Dhd.c23 int count = 0; local
35 count = strtol(optarg, NULL, 0);
48 fprintf(stderr, "Usage: %s [-b base] [-c count] [-r delay] file\n", argv[0]);
67 if(count > 0 && base + count - filepos < read_len)
68 read_len = base + count - filepos;
89 if(filepos == base + count)
H A Dumount.c31 int count; local
44 count = fscanf(f, "%255s %255s %255s\n", device, mount_path, rest);
45 if (count == 3) {
52 } while (count == 3);
H A Ddynarray.h8 int count; member in struct:__anon235
35 for (;_nn_##__LINE__ < (_array)->count; ++ _nn_##__LINE__) { \
/system/core/liblog/
H A Duio.c22 int readv( int fd, struct iovec* vecs, int count )
26 for ( ; count > 0; count--, vecs++ ) {
49 int writev( int fd, const struct iovec* vecs, int count )
53 for ( ; count > 0; count--, vecs++ ) {
H A Dfake_log_device.h26 ssize_t fakeLogWritev(int fd, const struct iovec* vector, int count);
/system/core/libsync/
H A Dsw_sync.h30 int sw_sync_timeline_inc(int fd, unsigned count);
/system/core/include/log/
H A Duio.h38 extern int readv( int fd, struct iovec* vecs, int count );
39 extern int writev( int fd, const struct iovec* vecs, int count );
/system/core/libcutils/arch-arm64/
H A Dandroid_memset.S42 #define count x2 define
80 cmp count, #64
83 cmp count, #15
86 ands tmp1, count, #0x30
99 and count, count, #15
100 add dst, dst, count
107 tbz count, #3, 1f
110 tbz count, #2, 1f
113 tbz count, #
[all...]
/system/core/libsysutils/src/
H A DServiceManager.cpp54 int count = SLEEP_MAX_USEC; local
55 while(count > 0) {
57 count -= SLEEP_MIN_USEC;
61 if (count <= 0) {
83 int count = SLEEP_MAX_USEC; local
84 while(count > 0) {
86 count -= SLEEP_MIN_USEC;
91 if (count <= 0) {
H A DNetlinkListener.cpp47 ssize_t count; local
50 count = TEMP_FAILURE_RETRY(uevent_kernel_multicast_uid_recv(
52 if (count < 0) {
60 if (evt->decode(mBuffer, count, mFormat)) {
/system/core/logcat/tests/
H A Dlogcat_test.cpp55 int count = 0; local
64 ++count;
72 EXPECT_EQ(4, count);
84 int count = 0; local
90 ++count;
96 ASSERT_EQ(3, count);
108 int count = 0; local
114 ++count;
120 ASSERT_EQ(10, count);
132 int count local
156 int count = 0; local
179 int count = 0; local
251 int count = 0; local
283 int count = 0; local
372 int count = 0; local
441 int count = 0; local
503 int count = 0; local
550 int count = 0; local
[all...]
/system/media/audio_utils/include/audio_utils/
H A Dprimitives.h54 * count Number of samples to copy
58 void memcpy_to_i16_from_u8(int16_t *dst, const uint8_t *src, size_t count);
64 * count Number of samples to copy
69 void memcpy_to_u8_from_i16(uint8_t *dst, const int16_t *src, size_t count);
75 * count Number of samples to copy
80 void memcpy_to_i16_from_i32(int16_t *dst, const int32_t *src, size_t count);
88 * count Number of samples to copy
93 void memcpy_to_i16_from_float(int16_t *dst, const float *src, size_t count);
102 * count Number of samples to copy
106 void memcpy_to_float_from_q4_27(float *dst, const int32_t *src, size_t count);
[all...]
H A Dformat.h32 * count Number of samples to copy
55 const void *src, audio_format_t src_format, size_t count);
/system/core/libutils/tests/
H A DBitSet_test.cpp42 EXPECT_EQ(tmp.count(), 2u);
48 EXPECT_EQ(b1.count(), 2u);
50 EXPECT_TRUE(b2.hasBit(4) && b2.count() == 1u);
64 EXPECT_EQ(b1.count(), 3u);
77 EXPECT_EQ(tmp.count(), 1u);
83 EXPECT_EQ(b1.count(), 1u);
84 EXPECT_EQ(b2.count(), 3u);
92 EXPECT_EQ(b1.count(), 2u);
96 EXPECT_EQ(b1.count(), 3u);
105 EXPECT_EQ(b1.count(),
[all...]
/system/extras/libpagemap/
H A Dpm_map.c34 uint64_t count; local
64 &count);
67 usage.rss += (count >= 1) ? map->proc->ker->pagesize : (0);
68 usage.pss += (count >= 1) ? (map->proc->ker->pagesize / count) : (0);
69 usage.uss += (count == 1) ? (map->proc->ker->pagesize) : (0);
92 uint64_t count, flags; local
113 &count);
118 ws.rss += (count >= 1) ? (map->proc->ker->pagesize) : (0);
119 ws.pss += (count >
[all...]
/system/core/liblog/tests/
H A Dlibc_test.cpp51 int count = 0; local
87 ++count;
91 EXPECT_EQ(1, count);
112 int count = 0; local
131 ++count;
135 EXPECT_EQ(1, count);
/system/core/libpixelflinger/tests/arch-arm64/col32cb16blend/
H A Dcol32cb16blend_test.c46 size_t count; member in struct:test_t
63 void scanline_col32cb16blend_arm64(uint16_t *dst, int32_t src, size_t count);
64 void scanline_col32cb16blend_c(uint16_t * dst, int32_t src, size_t count) argument
68 while (count--)
98 for(j = 0; j < test.count; ++j)
105 scanline_col32cb16blend_c(dst_c, test.src_color, test.count);
106 scanline_col32cb16blend_arm64(dst_asm, test.src_color, test.count);
114 for(j = 0; j < test.count; ++j)
/system/core/libpixelflinger/tests/arch-arm64/t32cb16blend/
H A Dt32cb16blend_test.c45 size_t count; member in struct:test_t
65 void scanline_t32cb16blend_c(uint16_t * dst, uint32_t* src, size_t count) argument
67 while (count--)
107 for(j = 0; j < test.count; ++j)
114 scanline_t32cb16blend_c(dst_c,src,test.count);
115 scanline_t32cb16blend_arm64(dst_asm,src,test.count);
123 for(j = 0; j < test.count; ++j)
/system/core/fastbootd/
H A Dconfig.c103 size_t count = 0; local
126 while (count < (size_t)len) {
127 ret = read(fd, buffer + count, len - count);
137 count += ret;
/system/extras/latencytop/
H A Dlatencytop.c35 unsigned long count; member in struct:latency_entry
72 int count, erase; local
137 count = 0;
140 while ((iterations == 0) || (count++ < iterations)) {
328 unsigned long count, max, total; local
345 sscanf(line, "%ld %ld %ld %s", &count, &total, &max, reason);
349 e->count += count;
355 e->count = count;
371 int i, count; local
[all...]

Completed in 755 milliseconds

12345