/src/sys/external/bsd/compiler_rt/dist/lib/xray/ |
xray_buffer_queue.cc | 124 auto &Buf = T.Buff; 127 Buf.Extents = &E->Extents; 128 atomic_store(Buf.Extents, 0, memory_order_release); 129 Buf.Generation = generation(); 130 Buf.Data = &BackingStore->Data + (BufferSize * i); 131 Buf.Size = BufferSize; 132 Buf.BackingStore = BackingStore; 133 Buf.ExtentsBackingStore = ExtentsBackingStore; 134 Buf.Count = BufferCount; 162 BufferQueue::ErrorCode BufferQueue::getBuffer(Buffer &Buf) { [all...] |
xray_buffer_queue.h | 202 /// Updates |Buf| to contain the pointer to an appropriate buffer. Returns an 214 ErrorCode getBuffer(Buffer &Buf); 216 /// Updates |Buf| to point to nullptr, with size 0. 222 ErrorCode releaseBuffer(Buffer &Buf);
|
/src/sys/external/bsd/compiler_rt/dist/lib/ubsan/ |
ubsan_monitor.cc | 52 InternalScopedString &Buf = CurrentUBR->Buffer; 56 char FirstChar = Buf.data()[0]; 58 Buf.data()[0] = FirstChar - 'a' + 'A'; 61 *OutMessage = Buf.data();
|
/src/games/hunt/hunt/ |
connect.c | 60 (void) strcpy(Buf, ttyname(fileno(stderr))); 61 (void) write(huntsocket, Buf, WIRE_NAMELEN);
|
hunt_private.h | 52 extern char Buf[BUFSIZ];
|
playit.c | 244 static char inp[sizeof Buf]; 246 count = read(STDIN_FILENO, Buf, sizeof(Buf) - 1); 259 Buf[count] = '\0'; 261 for (sp = Buf; *sp != '\0'; sp++) 326 static char buf[WIDTH + WIDTH % 2]; local in function:quit 335 cp = buf; 341 if (cp > buf) { 353 move(y, x - (cp - buf)); 354 cp = buf; [all...] |
hunt.c | 77 char Buf[BUFSIZ]; 116 static char buf[NI_MAXHOST]; local in function:lookuphost 120 buf, sizeof(buf), NULL, 0, NI_NOFQDN); 124 return buf; 438 char buf[BUFSIZ]; local in function:dump_scores 449 while ((cnt = read(s, buf, BUFSIZ)) > 0) 450 write(fileno(stdout), buf, cnt);
|
/src/sys/external/bsd/compiler_rt/dist/lib/xray/tests/unit/ |
buffer_queue_test.cc | 39 BufferQueue::Buffer Buf; 40 ASSERT_EQ(Buffers.getBuffer(Buf), BufferQueue::ErrorCode::Ok); 41 ASSERT_NE(nullptr, Buf.Data); 42 ASSERT_EQ(Buffers.releaseBuffer(Buf), BufferQueue::ErrorCode::Ok); 43 ASSERT_EQ(nullptr, Buf.Data); 61 BufferQueue::Buffer Buf; 62 Buf.Data = reinterpret_cast<void *>(0xdeadbeef); 63 Buf.Size = kSize; 64 Buf.Generation = Buffers.generation(); 68 EXPECT_THAT(Buffers.releaseBuffer(Buf), [all...] |
/src/games/hunt/huntd/ |
draw.c | 85 (void) snprintf(Buf, sizeof(Buf), "%3d", pp->p_ammo); 87 outstr(pp, Buf, 3); 96 (void) snprintf(Buf, sizeof(Buf), "%2d/%2d", pp->p_damage, 99 outstr(pp, Buf, 5); 103 (void) snprintf(Buf, sizeof(Buf), "%3d", (pp->p_damcap - MAXDAM) / 2); 105 outstr(pp, Buf, 3); 110 (void) snprintf(Buf, sizeof(Buf), "%5.2f%c%-10.10s %c" [all...] |
execute.c | 361 (void) snprintf(Buf, sizeof(Buf), "%3d", pp->p_ammo); 363 outstr(pp, Buf, 3); 408 (void) snprintf(Buf, sizeof(Buf), "%3d", pp->p_ammo); 410 outstr(pp, Buf, 3); 514 (void) snprintf(Buf, sizeof(Buf), "%3d", --pp->p_ammo); 516 outstr(pp, Buf, 3); 537 (void) snprintf(Buf, sizeof(Buf), "%3d", --pp->p_ammo) [all...] |
driver.c | 558 (void) snprintf(Buf, sizeof(Buf), "%2d", ouch->p_damage); 560 outstr(ouch, Buf, 2); 642 (void) snprintf(Buf, sizeof(Buf), "%2d/%2d", gotcha->p_damage, 645 outstr(gotcha, Buf, 5); 646 (void) snprintf(Buf, sizeof(Buf), "%3d", 649 outstr(gotcha, Buf, 3); 650 (void) snprintf(Buf, sizeof(Buf), "%5.2f", gotcha->p_ident->i_score) [all...] |
extern.c | 44 char Buf[BUFSIZ]; /* general scribbling buffer */
|
answer.c | 148 char buf[BUFSIZ + 1]; local in function:answer 152 (void) snprintf(buf, sizeof(buf), "%s: ", name); 154 (void) snprintf(buf, sizeof(buf), "%s[%c]: ", name, 156 n = strlen(buf); 159 outstr(pp, buf, n); 161 while ((n = read(newsock, buf, BUFSIZ)) > 0) 163 outstr(pp, buf, n); 233 (void) snprintf(Buf, sizeof(Buf), "%5.5s%c%-10.10s %c", " " [all...] |
hunt.h | 137 extern char Buf[BUFSIZ], Maze[HEIGHT][WIDTH2], Orig_maze[HEIGHT][WIDTH2];
|
shots.c | 318 (void) snprintf(Buf, sizeof(Buf), 321 outstr(pp, Buf, 3); 500 (void) snprintf(Buf, sizeof(buf), "%3d", pp->p_ammo); 502 outstr(pp, Buf, 3);
|
/src/sys/external/bsd/compiler_rt/dist/lib/fuzzer/dataflow/ |
DataFlow.cpp | 86 void *const Buf[1] = {(void*)PC}; 87 backtrace_symbols_fd(Buf, 1, fileno(Pipe)); 139 unsigned char *Buf = (unsigned char*)malloc(InputLen); 140 size_t NumBytesRead = fread(Buf, 1, InputLen, In); 151 dfsan_set_label(L, Buf + Idx, 1); 157 LLVMFuzzerTestOneInput(Buf, InputLen); 158 free(Buf);
|
/src/common/dist/zlib/contrib/delphi/ |
ZLib.pas | 530 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));
|