| /netbsd-src/external/bsd/pcc/dist/pcc/cc/cpp/ |
| H A D | token.c | 167 ifiles->maxread = ifiles->buffer + len; in inpbuf() 181 if (ifiles->curptr+minsz < ifiles->maxread) in refill() 184 sz = ifiles->maxread - ifiles->curptr; in refill() 191 ifiles->maxread = ifiles->buffer; in refill() 196 #define REFILL(x) if (ifiles->curptr+x >= ifiles->maxread) refill(x) 206 if (ifiles->curptr < ifiles->maxread) in inpch() 601 if (ifiles->curptr < ifiles->maxread) { in fastscan() 904 while (*ic->maxread) in prinit() 905 ic->maxread++; in prinit() 942 ic->maxread = ic->curptr; in pushfile() [all …]
|
| H A D | scanner.l | 452 while (*ic->maxread) 453 ic->maxread++; 487 ic->maxread = ic->curptr; 490 *ic->maxread = 0;
|
| H A D | cpp.h | 110 usch *maxread; member
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | gimple-ssa-warn-access.cc | 1257 tree maxread, tree srcstr, tree dstsize, in check_access() argument 1285 if (!check_nul_terminated_array (exp, srcstr, maxread)) in check_access() 1302 && (!maxread || TREE_CODE (maxread) == INTEGER_CST)) in check_access() 1304 if (maxread && tree_int_cst_le (maxread, range[0])) in check_access() 1305 range[0] = range[1] = maxread; in check_access() 1310 if (maxread && tree_int_cst_le (maxread, range[1])) in check_access() 1311 range[1] = maxread; in check_access() 1328 if (!dstwrite && !maxread) in check_access() 1437 if (maxread) in check_access() 1441 get_size_range (rvals, maxread, stmt, range, pad ? pad->src_bndrng : NULL); in check_access() [all …]
|
| H A D | pointer-query.cc | 1324 tree maxread /* = NULL_TREE */, in access_data() argument 1329 set_bound (src_bndrng, maxread, minread, query, stmt); in access_data() 1337 tree maxread /* = NULL_TREE */, in access_data() argument 1342 set_bound (src_bndrng, maxread, minread, query, stmt); in access_data()
|
| H A D | builtins.cc | 3697 tree maxread = CALL_EXPR_ARG (exp, 2); in check_strncat_sizes() local 3707 access_data data (nullptr, exp, access_read_write, maxread, true); in check_strncat_sizes() 3725 if (tree_fits_uhwi_p (maxread) && tree_fits_uhwi_p (objsize) in check_strncat_sizes() 3726 && tree_int_cst_equal (objsize, maxread)) in check_strncat_sizes() 3731 get_callee_fndecl (exp), maxread); in check_strncat_sizes() 3737 || (maxread && tree_fits_uhwi_p (maxread) in check_strncat_sizes() 3739 && tree_int_cst_lt (maxread, srclen))) in check_strncat_sizes() 3740 srclen = maxread; in check_strncat_sizes() 3744 return check_access (exp, /*dstwrite=*/NULL_TREE, maxread, srclen, in check_strncat_sizes() 10302 tree maxread = NULL_TREE; in maybe_emit_chk_warning() local [all …]
|
| H A D | ChangeLog-2019 | 16069 * builtins.c (check_access): Remove assignment to maxread
|
| /netbsd-src/tests/lib/libc/stdio/ |
| H A D | h_intr.c | 42 ssize_t maxread(FILE *fp, void *buf, size_t size); 234 maxread(FILE* fp, void *buf, size_t size) in maxread() function 472 rd_fn = maxread; /* read using stdio funcs. */ in do_opts()
|
| /netbsd-src/lib/librefuse/ |
| H A D | refuse.c | 848 size_t maxread; in puffs_fuse_node_read() local 855 maxread = *resid; in puffs_fuse_node_read() 856 if (maxread > (size_t)((off_t)pn->pn_va.va_size - offset)) { in puffs_fuse_node_read() 858 maxread = (size_t)((off_t)pn->pn_va.va_size - offset); in puffs_fuse_node_read() 860 if (maxread == 0) in puffs_fuse_node_read() 863 ret = fuse_fs_read(fuse->fs, path, (char *)buf, maxread, offset, in puffs_fuse_node_read()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | builtins.c | 3359 tree maxread, tree srcstr, tree dstsize) in check_access() argument 3392 if (range[0] && (!maxread || TREE_CODE (maxread) == INTEGER_CST)) in check_access() 3394 if (maxread && tree_int_cst_le (maxread, range[0])) in check_access() 3395 range[0] = range[1] = maxread; in check_access() 3400 if (maxread && tree_int_cst_le (maxread, range[1])) in check_access() 3401 range[1] = maxread; in check_access() 3418 if (!dstwrite && !maxread) in check_access() 3573 if (maxread) in check_access() 3575 get_size_range (maxread, range); in check_access() 4692 tree maxread = CALL_EXPR_ARG (exp, 2); in check_strncat_sizes() local [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/config/rs6000/ |
| H A D | rs6000-string.cc | 292 unsigned HOST_WIDE_INT maxread = ROUND_UP (bytes, align); in select_block_compare_mode() local 321 else if (word_mode_ok && maxread >= UNITS_PER_WORD) in select_block_compare_mode() 325 else if (maxread >= GET_MODE_SIZE (SImode)) in select_block_compare_mode()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/rs6000/ |
| H A D | rs6000-string.c | 292 unsigned HOST_WIDE_INT maxread = ROUND_UP (bytes, align); in select_block_compare_mode() local 321 else if (word_mode_ok && maxread >= UNITS_PER_WORD) in select_block_compare_mode() 325 else if (maxread >= GET_MODE_SIZE (SImode)) in select_block_compare_mode()
|