/dports/net/frr7-pythontools/frr-frr-7.5.1/tests/lib/ |
H A D | test_memory.c | 35 #undef XMALLOC 39 #define XMALLOC(T,S) malloc((S)) 55 a[0] = XMALLOC(MTYPE_TEST, 1024); in main() 57 a[1] = XMALLOC(MTYPE_TEST, 1024); in main() 60 a[0] = XMALLOC(MTYPE_TEST, in main() 69 a[0] = XMALLOC(MTYPE_TEST, 512); in main() 71 a[1] = XMALLOC(MTYPE_TEST, 1024); /* invalidate cache */ in main() 74 a[0] = XMALLOC(MTYPE_TEST, 1024); in main()
|
/dports/net/frr7/frr-frr-7.5.1/tests/lib/ |
H A D | test_memory.c | 35 #undef XMALLOC 39 #define XMALLOC(T,S) malloc((S)) 55 a[0] = XMALLOC(MTYPE_TEST, 1024); in main() 57 a[1] = XMALLOC(MTYPE_TEST, 1024); in main() 60 a[0] = XMALLOC(MTYPE_TEST, in main() 69 a[0] = XMALLOC(MTYPE_TEST, 512); in main() 71 a[1] = XMALLOC(MTYPE_TEST, 1024); /* invalidate cache */ in main() 74 a[0] = XMALLOC(MTYPE_TEST, 1024); in main()
|
/dports/net/quagga/quagga-1.2.4/tests/ |
H A D | test-memory.c | 33 #undef XMALLOC 37 #define XMALLOC(T,S) malloc((S)) 55 a[0] = XMALLOC (MTYPE_VTY, 1024); in main() 57 a[1] = XMALLOC (MTYPE_VTY, 1024); in main() 60 a[0] = XMALLOC (MTYPE_VTY, 1024); /* should be satisfied from cache */ in main() 69 a[0] = XMALLOC (MTYPE_VTY, 512); in main() 71 a[1] = XMALLOC (MTYPE_VTY, 1024); /* invalidate cache */ in main() 74 a[0] = XMALLOC (MTYPE_VTY, 1024); in main()
|
H A D | test-timer-correctness.c | 122 log_buf = XMALLOC(MTYPE_TMP, log_buf_len); in main() 126 expected_buf = XMALLOC(MTYPE_TMP, expected_buf_len); in main() 130 timers = XMALLOC(MTYPE_TMP, SCHEDULE_TIMERS * sizeof(*timers)); in main() 140 arg = XMALLOC(MTYPE_TMP, TIMESTR_LEN + 1); in main() 169 alarms = XMALLOC(MTYPE_TMP, timers_pending * sizeof(*alarms)); in main()
|
/dports/math/iml/iml-1.0.5/src/ |
H A D | certsolve.c | 209 P = XMALLOC(long, n+1); in certSolveLong() 267 mp_b1 = XMALLOC(mpz_t, n); in certSolveLong() 271 C = XMALLOC(long, r*m); in certSolveLong() 389 mp_Nu = XMALLOC(mpz_t, r); in certSolveLong() 391 A11 = XMALLOC(long, r*r); in certSolveLong() 703 C = XMALLOC(long, r*m); in certSolveRedLong() 1812 At = XMALLOC(long, m); in revseq() 2191 P = XMALLOC(long, n+1); in specialminSolveLong() 2192 rp = XMALLOC(long, n+1); in specialminSolveLong() 2606 P = XMALLOC(long, n+1); in specialminSolveRNS() [all …]
|
H A D | padiclift.c | 144 *ARNS = XMALLOC(Double *, len); in liftInit() 148 (*ARNS)[i] = XMALLOC(Double, n*n); in liftInit() 253 *ARNS = XMALLOC(Double *, len); in liftInitLlhs() 256 (*ARNS)[i] = XMALLOC(Double, n*n); in liftInitLlhs() 368 *AExtRNS = XMALLOC(Double *, len); in liftInitRNS() 372 (*AExtRNS)[i] = XMALLOC(Double, n*n); in liftInitRNS() 462 C = XMALLOC(Double **, k); in iml_lift() 467 C[i][j] = XMALLOC(Double, m*n); in iml_lift() 475 dtemp = XMALLOC(Double, m*n); in iml_lift() 476 dtemp1 = XMALLOC(Double, extbasislen); in iml_lift() [all …]
|
/dports/x11/foot/foot/ |
H A D | xmalloc.h | 8 void *xmalloc(size_t size) XMALLOC; 9 void *xcalloc(size_t nmemb, size_t size) XMALLOC; 13 char *xasprintf(const char *format, ...) PRINTF(1) XMALLOC; 14 char *xvasprintf(const char *format, va_list va) VPRINTF(1) XMALLOC;
|
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gdb/gdb/ |
H A D | reggroups.c | 43 struct reggroup *group = XMALLOC (struct reggroup); in reggroup_new() 274 add_group (&default_groups, general_reggroup, XMALLOC (struct reggroup_el)); in _initialize_reggroup() 275 add_group (&default_groups, float_reggroup, XMALLOC (struct reggroup_el)); in _initialize_reggroup() 276 add_group (&default_groups, system_reggroup, XMALLOC (struct reggroup_el)); in _initialize_reggroup() 277 add_group (&default_groups, vector_reggroup, XMALLOC (struct reggroup_el)); in _initialize_reggroup() 278 add_group (&default_groups, all_reggroup, XMALLOC (struct reggroup_el)); in _initialize_reggroup() 279 add_group (&default_groups, save_reggroup, XMALLOC (struct reggroup_el)); in _initialize_reggroup() 280 add_group (&default_groups, restore_reggroup, XMALLOC (struct reggroup_el)); in _initialize_reggroup()
|
H A D | gdb-events.c | 208 struct event *event = XMALLOC (struct event); in queue_breakpoint_create() 217 struct event *event = XMALLOC (struct event); in queue_breakpoint_delete() 226 struct event *event = XMALLOC (struct event); in queue_breakpoint_modify() 235 struct event *event = XMALLOC (struct event); in queue_tracepoint_create() 244 struct event *event = XMALLOC (struct event); in queue_tracepoint_delete() 253 struct event *event = XMALLOC (struct event); in queue_tracepoint_modify() 262 struct event *event = XMALLOC (struct event); in queue_architecture_changed()
|
/dports/devel/avr-gdb/gdb-7.3.1/gdb/ |
H A D | reggroups.c | 43 struct reggroup *group = XMALLOC (struct reggroup); in reggroup_new() 281 add_group (&default_groups, general_reggroup, XMALLOC (struct reggroup_el)); in _initialize_reggroup() 282 add_group (&default_groups, float_reggroup, XMALLOC (struct reggroup_el)); in _initialize_reggroup() 283 add_group (&default_groups, system_reggroup, XMALLOC (struct reggroup_el)); in _initialize_reggroup() 284 add_group (&default_groups, vector_reggroup, XMALLOC (struct reggroup_el)); in _initialize_reggroup() 285 add_group (&default_groups, all_reggroup, XMALLOC (struct reggroup_el)); in _initialize_reggroup() 286 add_group (&default_groups, save_reggroup, XMALLOC (struct reggroup_el)); in _initialize_reggroup() 287 add_group (&default_groups, restore_reggroup, XMALLOC (struct reggroup_el)); in _initialize_reggroup()
|
/dports/devel/gdb761/gdb-7.6.1/gdb/ |
H A D | reggroups.c | 42 struct reggroup *group = XMALLOC (struct reggroup); in reggroup_new() 280 add_group (&default_groups, general_reggroup, XMALLOC (struct reggroup_el)); in _initialize_reggroup() 281 add_group (&default_groups, float_reggroup, XMALLOC (struct reggroup_el)); in _initialize_reggroup() 282 add_group (&default_groups, system_reggroup, XMALLOC (struct reggroup_el)); in _initialize_reggroup() 283 add_group (&default_groups, vector_reggroup, XMALLOC (struct reggroup_el)); in _initialize_reggroup() 284 add_group (&default_groups, all_reggroup, XMALLOC (struct reggroup_el)); in _initialize_reggroup() 285 add_group (&default_groups, save_reggroup, XMALLOC (struct reggroup_el)); in _initialize_reggroup() 286 add_group (&default_groups, restore_reggroup, XMALLOC (struct reggroup_el)); in _initialize_reggroup()
|
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gdb/gdb/ |
H A D | reggroups.c | 43 struct reggroup *group = XMALLOC (struct reggroup); in reggroup_new() 274 add_group (&default_groups, general_reggroup, XMALLOC (struct reggroup_el)); in _initialize_reggroup() 275 add_group (&default_groups, float_reggroup, XMALLOC (struct reggroup_el)); in _initialize_reggroup() 276 add_group (&default_groups, system_reggroup, XMALLOC (struct reggroup_el)); in _initialize_reggroup() 277 add_group (&default_groups, vector_reggroup, XMALLOC (struct reggroup_el)); in _initialize_reggroup() 278 add_group (&default_groups, all_reggroup, XMALLOC (struct reggroup_el)); in _initialize_reggroup() 279 add_group (&default_groups, save_reggroup, XMALLOC (struct reggroup_el)); in _initialize_reggroup() 280 add_group (&default_groups, restore_reggroup, XMALLOC (struct reggroup_el)); in _initialize_reggroup()
|
H A D | gdb-events.c | 208 struct event *event = XMALLOC (struct event); in queue_breakpoint_create() 217 struct event *event = XMALLOC (struct event); in queue_breakpoint_delete() 226 struct event *event = XMALLOC (struct event); in queue_breakpoint_modify() 235 struct event *event = XMALLOC (struct event); in queue_tracepoint_create() 244 struct event *event = XMALLOC (struct event); in queue_tracepoint_delete() 253 struct event *event = XMALLOC (struct event); in queue_tracepoint_modify() 262 struct event *event = XMALLOC (struct event); in queue_architecture_changed()
|
/dports/net/frr7-pythontools/frr-frr-7.5.1/tools/coccinelle/ |
H A D | alloc_cast.cocci | 2 /// like XMALLOC and XCALLOC. 5 // XMALLOC and XCALLOC and removes the casting as it is not required. The 32 \(XMALLOC\|XCALLOC\)(...) 50 \(XMALLOC\|XCALLOC\)(...) 68 \(XMALLOC\|XCALLOC\)(...) 80 \(XMALLOC\|XCALLOC\)(...)
|
/dports/net/frr7/frr-frr-7.5.1/tools/coccinelle/ |
H A D | alloc_cast.cocci | 2 /// like XMALLOC and XCALLOC. 5 // XMALLOC and XCALLOC and removes the casting as it is not required. The 32 \(XMALLOC\|XCALLOC\)(...) 50 \(XMALLOC\|XCALLOC\)(...) 68 \(XMALLOC\|XCALLOC\)(...) 80 \(XMALLOC\|XCALLOC\)(...)
|
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/3rdparty/autotrace/ |
H A D | xstd.h | 18 #define XMALLOC(new_mem, size) \ macro 38 XMALLOC (new_mem, size); \ 50 #define XMALLOC(new_mem, size) \ macro 70 XMALLOC (new_mem, (size)); \
|
/dports/graphics/autotrace/autotrace-0.31.1/ |
H A D | xstd.h | 20 #define XMALLOC(new_mem, size) \ macro 42 XMALLOC (new_mem, size); \ 55 #define XMALLOC(new_mem, size) \ macro 76 XMALLOC (new_mem, (size)); \
|
/dports/devel/libmatheval/libmatheval-1.1.11/lib/ |
H A D | matheval.c | 69 stringn = XMALLOC(char, strlen(string) + 2); in evaluator_create() 97 evaluator = XMALLOC(Evaluator, 1); in evaluator_create() 153 XMALLOC(char, length + 1); in evaluator_get_string() 181 XMALLOC(Record *, ((Evaluator *) evaluator)->count); in evaluator_get_variables() 186 XMALLOC(char *, ((Evaluator *) evaluator)->count); in evaluator_get_variables() 205 derivative = XMALLOC(Evaluator, 1); in evaluator_derivative()
|
/dports/security/wolfssl/wolfssl-5.1.0/src/ |
H A D | ocsp.c | 152 ocspRequest = (OcspRequest*)XMALLOC(sizeof(OcspRequest), NULL, in CheckCertOCSP_ex() 200 *entry = (OcspEntry*)XMALLOC(sizeof(OcspEntry), in GetOcspEntry() 254 responseBuffer->buffer = (byte*)XMALLOC( in GetOcspStatus() 299 newStatus = (CertStatus*)XMALLOC(sizeof(CertStatus), NULL, in CheckOcspResponse() 301 newSingle = (OcspEntry*)XMALLOC(sizeof(OcspEntry), NULL, in CheckOcspResponse() 368 status = (CertStatus*)XMALLOC(sizeof(CertStatus), in CheckOcspResponse() 622 certStatus = (CertStatus*)XMALLOC(sizeof(CertStatus), NULL, in wolfSSL_OCSP_cert_to_id() 878 bs->single = (OcspEntry*)XMALLOC(sizeof(OcspEntry), NULL, in wolfSSL_OCSP_response_get1_basic() 899 request = (OcspRequest*)XMALLOC(sizeof(OcspRequest), NULL, in wolfSSL_OCSP_REQUEST_new() 935 req->serial = (byte*)XMALLOC(cid->status->serialSz, in wolfSSL_OCSP_request_add0_id() [all …]
|
/dports/databases/mariadb105-client/mariadb-10.5.15/extra/wolfssl/wolfssl/src/ |
H A D | ocsp.c | 152 ocspRequest = (OcspRequest*)XMALLOC(sizeof(OcspRequest), NULL, in CheckCertOCSP_ex() 200 *entry = (OcspEntry*)XMALLOC(sizeof(OcspEntry), in GetOcspEntry() 254 responseBuffer->buffer = (byte*)XMALLOC( in GetOcspStatus() 299 newStatus = (CertStatus*)XMALLOC(sizeof(CertStatus), NULL, in CheckOcspResponse() 301 newSingle = (OcspEntry*)XMALLOC(sizeof(OcspEntry), NULL, in CheckOcspResponse() 368 status = (CertStatus*)XMALLOC(sizeof(CertStatus), in CheckOcspResponse() 622 certStatus = (CertStatus*)XMALLOC(sizeof(CertStatus), NULL, in wolfSSL_OCSP_cert_to_id() 878 bs->single = (OcspEntry*)XMALLOC(sizeof(OcspEntry), NULL, in wolfSSL_OCSP_response_get1_basic() 899 request = (OcspRequest*)XMALLOC(sizeof(OcspRequest), NULL, in wolfSSL_OCSP_REQUEST_new() 935 req->serial = (byte*)XMALLOC(cid->status->serialSz, in wolfSSL_OCSP_request_add0_id() [all …]
|
/dports/databases/mariadb104-server/mariadb-10.4.24/extra/wolfssl/wolfssl/src/ |
H A D | ocsp.c | 152 ocspRequest = (OcspRequest*)XMALLOC(sizeof(OcspRequest), NULL, in CheckCertOCSP_ex() 200 *entry = (OcspEntry*)XMALLOC(sizeof(OcspEntry), in GetOcspEntry() 254 responseBuffer->buffer = (byte*)XMALLOC( in GetOcspStatus() 299 newStatus = (CertStatus*)XMALLOC(sizeof(CertStatus), NULL, in CheckOcspResponse() 301 newSingle = (OcspEntry*)XMALLOC(sizeof(OcspEntry), NULL, in CheckOcspResponse() 368 status = (CertStatus*)XMALLOC(sizeof(CertStatus), in CheckOcspResponse() 622 certStatus = (CertStatus*)XMALLOC(sizeof(CertStatus), NULL, in wolfSSL_OCSP_cert_to_id() 878 bs->single = (OcspEntry*)XMALLOC(sizeof(OcspEntry), NULL, in wolfSSL_OCSP_response_get1_basic() 899 request = (OcspRequest*)XMALLOC(sizeof(OcspRequest), NULL, in wolfSSL_OCSP_REQUEST_new() 935 req->serial = (byte*)XMALLOC(cid->status->serialSz, in wolfSSL_OCSP_request_add0_id() [all …]
|
/dports/databases/mariadb104-client/mariadb-10.4.24/extra/wolfssl/wolfssl/src/ |
H A D | ocsp.c | 152 ocspRequest = (OcspRequest*)XMALLOC(sizeof(OcspRequest), NULL, in CheckCertOCSP_ex() 200 *entry = (OcspEntry*)XMALLOC(sizeof(OcspEntry), in GetOcspEntry() 254 responseBuffer->buffer = (byte*)XMALLOC( in GetOcspStatus() 299 newStatus = (CertStatus*)XMALLOC(sizeof(CertStatus), NULL, in CheckOcspResponse() 301 newSingle = (OcspEntry*)XMALLOC(sizeof(OcspEntry), NULL, in CheckOcspResponse() 368 status = (CertStatus*)XMALLOC(sizeof(CertStatus), in CheckOcspResponse() 622 certStatus = (CertStatus*)XMALLOC(sizeof(CertStatus), NULL, in wolfSSL_OCSP_cert_to_id() 878 bs->single = (OcspEntry*)XMALLOC(sizeof(OcspEntry), NULL, in wolfSSL_OCSP_response_get1_basic() 899 request = (OcspRequest*)XMALLOC(sizeof(OcspRequest), NULL, in wolfSSL_OCSP_REQUEST_new() 935 req->serial = (byte*)XMALLOC(cid->status->serialSz, in wolfSSL_OCSP_request_add0_id() [all …]
|
/dports/databases/mariadb105-server/mariadb-10.5.15/extra/wolfssl/wolfssl/src/ |
H A D | ocsp.c | 152 ocspRequest = (OcspRequest*)XMALLOC(sizeof(OcspRequest), NULL, in CheckCertOCSP_ex() 200 *entry = (OcspEntry*)XMALLOC(sizeof(OcspEntry), in GetOcspEntry() 254 responseBuffer->buffer = (byte*)XMALLOC( in GetOcspStatus() 299 newStatus = (CertStatus*)XMALLOC(sizeof(CertStatus), NULL, in CheckOcspResponse() 301 newSingle = (OcspEntry*)XMALLOC(sizeof(OcspEntry), NULL, in CheckOcspResponse() 368 status = (CertStatus*)XMALLOC(sizeof(CertStatus), in CheckOcspResponse() 622 certStatus = (CertStatus*)XMALLOC(sizeof(CertStatus), NULL, in wolfSSL_OCSP_cert_to_id() 878 bs->single = (OcspEntry*)XMALLOC(sizeof(OcspEntry), NULL, in wolfSSL_OCSP_response_get1_basic() 899 request = (OcspRequest*)XMALLOC(sizeof(OcspRequest), NULL, in wolfSSL_OCSP_REQUEST_new() 935 req->serial = (byte*)XMALLOC(cid->status->serialSz, in wolfSSL_OCSP_request_add0_id() [all …]
|
/dports/news/newsstar/newsstar-1.5.6/src/ |
H A D | xpat.c | 27 XPatExpression *expr = XMALLOC(sizeof(XPatExpression)); in xpat_expression_new() 38 XPatExpressions *exprs = XMALLOC(sizeof(XPatExpressions)); in xpat_expressions_new() 48 XPatArticles *xparts = XMALLOC(sizeof(XPatArticles)); in xpat_articles_new()
|
/dports/devel/gettext-tools/gettext-0.21/gettext-tools/src/ |
H A D | cldr-plural.y | 44 XMALLOC (struct cldr_plural_rule_ty); in new_rule() 54 XMALLOC (struct cldr_plural_condition_ty); in new_leaf_condition() 66 XMALLOC (struct cldr_plural_condition_ty); in new_branch_condition() 79 XMALLOC (struct cldr_plural_relation_ty); in new_relation() 90 XMALLOC (struct cldr_plural_expression_ty); in new_expression() 116 XMALLOC (struct cldr_plural_range_ty); in new_range() 226 XMALLOC (struct cldr_plural_range_list_ty); 357 lval->oval = XMALLOC (struct cldr_plural_operand_ty);
|