Home
last modified time | relevance | path

Searched refs:BufSize (Results 1 - 13 of 13) sorted by relevance

/third_party/lzma/CPP/7zip/Common/
H A DFileStreams.cpp61 BufSize(0), in CInFileStream()
110 if (BufSize > 0 && BufStartPos == alignedPos) in Read()
113 if (pos >= BufSize) in Read()
115 const UInt32 rem = MyMin(BufSize - pos, size); in Read()
160 const bool result = File.Read1(Buf, readSize, BufSize); in Read()
164 if (BufSize == 0) in Read()
166 PhyPos += BufSize; in Read()
H A DFileStreams.h77 UInt32 BufSize; in Z7_class_final() local
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DFileOutputBuffer.cpp78 InMemoryBuffer(StringRef Path, MemoryBlock Buf, std::size_t BufSize, in InMemoryBuffer() argument
80 : FileOutputBuffer(Path), Buffer(Buf), BufferSize(BufSize), in InMemoryBuffer()
H A DPath.cpp963 const size_t BufSize = 4096;
964 char *Buf = new char[BufSize];
967 BytesRead = read(ReadFD, Buf, BufSize);
1021 constexpr size_t BufSize = 4096;
1022 std::vector<uint8_t> Buf(BufSize);
1025 BytesRead = read(FD, Buf.data(), BufSize);
/third_party/ffmpeg/libavcodec/
H A Dqsvenc_h264.c66 payload->BufSize = sei_size + 2; in qsv_h264_set_encode_ctrl()
67 payload->NumBit = payload->BufSize * 8; in qsv_h264_set_encode_ctrl()
/third_party/zlib/contrib/delphi/
H A DZLib.pas150 BufSize = number of bytes in OutBuf }
152 const OutBuf: Pointer; BufSize: Integer);
367 const OutBuf: Pointer; BufSize: Integer);
377 strm.avail_out := BufSize;
/third_party/skia/third_party/externals/libjpeg-turbo/gtest/
H A Dtjunittest-gtest-wrapper.cpp140 TEST_P(TJUnitTest, BufSize) { in TEST_P()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/
H A DPath.cpp905 const size_t BufSize = 4096;
906 char *Buf = new char[BufSize];
909 BytesRead = read(ReadFD, Buf, BufSize);
/third_party/mesa3d/src/imgui/
H A Dimgui_widgets.cpp3036 if (new_text_len + BufTextLen >= BufSize)
3049 BufSize = edit_state->BufCapacityA = new_buf_size;
3532 callback_data.BufSize = edit_state.BufCapacityA;
3546 IM_ASSERT(callback_data.BufSize == edit_state.BufCapacityA);
3582 callback_data.BufSize = ImMax(buf_size, apply_new_text_length + 1);
3586 buf_size = callback_data.BufSize;
H A Dimgui.h753 ImGuiInputTextFlags_CallbackResize = 1 << 18, // Callback on buffer capacity changes request (beyond 'buf_size' parameter value), allowing the string to grow. Notify when the string wants to be resized (for string types which hold a cache of their Size). You will be provided a new BufSize in the callback and NEED to honor it. (see misc/cpp/imgui_stdlib.h for an example of using this)
1429 // - If you know your edits are not going to resize the underlying buffer allocation, you may modify the contents of 'Buf[]' directly. You need to update 'BufTextLen' accordingly (0 <= BufTextLen < BufSize) and set 'BufDirty'' to true so InputText can update its internal state.
1434 int BufSize; // Buffer size (in bytes) = capacity+1 // Read-only // [Resize,Completion,History,Always] Include zero-terminator storage. In C land == ARRAYSIZE(my_char_array), in C++ land: string.capacity()+1 member
/third_party/skia/third_party/externals/imgui/
H A Dimgui_widgets.cpp3820 if (new_text_len + BufTextLen >= BufSize) in InsertChars()
3833 BufSize = edit_state->BufCapacityA = new_buf_size; in InsertChars()
4458 callback_data.BufSize = state->BufCapacityA; in InputTextEx()
4472 IM_ASSERT(callback_data.BufSize == state->BufCapacityA); in InputTextEx()
4512 callback_data.BufSize = ImMax(buf_size, apply_new_text_length + 1); in InputTextEx()
4516 buf_size = callback_data.BufSize; in InputTextEx()
H A Dimgui.h1010 ImGuiInputTextFlags_CallbackResize = 1 << 18, // Callback on buffer capacity changes request (beyond 'buf_size' parameter value), allowing the string to grow. Notify when the string wants to be resized (for string types which hold a cache of their Size). You will be provided a new BufSize in the callback and NEED to honor it. (see misc/cpp/imgui_stdlib.h for an example of using this)
1976 // - If you know your edits are not going to resize the underlying buffer allocation, you may modify the contents of 'Buf[]' directly. You need to update 'BufTextLen' accordingly (0 <= BufTextLen < BufSize) and set 'BufDirty'' to true so InputText can update its internal state.
1981 int BufSize; // Buffer size (in bytes) = capacity+1 // Read-only // [Resize,Completion,History,Always] Include zero-terminator storage. In C land == ARRAYSIZE(my_char_array), in C++ land: string.capacity()+1 member
H A Dimgui_demo.cpp1401 my_str->resize(data->BufSize); // NB: On resizing calls, generally data->BufSize == data->BufTextLen + 1 in ShowDemoWindowWidgets()

Completed in 56 milliseconds