/bionic/libc/kernel/uapi/rdma/ |
D | rdma_user_cm.h | 60 __u32 id; member 64 __u32 id; member 73 __u32 id; member 76 __u32 id; member 84 __u32 id; member 88 __u32 id; member 97 __u32 id; member 107 __u32 id; member 165 __u32 id; member 170 __u32 id; member [all …]
|
D | ib_user_mad.h | 13 __u32 id; member 31 __u32 id; member 57 __u32 id; member 70 __u32 id; member
|
/bionic/libc/bionic/ |
D | sys_msg.cpp | 34 int msgctl(int id, int cmd, msqid_ds* buf) { in msgctl() argument 40 return syscall(SYS_msgctl, id, cmd, buf); in msgctl() 42 return syscall(SYS_ipc, MSGCTL, id, cmd, 0, buf, 0); in msgctl() 54 ssize_t msgrcv(int id, void* msg, size_t n, long type, int flags) { in msgrcv() argument 56 return syscall(SYS_msgrcv, id, msg, n, type, flags); in msgrcv() 58 return syscall(SYS_ipc, IPCCALL(1, MSGRCV), id, n, flags, msg, type); in msgrcv() 62 int msgsnd(int id, const void* msg, size_t n, int flags) { in msgsnd() argument 64 return syscall(SYS_msgsnd, id, msg, n, flags); in msgsnd() 66 return syscall(SYS_ipc, MSGSND, id, n, flags, msg, 0); in msgsnd()
|
D | sys_sem.cpp | 35 int semctl(int id, int num, int cmd, ...) { in semctl() argument 45 return syscall(SYS_semctl, id, num, cmd, arg); in semctl() 47 return syscall(SYS_ipc, SEMCTL, id, num, cmd, &arg, 0); in semctl() 59 int semop(int id, sembuf* ops, size_t op_count) { in semop() argument 60 return semtimedop(id, ops, op_count, nullptr); in semop() 63 int semtimedop(int id, sembuf* ops, size_t op_count, const timespec* ts) { in semtimedop() argument 65 return syscall(SYS_semtimedop, id, ops, op_count, ts); in semtimedop() 67 return syscall(SYS_ipc, SEMTIMEDOP, id, op_count, 0, ops, ts); in semtimedop()
|
D | sys_shm.cpp | 34 void* shmat(int id, const void* address, int flags) { in shmat() argument 36 return reinterpret_cast<void*>(syscall(SYS_shmat, id, address, flags)); in shmat() 40 if (syscall(SYS_ipc, SHMAT, id, flags, &result, address, 0) == -1) { in shmat() 47 int shmctl(int id, int cmd, struct shmid_ds* buf) { in shmctl() argument 53 return syscall(SYS_shmctl, id, cmd, buf); in shmctl() 55 return syscall(SYS_ipc, SHMCTL, id, cmd, 0, buf, 0); in shmctl()
|
D | posix_timers.cpp | 205 int timer_delete(timer_t id) { in timer_delete() argument 206 int rc = __timer_delete(to_kernel_timer_id(id)); in timer_delete() 211 PosixTimer* timer = reinterpret_cast<PosixTimer*>(id); in timer_delete() 224 int timer_gettime(timer_t id, itimerspec* ts) { in timer_gettime() argument 225 return __timer_gettime(to_kernel_timer_id(id), ts); in timer_gettime() 233 int timer_settime(timer_t id, int flags, const itimerspec* ts, itimerspec* ots) { in timer_settime() argument 234 PosixTimer* timer= reinterpret_cast<PosixTimer*>(id); in timer_settime() 239 int timer_getoverrun(timer_t id) { in timer_getoverrun() argument 240 return __timer_getoverrun(to_kernel_timer_id(id)); in timer_getoverrun()
|
D | wait.cpp | 32 extern "C" int __waitid(idtype_t which, id_t id, siginfo_t* info, int options, struct rusage* ru); 42 int waitid(idtype_t which, id_t id, siginfo_t* info, int options) { in waitid() argument 44 return __waitid(which, id, info, options, nullptr); in waitid()
|
/bionic/libm/upstream-freebsd/lib/msun/src/ |
D | s_atanf.c | 52 int32_t ix,hx,id; in atanf() local 65 id = -1; in atanf() 70 id = 0; x = ((float)2.0*x-one)/((float)2.0+x); in atanf() 72 id = 1; x = (x-one)/(x+one); in atanf() 76 id = 2; x = (x-(float)1.5)/(one+(float)1.5*x); in atanf() 78 id = 3; x = -(float)1.0/x; in atanf() 87 if (id<0) return x - x*(s1+s2); in atanf() 89 z = atanhi[id] - ((x*(s1+s2) - atanlo[id]) - x); in atanf()
|
D | s_atanl.c | 37 int id; in atanl() local 58 id = -1; in atanl() 63 id = 0; x = (2.0*x-one)/(2.0+x); in atanl() 65 id = 1; x = (x-one)/(x+one); in atanl() 69 id = 2; x = (x-1.5)/(one+1.5*x); in atanl() 71 id = 3; x = -1.0/x; in atanl() 80 if (id<0) return x - x*(s1+s2); in atanl() 82 z = atanhi[id] - ((x*(s1+s2) - atanlo[id]) - x); in atanl()
|
D | s_atan.c | 77 int32_t ix,hx,id; in atan() local 93 id = -1; in atan() 98 id = 0; x = (2.0*x-one)/(2.0+x); in atan() 100 id = 1; x = (x-one)/(x+one); in atan() 104 id = 2; x = (x-1.5)/(one+1.5*x); in atan() 106 id = 3; x = -1.0/x; in atan() 115 if (id<0) return x - x*(s1+s2); in atan() 117 z = atanhi[id] - ((x*(s1+s2) - atanlo[id]) - x); in atan()
|
/bionic/tests/ |
D | sys_sem_test.cpp | 46 int id = semget(key, 1, IPC_CREAT|0666); in TEST() local 47 ASSERT_NE(id, -1); in TEST() 52 ASSERT_EQ(0, semctl(id, 0, IPC_STAT, &ds)); in TEST() 55 ASSERT_EQ(0, semctl(id, 0, GETVAL)); in TEST() 59 ASSERT_EQ(0, semop(id, ops, 1)); in TEST() 60 ASSERT_EQ(1, semctl(id, 0, GETVAL)); in TEST() 66 ASSERT_EQ(-1, semtimedop(id, ops, 1, &ts)); in TEST() 68 ASSERT_EQ(1, semctl(id, 0, GETVAL)); in TEST() 72 ASSERT_EQ(0, semop(id, ops, 1)); in TEST() 73 ASSERT_EQ(0, semctl(id, 0, GETVAL)); in TEST() [all …]
|
D | sys_msg_test.cpp | 44 int id = msgget(key, IPC_CREAT|0666); in TEST() local 45 ASSERT_NE(id, -1); in TEST() 50 ASSERT_EQ(0, msgctl(id, IPC_STAT, &ds)); in TEST() 59 ASSERT_EQ(0, msgsnd(id, &msg, sizeof(msg.data), 0)); in TEST() 62 ASSERT_EQ(0, msgctl(id, IPC_STAT, &ds)); in TEST() 69 msgrcv(id, &msg, sizeof(msg.data), 0, 0)); in TEST() 74 ASSERT_EQ(0, msgctl(id, IPC_RMID, nullptr)); in TEST()
|
D | sys_shm_test.cpp | 43 int id = shmget(key, 1234, IPC_CREAT|0666); in TEST() local 44 ASSERT_NE(id, -1); in TEST() 49 ASSERT_EQ(0, shmctl(id, IPC_STAT, &ds)); in TEST() 53 void* p = shmat(id, nullptr, SHM_RDONLY); in TEST() 60 ASSERT_EQ(0, shmctl(id, IPC_RMID, nullptr)); in TEST()
|
/bionic/libc/kernel/uapi/linux/ |
D | adb.h | 10 #define ADB_FLUSH(id) (0x01 | ((id) << 4)) argument 11 #define ADB_WRITEREG(id,reg) (0x08 | (reg) | ((id) << 4)) argument 12 #define ADB_READREG(id,reg) (0x0C | (reg) | ((id) << 4)) argument
|
D | patchkey.h | 15 #define _PATCHKEY(id) (0xfd00 | id) argument 17 #define _PATCHKEY(id) ((id << 8) | 0x00fd) argument
|
D | zorro.h | 10 #define ZORRO_MANUF(id) ((id) >> 16) argument 11 #define ZORRO_PROD(id) (((id) >> 8) & 0xff) argument 12 #define ZORRO_EPC(id) ((id) & 0xff) argument
|
D | uhid.h | 65 __u32 id; member 70 __u32 id; member 76 __u32 id; member 83 __u32 id; member 115 __u32 id; member 120 __u32 id; member
|
/bionic/benchmarks/ |
D | malloc_rss_benchmark.cpp | 61 void ThreadTask(int id, size_t allocSize) { in ThreadTask() argument 72 MemPool[id][i] = malloc(allocSize); in ThreadTask() 73 if (MemPool[id][i] == 0) { in ThreadTask() 79 dirtyMem(MemPool[id][i], allocSize); in ThreadTask() 88 std::shuffle(MemPool[id], MemPool[id] + maxCounts, std::default_random_engine(seed)); in ThreadTask() 90 free(MemPool[id][i]); in ThreadTask() 91 MemPool[id][i] = nullptr; in ThreadTask() 95 MemPool[id][i] = malloc(allocSize); in ThreadTask() 96 dirtyMem(MemPool[id][i], allocSize); in ThreadTask()
|
/bionic/libc/kernel/tools/ |
D | cpp.py | 119 def id(self): member in Token 126 @id.setter 127 def id(self, new_id): member in Token 142 if self.id == 'defined': 143 return self.id 145 return "(ident %s)" % self.id 147 return self.id 150 return self.id 326 token_list.append((token.id, token.location.line, 329 token_list.append(token.id) [all …]
|
/bionic/libc/upstream-netbsd/lib/libc/isc/ |
D | ev_timers.c | 194 evTimer *id; in evSetTimer() local 224 OKNEW(id); in evSetTimer() 225 id->func = func; in evSetTimer() 226 id->uap = uap; in evSetTimer() 227 id->due = due; in evSetTimer() 228 id->inter = inter; in evSetTimer() 230 if (heap_insert(ctx->timers, id) < 0) in evSetTimer() 235 opaqueID->opaque = id; in evSetTimer() 246 evClearTimer(evContext opaqueCtx, evTimerID id) { in evClearTimer() argument 248 evTimer *del = id.opaque; in evClearTimer() [all …]
|
D | ev_streams.c | 68 evStreamFunc func, void *uap, evStreamID *id) in evWrite() argument 90 if (id != NULL) in evWrite() 91 id->opaque = new; in evWrite() 102 evStreamFunc func, void *uap, evStreamID *id) in evRead() argument 124 if (id) in evRead() 125 id->opaque = new; in evRead() 135 evTimeRW(evContext opaqueCtx, evStreamID id, evTimerID timer) /*ARGSUSED*/ { in evTimeRW() argument 136 evStream *str = id.opaque; in evTimeRW() 146 evUntimeRW(evContext opaqueCtx, evStreamID id) /*ARGSUSED*/ { in evUntimeRW() argument 147 evStream *str = id.opaque; in evUntimeRW() [all …]
|
/bionic/libc/kernel/uapi/drm/ |
D | tegra_drm.h | 26 __u32 id; member 30 __u32 id; member 34 __u32 id; member 51 __u32 id; member 56 __u32 id; member 59 __u32 id; member 198 __u32 id; member 212 __u32 id; member 230 __u32 id; member 234 __u32 id; member [all …]
|
/bionic/libc/kernel/uapi/linux/surface_aggregator/ |
D | dtx.h | 35 #define SDTX_BASE_TYPE_HID(id) ((id) | SDTX_DEVICE_TYPE_HID) argument 36 #define SDTX_BASE_TYPE_SSH(id) ((id) | SDTX_DEVICE_TYPE_SSH) argument
|
/bionic/libc/kernel/uapi/sound/ |
D | sfnt_info.h | 11 #define SNDRV_OSS_PATCHKEY(id) (0xfd00 | id) argument 13 #define SNDRV_OSS_PATCHKEY(id) ((id << 8) | 0xfd) argument
|
/bionic/libc/upstream-openbsd/lib/libc/gen/ |
D | ftok.c | 33 ftok(const char *path, int id) in ftok() argument 35 const unsigned int u_id = id; in ftok()
|