/system/core/libcutils/ |
H A D | trace-dev.c | 71 int count = property_get_int32("debug.atrace.app_number", 0); local 76 for (int i = 0; i < count; i++) {
|
/system/core/libnetutils/ |
H A D | packet.c | 65 static uint32_t checksum(void *buffer, unsigned int count, uint32_t startsum) argument 71 while (count > 1) { 73 count -= 2; 75 if (count > 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/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/libpixelflinger/tests/arch-mips/col32cb16blend/ |
H A D | col32cb16blend_test.c | 46 size_t count; member in struct:test_t 63 void scanline_col32cb16blend_mips(uint16_t *dst, uint32_t src, size_t count); 64 void scanline_col32cb16blend_c(uint16_t * dst, uint32_t src, size_t count) argument 69 while (count--) 99 for(j = 0; j < test.count; ++j) 106 scanline_col32cb16blend_c(dst_c, test.src_color, test.count); 107 scanline_col32cb16blend_mips(dst_asm, test.src_color, test.count); 114 for(j = 0; j < test.count; ++j)
|
/system/core/libpixelflinger/tests/arch-mips/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_mips(dst_asm,src,test.count); 123 for(j = 0; j < test.count; ++j)
|
/system/core/libpixelflinger/tests/arch-mips64/col32cb16blend/ |
H A D | col32cb16blend_test.c | 46 size_t count; member in struct:test_t 63 void scanline_col32cb16blend_mips64(uint16_t *dst, uint32_t src, size_t count); 64 void scanline_col32cb16blend_c(uint16_t * dst, uint32_t src, size_t count) argument 69 while (count--) 99 for(j = 0; j < test.count; ++j) 106 scanline_col32cb16blend_c(dst_c, test.src_color, test.count); 107 scanline_col32cb16blend_mips64(dst_asm, test.src_color, test.count); 114 for(j = 0; j < test.count; ++j)
|
/system/core/libunwindstack/tests/ |
H A D | DwarfEhFrameTest.cpp | 45 void TestSetFdeCount(uint64_t count) { this->fde_count_ = count; } argument
|
/system/core/libutils/include/utils/ |
H A D | BitSet.h | 45 inline uint32_t count() const { return count(value); } function in struct:android::BitSet32 47 static inline uint32_t count(uint32_t value) { return __builtin_popcountl(value); } function in struct:android::BitSet32 187 inline uint32_t count() const { return count(value); } function in struct:android::BitSet64 189 static inline uint32_t count(uint64_t value) { return __builtin_popcountll(value); } function in struct:android::BitSet64
|
/system/keymaster/include/keymaster/ |
H A D | serializable.h | 115 * count so deserialization knows how many values to read. 121 size_t count) { 123 if (count >= (UINT32_MAX / sizeof(uint32_t)) || 124 __pval(buf) + count * sizeof(uint32_t) < __pval(buf)) 126 buf = append_uint32_to_buf(buf, end, count); 127 for (size_t i = 0; i < count; ++i) 174 * Copies an array of values convertible to uint32_t from \p *buf_ptr, first reading a count of 175 * values to read. The count is returned in \p *count and the values returned in newly-allocated 181 UniquePtr<T[]>* data, size_t* count) { 120 append_uint32_array_to_buf(uint8_t* buf, const uint8_t* end, const T* data, size_t count) argument 180 copy_uint32_array_from_buf(const uint8_t** buf_ptr, const uint8_t* end, UniquePtr<T[]>* data, size_t* count) argument [all...] |
/system/libufdt/tests/src/ |
H A D | ufdt_gen_test_dts.c | 102 static void output_unused_nodes(FILE *fp, int count) { argument 104 for (i = 0; i < count; i++) { 114 static void output_nodes(FILE *fp, int count, const char *prop, const char *value) { argument 116 for (i = 0; i < count; i++) { 123 static void output_ref_nodes(FILE *fp, int start_id, int count, argument 126 for (i = start_id; i < start_id + count; i++) {
|
/system/libufdt/utils/src/ |
H A D | mkdtimg_cfg_create.c | 60 int count = 0; local 67 count++; 70 return count;
|
/system/media/alsa_utils/ |
H A D | alsa_device_proxy.c | 85 ALOGW("Invalid channel count %u - using closest %u.", 87 // Indicate override when default channel count was not requested 112 // let's check to make sure we can ACTUALLY use the maximum rate (with the channel count) 237 int proxy_write(alsa_device_proxy * proxy, const void *data, unsigned int count) argument 239 int ret = pcm_write(proxy->pcm, data, count); 241 proxy->transferred += count / proxy->frame_size; 246 int proxy_read(const alsa_device_proxy * proxy, void *data, unsigned int count) argument 248 return pcm_read(proxy->pcm, data, count);
|
/system/media/camera/include/system/ |
H A D | camera_metadata.h | 77 * modified in-place if the count does not need to change. The count is the 78 * number of entries in data of the entry's type, not a count of bytes. 84 size_t count; member in struct:camera_metadata_entry 103 size_t count; member in struct:camera_metadata_ro_entry 133 * an integer tag to identify its meaning, 'type' and 'count' field, and the 134 * data, which contains a 'count' number of entries of type 'type'. The packet 251 * Get the current count of bytes used for value storage in the metadata packet. 257 * Get the maximum count of bytes that could be used for value storage in the 341 * entries in the data array of the tag's type, not a count o [all...] |
/system/security/keystore/ |
H A D | keystore_aidl_hidl_marshalling_utils.cpp | 200 ssize_t count = in.readInt32(); local 201 size_t ucount = count; 202 if (count <= 0) { 216 int32_t count = int32_t(std::min<size_t>(certs.size(), std::numeric_limits<int32_t>::max())); local 217 auto rc = out->writeInt32(count); 219 for (int32_t i = 0; i < count; ++i) {
|
/system/update_engine/payload_consumer/ |
H A D | mtd_file_descriptor.cc | 138 ssize_t MtdFileDescriptor::Read(void* buf, size_t count) { argument 140 return mtd_read_data(read_ctx_.get(), static_cast<char*>(buf), count); 143 ssize_t MtdFileDescriptor::Write(const void* buf, size_t count) { argument 147 count); 217 ssize_t UbiFileDescriptor::Read(void* buf, size_t count) { argument 219 return EintrSafeFileDescriptor::Read(buf, count); 222 ssize_t UbiFileDescriptor::Write(const void* buf, size_t count) { argument 224 ssize_t nr_chunk = EintrSafeFileDescriptor::Write(buf, count);
|
/system/vold/ |
H A D | Process.cpp | 181 int count = 0; local 187 return count; 217 count++; 221 return count;
|
/system/vold/bench/ |
H A D | benchgen.py | 213 count = min(int(e.args[2]), bufsize) variable 214 f.size += count 215 print >>bench, 'TEMP_FAILURE_RETRY(read(%s, buf, %d));' % (handle, count) 222 count = min(int(e.args[2]), bufsize) variable 223 f.size += count 224 print >>bench, 'TEMP_FAILURE_RETRY(write(%s, buf, %d));' % (handle, count) 231 count = min(int(e.args[2]), bufsize) variable 232 print >>bench, 'TEMP_FAILURE_RETRY(pread(%s, buf, %d, %s));' % (handle, count, e.args[3]) 239 count = min(int(e.args[2]), bufsize) variable 240 print >>bench, 'TEMP_FAILURE_RETRY(pwrite(%s, buf, %d, %s));' % (handle, count, 258 count = min(int(e.args[1]), bufsize) variable [all...] |
/system/bt/bta/gatt/ |
H A D | bta_gattc_api.cc | 329 * count: number of elements in database. 334 int* count) { 335 bta_gattc_get_gatt_db(conn_id, start_handle, end_handle, db, count); 332 BTA_GATTC_GetGattDb(uint16_t conn_id, uint16_t start_handle, uint16_t end_handle, btgatt_db_element_t** db, int* count) argument
|
H A D | bta_gatts_int.h | 77 uint16_t count; member in struct:__anon160
|
/system/bt/btcore/src/ |
H A D | property.cc | 30 size_t count) { 33 static_cast<bt_property_t*>(osi_calloc(sizeof(bt_property_t) * count)); 35 memcpy(&clone[0], &properties[0], sizeof(bt_property_t) * count); 36 for (size_t i = 0; i < count; ++i) { 113 bt_property_t* property_new_uuids(const bt_uuid_t* uuid, size_t count) { argument 115 return property_new_((void*)uuid, sizeof(bt_uuid_t) * count, 123 void property_free_array(bt_property_t* properties, size_t count) { argument 126 for (size_t i = 0; i < count; ++i) { 211 size_t* count) { 213 *count 29 property_copy_array(const bt_property_t* properties, size_t count) argument 210 property_as_uuids(const bt_property_t* property, size_t* count) argument [all...] |
/system/bt/btif/src/ |
H A D | btif_sdp_server.cc | 122 int get_sdp_records_size(bluetooth_sdp_record* in_record, int count) { argument 126 for (i = 0; i < count; i++) { 143 bluetooth_sdp_record* out_records, int count) { 148 (char*)(&out_records[count]); /* set pointer to after the last entry */ 150 for (i = 0; i < count; i++) { 637 APPL_TRACE_DEBUG(" supported formats count: %d", 142 copy_sdp_records(bluetooth_sdp_record* in_records, bluetooth_sdp_record* out_records, int count) argument
|
/system/bt/embdrv/sbc/decoder/srce/ |
H A D | bitalloc.c | 103 * needs that are greater than one. This count is used in the first phase of bit 195 * count += bits; 257 OI_UINT count; local 277 count = (total & 0xFFFF) + (total >> 16); 278 count = (count & 0xFF) + (count >> 8); 281 if (count > bitpool) { 285 bitcount = count;
|
/system/bt/service/common/bluetooth/ |
H A D | scan_settings.h | 143 // Returns the count of advertisements to match per filter. 145 void set_match_count_per_filter(MatchCount count) { argument 146 match_count_per_filter_ = count;
|
/system/bt/stack/mcap/ |
H A D | mca_dsm.cc | 185 uint8_t count = 0; local 196 count++; 204 left = max - count;
|