/system/media/audio_utils/ |
H A D | primitives.c | 35 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 D | format.c | 25 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 D | test_getgrouplist.c | 37 int count = MAX_GROUPS; local 45 ret = getgrouplist( TEST_USER, TEST_GROUP, groups, &count ); 48 ret, count);
|
/system/core/include/cutils/ |
H A D | aref.h | 36 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 D | dynarray.c | 8 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 D | hd.c | 23 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 D | umount.c | 31 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 D | dynarray.h | 8 int count; member in struct:__anon235 35 for (;_nn_##__LINE__ < (_array)->count; ++ _nn_##__LINE__) { \
|
/system/core/liblog/ |
H A D | uio.c | 22 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 D | fake_log_device.h | 26 ssize_t fakeLogWritev(int fd, const struct iovec* vector, int count);
|
/system/core/libsync/ |
H A D | sw_sync.h | 30 int sw_sync_timeline_inc(int fd, unsigned count);
|
/system/core/include/log/ |
H A D | uio.h | 38 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 D | android_memset.S | 42 #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 D | ServiceManager.cpp | 54 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 D | NetlinkListener.cpp | 47 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 D | logcat_test.cpp | 55 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 D | primitives.h | 54 * 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 D | format.h | 32 * count Number of samples to copy 55 const void *src, audio_format_t src_format, size_t count);
|
/system/core/libutils/tests/ |
H A D | BitSet_test.cpp | 42 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 D | pm_map.c | 34 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 D | libc_test.cpp | 51 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 D | col32cb16blend_test.c | 46 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 D | t32cb16blend_test.c | 45 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 D | config.c | 103 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 D | latencytop.c | 35 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...] |