/dports/devel/valgrind-lts/valgrind-dragonfly-dragonfly/memcheck/tests/ |
H A D | undef_malloc_args.c | 8 char *new_p; in main() local 19 new_p = realloc(p, def_size); in main() 21 (void) VALGRIND_MAKE_MEM_UNDEFINED(&new_p, sizeof(new_p)); in main() 22 new_p = realloc(new_p, def_size); in main() 24 (void) VALGRIND_MAKE_MEM_UNDEFINED(&new_p, sizeof(new_p)); in main() 25 free (new_p); in main() 31 free (new_p); in main() 38 free(new_p); in main() 46 free(new_p); in main() 52 new_p = valloc(size); in main() [all …]
|
/dports/devel/valgrind/valgrind-dragonfly-dragonfly/memcheck/tests/ |
H A D | undef_malloc_args.c | 8 char *new_p; in main() local 19 new_p = realloc(p, def_size); in main() 21 (void) VALGRIND_MAKE_MEM_UNDEFINED(&new_p, sizeof(new_p)); in main() 22 new_p = realloc(new_p, def_size); in main() 24 (void) VALGRIND_MAKE_MEM_UNDEFINED(&new_p, sizeof(new_p)); in main() 25 free (new_p); in main() 31 free (new_p); in main() 38 free(new_p); in main() 46 free(new_p); in main() 52 new_p = valloc(size); in main() [all …]
|
/dports/textproc/cast2gif/cast2gif-0.1.0/cargo-crates/svgfilters-0.1.0/src/ |
H A D | morphology.rs | 51 new_p.r = 255; in morphology() 52 new_p.g = 255; in morphology() 53 new_p.b = 255; in morphology() 68 new_p.r = std::cmp::min(p.r, new_p.r); in morphology() 69 new_p.g = std::cmp::min(p.g, new_p.g); in morphology() 70 new_p.b = std::cmp::min(p.b, new_p.b); in morphology() 71 new_p.a = std::cmp::min(p.a, new_p.a); in morphology() 73 new_p.r = std::cmp::max(p.r, new_p.r); in morphology() 74 new_p.g = std::cmp::max(p.g, new_p.g); in morphology() 75 new_p.b = std::cmp::max(p.b, new_p.b); in morphology() [all …]
|
/dports/devel/urjtag/urjtag-2021.03/src/global/ |
H A D | params.c | 81 urj_param_t *new_p; in urj_param_increase() local 99 new_p = malloc (sizeof *new_p); in urj_param_increase() 100 if (new_p == NULL) in urj_param_increase() 107 (*bp)[n] = new_p; in urj_param_increase() 110 return new_p; in urj_param_increase() 140 if (new_p == NULL) in urj_param_push_string() 144 new_p->key = key; in urj_param_push_string() 155 if (new_p == NULL) in urj_param_push_lu() 159 new_p->key = key; in urj_param_push_lu() 170 if (new_p == NULL) in urj_param_push_bool() [all …]
|
/dports/net/mpich2/mpich2-1.5/src/mpi/attr/ |
H A D | win_set_attr.c | 110 new_p->keyval = keyval_ptr; in MPIR_WinSetAttr() 112 new_p->pre_sentinal = 0; in MPIR_WinSetAttr() 114 new_p->post_sentinal = 0; in MPIR_WinSetAttr() 115 new_p->next = p->next; in MPIR_WinSetAttr() 117 p->next = new_p; in MPIR_WinSetAttr() 129 new_p->attrType = attrType; in MPIR_WinSetAttr() 130 new_p->keyval = keyval_ptr; in MPIR_WinSetAttr() 131 new_p->pre_sentinal = 0; in MPIR_WinSetAttr() 133 new_p->post_sentinal = 0; in MPIR_WinSetAttr() 134 new_p->next = 0; in MPIR_WinSetAttr() [all …]
|
H A D | type_set_attr.c | 104 new_p->keyval = keyval_ptr; in MPIR_TypeSetAttr() 106 new_p->pre_sentinal = 0; in MPIR_TypeSetAttr() 108 new_p->post_sentinal = 0; in MPIR_TypeSetAttr() 109 new_p->next = p->next; in MPIR_TypeSetAttr() 111 p->next = new_p; in MPIR_TypeSetAttr() 123 new_p->keyval = keyval_ptr; in MPIR_TypeSetAttr() 124 new_p->attrType = attrType; in MPIR_TypeSetAttr() 125 new_p->pre_sentinal = 0; in MPIR_TypeSetAttr() 127 new_p->post_sentinal = 0; in MPIR_TypeSetAttr() 128 new_p->next = 0; in MPIR_TypeSetAttr() [all …]
|
H A D | attrutil.c | 205 new_p = MPID_Attr_alloc(); in MPIR_Attr_dup_list() 207 if (!new_p){ in MPIR_Attr_dup_list() 213 *new_attr = new_p; in MPIR_Attr_dup_list() 215 *(next_new_attr_ptr) = new_p; in MPIR_Attr_dup_list() 217 new_p->keyval = p->keyval; in MPIR_Attr_dup_list() 222 new_p->pre_sentinal = 0; in MPIR_Attr_dup_list() 226 new_p->post_sentinal = 0; in MPIR_Attr_dup_list() 227 new_p->next = 0; in MPIR_Attr_dup_list() 245 MPID_Attribute *p, *new_p; in MPIR_Attr_delete_list() local 253 new_p = p->next; in MPIR_Attr_delete_list() [all …]
|
H A D | comm_set_attr.c | 75 MPID_Attribute *new_p = MPID_Attr_alloc(); in MPIR_Comm_set_attr_impl() local 76 MPIU_ERR_CHKANDJUMP(!new_p,mpi_errno,MPI_ERR_OTHER,"**nomem"); in MPIR_Comm_set_attr_impl() 78 new_p->keyval = keyval_ptr; in MPIR_Comm_set_attr_impl() 79 new_p->attrType = attrType; in MPIR_Comm_set_attr_impl() 80 new_p->pre_sentinal = 0; in MPIR_Comm_set_attr_impl() 82 new_p->value = (MPID_AttrVal_t)(MPIR_Pint)attribute_val; in MPIR_Comm_set_attr_impl() 83 new_p->post_sentinal = 0; in MPIR_Comm_set_attr_impl() 84 new_p->next = comm_ptr->attributes; in MPIR_Comm_set_attr_impl() 86 comm_ptr->attributes = new_p; in MPIR_Comm_set_attr_impl()
|
/dports/net/mpich/mpich-3.4.3/src/mpi/attr/ |
H A D | win_set_attr.c | 104 new_p->keyval = keyval_ptr; in MPII_Win_set_attr() 106 new_p->pre_sentinal = 0; in MPII_Win_set_attr() 108 new_p->post_sentinal = 0; in MPII_Win_set_attr() 109 new_p->next = p->next; in MPII_Win_set_attr() 111 p->next = new_p; in MPII_Win_set_attr() 122 new_p->attrType = attrType; in MPII_Win_set_attr() 123 new_p->keyval = keyval_ptr; in MPII_Win_set_attr() 124 new_p->pre_sentinal = 0; in MPII_Win_set_attr() 126 new_p->post_sentinal = 0; in MPII_Win_set_attr() 127 new_p->next = 0; in MPII_Win_set_attr() [all …]
|
H A D | type_set_attr.c | 102 new_p->keyval = keyval_ptr; in MPII_Type_set_attr() 104 new_p->pre_sentinal = 0; in MPII_Type_set_attr() 106 new_p->post_sentinal = 0; in MPII_Type_set_attr() 107 new_p->next = p->next; in MPII_Type_set_attr() 109 p->next = new_p; in MPII_Type_set_attr() 120 new_p->keyval = keyval_ptr; in MPII_Type_set_attr() 121 new_p->attrType = attrType; in MPII_Type_set_attr() 122 new_p->pre_sentinal = 0; in MPII_Type_set_attr() 124 new_p->post_sentinal = 0; in MPII_Type_set_attr() 125 new_p->next = 0; in MPII_Type_set_attr() [all …]
|
H A D | attrutil.c | 189 new_p = MPID_Attr_alloc(); in MPIR_Attr_dup_list() 191 if (!new_p) { in MPIR_Attr_dup_list() 199 *new_attr = new_p; in MPIR_Attr_dup_list() 201 *(next_new_attr_ptr) = new_p; in MPIR_Attr_dup_list() 203 new_p->keyval = p->keyval; in MPIR_Attr_dup_list() 208 new_p->pre_sentinal = 0; in MPIR_Attr_dup_list() 212 new_p->post_sentinal = 0; in MPIR_Attr_dup_list() 213 new_p->next = 0; in MPIR_Attr_dup_list() 227 MPIR_Attribute *p, *new_p; in MPIR_Attr_delete_list() local 235 new_p = p->next; in MPIR_Attr_delete_list() [all …]
|
H A D | comm_set_attr.c | 73 MPIR_Attribute *new_p = MPID_Attr_alloc(); in MPIR_Comm_set_attr_impl() local 74 MPIR_ERR_CHKANDJUMP(!new_p, mpi_errno, MPI_ERR_OTHER, "**nomem"); in MPIR_Comm_set_attr_impl() 76 new_p->keyval = keyval_ptr; in MPIR_Comm_set_attr_impl() 77 new_p->attrType = attrType; in MPIR_Comm_set_attr_impl() 78 new_p->pre_sentinal = 0; in MPIR_Comm_set_attr_impl() 80 new_p->value = (MPII_Attr_val_t) (intptr_t) attribute_val; in MPIR_Comm_set_attr_impl() 81 new_p->post_sentinal = 0; in MPIR_Comm_set_attr_impl() 82 new_p->next = comm_ptr->attributes; in MPIR_Comm_set_attr_impl() 84 comm_ptr->attributes = new_p; in MPIR_Comm_set_attr_impl()
|
/dports/mail/cone/cone-1.1/libs/maildir/ |
H A D | maildirrename.c | 204 char *new_p; in scan_maildir_rename() local 254 if (!new_p) in scan_maildir_rename() 270 free(new_p); in scan_maildir_rename() 298 if (!new_p) in scan_maildir_rename() 310 free(new_p); in scan_maildir_rename() 315 free(new_p); in scan_maildir_rename() 355 char *new_p; in scan_aclhier2_rename() local 396 if (!new_p) in scan_aclhier2_rename() 413 free(new_p); in scan_aclhier2_rename() 441 if (!new_p) in scan_aclhier2_rename() [all …]
|
/dports/mail/sqwebmail/sqwebmail-6.0.6/libs/maildir/ |
H A D | maildirrename.c | 204 char *new_p; in scan_maildir_rename() local 254 if (!new_p) in scan_maildir_rename() 270 free(new_p); in scan_maildir_rename() 298 if (!new_p) in scan_maildir_rename() 310 free(new_p); in scan_maildir_rename() 315 free(new_p); in scan_maildir_rename() 355 char *new_p; in scan_aclhier2_rename() local 396 if (!new_p) in scan_aclhier2_rename() 413 free(new_p); in scan_aclhier2_rename() 441 if (!new_p) in scan_aclhier2_rename() [all …]
|
/dports/mail/courier/courier-0.65.3/maildir/ |
H A D | maildirrename.c | 204 char *new_p; in scan_maildir_rename() local 254 if (!new_p) in scan_maildir_rename() 270 free(new_p); in scan_maildir_rename() 298 if (!new_p) in scan_maildir_rename() 310 free(new_p); in scan_maildir_rename() 315 free(new_p); in scan_maildir_rename() 355 char *new_p; in scan_aclhier2_rename() local 396 if (!new_p) in scan_aclhier2_rename() 413 free(new_p); in scan_aclhier2_rename() 441 if (!new_p) in scan_aclhier2_rename() [all …]
|
/dports/mail/courier-imap/courier-imap-5.1.4/libs/maildir/ |
H A D | maildirrename.c | 204 char *new_p; in scan_maildir_rename() local 254 if (!new_p) in scan_maildir_rename() 270 free(new_p); in scan_maildir_rename() 298 if (!new_p) in scan_maildir_rename() 310 free(new_p); in scan_maildir_rename() 315 free(new_p); in scan_maildir_rename() 355 char *new_p; in scan_aclhier2_rename() local 396 if (!new_p) in scan_aclhier2_rename() 413 free(new_p); in scan_aclhier2_rename() 441 if (!new_p) in scan_aclhier2_rename() [all …]
|
/dports/mail/maildrop/maildrop-3.0.3/libs/maildir/ |
H A D | maildirrename.c | 204 char *new_p; in scan_maildir_rename() local 254 if (!new_p) in scan_maildir_rename() 270 free(new_p); in scan_maildir_rename() 298 if (!new_p) in scan_maildir_rename() 310 free(new_p); in scan_maildir_rename() 315 free(new_p); in scan_maildir_rename() 355 char *new_p; in scan_aclhier2_rename() local 396 if (!new_p) in scan_aclhier2_rename() 413 free(new_p); in scan_aclhier2_rename() 441 if (!new_p) in scan_aclhier2_rename() [all …]
|
/dports/games/uhexen2/hexen2source-1.5.9/engine/h2shared/ |
H A D | d_polyse.c | 368 zbuf = zspantable[new_p[1]] + new_p[0]; in D_PolysetRecursiveTriangle() 375 d_viewbuffer[d_scantable[new_p[1]] + new_p[0]] = pix; in D_PolysetRecursiveTriangle() 446 zbuf = zspantable[new_p[1]] + new_p[0]; in D_PolysetRecursiveTriangleT() 449 color_map_idx = skintable[new_p[3]>>16][new_p[2]>>16]; in D_PolysetRecursiveTriangleT() 459 d_viewbuffer[d_scantable[new_p[1]] + new_p[0]] = pix; in D_PolysetRecursiveTriangleT() 530 zbuf = zspantable[new_p[1]] + new_p[0]; in D_PolysetRecursiveTriangleT2() 533 color_map_idx = skintable[new_p[3]>>16][new_p[2]>>16]; in D_PolysetRecursiveTriangleT2() 622 zbuf = zspantable[new_p[1]] + new_p[0]; in D_PolysetRecursiveTriangleT3() 704 zbuf = zspantable[new_p[1]] + new_p[0]; in D_PolysetRecursiveTriangleT5() 2130 ofs = d_scantable[new_p[1]] + new_p[0]; [all …]
|
/dports/sysutils/busybox/busybox-1.26.2/libbb/ |
H A D | obscure.c | 94 static const char *obscure_msg(const char *old_p, const char *new_p, const struct passwd *pw) in obscure_msg() argument 105 if (!new_p || (length = strlen(new_p)) < CONFIG_PASSWORD_MINLEN) in obscure_msg() 109 if (string_checker(new_p, pw->pw_name)) { in obscure_msg() 114 if (pw->pw_gecos[0] && string_checker(new_p, pw->pw_gecos)) { in obscure_msg() 120 i = string_checker(new_p, hostname); in obscure_msg() 128 if (islower(new_p[i])) { /* a-z */ in obscure_msg() 130 } else if (isupper(new_p[i])) { /* A-Z */ in obscure_msg() 132 } else if (isdigit(new_p[i])) { /* 0-9 */ in obscure_msg() 139 p = new_p; in obscure_msg() 141 p = strchr(p, new_p[i]); in obscure_msg() [all …]
|
/dports/science/simlib/simlib/src/ |
H A D | opt-simann.cc | 63 ParameterVector new_p = px; in Optimize_simann() local 64 move_to_next_point(new_p, eps); in Optimize_simann() 66 double new_x = f(new_p); in Optimize_simann() 68 Print("%g %g %.12g\n", new_p["d"].Value(), new_p["k"].Value(), new_x); in Optimize_simann() 73 px = new_p; in Optimize_simann() 78 Print("%g %g %.12g\n", new_p["d"].Value(), new_p["k"].Value(), in Optimize_simann() 84 p = new_p; in Optimize_simann()
|
/dports/math/polymake/polymake-4.5/lib/core/src/ |
H A D | lib_init.cc | 54 void* new_p = allocate(new_sz); in reallocate() local 55 if (new_p) { in reallocate() 56 std::memcpy(new_p, p, old_sz < new_sz ? old_sz : new_sz); in reallocate() 59 return new_p; in reallocate() 66 void* new_p = allocate(new_sz); 67 if (new_p) { 68 std::memcpy(new_p, p, old_sz < new_sz ? old_sz : new_sz); 71 return new_p;
|
/dports/polish/libgadu/libgadu-1.12.2/test/manual/lib/ |
H A D | oauth_parameter.c | 32 gg_oauth_parameter_t *p, *new_p; in gg_oauth_parameter_set() local 54 new_p = malloc(sizeof(gg_oauth_parameter_t)); in gg_oauth_parameter_set() 56 if (new_p == NULL) { in gg_oauth_parameter_set() 62 memset(new_p, 0, sizeof(gg_oauth_parameter_t)); in gg_oauth_parameter_set() 63 new_p->key = new_key; in gg_oauth_parameter_set() 64 new_p->value = new_value; in gg_oauth_parameter_set() 72 p->next = new_p; in gg_oauth_parameter_set() 74 *list = new_p; in gg_oauth_parameter_set()
|
/dports/misc/vxl/vxl-3.3.2/contrib/mul/mfpf/tests/ |
H A D | test_norm_corr2d.cxx | 50 vgl_point_2d<double> new_p; in test_norm_corr2d_search() local 56 double v0 = pf->search(image,p0,u,new_p,new_u); in test_norm_corr2d_search() 57 std::cout<<"Found point: "<<new_p<<std::endl; in test_norm_corr2d_search() 59 TEST_NEAR("Correct location",(new_p-p0).length(),0.0,1e-6); in test_norm_corr2d_search() 62 pf->search(image,p1,u,new_p,new_u); in test_norm_corr2d_search() 63 std::cout<<"Found point: "<<new_p<<std::endl; in test_norm_corr2d_search() 69 pf->search(image,p2,u,new_p,new_u); in test_norm_corr2d_search() 70 std::cout<<"Found point (no opt): "<<new_p<<std::endl in test_norm_corr2d_search() 73 pf->search_with_opt(image,p2,u,new_p,new_u); in test_norm_corr2d_search() 74 std::cout<<"Found point ( + opt): "<<new_p<<std::endl; in test_norm_corr2d_search() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/security/keys/trusted-keys/ |
H A D | trusted_core.c | 221 struct trusted_key_payload *new_p; in trusted_update() local 238 new_p = trusted_payload_alloc(key); in trusted_update() 239 if (!new_p) { in trusted_update() 246 ret = datablob_parse(&datablob, new_p); in trusted_update() 249 kfree_sensitive(new_p); in trusted_update() 254 new_p->migratable = p->migratable; in trusted_update() 255 new_p->key_len = p->key_len; in trusted_update() 256 memcpy(new_p->key, p->key, p->key_len); in trusted_update() 258 dump_payload(new_p); in trusted_update() 263 kfree_sensitive(new_p); in trusted_update() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/security/keys/trusted-keys/ |
H A D | trusted_core.c | 221 struct trusted_key_payload *new_p; in trusted_update() local 238 new_p = trusted_payload_alloc(key); in trusted_update() 239 if (!new_p) { in trusted_update() 246 ret = datablob_parse(&datablob, new_p); in trusted_update() 249 kfree_sensitive(new_p); in trusted_update() 254 new_p->migratable = p->migratable; in trusted_update() 255 new_p->key_len = p->key_len; in trusted_update() 256 memcpy(new_p->key, p->key, p->key_len); in trusted_update() 258 dump_payload(new_p); in trusted_update() 263 kfree_sensitive(new_p); in trusted_update() [all …]
|