/external/compiler-rt/lib/tsan/rtl/ |
tsan_update_shadow_word_inl.h | 30 if (Shadow::Addr0AndSizeAreEqual(cur, old)) { 33 if (Shadow::TidsAreEqual(old, cur)) { 50 if (Shadow::TwoRangesIntersect(old, cur, kAccessSize)) { 52 if (Shadow::TidsAreEqual(old, cur)) {
|
tsan_rtl.cc | 245 MmapFixedNoReserve(MemToShadow(addr), size * kShadowMultiplier, "shadow"); 247 // Meta shadow is 2:1, so tread carefully. 257 MmapFixedNoReserve(meta_begin, meta_end - meta_begin, "meta shadow"); 267 MmapFixedNoReserve(meta_begin, meta_end - meta_begin, "meta shadow"); 270 VPrintf(2, "mapped meta shadow for (%p-%p) at (%p-%p)\n", 290 VPrintf(3, "checking shadow region %p-%p\n", beg, end); 298 VPrintf(3, " checking pointer %p: shadow=%p meta=%p\n", p, s, m); 546 Shadow LoadShadow(u64 *p) { 548 return Shadow(raw); 564 Shadow cur, Shadow old) [all...] |
tsan_rtl.h | 83 const u64 kShadowRodata = (u64)-1; // .rodata shadow marker 159 friend class Shadow; 168 // Shadow (from most significant bit): 176 class Shadow : public FastState { 178 explicit Shadow(u64 x) 182 explicit Shadow(const FastState &s) 218 static inline bool TidsAreEqual(const Shadow s1, const Shadow s2) { 225 bool Addr0AndSizeAreEqual(const Shadow s1, const Shadow s2) [all...] |
tsan_rtl_report.cc | 163 void ScopedReport::AddMemoryAccess(uptr addr, Shadow s, StackTrace stack, 569 Shadow s0(thr->racy_state[0]); 570 Shadow s1(thr->racy_state[1]); 595 Shadow s(thr->racy_state[1]); 604 uptr a0 = addr + Shadow(thr->racy_state[0]).addr0(); 605 uptr a1 = addr + Shadow(thr->racy_state[1]).addr0(); 606 uptr e0 = a0 + Shadow(thr->racy_state[0]).size(); 607 uptr e1 = a1 + Shadow(thr->racy_state[1]).size(); 637 Shadow s2(thr->racy_state[1]); 648 Shadow s(thr->racy_state[i]) [all...] |
tsan_rtl_thread.cc | 102 // Setup dynamic shadow stack. 340 Printf("Bad shadow addr %p (%zx)\n", shadow_mem, addr); 344 Printf("Bad shadow addr %p (%zx)\n", 372 Shadow cur(fast_state); 383 Shadow cur(fast_state); 393 Shadow cur(fast_state);
|
/external/compiler-rt/lib/tsan/tests/unit/ |
tsan_shadow_test.cc | 19 TEST(Shadow, FastState) { 20 Shadow s(FastState(11, 22)); 49 TEST(Shadow, Mapping) { 64 TEST(Shadow, Celling) {
|
/external/compiler-rt/lib/esan/ |
working_set.cpp | 23 // We shadow every cache line of app memory with one shadow byte. 24 // - The highest bit of each shadow byte indicates whether the corresponding 26 // - The lowest bit of each shadow byte indicates whether the corresponding 37 // We live with races in accessing each shadow byte. 42 // Our shadow memory assumes that the line size is 64. 45 // See the shadow byte layout description above. 62 static const u32 NumFreq = 8; // One for each bit of our shadow bytes. 92 byte *Shadow = (byte *)appToShadow(Addr); 93 // Write shadow bytes until we're word-aligned [all...] |
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
ShadowPackageMonitor.java | 17 package com.android.settings.testutils.shadow; 31 import org.robolectric.internal.Shadow; 37 * Shadow for hidden {@link PackageMonitor}. 48 Shadow.directlyOn(mPackageMonitor, PackageMonitor.class, "register",
|
SettingsShadowResources.java | 1 package com.android.settings.testutils.shadow; 7 import static org.robolectric.internal.Shadow.directlyOn; 31 import org.robolectric.internal.Shadow; 45 * Shadow Resources and Theme classes to handle resource references that Robolectric shadows cannot 136 return Shadow.directlyOn( 146 return Shadow.directlyOn( 156 return Shadow.directlyOn(realResources, Resources.class, "getBoolean",
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/testutils/shadow/ |
SettingsLibShadowResources.java | 17 package com.android.settingslib.testutils.shadow; 19 import static org.robolectric.internal.Shadow.directlyOn; 31 * Shadow Resources to handle resource references that Robolectric shadows cannot
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/PomAdapter/ |
InfPomAlignmentMisc.py | 38 Shadow = DefineObj.GetShadow()
57 if Shadow != None:
59 Value = Shadow.GetValue()
60 Statement = _GenInfDefineStateMent(Shadow.Comments.GetHeaderComments(),
63 Shadow.Comments.GetTailComments())
|
/external/llvm/lib/Transforms/Instrumentation/ |
DataFlowSanitizer.cpp | 20 /// byte of application memory is backed by two bytes of shadow memory which 32 /// | shadow memory | 37 /// To derive a shadow memory address from an application memory address, 40 /// account for the double byte representation of shadow labels and move the 41 /// address into the shadow memory range. See the function 75 // External symbol to be used when generating the shadow address for 83 // the shadow load to have alignment 16. This flag is disabled by default as 91 // The ABI list files control how shadow parameters are passed. The pass treats 220 /// pass the return value shadow in a register, while WK_Custom uses an 221 /// extra pointer argument to return the shadow. This allows the wrappe [all...] |
MemorySanitizer.cpp | 14 /// (http://goo.gl/QKbem). We associate a few shadow bits with every 15 /// byte of the application memory, poison the shadow of the malloc-ed 16 /// or alloca-ed memory, load the shadow bits on every memory read, 17 /// propagate the shadow bits through some of the arithmetic 18 /// instruction (including MOV), store the shadow bits on every memory 20 /// associated shadow is poisoned. 30 /// Another difference from Memcheck is that we use 8 shadow bits per 31 /// byte of application memory and use a direct shadow mapping. This 33 /// shadow updates (Memcheck is single-threaded so races are not a 34 /// concern there. Memcheck uses 2 shadow bits per byte with a slo [all...] |
EfficiencySanitizer.cpp | 44 // cannot be combined due to shadow memory constraints. 98 // We must keep these Shadow* constants consistent with the esan runtime. 99 // FIXME: Try to place these shadow constants, the names of the __esan_* 195 Value *appToShadow(Value *Shadow, IRBuilder<> &IRB); 560 Value *EfficiencySanitizer::appToShadow(Value *Shadow, IRBuilder<> &IRB) { 561 // Shadow = ((App & Mask) + Offs) >> Scale 562 Shadow = IRB.CreateAnd(Shadow, ConstantInt::get(IntptrTy, ShadowMask)); 569 Shadow = IRB.CreateAdd(Shadow, ConstantInt::get(IntptrTy, Offs)) [all...] |
/external/mesa3d/src/mesa/program/ |
program_parse_extra.c | 155 state->option.Shadow = 1;
|
program_parser.h | 210 unsigned Shadow:1;
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/view/ |
IllustrationVideoViewTest.java | 51 import org.robolectric.internal.Shadow; 173 Shadow.invokeConstructor(Surface.class, mRealSurface,
|
/frameworks/base/libs/hwui/ |
LayerBuilder.h | 53 Shadow,
|
/external/skia/src/sfnt/ |
SkOTTable_head.h | 99 Shadow,
|
SkPanose.h | 401 Shadow = 6,
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Object/Parser/ |
InfDefineObject.py | 202 self.Shadow = None
709 def SetShadow(self, Shadow, Comments):
713 if self.Shadow != None:
717 if (IsValidBoolType(Shadow)):
718 self.Shadow = InfDefMember()
719 self.Shadow.SetValue(Shadow)
720 self.Shadow.Comments = Comments
723 ErrorInInf(ST.ERR_INF_PARSER_DEFINE_FROMAT_INVALID%(Shadow),
727 return self.Shadow
[all...] |
/packages/apps/Settings/tests/robotests/src/com/android/settings/support/ |
SupportDisclaimerDialogFragmentTest.java | 22 import com.android.settings.testutils.shadow.SettingsShadowResources; 40 import static org.robolectric.internal.Shadow.directlyOn;
|
/prebuilts/misc/common/robolectric/lib/ |
robolectric-utils-3.1.1.jar | |
/device/linaro/bootloader/edk2/BaseTools/Source/Python/CommonDataClass/ |
ModuleClass.py | 51 # @var Shadow: To store value for Shadow
80 self.Shadow = ''
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Workspace/ |
BuildClassObject.py | 141 # @var Shadow To store value for Shadow
180 self.Shadow = ''
|