Searched refs:g_writeCtx (Results 1 – 2 of 2) sorted by relevance
| /developtools/profiler/proto_encoder/test/unittest/ |
| D | base_message_unittest.cpp | 54 static RandomWriteCtx g_writeCtx = {GetMemory, Seek}; variable 70 ProtoEncoder::ExampleMessage msgOpt(&g_writeCtx); 71 g_writeCtx.seek(&g_writeCtx, 0); 104 ProtoEncoder::ExampleMessage msgOpt(&g_writeCtx); 107 g_writeCtx.seek(&g_writeCtx, 0); 118 g_writeCtx.seek(&g_writeCtx, 0); 129 g_writeCtx.seek(&g_writeCtx, 0); 143 ProtoEncoder::ExampleMessage msgOpt(&g_writeCtx); 146 g_writeCtx.seek(&g_writeCtx, 0); 157 g_writeCtx.seek(&g_writeCtx, 0); [all …]
|
| /developtools/profiler/device/plugins/ftrace_plugin/test/unittest/ |
| D | flow_controller_test.cpp | 40 RandomWriteCtx g_writeCtx = {}; variable 73 …g_writeCtx.getMemory = [](RandomWriteCtx* ctx, uint32_t size, uint8_t** memory, uint32_t* offset) … in StartReportFunc() 82 g_writeCtx.seek = [](RandomWriteCtx* ctx, uint32_t offset) -> bool { in StartReportFunc() 86 return &g_writeCtx; in StartReportFunc()
|