Home
last modified time | relevance | path

Searched refs:sec_idx (Results 1 – 14 of 14) sorted by relevance

/external/elfutils/libdw/
Ddwarf_nextcu.c66 const size_t sec_idx = v4_debug_types ? IDX_debug_types : IDX_debug_info; in INTDEF() local
74 || unlikely (dwarf->sectiondata[sec_idx] == NULL) in INTDEF()
78 || unlikely (off + 4 >= dwarf->sectiondata[sec_idx]->d_size)) in INTDEF()
86 const unsigned char *data = dwarf->sectiondata[sec_idx]->d_buf; in INTDEF()
88 const unsigned char *bytes_end = data + dwarf->sectiondata[sec_idx]->d_size; in INTDEF()
216 >= dwarf->sectiondata[sec_idx]->d_size)) in INTDEF()
230 if (__libdw_read_offset_inc (dwarf, sec_idx, &bytes, offset_size, in INTDEF()
248 if (__libdw_read_offset_inc (dwarf, sec_idx, &bytes, offset_size, in INTDEF()
249 &subdie_off, sec_idx, 0)) in INTDEF()
Ddwarf_get_units.c57 v4type = cu->sec_idx != IDX_debug_info; in dwarf_get_units()
60 if (cu->sec_idx != IDX_debug_info && cu->sec_idx != IDX_debug_types) in dwarf_get_units()
Dlibdw_findcu.c141 size_t sec_idx = debug_types ? IDX_debug_types : IDX_debug_info; in __libdw_intern_next_unit() local
142 Elf_Data *data = dbg->sectiondata[sec_idx]; in __libdw_intern_next_unit()
150 newp->sec_idx = sec_idx; in __libdw_intern_next_unit()
Ddwarf_begin_elf.c308 result->fake_loc_cu->sec_idx = IDX_debug_loc; in valid_p()
336 result->fake_loclists_cu->sec_idx = IDX_debug_loclists; in valid_p()
369 result->fake_addr_cu->sec_idx = IDX_debug_addr; in valid_p()
DlibdwP.h340 size_t sec_idx; /* Normally .debug_info, could be .debug_type or "fake". */ member
400 #define ISV4TU(cu) ((cu)->version == 4 && (cu)->sec_idx == IDX_debug_types)
956 return cu->sec_idx; in cu_sec_idx()
Ddwarf_getmacros.c369 .sec_idx = sec_index, in read_macros()
Ddwarf_getsrclines.c311 .sec_idx = IDX_debug_line, in read_srclines()
DChangeLog1053 * libdwP.h (struct Dwarf_CU): Add sec_idx field.
1054 (cu_sec_idx): Return cu->sec_idx.
1055 * libdw_findcu.c (__libdw_intern_next_unit): Set cu sec_idx to
1057 * dwarf_begin_elf.c (valid_p): Set fake_loc_cu->sec_idx to
1059 * dwarf_getmacros.c (read_macros): Set fake_cu->sec_idx to
/external/exfatprogs/lib/
Dlibexfat.c508 unsigned int sec_idx = CHECKSUM_SEC_IDX; in exfat_write_checksum_sector() local
515 sec_idx += BACKUP_BOOT_SEC_IDX; in exfat_write_checksum_sector()
520 ret = exfat_write_sector(bd, checksum_buf, sec_idx); in exfat_write_checksum_sector()
561 int ret, sec_idx, backup_sec_idx = 0; in exfat_update_boot_checksum() local
574 for (sec_idx = BOOT_SEC_IDX; sec_idx < CHECKSUM_SEC_IDX; sec_idx++) { in exfat_update_boot_checksum()
577 ret = exfat_read_sector(bd, buf, sec_idx + backup_sec_idx); in exfat_update_boot_checksum()
579 exfat_err("sector(%d) read failed\n", sec_idx); in exfat_update_boot_checksum()
584 if (sec_idx == BOOT_SEC_IDX) { in exfat_update_boot_checksum()
587 } else if (sec_idx >= EXBOOT_SEC_IDX && sec_idx < OEM_SEC_IDX) in exfat_update_boot_checksum()
/external/exfatprogs/mkfs/
Dmkfs.c106 unsigned int sec_idx = BOOT_SEC_IDX; in exfat_write_boot_sector() local
110 sec_idx += BACKUP_BOOT_SEC_IDX; in exfat_write_boot_sector()
122 ret = exfat_write_sector(bd, ppbr, sec_idx); in exfat_write_boot_sector()
142 unsigned int sec_idx = EXBOOT_SEC_IDX; in exfat_write_extended_boot_sectors() local
145 sec_idx += BACKUP_BOOT_SEC_IDX; in exfat_write_extended_boot_sectors()
150 if (exfat_write_sector(bd, &eb, sec_idx++)) { in exfat_write_extended_boot_sectors()
167 unsigned int sec_idx = OEM_SEC_IDX; in exfat_write_oem_sector() local
174 sec_idx += BACKUP_BOOT_SEC_IDX; in exfat_write_oem_sector()
177 ret = exfat_write_sector(bd, oem, sec_idx); in exfat_write_oem_sector()
189 ret = exfat_write_sector(bd, oem, sec_idx + 1); in exfat_write_oem_sector()
/external/libbpf/src/
Dlinker.c40 size_t sec_idx; member
109 size_t sec_idx; member
365 sec->sec_idx = elf_ndxscn(sec->scn); in init_output_elf()
366 linker->elf_hdr->e_shstrndx = sec->sec_idx; in init_output_elf()
367 linker->strtab_sec_idx = sec->sec_idx; in init_output_elf()
404 sec->sec_idx = elf_ndxscn(sec->scn); in init_output_elf()
405 linker->symtab_sec_idx = sec->sec_idx; in init_output_elf()
601 size_t sec_idx = elf_ndxscn(scn); in linker_load_obj_file() local
608 sec_idx, filename); in linker_load_obj_file()
616 sec_idx, filename); in linker_load_obj_file()
[all …]
Dlibbpf.c254 size_t sec_idx; member
373 int sec_idx; member
612 prog->sec_idx = -1; in bpf_program__exit()
657 const char *name, size_t sec_idx, const char *sec_name, in bpf_object__init_prog() argument
669 prog->sec_idx = sec_idx; in bpf_object__init_prog()
710 const char *sec_name, int sec_idx) in bpf_object__add_programs() argument
728 if (sym->st_shndx != sec_idx) in bpf_object__add_programs()
749 if (sec_idx != obj->efile.text_shndx && ELF64_ST_BIND(sym->st_info) == STB_LOCAL) { in bpf_object__add_programs()
772 err = bpf_object__init_prog(obj, prog, name, sec_idx, sec_name, in bpf_object__add_programs()
1130 map->sec_idx = obj->efile.st_ops_shndx; in bpf_object__init_struct_ops_maps()
[all …]
/external/libaom/av1/encoder/
Dpickcdef.c39 const int sec_idx = strength_idx % tot_sec_filter; in get_cdef_filter_strengths() local
41 *sec_strength = sec_idx; in get_cdef_filter_strengths()
55 assert(sec_idx < REDUCED_SEC_STRENGTHS_LVL3); in get_cdef_filter_strengths()
57 *sec_strength = secconv_lvl3[sec_idx]; in get_cdef_filter_strengths()
61 assert(sec_idx < REDUCED_SEC_STRENGTHS_LVL3); in get_cdef_filter_strengths()
63 *sec_strength = secconv_lvl3[sec_idx]; in get_cdef_filter_strengths()
67 assert(sec_idx < REDUCED_SEC_STRENGTHS_LVL5); in get_cdef_filter_strengths()
69 *sec_strength = secconv_lvl5[sec_idx]; in get_cdef_filter_strengths()
/external/elfutils/src/
Dreadelf.c7934 cu_mem.sec_idx = IDX_debug_info; in print_debug_units()
7953 if (cu->sec_idx != (size_t) (debug_types ? IDX_debug_types : IDX_debug_info)) in print_debug_units()