Searched refs:num (Results 1 - 25 of 53) sorted by relevance

123

/bionic/libc/upstream-netbsd/lib/libc/stdlib/
H A Ddiv.c47 div(int num, int denom) argument
51 r.quot = num / denom;
52 r.rem = num % denom;
63 * sign of num; if both are negative and r.quot has been
65 * have the opposite sign of num). These are considered
68 * If both are num and denom are positive, r will always
72 * if num >= 0, but r.rem < 0, we got the wrong answer.
76 if (num >= 0 && r.rem < 0) {
H A Dldiv.c47 ldiv(long num, long denom) argument
53 r.quot = num / denom;
54 r.rem = num % denom;
55 if (num >= 0 && r.rem < 0) {
H A Dlldiv.c53 lldiv(long long int num, long long int denom)
59 r.quot = num / denom;
60 r.rem = num % denom;
61 if (num >= 0 && r.rem < 0) {
/bionic/libc/upstream-openbsd/lib/libc/stdlib/
H A Dimaxdiv.c37 imaxdiv(intmax_t num, intmax_t denom) argument
43 r.quot = num / denom;
44 r.rem = num % denom;
45 if (num >= 0 && r.rem < 0) {
/bionic/libc/kernel/uapi/linux/hsi/
H A Dhsi_char.h23 #define HSC_IOW(num,dtype) _IOW(HSI_CHAR_MAGIC, num, dtype)
24 #define HSC_IOR(num,dtype) _IOR(HSI_CHAR_MAGIC, num, dtype)
25 #define HSC_IOWR(num,dtype) _IOWR(HSI_CHAR_MAGIC, num, dtype)
26 #define HSC_IO(num) _IO(HSI_CHAR_MAGIC, num)
H A Dcs-protocol.h67 #define CS_IOW(num,dtype) _IOW(CS_IO_MAGIC, num, dtype)
68 #define CS_IOR(num,dtype) _IOR(CS_IO_MAGIC, num, dtype)
69 #define CS_IOWR(num,dtype) _IOWR(CS_IO_MAGIC, num, dtype)
70 #define CS_IO(num) _IO(CS_IO_MAGIC, num)
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/hsi/
H A Dhsi_char.h23 #define HSC_IOW(num,dtype) _IOW(HSI_CHAR_MAGIC, num, dtype)
24 #define HSC_IOR(num,dtype) _IOR(HSI_CHAR_MAGIC, num, dtype)
25 #define HSC_IOWR(num,dtype) _IOWR(HSI_CHAR_MAGIC, num, dtype)
26 #define HSC_IO(num) _IO(HSI_CHAR_MAGIC, num)
H A Dcs-protocol.h67 #define CS_IOW(num,dtype) _IOW(CS_IO_MAGIC, num, dtype)
68 #define CS_IOR(num,dtype) _IOR(CS_IO_MAGIC, num, dtype)
69 #define CS_IOWR(num,dtype) _IOWR(CS_IO_MAGIC, num, dtype)
70 #define CS_IO(num) _IO(CS_IO_MAGIC, num)
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/hsi/
H A Dhsi_char.h23 #define HSC_IOW(num,dtype) _IOW(HSI_CHAR_MAGIC, num, dtype)
24 #define HSC_IOR(num,dtype) _IOR(HSI_CHAR_MAGIC, num, dtype)
25 #define HSC_IOWR(num,dtype) _IOWR(HSI_CHAR_MAGIC, num, dtype)
26 #define HSC_IO(num) _IO(HSI_CHAR_MAGIC, num)
H A Dcs-protocol.h67 #define CS_IOW(num,dtype) _IOW(CS_IO_MAGIC, num, dtype)
68 #define CS_IOR(num,dtype) _IOR(CS_IO_MAGIC, num, dtype)
69 #define CS_IOWR(num,dtype) _IOWR(CS_IO_MAGIC, num, dtype)
70 #define CS_IO(num) _IO(CS_IO_MAGIC, num)
/bionic/libc/kernel/uapi/linux/
H A Dvirtio_ring.h52 unsigned int num; member in struct:vring
60 #define vring_used_event(vr) ((vr)->avail->ring[(vr)->num])
61 #define vring_avail_event(vr) (* (__virtio16 *) & (vr)->used->ring[(vr)->num])
H A Domapfb.h24 #define OMAP_IOW(num,dtype) _IOW('O', num, dtype)
25 #define OMAP_IOR(num,dtype) _IOR('O', num, dtype)
26 #define OMAP_IOWR(num,dtype) _IOWR('O', num, dtype)
27 #define OMAP_IO(num) _IO('O', num)
H A Disdn_ppp.h56 int num; member in struct:isdn_ppp_comp_data
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/
H A Dvirtio_ring.h52 unsigned int num; member in struct:vring
60 #define vring_used_event(vr) ((vr)->avail->ring[(vr)->num])
61 #define vring_avail_event(vr) (* (__virtio16 *) & (vr)->used->ring[(vr)->num])
H A Domapfb.h24 #define OMAP_IOW(num,dtype) _IOW('O', num, dtype)
25 #define OMAP_IOR(num,dtype) _IOR('O', num, dtype)
26 #define OMAP_IOWR(num,dtype) _IOWR('O', num, dtype)
27 #define OMAP_IO(num) _IO('O', num)
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/
H A Dvirtio_ring.h52 unsigned int num; member in struct:vring
60 #define vring_used_event(vr) ((vr)->avail->ring[(vr)->num])
61 #define vring_avail_event(vr) (* (__virtio16 *) & (vr)->used->ring[(vr)->num])
H A Domapfb.h24 #define OMAP_IOW(num,dtype) _IOW('O', num, dtype)
25 #define OMAP_IOR(num,dtype) _IOR('O', num, dtype)
26 #define OMAP_IOWR(num,dtype) _IOWR('O', num, dtype)
27 #define OMAP_IO(num) _IO('O', num)
/bionic/libc/kernel/uapi/xen/
H A Dprivcmd.h34 int num; member in struct:privcmd_mmap
39 int num; member in struct:privcmd_mmapbatch
47 unsigned int num; member in struct:privcmd_mmapbatch_v2
59 __u16 num; member in struct:privcmd_dm_op
/bionic/libc/versioner-dependencies/common/kernel_uapi/xen/
H A Dprivcmd.h34 int num; member in struct:privcmd_mmap
39 int num; member in struct:privcmd_mmapbatch
47 unsigned int num; member in struct:privcmd_mmapbatch_v2
59 __u16 num; member in struct:privcmd_dm_op
/bionic/tools/versioner/dependencies/common/kernel_uapi/xen/
H A Dprivcmd.h34 int num; member in struct:privcmd_mmap
39 int num; member in struct:privcmd_mmapbatch
47 unsigned int num; member in struct:privcmd_mmapbatch_v2
59 __u16 num; member in struct:privcmd_dm_op
/bionic/libc/kernel/uapi/linux/dvb/
H A Dca.h22 int num; member in struct:ca_slot_info
34 unsigned int num; member in struct:ca_descr_info
/bionic/libc/versioner-dependencies/common/kernel_uapi/linux/dvb/
H A Dca.h22 int num; member in struct:ca_slot_info
34 unsigned int num; member in struct:ca_descr_info
/bionic/tools/versioner/dependencies/common/kernel_uapi/linux/dvb/
H A Dca.h22 int num; member in struct:ca_slot_info
34 unsigned int num; member in struct:ca_descr_info
/bionic/libc/bionic/
H A Dsys_sem.cpp35 int semctl(int id, int num, int cmd, ...) { argument
46 return syscall(SYS_semctl, id, num, cmd, arg);
48 return syscall(SYS_ipc, SEMCTL, id, num, cmd, &arg, 0);
/bionic/libc/dns/net/
H A Dsethostent.c146 size_t len, anum, num, i; local
171 for (num = 0; num < MAXADDRS;) {
192 if (num == 0) {
208 if (num >= MAXADDRS)
210 HENT_COPY(addr_ptrs[num], hp->h_addr_list[0], hp->h_length, ptr,
212 num++;
216 if (num == 0) {
230 HENT_ARRAY(hp->h_addr_list, num, ptr, len);
232 for (i = 0; i < num;
[all...]

Completed in 197 milliseconds

123