Searched refs:CanUse (Results 1 – 8 of 8) sorted by relevance
/external/webrtc/webrtc/base/ |
D | ratelimiter_unittest.cc | 24 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 …]
|
D | ratelimiter.cc | 15 bool RateLimiter::CanUse(size_t desired, double time) { in CanUse() function in rtc::RateLimiter
|
D | ratelimiter.h | 40 bool CanUse(size_t desired, double time);
|
/external/llvm/lib/Transforms/ObjCARC/ |
D | PtrState.cpp | 251 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()
|
D | DependencyAnalysis.cpp | 85 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()
|
D | DependencyAnalysis.h | 66 bool CanUse(const Instruction *Inst, const Value *Ptr, ProvenanceAnalysis &PA,
|
D | ObjCARCContract.cpp | 240 if (!CanUse(Inst, Load, PA, Class)) { in findSafeStoreForStoreStrongContraction()
|
/external/webrtc/talk/media/base/ |
D | rtpdataengine.cc | 336 if (!send_limiter_->CanUse(packet_len, now)) { in SendData()
|