/external/google-breakpad/src/common/ |
memory_range.h | 76 // at |sub_offset| bytes of this memory range, or false otherwise. 77 bool Covers(size_t sub_offset, size_t sub_length) const { 79 // 1. sub_offset is within [ 0 .. length_ - 1 ] 80 // 2. sub_offset + sub_length is within 81 // [ sub_offset .. length_ ] 82 return sub_offset < length_ && 83 sub_offset + sub_length >= sub_offset && 84 sub_offset + sub_length <= length_; 88 // |sub_offset| bytes of this memory range, or NULL if the subrang 108 size_t sub_offset = element_offset + element_index * element_size; local [all...] |
memory_range_unittest.cc | 143 size_t sub_offset = kSubranges[i].offset; local 145 SCOPED_TRACE(Message() << "offset=" << sub_offset 148 MemoryRange subrange = range.Subrange(sub_offset, sub_length); 150 EXPECT_TRUE(range.Covers(sub_offset, sub_length)); 151 EXPECT_EQ(kBufferPointer + sub_offset, 152 range.GetData(sub_offset, sub_length)); 153 EXPECT_EQ(kBufferPointer + sub_offset, subrange.data()); 156 EXPECT_FALSE(range.Covers(sub_offset, sub_length)); 157 EXPECT_EQ(NULL, range.GetData(sub_offset, sub_length));
|
/external/google-breakpad/src/tools/linux/md2core/ |
minidump_memory_range_unittest.cc | 144 size_t sub_offset = kSubranges[i].offset; local 146 SCOPED_TRACE(Message() << "offset=" << sub_offset 149 MinidumpMemoryRange subrange = range.Subrange(sub_offset, sub_length); 151 EXPECT_TRUE(range.Covers(sub_offset, sub_length)); 152 EXPECT_EQ(kBufferPointer + sub_offset, 153 range.GetData(sub_offset, sub_length)); 154 EXPECT_EQ(kBufferPointer + sub_offset, subrange.data()); 157 EXPECT_FALSE(range.Covers(sub_offset, sub_length)); 158 EXPECT_EQ(NULL, range.GetData(sub_offset, sub_length)); 169 size_t sub_offset = kSubranges[i].offset local [all...] |
/frameworks/av/media/libstagefright/ |
ESDS.cpp | 180 size_t sub_offset, sub_size; local 182 offset, size, &tag, &sub_offset, &sub_size); 192 err = parseDecoderConfigDescriptor(sub_offset, sub_size); 214 size_t sub_offset, sub_size; local 216 offset, size, &tag, &sub_offset, &sub_size); 226 mDecoderSpecificOffset = sub_offset;
|
/external/libdrm/intel/ |
intel_bufmgr_gem.c | 2141 uint32_t sub_offset; local [all...] |