/freebsd/sys/contrib/openzfs/module/lua/ |
H A D | llex.c | 211 static void trydecpoint (LexState *ls, SemInfo *seminfo) { in trydecpoint() argument 215 if (!buff2d(ls->buff, &seminfo->r)) { in trydecpoint() 228 static void read_numeral (LexState *ls, SemInfo *seminfo) { in read_numeral() argument 244 if (!buff2d(ls->buff, &seminfo->r)) /* format error? */ in read_numeral() 245 trydecpoint(ls, seminfo); /* try to update decimal point separator */ in read_numeral() 266 static void read_long_string (LexState *ls, SemInfo *seminfo, int sep) { in read_long_string() argument 273 lexerror(ls, (seminfo) ? "unfinished long string" : in read_long_string() 286 if (!seminfo) luaZ_resetbuffer(ls->buff); /* avoid wasting space */ in read_long_string() 290 if (seminfo) save_and_next(ls); in read_long_string() 295 if (seminfo) in read_long_string() [all …]
|
H A D | llex.h | 45 SemInfo seminfo; member
|
H A D | lparser.c | 61 TString *ts = ls->t.seminfo.ts; in anchor_token() 139 ts = ls->t.seminfo.ts; in str_checkname() 847 codestring(ls, &args, ls->t.seminfo.ts); in funcargs() 946 v->u.nval = ls->t.seminfo.r; in simpleexp() 950 codestring(ls, v, ls->t.seminfo.ts); in simpleexp()
|
/freebsd/contrib/lua/src/ |
H A D | llex.c | 227 static int read_numeral (LexState *ls, SemInfo *seminfo) { in read_numeral() argument 248 seminfo->i = ivalue(&obj); in read_numeral() 253 seminfo->r = fltvalue(&obj); in read_numeral() 280 static void read_long_string (LexState *ls, SemInfo *seminfo, size_t sep) { in read_long_string() argument 288 const char *what = (seminfo ? "string" : "comment"); in read_long_string() 304 if (!seminfo) luaZ_resetbuffer(ls->buff); /* avoid wasting space */ in read_long_string() 308 if (seminfo) save_and_next(ls); in read_long_string() 313 if (seminfo) in read_long_string() 314 seminfo->ts = luaX_newstring(ls, luaZ_buffer(ls->buff) + sep, in read_long_string() 382 static void read_string (LexState *ls, int del, SemInfo *seminfo) { in read_string() argument [all …]
|
H A D | llex.h | 58 SemInfo seminfo; member
|
H A D | lparser.c | 146 ts = ls->t.seminfo.ts; in str_checkname() 1047 codestring(&args, ls->t.seminfo.ts); in funcargs() 1146 v->u.nval = ls->t.seminfo.r; in simpleexp() 1151 v->u.ival = ls->t.seminfo.i; in simpleexp() 1155 codestring(v, ls->t.seminfo.ts); in simpleexp()
|
/freebsd/sys/kern/ |
H A D | sysv_sem.c | 193 ((struct sem_undo *)(((intptr_t)semu) + (ix) * seminfo.semusz)) 198 struct seminfo seminfo = { variable 210 SYSCTL_INT(_kern_ipc, OID_AUTO, semmni, CTLFLAG_RDTUN, &seminfo.semmni, 0, 212 SYSCTL_INT(_kern_ipc, OID_AUTO, semmns, CTLFLAG_RDTUN, &seminfo.semmns, 0, 214 SYSCTL_INT(_kern_ipc, OID_AUTO, semmnu, CTLFLAG_RDTUN, &seminfo.semmnu, 0, 216 SYSCTL_INT(_kern_ipc, OID_AUTO, semmsl, CTLFLAG_RWTUN, &seminfo.semmsl, 0, 218 SYSCTL_INT(_kern_ipc, OID_AUTO, semopm, CTLFLAG_RDTUN, &seminfo.semopm, 0, 220 SYSCTL_INT(_kern_ipc, OID_AUTO, semume, CTLFLAG_RDTUN, &seminfo.semume, 0, 222 SYSCTL_INT(_kern_ipc, OID_AUTO, semusz, CTLFLAG_RD, &seminfo.semusz, 0, 224 SYSCTL_INT(_kern_ipc, OID_AUTO, semvmx, CTLFLAG_RWTUN, &seminfo.semvmx, 0, [all …]
|
/freebsd/usr.bin/ipcs/ |
H A D | ipcs.c | 63 void print_ksemtotal(struct seminfo seminfo); 259 kget(X_SEMINFO, &seminfo, sizeof(seminfo)); in main() 265 print_ksemtotal(seminfo); in main() 269 sizeof(struct semid_kernel) * seminfo.semmni; in main() 275 for (i = 0; i < seminfo.semmni; i += 1) { in main() 459 print_ksemtotal(struct seminfo local_seminfo) in print_ksemtotal()
|
H A D | ipc.h | 69 extern struct seminfo seminfo;
|
H A D | ipc.c | 52 struct seminfo seminfo; variable 95 #define TYPEC struct seminfo
|
/freebsd/sys/sys/ |
H A D | sem.h | 112 struct seminfo { struct 139 extern struct seminfo seminfo; argument
|
/freebsd/usr.bin/ipcrm/ |
H A D | ipcrm.c | 161 kget(X_SEMINFO, &seminfo, sizeof(seminfo)); in semrm() 162 kxsema_len = sizeof(struct semid_kernel) * seminfo.semmni; in semrm() 165 num = seminfo.semmni; in semrm()
|
/freebsd/sys/compat/linux/ |
H A D | linux_ipc.c | 603 bcopy(&seminfo, &linux_seminfo.semmni, sizeof(linux_seminfo) - in linux_semctl() 625 td->td_retval[0] = seminfo.semmni; in linux_semctl()
|