OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Buffers
(Results
1 - 25
of
26
) sorted by relevancy
1
2
/src/sys/external/bsd/compiler_rt/dist/lib/xray/tests/unit/
buffer_queue_test.cc
31
BufferQueue
Buffers
(kSize, 1, Success);
37
BufferQueue
Buffers
(kSize, 1, Success);
40
ASSERT_EQ(
Buffers
.getBuffer(Buf), BufferQueue::ErrorCode::Ok);
42
ASSERT_EQ(
Buffers
.releaseBuffer(Buf), BufferQueue::ErrorCode::Ok);
48
BufferQueue
Buffers
(kSize, 1, Success);
51
EXPECT_EQ(
Buffers
.getBuffer(Buf0), BufferQueue::ErrorCode::Ok);
53
EXPECT_EQ(BufferQueue::ErrorCode::NotEnoughMemory,
Buffers
.getBuffer(Buf1));
54
EXPECT_EQ(
Buffers
.releaseBuffer(Buf0), BufferQueue::ErrorCode::Ok);
59
BufferQueue
Buffers
(kSize, 1, Success);
64
Buf.Generation =
Buffers
.generation()
[
all
...]
fdr_log_writer_test.cc
42
BufferQueue
Buffers
(kSize, 1, Success);
44
ASSERT_EQ(
Buffers
.getBuffer(B), BufferQueue::ErrorCode::Ok);
60
ASSERT_EQ(
Buffers
.releaseBuffer(B), BufferQueue::ErrorCode::Ok);
62
ASSERT_EQ(
Buffers
.finalize(), BufferQueue::ErrorCode::Ok);
64
// We then need to go through each element of the
Buffers
, and re-create a
67
std::string Serialized = serialize(
Buffers
, 3);
80
BufferQueue
Buffers
(kSize, 1, Success);
82
ASSERT_EQ(
Buffers
.getBuffer(B), BufferQueue::ErrorCode::Ok);
103
ASSERT_EQ(
Buffers
.releaseBuffer(B), BufferQueue::ErrorCode::Ok);
107
ASSERT_EQ(
Buffers
.getBuffer(B), BufferQueue::ErrorCode::Ok)
[
all
...]
profile_collector_test.cc
117
FunctionCallTrie::Allocators::
Buffers
Buffers
;
118
ASSERT_EQ(BQ.getBuffer(
Buffers
.NodeBuffer), BufferQueue::ErrorCode::Ok);
119
ASSERT_EQ(BQ.getBuffer(
Buffers
.RootsBuffer), BufferQueue::ErrorCode::Ok);
120
ASSERT_EQ(BQ.getBuffer(
Buffers
.ShadowStackBuffer),
122
ASSERT_EQ(BQ.getBuffer(
Buffers
.NodeIdPairBuffer), BufferQueue::ErrorCode::Ok);
123
auto Allocators = FunctionCallTrie::InitAllocatorsFromBuffers(
Buffers
);
137
std::move(
Buffers
), 1);
142
// Then we go through two
buffers
to see whether we're getting the data we
187
thread_local FunctionCallTrie::Allocators::
Buffers
Buffers = []
[
all
...]
test_helpers.cc
71
std::string serialize(BufferQueue &
Buffers
, int32_t Version) {
84
Buffers
.apply([&](const BufferQueue::Buffer &B) {
test_helpers.h
61
std::string serialize(BufferQueue &
Buffers
, int32_t Version);
/src/sys/external/bsd/compiler_rt/dist/lib/xray/
xray_buffer_queue.h
27
/// BufferQueue implements a circular queue of fixed sized
buffers
(much like a
29
/// get from or return
buffers
to the queue. This is one key component of the
35
/// store for all
buffers
and extents managed by a BufferQueue instance. The
79
// Buffer`. Note that we only advance to the "used"
buffers
, when
83
BufferRep *
Buffers
= nullptr;
91
} while (!
Buffers
[Offset].Used && Offset != Max);
101
T &operator*() const { return
Buffers
[Offset].Buff; }
103
T *operator->() const { return &(
Buffers
[Offset].Buff); }
106
:
Buffers
(Root),
111
while (!
Buffers
[Offset].Used && Offset != Max)
[
all
...]
xray_buffer_queue.cc
106
Buffers
= initArray<BufferRep>(BufferCount);
107
if (
Buffers
== nullptr)
110
// At this point we increment the generation number to associate the
buffers
119
// Then we initialise the individual
buffers
that sub-divide the whole backing
123
auto &T =
Buffers
[i];
138
Next =
Buffers
;
139
First =
Buffers
;
154
Buffers
(nullptr),
155
Next(
Buffers
),
156
First(
Buffers
),
[
all
...]
xray_profile_collector.h
36
/// Moves the collection of FunctionCallTrie, Allocators, and
Buffers
associated
42
FunctionCallTrie::Allocators::
Buffers
&&B, tid_t TId);
xray_profile_collector.cc
62
FunctionCallTrie::Allocators::
Buffers
Buffers
;
72
// by the ThreadData array. This lets us host the
buffers
, allocators, and tries
111
FunctionCallTrie::Allocators::
Buffers
&&B,
123
B.~
Buffers
();
142
B.~
Buffers
();
311
// Clear out the profile
buffers
that have been serialized.
321
TD.BQ->releaseBuffer(TD.
Buffers
.NodeBuffer);
322
TD.BQ->releaseBuffer(TD.
Buffers
.RootsBuffer);
323
TD.BQ->releaseBuffer(TD.
Buffers
.ShadowStackBuffer)
[
all
...]
xray_function_call_trie.h
165
struct
Buffers
{
172
explicit Allocators(
Buffers
&B) XRAY_NEVER_INSTRUMENT {
317
InitAllocatorsFromBuffers(Allocators::
Buffers
&Bufs) XRAY_NEVER_INSTRUMENT {
xray_profiling.cc
56
thread_local FunctionCallTrie::Allocators::
Buffers
ThreadBuffers;
98
// Acquire a set of
buffers
for this thread.
195
ThreadBuffers = FunctionCallTrie::Allocators::
Buffers
{};
250
// Now for each of the
buffers
, write out the profile data as we would
326
// Mark then finalize the current generation of
buffers
. This allows us to let
327
// the threads currently holding onto new
buffers
still use them, but let the
399
Report("Failed to initialize preallocated memory
buffers
!");
415
Report("Failed to initialize preallocated memory
buffers
; error: %s",
/src/external/apache2/llvm/dist/llvm/include/llvm/Support/
SourceMgr.h
1
//===- SourceMgr.h - Manager for Source
Buffers
& Diagnostics ---*- C++ -*-===//
84
/// This is all of the
buffers
that we are reading from.
85
std::vector<SrcBuffer>
Buffers
;
93
bool isValidBufferID(unsigned i) const { return i && i <=
Buffers
.size(); }
119
return
Buffers
[i - 1];
124
return
Buffers
[i - 1].Buffer.get();
127
unsigned getNumBuffers() const { return
Buffers
.size(); }
136
return
Buffers
[i - 1].IncludeLoc;
146
Buffers
.push_back(std::move(NB));
147
return
Buffers
.size()
[
all
...]
/src/external/apache2/llvm/dist/llvm/tools/llvm-mca/Views/
SchedulerStatistics.h
81
// resource in the
Buffers
set.
83
llvm::ArrayRef<unsigned>
Buffers
) override;
86
// buffered resource in the
Buffers
set.
88
llvm::ArrayRef<unsigned>
Buffers
) override;
SchedulerStatistics.cpp
75
ArrayRef<unsigned>
Buffers
) {
76
for (const unsigned Buffer :
Buffers
) {
84
ArrayRef<unsigned>
Buffers
) {
85
for (const unsigned Buffer :
Buffers
) {
TimelineView.h
173
llvm::ArrayRef<unsigned>
Buffers
) override;
TimelineView.cpp
42
ArrayRef<unsigned>
Buffers
) {
48
for (const unsigned Buffer :
Buffers
) {
/src/external/apache2/llvm/dist/llvm/include/llvm/MCA/
HWEventListener.h
174
ArrayRef<unsigned>
Buffers
) {}
176
ArrayRef<unsigned>
Buffers
) {}
/src/external/apache2/llvm/dist/clang/lib/Format/
Macros.h
134
std::vector<std::unique_ptr<llvm::MemoryBuffer>>
Buffers
;
MacroExpander.cpp
137
Buffers
.push_back(
139
clang::FileID FID = SourceMgr.createFileID(
Buffers
.back()->getMemBufferRef());
/src/external/apache2/llvm/dist/clang/tools/clang-offload-wrapper/
ClangOffloadWrapper.cpp
342
SmallVector<std::unique_ptr<MemoryBuffer>, 4u>
Buffers
;
344
Buffers
.reserve(Inputs.size());
354
Buffers
.emplace_back(std::move(*BufOrErr));
/src/external/apache2/llvm/dist/llvm/tools/dsymutil/
BinaryHolder.cpp
34
std::vector<MemoryBufferRef>
Buffers
;
39
Buffers
.emplace_back(ObjData, Filename);
41
return
Buffers
;
61
// Load one or more archive
buffers
, depending on whether we're dealing with
116
// Load one or more object
buffers
, depending on whether we're dealing with a
/src/external/apache2/llvm/dist/llvm/lib/MCA/
InstrBuilder.cpp
61
APInt
Buffers
(NumProcResources, 0);
83
Buffers
.setBit(getResourceStateIndex(Mask));
171
// Identify extra
buffers
that are consumed through super resources.
180
Buffers
.setBit(getResourceStateIndex(Mask));
184
ID.UsedBuffers =
Buffers
.getZExtValue();
/src/external/apache2/llvm/dist/llvm/lib/Support/
SourceMgr.cpp
1
//===- SourceMgr.cpp - Manager for Simple Source
Buffers
& Diagnostics ----===//
62
for (unsigned i = 0, e =
Buffers
.size(); i != e; ++i)
63
if (Loc.getPointer() >=
Buffers
[i].Buffer->getBufferStart() &&
66
Loc.getPointer() <=
Buffers
[i].Buffer->getBufferEnd())
/src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/MCJIT/
MCJIT.h
188
SmallVector<std::unique_ptr<MemoryBuffer>, 2>
Buffers
;
MCJIT.cpp
133
Buffers
.push_back(std::move(MemBuf));
232
Buffers
.push_back(std::move(ObjectToLoad));
Completed in 51 milliseconds
1
2
Indexes created Tue Feb 24 08:35:24 UTC 2026