/test/vts/utils/python/library/ |
D | elf_parser.py | 162 def _SeekRead(self, offset, read_size): argument 175 if offset + read_size > self._file_size: 178 self._file.seek(self._begin_offset + offset) 183 def _SeekRead8(self, offset): argument 185 return struct.unpack("B", self._SeekRead(offset, 1))[0] 187 def _SeekRead16(self, offset): argument 189 return struct.unpack("H", self._SeekRead(offset, 2))[0] 191 def _SeekRead32(self, offset): argument 193 return struct.unpack("I", self._SeekRead(offset, 4))[0] 195 def _SeekRead64(self, offset): argument [all …]
|
D | ar_parser.py | 89 for offset in _IterateArchive(archive_path): 90 with elf_parser.ElfParser(archive_path, offset) as parser:
|
/test/vts/drivers/hal/libcodecoverage/ |
D | GcdaFile.cpp | 61 gcov_var_.offset = base - gcov_var_.start; in Sync() 63 gcov_var_.offset = gcov_var_.length = 0; in Sync() 103 unsigned excess = gcov_var_.length - gcov_var_.offset; in ReadWords() 108 gcov_var_.start += gcov_var_.offset; in ReadWords() 109 memmove(gcov_var_.buffer, gcov_var_.buffer + gcov_var_.offset, excess * 4); in ReadWords() 110 gcov_var_.offset = 0; in ReadWords() 125 result = &gcov_var_.buffer[gcov_var_.offset]; in ReadWords() 126 gcov_var_.offset += words; in ReadWords() 160 gcov_var_.offset -= size; in WriteBlock()
|
/test/vts/utils/python/library/vtable/ |
D | vtable_dumper.py | 48 def __init__(self, offset, names, value, is_undefined): argument 49 self.offset = offset 55 return cmp(self.offset, other.offset) 89 .format(entry.offset, 256 def _LocateVtable(self, vtables, offset): argument 267 idx = bisect.bisect(vtables, offset) 271 if vtable.begin_addr <= offset and offset < vtable.end_addr: 294 offset = reloc.r_offset - sh.sh_addr + sh.sh_offset 295 addend = self._SeekReadStruct(offset, self.Elf_Addr)
|
/test/suite_harness/tools/dex-tools/src/dex/reader/ |
D | DexAnnotationImpl.java | 28 private int offset; field in DexAnnotationImpl 38 public DexAnnotationImpl(DexBuffer buffer, int offset, int[] typeIds, in DexAnnotationImpl() argument 41 this.offset = offset; in DexAnnotationImpl() 49 buffer.setPosition(offset); in parseAnnotations()
|
/test/vti/test_serving/gae/webapp/src/endpoint/ |
D | endpoint_base.py | 122 offset=0, argument 152 page_size=size, offset=offset) 305 offset = request.offset if request.offset else 0 314 offset=offset,
|
D | endpoint_base_test.py | 114 offset=0, 135 offset=0, 156 offset=0, 171 offset=60, 202 offset=0, 223 offset=0, 240 offset=0,
|
/test/vti/dashboard/src/main/java/com/android/vts/entity/ |
D | TestStatusEntity.java | 75 public final int offset; field in TestStatusEntity.TestCaseReference 83 public TestCaseReference(long parentId, int offset) { in TestCaseReference() argument 85 this.offset = offset; in TestCaseReference() 94 this(testCase.parentId, testCase.offset); in TestCaseReference() 146 failingTestcaseOffsets.add(testCase.offset); in toEntity()
|
D | TestCaseRunEntity.java | 69 public final int offset; field in TestCaseRunEntity.TestCase 80 public TestCase(long parentId, int offset, String name, int result) { in TestCase() argument 82 this.offset = offset; in TestCase()
|
/test/vts-testcase/kernel/bow/ |
D | BowTest.cpp | 182 uint64_t offset; member 185 return type == te.type && offset == te.offset; in operator ==() 196 i >> s >> te.offset; in GetTable() 219 te.offset /= sector_size_ / 512; in GetTable() 259 void Discard(uint64_t offset, uint64_t length) { in Discard() argument 260 uint64_t range[2] = {offset * sector_size_, length * sector_size_}; in Discard() 267 EXPECT_NE(lseek(fd_, i.offset * sector_size_, SEEK_SET), -1); in Write() 269 return i.offset; in Write() 289 if (j.offset > i) in FindChanged()
|
/test/vti/test_serving/gae/frontend/src/app/menu/lab/ |
D | lab.service.ts | 36 offset: number, 41 …return this.httpClient.post<HostWrapper>(url, {size: size, offset: offset, filter: filterInfo, so…
|
D | lab.component.ts | 69 getHosts(size = 0, offset = 0) { 73 this.labService.getLabs(size, offset, filterJSON, '', '')
|
/test/vti/test_serving/gae/frontend/src/app/menu/job/ |
D | job.service.ts | 36 offset: number, 41 …return this.httpClient.post<JobWrapper>(url, {size: size, offset: offset, filter: filterInfo, sor…
|
D | job.component.ts | 114 getJobs(size = 0, offset = 0) { 117 this.jobService.getJobs(size, offset, filterJSON, this.sort, this.sortDirection) 126 const total = length + offset;
|
/test/vti/test_serving/gae/frontend/src/app/menu/device/ |
D | device.service.ts | 35 offset: number, 40 …return this.httpClient.post<DeviceWrapper>(url, {size: size, offset: offset, filter: filterInfo, …
|
D | device.component.ts | 82 getDevices(size = 0, offset = 0) { 85 this.deviceService.getDevices(size, offset, filterJSON, this.sort, this.sortDirection) 94 const total = length + offset;
|
/test/vti/test_serving/gae/frontend/src/app/menu/build/ |
D | build.service.ts | 35 offset: number, 40 …return this.httpClient.post<BuildWrapper>(url, {size: size, offset: offset, filter: filterInfo, so…
|
D | build.component.ts | 71 getBuilds(size = 0, offset = 0) { 74 this.buildService.getBuilds(size, offset, filterJSON, '', '') 83 const total = length + offset;
|
/test/vts/utils/python/archive/ |
D | archive_parser.py | 126 offset = int(name[len(self.FILE_ID_TERMINATOR):]) 127 if offset not in self._string_table: 128 raise ValueError('Offset %s not in string table.', offset) 129 name = self._string_table[offset]
|
/test/vti/test_serving/gae/frontend/src/app/menu/schedule/ |
D | schedule.service.ts | 37 offset: number, 42 …return this.httpClient.post<ScheduleWrapper>(url, {size: size, offset: offset, filter: filterInfo…
|
D | schedule.component.ts | 85 getSchedules(size = 0, offset = 0) { 88 this.scheduleService.getSchedules(size, offset, filterJSON, '', '') 97 const total = length + offset;
|
/test/vts-testcase/security/avb/ |
D | VtsSecurityAvbTest.cpp | 325 for (uint32_t offset = 0; offset < tree_block.size(); in VerifyHashtree() local 326 offset += padded_digest_size) { in VerifyHashtree() 331 memcmp(tree_block.data() + offset, padded_zero_digest.data(), in VerifyHashtree() 335 if (memcmp(tree_block.data() + offset, in VerifyHashtree() 336 level->calculating_hash_block.data() + offset, in VerifyHashtree() 341 offset); in VerifyHashtree()
|
/test/suite_harness/common/util/src/com/android/compatibility/common/util/ |
D | ReadElf.java | 234 long offset, in SecHeader() argument 244 this.sh_offset = offset; in SecHeader() 1195 private String readString(long offset) throws IOException { in readString() argument 1197 mFile.seek(offset); in readString() 1198 mFile.readFully(mBuffer, 0, (int) Math.min(mBuffer.length, mFile.length() - offset)); in readString() 1290 int offset = (int) (strOffset & 0xFFFFFFFF); in readDynStr() local 1291 if (mDynStrOffset == 0 || offset < 0 || offset >= mDynStrSize) { in readDynStr() 1295 mDynStrOffset, mDynStrSize, offset)); in readDynStr() 1296 return String.format("%d", offset); in readDynStr() 1298 return readString(mDynStrOffset + offset); in readDynStr()
|
/test/vts/drivers/hal/common/driver_base/ |
D | DriverBase.cpp | 97 size_t offset = target_path.rfind("/", target_path.length()); in LoadTargetComponent() local 98 if (offset != string::npos) { in LoadTargetComponent() 100 target_path.substr(offset + 1, target_path.length() - offset); in LoadTargetComponent()
|
/test/vts-testcase/vndk/abi/ |
D | VtsVndkAbiTest.py | 116 def _DiffVtableComponent(offset, expected_symbol, vtable): argument 130 if offset not in vtable: 133 entry = vtable[offset] 187 lib_vtable = {entry.offset: entry
|