Home
last modified time | relevance | path

Searched refs:XCALLOC (Results 1 – 25 of 1223) sorted by relevance

12345678910>>...49

/dports/math/iml/iml-1.0.5/src/
H A Dnullspace.c80 P = XCALLOC(long, n + 1); in nullspaceLong()
81 rp = XCALLOC(long, n + 1); in nullspaceLong()
84 DA = XCALLOC(double, n * m); in nullspaceLong()
120 C = XCALLOC(long, r * r); in nullspaceLong()
225 P = XCALLOC(long, n + 1); in nullspaceMP()
226 rp = XCALLOC(long, n + 1); in nullspaceMP()
229 DA = XCALLOC(double, n * m); in nullspaceMP()
371 P = XCALLOC(long, n + 1); in kernelLong()
375 DA = XCALLOC(double, n * m); in kernelLong()
540 P = XCALLOC(long, n + 1); in kernelMP()
[all …]
/dports/net/frr7-pythontools/frr-frr-7.5.1/tests/lib/
H A Dtest_memory.c36 #undef XCALLOC
40 #define XCALLOC(T,S) calloc(1, (S))
83 a[0] = XCALLOC(MTYPE_TEST, 1024); in main()
85 a[1] = XCALLOC(MTYPE_TEST, 512); /* invalidate cache */ in main()
96 a[0] = XCALLOC(MTYPE_TEST, 1024); in main()
100 a[1] = XCALLOC(MTYPE_TEST, 1024); in main()
110 a[2] = XCALLOC(MTYPE_TEST, 512); in main()
/dports/net/frr7/frr-frr-7.5.1/tests/lib/
H A Dtest_memory.c36 #undef XCALLOC
40 #define XCALLOC(T,S) calloc(1, (S))
83 a[0] = XCALLOC(MTYPE_TEST, 1024); in main()
85 a[1] = XCALLOC(MTYPE_TEST, 512); /* invalidate cache */ in main()
96 a[0] = XCALLOC(MTYPE_TEST, 1024); in main()
100 a[1] = XCALLOC(MTYPE_TEST, 1024); in main()
110 a[2] = XCALLOC(MTYPE_TEST, 512); in main()
/dports/net/quagga/quagga-1.2.4/tests/
H A Dtest-memory.c34 #undef XCALLOC
38 #define XCALLOC(T,S) calloc(1, (S))
84 a[0] = XCALLOC (MTYPE_VTY, 1024); in main()
86 a[1] = XCALLOC (MTYPE_VTY, 512); /* invalidate cache */ in main()
98 a[0] = XCALLOC (MTYPE_VTY, 1024); in main()
102 a[1] = XCALLOC (MTYPE_VTY, 1024); in main()
112 a[2] = XCALLOC (MTYPE_VTY, 512); in main()
/dports/security/dropbear/dropbear-2020.81/libtomcrypt/src/pk/asn1/der/sequence/
H A Dder_decode_sequence_flexi.c58 *l = XCALLOC(1, sizeof(ltc_asn1_list)); in _new_element()
63 (*l)->next = XCALLOC(1, sizeof(ltc_asn1_list)); in _new_element()
135 l->data = XCALLOC(1, sizeof(int)); in der_decode_sequence_flexi()
170 if ((l->data = XCALLOC(1, l->size)) == NULL) { in der_decode_sequence_flexi()
190 if ((l->data = XCALLOC(1, l->size)) == NULL) { in der_decode_sequence_flexi()
253 if ((l->data = XCALLOC(sizeof(wchar_t), l->size)) == NULL) { in der_decode_sequence_flexi()
273 if ((l->data = XCALLOC(1, l->size)) == NULL) { in der_decode_sequence_flexi()
293 if ((l->data = XCALLOC(1, l->size)) == NULL) { in der_decode_sequence_flexi()
313 if ((l->data = XCALLOC(1, l->size)) == NULL) { in der_decode_sequence_flexi()
333 if ((l->data = XCALLOC(1, sizeof(ltc_utctime))) == NULL) { in der_decode_sequence_flexi()
[all …]
/dports/security/libtomcrypt/libtomcrypt-1.18.2/src/pk/asn1/der/sequence/
H A Dder_decode_sequence_flexi.c58 *l = XCALLOC(1, sizeof(ltc_asn1_list)); in _new_element()
63 (*l)->next = XCALLOC(1, sizeof(ltc_asn1_list)); in _new_element()
135 l->data = XCALLOC(1, sizeof(int)); in der_decode_sequence_flexi()
170 if ((l->data = XCALLOC(1, l->size)) == NULL) { in der_decode_sequence_flexi()
190 if ((l->data = XCALLOC(1, l->size)) == NULL) { in der_decode_sequence_flexi()
253 if ((l->data = XCALLOC(sizeof(wchar_t), l->size)) == NULL) { in der_decode_sequence_flexi()
273 if ((l->data = XCALLOC(1, l->size)) == NULL) { in der_decode_sequence_flexi()
293 if ((l->data = XCALLOC(1, l->size)) == NULL) { in der_decode_sequence_flexi()
313 if ((l->data = XCALLOC(1, l->size)) == NULL) { in der_decode_sequence_flexi()
333 if ((l->data = XCALLOC(1, sizeof(ltc_utctime))) == NULL) { in der_decode_sequence_flexi()
[all …]
/dports/security/p5-CryptX/CryptX-0.075/src/ltc/pk/asn1/der/sequence/
H A Dder_decode_sequence_flexi.c16 *l = XCALLOC(1, sizeof(ltc_asn1_list)); in s_new_element()
21 (*l)->next = XCALLOC(1, sizeof(ltc_asn1_list)); in s_new_element()
133 l->data = XCALLOC(1, sizeof(int)); in s_der_decode_sequence_flexi()
176 if ((l->data = XCALLOC(1, l->size)) == NULL) { in s_der_decode_sequence_flexi()
199 if ((l->data = XCALLOC(1, l->size)) == NULL) { in s_der_decode_sequence_flexi()
271 if ((l->data = XCALLOC(sizeof(wchar_t), l->size)) == NULL) { in s_der_decode_sequence_flexi()
294 if ((l->data = XCALLOC(1, l->size)) == NULL) { in s_der_decode_sequence_flexi()
317 if ((l->data = XCALLOC(1, l->size)) == NULL) { in s_der_decode_sequence_flexi()
340 if ((l->data = XCALLOC(1, l->size)) == NULL) { in s_der_decode_sequence_flexi()
363 if ((l->data = XCALLOC(1, sizeof(ltc_utctime))) == NULL) { in s_der_decode_sequence_flexi()
[all …]
/dports/games/wargus/wargus-3.2.0/StormLib/src/libtomcrypt/src/pk/asn1/
H A Dder_decode_sequence_flexi.c90 l = XCALLOC(1, sizeof(*l)); in der_decode_sequence_flexi()
96 l->next = XCALLOC(1, sizeof(*l)); in der_decode_sequence_flexi()
110 l->data = XCALLOC(1, sizeof(int)); in der_decode_sequence_flexi()
145 if ((l->data = XCALLOC(1, l->size)) == NULL) { in der_decode_sequence_flexi()
165 if ((l->data = XCALLOC(1, l->size)) == NULL) { in der_decode_sequence_flexi()
201 if ((l->data = XCALLOC(len, sizeof(unsigned long))) == NULL) { in der_decode_sequence_flexi()
228 if ((l->data = XCALLOC(sizeof(wchar_t), l->size)) == NULL) { in der_decode_sequence_flexi()
248 if ((l->data = XCALLOC(1, l->size)) == NULL) { in der_decode_sequence_flexi()
268 if ((l->data = XCALLOC(1, l->size)) == NULL) { in der_decode_sequence_flexi()
288 if ((l->data = XCALLOC(1, sizeof(ltc_utctime))) == NULL) { in der_decode_sequence_flexi()
/dports/net/frr7-pythontools/frr-frr-7.5.1/tools/coccinelle/
H A Dalloc_cast.cocci2 /// 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\)(...)
H A Dxmalloc_returnval.cocci1 /// XMALLOC, XCALLOC etc either return non-null, or abort the program.
29 alloc = XCALLOC(...);
/dports/net/frr7/frr-frr-7.5.1/tools/coccinelle/
H A Dalloc_cast.cocci2 /// 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\)(...)
H A Dxmalloc_returnval.cocci1 /// XMALLOC, XCALLOC etc either return non-null, or abort the program.
29 alloc = XCALLOC(...);
/dports/cad/ngspice_rework/ngspice-35/src/ciderlib/support/
H A Dsuprem.c76 XCALLOC(tmpTable, DOPtable, 1); in readAsciiData()
183 XCALLOC(tmpTable, DOPtable, 1); in readSupremData()
217 XCALLOC(p, double *, 2); in alloc_profile_data()
218 XCALLOC(p[0], double, n); in alloc_profile_data()
219 XCALLOC(p[1], double, n); in alloc_profile_data()
/dports/net/frr7/frr-frr-7.5.1/lib/
H A Dvector.c32 vector v = XCALLOC(MTYPE_VECTOR, sizeof(struct _vector)); in vector_init()
40 v->index = XCALLOC(MTYPE_VECTOR_INDEX, sizeof(void *) * size); in vector_init()
53 vector new = XCALLOC(MTYPE_VECTOR, sizeof(struct _vector)); in vector_copy()
59 new->index = XCALLOC(MTYPE_VECTOR_INDEX, size); in vector_copy()
208 *dest = XCALLOC(MTYPE_TMP, sizeof(void *) * v->active); in vector_to_array()
/dports/net/frr7-pythontools/frr-frr-7.5.1/lib/
H A Dvector.c32 vector v = XCALLOC(MTYPE_VECTOR, sizeof(struct _vector)); in vector_init()
40 v->index = XCALLOC(MTYPE_VECTOR_INDEX, sizeof(void *) * size); in vector_init()
53 vector new = XCALLOC(MTYPE_VECTOR, sizeof(struct _vector)); in vector_copy()
59 new->index = XCALLOC(MTYPE_VECTOR_INDEX, size); in vector_copy()
208 *dest = XCALLOC(MTYPE_TMP, sizeof(void *) * v->active); in vector_to_array()
/dports/net/quagga/quagga-1.2.4/lib/
H A Dvector.c31 vector v = XCALLOC (MTYPE_VECTOR, sizeof (struct _vector)); in vector_init()
39 v->index = XCALLOC (MTYPE_VECTOR_INDEX, sizeof (void *) * size); in vector_init()
66 vector new = XCALLOC (MTYPE_VECTOR, sizeof (struct _vector)); in vector_copy()
72 new->index = XCALLOC (MTYPE_VECTOR_INDEX, size); in vector_copy()
/dports/cad/ngspice_rework/ngspice-35/src/ciderlib/twod/
H A Dtwomesh.c48 XCALLOC(nodeArray, TWOnode **, 1 + numXNodes); in TWObuildMesh()
50 XCALLOC(nodeArray[xIndex], TWOnode *, 1 + numYNodes); in TWObuildMesh()
56 XCALLOC(pNode, TWOnode, 1); in TWObuildMesh()
159 XCALLOC(edgeArrayH, TWOedge **, numXNodes); in TWObuildMesh()
161 XCALLOC(edgeArrayH[xIndex], TWOedge *, 1 + numYNodes); in TWObuildMesh()
169 XCALLOC(pEdge, TWOedge, 1); in TWObuildMesh()
177 XCALLOC(edgeArrayV, TWOedge **, 1 + numXNodes); in TWObuildMesh()
179 XCALLOC(edgeArrayV[xIndex], TWOedge *, numYNodes); in TWObuildMesh()
187 XCALLOC(pEdge, TWOedge, 1); in TWObuildMesh()
208 XCALLOC(pElem, TWOelem, 1); in TWObuildMesh()
[all …]
/dports/net/frr7-pythontools/frr-frr-7.5.1/isisd/
H A Disis_tlvs.c732 adj = XCALLOC(MTYPE_ISIS_SUBTLV, in unpack_item_ext_subtlvs()
760 lan = XCALLOC(MTYPE_ISIS_SUBTLV, in unpack_item_ext_subtlvs()
1151 rv = XCALLOC(MTYPE_ISIS_TLV, sizeof(*rv)); in unpack_item_area_address()
1464 rv = XCALLOC(MTYPE_ISIS_TLV, sizeof(*rv)); in unpack_item_extended_reach()
1502 XCALLOC(MTYPE_ISIS_TLV, sizeof(*rv)); in copy_item_oldstyle_ip_reach()
1559 XCALLOC(MTYPE_ISIS_TLV, sizeof(*rv)); in unpack_item_oldstyle_ip_reach()
1927 XCALLOC(MTYPE_ISIS_TLV, sizeof(*rv)); in copy_item_extended_ip_reach()
4220 XCALLOC(MTYPE_ISIS_TLV, sizeof(*a)); in isis_tlvs_add_area_addresses()
4235 XCALLOC(MTYPE_ISIS_TLV, sizeof(*n)); in isis_tlvs_add_lan_neighbors()
4249 XCALLOC(MTYPE_ISIS_TLV, nlpids->count); in isis_tlvs_set_protocols_supported()
[all …]
/dports/net/frr7/frr-frr-7.5.1/isisd/
H A Disis_tlvs.c732 adj = XCALLOC(MTYPE_ISIS_SUBTLV, in unpack_item_ext_subtlvs()
760 lan = XCALLOC(MTYPE_ISIS_SUBTLV, in unpack_item_ext_subtlvs()
1151 rv = XCALLOC(MTYPE_ISIS_TLV, sizeof(*rv)); in unpack_item_area_address()
1464 rv = XCALLOC(MTYPE_ISIS_TLV, sizeof(*rv)); in unpack_item_extended_reach()
1502 XCALLOC(MTYPE_ISIS_TLV, sizeof(*rv)); in copy_item_oldstyle_ip_reach()
1559 XCALLOC(MTYPE_ISIS_TLV, sizeof(*rv)); in unpack_item_oldstyle_ip_reach()
1927 XCALLOC(MTYPE_ISIS_TLV, sizeof(*rv)); in copy_item_extended_ip_reach()
4220 XCALLOC(MTYPE_ISIS_TLV, sizeof(*a)); in isis_tlvs_add_area_addresses()
4235 XCALLOC(MTYPE_ISIS_TLV, sizeof(*n)); in isis_tlvs_add_lan_neighbors()
4249 XCALLOC(MTYPE_ISIS_TLV, nlpids->count); in isis_tlvs_set_protocols_supported()
[all …]
/dports/net/frr7-pythontools/frr-frr-7.5.1/bgpd/
H A Dbgp_labelpool.c276 struct lp_lcb *new = XCALLOC(MTYPE_BGP_LABEL_CB, in lcb_alloc()
351 q = XCALLOC(MTYPE_BGP_LABEL_CBQ, sizeof(struct lp_cbq_item)); in bgp_lp_get()
383 struct lp_fifo *lf = XCALLOC(MTYPE_BGP_LABEL_FIFO, in bgp_lp_get()
437 chunk = XCALLOC(MTYPE_BGP_LABEL_CHUNK, sizeof(struct lp_chunk)); in bgp_lp_event_chunk()
498 struct lp_cbq_item *q = XCALLOC(MTYPE_BGP_LABEL_CBQ, in bgp_lp_event_chunk()
582 q = XCALLOC(MTYPE_BGP_LABEL_CBQ, in bgp_lp_event_zebra_up()
598 struct lp_fifo *lf = XCALLOC(MTYPE_BGP_LABEL_FIFO, in bgp_lp_event_zebra_up()
H A Dbgp_advertise.c48 return XCALLOC(MTYPE_BGP_ADVERTISE_ATTR, in baa_new()
87 return XCALLOC(MTYPE_BGP_ADVERTISE, sizeof(struct bgp_advertise)); in bgp_advertise_new()
195 adj = XCALLOC(MTYPE_BGP_ADJ_IN, sizeof(struct bgp_adj_in)); in bgp_adj_in_set()
244 sync = XCALLOC(MTYPE_BGP_SYNCHRONISE, in bgp_sync_init()
/dports/net/frr7/frr-frr-7.5.1/bgpd/
H A Dbgp_labelpool.c276 struct lp_lcb *new = XCALLOC(MTYPE_BGP_LABEL_CB, in lcb_alloc()
351 q = XCALLOC(MTYPE_BGP_LABEL_CBQ, sizeof(struct lp_cbq_item)); in bgp_lp_get()
383 struct lp_fifo *lf = XCALLOC(MTYPE_BGP_LABEL_FIFO, in bgp_lp_get()
437 chunk = XCALLOC(MTYPE_BGP_LABEL_CHUNK, sizeof(struct lp_chunk)); in bgp_lp_event_chunk()
498 struct lp_cbq_item *q = XCALLOC(MTYPE_BGP_LABEL_CBQ, in bgp_lp_event_chunk()
582 q = XCALLOC(MTYPE_BGP_LABEL_CBQ, in bgp_lp_event_zebra_up()
598 struct lp_fifo *lf = XCALLOC(MTYPE_BGP_LABEL_FIFO, in bgp_lp_event_zebra_up()
/dports/converters/tnef/tnef-1.4.12/src/
H A Dtnef.c133 files = (File**)XCALLOC(File*, count + 1); in get_body_files()
136 files[i] = (File*)XCALLOC(File, 1); in get_body_files()
151 VarLenData **body = XCALLOC(VarLenData*, 2); in get_text_data()
153 body[0] = XCALLOC(VarLenData, 1); in get_text_data()
163 VarLenData **body = XCALLOC(VarLenData*, a->num_values + 1); in get_html_data()
/dports/print/texlive-base/texlive-20150521-source/texk/ttfdump/libttf/
H A Dgcache.c113 font->gcache = XCALLOC (font->numCacheElements+1, GlyphCache); in ttfInitGlyphCache()
207 font->gcache->glyf.endPtsOfContours = XCALLOC (numCache*maxContours, USHORT); in ttfAllocCacheData()
208 font->gcache->glyf.instructions = XCALLOC (numCache*insLength, BYTE); in ttfAllocCacheData()
209 font->gcache->glyf.flags = XCALLOC (numCache*maxPoints, BYTE); in ttfAllocCacheData()
210 font->gcache->glyf.xCoordinates = XCALLOC (numCache*maxPoints, SHORT); in ttfAllocCacheData()
211 font->gcache->glyf.yCoordinates = XCALLOC (numCache*maxPoints, SHORT); in ttfAllocCacheData()
H A Dgstate.c32 font->vm.Stack = XCALLOC (font->maxp->maxStackElements, LONG); in ttfInitStack()
37 font->vm.StorageArea = XCALLOC (font->maxp->maxStorage, LONG); in ttfInitStorageArea()

12345678910>>...49