/freebsd-11-stable/contrib/dtc/ |
H A D | treesource.c | 72 while (m && (m->offset == 0)) { 112 while (m && (m->offset <= (i + 1))) { 114 assert(m->offset == (i+1)); 132 assert (m->offset == val.len); 145 while (m && (m->offset <= ((char *)cp - val.val))) { 147 assert(m->offset == ((char *)cp - val.val)); 161 assert (m->offset == val.len); 175 while (m && (m->offset == (bp-val.val))) { 189 assert (m->offset == val.len); 217 if ((m->offset > [all...] |
H A D | util.c | 234 off_t bufsize = 1024, offset = 0; local 248 if (offset == bufsize) { 253 ret = read(fd, &buf[offset], bufsize - offset); 258 offset += ret; 301 int offset; local 312 offset = 0; 314 while (offset < totalsize) { 315 ret = write(fd, ptr + offset, totalsize - offset); [all...] |
/freebsd-11-stable/contrib/ee/ |
H A D | ee.c | 147 int position; /* offset in bytes from begin of line */ 161 int horiz_offset = 0; /* offset from left edge of text */ 286 int scan P_((char *line, int offset, int column)); 1009 int t_pos; /* current position (offset in bytes) from bol */ 1014 int abs_column; /* offset in screen units from begin of line */ 1844 scan(line, offset, column) /* determine horizontal position for get_string */ 1846 int offset; 1856 while (i < offset) 2313 int num; /* offset from start of string */ 3351 int top_offset; /* offset fro 3906 int offset; local 4499 int offset; local 4889 int offset; local [all...] |
H A D | new_curse.c | 1064 int offset; local 1129 if ((offset=Get_int()) != -1) 1132 String_table[counter] = Strings + offset; 1403 int offset; local 1410 for (found = FALSE, offset = 0; (!found) && (offset < 26); offset++) 1412 if (!strncmp(TERM_data_ptr, Boolean_names[offset], 2)) 1415 Booleans[offset] = TRUE; 1420 for (found = FALSE, offset 3267 int from_top, tmp_ft, offset; local [all...] |
H A D | new_curse.h | 247 extern int check_delete P_((WINDOW *window, int line, int offset, struct _line *pointer_new, struct _line *pointer_old)); 248 extern int check_insert P_((WINDOW *window, int line, int offset, struct _line *pointer_new, struct _line *pointer_old)); 251 extern void Char_del P_((char *line, char *attrib, int offset, int maxlen)); 252 extern void Char_ins P_((char *line, char *attrib, int newc, int newatt, int offset, int maxlen)); 255 extern void Char_out P_((int newc, int newatt, char *line, char *attrib, int offset));
|
/freebsd-11-stable/contrib/elftoolchain/libdwarf/ |
H A D | dwarf_abbrev.c | 32 dwarf_get_abbrev(Dwarf_Debug dbg, Dwarf_Unsigned offset, argument 45 ret = _dwarf_abbrev_parse(dbg, NULL, &offset, &ab, error); 108 Dwarf_Half *attr_num, Dwarf_Signed *form, Dwarf_Off *offset, 115 offset == NULL) { 133 *offset = ad->ad_offset; 107 dwarf_get_abbrev_entry(Dwarf_Abbrev abbrev, Dwarf_Signed ndx, Dwarf_Half *attr_num, Dwarf_Signed *form, Dwarf_Off *offset, Dwarf_Error *error) argument
|
H A D | dwarf_die.c | 72 uint64_t offset; local 108 offset = die->die_next_off; 111 * Look for DW_AT_sibling attribute for the offset of 116 offset = at->u[0].u64 + cu->cu_offset; 118 offset = at->u[0].u64; 120 offset = die->die_next_off; 125 ret = _dwarf_die_parse(die->die_dbg, ds, cu, cu->cu_dwarf_size, offset, 148 Dwarf_Off offset, Dwarf_Die *ret_die, Dwarf_Error *error) 154 offset, cu->cu_next_offset, ret_die, 0, error)); 158 dwarf_offdie_b(Dwarf_Debug dbg, Dwarf_Off offset, Dwarf_Boo argument 147 _dwarf_search_die_within_cu(Dwarf_Debug dbg, Dwarf_Section *s, Dwarf_CU cu, Dwarf_Off offset, Dwarf_Die *ret_die, Dwarf_Error *error) argument 227 dwarf_offdie(Dwarf_Debug dbg, Dwarf_Off offset, Dwarf_Die *ret_die, Dwarf_Error *error) argument [all...] |
H A D | dwarf_frame.c | 282 Dwarf_Signed *register_num, Dwarf_Signed *offset, Dwarf_Addr *row_pc, 293 offset == NULL || row_pc == NULL) { 313 *offset = CFA.dw_offset_or_block_len; 324 *offset = RL.dw_offset_or_block_len; 280 dwarf_get_fde_info_for_reg(Dwarf_Fde fde, Dwarf_Half table_column, Dwarf_Addr pc_requested, Dwarf_Signed *offset_relevant, Dwarf_Signed *register_num, Dwarf_Signed *offset, Dwarf_Addr *row_pc, Dwarf_Error *error) argument
|
H A D | dwarf_loclist.c | 84 * DW_FORM_data[48] can not be used as section offset 87 * a constant or a section offset. 173 dwarf_get_loclist_entry(Dwarf_Debug dbg, Dwarf_Unsigned offset, argument 185 * it assumes that all units have the same pointer size and offset 195 ret = _dwarf_loclist_find(dbg, STAILQ_FIRST(&dbg->dbg_cu), offset, 219 *data = (uint8_t *) ds->ds_data + offset; 220 *next_entry = offset + *entry_len; 244 * Obtain offset size and DWARF version from the current 249 * if the application knows correct values for offset size
|
H A D | dwarf_macinfo.c | 49 dwarf_get_macro_details(Dwarf_Debug dbg, Dwarf_Off offset, argument 73 if (ms->ms_mdlist[i].dmd_offset == offset) {
|
H A D | dwarf_pro_frame.c | 116 * DW_AT_MIPS_fde attribute, which points to the offset the 156 dwarf_fde_cfa_offset(Dwarf_P_Fde fde, Dwarf_Unsigned reg, Dwarf_Signed offset, argument 170 offset, 0, error);
|
H A D | dwarf_ranges.c | 56 dwarf_get_ranges(Dwarf_Debug dbg, Dwarf_Off offset, Dwarf_Ranges **ranges, argument 70 return (_dwarf_get_ranges(dbg, STAILQ_FIRST(&dbg->dbg_cu), offset, 75 dwarf_get_ranges_a(Dwarf_Debug dbg, Dwarf_Off offset, Dwarf_Die die, argument 85 return (_dwarf_get_ranges(dbg, die->die_cu, offset, ranges, ret_cnt,
|
H A D | dwarf_str.c | 32 dwarf_get_str(Dwarf_Debug dbg, Dwarf_Off offset, char **string, argument 48 if (offset > ds->ds_size) { 53 if (offset == ds->ds_size) { 58 *string = (char *) ds->ds_data + offset;
|
H A D | libdwarf_arange.c | 61 uint64_t offset, dwarf_size, length, addr, range; local 75 offset = 0; 76 while (offset < ds->ds_size) { 86 length = dbg->read(ds->ds_data, &offset, 4); 89 length = dbg->read(ds->ds_data, &offset, 8); 94 as->as_version = dbg->read(ds->ds_data, &offset, 2); 101 as->as_cu_offset = dbg->read(ds->ds_data, &offset, dwarf_size); 113 as->as_addrsz = dbg->read(ds->ds_data, &offset, 1); 114 as->as_segsz = dbg->read(ds->ds_data, &offset, 1); 117 offset 171 uint64_t offset; local [all...] |
H A D | libdwarf_info.c | 147 uint64_t offset; local 154 offset = dbg->dbg_info_off; 161 offset = dbg->dbg_types_off; 167 while (offset < ds->ds_size) { 175 cu->cu_offset = offset; 177 length = dbg->read(ds->ds_data, &offset, 4); 179 length = dbg->read(ds->ds_data, &offset, 8); 190 if (length > ds->ds_size - offset) { 196 /* Compute the offset to the next compilation unit: */ 197 next_offset = offset 292 Dwarf_Unsigned offset; local [all...] |
H A D | libdwarf_loc.c | 325 * Operand1: DIE offset (size depending on DWARF version) 327 * DWARF{3,4}: offset size 340 * Operand1: DIE offset (ULEB128) 376 uint64_t offset; local 509 offset = 0; 510 dbg->write(p, &offset, operand1, 2); 518 offset = 0; 519 dbg->write(p, &offset, operand1, 4); 527 offset = 0; 528 dbg->write(p, &offset, operand [all...] |
H A D | libdwarf_macinfo.c | 130 uint64_t offset, entry_off; local 136 offset = 0; 137 while (offset < ds->ds_size) { 139 entry_off = offset; 141 ret = _dwarf_macinfo_parse(dbg, ds, &offset, NULL, &cnt, error); 164 offset = entry_off; 166 ret = _dwarf_macinfo_parse(dbg, ds, &offset, ms->ms_mdlist,
|
H A D | libdwarf_nametbl.c | 65 uint64_t offset, dwarf_size, length, cuoff; local 79 offset = 0; 80 while (offset < ds->ds_size) { 92 length = dbg->read(ds->ds_data, &offset, 4); 95 length = dbg->read(ds->ds_data, &offset, 8); 101 nt->nt_version = dbg->read(ds->ds_data, &offset, 2); 102 nt->nt_cu_offset = dbg->read(ds->ds_data, &offset, dwarf_size); 103 nt->nt_cu_length = dbg->read(ds->ds_data, &offset, dwarf_size); 119 while (offset < ds->ds_size) { 120 cuoff = dbg->read(ds->ds_data, &offset, dwarf_siz 175 uint64_t offset; local [all...] |
/freebsd-11-stable/contrib/elftoolchain/libelf/ |
H A D | elf_strptr.c | 37 * Convert an ELF section#,offset pair to a string pointer. 41 elf_strptr(Elf *e, size_t scndx, size_t offset) argument 58 offset >= shdr.sh_size) { 69 * an offset to a `char *' address using the `d_off' 82 if (offset >= d->d_off && 83 offset < d->d_off + d->d_size) 84 return ((char *) d->d_buf + offset - d->d_off); 94 while ((d = elf_getdata(s, d)) != NULL && count <= offset) { 112 if (offset < count) { 113 /* offset start [all...] |
H A D | libelf_ar_util.c | 84 size_t len, offset; local 104 * The value in field ar_name is a decimal offset into 109 bufsize - 1, 10, &offset) == 0) { 114 if (offset > ar->e_u.e_ar.e_rawstrtabsz) { 119 p = q = ar->e_u.e_ar.e_rawstrtab + offset; 345 * Update the 'next' offset, so that a subsequent elf_begin()
|
/freebsd-11-stable/contrib/flex/ |
H A D | gen.c | 223 /* We want the transition to be represented as the offset to the 225 * is. The offset is base[nxt[i]] - (base of current state)]. That's 260 int offset = base[i]; local 262 chk[offset] = EOB_POSITION; 263 chk[offset - 1] = ACTION_POSITION; 264 nxt[offset - 1] = anum; /* action number */ 338 /* Table of verify for transition and offset to next state. */ 344 /* We want the transition to be represented as the offset to the 346 * is. The offset is base[nxt[i]] - (base of current state)]. That's 381 int offset local [all...] |
/freebsd-11-stable/contrib/gcc/ |
H A D | alias.c | 1077 changes the offset. */ 1603 int offset = 0; 1608 offset = (n_refs + 1) * size; 1611 offset = -(n_refs + 1) * size; 1614 offset = n_refs * size; 1617 offset = -n_refs * size; 1624 if (offset) 1626 GEN_INT (offset)); 1635 same location in memory. C is an offset accumulator. When 1963 offset o argument 1600 int offset = 0; local 1973 tree offset = component_ref_field_offset (x); local [all...] |
H A D | builtins.c | 282 tree offset; local 286 exp = get_inner_reference (exp, &bitsize, &bitpos, &offset, 290 if (offset && TREE_CODE (offset) == PLUS_EXPR 291 && host_integerp (TREE_OPERAND (offset, 1), 1)) 296 = ((unsigned) tree_low_cst (TREE_OPERAND (offset, 1), 1) 301 offset = TREE_OPERAND (offset, 0); 303 if (offset && TREE_CODE (offset) 357 HOST_WIDE_INT offset; local 1062 HOST_WIDE_INT offset = -1, length = -1; local 2808 builtin_memcpy_read_str(void *data, HOST_WIDE_INT offset, enum machine_mode mode) argument 3288 builtin_strncpy_read_str(void *data, HOST_WIDE_INT offset, enum machine_mode mode) argument [all...] |
H A D | c-common.c | 5925 int offset; 5927 of the object passed offset by: void * + void* + int + int + void* + void * 5930 offset = GET_MODE_SIZE (Pmode) + GET_MODE_SIZE (Pmode) 5934 build_int_cst (NULL_TREE, offset)); 5908 int offset; local
|
H A D | c-format.c | 1311 HOST_WIDE_INT offset; 1345 offset = 0; 1367 || (offset = tree_low_cst (arg1, 0)) < 0) 1381 && (offset += tree_low_cst (TREE_OPERAND (format_tree, 1), 0)) >= 0) 1420 if (offset) 1422 if (offset >= format_length) 1427 format_chars += offset; 1428 format_length -= offset; 1307 HOST_WIDE_INT offset; local
|