PLASMA
2.4.5
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
|
Go to the source code of this file.
Data Structures | |
struct | icl_list_s |
Macros | |
#define | icl_list_foreach(list, ptr) for (ptr = icl_list_first(list); ptr != NULL; ptr = icl_list_next(list, ptr)) |
Typedefs | |
typedef struct icl_list_s | icl_list_t |
Functions | |
icl_list_t * | icl_list_new () |
icl_list_t * | icl_list_insert (icl_list_t *, icl_list_t *, void *) |
icl_list_t * | icl_list_search (icl_list_t *, void *, int(*)(void *, void *)) |
icl_list_t * | icl_list_first (icl_list_t *) |
icl_list_t * | icl_list_last (icl_list_t *) |
icl_list_t * | icl_list_next (icl_list_t *, icl_list_t *) |
icl_list_t * | icl_list_prev (icl_list_t *, icl_list_t *) |
icl_list_t * | icl_list_concat (icl_list_t *, icl_list_t *) |
icl_list_t * | icl_list_prepend (icl_list_t *, void *) |
icl_list_t * | icl_list_append (icl_list_t *, void *) |
int | icl_list_delete (icl_list_t *, icl_list_t *, void(*)(void *)) |
int | icl_list_destroy (icl_list_t *, void(*)(void *)) |
int | icl_list_size (icl_list_t *) |
Header file for the icl_list routines.
Definition in file icl_list.h.
#define icl_list_foreach | ( | list, | |
ptr | |||
) | for (ptr = icl_list_first(list); ptr != NULL; ptr = icl_list_next(list, ptr)) |
Definition at line 42 of file icl_list.h.
typedef struct icl_list_s icl_list_t |
Definition at line 23 of file icl_list.h.
icl_list_t * icl_list_append | ( | icl_list_t * | head, |
void * | data | ||
) |
Insert a node at the end of this list.
head | – the linked list |
data | – the data to be inserted |
Definition at line 304 of file icl_list.c.
References icl_list_s::blink, and icl_list_insert().
icl_list_t * icl_list_concat | ( | icl_list_t * | , |
icl_list_t * | |||
) |
int icl_list_delete | ( | icl_list_t * | , |
icl_list_t * | , | ||
void(*)(void *) | |||
) |
int icl_list_destroy | ( | icl_list_t * | , |
void(*)(void *) | |||
) |
icl_list_t * icl_list_first | ( | icl_list_t * | ) |
icl_list_t * icl_list_insert | ( | icl_list_t * | , |
icl_list_t * | , | ||
void * | |||
) |
icl_list_t * icl_list_last | ( | icl_list_t * | ) |
icl_list_t* icl_list_new | ( | ) |
icl_list_t * icl_list_next | ( | icl_list_t * | , |
icl_list_t * | |||
) |
icl_list_t * icl_list_prepend | ( | icl_list_t * | , |
void * | |||
) |
icl_list_t * icl_list_prev | ( | icl_list_t * | , |
icl_list_t * | |||
) |
icl_list_t * icl_list_search | ( | icl_list_t * | , |
void * | , | ||
int(*)(void *, void *) | |||
) |
int icl_list_size | ( | icl_list_t * | head | ) |
Get the number of items in this linked list.
head | – the linked list |
Definition at line 171 of file icl_list.c.
References icl_list_s::flink.