| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/asn1/ |
| H A D | a_object.c | 24 int objsize; in i2d_ASN1_OBJECT() local 29 objsize = ASN1_object_size(0, a->length, V_ASN1_OBJECT); in i2d_ASN1_OBJECT() 30 if (pp == NULL || objsize == -1) in i2d_ASN1_OBJECT() 31 return objsize; in i2d_ASN1_OBJECT() 34 if ((p = allocated = OPENSSL_malloc(objsize)) == NULL) { in i2d_ASN1_OBJECT() 50 return objsize; in i2d_ASN1_OBJECT()
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/asn1/ |
| H A D | a_object.c | 24 int objsize; in i2d_ASN1_OBJECT() local 29 objsize = ASN1_object_size(0, a->length, V_ASN1_OBJECT); in i2d_ASN1_OBJECT() 30 if (pp == NULL || objsize == -1) in i2d_ASN1_OBJECT() 31 return objsize; in i2d_ASN1_OBJECT() 34 if ((p = allocated = OPENSSL_malloc(objsize)) == NULL) { in i2d_ASN1_OBJECT() 50 return objsize; in i2d_ASN1_OBJECT()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | gimple-ssa-sprintf.cc | 905 unsigned HOST_WIDE_INT objsize; member 3181 result_range avail_range = bytes_remaining (info.objsize, *res); in format_directive() 3372 if (info.objsize < HOST_WIDE_INT_MAX) in format_directive() 3381 info.func, min, info.objsize); in format_directive() 3386 info.func, min, max, info.objsize); in format_directive() 3391 info.func, min, res->range.likely, info.objsize); in format_directive() 3396 info.func, min, info.objsize); in format_directive() 4033 info.objsize, info.fmtstr); in compute_format_length() 4144 && (info.bounded || retval[0] < info.objsize) in is_call_safe() 4148 if ((info.bounded || retval[1] < info.objsize) in is_call_safe() [all …]
|
| H A D | builtins.cc | 3693 check_strncat_sizes (tree exp, tree objsize) in check_strncat_sizes() argument 3708 if (!objsize && warn_stringop_overflow) in check_strncat_sizes() 3713 objsize = compute_objsize (dest, warn_stringop_overflow - 1, &data.dst); 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() 3745 objsize, data.mode, &data); in check_strncat_sizes() 10295 tree objsize = NULL_TREE; in maybe_emit_chk_warning() local 10314 objsize = CALL_EXPR_ARG (exp, 2); in maybe_emit_chk_warning() 10322 objsize = CALL_EXPR_ARG (exp, 2); in maybe_emit_chk_warning() 10329 objsize = CALL_EXPR_ARG (exp, 3); in maybe_emit_chk_warning() [all …]
|
| H A D | gimple-ssa-warn-access.cc | 3519 tree objsize = compute_objsize (ptr, stmt, 1, pobj, &m_ptr_qry); in maybe_check_access_sizes() local 3529 srcsize = objsize; in maybe_check_access_sizes() 3537 objsize = NULL_TREE; in maybe_check_access_sizes() 3541 dstsize = objsize; in maybe_check_access_sizes()
|
| H A D | gimple-fold.cc | 5579 tree objsize = gimple_call_arg (stmt, 2); in gimple_fold_call() local 5580 if (integer_all_onesp (objsize) in gimple_fold_call() 5582 && TREE_CODE (objsize) == INTEGER_CST in gimple_fold_call() 5583 && tree_int_cst_le (offset, objsize))) in gimple_fold_call()
|
| H A D | ChangeLog-2020 | 2635 objsize pass cleanup.
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | gimple-ssa-sprintf.c | 908 unsigned HOST_WIDE_INT objsize; member 3123 result_range avail_range = bytes_remaining (info.objsize, *res); in format_directive() 3314 if (info.objsize < HOST_WIDE_INT_MAX) in format_directive() 3323 info.func, min, info.objsize); in format_directive() 3328 info.func, min, max, info.objsize); in format_directive() 3333 info.func, min, res->range.likely, info.objsize); in format_directive() 3338 info.func, min, info.objsize); in format_directive() 3974 info.objsize, info.fmtstr); in compute_format_length() 4089 && (info.bounded || retval[0] < info.objsize) in is_call_safe() 4093 if ((info.bounded || retval[1] < info.objsize) in is_call_safe() [all …]
|
| H A D | calls.c | 2105 tree objsize = compute_objsize (ptr, 0); in maybe_warn_rdwr_sizes() local 2117 if (objsize && integer_all_onesp (objsize)) in maybe_warn_rdwr_sizes() 2118 objsize = NULL_TREE; in maybe_warn_rdwr_sizes() 2122 srcsize = objsize; in maybe_warn_rdwr_sizes() 2128 objsize = NULL_TREE; in maybe_warn_rdwr_sizes() 2137 srcsize, objsize); in maybe_warn_rdwr_sizes()
|
| H A D | builtins.c | 4688 check_strncat_sizes (tree exp, tree objsize) in check_strncat_sizes() argument 4702 if (!objsize && warn_stringop_overflow) in check_strncat_sizes() 4707 objsize = compute_objsize (dest, warn_stringop_overflow - 1); in check_strncat_sizes() 4719 if (tree_fits_uhwi_p (maxread) && tree_fits_uhwi_p (objsize) in check_strncat_sizes() 4720 && tree_int_cst_equal (objsize, maxread)) in check_strncat_sizes() 4741 objsize); in check_strncat_sizes() 11081 tree objsize = NULL_TREE; in maybe_emit_chk_warning() local 11097 objsize = CALL_EXPR_ARG (exp, 2); in maybe_emit_chk_warning() 11105 objsize = CALL_EXPR_ARG (exp, 2); in maybe_emit_chk_warning() 11112 objsize = CALL_EXPR_ARG (exp, 3); in maybe_emit_chk_warning() [all …]
|
| H A D | gimple-fold.c | 4521 tree objsize = gimple_call_arg (stmt, 2); in gimple_fold_call() local 4522 if (integer_all_onesp (objsize) in gimple_fold_call() 4524 && TREE_CODE (objsize) == INTEGER_CST in gimple_fold_call() 4525 && tree_int_cst_le (offset, objsize))) in gimple_fold_call()
|
| /netbsd-src/sys/fs/udf/ |
| H A D | udf_allocation.c | 2602 uint64_t size_diff, old_size, inflen, objsize, chunk, append_len; in udf_grow_node() local 2632 objsize = inflen; in udf_grow_node() 2639 objsize = udf_rw64(efe->obj_size); in udf_grow_node() 2659 objsize += size_diff; in udf_grow_node() 2668 efe->obj_size = udf_rw64(objsize); in udf_grow_node() 2828 objsize += size_diff; in udf_grow_node() 2833 efe->obj_size = udf_rw64(objsize); in udf_grow_node() 2875 uint64_t size_diff, old_size, inflen, objsize; in udf_shrink_node() local 2908 objsize = inflen; in udf_shrink_node() 2916 objsize in udf_shrink_node() [all...] |
| /netbsd-src/external/cddl/osnet/dist/lib/libuutil/common/ |
| H A D | uu_avl.c | 66 uu_avl_pool_create(const char *name, size_t objsize, size_t nodeoffset, in uu_avl_pool_create() argument 73 nodeoffset + sizeof (uu_avl_node_t) > objsize || in uu_avl_pool_create() 92 pp->uap_objsize = objsize; in uu_avl_pool_create()
|
| H A D | uu_list.c | 63 uu_list_pool_create(const char *name, size_t objsize, in uu_list_pool_create() argument 70 nodeoffset + sizeof (uu_list_node_t) > objsize) { in uu_list_pool_create() 88 pp->ulp_objsize = objsize; in uu_list_pool_create()
|
| /netbsd-src/external/gpl3/binutils.old/dist/gprofng/src/ |
| H A D | Module.cc | 435 for (size_t objsize = get_ar_size (hdr.ar_size, sizeof (hdr.ar_size)); in read_ar() local 436 objsize > 0;) in read_ar() 439 size_t n = objsize < sizeof (buf) ? objsize : sizeof (buf); in read_ar() 446 objsize -= n; in read_ar()
|
| /netbsd-src/external/gpl3/binutils/dist/gprofng/src/ |
| H A D | Module.cc | 435 for (size_t objsize = get_ar_size (hdr.ar_size, sizeof (hdr.ar_size)); in read_ar() local 436 objsize > 0;) in read_ar() 439 size_t n = objsize < sizeof (buf) ? objsize : sizeof (buf); in read_ar() 446 objsize -= n; in read_ar()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/cp/ |
| H A D | init.cc | 2826 tree objsize = compute_objsize (oper, 1, &ref); in warn_placement_new_too_small() local 2827 if (!objsize) in warn_placement_new_too_small() 2835 offset_int bytes_avail = wi::to_offset (objsize); in warn_placement_new_too_small()
|