Home
last modified time | relevance | path

Searched refs:CanUse (Results 1 – 8 of 8) sorted by relevance

/external/webrtc/webrtc/base/
Dratelimiter_unittest.cc24 EXPECT_TRUE(limiter.CanUse(0, monday)); in TEST()
25 EXPECT_TRUE(limiter.CanUse(1000, monday)); in TEST()
26 EXPECT_TRUE(limiter.CanUse(1999, monday)); in TEST()
27 EXPECT_TRUE(limiter.CanUse(2000, monday)); in TEST()
28 EXPECT_FALSE(limiter.CanUse(2001, monday)); in TEST()
32 EXPECT_TRUE(limiter.CanUse(0, monday)); in TEST()
33 EXPECT_TRUE(limiter.CanUse(999, monday)); in TEST()
34 EXPECT_TRUE(limiter.CanUse(1000, monday)); in TEST()
35 EXPECT_FALSE(limiter.CanUse(1001, monday)); in TEST()
39 EXPECT_TRUE(limiter.CanUse(0, monday)); in TEST()
[all …]
Dratelimiter.cc15 bool RateLimiter::CanUse(size_t desired, double time) { in CanUse() function in rtc::RateLimiter
Dratelimiter.h40 bool CanUse(size_t desired, double time);
/external/llvm/lib/Transforms/ObjCARC/
DPtrState.cpp251 if (CanUse(Inst, Ptr, PA, Class)) { in HandlePotentialUse()
277 if (CanUse(Inst, Ptr, PA, Class)) { in HandlePotentialUse()
389 if (!CanUse(Inst, Ptr, PA, Class)) in HandlePotentialUse()
DDependencyAnalysis.cpp85 bool llvm::objcarc::CanUse(const Instruction *Inst, const Value *Ptr, in CanUse() function in llvm::objcarc
150 return CanUse(Inst, Arg, PA, Class); in Depends()
DDependencyAnalysis.h66 bool CanUse(const Instruction *Inst, const Value *Ptr, ProvenanceAnalysis &PA,
DObjCARCContract.cpp240 if (!CanUse(Inst, Load, PA, Class)) { in findSafeStoreForStoreStrongContraction()
/external/webrtc/talk/media/base/
Drtpdataengine.cc336 if (!send_limiter_->CanUse(packet_len, now)) { in SendData()