Home
last modified time | relevance | path

Searched refs:tmp_marker (Results 1 – 6 of 6) sorted by relevance

/netbsd-src/external/lgpl3/mpfr/dist/src/
H A Dmpfr-gmp.c341 mpfr_tmp_allocate (struct tmp_marker **tmp_marker, size_t size) in mpfr_tmp_allocate() argument
343 struct tmp_marker *head; in mpfr_tmp_allocate()
345 head = (struct tmp_marker *) in mpfr_tmp_allocate()
346 mpfr_allocate_func (sizeof (struct tmp_marker)); in mpfr_tmp_allocate()
349 head->next = *tmp_marker; in mpfr_tmp_allocate()
350 *tmp_marker = head; in mpfr_tmp_allocate()
355 mpfr_tmp_free (struct tmp_marker *tmp_marker) in mpfr_tmp_free() argument
357 struct tmp_marker *t; in mpfr_tmp_free()
359 while (tmp_marker != NULL) in mpfr_tmp_free()
361 t = tmp_marker; in mpfr_tmp_free()
[all …]
H A Dmpfr-gmp.h276 struct tmp_marker
280 struct tmp_marker *next;
283 __MPFR_DECLSPEC void *mpfr_tmp_allocate (struct tmp_marker **,
285 __MPFR_DECLSPEC void mpfr_tmp_free (struct tmp_marker *);
331 alloca (n) : mpfr_tmp_allocate (&tmp_marker, (n)))
335 #define TMP_ALLOC(n) (mpfr_tmp_allocate (&tmp_marker, (n)))
339 #define TMP_DECL(m) struct tmp_marker *tmp_marker
341 #define TMP_MARK(m) (tmp_marker = 0)
346 (MPFR_LIKELY (tmp_marker == NULL) ? (void) 0 : mpfr_tmp_free (tmp_marker))
/netbsd-src/external/lgpl3/gmp/dist/
H A Dtal-notreent.c109 __gmp_tmp_mark (struct tmp_marker *mark) in __gmp_tmp_mark()
117 __gmp_tmp_free (struct tmp_marker *mark) in __gmp_tmp_free()
H A Dgmp-impl.h406 struct tmp_marker struct
412 __GMP_DECLSPEC void __gmp_tmp_mark (struct tmp_marker *); argument
413 __GMP_DECLSPEC void __gmp_tmp_free (struct tmp_marker *);
415 #define TMP_DECL struct tmp_marker __tmp_marker
H A DChangeLog14074 * tal-notreent.c (__gmp_tmp_mark): Add "struct" tag for tmp_marker.
/netbsd-src/external/lgpl3/mpfr/dist/
H A DChangeLog19954 [src/mpfr-gmp.h] TMP_FREE optimization as tmp_marker is often null