/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.h | 59 MinidumpMemoryRange Subrange(size_t sub_offset, size_t sub_length) const { 60 if (Covers(sub_offset, sub_length)) 61 return MinidumpMemoryRange(data() + sub_offset, sub_length); 71 // Gets a STL string from a MDString at |sub_offset| bytes of this memory 74 const std::string GetAsciiMDString(size_t sub_offset) const { 76 const MDString* md_str = GetData<MDString>(sub_offset);
|
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 | 182 size_t sub_offset, sub_size; local 184 offset, size, &tag, &sub_offset, &sub_size); 194 err = parseDecoderConfigDescriptor(sub_offset, sub_size); 229 size_t sub_offset, sub_size; local 231 offset, size, &tag, &sub_offset, &sub_size); 241 mDecoderSpecificOffset = sub_offset;
|
/external/libvpx/libvpx/vpx_ports/ |
x86_abi_support.asm | 198 %%sub_offset: 202 add %1, _GLOBAL_OFFSET_TABLE_ + $$ - %%sub_offset wrt ..gotpc
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_ports/ |
x86_abi_support.asm | 198 %%sub_offset: 202 add %1, _GLOBAL_OFFSET_TABLE_ + $$ - %%sub_offset wrt ..gotpc
|
/external/piex/src/ |
tiff_parser.cc | 270 std::uint32_t sub_offset; local 271 if (!Get32u(stream, offset + 4 * j, endian, &sub_offset)) { 277 if (!ParseDirectory(tiff_offset, sub_offset, endian, desired_tags, stream,
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/x86inc/ |
x86inc.asm | 123 %%sub_offset: 127 add %1, _GLOBAL_OFFSET_TABLE_ + $$ - %%sub_offset wrt ..gotpc
|
/external/libvpx/libvpx/third_party/x86inc/ |
x86inc.asm | 128 %%sub_offset: 132 add %1, _GLOBAL_OFFSET_TABLE_ + $$ - %%sub_offset wrt ..gotpc [all...] |