/dports/www/chromium-legacy/chromium-88.0.4324.182/components/zucchini/ |
H A D | buffer_view_unittest.cc | 66 ConstBufferView view(bytes_.data(), bytes_.size()); in TEST_F() 80 ConstBufferView view(bytes_.data(), bytes_.size()); in TEST_F() 88 ConstBufferView buffer(bytes_.data(), bytes_.size()); in TEST_F() 98 ConstBufferView buffer(bytes_.data(), bytes_.size()); in TEST_F() 119 MutableBufferView buffer(bytes_.data(), bytes_.size()); in TEST_F() 139 MutableBufferView buffer(bytes_.data(), bytes_.size()); in TEST_F() 169 ConstBufferView view(bytes_.data(), bytes_.size()); in TEST_F() 180 ConstBufferView view(bytes_.data(), bytes_.size()); in TEST_F() 202 ConstBufferView view(bytes_.data(), bytes_.size()); in TEST_F() 238 ConstBufferView view1(bytes_.data(), bytes_.size()); in TEST_F() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/zucchini/ |
H A D | buffer_view_unittest.cc | 66 ConstBufferView view(bytes_.data(), bytes_.size()); in TEST_F() 80 ConstBufferView view(bytes_.data(), bytes_.size()); in TEST_F() 88 ConstBufferView buffer(bytes_.data(), bytes_.size()); in TEST_F() 98 ConstBufferView buffer(bytes_.data(), bytes_.size()); in TEST_F() 119 MutableBufferView buffer(bytes_.data(), bytes_.size()); in TEST_F() 139 MutableBufferView buffer(bytes_.data(), bytes_.size()); in TEST_F() 169 ConstBufferView view(bytes_.data(), bytes_.size()); in TEST_F() 180 ConstBufferView view(bytes_.data(), bytes_.size()); in TEST_F() 202 ConstBufferView view(bytes_.data(), bytes_.size()); in TEST_F() 238 ConstBufferView view1(bytes_.data(), bytes_.size()); in TEST_F() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/net/base/ |
H A D | upload_bytes_element_reader_unittest.cc | 25 reader_.reset(new UploadBytesElementReader(&bytes_[0], bytes_.size())); in SetUp() 32 std::vector<char> bytes_; member in net::UploadBytesElementReaderTest 37 const size_t kHalfSize = bytes_.size() / 2; in TEST_F() 46 EXPECT_EQ(bytes_, buf); in TEST_F() 50 std::vector<char> buf(bytes_.size()); in TEST_F() 57 EXPECT_EQ(bytes_, buf); in TEST_F() 68 EXPECT_EQ(static_cast<int>(bytes_.size()), in TEST_F() 73 EXPECT_EQ(bytes_, buf); in TEST_F() 77 std::vector<char> buf(bytes_.size()); in TEST_F() 86 EXPECT_EQ(bytes_, buf); in TEST_F() [all …]
|
H A D | upload_file_element_reader_unittest.cc | 49 static_cast<int>(bytes_.size()), in SetUp() 50 base::WriteFile(temp_file_path_, &bytes_[0], bytes_.size())); in SetUp() 102 std::vector<char> bytes_; member in net::UploadFileElementReaderTest 120 EXPECT_EQ(std::vector<char>(bytes_.begin(), bytes_.begin() + kHalfSize), buf); in TEST_P() 128 EXPECT_EQ(std::vector<char>(bytes_.begin() + kHalfSize, bytes_.end()), buf); in TEST_P() 141 EXPECT_EQ(bytes_, buf); in TEST_P() 160 EXPECT_EQ(bytes_, buf); in TEST_P() 175 EXPECT_EQ(bytes_, buf); in TEST_P() 191 EXPECT_EQ(bytes_, buf); in TEST_P() 228 EXPECT_EQ(std::vector<char>(bytes_.begin(), bytes_.begin() + buf2.size()), in TEST_P() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/net/base/ |
H A D | upload_bytes_element_reader_unittest.cc | 25 reader_.reset(new UploadBytesElementReader(&bytes_[0], bytes_.size())); in SetUp() 32 std::vector<char> bytes_; member in net::UploadBytesElementReaderTest 37 const size_t kHalfSize = bytes_.size() / 2; in TEST_F() 46 EXPECT_EQ(bytes_, buf); in TEST_F() 50 std::vector<char> buf(bytes_.size()); in TEST_F() 57 EXPECT_EQ(bytes_, buf); in TEST_F() 68 EXPECT_EQ(static_cast<int>(bytes_.size()), in TEST_F() 73 EXPECT_EQ(bytes_, buf); in TEST_F() 77 std::vector<char> buf(bytes_.size()); in TEST_F() 86 EXPECT_EQ(bytes_, buf); in TEST_F() [all …]
|
H A D | upload_file_element_reader_unittest.cc | 49 static_cast<int>(bytes_.size()), in SetUp() 50 base::WriteFile(temp_file_path_, &bytes_[0], bytes_.size())); in SetUp() 102 std::vector<char> bytes_; member in net::UploadFileElementReaderTest 120 EXPECT_EQ(std::vector<char>(bytes_.begin(), bytes_.begin() + kHalfSize), buf); in TEST_P() 128 EXPECT_EQ(std::vector<char>(bytes_.begin() + kHalfSize, bytes_.end()), buf); in TEST_P() 141 EXPECT_EQ(bytes_, buf); in TEST_P() 160 EXPECT_EQ(bytes_, buf); in TEST_P() 175 EXPECT_EQ(bytes_, buf); in TEST_P() 191 EXPECT_EQ(bytes_, buf); in TEST_P() 228 EXPECT_EQ(std::vector<char>(bytes_.begin(), bytes_.begin() + buf2.size()), in TEST_P() [all …]
|
/dports/devel/libantlr4/libantlr4-4.9.3/runtime/src/support/ |
H A D | Guid.cpp | 50 << std::setw(2) << static_cast<int>(guid.bytes_[0]) in operator <<() 51 << std::setw(2) << static_cast<int>(guid.bytes_[1]) in operator <<() 52 << std::setw(2) << static_cast<int>(guid.bytes_[2]) in operator <<() 53 << std::setw(2) << static_cast<int>(guid.bytes_[3]) in operator <<() 55 << std::setw(2) << static_cast<int>(guid.bytes_[4]) in operator <<() 56 << std::setw(2) << static_cast<int>(guid.bytes_[5]) in operator <<() 58 << std::setw(2) << static_cast<int>(guid.bytes_[6]) in operator <<() 59 << std::setw(2) << static_cast<int>(guid.bytes_[7]) in operator <<() 74 std::memcpy(bytes_.data(), bytes.data(), std::min(bytes.size(), bytes_.size())); in Guid() 81 std::memcpy(bytes_.data(), bytes, 16); in Guid() [all …]
|
H A D | Guid.h | 90 pointer data() { return bytes_.data(); } in data() 92 const_pointer data() const { return bytes_.data(); } in data() 94 size_type size() const { return bytes_.size(); } in size() 98 iterator begin() { return bytes_.begin(); } in begin() 100 iterator end() { return bytes_.end(); } in end() 102 reverse_iterator rbegin() { return bytes_.rbegin(); } in rbegin() 104 reverse_iterator rend() { return bytes_.rend(); } in rend() 108 const_iterator cend() const { return bytes_.end(); } in cend() 114 const_iterator begin() const { return bytes_.begin(); } in begin() 116 const_iterator end() const { return bytes_.end(); } in end() [all …]
|
/dports/devel/flatbuffers/flatbuffers-2.0.0/ts/ |
H A D | byte-buffer.ts | 30 return this.bytes_; 51 return this.bytes_.length; 59 return this.bytes_[offset]; 67 return this.bytes_[offset] | this.bytes_[offset + 1] << 8; 71 …return this.bytes_[offset] | this.bytes_[offset + 1] << 8 | this.bytes_[offset + 2] << 16 | this.b… 98 this.bytes_[offset] = value; 102 this.bytes_[offset] = value; 106 this.bytes_[offset] = value; 111 this.bytes_[offset] = value; 116 this.bytes_[offset] = value; [all …]
|
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/google/flatbuffers/ts/ |
H A D | byte-buffer.ts | 30 return this.bytes_; 51 return this.bytes_.length; 59 return this.bytes_[offset]; 67 return this.bytes_[offset] | this.bytes_[offset + 1] << 8; 71 …return this.bytes_[offset] | this.bytes_[offset + 1] << 8 | this.bytes_[offset + 2] << 16 | this.b… 98 this.bytes_[offset] = value; 102 this.bytes_[offset] = value; 106 this.bytes_[offset] = value; 111 this.bytes_[offset] = value; 116 this.bytes_[offset] = value; [all …]
|
/dports/misc/thrill/thrill-12c5b59bca66df93b66628b3829027bd0f110dd9/thrill/data/ |
H A D | block_writer.hpp | 80 : bytes_(std::move(bw.bytes_)), in BlockWriter() 99 bytes_ = std::move(bw.bytes_); in operator =() 133 return bytes_ && (current_ != bytes_->begin() || nitems_ != 0); in HasBufferData() 144 if (!bytes_) return; in Flush() 151 std::move(bytes_), 0, current_ - bytes_->begin(), in Flush() 158 PinnedBlock(std::move(bytes_), 0, current_ - bytes_->begin(), in Flush() 299 end_ = bytes_->end(); in PutSafe() 411 if (!bytes_) { in AllocateBlock() 420 current_ = bytes_->begin(); in AllocateBlock() 421 end_ = bytes_->end(); in AllocateBlock() [all …]
|
/dports/devel/android-tools-adb/platform_system_core-android-9.0.0_r3/libmemunreachable/ |
H A D | LineBuffer.cpp | 33 if (bytes_ > 0) { in GetLine() 34 char* newline = reinterpret_cast<char*>(memchr(buffer_ + start_, '\n', bytes_)); in GetLine() 39 bytes_ -= newline - *line + 1; in GetLine() 46 memmove(buffer_, buffer_ + start_, bytes_); in GetLine() 49 ssize_t bytes = TEMP_FAILURE_RETRY(read(fd_, buffer_ + bytes_, buffer_len_ - bytes_ - 1)); in GetLine() 51 if (bytes_ > 0) { in GetLine() 53 buffer_[bytes_] = '\0'; in GetLine() 55 *line_len = bytes_; in GetLine() 56 bytes_ = 0; in GetLine() 62 bytes_ += bytes; in GetLine()
|
/dports/deskutils/akregator/akregator-21.12.3/plugins/mk4storage/metakit/src/ |
H A D | table.cpp | 88 void c4_Bytes::Swap(c4_Bytes &bytes_) in Swap() argument 94 _contents = bytes_._contents; in Swap() 95 _size = bytes_._size; in Swap() 96 _copy = bytes_._copy; in Swap() 98 bytes_._contents = p; in Swap() 99 bytes_._size = s; in Swap() 100 bytes_._copy = c; in Swap() 108 memcpy(bytes_._buffer, t, sizeof _buffer); in Swap() 110 if (_contents == bytes_._buffer) { in Swap() 114 if (bytes_._contents == _buffer) { in Swap() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/openscreen/src/platform/base/ |
H A D | ip_address.cc | 34 bytes_ = {{b[0], b[1], b[2], b[3]}}; in IPAddress() 72 bytes_{{ in IPAddress() 101 return bytes_[0] == o.bytes_[0] && bytes_[1] == o.bytes_[1] && in operator ==() 102 bytes_[2] == o.bytes_[2] && bytes_[3] == o.bytes_[3]; in operator ==() 104 return bytes_ == o.bytes_; in operator ==() 113 return bytes_[0] | bytes_[1] | bytes_[2] | bytes_[3]; in operator bool() 115 for (const auto& byte : bytes_) in operator bool() 124 std::memcpy(x, bytes_.data(), 4); in CopyToV4() 129 std::memcpy(x, bytes_.data(), 16); in CopyToV6() 278 return memcmp(bytes_.data(), other.bytes_.data(), 4) < 0; in operator <() [all …]
|
/dports/math/openmesh/OpenMesh-8.1/src/OpenMesh/Core/IO/reader/ |
H A D | OMReader.cc | 170 bytes_ = 0; in read_binary() 428 bytes_ += chunk_size; in read_binary_vertex_chunk() 565 bytes_ += chunk_size; in read_binary_face_chunk() 580 size_t b = bytes_; in read_binary_edge_chunk() 609 bytes_ += chunk_size; in read_binary_edge_chunk() 612 return b < bytes_; in read_binary_edge_chunk() 624 size_t b = bytes_; in read_binary_halfedge_chunk() 687 bytes_ += chunk_size; in read_binary_halfedge_chunk() 690 return b < bytes_; in read_binary_halfedge_chunk() 702 size_t b = bytes_; in read_binary_mesh_chunk() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/openscreen/src/platform/base/ |
H A D | ip_address.cc | 43 bytes_ = {{b[0], b[1], b[2], b[3]}}; in IPAddress() 89 bytes_{{ in IPAddress() 118 return bytes_[0] == o.bytes_[0] && bytes_[1] == o.bytes_[1] && in operator ==() 119 bytes_[2] == o.bytes_[2] && bytes_[3] == o.bytes_[3]; in operator ==() 121 return bytes_ == o.bytes_; in operator ==() 130 return bytes_[0] | bytes_[1] | bytes_[2] | bytes_[3]; in operator bool() 132 for (const auto& byte : bytes_) in operator bool() 141 std::memcpy(x, bytes_.data(), 4); in CopyToV4() 146 std::memcpy(x, bytes_.data(), 16); in CopyToV6() 305 return memcmp(bytes_.data(), other.bytes_.data(), 4) < 0; in operator <() [all …]
|
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/trilinos/packages/teuchos/comm/src/ |
H A D | Teuchos_SerializationTraitsHelpers.hpp | 159 Ordinal bytes_; member in Teuchos::ValueTypeSerializationBufferImp 194 Ordinal bytes_; member in Teuchos::ConstValueTypeSerializationBufferImp 226 Ordinal bytes_; member in Teuchos::ValueTypeDeserializationBufferImp 260 Ordinal bytes_; member in Teuchos::ConstValueTypeDeserializationBufferImp 297 Ordinal bytes_; member in Teuchos::ValueTypeSerializationBufferImp 332 Ordinal bytes_; member in Teuchos::ConstValueTypeSerializationBufferImp 364 Ordinal bytes_; member in Teuchos::ValueTypeDeserializationBufferImp 594 return bytes_; 640 return bytes_; 761 return bytes_; [all …]
|
/dports/devel/f18/f18-1688bef/lib/parser/ |
H A D | source.cc | 60 lineStart_ = FindLineStarts(content_, bytes_); in RecordLineStarts() 67 bytes_ = size_; in IdentifyPayload() 73 bytes_ -= BOMBytes; in IdentifyPayload() 165 if (bytes_ > 0 && content_[bytes_ - 1] == '\n' && in ReadFile() 180 bytes_ = RemoveCarriageReturns(mutableContent, bytes_); in ReadFile() 181 if (bytes_ > 0) { in ReadFile() 186 mutableContent[bytes_++] = '\n'; in ReadFile() 199 size_ = bytes_ = 0; in ReadFile() 229 size_ = bytes_ = 0; in ReadFile() 250 size_ = bytes_ = 0; in Close() [all …]
|
/dports/databases/cassandra-cpp-driver/cpp-driver-2.16.0/src/ |
H A D | dse_polygon.hpp | 35 const Bytes& bytes() const { return bytes_; } in bytes() 41 bytes_.clear(); in reset() 42 bytes_.reserve(WKB_HEADER_SIZE + // Header in reset() 46 encode_header_append(WKB_GEOMETRY_TYPE_POLYGON, bytes_); in reset() 47 encode_append(0u, bytes_); in reset() 60 ring_start_index_ = bytes_.size(); in start_ring() 67 encode_append(x, bytes_); in add_point() 68 encode_append(y, bytes_); in add_point() 73 encode(num_rings_, WKB_HEADER_SIZE, bytes_); in finish() 85 encode(num_points_, ring_start_index_, bytes_); in finish_ring() [all …]
|
/dports/devel/caf/actor-framework-0.18.5/libcaf_core/src/ |
H A D | uuid.cpp | 27 memset(bytes_.data(), 0, bytes_.size()); in uuid() 31 return memcmp(bytes_.data(), nil_bytes, 16) != 0; in operator bool() 35 return memcmp(bytes_.data(), nil_bytes, 16) == 0; in operator !() 69 return variant_table[to_integer<size_t>(bytes_[8]) >> 5]; in variant() 80 memcpy(ts + 4, bytes_.data() + 0, 4); in timestamp() 81 memcpy(ts + 2, bytes_.data() + 4, 2); in timestamp() 82 memcpy(ts + 0, bytes_.data() + 6, 2); in timestamp() 93 memcpy(cs, bytes_.data() + 8, 2); in clock_sequence() 104 memcpy(n + 2, bytes_.data() + 10, 6); in node() 172 result.bytes_[6] = (result.bytes_[6] & byte{0x0F}) | byte{0x50}; in random() [all …]
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/flang/include/flang/Parser/ |
H A D | char-buffer.h | 27 : blocks_(std::move(that.blocks_)), bytes_{that.bytes_}, in CharBuffer() 33 bytes_ = that.bytes_; 39 bool empty() const { return bytes_ == 0; } in empty() 40 std::size_t bytes() const { return bytes_; } in bytes() 44 bytes_ = 0; in clear() 65 int LastBlockOffset() const { return bytes_ % Block::capacity; } in LastBlockOffset() 67 std::size_t bytes_{0};
|
/dports/devel/llvm12/llvm-project-12.0.1.src/flang/include/flang/Parser/ |
H A D | char-buffer.h | 27 : blocks_(std::move(that.blocks_)), bytes_{that.bytes_}, in CharBuffer() 33 bytes_ = that.bytes_; 39 bool empty() const { return bytes_ == 0; } in empty() 40 std::size_t bytes() const { return bytes_; } in bytes() 44 bytes_ = 0; in clear() 65 int LastBlockOffset() const { return bytes_ % Block::capacity; } in LastBlockOffset() 67 std::size_t bytes_{0};
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/flang/include/flang/Parser/ |
H A D | char-buffer.h | 27 : blocks_(std::move(that.blocks_)), bytes_{that.bytes_}, in CharBuffer() 33 bytes_ = that.bytes_; 39 bool empty() const { return bytes_ == 0; } in empty() 40 std::size_t bytes() const { return bytes_; } in bytes() 44 bytes_ = 0; in clear() 65 int LastBlockOffset() const { return bytes_ % Block::capacity; } in LastBlockOffset() 67 std::size_t bytes_{0};
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/flang/include/flang/Parser/ |
H A D | char-buffer.h | 27 : blocks_(std::move(that.blocks_)), bytes_{that.bytes_}, in CharBuffer() 33 bytes_ = that.bytes_; 39 bool empty() const { return bytes_ == 0; } in empty() 40 std::size_t bytes() const { return bytes_; } in bytes() 44 bytes_ = 0; in clear() 65 int LastBlockOffset() const { return bytes_ % Block::capacity; } in LastBlockOffset() 67 std::size_t bytes_{0};
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/flang/include/flang/Parser/ |
H A D | char-buffer.h | 27 : blocks_(std::move(that.blocks_)), bytes_{that.bytes_}, in CharBuffer() 33 bytes_ = that.bytes_; 39 bool empty() const { return bytes_ == 0; } in empty() 40 std::size_t bytes() const { return bytes_; } in bytes() 44 bytes_ = 0; in clear() 65 int LastBlockOffset() const { return bytes_ % Block::capacity; } in LastBlockOffset() 67 std::size_t bytes_{0};
|