Home
last modified time | relevance | path

Searched refs:sub_offset (Results 1 – 6 of 6) sorted by relevance

/external/google-breakpad/src/common/
Dmemory_range.h77 bool Covers(size_t sub_offset, size_t sub_length) const { in Covers() argument
82 return sub_offset < length_ && in Covers()
83 sub_offset + sub_length >= sub_offset && in Covers()
84 sub_offset + sub_length <= length_; in Covers()
90 const void* GetData(size_t sub_offset, size_t sub_length) const { in GetData() argument
91 return Covers(sub_offset, sub_length) ? (data_ + sub_offset) : NULL; in GetData()
97 const DataType* GetData(size_t sub_offset) const { in GetData() argument
99 GetData(sub_offset, sizeof(DataType))); in GetData()
108 size_t sub_offset = element_offset + element_index * element_size; in GetArrayElement() local
109 return GetData(sub_offset, element_size); in GetArrayElement()
[all …]
Dmemory_range_unittest.cc143 size_t sub_offset = kSubranges[i].offset; in TEST() local
145 SCOPED_TRACE(Message() << "offset=" << sub_offset in TEST()
148 MemoryRange subrange = range.Subrange(sub_offset, sub_length); in TEST()
150 EXPECT_TRUE(range.Covers(sub_offset, sub_length)); in TEST()
151 EXPECT_EQ(kBufferPointer + sub_offset, in TEST()
152 range.GetData(sub_offset, sub_length)); in TEST()
153 EXPECT_EQ(kBufferPointer + sub_offset, subrange.data()); in TEST()
156 EXPECT_FALSE(range.Covers(sub_offset, sub_length)); in TEST()
157 EXPECT_EQ(NULL, range.GetData(sub_offset, sub_length)); in TEST()
/external/google-breakpad/src/tools/linux/md2core/
Dminidump_memory_range_unittest.cc144 size_t sub_offset = kSubranges[i].offset; in TEST() local
146 SCOPED_TRACE(Message() << "offset=" << sub_offset in TEST()
149 MinidumpMemoryRange subrange = range.Subrange(sub_offset, sub_length); in TEST()
151 EXPECT_TRUE(range.Covers(sub_offset, sub_length)); in TEST()
152 EXPECT_EQ(kBufferPointer + sub_offset, in TEST()
153 range.GetData(sub_offset, sub_length)); in TEST()
154 EXPECT_EQ(kBufferPointer + sub_offset, subrange.data()); in TEST()
157 EXPECT_FALSE(range.Covers(sub_offset, sub_length)); in TEST()
158 EXPECT_EQ(NULL, range.GetData(sub_offset, sub_length)); in TEST()
169 size_t sub_offset = kSubranges[i].offset; in TEST() local
[all …]
Dminidump_memory_range.h59 MinidumpMemoryRange Subrange(size_t sub_offset, size_t sub_length) const { in Subrange() argument
60 if (Covers(sub_offset, sub_length)) in Subrange()
61 return MinidumpMemoryRange(data() + sub_offset, sub_length); in Subrange()
74 const std::string GetAsciiMDString(size_t sub_offset) const { in GetAsciiMDString() argument
76 const MDString* md_str = GetData<MDString>(sub_offset); in GetAsciiMDString()
/external/libvpx/libvpx/vpx_ports/
Dx86_abi_support.asm198 %%sub_offset:
202 add %1, _GLOBAL_OFFSET_TABLE_ + $$ - %%sub_offset wrt ..gotpc
/external/libdrm/intel/
Dintel_bufmgr_gem.c2141 uint32_t sub_offset; in aub_write_large_trace_block() local
2143 for (sub_offset = 0; sub_offset < size; sub_offset += block_size) { in aub_write_large_trace_block()
2144 block_size = size - sub_offset; in aub_write_large_trace_block()
2149 aub_write_trace_block(bo, type, subtype, offset + sub_offset, in aub_write_large_trace_block()