/bionic/libc/bionic/ |
H A D | libc_init_common.cpp | 371 int count = 0; local 372 while (fini_array[count] != NULL) { 373 ++count; 377 while (count > 0) { 378 Dtor dtor = fini_array[--count];
|
H A D | semaphore.cpp | 72 // 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 D | pthread_barrier.cpp | 92 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 D | pty.cpp | 98 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 D | gensyscalls.py | 240 """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 D | semaphore.h | 39 unsigned int count; member in struct:__anon106
|
H A D | sched.h | 95 #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 D | bcm.h | 30 __u32 count; member in struct:bcm_msg_head
|
/bionic/libc/kernel/uapi/linux/ |
H A D | net_dropmon.h | 25 __u32 count; member in struct:net_dm_drop_point
|
H A D | phantom.h | 27 __u32 count; member in struct:phm_regs
|
H A D | fsl_hypervisor.h | 48 __u64 count; member in struct:fsl_hv_ioctl_memcpy
|
H A D | if_tun.h | 79 __u16 count; member in struct:tun_filter
|
H A D | smc_diag.h | 50 __u32 count; member in struct:smc_diag_cursor
|
H A D | vfio.h | 111 __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 D | bcm.h | 30 __u32 count; member in struct:bcm_msg_head
|
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/ |
H A D | net_dropmon.h | 25 __u32 count; member in struct:net_dm_drop_point
|
H A D | phantom.h | 27 __u32 count; member in struct:phm_regs
|
H A D | fsl_hypervisor.h | 48 __u64 count; member in struct:fsl_hv_ioctl_memcpy
|
/bionic/tools/versioner/current/ |
H A D | semaphore.h | 39 unsigned int count; member in struct:__anon2520
|
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/can/ |
H A D | bcm.h | 30 __u32 count; member in struct:bcm_msg_head
|
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/ |
H A D | net_dropmon.h | 25 __u32 count; member in struct:net_dm_drop_point
|
H A D | phantom.h | 27 __u32 count; member in struct:phm_regs
|
/bionic/linker/ |
H A D | linker_main.cpp | 435 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 D | linker_reloc_iterators.h | 47 plain_reloc_iterator(rel_t* rel_array, size_t count) argument 48 : begin_(rel_array), end_(begin_ + count), current_(begin_) {}
|
/bionic/tests/ |
H A D | system_properties_test.cpp | 59 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...] |