Home
last modified time | relevance | path

Searched refs:BufferSize (Results 1 – 25 of 100) sorted by relevance

1234

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DFormat.h46 virtual int snprint(char *Buffer, unsigned BufferSize) const = 0;
54 unsigned print(char *Buffer, unsigned BufferSize) const { in print() argument
55 assert(BufferSize && "Invalid buffer size!"); in print()
58 int N = snprint(Buffer, BufferSize); in print()
62 return BufferSize * 2; in print()
66 if (unsigned(N) >= BufferSize) in print()
94 int snprint_tuple(char *Buffer, unsigned BufferSize,
97 return _snprintf(Buffer, BufferSize, Fmt, std::get<Is>(Vals)...);
99 return snprintf(Buffer, BufferSize, Fmt, std::get<Is>(Vals)...);
109 int snprint(char *Buffer, unsigned BufferSize) const override {
[all …]
Dcircular_raw_ostream.h51 size_t BufferSize; variable
76 TheStream->write(Cur, BufferArray + BufferSize - Cur); in flushBuffer()
111 OwnsStream(Owns), BufferSize(BuffSize), BufferArray(nullptr), in raw_ostream()
113 if (BufferSize != 0) in raw_ostream()
114 BufferArray = new char[BufferSize]; in raw_ostream()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DFormat.h46 virtual int snprint(char *Buffer, unsigned BufferSize) const = 0;
54 unsigned print(char *Buffer, unsigned BufferSize) const { in print() argument
55 assert(BufferSize && "Invalid buffer size!"); in print()
58 int N = snprint(Buffer, BufferSize); in print()
62 return BufferSize * 2; in print()
66 if (unsigned(N) >= BufferSize) in print()
94 int snprint_tuple(char *Buffer, unsigned BufferSize,
97 return _snprintf(Buffer, BufferSize, Fmt, std::get<Is>(Vals)...);
99 return snprintf(Buffer, BufferSize, Fmt, std::get<Is>(Vals)...);
109 int snprint(char *Buffer, unsigned BufferSize) const override {
[all …]
Dcircular_raw_ostream.h50 size_t BufferSize; variable
75 TheStream->write(Cur, BufferArray + BufferSize - Cur); in flushBuffer()
110 OwnsStream(Owns), BufferSize(BuffSize), BufferArray(nullptr), in raw_ostream()
112 if (BufferSize != 0) in raw_ostream()
113 BufferArray = new char[BufferSize]; in raw_ostream()
DFormattedStream.h68 if (size_t BufferSize = TheStream->GetBufferSize()) in setStream() local
69 SetBufferSize(BufferSize); in setStream()
139 if (size_t BufferSize = GetBufferSize()) in releaseStream() local
140 TheStream->SetBufferSize(BufferSize); in releaseStream()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/HardwareUnits/
DResourceManager.h194 const int BufferSize; variable
220 int getBufferSize() const { return BufferSize; } in getBufferSize()
222 bool isBuffered() const { return BufferSize > 0; } in isBuffered()
223 bool isInOrder() const { return BufferSize == 1; } in isInOrder()
226 bool isADispatchHazard() const { return BufferSize == 0; } in isADispatchHazard()
270 if (BufferSize <= 0) in reserveBuffer()
274 assert(AvailableSlots <= static_cast<unsigned>(BufferSize)); in reserveBuffer()
281 if (BufferSize <= 0) in releaseBuffer()
285 assert(AvailableSlots <= static_cast<unsigned>(BufferSize)); in releaseBuffer()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
Dcircular_raw_ostream.cpp19 if (BufferSize == 0) { in write_impl()
27 std::min(unsigned(Size), unsigned(BufferSize - (Cur - BufferArray))); in write_impl()
31 if (Cur == BufferArray + BufferSize) { in write_impl()
40 if (BufferSize != 0) { in flushBufferWithBanner()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
Dcircular_raw_ostream.cpp18 if (BufferSize == 0) { in write_impl()
26 std::min(unsigned(Size), unsigned(BufferSize - (Cur - BufferArray))); in write_impl()
30 if (Cur == BufferArray + BufferSize) { in write_impl()
39 if (BufferSize != 0) { in flushBufferWithBanner()
DFileOutputBuffer.cpp80 : FileOutputBuffer(Path), Buffer(Buf), BufferSize(BufSize), in InMemoryBuffer()
86 return (uint8_t *)Buffer.base() + BufferSize; in getBufferEnd()
89 size_t getBufferSize() const override { return BufferSize; } in getBufferSize()
93 llvm::outs() << StringRef((const char *)Buffer.base(), BufferSize); in commit()
105 OS << StringRef((const char *)Buffer.base(), BufferSize); in commit()
112 size_t BufferSize; member in __anoncfd44c7e0111::InMemoryBuffer
/third_party/protobuf/src/google/protobuf/io/
Dcoded_stream.cc93 int backup_bytes = BufferSize() + buffer_size_after_limit_ + overflow_bytes_; in BackUpInputToCurrentPosition()
98 total_bytes_read_ -= BufferSize() + buffer_size_after_limit_; in BackUpInputToCurrentPosition()
234 if (BufferSize() == 0 && !Refresh()) return false; in GetDirectBufferPointer()
237 *size = BufferSize(); in GetDirectBufferPointer()
243 while ((current_buffer_size = BufferSize()) < size) { in ReadRaw()
261 if (BufferSize() >= size) { in ReadString()
291 while ((current_buffer_size = BufferSize()) < size) { in ReadStringFallback()
315 if (BufferSize() >= sizeof(*value)) { in ReadLittleEndian32Fallback()
332 if (BufferSize() >= sizeof(*value)) { in ReadLittleEndian64Fallback()
458 if (BufferSize() >= kMaxVarintBytes || in ReadVarint32Fallback()
[all …]
/third_party/mesa3d/src/mesa/main/
Dfeedback.c66 ctx->Feedback.BufferSize = 0; in _mesa_FeedbackBuffer()
93 ctx->Feedback.BufferSize = size; in _mesa_FeedbackBuffer()
178 ctx->Select.BufferSize = size; in _mesa_SelectBuffer()
198 if (ctx->Select.BufferCount < ctx->Select.BufferSize) { in write_record()
590 if (ctx->Select.BufferCount > ctx->Select.BufferSize) { in _mesa_RenderMode()
606 if (ctx->Feedback.Count > ctx->Feedback.BufferSize) { in _mesa_RenderMode()
624 if (ctx->Select.BufferSize==0) { in _mesa_RenderMode()
631 if (ctx->Feedback.BufferSize==0) { in _mesa_RenderMode()
664 ctx->Feedback.BufferSize = 0; in _mesa_init_feedback()
669 ctx->Select.BufferSize = 0; in _mesa_init_feedback()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/
DStreamingMemoryObject.cpp49 uint64_t BufferSize = LastChar - FirstChar; in readBytes() local
50 if (Address >= BufferSize) in readBytes()
54 if (End > BufferSize) in readBytes()
55 End = BufferSize; in readBytes()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSISchedule.td79 let BufferSize = 1;
82 let BufferSize = 7; // Taken from S_WAITCNT
85 let BufferSize = 31; // Taken from S_WAITCNT
88 let BufferSize = 1;
91 let BufferSize = 15; // Taken from S_WAITCNT
94 let BufferSize = 1;
97 let BufferSize = 1;
/third_party/lzma/Java/SevenZip/
DLzmaBench.java62 public int BufferSize; field in LzmaBench.CBenchRandomGenerator
70 BufferSize = bufferSize; in Set()
90 while (Pos < BufferSize) in Generate()
107 for (int i = 0; i < len && Pos < BufferSize; i++, Pos++) in Generate()
323 crc.Update(rg.Buffer, 0, rg.BufferSize); in LzmaBenchmark()
333 MyInputStream inStream = new MyInputStream(rg.Buffer, rg.BufferSize); in LzmaBenchmark()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Demangle/
DUtility.h176 size_t BufferSize; in initializeOutputStream() local
181 BufferSize = InitSize; in initializeOutputStream()
183 BufferSize = *N; in initializeOutputStream()
185 S.reset(Buf, BufferSize); in initializeOutputStream()
/third_party/selinux/libselinux/src/
Dsha1.c156 uint32_t BufferSize in Sha1Update() argument
163 if ((Context->Count[0] += BufferSize << 3) < (BufferSize << 3)) in Sha1Update()
168 Context->Count[1] += (BufferSize >> 29); in Sha1Update()
169 if ((j + BufferSize) > 63) in Sha1Update()
174 for (; i + 63 < BufferSize; i += 64) in Sha1Update()
185 memcpy(&Context->Buffer[j], &((const uint8_t*)Buffer)[i], BufferSize - i); in Sha1Update()
/third_party/lzma/CS/7zip/Compress/LzmaAlone/
DLzmaBench.cs67 public UInt32 BufferSize; field in SevenZip.LzmaBench.CBenchRandomGenerator
76 BufferSize = bufferSize; in Set()
96 while (Pos < BufferSize) in Generate()
113 for (UInt32 i = 0; i < len && Pos < BufferSize; i++, Pos++) in Generate()
279 crc.Update(rg.Buffer, 0, rg.BufferSize); in LzmaBenchmark()
289 MemoryStream inStream = new MemoryStream(rg.Buffer, 0, (int)rg.BufferSize); in LzmaBenchmark()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCSchedule.h49 int BufferSize; member
58 && BufferSize == Other.BufferSize;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/HardwareUnits/
DResourceManager.cpp68 BufferSize(Desc.BufferSize), IsAGroup(countPopulation(ResourceMask) > 1) { in ResourceState()
76 AvailableSlots = BufferSize == -1 ? 0U : static_cast<unsigned>(BufferSize); in ResourceState()
98 << ", BufferSize=" << BufferSize in dump()
DLSUnit.cpp32 LQSize = std::max(0, LdQDesc.BufferSize); in LSUnitBase()
37 SQSize = std::max(0, StQDesc.BufferSize); in LSUnitBase()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64SchedThunderX.td34 // Modeling each pipeline with BufferSize == 0 since T8X is in-order.
35 def THXT8XUnitALU : ProcResource<2> { let BufferSize = 0; } // Int ALU
36 def THXT8XUnitMAC : ProcResource<1> { let BufferSize = 0; } // Int MAC
37 def THXT8XUnitDiv : ProcResource<1> { let BufferSize = 0; } // Int Division
38 def THXT8XUnitLdSt : ProcResource<1> { let BufferSize = 0; } // Load/Store
39 def THXT8XUnitBr : ProcResource<1> { let BufferSize = 0; } // Branch
40 def THXT8XUnitFPALU : ProcResource<1> { let BufferSize = 0; } // FP ALU
41 def THXT8XUnitFPMDS : ProcResource<1> { let BufferSize = 0; } // FP Mul/Div/Sqrt
DAArch64SchedA53.td36 // Modeling each pipeline as a ProcResource using the BufferSize = 0 since
39 def A53UnitALU : ProcResource<2> { let BufferSize = 0; } // Int ALU
40 def A53UnitMAC : ProcResource<1> { let BufferSize = 0; } // Int MAC
41 def A53UnitDiv : ProcResource<1> { let BufferSize = 0; } // Int Division
42 def A53UnitLdSt : ProcResource<1> { let BufferSize = 0; } // Load/Store
43 def A53UnitB : ProcResource<1> { let BufferSize = 0; } // Branch
44 def A53UnitFPALU : ProcResource<1> { let BufferSize = 0; } // FP ALU
45 def A53UnitFPMDS : ProcResource<1> { let BufferSize = 0; } // FP Mult/Div/Sqrt
/third_party/protobuf/csharp/src/Google.Protobuf/
DCodedInputStream.cs85 internal const int BufferSize = 4096; field in Google.Protobuf.CodedInputStream
131 … : this(ProtoPreconditions.CheckNotNull(input, "input"), new byte[BufferSize], 0, 0, leaveOpen) in CodedInputStream()
194 … return new CodedInputStream(input, new byte[BufferSize], 0, 0, sizeLimit, recursionLimit, false); in CreateWithLimits()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiSchedule.td54 def ALU : ProcResource<1> { let BufferSize = 0; }
55 def LdSt : ProcResource<1> { let BufferSize = 0; }
/third_party/mesa3d/src/egl/main/
Deglconfig.h52 EGLint BufferSize; member
103 ATTRIB_MAP(EGL_BUFFER_SIZE, BufferSize); in _eglOffsetOfConfig()

1234