Home
last modified time | relevance | path

Searched refs:id_loc (Results 1 – 25 of 29) sorted by relevance

12

/netbsd-src/sbin/fsck_ext2fs/
H A Ddir.c173 idesc->id_loc = 0; in dirscan()
180 memcpy(bp->b_un.b_buf + idesc->id_loc - dsize, dbuf, in dirscan()
206 if (idesc->id_loc % sblock.e2fs_bsize == 0 && idesc->id_filesize > 0 && in fsck_readdir()
207 idesc->id_loc < blksiz) { in fsck_readdir()
208 dp = (struct ext2fs_direct *)(bp->b_un.b_buf + idesc->id_loc); in fsck_readdir()
215 dp = (struct ext2fs_direct *)(bp->b_un.b_buf + idesc->id_loc); in fsck_readdir()
223 idesc->id_loc += sblock.e2fs_bsize; in fsck_readdir()
228 if (idesc->id_filesize <= 0 || idesc->id_loc >= blksiz) in fsck_readdir()
230 dploc = idesc->id_loc; in fsck_readdir()
232 idesc->id_loc += fs2h16(dp->e2d_reclen); in fsck_readdir()
[all …]
H A Dfsck.h127 int id_loc; /* for DATA nodes, current location in dir */ member
/netbsd-src/sbin/fsck_lfs/
H A Ddir.c150 idesc->id_loc = 0; in dirscan()
160 memcpy(bp->b_data + idesc->id_loc - dsize, dbuf, in dirscan()
183 if (idesc->id_loc % LFS_DIRBLKSIZ == 0 && idesc->id_filesize > 0 && in fsck_readdir()
184 idesc->id_loc < blksiz) { in fsck_readdir()
185 dp = (LFS_DIRHEADER *) (bp->b_data + idesc->id_loc); in fsck_readdir()
193 dp = (LFS_DIRHEADER *) (bp->b_data + idesc->id_loc); in fsck_readdir()
205 idesc->id_loc += LFS_DIRBLKSIZ; in fsck_readdir()
210 if (idesc->id_filesize <= 0 || idesc->id_loc >= blksiz) { in fsck_readdir()
214 dploc = idesc->id_loc; in fsck_readdir()
216 idesc->id_loc += lfs_dir_getreclen(fs, dp); in fsck_readdir()
[all …]
H A Dfsck.h100 int id_loc; /* for DATA nodes, current location in dir */ member
/netbsd-src/sbin/fsck_ffs/
H A Ddir.c215 idesc->id_loc = 0; in dirscan()
228 memmove(bp->b_un.b_buf + idesc->id_loc - dsize, dbuf, in dirscan()
251 if (idesc->id_loc % dirblksiz == 0 && idesc->id_filesize > 0 && in fsck_readdir()
252 idesc->id_loc < blksiz) { in fsck_readdir()
253 dp = (struct direct *)(bp->b_un.b_buf + idesc->id_loc); in fsck_readdir()
260 dp = (struct direct *)(bp->b_un.b_buf + idesc->id_loc); in fsck_readdir()
270 idesc->id_loc += dirblksiz; in fsck_readdir()
275 if (idesc->id_filesize <= 0 || idesc->id_loc >= blksiz) in fsck_readdir()
277 dploc = idesc->id_loc; in fsck_readdir()
279 idesc->id_loc += iswap16(dp->d_reclen); in fsck_readdir()
[all …]
H A Dfsck.h192 int id_loc; /* for DATA nodes, current location in dir */ member
/netbsd-src/external/gpl3/gcc.old/dist/gcc/cp/
H A Ddecl.c5410 permerror (declarator->id_loc, in start_decl()
11132 location_t id_loc = declarator ? declarator->id_loc : input_location; in grokdeclarator() local
11133 if (id_loc == UNKNOWN_LOCATION) in grokdeclarator()
11134 id_loc = input_location; in grokdeclarator()
11166 id_declarator->id_loc)) in grokdeclarator()
11193 error_at (id_declarator->id_loc, in grokdeclarator()
11202 error_at (id_declarator->id_loc, in grokdeclarator()
11304 error_at (id_loc, "function definition does not declare parameters"); in grokdeclarator()
11312 error_at (id_loc, "declaration of %qD as non-function", dname); in grokdeclarator()
11321 error_at (id_loc, "declaration of %qD as non-function", dname); in grokdeclarator()
[all …]
H A Dparser.c1466 declarator->id_loc = UNKNOWN_LOCATION; in make_declarator()
1504 declarator->id_loc = id_location; in make_id_declarator()
1526 declarator->id_loc = target->id_loc; in make_pointer_declarator()
1554 declarator->id_loc = target->id_loc; in make_reference_declarator()
1625 declarator->id_loc = target->id_loc; in make_call_declarator()
1648 declarator->id_loc = element->id_loc; in make_array_declarator()
13965 declarator->id_loc = loc; in cp_parser_decomposition_declaration()
13989 declarator->id_loc = e.get_location (); in cp_parser_decomposition_declaration()
20659 tree tmpl = cp_parser_lookup_name_simple (parser, name, id->id_loc); in cp_parser_init_declarator()
20813 && declarator->id_loc != UNKNOWN_LOCATION in cp_parser_init_declarator()
[all …]
H A Ddecl2.c863 error_at (declarator->id_loc, in grokfield()
H A Dcp-tree.h6097 location_t id_loc; /* Currently only set for cdk_id, cdk_decomp and member
/netbsd-src/external/gpl3/gcc/dist/gcc/cp/
H A Ddecl.cc5747 permerror (declarator->id_loc, in start_decl()
5764 error_at (declarator->id_loc, in start_decl()
11800 location_t id_loc; in grokdeclarator() local
11804 id_loc = loc_or_input_loc (declarator->id_loc); in grokdeclarator()
11808 init_loc = id_loc = input_location; in grokdeclarator()
11840 id_declarator->id_loc)) in grokdeclarator()
11867 error_at (id_declarator->id_loc, in grokdeclarator()
11876 error_at (id_declarator->id_loc, in grokdeclarator()
11978 error_at (id_loc, "function definition does not declare parameters"); in grokdeclarator()
11986 error_at (id_loc, "declaration of %qD as non-function", dname); in grokdeclarator()
[all …]
H A DChangeLog-20192222 * decl.c (grokdeclarator): Use id_loc in one place.
2490 declarator->id_loc in a few error messages.
2563 (grokdeclarator): Use id_loc in two error_at; change errror
2893 * decl.c (grokdeclarator): Use id_loc and EXPR_LOCATION in
3194 about static cdtor; use id_loc in error_at about flexible
3419 * decl.c (grokdeclarator): Use id_loc, typespec_loc, and
3522 * decl.c (grokdeclarator): Use id_loc in five additional places
3528 id_loc, use it immediately, update its value after the loop
3665 * decl.c (grokdeclarator): Use declarator->id_loc in two
3722 * decl.c (grokdeclarator): Use declarator->id_loc in five
H A Dparser.cc1564 declarator->id_loc = UNKNOWN_LOCATION; in make_declarator()
1603 declarator->id_loc = id_location; in make_id_declarator()
1625 declarator->id_loc = target->id_loc; in make_pointer_declarator()
1653 declarator->id_loc = target->id_loc; in make_reference_declarator()
1726 declarator->id_loc = target->id_loc; in make_call_declarator()
1749 declarator->id_loc = element->id_loc; in make_array_declarator()
15493 declarator->id_loc = loc; in cp_parser_decomposition_declaration()
15517 declarator->id_loc = e.get_location (); in cp_parser_decomposition_declaration()
22356 tree tmpl = cp_parser_lookup_name_simple (parser, name, id->id_loc); in cp_parser_maybe_adjust_declarator_for_dguide()
22699 && declarator->id_loc != UNKNOWN_LOCATION in cp_parser_init_declarator()
[all …]
H A DChangeLog-20052810 * cp-tree.h (struct cp_declarator): New id_loc field.
2813 (cp_parser_direct_declarator): Set declarator's id_loc from
2814 cp_token's id_loc.
H A DChangeLog-20101595 make_call_declarator, make_array_declarator): Set declarator->id_loc.
2670 (struct cp_declarator): Move id_loc field up.
3576 * parser.c (make_declarator): Initialize id_loc.
H A DChangeLog-2008565 * cp-tree.h (struct cp_declarator): Update comment for id_loc.
569 (cp_parser_member_declaration): Set id_loc for function declarators.
H A DChangeLog-2018382 declarator->id_loc.
799 * decl.c (grokdeclarator): Use declarator->id_loc in two error
1177 * decl.c (grokdeclarator): Use declarator->id_loc in diagnostic
H A Ddecl2.cc1005 error_at (declarator->id_loc, in grokfield()
/netbsd-src/sys/external/bsd/drm2/dist/drm/vmwgfx/
H A Dvmwgfx_execbuf.c656 uint32_t *id_loc, in vmw_cmd_res_check() argument
666 if (*id_loc == SVGA3D_INVALID_ID) { in vmw_cmd_res_check()
674 if (likely(rcache->valid_handle && *id_loc == rcache->handle)) { in vmw_cmd_res_check()
687 (dev_priv, sw_context->fp->tfile, *id_loc, converter); in vmw_cmd_res_check()
690 (unsigned int) *id_loc); in vmw_cmd_res_check()
700 rcache->handle = *id_loc; in vmw_cmd_res_check()
706 id_loc), in vmw_cmd_res_check()
/netbsd-src/external/gpl3/gcc/dist/gcc/c/
H A Dc-tree.h462 location_t id_loc; /* Currently only set for cdk_id, cdk_array. */ member
H A Dc-decl.cc4935 declarator->id_loc = loc; in build_array_declarator()
6334 loc = decl->id_loc; in grokdeclarator()
6350 loc = decl->id_loc; in grokdeclarator()
7370 decl = build_decl (declarator->id_loc, in grokdeclarator()
7390 if (warning_at (declarator->id_loc, OPT_Wc___compat, in grokdeclarator()
7512 decl = build_decl (declarator->id_loc, in grokdeclarator()
7578 decl = build_decl (declarator->id_loc, in grokdeclarator()
7613 decl = build_decl (declarator->id_loc, in grokdeclarator()
7711 decl = build_decl (declarator->id_loc, in grokdeclarator()
10742 ret->id_loc = input_location; in build_id_declarator()
H A Dc-parser.cc3951 inner->id_loc = c_parser_peek_token (parser)->location; in c_parser_direct_declarator()
3963 inner->id_loc = c_parser_peek_token (parser)->location; in c_parser_direct_declarator()
4445 ? id_declarator->id_loc in c_parser_parameter_declaration()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/c/
H A Dc-tree.h460 location_t id_loc; /* Currently only set for cdk_id, cdk_array. */ member
H A Dc-decl.c4843 declarator->id_loc = loc; in build_array_declarator()
6016 loc = decl->id_loc; in grokdeclarator()
6032 loc = decl->id_loc; in grokdeclarator()
7046 decl = build_decl (declarator->id_loc, in grokdeclarator()
7066 if (warning_at (declarator->id_loc, OPT_Wc___compat, in grokdeclarator()
7188 decl = build_decl (declarator->id_loc, in grokdeclarator()
7254 decl = build_decl (declarator->id_loc, in grokdeclarator()
7292 decl = build_decl (declarator->id_loc, in grokdeclarator()
7390 decl = build_decl (declarator->id_loc, in grokdeclarator()
10345 ret->id_loc = input_location; in build_id_declarator()
H A Dc-parser.c3914 inner->id_loc = c_parser_peek_token (parser)->location; in c_parser_direct_declarator()
3926 inner->id_loc = c_parser_peek_token (parser)->location; in c_parser_direct_declarator()
4408 ? id_declarator->id_loc in c_parser_parameter_declaration()

12