1. This is an idiomatic use of "up" - time's up or your time is up means that you are out of time, or the time allocated to the task has expired. You shouldn't think think of up in the normal sense, so it is neither an adjective nor an adverb.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.