Home
last modified time | relevance | path

Searched refs:offset (Results 1 – 25 of 48) sorted by relevance

12

/test/vts/utils/python/library/
Delf_parser.py162 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 …]
Dar_parser.py89 for offset in _IterateArchive(archive_path):
90 with elf_parser.ElfParser(archive_path, offset) as parser:
/test/vts/drivers/hal/libcodecoverage/
DGcdaFile.cpp61 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/
Dvtable_dumper.py48 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/
DDexAnnotationImpl.java28 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/
Dendpoint_base.py122 offset=0, argument
152 page_size=size, offset=offset)
305 offset = request.offset if request.offset else 0
314 offset=offset,
Dendpoint_base_test.py114 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/
DTestStatusEntity.java75 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()
DTestCaseRunEntity.java69 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/
DBowTest.cpp182 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/
Dlab.service.ts36 offset: number,
41 …return this.httpClient.post<HostWrapper>(url, {size: size, offset: offset, filter: filterInfo, so…
Dlab.component.ts69 getHosts(size = 0, offset = 0) {
73 this.labService.getLabs(size, offset, filterJSON, '', '')
/test/vti/test_serving/gae/frontend/src/app/menu/job/
Djob.service.ts36 offset: number,
41 …return this.httpClient.post<JobWrapper>(url, {size: size, offset: offset, filter: filterInfo, sor…
Djob.component.ts114 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/
Ddevice.service.ts35 offset: number,
40 …return this.httpClient.post<DeviceWrapper>(url, {size: size, offset: offset, filter: filterInfo, …
Ddevice.component.ts82 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/
Dbuild.service.ts35 offset: number,
40 …return this.httpClient.post<BuildWrapper>(url, {size: size, offset: offset, filter: filterInfo, so…
Dbuild.component.ts71 getBuilds(size = 0, offset = 0) {
74 this.buildService.getBuilds(size, offset, filterJSON, '', '')
83 const total = length + offset;
/test/vts/utils/python/archive/
Darchive_parser.py126 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/
Dschedule.service.ts37 offset: number,
42 …return this.httpClient.post<ScheduleWrapper>(url, {size: size, offset: offset, filter: filterInfo…
Dschedule.component.ts85 getSchedules(size = 0, offset = 0) {
88 this.scheduleService.getSchedules(size, offset, filterJSON, '', '')
97 const total = length + offset;
/test/vts-testcase/security/avb/
DVtsSecurityAvbTest.cpp325 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/
DReadElf.java234 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/
DDriverBase.cpp97 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/
DVtsVndkAbiTest.py116 def _DiffVtableComponent(offset, expected_symbol, vtable): argument
130 if offset not in vtable:
133 entry = vtable[offset]
187 lib_vtable = {entry.offset: entry

12