Searched refs:BufferIO (Results 1 – 3 of 3) sorted by relevance
/external/compiler-rt/test/profile/ |
D | instrprof-bufferio.c | 15 void lprofDeleteBufferIO(ProfBufferIO *BufferIO); 17 int lprofBufferIOWrite(ProfBufferIO *BufferIO, const char *Data, uint32_t Size); 18 int lprofBufferIOFlush(ProfBufferIO *BufferIO); 27 ProfBufferIO *BufferIO; in main() local 45 BufferIO = lprofCreateBufferIOInternal(File[J], IOBufferSize[J]); in main() 47 lprofBufferIOWrite(BufferIO, "Short Strings:\n", in main() 50 lprofBufferIOWrite(BufferIO, SmallData, strlen(SmallData)); in main() 52 lprofBufferIOWrite(BufferIO, "Long Strings:\n", strlen("Long Strings:\n")); in main() 54 lprofBufferIOWrite(BufferIO, MediumData, strlen(MediumData)); in main() 56 lprofBufferIOWrite(BufferIO, "Extra Long Strings:\n", in main() [all …]
|
/external/compiler-rt/lib/profile/ |
D | InstrProfilingWriter.c | 47 static void llvmInitBufferIO(ProfBufferIO *BufferIO, WriterCallback FileWriter, in llvmInitBufferIO() argument 49 BufferIO->File = File; in llvmInitBufferIO() 50 BufferIO->FileWriter = FileWriter; in llvmInitBufferIO() 51 BufferIO->BufferStart = Buffer; in llvmInitBufferIO() 52 BufferIO->BufferSz = BufferSz; in llvmInitBufferIO() 53 BufferIO->CurOffset = 0; in llvmInitBufferIO() 68 COMPILER_RT_VISIBILITY void lprofDeleteBufferIO(ProfBufferIO *BufferIO) { in lprofDeleteBufferIO() argument 77 lprofBufferIOWrite(ProfBufferIO *BufferIO, const uint8_t *Data, uint32_t Size) { in lprofBufferIOWrite() argument 79 if (Size + BufferIO->CurOffset > BufferIO->BufferSz) { in lprofBufferIOWrite() 80 if (lprofBufferIOFlush(BufferIO) != 0) in lprofBufferIOWrite() [all …]
|
D | InstrProfilingInternal.h | 82 void lprofDeleteBufferIO(ProfBufferIO *BufferIO); 88 int lprofBufferIOWrite(ProfBufferIO *BufferIO, const uint8_t *Data, 94 int lprofBufferIOFlush(ProfBufferIO *BufferIO);
|