Meaning of 'D in English

'D

short form of would or had - I asked if she'd (= she would) like to come tonight.If you'd (= you had) told me what was wrong I could have helped.

Cambridge English vocab.      Кембриджский английский словарь.