dct: merge A_*() and At_*() functions