Home
last modified time | relevance | path

Searched refs:sub_offset (Results 1 – 9 of 9) 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/piex/src/
Dtiff_parser.cc273 std::uint32_t sub_offset; in ParseSubIfds() local
274 if (!Get32u(stream, offset + 4 * j, endian, &sub_offset)) { in ParseSubIfds()
280 if (!ParseDirectory(tiff_offset, sub_offset, endian, desired_tags, stream, in ParseSubIfds()
/external/libaom/libaom/aom_ports/
Dx86_abi_support.asm200 %%sub_offset:
204 add %1, _GLOBAL_OFFSET_TABLE_ + $$ - %%sub_offset wrt ..gotpc
/external/libvpx/libvpx/vpx_ports/
Dx86_abi_support.asm197 %%sub_offset:
201 add %1, _GLOBAL_OFFSET_TABLE_ + $$ - %%sub_offset wrt ..gotpc
/external/libaom/libaom/third_party/x86inc/
Dx86inc.asm139 %%sub_offset:
143 add %1, _GLOBAL_OFFSET_TABLE_ + $$ - %%sub_offset wrt ..gotpc
/external/libvpx/libvpx/third_party/x86inc/
Dx86inc.asm139 %%sub_offset:
143 add %1, _GLOBAL_OFFSET_TABLE_ + $$ - %%sub_offset wrt ..gotpc