Home
last modified time | relevance | path

Searched refs:hdr_ (Results 1 – 9 of 9) sorted by relevance

/external/icing/icing/legacy/index/
Dicing-lite-index-header.h69 explicit IcingLiteIndex_HeaderImpl(HeaderData *hdr) : hdr_(hdr) {} in IcingLiteIndex_HeaderImpl()
72 return hdr_->magic == HeaderData::kMagic; in check_magic()
75 uint32_t lite_index_crc() const override { return hdr_->lite_index_crc; } in lite_index_crc()
76 void set_lite_index_crc(uint32_t crc) override { hdr_->lite_index_crc = crc; } in set_lite_index_crc()
78 uint32_t last_added_docid() const override { return hdr_->last_added_docid; } in last_added_docid()
80 hdr_->last_added_docid = last_added_docid; in set_last_added_docid()
83 uint32_t cur_size() const override { return hdr_->cur_size; } in cur_size()
84 void set_cur_size(uint32_t cur_size) override { hdr_->cur_size = cur_size; } in set_cur_size()
86 uint32_t searchable_end() const override { return hdr_->searchable_end; } in searchable_end()
88 hdr_->searchable_end = searchable_end; in set_searchable_end()
[all …]
Dicing-dynamic-trie.cc321 const IcingDynamicTrieHeader &hdr() const { return hdr_.hdr; } in hdr()
327 void inc_num_keys() { hdr_.hdr.set_num_keys(hdr_.hdr.num_keys() + 1); } in inc_num_keys()
379 Header hdr_; member in icing::lib::IcingDynamicTrie::IcingDynamicTrieStorage
500 if (!hdr_.Init(hdr_mmapper_.address(), in Init()
502 !hdr_.Verify()) { in Init()
509 sizeof(Node), hdr_.hdr.num_nodes(), in Init()
510 hdr_.hdr.max_nodes(), &crcs_->array_crcs[NODE], in Init()
517 sizeof(Next), hdr_.hdr.num_nexts(), in Init()
518 hdr_.hdr.max_nexts(), &crcs_->array_crcs[NEXT], in Init()
525 sizeof(char), hdr_.hdr.suffixes_size(), in Init()
[all …]
/external/webrtc/modules/rtp_rtcp/source/
Drtp_format_vp9.cc313 : hdr_(RemoveInactiveSpatialLayers(hdr)), in RtpPacketizerVp9()
314 header_size_(PayloadDescriptorLengthMinusSsData(hdr_)), in RtpPacketizerVp9()
315 first_packet_extra_header_size_(SsDataLength(hdr_)), in RtpPacketizerVp9()
317 RTC_DCHECK_EQ(hdr_.first_active_layer, 0); in RtpPacketizerVp9()
360 RTC_DCHECK(hdr_.spatial_idx < hdr_.num_spatial_layers - 1 || in NextPacket()
361 hdr_.end_of_picture); in NextPacket()
363 packet->SetMarker(layer_end && hdr_.end_of_picture); in NextPacket()
406 bool i_bit = PictureIdPresent(hdr_); in WriteHeader()
407 bool p_bit = hdr_.inter_pic_predicted; in WriteHeader()
408 bool l_bit = LayerInfoPresent(hdr_); in WriteHeader()
[all …]
Drtp_format_vp8.cc64 : hdr_(BuildHeader(hdr_info)), remaining_payload_(payload) { in RtpPacketizerVp8()
65 limits.max_payload_len -= hdr_.size(); in RtpPacketizerVp8()
85 uint8_t* buffer = packet->AllocatePayload(hdr_.size() + packet_payload_len); in NextPacket()
88 memcpy(buffer, hdr_.data(), hdr_.size()); in NextPacket()
89 memcpy(buffer + hdr_.size(), remaining_payload_.data(), packet_payload_len); in NextPacket()
92 hdr_[0] &= (~kSBit); // Clear 'Start of partition' bit. in NextPacket()
Drtp_format_vp9.h61 const RTPVideoHeaderVP9 hdr_; variable
Drtp_format_vp8.h65 RawHeader hdr_; variable
/external/strace/
Ds390.c457 #define CHECK_SIZE(hdr_, size_, name_, ...) \ argument
459 if ((size_) < sizeof(*(hdr_))) { \
463 (size_), sizeof(*(hdr_))); \
464 print_quoted_string((char *) (hdr_), (size_), \
471 #define PRINT_UNKNOWN_TAIL(hdr_, size_) \ argument
473 if ((size_) > sizeof(*(hdr_)) && \
474 !is_filled((char *) ((hdr_) + 1), '\0', \
475 (size_) - sizeof(*(hdr_)))) \
476 print_quoted_string((char *) ((hdr_) + 1), \
477 (size_) - sizeof(*(hdr_)), \
/external/webp/src/dec/
Dvp8l_dec.c362 VP8LMetadata* const hdr = &dec->hdr_; in ReadHuffmanCodes()
1010 VP8LMetadata* const hdr = &dec->hdr_; in DecodeAlphaData()
1093 if (dec->hdr_.color_cache_size_ > 0) { in SaveState()
1094 VP8LColorCacheCopy(&dec->hdr_.color_cache_, &dec->hdr_.saved_color_cache_); in SaveState()
1103 if (dec->hdr_.color_cache_size_ > 0) { in RestoreState()
1104 VP8LColorCacheCopy(&dec->hdr_.saved_color_cache_, &dec->hdr_.color_cache_); in RestoreState()
1115 VP8LMetadata* const hdr = &dec->hdr_; in DecodeImageData()
1380 ClearMetadata(&dec->hdr_); in VP8LClear()
1404 VP8LMetadata* const hdr = &dec->hdr_; in UpdateDecoder()
1421 VP8LMetadata* const hdr = &dec->hdr_; in DecodeImageStream()
[all …]
Dvp8li_dec.h82 VP8LMetadata hdr_; member