reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
70 BufferQueue::ErrorCode BufferQueue::init(size_t BS, size_t BC) { 74 return BufferQueue::ErrorCode::AlreadyInitialized; 84 return BufferQueue::ErrorCode::NotEnoughMemory; 96 return BufferQueue::ErrorCode::NotEnoughMemory; 107 return BufferQueue::ErrorCode::NotEnoughMemory; 142 return BufferQueue::ErrorCode::Ok; 158 Success = init(B, N) == BufferQueue::ErrorCode::Ok; 161 BufferQueue::ErrorCode BufferQueue::getBuffer(Buffer &Buf) { 163 return ErrorCode::QueueFinalizing; 169 return ErrorCode::NotEnoughMemory; 181 return ErrorCode::Ok; 184 BufferQueue::ErrorCode BufferQueue::releaseBuffer(Buffer &Buf) { 194 return BufferQueue::ErrorCode::Ok; 199 return BufferQueue::ErrorCode::UnrecognizedBuffer; 215 return ErrorCode::Ok; 218 BufferQueue::ErrorCode BufferQueue::finalize() { 220 return ErrorCode::QueueFinalizing; 221 return ErrorCode::Ok;projects/compiler-rt/lib/xray/xray_buffer_queue.h
179 static const char *getErrorString(ErrorCode E) { 181 case ErrorCode::Ok: 183 case ErrorCode::NotEnoughMemory: 185 case ErrorCode::QueueFinalizing: 187 case ErrorCode::UnrecognizedBuffer: 189 case ErrorCode::AlreadyFinalized: 191 case ErrorCode::AlreadyInitialized: 213 ErrorCode getBuffer(Buffer &Buf); 221 ErrorCode releaseBuffer(Buffer &Buf); 230 ErrorCode init(size_t BS, size_t BC); 250 ErrorCode finalize();projects/compiler-rt/lib/xray/xray_fdr_controller.h
56 if (BQ->getBuffer(B) != BufferQueue::ErrorCode::Ok) 142 return BQ->releaseBuffer(B) == BufferQueue::ErrorCode::Ok;projects/compiler-rt/lib/xray/xray_fdr_logging.cpp
468 TLD.BQ->releaseBuffer(TLD.Buffer) != BufferQueue::ErrorCode::Ok) 472 if (TLD.BQ->getBuffer(TLD.Buffer) != BufferQueue::ErrorCode::Ok) 673 if (BQ->init(BufferSize, BufferMax) != BufferQueue::ErrorCode::Ok) { 696 auto EC = TLD.BQ->releaseBuffer(TLD.Buffer); 697 if (EC != BufferQueue::ErrorCode::Ok)projects/compiler-rt/lib/xray/xray_profile_collector.cpp
352 BufferQueue::ErrorCode::Ok) 356 if (BQ->getBuffer(Buffer) != BufferQueue::ErrorCode::Ok)projects/compiler-rt/lib/xray/xray_profiling.cpp
101 if (BQ->getBuffer(ThreadBuffers.NodeBuffer) != BufferQueue::ErrorCode::Ok) 108 if (BQ->getBuffer(ThreadBuffers.RootsBuffer) != BufferQueue::ErrorCode::Ok) 116 BufferQueue::ErrorCode::Ok) 124 BufferQueue::ErrorCode::Ok) 409 auto InitStatus = BQ->init(profilingFlags()->per_thread_allocator_max, 412 if (InitStatus != BufferQueue::ErrorCode::Ok) {