Home
last modified time | relevance | path

Searched refs:Buf (Results 1 – 19 of 19) sorted by relevance

/netbsd/src/games/hunt/huntd/
Ddraw.c85 (void) snprintf(Buf, sizeof(Buf), "%3d", pp->p_ammo); in drawstatus()
87 outstr(pp, Buf, 3); in drawstatus()
96 (void) snprintf(Buf, sizeof(Buf), "%2d/%2d", pp->p_damage, in drawstatus()
99 outstr(pp, Buf, 5); in drawstatus()
103 (void) snprintf(Buf, sizeof(Buf), "%3d", (pp->p_damcap - MAXDAM) / 2); in drawstatus()
105 outstr(pp, Buf, 3); in drawstatus()
110 (void) snprintf(Buf, sizeof(Buf), "%5.2f%c%-10.10s %c", in drawstatus()
115 outstr(pp, Buf, STAT_NAME_LEN); in drawstatus()
122 (void) snprintf(Buf, sizeof(Buf), "%5.5s %-10.10s %c", " ", in drawstatus()
125 outstr(pp, Buf, STAT_NAME_LEN); in drawstatus()
Dexecute.c361 (void) snprintf(Buf, sizeof(Buf), "%3d", pp->p_ammo); in fire()
363 outstr(pp, Buf, 3); in fire()
408 (void) snprintf(Buf, sizeof(Buf), "%3d", pp->p_ammo); in fire_slime()
410 outstr(pp, Buf, 3); in fire_slime()
514 (void) snprintf(Buf, sizeof(Buf), "%3d", --pp->p_ammo); in cloak()
516 outstr(pp, Buf, 3); in cloak()
537 (void) snprintf(Buf, sizeof(Buf), "%3d", --pp->p_ammo); in scan()
539 outstr(pp, Buf, 3); in scan()
572 (void) snprintf(Buf, sizeof(Buf), "%3d", pp->p_ammo); in pickup()
574 outstr(pp, Buf, 3); in pickup()
Ddriver.c558 (void) snprintf(Buf, sizeof(Buf), "%2d", ouch->p_damage); in checkdam()
560 outstr(ouch, Buf, 2); in checkdam()
642 (void) snprintf(Buf, sizeof(Buf), "%2d/%2d", gotcha->p_damage, in checkdam()
645 outstr(gotcha, Buf, 5); in checkdam()
646 (void) snprintf(Buf, sizeof(Buf), "%3d", in checkdam()
649 outstr(gotcha, Buf, 3); in checkdam()
650 (void) snprintf(Buf, sizeof(Buf), "%5.2f", gotcha->p_ident->i_score); in checkdam()
654 outstr(ouch, Buf, 5); in checkdam()
660 outstr(ouch, Buf, 5); in checkdam()
737 (void) snprintf(Buf, sizeof(Buf), "%s detonated.", in zap()
[all …]
Danswer.c233 (void) snprintf(Buf, sizeof(Buf), "%5.5s%c%-10.10s %c", " ", in stmonitor()
239 outstr(npp, Buf, STAT_NAME_LEN); in stmonitor()
243 outstr(npp, Buf, STAT_NAME_LEN); in stmonitor()
336 (void) snprintf(Buf, sizeof(Buf), "%5.2f%c%-10.10s %c", in stplayer()
348 outstr(pp, Buf, STAT_NAME_LEN); in stplayer()
358 outstr(pp, Buf, STAT_NAME_LEN); in stplayer()
Dextern.c44 char Buf[BUFSIZ]; /* general scribbling buffer */ variable
Dshots.c318 (void) snprintf(Buf, sizeof(Buf), in move_normal_shot()
321 outstr(pp, Buf, 3); in move_normal_shot()
500 (void) snprintf(Buf, sizeof(buf), "%3d", pp->p_ammo); in move_drone()
502 outstr(pp, Buf, 3); in move_drone()
Dhunt.h137 extern char Buf[BUFSIZ], Maze[HEIGHT][WIDTH2], Orig_maze[HEIGHT][WIDTH2];
/netbsd/src/external/bsd/libbind/dist/isc/
Dctl_p.h15 #define allocated_p(Buf) ((Buf).text != NULL) argument
16 #define buffer_init(Buf) ((Buf).text = 0, (Buf.used) = 0) argument
/netbsd/src/games/hunt/hunt/
Dplayit.c244 static char inp[sizeof Buf]; in send_stuff()
246 count = read(STDIN_FILENO, Buf, sizeof(Buf) - 1); in send_stuff()
259 Buf[count] = '\0'; in send_stuff()
261 for (sp = Buf; *sp != '\0'; sp++) in send_stuff()
Dconnect.c60 (void) strcpy(Buf, ttyname(fileno(stderr))); in do_connect()
61 (void) write(huntsocket, Buf, WIRE_NAMELEN); in do_connect()
Dhunt_private.h52 extern char Buf[BUFSIZ];
Dhunt.c77 char Buf[BUFSIZ]; variable
/netbsd/src/crypto/external/cpl/trousers/dist/src/trspi/crypto/openssl/
Dhash.c57 Trspi_Hash(UINT32 HashType, UINT32 BufSize, BYTE* Buf, BYTE* Digest) in Trspi_Hash() argument
80 rv = EVP_DigestUpdate(md_ctx, Buf, BufSize); in Trspi_Hash()
177 Trspi_HMAC(UINT32 HashType, UINT32 SecretSize, BYTE* Secret, UINT32 BufSize, BYTE* Buf, BYTE* hmacO… in Trspi_HMAC() argument
196 HMAC(md, Secret, SecretSize, Buf, BufSize, hmacOut, &len); in Trspi_HMAC()
/netbsd/src/common/dist/zlib/contrib/delphi/
DZLib.pas530 Buf: array [0..4095] of Char;
546 for I := 1 to Offset div sizeof(Buf) do
547 ReadBuffer(Buf, sizeof(Buf));
548 ReadBuffer(Buf, Offset mod sizeof(Buf));
/netbsd/src/crypto/external/cpl/trousers/dist/src/tcs/crypto/openssl/
Dcrypto.c32 Hash(UINT32 HashType, UINT32 BufSize, BYTE* Buf, BYTE* Digest) in Hash() argument
55 rv = EVP_DigestUpdate(md_ctx, Buf, BufSize); in Hash()
/netbsd/src/external/lgpl3/mpfr/dist/src/
Dvasprintf.c2089 mpfr_vasnprintf_aux (char **ptr, char *Buf, size_t size, const char *fmt, in mpfr_vasnprintf_aux() argument
2443 strncpy (Buf, buf.start, nbchar); in mpfr_vasnprintf_aux()
2444 Buf[nbchar] = '\0'; in mpfr_vasnprintf_aux()
2448 strncpy (Buf, buf.start, size - 1); in mpfr_vasnprintf_aux()
2449 Buf[size-1] = '\0'; in mpfr_vasnprintf_aux()
/netbsd/src/crypto/external/cpl/trousers/dist/src/include/trousers/
Dtrousers.h136 TSS_RESULT Trspi_Hash(UINT32 HashType, UINT32 BufSize, BYTE *Buf, BYTE *Digest);
186 UINT32 Trspi_HMAC(UINT32 HashType, UINT32 SecretSize, BYTE*Secret, UINT32 BufSize, BYTE*Buf, BYTE*h…
/netbsd/src/share/man/tools/
Dsp.ignore818 Buf
Dnewsp.errs1121 Buf