Lines Matching defs:sec
121 elfedit_section_t *sec = obj_state->os_secarr;
125 for (ndx = 0; ndx < shnum; ndx++, sec++) {
126 if (strcmp(shnam, sec->sec_name) == 0) {
129 EC_WORD(sec->sec_shndx), sec->sec_name, shnam);
157 elfedit_section_t *sec = obj_state->os_secarr;
161 for (ndx = 0; ndx < shnum; ndx++, sec++) {
162 if (shtype == sec->sec_shdr->sh_type) {
165 EC_WORD(sec->sec_shndx), sec->sec_name,
300 elfedit_section_t *sec;
306 sec = &obj_state->os_secarr[shndx];
309 EC_WORD(shndx), sec->sec_name);
310 return (sec);
481 * sec - Section to check
483 * not return to the caller if sec is not a symbol table.
490 * If sec is a symbol table:
494 * If sec is not a symbol table and issue_err is True:
502 elfedit_sec_issymtab(elfedit_obj_state_t *obj_state, elfedit_section_t *sec,
509 switch (sec->sec_shdr->sh_type) {
530 EC_WORD(sec->sec_shndx), sec->sec_name);
797 * sec - Descriptor for section
808 elfedit_sec_findstr(elfedit_section_t *sec, Word tail_ign,
818 len = sec->sec_shdr->sh_size - tail_ign;
828 s = (char *)sec->sec_data->d_buf;
832 *ret_offset = s - (char *)sec->sec_data->d_buf;
835 EC_WORD(sec->sec_shndx), sec->sec_name,
1210 elfedit_sec_msgprefix(elfedit_section_t *sec)
1217 need = 64 + strlen(sec->sec_name);
1224 EC_WORD(sec->sec_shndx), sec->sec_name);