/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/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 | 25 LIBLOG_ABI_PUBLIC int readv(int fd, struct iovec *vecs, int count) argument 29 for ( ; count > 0; count--, vecs++ ) { 52 LIBLOG_ABI_PUBLIC int writev(int fd, const struct iovec *vecs, int count) argument 56 for ( ; count > 0; count--, vecs++ ) {
|
H A D | fake_log_device.h | 29 const struct iovec* vector, int count);
|
/system/extras/libfec/test/ |
H A D | test_read.cpp | 53 ssize_t count; local 56 count = input.read(buffer.get(), bufsize); 58 if (count == -1) { 60 } else if (count > 0) { 61 output.write(reinterpret_cast<const char *>(buffer.get()), count); local 68 } while (count > 0);
|
/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) {
|
/system/update_engine/payload_consumer/ |
H A D | file_writer.cc | 31 bool DirectFileWriter::Write(const void* bytes, size_t count) { argument 36 while (bytes_written < count) { 38 count - bytes_written); 43 CHECK_EQ(bytes_written, count); 44 return bytes_written == count;
|
/system/extras/libfec/ |
H A D | fec_process.cpp | 23 size_t count; member in struct:process_info 36 p->offset + p->count); 38 p->rc = p->func(p->f, p->buf, p->count, p->offset, &p->errors); 43 ssize_t process(fec_handle *f, uint8_t *buf, size_t count, uint64_t offset, argument 50 if (count == 0) { 63 size_t blocks = fec_div_round_up(count, FEC_BLOCKSIZE); 70 size_t left = count; 75 count_per_thread, count); 88 info[i].count = (size_t)(end - pos); 94 if (info[i].count > lef [all...] |
/system/media/audio_utils/include/audio_utils/ |
H A D | primitives.h | 59 * \param count Number of samples to copy 64 void memcpy_to_i16_from_u8(int16_t *dst, const uint8_t *src, size_t count); 71 * \param count Number of samples to copy 77 void memcpy_to_u8_from_i16(uint8_t *dst, const int16_t *src, size_t count); 84 * \param count Number of samples to copy 90 void memcpy_to_u8_from_float(uint8_t *dst, const float *src, size_t count); 97 * \param count Number of samples to copy 103 void memcpy_to_i16_from_i32(int16_t *dst, const int32_t *src, size_t count); 112 * \param count Number of samples to copy 118 void memcpy_to_i16_from_float(int16_t *dst, const float *src, size_t count); [all...] |
/system/connectivity/shill/ |
H A D | file_io.cc | 41 ssize_t FileIO::Write(int fd, const void* buf, size_t count) { argument 42 return HANDLE_EINTR(write(fd, buf, count)); 45 ssize_t FileIO::Read(int fd, void* buf, size_t count) { argument 46 return HANDLE_EINTR(read(fd, buf, count));
|
H A D | mock_file_io.h | 30 MOCK_METHOD3(Write, ssize_t(int fd, const void* buf, size_t count)); 31 MOCK_METHOD3(Read, ssize_t(int fd, void* buf, size_t count));
|
H A D | file_io.h | 32 virtual ssize_t Write(int fd, const void* buf, size_t count); 33 virtual ssize_t Read(int fd, void* buf, size_t count);
|
/system/update_engine/ |
H A D | mock_file_writer.h | 27 MOCK_METHOD2(Write, ssize_t(const void* bytes, size_t count));
|
H A D | fake_file_writer.h | 44 virtual ssize_t Write(const void* bytes, size_t count) { argument 48 bytes_.insert(bytes_.end(), char_bytes, char_bytes + count); 49 return count;
|
/system/core/metricsd/uploader/ |
H A D | metrics_log.cc | 66 void MetricsLog::IncrementUserCrashCount(unsigned int count) { argument 70 stability->set_other_user_crash_count(current + count); 73 void MetricsLog::IncrementKernelCrashCount(unsigned int count) { argument 77 stability->set_kernel_crash_count(current + count); 80 void MetricsLog::IncrementUncleanShutdownCount(unsigned int count) { argument 84 stability->set_unclean_system_shutdown_count(current + count);
|
H A D | metrics_log.h | 41 void IncrementUserCrashCount(unsigned int count); 42 void IncrementKernelCrashCount(unsigned int count); 43 void IncrementUncleanShutdownCount(unsigned int count);
|
/system/media/radio/src/ |
H A D | radio_metadata.c | 60 unsigned int index_offset = metadata->size_int - metadata->count - 1; 69 req_size_int = data_offset + metadata->count + 1 + 1 + size_int; 87 memmove((unsigned int *)metadata + new_size_int - (metadata->count + 1), 88 (unsigned int *)metadata + metadata->size_int - (metadata->count + 1), 89 (metadata->count + 1) * sizeof(unsigned int)); 118 index_offset = metadata->size_int - metadata->count - 1; 129 metadata->count++; 142 if (index >= metadata->count) { 155 max_offset = metadata->size_int - metadata->count - 1 - min_entry_size_int; 272 for (index = 0; index < src_metadata_buf->count; inde 291 unsigned int count; local 392 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 67 ssize_t socket_read(const socket_t *socket, void *buf, size_t count); 69 // Writes up to |count| bytes from |buf| into |socket|. This function will not 72 // This function may return a value less than |count| if writing more bytes 79 ssize_t socket_write(const socket_t *socket, const void *buf, size_t count); 85 ssize_t socket_write_and_transfer_fd(const socket_t *socket, const void *buf, size_t count, int fd); 92 // 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 66 &count); 69 usage.rss += (count >= 1) ? map->proc->ker->pagesize : (0); 70 usage.pss += (count >= 1) ? (map->proc->ker->pagesize / count) : (0); 71 usage.uss += (count == 1) ? (map->proc->ker->pagesize) : (0); 95 uint64_t count, flags; local 116 &count); 121 ws.rss += (count >= 1) ? (map->proc->ker->pagesize) : (0); 122 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) {
|