Searched refs:buf (Results 251 - 275 of 349) sorted by relevance

<<11121314

/seL4-refos-master/apps/nethack/src/nethack-3.4.3/src/
H A Dartifact.c538 char buf[BUFSZ]; local
543 Sprintf(buf, "touching %s", oart->name);
544 losehp(dmg, buf, KILLED_BY);
706 char buf[BUFSZ]; local
713 Sprintf(buf, " %s [%s %s]", artiname(m),
715 putstr(tmpwin, 0, buf);
913 char buf[BUFSZ]; local
915 buf[0] = '\0';
916 if (do_stun) Strcat(buf, "stunned");
917 if (do_stun && do_confuse) Strcat(buf, " an
1421 char buf[BUFSZ]; local
[all...]
H A Dpotion.c171 char buf[BUFSZ]; local
195 Strcpy(buf, body_part(EYE));
197 Your(eyemsg, (eyecnt == 1) ? buf : makeplural(buf),
221 Strcpy(buf, body_part(EYE));
223 Your(eyemsg, (eyecnt == 1) ? buf : makeplural(buf),
270 char buf[BUFSZ]; local
273 Strcpy(buf, body_part(EYE));
274 Your(eyemsg, (eyecnt == 1) ? buf
977 char buf[BUFSZ]; local
1749 char buf[BUFSZ]; local
[all...]
H A Dmhitu.c453 char buf[BUFSZ]; local
454 Sprintf(buf, "You appear to be %s again.",
457 unmul(buf); /* immediately stop mimicking */
494 char buf[BUFSZ], genericwere[BUFSZ]; local
516 Sprintf(buf, "%s appears",
519 Sprintf(buf, "%s appear",
521 pline("%s%s!", upstart(buf), from_nowhere);
875 char buf[BUFSZ]; local
1054 Sprintf(buf, "%s %s",
1056 poisoned(buf, ptm
1647 char buf[BUFSZ]; local
2202 char buf[BUFSZ]; local
[all...]
H A Ddetect.c210 char buf[BUFSZ]; local
212 Sprintf(buf, "You feel like a million %s!",
220 Strcpy(buf,
223 Strcpy(buf, "You feel materially poor.");
224 strange_feeling(sobj, buf);
331 char buf[BUFSZ]; local
332 Sprintf(buf, "Your %s twitches%s.", body_part(NOSE),
337 strange_feeling(sobj, buf);
341 strange_feeling(sobj, buf);
712 char buf[4 local
[all...]
H A Dminion.c210 char buf[BUFSZ]; local
216 getlin("How much will you offer?", buf);
217 if (sscanf(buf, "%ld", &offer) != 1) offer = 0L;
H A Dtimeout.c621 char buf[BUFSZ]; local
643 what = strcpy(buf, what);
644 buf[0] = highc(buf[0]);
1347 char buf[BUFSZ], arg_address[20]; local
1355 Sprintf(buf, " %4ld %4ld %-6s %s(%s)",
1360 Sprintf(buf, " %4ld %4ld %-6s #%d(%s)",
1365 putstr(win, 0, buf);
1374 char buf[BUFSZ]; local
1379 Sprintf(buf, "Curren
[all...]
H A Dapply.c984 char buf[BUFSZ]; local
991 Shk_Your(buf, otmp),
1065 char buf[BUFSZ]; local
1074 pline("%s lamp is now off.", Shk_Your(buf, obj));
1095 pline("%s lamp is now on.", Shk_Your(buf, obj));
1116 char buf[BUFSZ]; local
1139 You("light %s potion.%s", shk_your(buf, obj),
1761 char buf[BUFSZ]; local
1782 Strcpy(buf, xname(uarmc));
1783 You(need_to_remove_outer_armor, buf, xnam
1980 char buf[BUFSZ]; local
2113 char buf[BUFSZ]; local
2520 char buf[BUFSZ]; local
2610 char confirm[QBUFSZ], the_wand[BUFSZ], buf[BUFSZ]; local
2877 char buf[BUFSZ]; local
[all...]
H A Drestore.c1035 mread(fd, buf, len)
1037 genericptr_t buf;
1046 *(*((char **)&buf))++ = '\0';
1050 if ((*(*(char **)&buf)++ = (char)ch) == RLESC) {
1068 mread(fd, buf, len)
1070 register genericptr_t buf;
1076 rlen = read(fd, buf, (int) len);
1079 rlen = read(fd, buf, (unsigned) len);
H A Drumors.c145 char buf[BUFSZ]; local
160 line = getrumor(truth, buf, reading ? FALSE : TRUE);
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/src/
H A Dpotion.c171 char buf[BUFSZ]; local
195 Strcpy(buf, body_part(EYE));
197 Your(eyemsg, (eyecnt == 1) ? buf : makeplural(buf),
221 Strcpy(buf, body_part(EYE));
223 Your(eyemsg, (eyecnt == 1) ? buf : makeplural(buf),
270 char buf[BUFSZ]; local
273 Strcpy(buf, body_part(EYE));
274 Your(eyemsg, (eyecnt == 1) ? buf
977 char buf[BUFSZ]; local
1749 char buf[BUFSZ]; local
[all...]
H A Dmhitu.c453 char buf[BUFSZ]; local
454 Sprintf(buf, "You appear to be %s again.",
457 unmul(buf); /* immediately stop mimicking */
494 char buf[BUFSZ], genericwere[BUFSZ]; local
516 Sprintf(buf, "%s appears",
519 Sprintf(buf, "%s appear",
521 pline("%s%s!", upstart(buf), from_nowhere);
875 char buf[BUFSZ]; local
1054 Sprintf(buf, "%s %s",
1056 poisoned(buf, ptm
1647 char buf[BUFSZ]; local
2202 char buf[BUFSZ]; local
[all...]
H A Ddetect.c210 char buf[BUFSZ]; local
212 Sprintf(buf, "You feel like a million %s!",
220 Strcpy(buf,
223 Strcpy(buf, "You feel materially poor.");
224 strange_feeling(sobj, buf);
331 char buf[BUFSZ]; local
332 Sprintf(buf, "Your %s twitches%s.", body_part(NOSE),
337 strange_feeling(sobj, buf);
341 strange_feeling(sobj, buf);
712 char buf[4 local
[all...]
H A Dminion.c210 char buf[BUFSZ]; local
216 getlin("How much will you offer?", buf);
217 if (sscanf(buf, "%ld", &offer) != 1) offer = 0L;
H A Dtimeout.c621 char buf[BUFSZ]; local
643 what = strcpy(buf, what);
644 buf[0] = highc(buf[0]);
1347 char buf[BUFSZ], arg_address[20]; local
1355 Sprintf(buf, " %4ld %4ld %-6s %s(%s)",
1360 Sprintf(buf, " %4ld %4ld %-6s #%d(%s)",
1365 putstr(win, 0, buf);
1374 char buf[BUFSZ]; local
1379 Sprintf(buf, "Curren
[all...]
H A Dapply.c984 char buf[BUFSZ]; local
991 Shk_Your(buf, otmp),
1065 char buf[BUFSZ]; local
1074 pline("%s lamp is now off.", Shk_Your(buf, obj));
1095 pline("%s lamp is now on.", Shk_Your(buf, obj));
1116 char buf[BUFSZ]; local
1139 You("light %s potion.%s", shk_your(buf, obj),
1761 char buf[BUFSZ]; local
1782 Strcpy(buf, xname(uarmc));
1783 You(need_to_remove_outer_armor, buf, xnam
1980 char buf[BUFSZ]; local
2113 char buf[BUFSZ]; local
2520 char buf[BUFSZ]; local
2610 char confirm[QBUFSZ], the_wand[BUFSZ], buf[BUFSZ]; local
2877 char buf[BUFSZ]; local
[all...]
H A Drestore.c1035 mread(fd, buf, len)
1037 genericptr_t buf;
1046 *(*((char **)&buf))++ = '\0';
1050 if ((*(*(char **)&buf)++ = (char)ch) == RLESC) {
1068 mread(fd, buf, len)
1070 register genericptr_t buf;
1076 rlen = read(fd, buf, (int) len);
1079 rlen = read(fd, buf, (unsigned) len);
H A Drumors.c145 char buf[BUFSZ]; local
160 line = getrumor(truth, buf, reading ? FALSE : TRUE);
/seL4-refos-master/libs/libmuslc/ldso/
H A Ddynlink.c90 char buf[]; member in struct:dso
539 Ehdr buf[(896+sizeof(Ehdr))/sizeof(Ehdr)]; local
554 ssize_t l = read(fd, buf, sizeof buf);
555 eh = buf;
560 if (phsize > sizeof buf - sizeof *eh) {
568 l = pread(fd, buf+1, phsize, eh->e_phoff);
571 ph = ph0 = (void *)(buf + 1);
573 ph = ph0 = (void *)((char *)buf + eh->e_phoff);
719 static int path_open(const char *name, const char *s, char *buf, size_ argument
745 fixup_rpath(struct dso *p, char *buf, size_t buf_size) argument
891 char buf[2*NAME_MAX+2]; local
[all...]
/seL4-refos-master/projects/refos/impl/apps/nethack/src/nethack-3.4.3/sys/share/
H A Dtclib.c333 tparam(ctl, buf, buflen, row, col, row2, col2)
335 char *buf; /* output buffer */
348 r = buf, bufend = r + buflen - 1;
428 return buf;
/seL4-refos-master/apps/nethack/src/nethack-3.4.3/sys/share/
H A Dtclib.c333 tparam(ctl, buf, buflen, row, col, row2, col2)
335 char *buf; /* output buffer */
348 r = buf, bufend = r + buflen - 1;
428 return buf;
/seL4-refos-master/libs/libmuslc/src/internal/
H A Dstdio_impl.h32 unsigned char *buf; member in struct:_IO_FILE
/seL4-refos-master/libs/libsel4muslcsys/src/
H A Dsys_io.c333 void *buf = va_arg(ap, void *); local
336 struct iovec iov = {.iov_base = buf, .iov_len = count };
379 void *buf = va_arg(ap, void *); local
382 struct iovec iov = {.iov_base = buf, .iov_len = count };
/seL4-refos-master/projects/seL4_libs/libsel4muslcsys/src/
H A Dsys_io.c333 void *buf = va_arg(ap, void *); local
336 struct iovec iov = {.iov_base = buf, .iov_len = count };
379 void *buf = va_arg(ap, void *); local
382 struct iovec iov = {.iov_base = buf, .iov_len = count };
/seL4-refos-master/projects/util_libs/libplatsupport/src/plat/am335x/
H A Di2c.c26 uint8_t *buf; member in struct:omap4_i2c_dev
189 dev->buf = data;
350 dev->buf[dev->buf_pos] = omap4_i2c_reg_read(dev, OMAP4_I2C_DATA);
374 omap4_i2c_reg_write(dev, OMAP4_I2C_DATA, dev->buf[dev->buf_pos]);
/seL4-refos-master/libs/libplatsupport/src/plat/am335x/
H A Di2c.c26 uint8_t *buf; member in struct:omap4_i2c_dev
189 dev->buf = data;
350 dev->buf[dev->buf_pos] = omap4_i2c_reg_read(dev, OMAP4_I2C_DATA);
374 omap4_i2c_reg_write(dev, OMAP4_I2C_DATA, dev->buf[dev->buf_pos]);

Completed in 120 milliseconds

<<11121314