Home
last modified time | relevance | path

Searched refs:segments_ (Results 1 – 14 of 14) sorted by relevance

/external/deqp-deps/amber/src/
Dformat.cc72 for (const auto& seg : segments_) { in SizeInBytes()
90 for (const auto& seg : segments_) { in InputNeededPerElement()
108 segments_.clear(); in RebuildSegments()
114 if (!segments_.empty() && segments_.back().IsPadding()) { in AddPaddedSegment()
115 segments_[segments_.size() - 1] = in AddPaddedSegment()
116 Segment{size + segments_.back().SizeInBytes()}; in AddPaddedSegment()
118 segments_.push_back(Segment{size}); in AddPaddedSegment()
124 segments_.back().SetPackable(true); in AddPaddedSegmentPackable()
128 if (!segments_.empty()) { in AddSegment()
129 auto last = segments_.back(); in AddSegment()
[all …]
Dformat.h111 const std::vector<Segment>& GetSegments() const { return segments_; } in GetSegments()
240 std::vector<Segment> segments_; variable
/external/pigweed/pw_tokenizer/
Ddecode.cc277 for (const DecodedArg& arg : segments_) { in value()
287 for (const DecodedArg& arg : segments_) { in value_with_errors()
295 return std::count_if(segments_.begin(), segments_.end(), [](const auto& arg) { in argument_count()
301 return std::count_if(segments_.begin(), segments_.end(), [](const auto& arg) { in decoding_errors()
314 segments_.emplace_back( in FormatString()
323 segments_.push_back(std::move(spec)); in FormatString()
330 segments_.emplace_back(std::string_view(text_start, format - text_start)); in FormatString()
339 for (const auto& segment : segments_) { in Format()
/external/webp/src/dec/
Dtree_dec.c285 memset(proba->segments_, 255u, sizeof(proba->segments_)); in VP8ResetProba()
299 block->segment_ = !VP8GetBit(br, dec->proba_.segments_[0], "segments") in ParseIntraMode()
300 ? VP8GetBit(br, dec->proba_.segments_[1], "segments") in ParseIntraMode()
301 : VP8GetBit(br, dec->proba_.segments_[2], "segments") + 2; in ParseIntraMode()
Dvp8i_dec.h104 uint8_t segments_[MB_FEATURE_TREE_PROBS]; member
Dvp8_dec.c182 proba->segments_[s] = VP8Get(br, "global-header") ? in ParseSegmentHeader()
/external/webp/src/enc/
Dtree_enc.c159 memset(probas->segments_, 255u, sizeof(probas->segments_)); in VP8DefaultProbas()
321 PutSegment(bw, mb->segment_, enc->proba_.segments_); in VP8CodeIntraModes()
Dsyntax_enc.c208 if (VP8PutBitUniform(bw, (proba->segments_[s] != 255u))) { in PutSegmentHeader()
209 VP8PutBits(bw, proba->segments_[s], 8); in PutSegmentHeader()
Dvp8i_enc.h149 uint8_t segments_[3]; // probabilities for segment tree member
Dframe_enc.c214 uint8_t* const probas = enc->proba_.segments_; in SetSegmentProbas()
/external/pigweed/pw_tokenizer/public/pw_tokenizer/internal/
Ddecode.h191 : segments_(std::move(segments)), remaining_bytes_(remaining_bytes) {} in DecodedFormatString()
219 std::vector<DecodedArg> segments_;
240 std::vector<StringSegment> segments_;
/external/sfntly/cpp/src/sfntly/table/core/
Dcmap_table.cc963 segments_(segments->begin(), segments->end()), in Builder()
992 segments_.push_back(segment); in Initialize()
1007 if (segments_.empty()) { in segments()
1011 return &segments_; in segments()
1015 segments_.assign(segments->begin(), segments->end()); in set_segments()
1040 segments_.clear(); in SubDataSet()
1049 int32_t size = Offset::kFormat4FixedSize + segments_.size() in SubDataSizeToSerialize()
1075 int32_t seg_count = segments_.size(); in SubSerialize()
1086 index += new_data->WriteUShort(index, segments_[i]->end_count()); in SubSerialize()
1091 fprintf(stderr, "Segment %d; start %d\n", i, segments_[i]->start_count()); in SubSerialize()
[all …]
Dcmap_table.h397 SegmentList segments_; variable
/external/protobuf/src/google/protobuf/util/
Djson_util_test.cc498 : segments_(segments), in SegmentedZeroCopyOutputStream()
503 if (segments_.empty()) { in Next()
506 last_segment_ = segments_.front(); in Next()
507 segments_.pop_front(); in Next()
516 segments_.push_front( in BackUp()
525 std::list<Segment> segments_; member in google::protobuf::util::__anon5a570d120111::SegmentedZeroCopyOutputStream