def locate_all_occurrence(l, e):
    """
    Return indices of all element occurrences in given list

    :param l: given list
    :type l: list
    :param e: element to locate
    :return: indices of all occurrences
    :rtype: list
    """
    return [i for i, x in enumerate(l) if x == e]