Home
last modified time | relevance | path

Searched refs:str_off (Results 1 – 8 of 8) sorted by relevance

/external/elfutils/libdw/
Ddwarf_formstring.c138 Dwarf_Off str_off = __libdw_cu_str_off_base (cu); in dwarf_formstring() local
139 if (str_off == (Dwarf_Off) -1) in dwarf_formstring()
158 if (str_off > (dbg->sectiondata[IDX_debug_str_offsets]->d_size in dwarf_formstring()
163 - offset_size - str_off) / offset_size; in dwarf_formstring()
168 + str_off + (idx * offset_size)); in dwarf_formstring()
/external/compiler-rt/lib/dfsan/
Ddfsan_custom.cc888 : str(str_), str_off(0), size(size_), fmt_start(fmt_), fmt_cur(fmt_), in Formatter()
894 snprintf(str + str_off, str_off < size ? size - str_off : 0, tmp_fmt, in format()
904 retval = snprintf(str + str_off, str_off < size ? size - str_off : 0, in format()
907 retval = snprintf(str + str_off, str_off < size ? size - str_off : 0, in format()
923 char *str_cur() { return str + str_off; } in str_cur()
930 size_t num_avail = str_off < size ? size - str_off : 0; in num_written_bytes()
946 size_t str_off; member
1073 *ptr = (int)formatter.str_off; in format_buffer()
1103 formatter.str_off += retval; in format_buffer()
1109 return formatter.str_off; in format_buffer()
/external/llvm-project/compiler-rt/lib/dfsan/
Ddfsan_custom.cpp942 : str(str_), str_off(0), size(size_), fmt_start(fmt_), fmt_cur(fmt_), in Formatter()
948 snprintf(str + str_off, str_off < size ? size - str_off : 0, tmp_fmt, in format()
958 retval = snprintf(str + str_off, str_off < size ? size - str_off : 0, in format()
961 retval = snprintf(str + str_off, str_off < size ? size - str_off : 0, in format()
977 char *str_cur() { return str + str_off; } in str_cur()
984 size_t num_avail = str_off < size ? size - str_off : 0; in num_written_bytes()
1000 size_t str_off; member
1127 *ptr = (int)formatter.str_off; in format_buffer()
1157 formatter.str_off += retval; in format_buffer()
1163 return formatter.str_off; in format_buffer()
/external/kmod/libkmod/
Dlibkmod-elf.c780 uint64_t strtablen, symtablen, str_off, sym_off; in kmod_elf_get_symbols() local
812 str_off = (const uint8_t *)strtab - elf->memory; in kmod_elf_get_symbols()
834 name = elf_get_mem(elf, str_off + name_off); in kmod_elf_get_symbols()
851 str_off = (const uint8_t *)strtab - elf->memory; in kmod_elf_get_symbols()
877 name = elf_get_mem(elf, str_off + name_off); in kmod_elf_get_symbols()
940 uint64_t versionslen, strtablen, symtablen, str_off, sym_off, ver_off; in kmod_elf_get_dependency_symbols() local
1011 str_off = (const uint8_t *)strtab - elf->memory; in kmod_elf_get_dependency_symbols()
1069 name = elf_get_mem(elf, str_off + name_off); in kmod_elf_get_dependency_symbols()
1114 str_off = (const uint8_t *)strtab - elf->memory; in kmod_elf_get_dependency_symbols()
1157 name = elf_get_mem(elf, str_off + name_off); in kmod_elf_get_dependency_symbols()
/external/kernel-headers/original/uapi/linux/
Dbtf.h20 __u32 str_off; /* offset of string section */ member
/external/linux-kselftest/tools/testing/selftests/bpf/map_tests/
Dsk_storage_map.c132 .str_off = sizeof(btf_raw_types), in load_btf()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_btf.c3606 ret_hdr->str_off = type_sec_size; in btf_raw_create()
3649 hdr->str_off = (int)hdr->str_off + test->str_off_delta; in do_test_raw()
5805 const char *str, __u32 str_off, in patch_name_tbd() argument
5811 const char *next_str = str + str_off; in patch_name_tbd()
6779 test_strs = test_btf_data + sizeof(*test_hdr) + test_hdr->str_off; in do_test_dedup()
6781 expect_strs = expect_btf_data + sizeof(*test_hdr) + expect_hdr->str_off; in do_test_dedup()
Dtest_verifier.c545 .str_off = sizeof(btf_raw_types), in load_btf()