Searched refs:sub_length (Results 1 – 6 of 6) sorted by relevance
/external/google-breakpad/src/tools/linux/md2core/ |
D | minidump_memory_range_unittest.cc | 145 size_t sub_length = kSubranges[i].length; in TEST() local 147 << ", length=" << sub_length); in TEST() 149 MinidumpMemoryRange subrange = range.Subrange(sub_offset, sub_length); in TEST() 151 EXPECT_TRUE(range.Covers(sub_offset, sub_length)); in TEST() 153 range.GetData(sub_offset, sub_length)); in TEST() 155 EXPECT_EQ(sub_length, subrange.length()); 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() 170 size_t sub_length = kSubranges[i].length; in TEST() local 172 << ", length=" << sub_length); in TEST() [all …]
|
D | minidump_memory_range.h | 59 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()
|
/external/google-breakpad/src/common/ |
D | memory_range.h | 77 bool Covers(size_t sub_offset, size_t sub_length) const { in Covers() argument 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() 124 MemoryRange Subrange(size_t sub_offset, size_t sub_length) const { in Subrange() argument 125 return Covers(sub_offset, sub_length) ? in Subrange() 126 MemoryRange(data_ + sub_offset, sub_length) : MemoryRange(); in Subrange()
|
D | memory_range_unittest.cc | 144 size_t sub_length = kSubranges[i].length; in TEST() local 146 << ", length=" << sub_length); in TEST() 148 MemoryRange subrange = range.Subrange(sub_offset, sub_length); in TEST() 150 EXPECT_TRUE(range.Covers(sub_offset, sub_length)); in TEST() 152 range.GetData(sub_offset, sub_length)); in TEST() 154 EXPECT_EQ(sub_length, subrange.length()); 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/v8/test/cctest/ |
D | test-parsing.cc | 530 unsigned sub_length = end - start; in TestCharacterStream() local 572 while (i > start + sub_length / 4) { in TestCharacterStream() 603 unsigned halfway = start + sub_length / 2; in TestCharacterStream()
|
/external/v8/src/ |
D | runtime.cc | 4331 uint32_t sub_length = sub->length(); in RUNTIME_FUNCTION() local 4333 if (start_index + pat_length > sub_length) { in RUNTIME_FUNCTION() 4334 start_index = sub_length - pat_length; in RUNTIME_FUNCTION()
|