Searched refs:newTimestamp (Results 1 – 3 of 3) sorted by relevance
58 const newTimestamp = models_1.Metadata.fromJSON(models_1.MetadataKind.Timestamp, data);59 if (newTimestamp.signed.type != models_1.MetadataKind.Timestamp) {60 … throw new error_1.RepositoryError(`Expected 'timestamp', got ${newTimestamp.signed.type}`);63 this.root.verifyDelegate(models_1.MetadataKind.Timestamp, newTimestamp);67 if (newTimestamp.signed.version < this.timestamp.signed.version) {68 …throw new error_1.BadVersionError(`New timestamp version ${newTimestamp.signed.version} is less th…71 if (newTimestamp.signed.version === this.timestamp.signed.version) {72 …throw new error_1.EqualVersionError(`New timestamp version ${newTimestamp.signed.version} is equal…77 const newSnapshotMeta = newTimestamp.signed.snapshotMeta;84 this.trustedSet.timestamp = newTimestamp;[all …]
277 void changeTimestamp(uint32_t newTimestamp);
1217 void GrResourceCache::changeTimestamp(uint32_t newTimestamp) { in changeTimestamp() argument1218 fTimestamp = newTimestamp; in changeTimestamp()