Home
last modified time | relevance | path

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

/system/core/adf/libadf/
Dadf.c667 } *event_ret; in adf_read_event() local
679 event_ret = malloc(header.length); in adf_read_event()
680 if (!event_ret) in adf_read_event()
684 memcpy(event_ret, &header, sizeof(header)); in adf_read_event()
685 ssize_t read_size = read(fd, &event_ret->data, data_size); in adf_read_event()
695 *event = &event_ret->base; in adf_read_event()
699 free(event_ret); in adf_read_event()