Home
last modified time | relevance | path

Searched refs:start_offset (Results 1 – 25 of 39) sorted by relevance

12

/src/contrib/xz/src/liblzma/api/lzma/
H A Dbcj.h96 uint32_t start_offset; member
123 uint32_t start_offset, uint8_t *buf, size_t size) lzma_nothrow;
133 uint32_t start_offset, uint8_t *buf, size_t size) lzma_nothrow;
154 uint32_t start_offset, uint8_t *buf, size_t size) lzma_nothrow;
164 uint32_t start_offset, uint8_t *buf, size_t size) lzma_nothrow;
185 uint32_t start_offset, uint8_t *buf, size_t size) lzma_nothrow;
195 uint32_t start_offset, uint8_t *buf, size_t size) lzma_nothrow;
/src/contrib/xz/src/liblzma/simple/
H A Darm64.c130 lzma_bcj_arm64_encode(uint32_t start_offset, uint8_t *buf, size_t size) in lzma_bcj_arm64_encode() argument
133 start_offset &= ~UINT32_C(3); in lzma_bcj_arm64_encode()
134 return arm64_code(NULL, start_offset, true, buf, size); in lzma_bcj_arm64_encode()
150 lzma_bcj_arm64_decode(uint32_t start_offset, uint8_t *buf, size_t size) in lzma_bcj_arm64_decode() argument
153 start_offset &= ~UINT32_C(3); in lzma_bcj_arm64_decode()
154 return arm64_code(NULL, start_offset, false, buf, size); in lzma_bcj_arm64_decode()
H A Dsimple_encoder.c19 *size = (opt == NULL || opt->start_offset == 0) ? 0 : 4; in lzma_simple_props_size()
31 if (opt == NULL || opt->start_offset == 0) in lzma_simple_props_encode()
34 write32le(out, opt->start_offset); in lzma_simple_props_encode()
H A Driscv.c623 lzma_bcj_riscv_encode(uint32_t start_offset, uint8_t *buf, size_t size) in lzma_bcj_riscv_encode() argument
626 start_offset &= ~UINT32_C(1); in lzma_bcj_riscv_encode()
627 return riscv_encode(NULL, start_offset, true, buf, size); in lzma_bcj_riscv_encode()
767 lzma_bcj_riscv_decode(uint32_t start_offset, uint8_t *buf, size_t size) in lzma_bcj_riscv_decode() argument
770 start_offset &= ~UINT32_C(1); in lzma_bcj_riscv_decode()
771 return riscv_decode(NULL, start_offset, false, buf, size); in lzma_bcj_riscv_decode()
H A Dx86.c149 lzma_bcj_x86_encode(uint32_t start_offset, uint8_t *buf, size_t size) in lzma_bcj_x86_encode() argument
156 return x86_code(&simple, start_offset, true, buf, size); in lzma_bcj_x86_encode()
172 lzma_bcj_x86_decode(uint32_t start_offset, uint8_t *buf, size_t size) in lzma_bcj_x86_decode() argument
179 return x86_code(&simple, start_offset, false, buf, size); in lzma_bcj_x86_decode()
H A Dsimple_decoder.c30 opt->start_offset = read32le(props); in lzma_simple_props_decode()
33 if (opt->start_offset == 0) in lzma_simple_props_decode()
/src/lib/libvgl/
H A Dbitmap.c47 int bwidth, i, pos, last, planepos, start_offset, end_offset, offset; in WriteVerticalLine() local
56 start_offset = (x & 0x07); in WriteVerticalLine()
58 bwidth = (width + start_offset) / 8; in WriteVerticalLine()
67 last = 8 - start_offset; in WriteVerticalLine()
98 if (start_offset) in WriteVerticalLine()
99 VGLPlane[i][0] |= dst->Bitmap[pos] & ~mask[start_offset]; in WriteVerticalLine()
107 if (start_offset) in WriteVerticalLine()
108 VGLPlane[i][0] |= dst->Bitmap[offset] & ~mask[start_offset]; in WriteVerticalLine()
/src/sys/dev/cxgbe/cudbg/
H A Dcudbg_flash_utils.c82 u32 start_offset, u32 ext_size) in update_headers() argument
107 if ((start_offset - sec_info->skip_size) == data_hdr_size) { in update_headers()
133 entity_hdr->start_offset -= sec_info->skip_size; in update_headers()
143 u32 start_offset, u32 cur_entity_hdr_offset, in cudbg_write_flash() argument
179 start_offset, ext_size); in cudbg_write_flash()
183 start_offset = dbg_buff->offset - cur_entity_size; in cudbg_write_flash()
226 (void *)((char *)dbg_buff->data + start_offset), in cudbg_write_flash()
235 start_offset += tmp_size; in cudbg_write_flash()
H A Dcudbg_lib_common.h80 u32 start_offset; member
164 u32 start_offset, u32 start_hdr_offset,
H A Dcudbg_lib.c59 remain = (dbg_buff->offset - entity_hdr->start_offset) % 4; in align_debug_buffer()
68 entity_hdr->size = dbg_buff->offset - entity_hdr->start_offset; in align_debug_buffer()
276 ext_entity_hdr->start_offset = cudbg_hdr->data_len; in cudbg_collect()
318 entity_hdr->start_offset = dbg_buff.offset; in cudbg_collect()
357 dbg_buff.offset = entity_hdr->start_offset; in cudbg_collect()
383 entity_hdr->start_offset -= cudbg_hdr->data_len; in cudbg_collect()
394 start_offset, in cudbg_collect()
404 start_offset, in cudbg_collect()
447 entity_hdr->start_offset = dbg_buff.offset; in cudbg_collect()
458 dbg_buff.offset = entity_hdr->start_offset; in cudbg_collect()
[all …]
/src/crypto/openssh/
H A Dsshbuf-misc.c253 sshbuf_find(const struct sshbuf *b, size_t start_offset, in sshbuf_find() argument
262 if (start_offset > SSHBUF_SIZE_MAX || len > SSHBUF_SIZE_MAX || len == 0) in sshbuf_find()
264 if (start_offset > sshbuf_len(b) || start_offset + len > sshbuf_len(b)) in sshbuf_find()
266 if ((p = memmem(sshbuf_ptr(b) + start_offset, in sshbuf_find()
267 sshbuf_len(b) - start_offset, s, len)) == NULL) in sshbuf_find()
/src/contrib/llvm-project/lldb/source/Core/
H A DDumpDataExtractor.cpp122 offset_t start_offset, in DumpInstructions() argument
125 offset_t offset = start_offset; in DumpInstructions()
135 lldb::addr_t addr = base_addr + start_offset; in DumpInstructions()
147 so_addr, DE, start_offset, number_of_instructions, false, in DumpInstructions()
342 const DataExtractor &DE, Stream *s, offset_t start_offset, in DumpDataExtractor() argument
351 return start_offset; in DumpDataExtractor()
358 offset_t offset = start_offset; in DumpDataExtractor()
366 return DumpInstructions(DE, s, exe_scope, start_offset, base_addr, in DumpDataExtractor()
373 lldb::offset_t line_start_offset = start_offset; in DumpDataExtractor()
396 (offset - start_offset - line_len) / DE.getTargetByteSize(); in DumpDataExtractor()
[all …]
H A DSourceManager.cpp570 size_t start_offset = GetLineOffset(line); in GetLineLength() local
575 if (end_offset > start_offset) { in GetLineLength()
576 uint32_t length = end_offset - start_offset; in GetLineLength()
579 (const char *)m_data_sp->GetBytes() + start_offset; in GetLineLength()
763 size_t start_offset = GetLineOffset(line_no); in GetLine() local
768 buffer.assign((const char *)m_data_sp->GetBytes() + start_offset, in GetLine()
769 end_offset - start_offset); in GetLine()
/src/contrib/wpa/src/utils/
H A Dtrace.c32 static unsigned long start_offset; variable
42 start_offset = info->dlpi_addr; in callback()
200 data.pc = (uintptr_t) ((u8 *) pc - start_offset); in wpa_trace_bfd_addr()
241 data.pc = (uintptr_t) ((u8 *) pc - start_offset); in wpa_trace_bfd_addr2func()
313 data.pc = (uintptr_t) ((u8 *) btrace_res[i] - start_offset); in wpa_trace_calling_func()
/src/sys/ofed/include/rdma/
H A Dib_umem_odp.h106 int ib_umem_odp_map_dma_pages(struct ib_umem *umem, u64 start_offset, u64 bcnt,
109 void ib_umem_odp_unmap_dma_pages(struct ib_umem *umem, u64 start_offset,
/src/contrib/xz/src/xz/
H A Doptions.c203 opt->start_offset = value; in set_bcj()
219 .start_offset = 0, in options_bcj()
/src/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DUdtRecordCompleter.cpp422 if (start_offset > offset) in CollectMember()
423 start_offset = offset; in CollectMember()
449 lldbassert(offset >= start_offset); in ConstructRecord()
451 if (offset > start_offset) { in ConstructRecord()
H A DUdtRecordCompleter.h118 uint64_t start_offset = UINT64_MAX; member
/src/sys/contrib/device-tree/Bindings/mailbox/
H A Dmtk-gce.txt32 <&phandle subsys_number start_offset size>
36 start_offset: the start offset of register address that GCE can access.
/src/contrib/libarchive/libarchive/
H A Darchive_read_support_format_rar.c222 int64_t start_offset; member
1227 client_offset += rar->dbo[0].start_offset; in archive_read_format_rar_seek_data()
1232 client_offset += rar->dbo[i].start_offset - rar->dbo[i-1].end_offset; in archive_read_format_rar_seek_data()
1239 if (client_offset < rar->dbo[rar->cursor].start_offset && in archive_read_format_rar_seek_data()
1250 client_offset -= rar->dbo[rar->cursor+1].start_offset - in archive_read_format_rar_seek_data()
1252 if (client_offset < rar->dbo[rar->cursor].start_offset) in archive_read_format_rar_seek_data()
1254 ret = __archive_read_seek(a, rar->dbo[rar->cursor].start_offset - in archive_read_format_rar_seek_data()
1276 client_offset += rar->dbo[rar->cursor].start_offset - in archive_read_format_rar_seek_data()
1297 client_offset += rar->dbo[rar->cursor].start_offset - in archive_read_format_rar_seek_data()
1313 ret -= rar->dbo[i+1].start_offset - rar->dbo[i].end_offset; in archive_read_format_rar_seek_data()
[all …]
/src/crypto/krb5/src/lib/krb5/ccache/
H A Dcc_file.c1044 off_t start_offset; in delete_cred() local
1085 start_offset = ftell(fcursor->fp); in delete_cred()
1086 if (start_offset == -1) { in delete_cred()
1090 start_offset -= expected.len; in delete_cred()
1093 if (lseek(fd, start_offset, SEEK_SET) == -1) { in delete_cred()
1118 if (lseek(fd, start_offset, SEEK_SET) == -1) { in delete_cred()
/src/contrib/llvm-project/lldb/source/Utility/
H A DDataExtractor.cpp903 lldb::offset_t DataExtractor::PutToLog(Log *log, offset_t start_offset, in PutToLog() argument
908 return start_offset; in PutToLog()
914 for (offset = start_offset, end_offset = offset + length, count = 0; in PutToLog()
925 static_cast<uint64_t>(base_addr + (offset - start_offset))); in PutToLog()
/src/sys/dev/drm2/
H A Ddrm_edid.c1854 int start_offset, end_offset; in drm_detect_hdmi_monitor() local
1860 if (cea_db_offsets(edid_ext, &start_offset, &end_offset)) in drm_detect_hdmi_monitor()
1867 for_each_cea_db(edid_ext, i, start_offset, end_offset) { in drm_detect_hdmi_monitor()
1891 int start_offset, end_offset; in drm_detect_monitor_audio() local
1904 if (cea_db_offsets(edid_ext, &start_offset, &end_offset)) in drm_detect_monitor_audio()
1907 for_each_cea_db(edid_ext, i, start_offset, end_offset) { in drm_detect_monitor_audio()
/src/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCTrampolineHandler.cpp264 lldb::addr_t start_offset = offset; in SetUpRegion() local
267 lldb::addr_t code_addr = desc_ptr + start_offset + voffset; in SetUpRegion()
275 offset = start_offset + descriptor_size; in SetUpRegion()
/src/contrib/libxo/libxo/
H A Dlibxo.c3038 xo_buf_find_last_number (xo_buffer_t *xbp, ssize_t start_offset) in xo_buf_find_last_number() argument
3043 char *cp = sp + start_offset; in xo_buf_find_last_number()
3155 ssize_t start_offset, ssize_t cols, int need_enc) in xo_format_gettext() argument
3164 char *cp = xbp->xb_bufp + start_offset; in xo_format_gettext()
3173 int n = xo_buf_find_last_number(xbp, start_offset); in xo_format_gettext()
3233 xbp->xb_curp = xbp->xb_bufp + start_offset; /* Reset the buffer */ in xo_format_gettext()
3244 ssize_t start_offset = xo_buf_offset(&xop->xo_data); in xo_data_append_content() local
3250 cols = xo_format_gettext(xop, flags, start_offset, cols, need_enc); in xo_data_append_content()
3329 ssize_t start_offset = xo_buf_offset(xbp); in xo_do_format_field() local
3654 ssize_t new_cols = xo_format_gettext(xop, flags, start_offset, in xo_do_format_field()
[all …]

12