/system/extras/tests/net_test/ |
H A D | all_tests.sh | 32 readonly count=$(echo $tests | wc -w) 33 echo "$PREFIX Found $count $(maybePlural $count test tests)." 41 echo "$PREFIX $test ($i/$count)"
|
/system/core/include/cutils/ |
H A D | aref.h | 32 volatile int32_t count; member in struct:aref 37 r->count = 1; 42 return r->count; 47 android_atomic_inc(&r->count); 52 if (android_atomic_dec(&r->count) == 1)
|
/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_u8_from_float(uint8_t *dst, const float *src, size_t count) argument 53 while (count--) { 58 void memcpy_to_i16_from_i32(int16_t *dst, const int32_t *src, size_t count) argument 60 while (count 65 memcpy_to_i16_from_float(int16_t *dst, const float *src, size_t count) argument 72 memcpy_to_float_from_q4_27(float *dst, const int32_t *src, size_t count) argument 79 memcpy_to_float_from_i16(float *dst, const int16_t *src, size_t count) argument 86 memcpy_to_float_from_u8(float *dst, const uint8_t *src, size_t count) argument 93 memcpy_to_float_from_p24(float *dst, const uint8_t *src, size_t count) argument 101 memcpy_to_i16_from_p24(int16_t *dst, const uint8_t *src, size_t count) argument 113 memcpy_to_i32_from_p24(int32_t *dst, const uint8_t *src, size_t count) argument 125 memcpy_to_p24_from_i16(uint8_t *dst, const int16_t *src, size_t count) argument 140 memcpy_to_p24_from_float(uint8_t *dst, const float *src, size_t count) argument 157 memcpy_to_p24_from_q8_23(uint8_t *dst, const int32_t *src, size_t count) argument 174 memcpy_to_p24_from_i32(uint8_t *dst, const int32_t *src, size_t count) argument 191 memcpy_to_q8_23_from_i16(int32_t *dst, const int16_t *src, size_t count) argument 198 memcpy_to_q8_23_from_float_with_clamp(int32_t *dst, const float *src, size_t count) argument 205 memcpy_to_q8_23_from_p24(int32_t *dst, const uint8_t *src, size_t count) argument 217 memcpy_to_q4_27_from_float(int32_t *dst, const float *src, size_t count) argument 224 memcpy_to_i16_from_q8_23(int16_t *dst, const int32_t *src, size_t count) argument 231 memcpy_to_float_from_q8_23(float *dst, const int32_t *src, size_t count) argument 238 memcpy_to_i32_from_i16(int32_t *dst, const int16_t *src, size_t count) argument 245 memcpy_to_i32_from_float(int32_t *dst, const float *src, size_t count) argument 252 memcpy_to_float_from_i32(float *dst, const int32_t *src, size_t count) argument 259 downmix_to_mono_i16_from_stereo_i16(int16_t *dst, const int16_t *src, size_t count) argument 267 upmix_to_stereo_i16_from_mono_i16(int16_t *dst, const int16_t *src, size_t count) argument 295 nonZeroMono32(const int32_t *samples, size_t count) argument 306 nonZeroMono16(const int16_t *samples, size_t count) argument 317 nonZeroStereo32(const int32_t *frames, size_t count) argument 329 nonZeroStereo16(const int16_t *frames, size_t count) argument 362 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 429 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) 36 memcpy(dst, src, count * audio_bytes_per_sample(dst_format)); 46 memcpy_to_i16_from_float((int16_t*)dst, (float*)src, count); 49 memcpy_to_i16_from_u8((int16_t*)dst, (uint8_t*)src, count); 52 memcpy_to_i16_from_p24((int16_t*)dst, (uint8_t*)src, count); 55 memcpy_to_i16_from_i32((int16_t*)dst, (int32_t*)src, count); 58 memcpy_to_i16_from_q8_23((int16_t*)dst, (int32_t*)src, count); 67 memcpy_to_float_from_i16((float*)dst, (int16_t*)src, count); 70 memcpy_to_float_from_u8((float*)dst, (uint8_t*)src, count); 73 memcpy_to_float_from_p24((float*)dst, (uint8_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/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 | 41 extern int readv( int fd, struct iovec* vecs, int count ); 42 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 55 count = TEMP_FAILURE_RETRY(uevent_kernel_recv(socket, 57 if (count < 0) { 65 if (evt->decode(mBuffer, count, mFormat)) {
|
/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_u8_from_float(uint8_t *dst, const float *src, size_t count); 86 * count Number of samples to copy 91 void memcpy_to_i16_from_i32(int16_t *dst, const int32_t *src, size_t count); 99 * count Number of samples to copy 104 void memcpy_to_i16_from_float(int16_t *dst, const float *src, size_t count); [all...] |
H A D | fifo.h | 50 // If writes and reads always use the same count, and that count is a divisor of 65 // buffer Pointer to source buffer containing 'count' frames of data. 66 // Returns actual number of frames written <= count. 67 // The actual transfer count may be zero if the FIFO is full, 70 ssize_t audio_utils_fifo_write(struct audio_utils_fifo *fifo, const void *buffer, size_t count); 75 // buffer Pointer to destination buffer to be filled with up to 'count' frames of data. 76 // Returns actual number of frames read <= count. 77 // The actual transfer count may be zero if the FIFO is empty, 80 ssize_t audio_utils_fifo_read(struct audio_utils_fifo *fifo, void *buffer, size_t count); [all...] |
H A D | format.h | 32 * count Number of samples to copy 56 const void *src, audio_format_t src_format, size_t count);
|
/system/media/radio/src/ |
H A D | radio_metadata.c | 59 unsigned int index_offset = metadata->size_int - metadata->count - 1; 68 req_size_int = data_offset + metadata->count + 1 + 1 + size_int; 86 memmove((unsigned int *)metadata + new_size_int - (metadata->count + 1), 87 (unsigned int *)metadata + metadata->size_int - (metadata->count + 1), 88 (metadata->count + 1) * sizeof(unsigned int)); 117 index_offset = metadata->size_int - metadata->count - 1; 128 metadata->count++; 141 if (index >= metadata->count) { 154 max_offset = metadata->size_int - metadata->count - 1 - min_entry_size_int; 258 for (index = 0; index < src_metadata_buf->count; inde 277 unsigned int count; local 380 unsigned int count; local [all...] |
/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/bt/osi/include/ |
H A D | socket.h | 57 // Reads up to |count| bytes from |socket| into |buf|. This function will not 60 // and -1 on error. This function may return a value less than |count| if not 65 ssize_t socket_read(const socket_t *socket, void *buf, size_t count); 67 // Writes up to |count| bytes from |buf| into |socket|. This function will not 70 // function may return a value less than |count| if writing more bytes would result 75 ssize_t socket_write(const socket_t *socket, const void *buf, size_t count); 81 ssize_t socket_write_and_transfer_fd(const socket_t *socket, const void *buf, size_t count, int fd); 88 // the byte count. Do not use this function unless you need it while refactoring
|
/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/debuggerd/test/ |
H A D | property_fake.cpp | 27 if (g_properties.count(name) != 0) { 35 if (g_properties.count(key) == 0) {
|
/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/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 609 int count = 0; local [all...] |
/system/media/private/radio/include/ |
H A D | radio_metadata_hidden.h | 49 * | count | number of entries 81 unsigned int count; /* number of meta data entries */ member in struct:radio_metadata_buffer
|
/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/extras/latencytop/ |
H A D | latencytop.c | 36 unsigned long count; member in struct:latency_entry 73 int count, erase; local 138 count = 0; 141 while ((iterations == 0) || (count++ < iterations)) { 329 unsigned long count, max, total; local 346 sscanf(line, "%ld %ld %ld %s", &count, &total, &max, reason); 350 e->count += count; 356 e->count = count; 372 int i, count; local [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);
|