Home
last modified time | relevance | path

Searched refs:new_off (Results 1 – 3 of 3) sorted by relevance

/third_party/libbpf/src/
Dstrset.c118 long old_off, new_off, len; in strset__find_str() local
127 new_off = set->strs_data_len; in strset__find_str()
130 if (hashmap__find(set->strs_hash, new_off, &old_off)) in strset__find_str()
144 long old_off, new_off, len; in strset__add_str() local
161 new_off = set->strs_data_len; in strset__add_str()
168 err = hashmap__insert(set->strs_hash, new_off, new_off, in strset__add_str()
176 return new_off; in strset__add_str()
Dbtf_dump.c870 int new_off, pad_bits, bits, i; in btf_dump_emit_bit_padding() local
898 new_off = roundup(cur_off, pad_bits); in btf_dump_emit_bit_padding()
899 if (new_off <= next_off) in btf_dump_emit_bit_padding()
903 if (new_off > cur_off && new_off <= next_off) { in btf_dump_emit_bit_padding()
914 (new_off == next_off && roundup(cur_off, next_align * 8) != new_off) || in btf_dump_emit_bit_padding()
915 (new_off != next_off && next_off - new_off <= new_off - cur_off)) in btf_dump_emit_bit_padding()
918 in_bitfield ? new_off - cur_off : 0); in btf_dump_emit_bit_padding()
919 cur_off = new_off; in btf_dump_emit_bit_padding()
/third_party/ffmpeg/libavformat/
Dmpegts.c1465 int64_t new_off = avio_tell(pb); in update_offsets() local
1466 (*len) -= new_off - *off; in update_offsets()
1467 *off = new_off; in update_offsets()