Searched refs:BufferIO (Results 1 - 3 of 3) sorted by relevance
/netbsd-current/sys/external/bsd/compiler_rt/dist/test/profile/ |
H A D | instrprof-bufferio.c | 15 void llvmDeleteBufferIO(ProfBufferIO *BufferIO); 17 int llvmBufferIOWrite(ProfBufferIO *BufferIO, const char *Data, uint32_t Size); 18 int llvmBufferIOFlush(ProfBufferIO *BufferIO); 27 ProfBufferIO *BufferIO; local 45 BufferIO = llvmCreateBufferIOInternal(File[J], IOBufferSize[J]); 47 llvmBufferIOWrite(BufferIO, "Short Strings:\n", strlen("Short Strings:\n")); 49 llvmBufferIOWrite(BufferIO, SmallData, strlen(SmallData)); 51 llvmBufferIOWrite(BufferIO, "Long Strings:\n", strlen("Long Strings:\n")); 53 llvmBufferIOWrite(BufferIO, MediumData, strlen(MediumData)); 55 llvmBufferIOWrite(BufferIO, "Extr [all...] |
/netbsd-current/sys/external/bsd/compiler_rt/dist/lib/profile/ |
H A D | InstrProfilingWriter.c | 36 static void llvmInitBufferIO(ProfBufferIO *BufferIO, WriterCallback FileWriter, argument 38 BufferIO->File = File; 39 BufferIO->FileWriter = FileWriter; 40 BufferIO->BufferStart = Buffer; 41 BufferIO->BufferSz = BufferSz; 42 BufferIO->CurOffset = 0; 47 ProfBufferIO *BufferIO = (ProfBufferIO *)CallocHook(1, sizeof(ProfBufferIO)); local 50 FreeHook(BufferIO); 53 llvmInitBufferIO(BufferIO, FileWriter, File, Buffer, BufferSz); 54 return BufferIO; 57 llvmDeleteBufferIO(ProfBufferIO *BufferIO) argument 63 llvmBufferIOWrite(ProfBufferIO *BufferIO, const uint8_t *Data, uint32_t Size) argument 83 llvmBufferIOFlush(ProfBufferIO *BufferIO) argument 114 ProfBufferIO *BufferIO; local [all...] |
H A D | InstrProfilingInternal.h | 81 void llvmDeleteBufferIO(ProfBufferIO *BufferIO); 85 * \c BufferIO. Returns 0 if successful, otherwise return -1. 87 int llvmBufferIOWrite(ProfBufferIO *BufferIO, const uint8_t *Data, 93 int llvmBufferIOFlush(ProfBufferIO *BufferIO);
|
Completed in 163 milliseconds