Searched refs:Shadow (Results 1 - 25 of 44) sorted by relevance

12

/external/chromium_org/third_party/cython/src/Cython/
H A D__init__.py1 from Cython.Shadow import __version__
4 from Cython.Shadow import *
/external/chromium_org/ui/wm/core/
H A Dshadow.cc15 // Shadow opacity for different styles.
20 // Shadow aperture for different styles.
35 float GetOpacityForStyle(wm::Shadow::Style style) {
37 case wm::Shadow::STYLE_ACTIVE:
39 case wm::Shadow::STYLE_INACTIVE:
41 case wm::Shadow::STYLE_SMALL:
47 int GetShadowApertureForStyle(wm::Shadow::Style style) {
49 case wm::Shadow::STYLE_ACTIVE:
51 case wm::Shadow::STYLE_INACTIVE:
53 case wm::Shadow
75 Shadow::Shadow() : style_(STYLE_ACTIVE), interior_inset_(0) { function in class:wm::Shadow
[all...]
H A Dshadow.h21 class WM_EXPORT Shadow : public ui::ImplicitAnimationObserver { class in namespace:wm
36 Shadow();
37 virtual ~Shadow();
87 DISALLOW_COPY_AND_ASSIGN(Shadow);
H A Dshadow_controller.cc57 Shadow::Style GetShadowStyleForWindow(aura::Window* window) {
58 return ShouldUseSmallShadowForWindow(window) ? Shadow::STYLE_SMALL :
60 Shadow::STYLE_ACTIVE : Shadow::STYLE_INACTIVE);
66 Shadow::Style GetShadowStyleForWindowLosingActive(
70 return Shadow::STYLE_ACTIVE;
78 return Shadow::STYLE_ACTIVE;
80 return Shadow::STYLE_INACTIVE;
116 typedef std::map<aura::Window*, linked_ptr<Shadow> > WindowShadowMap;
130 Shadow* GetShadowForWindo
[all...]
H A Dshadow_controller_unittest.cc61 // Tests that various methods in Window update the Shadow object as expected.
62 TEST_F(ShadowControllerTest, Shadow) {
71 const Shadow* shadow = api.GetShadowForWindow(window.get());
112 const Shadow* shadow = api.GetShadowForWindow(window.get());
137 Shadow* shadow1 = api.GetShadowForWindow(window1.get());
139 EXPECT_EQ(Shadow::STYLE_ACTIVE, shadow1->style());
151 Shadow* shadow2 = api.GetShadowForWindow(window2.get());
153 EXPECT_EQ(Shadow::STYLE_INACTIVE, shadow1->style());
154 EXPECT_EQ(Shadow::STYLE_ACTIVE, shadow2->style());
168 Shadow* tooltip_shado
[all...]
H A Dshadow_controller.h28 class Shadow;
42 Shadow* GetShadowForWindow(aura::Window* window);
H A Dshadow_unittest.cc128 Shadow shadow;
130 shadow.Init(Shadow::STYLE_SMALL);
132 shadow.SetStyle(Shadow::STYLE_ACTIVE);
134 shadow.SetStyle(Shadow::STYLE_INACTIVE);
140 Shadow shadow;
143 shadow.Init(Shadow::STYLE_ACTIVE);
149 shadow.SetStyle(Shadow::STYLE_SMALL);
/external/chromium_org/third_party/cython/src/
H A Dcython.py21 from Cython.Shadow import *
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_update_shadow_word_inl.h30 if (Shadow::Addr0AndSizeAreEqual(cur, old)) {
33 if (Shadow::TidsAreEqual(old, cur)) {
49 if (Shadow::TwoRangesIntersect(old, cur, kAccessSize)) {
51 if (Shadow::TidsAreEqual(old, cur)) {
H A Dtsan_rtl.h152 friend class Shadow;
161 // Shadow (from most significant bit):
169 class Shadow : public FastState { class in namespace:__tsan
171 explicit Shadow(u64 x) function in class:__tsan::Shadow
175 explicit Shadow(const FastState &s) function in class:__tsan::Shadow
211 static inline bool TidsAreEqual(const Shadow s1, const Shadow s2) {
218 bool Addr0AndSizeAreEqual(const Shadow s1, const Shadow s2) {
223 static ALWAYS_INLINE bool TwoRangesIntersect(Shadow s
[all...]
H A Dtsan_rtl.cc499 Shadow LoadShadow(u64 *p) {
501 return Shadow(raw);
517 Shadow cur, Shadow old) {
528 static inline bool HappensBefore(Shadow old, ThreadState *thr) {
535 u64 *shadow_mem, Shadow cur) {
554 Shadow old(0);
629 Shadow cur(a);
631 Shadow old(LoadShadow(&s[i]));
632 if (Shadow
[all...]
H A Dtsan_rtl_report.cc171 void ScopedReport::AddMemoryAccess(uptr addr, Shadow s,
618 Shadow s0(thr->racy_state[0]);
619 Shadow s1(thr->racy_state[1]);
644 Shadow s(thr->racy_state[1]);
653 uptr a0 = addr + Shadow(thr->racy_state[0]).addr0();
654 uptr a1 = addr + Shadow(thr->racy_state[1]).addr0();
655 uptr e0 = a0 + Shadow(thr->racy_state[0]).size();
656 uptr e1 = a1 + Shadow(thr->racy_state[1]).size();
681 Shadow s2(thr->racy_state[1]);
690 Shadow
[all...]
/external/compiler-rt/lib/tsan/tests/unit/
H A Dtsan_shadow_test.cc19 TEST(Shadow, FastState) {
20 Shadow s(FastState(11, 22));
49 TEST(Shadow, Mapping) {
64 TEST(Shadow, Celling) {
/external/chromium_org/athena/wm/
H A Dtitle_drag_controller.h20 class Shadow;
56 scoped_ptr<wm::Shadow> shadow_;
H A Dtitle_drag_controller.cc108 shadow_.reset(new wm::Shadow());
109 shadow_->Init(wm::Shadow::STYLE_ACTIVE);
/external/chromium_org/ui/keyboard/
H A Dkeyboard_controller_proxy.h29 class Shadow;
133 scoped_ptr<wm::Shadow> shadow_;
H A Dkeyboard_controller_proxy.cc193 shadow_.reset(new wm::Shadow());
194 shadow_->Init(wm::Shadow::STYLE_ACTIVE);
/external/llvm/lib/Transforms/Instrumentation/
H A DDataFlowSanitizer.cpp288 void setShadow(Instruction *I, Value *Shadow);
292 void storeShadow(Value *Addr, uint64_t Size, uint64_t Align, Value *Shadow,
825 Value *&Shadow = ValShadowMap[V];
826 if (!Shadow) {
837 Shadow = IRB.CreateLoad(getArgTLS(A->getArgNo(), ArgTLSPos));
845 Shadow = i;
846 assert(Shadow->getType() == DFS.ShadowTy);
850 NonZeroChecks.insert(Shadow);
852 Shadow = DFS.ZeroShadow;
855 return Shadow;
858 setShadow(Instruction *I, Value *Shadow) argument
1013 PHINode *Shadow = PHINode::Create(DFS.ShadowTy, 2, "", &Tail->front()); local
1037 Value *Shadow = DFSF.loadShadow(LI.getPointerOperand(), Size, Align, &LI); local
1048 storeShadow(Value *Addr, uint64_t Size, uint64_t Align, Value *Shadow, Instruction *Pos) argument
1111 Value* Shadow = DFSF.getShadow(SI.getValueOperand()); local
[all...]
H A DMemorySanitizer.cpp520 Value *Shadow; member in struct:__anon26257::MemorySanitizerVisitor::ShadowOriginAndInsertPoint
524 : Shadow(S), Origin(O), OrigIns(I) { }
552 void storeOrigin(IRBuilder<> &IRB, Value *Addr, Value *Shadow, Value *Origin, argument
554 if (isa<StructType>(Shadow->getType())) {
558 Value *ConvertedShadow = convertToShadowTyNoVec(Shadow, IRB);
592 Value *Shadow = SI.isAtomic() ? getCleanShadow(Val) : getShadow(Val); local
593 Value *ShadowPtr = getShadowPtr(Addr, Shadow->getType(), IRB);
596 IRB.CreateAlignedStore(Shadow, ShadowPtr, SI.getAlignment());
606 storeOrigin(IRB, Addr, Shadow, getOrigin(Val), Alignment,
612 void materializeOneCheck(Instruction *OrigIns, Value *Shadow, Valu argument
651 Value *Shadow = ShadowData.Shadow; local
913 Value *Shadow = ShadowMap[V]; local
1009 insertShadowCheck(Value *Shadow, Value *Origin, Instruction *OrigIns) argument
1027 Instruction *Shadow = dyn_cast_or_null<Instruction>(getShadow(Val)); local
1279 Value *Shadow; member in class:__anon26257::MemorySanitizerVisitor::Combiner
1595 Value* Shadow = local
1734 Value *Shadow = getShadow(&I, 1); local
2384 Value *Shadow = getCleanShadow(RetVal); local
2387 Value *Shadow = getShadow(RetVal); local
[all...]
/external/chromium_org/ui/views/bubble/
H A Dbubble_delegate.h67 BubbleBorder::Shadow shadow() const { return shadow_; }
68 void set_shadow(BubbleBorder::Shadow shadow) { shadow_ = shadow; }
170 BubbleBorder::Shadow shadow_;
H A Dbubble_border.h85 enum Shadow { enum in class:views::BubbleBorder
111 BubbleBorder(Arrow arrow, Shadow shadow, SkColor color);
161 Shadow shadow() const { return shadow_; }
221 Shadow shadow_;
/external/chromium_org/third_party/cython/src/Cython/Build/Tests/
H A DTestInline.py2 from Cython.Shadow import inline
/external/chromium_org/third_party/mesa/src/src/mesa/program/
H A Dprogram_parser.h207 unsigned Shadow:1; member in struct:asm_parser_state::__anon14570
H A Dprogram_parse_extra.c216 state->option.Shadow = 1;
/external/mesa3d/src/mesa/program/
H A Dprogram_parser.h207 unsigned Shadow:1; member in struct:asm_parser_state::__anon27981

Completed in 1011 milliseconds

12