MCPcopy Create free account
hub / github.com/RangeNetworks/openbts / length

Method length

SMS/SMSMessages.cpp:409–419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

407
408
409size_t TLValidityPeriod::length() const
410{
411 // GSM 03.40 9.2.3.3
412 switch (mVPF) {
413 case 0: return 0; // not present
414 case 1: return 1; // relative format, 9.2.3.12.1
415 case 2: return 7; // enhanced format, 9.2.3.12.2
416 case 3: return 7; // absolute format, 9.2.3.12.3
417 default: assert(0); // someone forgot to initialize the VPF
418 }
419}
420
421
422void TLValidityPeriod::parse(const TLFrame& src, size_t& rp)

Callers 15

auditFunction · 0.45
mainFunction · 0.45
configurationCrossCheckFunction · 0.45
fmidUsernameMethod · 0.45
getConfigFunction · 0.45
RRLPServerMethod · 0.45
serveMethod · 0.45
handleRPDUMethod · 0.45
sendWelcomeMessageFunction · 0.45
machineRunStateMethod · 0.45
HandoverDeterminationFunction · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected