Home
last modified time | relevance | path

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

123

/dports/devel/tinygo/tinygo-0.14.1/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingPlatformFuchsia.c110 static uint32_t lprofVMOWriter(ProfDataWriter *This, ProfDataIOVec *IOVecs, in lprofVMOWriter() argument
115 Length += IOVecs[I].ElmSize * IOVecs[I].NumElm; in lprofVMOWriter()
125 size_t Length = IOVecs[I].ElmSize * IOVecs[I].NumElm; in lprofVMOWriter()
126 if (IOVecs[I].Data) { in lprofVMOWriter()
127 Status = _zx_vmo_write(__llvm_profile_vmo, IOVecs[I].Data, in lprofVMOWriter()
131 } else if (IOVecs[I].UseZeroPadding) { in lprofVMOWriter()
H A DInstrProfilingWriter.c36 ProfDataIOVec *IOVecs, in lprofBufferWriter() argument
41 size_t Length = IOVecs[I].ElmSize * IOVecs[I].NumElm; in lprofBufferWriter()
42 if (IOVecs[I].Data) in lprofBufferWriter()
43 memcpy(*Buffer, IOVecs[I].Data, Length); in lprofBufferWriter()
44 else if (IOVecs[I].UseZeroPadding) { in lprofBufferWriter()
/dports/devel/tinygo/tinygo-0.14.1/lib/compiler-rt/lib/profile/
H A DInstrProfilingPlatformFuchsia.c61 static uint32_t lprofVMOWriter(ProfDataWriter *This, ProfDataIOVec *IOVecs, in lprofVMOWriter() argument
103 Length += IOVecs[I].ElmSize * IOVecs[I].NumElm; in lprofVMOWriter()
113 size_t Length = IOVecs[I].ElmSize * IOVecs[I].NumElm; in lprofVMOWriter()
114 if (IOVecs[I].Data) { in lprofVMOWriter()
115 Status = _zx_vmo_write(__llvm_profile_vmo, IOVecs[I].Data, in lprofVMOWriter()
H A DInstrProfilingFile.c98 static uint32_t fileWriter(ProfDataWriter *This, ProfDataIOVec *IOVecs, in fileWriter() argument
103 if (IOVecs[I].Data) { in fileWriter()
104 if (fwrite(IOVecs[I].Data, IOVecs[I].ElmSize, IOVecs[I].NumElm, File) != in fileWriter()
105 IOVecs[I].NumElm) in fileWriter()
108 if (fseek(File, IOVecs[I].ElmSize * IOVecs[I].NumElm, SEEK_CUR) == -1) in fileWriter()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/compiler-rt/lib/profile/
H A 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()
H A 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()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/compiler-rt/lib/profile/
H A 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()
H A DInstrProfilingWriter.c36 ProfDataIOVec *IOVecs, in lprofBufferWriter() argument
41 size_t Length = IOVecs[I].ElmSize * IOVecs[I].NumElm; in lprofBufferWriter()
42 if (IOVecs[I].Data) in lprofBufferWriter()
43 memcpy(*Buffer, IOVecs[I].Data, Length); in lprofBufferWriter()
44 else if (IOVecs[I].UseZeroPadding) { in lprofBufferWriter()
/dports/devel/llvm12/llvm-project-12.0.1.src/compiler-rt/lib/profile/
H A 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()
H A 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()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/compiler-rt/lib/profile/
H A 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()
H A 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()
/dports/devel/wasi-compiler-rt11/compiler-rt-11.0.1.src/lib/profile/
H A 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()
H A DInstrProfilingWriter.c36 ProfDataIOVec *IOVecs, in lprofBufferWriter() argument
41 size_t Length = IOVecs[I].ElmSize * IOVecs[I].NumElm; in lprofBufferWriter()
42 if (IOVecs[I].Data) in lprofBufferWriter()
43 memcpy(*Buffer, IOVecs[I].Data, Length); in lprofBufferWriter()
44 else if (IOVecs[I].UseZeroPadding) { in lprofBufferWriter()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/compiler-rt/lib/profile/
H A DInstrProfilingPlatformFuchsia.c65 static uint32_t lprofVMOWriter(ProfDataWriter *This, ProfDataIOVec *IOVecs, in lprofVMOWriter() argument
72 Length += IOVecs[I].ElmSize * IOVecs[I].NumElm; in lprofVMOWriter()
81 size_t Length = IOVecs[I].ElmSize * IOVecs[I].NumElm; in lprofVMOWriter()
82 if (IOVecs[I].Data) { in lprofVMOWriter()
83 Status = _zx_vmo_write(Ctx->Vmo, IOVecs[I].Data, Ctx->Offset, Length); in lprofVMOWriter()
86 } else if (IOVecs[I].UseZeroPadding) { in lprofVMOWriter()
H A 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()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/compiler-rt/lib/profile/
H A DInstrProfilingPlatformFuchsia.c65 static uint32_t lprofVMOWriter(ProfDataWriter *This, ProfDataIOVec *IOVecs, in lprofVMOWriter() argument
72 Length += IOVecs[I].ElmSize * IOVecs[I].NumElm; in lprofVMOWriter()
81 size_t Length = IOVecs[I].ElmSize * IOVecs[I].NumElm; in lprofVMOWriter()
82 if (IOVecs[I].Data) { in lprofVMOWriter()
83 Status = _zx_vmo_write(Ctx->Vmo, IOVecs[I].Data, Ctx->Offset, Length); in lprofVMOWriter()
86 } else if (IOVecs[I].UseZeroPadding) { in lprofVMOWriter()
H A 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()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/compiler-rt/lib/profile/
H A DInstrProfilingPlatformFuchsia.c65 static uint32_t lprofVMOWriter(ProfDataWriter *This, ProfDataIOVec *IOVecs, in lprofVMOWriter() argument
72 Length += IOVecs[I].ElmSize * IOVecs[I].NumElm; in lprofVMOWriter()
81 size_t Length = IOVecs[I].ElmSize * IOVecs[I].NumElm; in lprofVMOWriter()
82 if (IOVecs[I].Data) { in lprofVMOWriter()
83 Status = _zx_vmo_write(Ctx->Vmo, IOVecs[I].Data, Ctx->Offset, Length); in lprofVMOWriter()
86 } else if (IOVecs[I].UseZeroPadding) { in lprofVMOWriter()
H A 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()
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingPlatformFuchsia.c65 static uint32_t lprofVMOWriter(ProfDataWriter *This, ProfDataIOVec *IOVecs, in lprofVMOWriter() argument
72 Length += IOVecs[I].ElmSize * IOVecs[I].NumElm; in lprofVMOWriter()
81 size_t Length = IOVecs[I].ElmSize * IOVecs[I].NumElm; in lprofVMOWriter()
82 if (IOVecs[I].Data) { in lprofVMOWriter()
83 Status = _zx_vmo_write(Ctx->Vmo, IOVecs[I].Data, Ctx->Offset, Length); in lprofVMOWriter()
86 } else if (IOVecs[I].UseZeroPadding) { in lprofVMOWriter()
H A 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()
/dports/devel/llvm13/llvm-project-13.0.1.src/compiler-rt/lib/profile/
H A DInstrProfilingPlatformFuchsia.c65 static uint32_t lprofVMOWriter(ProfDataWriter *This, ProfDataIOVec *IOVecs, in lprofVMOWriter() argument
72 Length += IOVecs[I].ElmSize * IOVecs[I].NumElm; in lprofVMOWriter()
81 size_t Length = IOVecs[I].ElmSize * IOVecs[I].NumElm; in lprofVMOWriter()
82 if (IOVecs[I].Data) { in lprofVMOWriter()
83 Status = _zx_vmo_write(Ctx->Vmo, IOVecs[I].Data, Ctx->Offset, Length); in lprofVMOWriter()
86 } else if (IOVecs[I].UseZeroPadding) { in lprofVMOWriter()
H A DInstrProfilingWriter.c39 ProfDataIOVec *IOVecs,
44 size_t Length = IOVecs[I].ElmSize * IOVecs[I].NumElm;
45 if (IOVecs[I].Data)
46 memcpy(*Buffer, IOVecs[I].Data, Length);
47 else if (IOVecs[I].UseZeroPadding) {
/dports/misc/rump/buildrump.sh-b914579/src/sys/external/bsd/compiler_rt/dist/lib/profile/
H A DInstrProfilingFile.c21 static uint32_t fileWriter(ProfDataIOVec *IOVecs, uint32_t NumIOVecs, in fileWriter() argument
26 if (fwrite(IOVecs[I].Data, IOVecs[I].ElmSize, IOVecs[I].NumElm, File) != in fileWriter()
27 IOVecs[I].NumElm) in fileWriter()

123