Home
last modified time | relevance | path

Searched refs:cur_off (Results 1 – 5 of 5) sorted by relevance

/external/puffin/src/
Dfile_stream.cc38 auto cur_off = lseek(fd_, 0, SEEK_CUR); in GetSize() local
39 TEST_AND_RETURN_FALSE(cur_off >= 0); in GetSize()
42 cur_off = lseek(fd_, cur_off, SEEK_SET); in GetSize()
43 TEST_AND_RETURN_FALSE(cur_off >= 0); in GetSize()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_lwt_seg6local.c133 uint32_t srh_off, cur_off; in is_valid_tlv_boundary() local
139 cur_off = srh_off + sizeof(*srh) + in is_valid_tlv_boundary()
149 if (cur_off == *tlv_off) in is_valid_tlv_boundary()
152 if (cur_off >= srh_off + ((srh->hdrlen + 1) << 3)) in is_valid_tlv_boundary()
155 err = bpf_skb_load_bytes(skb, cur_off, &tlv, sizeof(tlv)); in is_valid_tlv_boundary()
161 *pad_off = cur_off; in is_valid_tlv_boundary()
164 *tlv_off = cur_off; in is_valid_tlv_boundary()
173 cur_off += sizeof(tlv) + tlv.len; in is_valid_tlv_boundary()
177 *pad_off = cur_off; in is_valid_tlv_boundary()
180 *tlv_off = cur_off; in is_valid_tlv_boundary()
/external/u-boot/drivers/mtd/nand/
Dsunxi_nand.c808 int *cur_off, in sunxi_nfc_hw_ecc_read_chunk() argument
819 if (*cur_off != data_off) in sunxi_nfc_hw_ecc_read_chunk()
840 *cur_off = oob_off + ecc->bytes + 4; in sunxi_nfc_hw_ecc_read_chunk()
904 u8 *oob, int *cur_off, in sunxi_nfc_hw_ecc_read_extra_oob() argument
915 if (*cur_off != offset) in sunxi_nfc_hw_ecc_read_extra_oob()
925 *cur_off = mtd->oobsize + mtd->writesize; in sunxi_nfc_hw_ecc_read_extra_oob()
936 int *cur_off, bool bbm, in sunxi_nfc_hw_ecc_write_chunk() argument
944 if (data_off != *cur_off) in sunxi_nfc_hw_ecc_write_chunk()
979 *cur_off = oob_off + ecc->bytes + 4; in sunxi_nfc_hw_ecc_write_chunk()
985 u8 *oob, int *cur_off, in sunxi_nfc_hw_ecc_write_extra_oob() argument
[all …]
/external/elfutils/src/
Dar.c465 off_t cur_off = SARMAG; in do_oper_extract() local
511 arlib_add_symbols (elf, arfname, arhdr->ar_name, cur_off); in do_oper_extract()
512 cur_off += (((arhdr->ar_size + 1) & ~((off_t) 1)) in do_oper_extract()
935 off_t cur_off = SARMAG; in do_oper_delete() local
967 newp->off = cur_off; in do_oper_delete()
969 cur_off += (((arhdr->ar_size + 1) & ~((off_t) 1)) in do_oper_delete()
1045 if (write_member (to_copy, &start, &len, elf, cur_off, newfd) != 0) in do_oper_delete()
1109 off_t cur_off = SARMAG; in do_oper_insert() local
1358 memp->off = cur_off; in do_oper_insert()
1372 arlib_add_symbols (subelf, arfname, arhdr->ar_name, cur_off); in do_oper_insert()
[all …]
Dranlib.c177 off_t cur_off = SARMAG; in handle_file() local
193 arlib_add_symbols (elf, fname, arhdr->ar_name, cur_off); in handle_file()
194 cur_off += (((arhdr->ar_size + 1) & ~((off_t) 1)) in handle_file()