/third_party/gn/src/gn/ |
D | immutable_vector.h | 37 : header_(vector.header_) {} in ImmutableVectorView() 41 size_t size() const { return header_ ? header_->size : 0u; } in size() 45 const T* begin() const { return header_ ? &header_->item0 : nullptr; } in begin() 47 return header_ ? &header_->item0 + header_->size : nullptr; in end() 89 ImmutableVectorView(Header* header) : header_(header) {} in ImmutableVectorView() 91 Header* header_ = nullptr; variable 115 this->header_ = AllocateFor(size); in ImmutableVector() 116 auto* dst = &(this->header_->item0); in ImmutableVector() 138 this->header_ = AllocateFor(size); in ImmutableVector() 140 auto* dst = &(this->header_->item0); in ImmutableVector() [all …]
|
/third_party/boost/boost/iostreams/filter/ |
D | gzip.hpp | 209 result += read_string(s, n, header_); in read() 240 static_cast<std::streamsize>(header_.size() - offset_); in write() 241 offset_ += boost::iostreams::write_if(snk, header_.data() + offset_, amt); in write() 242 if (offset_ == header_.size()) in write() 311 std::string header_; member in boost::iostreams::basic_gzip_compressor 423 header_.reset(); in write() 428 header_.process(c); in write() 429 if (header_.done()) in write() 469 header_.reset(); in read() 479 header_.process(c); in read() [all …]
|
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sfntly/table/ |
D | table.h | 43 virtual Header* header() { return header_; } in header() 61 Ptr<Header> header_; 73 virtual Header* header() { return header_; } in header() 76 virtual int32_t header_tag() { return header_->tag(); } in header_tag() 79 virtual int32_t header_offset() { return header_->offset(); } in header_offset() 82 virtual int32_t header_length() { return header_->length(); } in header_length() 85 virtual int64_t header_checksum() { return header_->checksum(); } in header_checksum() 95 Ptr<Header> header_;
|
D | table.cc | 58 header_ = header; in Table() 65 header_.Release(); in ~Builder() 71 derived_table->header_ = new Header(header()->tag(), in NotifyPostTableBuild() 150 header_ = header; in Builder() 155 header_ = header; in Builder() 159 header_ = header; in Builder()
|
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/ |
D | table.h | 43 virtual Header* header() { return header_; } in header() 61 Ptr<Header> header_; 73 virtual Header* header() { return header_; } in header() 76 virtual int32_t header_tag() { return header_->tag(); } in header_tag() 79 virtual int32_t header_offset() { return header_->offset(); } in header_offset() 82 virtual int32_t header_length() { return header_->length(); } in header_length() 85 virtual int64_t header_checksum() { return header_->checksum(); } in header_checksum() 95 Ptr<Header> header_;
|
D | table.cc | 58 header_ = header; in Table() 65 header_.Release(); in ~Builder() 71 derived_table->header_ = new Header(header()->tag(), in NotifyPostTableBuild() 150 header_ = header; in Builder() 155 header_ = header; in Builder() 159 header_ = header; in Builder()
|
/third_party/flutter/skia/third_party/externals/spirv-tools/source/comp/ |
D | markv_codec.cpp | 372 MarkvHeader header_; member in __anone7d8fbba0111::MarkvCodecBase 404 header_.spirv_version = version; in EncodeHeader() 405 header_.spirv_generator = generator; in EncodeHeader() 419 header_.markv_length_in_bits = in GetMarkvBinary() 420 static_cast<uint32_t>(sizeof(header_) * 8 + writer_.GetNumBits()); in GetMarkvBinary() 421 const size_t num_bytes = sizeof(header_) + writer_.GetDataSizeBytes(); in GetMarkvBinary() 427 std::memcpy(markv_binary->data, &header_, sizeof(header_)); in GetMarkvBinary() 428 std::memcpy(markv_binary->data + sizeof(header_), in GetMarkvBinary() 893 reader_.ReadUnencoded(&header_.magic_number) && in DecodeModule() 894 reader_.ReadUnencoded(&header_.markv_version) && in DecodeModule() [all …]
|
/third_party/spirv-tools/source/opt/ |
D | module.cpp | 37 return header_.bound++; in TakeNextIdBound() 137 binary->push_back(header_.magic_number); in ToBinary() 138 binary->push_back(header_.version); in ToBinary() 140 binary->push_back(header_.generator); in ToBinary() 141 binary->push_back(header_.bound); in ToBinary() 142 binary->push_back(header_.reserved); in ToBinary() 203 binary->data()[bound_idx] = header_.bound; in ToBinary()
|
D | module.h | 52 Module() : header_({}), contains_debug_info_(false) {} in Module() 55 void SetHeader(const ModuleHeader& header) { header_ = header; } in SetHeader() 60 header_.bound = bound; in SetIdBound() 64 uint32_t IdBound() { return header_.bound; } in IdBound() 141 inline uint32_t id_bound() const { return header_.bound; } in id_bound() 143 inline uint32_t version() const { return header_.version; } in version() 145 inline void set_version(uint32_t v) { header_.version = v; } in set_version() 279 ModuleHeader header_; // Module header
|
/third_party/mindspore/mindspore/ccsrc/ps/core/communicator/ |
D | tcp_message_handler.cc | 36 header_[++header_index_] = *(buffer_data + i); in ReceiveMessage() 39 message_header_.message_proto_ = *reinterpret_cast<const Protos *>(header_); in ReceiveMessage() 46 *reinterpret_cast<const uint32_t *>(header_ + sizeof(message_header_.message_proto_)); in ReceiveMessage() 48 … header_ + sizeof(message_header_.message_proto_) + sizeof(message_header_.message_meta_length_)); in ReceiveMessage()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | module.cpp | 37 return header_.bound++; in TakeNextIdBound() 137 binary->push_back(header_.magic_number); in ToBinary() 138 binary->push_back(header_.version); in ToBinary() 140 binary->push_back(header_.generator); in ToBinary() 141 binary->push_back(header_.bound); in ToBinary() 142 binary->push_back(header_.reserved); in ToBinary() 232 binary->data()[bound_idx] = header_.bound; in ToBinary()
|
D | module.h | 52 Module() : header_({}), contains_debug_info_(false) {} in Module() 55 void SetHeader(const ModuleHeader& header) { header_ = header; } in SetHeader() 60 header_.bound = bound; in SetIdBound() 64 uint32_t IdBound() { return header_.bound; } in IdBound() 141 inline uint32_t id_bound() const { return header_.bound; } in id_bound() 143 inline uint32_t version() const { return header_.version; } in version() 145 inline void set_version(uint32_t v) { header_.version = v; } in set_version() 279 ModuleHeader header_; // Module header
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | module.cpp | 37 return header_.bound++; in TakeNextIdBound() 137 binary->push_back(header_.magic_number); in ToBinary() 138 binary->push_back(header_.version); in ToBinary() 140 binary->push_back(header_.generator); in ToBinary() 141 binary->push_back(header_.bound); in ToBinary() 142 binary->push_back(header_.reserved); in ToBinary() 232 binary->data()[bound_idx] = header_.bound; in ToBinary()
|
D | module.h | 52 Module() : header_({}), contains_debug_info_(false) {} in Module() 55 void SetHeader(const ModuleHeader& header) { header_ = header; } in SetHeader() 60 header_.bound = bound; in SetIdBound() 64 uint32_t IdBound() { return header_.bound; } in IdBound() 141 inline uint32_t id_bound() const { return header_.bound; } in id_bound() 143 inline uint32_t version() const { return header_.version; } in version() 145 inline void set_version(uint32_t v) { header_.version = v; } in set_version() 279 ModuleHeader header_; // Module header
|
/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/ |
D | module.cpp | 115 binary->push_back(header_.magic_number); in ToBinary() 116 binary->push_back(header_.version); in ToBinary() 118 binary->push_back(header_.generator); in ToBinary() 119 binary->push_back(header_.bound); in ToBinary() 120 binary->push_back(header_.reserved); in ToBinary()
|
D | module.h | 49 Module() : header_({}) {} in Module() 52 void SetHeader(const ModuleHeader& header) { header_ = header; } in SetHeader() 54 void SetIdBound(uint32_t bound) { header_.bound = bound; } in SetIdBound() 56 uint32_t IdBound() { return header_.bound; } in IdBound() 95 inline uint32_t id_bound() const { return header_.bound; } in id_bound() 153 ModuleHeader header_; // Module header
|
/third_party/nghttp2/src/ |
D | asio_server_request_impl.cc | 33 const header_map &request_impl::header() const { return header_; } in header() 41 void request_impl::header(header_map h) { header_ = std::move(h); } in header() 43 header_map &request_impl::header() { return header_; } in header()
|
D | asio_client_request_impl.cc | 90 void request_impl::header(header_map h) { header_ = std::move(h); } in header() 92 header_map &request_impl::header() { return header_; } in header() 94 const header_map &request_impl::header() const { return header_; } in header()
|
D | asio_client_response_impl.cc | 52 header_map &response_impl::header() { return header_; } in header() 54 const header_map &response_impl::header() const { return header_; } in header()
|
/third_party/skia/third_party/externals/libwebp/src/mux/ |
D | muxedit.c | 280 const uint32_t image_id = (image->header_ != NULL) ? in WebPMuxPushFrame() 281 ChunkGetIdFromTag(image->header_->tag_) : WEBP_CHUNK_IMAGE; in WebPMuxPushFrame() 308 err = AddDataToChunkList(&frame, 1, tag, &wpi.header_); in WebPMuxPushFrame() 407 const WebPChunk* const frame_chunk = wpi->header_; in GetImageInfo() 436 assert(wpi->header_ != NULL); in GetAdjustedCanvasSize() 497 if (images->header_ != NULL) { in CreateVP8XChunk() 498 if (images->header_->tag_ == kChunks[IDX_ANMF].tag) { in CreateVP8XChunk() 559 if (frame->header_ != NULL && in MuxCleanup() 563 assert(frame->header_->tag_ == kChunks[IDX_ANMF].tag); in MuxCleanup() 564 ChunkDelete(frame->header_); // Removes ANMF chunk. in MuxCleanup() [all …]
|
D | muxinternal.c | 232 ChunkListDelete(&wpi->header_); in MuxImageRelease() 250 case WEBP_CHUNK_ANMF: return (WebPChunk**)&wpi->header_; in GetChunkListFromId() 363 if (wpi->header_ != NULL) size += ChunkDiskSize(wpi->header_); in MuxImageDiskSize() 392 if (wpi->header_ != NULL) { in MuxImageEmit() 393 dst = ChunkEmitSpecial(wpi->header_, MuxImageDiskSize(wpi), dst); in MuxImageEmit()
|
D | muxread.c | 121 ChunkSetHead(&subchunk, &wpi->header_); in MuxImageParse() 457 const int is_frame = (wpi->header_->tag_ == kChunks[IDX_ANMF].tag); in MuxGetFrameInternal() 460 assert(wpi->header_ != NULL); // Already checked by WebPMuxGetFrame(). in MuxGetFrameInternal() 462 frame_data = &wpi->header_->data_; in MuxGetFrameInternal() 474 frame->id = ChunkGetIdFromTag(wpi->header_->tag_); in MuxGetFrameInternal() 492 if (wpi->header_ == NULL) { in WebPMuxGetFrame()
|
/third_party/flutter/skia/third_party/externals/libwebp/src/mux/ |
D | muxedit.c | 282 const uint32_t image_id = (image->header_ != NULL) ? in WebPMuxPushFrame() 283 ChunkGetIdFromTag(image->header_->tag_) : WEBP_CHUNK_IMAGE; in WebPMuxPushFrame() 310 err = AddDataToChunkList(&frame, 1, tag, &wpi.header_); in WebPMuxPushFrame() 409 const WebPChunk* const frame_chunk = wpi->header_; in GetImageInfo() 438 assert(wpi->header_ != NULL); in GetAdjustedCanvasSize() 499 if (images->header_ != NULL) { in CreateVP8XChunk() 500 if (images->header_->tag_ == kChunks[IDX_ANMF].tag) { in CreateVP8XChunk() 561 if (frame->header_ != NULL && in MuxCleanup() 565 assert(frame->header_->tag_ == kChunks[IDX_ANMF].tag); in MuxCleanup() 566 ChunkDelete(frame->header_); // Removes ANMF chunk. in MuxCleanup() [all …]
|
D | muxinternal.c | 232 ChunkListDelete(&wpi->header_); in MuxImageRelease() 250 case WEBP_CHUNK_ANMF: return (WebPChunk**)&wpi->header_; in GetChunkListFromId() 363 if (wpi->header_ != NULL) size += ChunkDiskSize(wpi->header_); in MuxImageDiskSize() 392 if (wpi->header_ != NULL) { in MuxImageEmit() 393 dst = ChunkEmitSpecial(wpi->header_, MuxImageDiskSize(wpi), dst); in MuxImageEmit()
|
D | muxread.c | 121 ChunkSetHead(&subchunk, &wpi->header_); in MuxImageParse() 460 const int is_frame = (wpi->header_->tag_ == kChunks[IDX_ANMF].tag); in MuxGetFrameInternal() 463 assert(wpi->header_ != NULL); // Already checked by WebPMuxGetFrame(). in MuxGetFrameInternal() 465 frame_data = &wpi->header_->data_; in MuxGetFrameInternal() 477 frame->id = ChunkGetIdFromTag(wpi->header_->tag_); in MuxGetFrameInternal() 496 if (wpi->header_ == NULL) { in WebPMuxGetFrame()
|