Searched refs:count (Results 51 - 75 of 178) sorted by relevance

12345678

/bionic/libc/bionic/
H A Dlibc_init_common.cpp371 int count = 0; local
372 while (fini_array[count] != NULL) {
373 ++count;
377 while (count > 0) {
378 Dtor dtor = fini_array[--count];
H A Dsemaphore.cpp72 // Convert a value into the corresponding sem->count bit pattern.
75 // Convert a sem->count bit pattern into the corresponding signed value.
80 // The value +1 as a sem->count bit-pattern.
83 // The value -1 as a sem->count bit-pattern.
90 static_assert(sizeof(atomic_uint) == sizeof(sem->count),
91 "sem->count should actually be atomic_uint in implementation.");
93 // We prefer casting to atomic_uint instead of declaring sem->count to be atomic_uint directly.
95 return reinterpret_cast<atomic_uint*>(&sem->count);
111 unsigned int count = SEMCOUNT_FROM_VALUE(value); local
113 count |
[all...]
H A Dpthread_barrier.cpp92 unsigned count) {
94 if (count == 0) {
97 barrier->init_count = count;
91 pthread_barrier_init(pthread_barrier_t* barrier_interface, const pthread_barrierattr_t* attr, unsigned count) argument
H A Dpty.cpp98 ssize_t count = readlink(FdPath(fd).c_str(), buf, len); local
99 if (count == -1) {
102 if (static_cast<size_t>(count) == len) {
106 buf[count] = '\0';
/bionic/libc/tools/
H A Dgensyscalls.py240 """This function is used to count the number of register used
253 count = 0
256 if (count & 1) != 0:
257 count += 1
258 count += 2
260 count += 1
261 return count
265 count = 0
268 count += 2
270 count
[all...]
/bionic/libc/include/
H A Dsemaphore.h39 unsigned int count; member in struct:__anon106
H A Dsched.h95 #define CPU_ALLOC_SIZE(count) \
96 __CPU_ELT((count) + (__CPU_BITS - 1)) * sizeof(__CPU_BITTYPE)
98 #define CPU_ALLOC(count) __sched_cpualloc((count))
/bionic/libc/kernel/uapi/linux/can/
H A Dbcm.h30 __u32 count; member in struct:bcm_msg_head
/bionic/libc/kernel/uapi/linux/
H A Dnet_dropmon.h25 __u32 count; member in struct:net_dm_drop_point
H A Dphantom.h27 __u32 count; member in struct:phm_regs
H A Dfsl_hypervisor.h48 __u64 count; member in struct:fsl_hv_ioctl_memcpy
H A Dif_tun.h79 __u16 count; member in struct:tun_filter
H A Dsmc_diag.h50 __u32 count; member in struct:smc_diag_cursor
H A Dvfio.h111 __u32 count; member in struct:vfio_irq_info
125 __u32 count; member in struct:vfio_irq_set
169 __u32 count; member in struct:vfio_pci_hot_reset_info
176 __u32 count; member in struct:vfio_pci_hot_reset
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/can/
H A Dbcm.h30 __u32 count; member in struct:bcm_msg_head
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/
H A Dnet_dropmon.h25 __u32 count; member in struct:net_dm_drop_point
H A Dphantom.h27 __u32 count; member in struct:phm_regs
H A Dfsl_hypervisor.h48 __u64 count; member in struct:fsl_hv_ioctl_memcpy
/bionic/tools/versioner/current/
H A Dsemaphore.h39 unsigned int count; member in struct:__anon2520
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/can/
H A Dbcm.h30 __u32 count; member in struct:bcm_msg_head
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/
H A Dnet_dropmon.h25 __u32 count; member in struct:net_dm_drop_point
H A Dphantom.h27 __u32 count; member in struct:phm_regs
/bionic/linker/
H A Dlinker_main.cpp435 linker_stats.count[kRelocAbsolute],
436 linker_stats.count[kRelocRelative],
437 linker_stats.count[kRelocCopy],
438 linker_stats.count[kRelocSymbol]);
444 unsigned count = 0; local
454 count++;
460 PRINT("PAGES MODIFIED: %s: %d (%dKB)", g_argv[0], count, count * 4);
H A Dlinker_reloc_iterators.h47 plain_reloc_iterator(rel_t* rel_array, size_t count) argument
48 : begin_(rel_array), end_(begin_ + count), current_(begin_) {}
/bionic/tests/
H A Dsystem_properties_test.cpp59 size_t *count = static_cast<size_t *>(cookie); local
62 (*count)++;
171 int count = 0; local
175 ret = snprintf(prop_name, PROP_NAME_MAX - 1, "property_%d", count);
177 ret = snprintf(prop_value, PROP_VALUE_MAX - 1, "value_%d", count);
186 count++;
190 ASSERT_GE(count, 247);
192 for (int i = 0; i < count; i++) {
218 size_t count = 0; local
219 ASSERT_EQ(0, system_properties.Foreach(foreach_test_callback, &count));
[all...]

Completed in 343 milliseconds

12345678