Searched refs:offset (Results 1 - 9 of 9) sorted by relevance

/pkg/src/modules/
H A Dp5p.py78 <name>NUL<offset>NUL<entry_size>NUL<size>NUL<typeflag>NULNL
83 <offset> is an unsigned long long integer containing the relative
84 offset in bytes of the first header block for the file in the
85 archive. The offset is relative to the end of the last block of
160 def add(self, name, offset, entry_size, size, typeflag):
166 name, offset, entry_size, size, typeflag)))
170 offset) for each file in the index."""
191 name, offset, ignored = l.split(b"\0", 2)
192 yield force_str(name), long(offset)
426 # After extraction, the current archive file offset
[all...]
H A Dsearch_storage.py340 for offset in pfl:
343 offset)
576 token, offset = line.split(" ")
581 offset = int(offset)
582 self._dict[token] = offset
733 """Class used to store and process fmri to offset mappings. It does
734 delta compression and deduplication of shared offset sets when writing
751 def add_pair(self, p_id, offset):
752 """Adds a package id number and an associated offset t
[all...]
H A Dcpiofile.py328 self.offset = cpioinfo.offset_data
336 self.fileobj.seek(self.offset + self.pos)
442 self.offset = 0
571 self.offset = long(0) # current position in the archive file
819 self.fileobj.seek(self.offset)
830 if self.offset == 0:
838 cpioinfo.offset = self.offset
840 cpioinfo.offset_data = self.offset + cpioinfo.hdrsize
842 self.offset
[all...]
H A Delfextract.c303 elf_contenthash_cb(size_t offset, size_t size, void *udata) argument
311 SHA256Update(h->s256c, h->base + offset, size);
315 SHA512_t_Update(h->s512c, h->base + offset, size);
/pkg/src/modules/flavor/
H A Dpython.py80 self.col = s_err.offset
87 "at {lp}. The error happened on line {line} at offset "
/pkg/src/tests/api/
H A Dt_p5p.py921 dest_offset = m.offset
927 src_bytes = m.offset_data - m.offset
932 src_offset = m.offset
970 # an existing archive at the offset of one of its files and then
H A Dt_linked_image.py492 def assertKnownPkgCount(self, api_objs, i, pl_init, offset=0):
499 self.assertEqual(len(pl_init), len(pl) - offset, """
/pkg/src/modules/client/
H A Dimageplan.py2660 read the actual actions indicated by the offset dictionary
2674 offset = offset_dict.get((klass.name, key),
2676 if offset is not None:
2677 offsets.append(offset)
2679 for offset, cnt in offsets:
2680 sf.seek(offset)
H A Dimage.py3077 done with a file mapping the tuple to an offset into a second
3080 given offset and read until you hit an action that doesn't
3267 offset."""
3313 actname, offset, cnt, key_attr = \
3315 off = int(offset)
3320 # Since we are already using the offset, we use that

Completed in 1638 milliseconds