Home
last modified time | relevance | path

Searched refs:IsRed (Results 1 – 7 of 7) sorted by relevance

/external/skqp/src/utils/
DSkPolyUtils.cpp710 if (IsRed(parent)) { in insert()
719 } else if (IsRed(curr->fChild[0]) && IsRed(curr->fChild[1])) { in insert()
724 if (IsRed(parent)) { in insert()
868 if (!IsRed(curr) && !IsRed(curr->fChild[dir])) { in remove()
869 if (IsRed(curr->fChild[!dir])) { in remove()
875 if (!IsRed(s->fChild[!last]) && !IsRed(s->fChild[last])) { in remove()
883 if (IsRed(s->fChild[last])) { in remove()
885 } else if (IsRed(s->fChild[!last])) { in remove()
955 static bool IsRed(const ActiveEdge* node) { in IsRed() function in ActiveEdgeList
987 if (IsRed(tree) && (IsRed(left) || IsRed(right))) { in VerifyTree()
[all …]
/external/skia/src/utils/
DSkPolyUtils.cpp740 if (IsRed(parent)) { in insert()
749 } else if (IsRed(curr->fChild[0]) && IsRed(curr->fChild[1])) { in insert()
754 if (IsRed(parent)) { in insert()
898 if (!IsRed(curr) && !IsRed(curr->fChild[dir])) { in remove()
899 if (IsRed(curr->fChild[!dir])) { in remove()
905 if (!IsRed(s->fChild[!last]) && !IsRed(s->fChild[last])) { in remove()
913 if (IsRed(s->fChild[last])) { in remove()
915 } else if (IsRed(s->fChild[!last])) { in remove()
985 static bool IsRed(const ActiveEdge* node) { in IsRed() function in ActiveEdgeList
1017 if (IsRed(tree) && (IsRed(left) || IsRed(right))) { in VerifyTree()
[all …]
/external/webrtc/modules/audio_coding/neteq/
Ddecoder_database.h81 bool IsRed() const { return subtype_ == Subtype::kRed; } in IsRed() function
196 bool IsRed(uint8_t rtp_payload_type) const;
Ddecoder_database_unittest.cc130 EXPECT_FALSE(db.IsRed(kPayloadNotUsed)); in TEST()
133 EXPECT_FALSE(db.IsRed(kPayloadTypePcmU)); in TEST()
138 EXPECT_TRUE(db.IsRed(kPayloadTypeRed)); in TEST()
Ddecoder_database.cc286 bool DecoderDatabase::IsRed(uint8_t rtp_payload_type) const { in IsRed() function in webrtc::DecoderDatabase
288 return info && info->IsRed(); in IsRed()
Dred_payload_splitter.cc152 if (decoder_database.IsRed(this_payload_type)) { in CheckRedPayloads()
Dneteq_impl.cc472 /*sample_rate_hz=*/di->IsRed() ? 8000 : di->SampleRateHz(), in GetDecoderFormat()
576 if (!decoder_database_->IsRed(rtp_header.payloadType)) { in InsertPacketInternal()
613 if (decoder_database_->IsRed(rtp_header.payloadType)) { in InsertPacketInternal()
635 if (decoder_database_->IsRed(rtp_header.payloadType)) { in InsertPacketInternal()