Home
last modified time | relevance | path

Searched refs:IOVecs (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/compiler-rt/lib/profile/
DInstrProfilingPlatformFuchsia.c67 static uint32_t lprofVMOWriter(ProfDataWriter *This, ProfDataIOVec *IOVecs, in lprofVMOWriter() argument
74 Length += IOVecs[I].ElmSize * IOVecs[I].NumElm; in lprofVMOWriter()
83 size_t Length = IOVecs[I].ElmSize * IOVecs[I].NumElm; in lprofVMOWriter()
84 if (IOVecs[I].Data) { in lprofVMOWriter()
85 Status = _zx_vmo_write(Ctx->Vmo, IOVecs[I].Data, Ctx->Offset, Length); in lprofVMOWriter()
88 } else if (IOVecs[I].UseZeroPadding) { in lprofVMOWriter()
DInstrProfilingWriter.c39 ProfDataIOVec *IOVecs, in lprofBufferWriter() argument
44 size_t Length = IOVecs[I].ElmSize * IOVecs[I].NumElm; in lprofBufferWriter()
45 if (IOVecs[I].Data) in lprofBufferWriter()
46 memcpy(*Buffer, IOVecs[I].Data, Length); in lprofBufferWriter()
47 else if (IOVecs[I].UseZeroPadding) { in lprofBufferWriter()
DInstrProfilingFile.c122 static uint32_t fileWriter(ProfDataWriter *This, ProfDataIOVec *IOVecs, in fileWriter() argument
128 if (IOVecs[I].Data) { in fileWriter()
129 if (fwrite(IOVecs[I].Data, IOVecs[I].ElmSize, IOVecs[I].NumElm, File) != in fileWriter()
130 IOVecs[I].NumElm) in fileWriter()
132 } else if (IOVecs[I].UseZeroPadding) { in fileWriter()
133 size_t BytesToWrite = IOVecs[I].ElmSize * IOVecs[I].NumElm; in fileWriter()
144 if (fseek(File, IOVecs[I].ElmSize * IOVecs[I].NumElm, SEEK_CUR) == -1) in fileWriter()
DInstrProfilingInternal.h110 uint32_t lprofBufferWriter(ProfDataWriter *This, ProfDataIOVec *IOVecs,
/external/compiler-rt/lib/profile/
DInstrProfilingFile.c89 static uint32_t fileWriter(ProfDataIOVec *IOVecs, uint32_t NumIOVecs, in fileWriter() argument
94 if (fwrite(IOVecs[I].Data, IOVecs[I].ElmSize, IOVecs[I].NumElm, File) != in fileWriter()
95 IOVecs[I].NumElm) in fileWriter()
DInstrProfilingWriter.c34 COMPILER_RT_VISIBILITY uint32_t lprofBufferWriter(ProfDataIOVec *IOVecs, in lprofBufferWriter() argument
40 size_t Length = IOVecs[I].ElmSize * IOVecs[I].NumElm; in lprofBufferWriter()
41 memcpy(*Buffer, IOVecs[I].Data, Length); in lprofBufferWriter()
DInstrProfilingInternal.h99 uint32_t lprofBufferWriter(ProfDataIOVec *IOVecs, uint32_t NumIOVecs,