Home
last modified time | relevance | path

Searched refs:id (Results 1 – 25 of 125) sorted by relevance

12345

/bionic/libc/kernel/uapi/rdma/
Drdma_user_cm.h60 __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 …]
Dib_user_mad.h13 __u32 id; member
31 __u32 id; member
57 __u32 id; member
70 __u32 id; member
/bionic/libc/bionic/
Dsys_msg.cpp34 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()
Dsys_sem.cpp35 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()
Dsys_shm.cpp34 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()
Dposix_timers.cpp205 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()
Dwait.cpp32 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/
Ds_atanf.c52 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()
Ds_atanl.c37 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()
Ds_atan.c77 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/
Dsys_sem_test.cpp46 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 …]
Dsys_msg_test.cpp44 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()
Dsys_shm_test.cpp43 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/
Dadb.h10 #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
Dpatchkey.h15 #define _PATCHKEY(id) (0xfd00 | id) argument
17 #define _PATCHKEY(id) ((id << 8) | 0x00fd) argument
Dzorro.h10 #define ZORRO_MANUF(id) ((id) >> 16) argument
11 #define ZORRO_PROD(id) (((id) >> 8) & 0xff) argument
12 #define ZORRO_EPC(id) ((id) & 0xff) argument
Duhid.h65 __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/
Dmalloc_rss_benchmark.cpp61 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/
Dcpp.py119 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/
Dev_timers.c194 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 …]
Dev_streams.c68 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/
Dtegra_drm.h26 __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/
Ddtx.h35 #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/
Dsfnt_info.h11 #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/
Dftok.c33 ftok(const char *path, int id) in ftok() argument
35 const unsigned int u_id = id; in ftok()

12345