Home
last modified time | relevance | path

Searched refs:CanUse (Results 1 – 13 of 13) 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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/ObjCARC/
DPtrState.cpp286 if (CanUse(Inst, Ptr, PA, Class)) { in HandlePotentialUse()
296 if (CanUse(Call, Ptr, PA, GetBasicARCInstKind(Call))) { in HandlePotentialUse()
304 if (CanUse(Inst, Ptr, PA, Class)) { in HandlePotentialUse()
418 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.h67 bool CanUse(const Instruction *Inst, const Value *Ptr, ProvenanceAnalysis &PA,
DObjCARCContract.cpp249 if (!CanUse(Inst, Load, PA, Class)) { in findSafeStoreForStoreStrongContraction()
/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.h67 bool CanUse(const Instruction *Inst, const Value *Ptr, ProvenanceAnalysis &PA,
DObjCARCContract.cpp241 if (!CanUse(Inst, Load, PA, Class)) { in findSafeStoreForStoreStrongContraction()
/external/webrtc/talk/media/base/
Drtpdataengine.cc336 if (!send_limiter_->CanUse(packet_len, now)) { in SendData()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DObjCARC.cpp1675 CanUse(const Instruction *Inst, const Value *Ptr, ProvenanceAnalysis &PA, in CanUse() function
1765 return CanUse(Inst, Arg, PA, Class); in Depends()
2413 if (CanUse(Inst, Ptr, PA, Class)) { in VisitBottomUp()
2426 if (CanUse(Inst, Ptr, PA, Class)) in VisitBottomUp()
2595 if (CanUse(Inst, Ptr, PA, Class)) in VisitTopDown()
2603 CanUse(Inst, Ptr, PA, Class)) { in VisitTopDown()