Home
last modified time | relevance | path

Searched refs:sequenceNumber (Results 1 – 25 of 105) sorted by relevance

12345

/external/nist-sip/java/gov/nist/javax/sip/header/
DRSeq.java43 protected long sequenceNumber; field in RSeq
55 return (int)this.sequenceNumber; in getSequenceNumber()
63 return Long.toString(this.sequenceNumber); in encodeBody()
67 return this.sequenceNumber; in getSeqNumber()
70 public void setSeqNumber(long sequenceNumber) throws InvalidArgumentException { in setSeqNumber() argument
72 if (sequenceNumber <= 0 ||sequenceNumber > ((long)1)<<32 - 1) in setSeqNumber()
74 "Bad seq number " + sequenceNumber); in setSeqNumber()
75 this.sequenceNumber = sequenceNumber; in setSeqNumber()
83 public void setSequenceNumber(int sequenceNumber) throws InvalidArgumentException { in setSequenceNumber() argument
84 this.setSeqNumber(sequenceNumber); in setSequenceNumber()
DCSeq.java131 public void setSeqNumber(long sequenceNumber) in setSeqNumber() argument
133 if (sequenceNumber < 0 ) in setSeqNumber()
136 + "the sequence number parameter is < 0 : " + sequenceNumber); in setSeqNumber()
137 else if ( sequenceNumber > ((long)1)<<32 - 1) in setSeqNumber()
140 + "the sequence number parameter is too large : " + sequenceNumber); in setSeqNumber()
142 seqno = Long.valueOf(sequenceNumber); in setSeqNumber()
148 public void setSequenceNumber(int sequenceNumber) throws InvalidArgumentException { in setSequenceNumber() argument
149 this.setSeqNumber( (long) sequenceNumber ); in setSequenceNumber()
DHeaderFactoryImpl.java237 public CSeqHeader createCSeqHeader( long sequenceNumber, String method) in createCSeqHeader() argument
239 if (sequenceNumber < 0) in createCSeqHeader()
240 throw new InvalidArgumentException("bad arg " + sequenceNumber); in createCSeqHeader()
245 cseq.setSeqNumber(sequenceNumber); in createCSeqHeader()
254 public CSeqHeader createCSeqHeader( int sequenceNumber, String method) in createCSeqHeader() argument
256 return this.createCSeqHeader( (long) sequenceNumber, method ); in createCSeqHeader()
767 public RSeqHeader createRSeqHeader(int sequenceNumber) throws InvalidArgumentException { in createRSeqHeader() argument
769 return createRSeqHeader((long) sequenceNumber) ; in createRSeqHeader()
781 public RSeqHeader createRSeqHeader(long sequenceNumber) in createRSeqHeader() argument
783 if (sequenceNumber < 0) in createRSeqHeader()
[all …]
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/fragment/
DMovieFragmentHeaderBox.java34 private long sequenceNumber; field in MovieFragmentHeaderBox
47 IsoTypeWriter.writeUInt32(byteBuffer, sequenceNumber); in getContent()
54 sequenceNumber = IsoTypeReader.readUInt32(content); in _parseDetails()
59 return sequenceNumber; in getSequenceNumber()
62 public void setSequenceNumber(long sequenceNumber) { in setSequenceNumber() argument
63 this.sequenceNumber = sequenceNumber; in setSequenceNumber()
69 "sequenceNumber=" + sequenceNumber + in toString()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dreceive_statistics_unittest.cc31 header1_.sequenceNumber = 100; in ReceiveStatisticsTest()
34 header2_.sequenceNumber = 100; in ReceiveStatisticsTest()
46 ++header1_.sequenceNumber; in TEST_F()
48 ++header2_.sequenceNumber; in TEST_F()
51 ++header1_.sequenceNumber; in TEST_F()
53 ++header2_.sequenceNumber; in TEST_F()
78 ++header1_.sequenceNumber; in TEST_F()
80 ++header2_.sequenceNumber; in TEST_F()
101 ++header1_.sequenceNumber; in TEST_F()
104 ++header2_.sequenceNumber; in TEST_F()
[all …]
/external/ukey2/src/main/java/com/google/security/cryptauth/lib/securegcm/
DD2DConnectionContextV0.java32 private int sequenceNumber; field in D2DConnectionContextV0
44 this.sequenceNumber = initialSequenceNumber; in D2DConnectionContextV0()
61 sequenceNumber++; in incrementSequenceNumberForEncoding()
66 sequenceNumber++; in incrementSequenceNumberForDecoding()
71 return sequenceNumber; in getSequenceNumberForEncoding()
76 return sequenceNumber; in getSequenceNumberForDecoding()
106 bytes.write(signedIntToBytes(sequenceNumber)); in saveSession()
DD2DConnectionContext.java142 static DeviceToDeviceMessage createDeviceToDeviceMessage(byte[] message, int sequenceNumber) { in createDeviceToDeviceMessage() argument
144 deviceToDeviceMessage.setSequenceNumber(sequenceNumber); in createDeviceToDeviceMessage()
221 int sequenceNumber = bytesToSignedInt(Arrays.copyOfRange(savedSessionInfo, 1, 5)); in fromSavedSession() local
223 return new D2DConnectionContextV0(sharedKey, sequenceNumber); in fromSavedSession()
/external/webrtc/webrtc/modules/audio_coding/acm2/
Dinitial_delay_manager.cc30 last_packet_rtp_info_.header.sequenceNumber = 0; in InitialDelayManager()
57 !IsNewerSequenceNumber(current_header->sequenceNumber, in UpdateLastReceivedPacket()
58 last_header->sequenceNumber))) { in UpdateLastReceivedPacket()
102 if (current_header->sequenceNumber == last_header->sequenceNumber + 1) { in UpdateLastReceivedPacket()
112 uint16_t packet_gap = current_header->sequenceNumber - in UpdateLastReceivedPacket()
113 last_header->sequenceNumber - 1; in UpdateLastReceivedPacket()
142 sync_stream->rtp_info.header.sequenceNumber -= sequence_number_update; in UpdateLastReceivedPacket()
201 sync_stream->rtp_info.header.sequenceNumber += sync_offset; in LatePackets()
214 last_packet_rtp_info_.header.sequenceNumber += sequence_number_update; in LatePackets()
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dpacket.h48 this->header.sequenceNumber == rhs.header.sequenceNumber &&
55 if (this->header.sequenceNumber == rhs.header.sequenceNumber) {
73 return (static_cast<uint16_t>(rhs.header.sequenceNumber
74 - this->header.sequenceNumber) < 0xFFFF / 2);
Dneteq_impl_unittest.cc269 rtp_header.header.sequenceNumber = kFirstSequenceNumber; in TEST_F()
367 rtp_header.header.sequenceNumber += 1; in TEST_F()
382 rtp_header.header.sequenceNumber = 0x1234; in TEST_F()
394 rtp_header.header.sequenceNumber += 1; in TEST_F()
405 EXPECT_EQ(rtp_header.header.sequenceNumber, test_header->sequenceNumber); in TEST_F()
423 rtp_header.header.sequenceNumber = 0x1234; in TEST_F()
517 rtp_header.header.sequenceNumber = 0x1234; in TEST_F()
560 rtp_header.header.sequenceNumber -= 1; in TEST_F()
565 rtp_header.header.sequenceNumber += 2; in TEST_F()
611 rtp_header.header.sequenceNumber = 0x1234; in TEST_F()
[all …]
Drtcp.cc36 int16_t sn_diff = rtp_header.sequenceNumber - max_seq_no_; in Update()
38 if (rtp_header.sequenceNumber < max_seq_no_) { in Update()
42 max_seq_no_ = rtp_header.sequenceNumber; in Update()
/external/mesa3d/src/glx/
Dxf86dristr.h69 CARD16 sequenceNumber B16;
94 CARD16 sequenceNumber B16;
121 CARD16 sequenceNumber B16;
146 CARD16 sequenceNumber B16;
179 CARD16 sequenceNumber B16;
205 CARD16 sequenceNumber B16;
240 CARD16 sequenceNumber B16;
275 CARD16 sequenceNumber B16;
305 CARD16 sequenceNumber B16;
330 CARD16 sequenceNumber B16;
[all …]
/external/libdrm/tests/ttmtest/src/
Dxf86dristr.h71 CARD16 sequenceNumber B16;
98 CARD16 sequenceNumber B16;
127 CARD16 sequenceNumber B16;
154 CARD16 sequenceNumber B16;
190 CARD16 sequenceNumber B16;
218 CARD16 sequenceNumber B16;
256 CARD16 sequenceNumber B16;
294 CARD16 sequenceNumber B16;
324 CARD16 sequenceNumber B16;
351 CARD16 sequenceNumber B16;
[all …]
/external/webrtc/webrtc/modules/video_coding/
Dsession_info_unittest.cc426 packet_header_.header.sequenceNumber = 0; in TEST_F()
439 packet_header_.header.sequenceNumber += 2; in TEST_F()
451 packet_header_.header.sequenceNumber += 1; in TEST_F()
476 packet_header_.header.sequenceNumber = 1; in TEST_F()
489 packet_header_.header.sequenceNumber += 1; in TEST_F()
501 packet_header_.header.sequenceNumber += 1; in TEST_F()
513 packet_header_.header.sequenceNumber += 2; in TEST_F()
538 packet_header_.header.sequenceNumber = 0xfffd; in TEST_F()
551 packet_header_.header.sequenceNumber += 1; in TEST_F()
563 packet_header_.header.sequenceNumber += 1; in TEST_F()
[all …]
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
DRecordedRequest.java35 private final int sequenceNumber; field in RecordedRequest
39 long bodySize, Buffer body, int sequenceNumber, Socket socket) { in RecordedRequest() argument
45 this.sequenceNumber = sequenceNumber; in RecordedRequest()
116 return sequenceNumber; in getSequenceNumber()
/external/mesa3d/src/glx/apple/
Dappledristr.h61 CARD16 sequenceNumber B16;
86 CARD16 sequenceNumber B16;
114 CARD16 sequenceNumber B16;
140 CARD16 sequenceNumber B16;
165 CARD16 sequenceNumber B16;
194 CARD16 sequenceNumber B16;
232 CARD16 sequenceNumber B16; /*4 */
/external/webrtc/webrtc/modules/audio_coding/neteq/test/
DNETEQTEST_RTPpacket.cc290 rtp_header->header.sequenceNumber = _rtpInfo.header.sequenceNumber; in parseHeader()
367 uint16_t NETEQTEST_RTPpacket::sequenceNumber() const in sequenceNumber() function in NETEQTEST_RTPpacket
373 return tempRTPinfo.header.sequenceNumber; in sequenceNumber()
454 _rtpInfo.header.sequenceNumber = sn; in setSequenceNumber()
544 RTPinfo->header.sequenceNumber, in setRTPheader()
676 RTPinfo->header.sequenceNumber = in parseBasicHeader()
818 red.header.sequenceNumber = sequenceNumber(); in extractRED()
832 red.header.sequenceNumber = sequenceNumber(); in extractRED()
/external/mesa3d/src/glx/windows/
Dwindowsdristr.h47 CARD16 sequenceNumber B16;
72 CARD16 sequenceNumber B16;
90 CARD16 sequenceNumber B16;
115 CARD16 sequenceNumber B16;
141 CARD16 sequenceNumber B16;
/external/mockito/src/main/java/org/mockito/internal/invocation/
DInterceptedInvocation.java28 private final int sequenceNumber; field in InterceptedInvocation
41 int sequenceNumber) { in InterceptedInvocation() argument
48 this.sequenceNumber = sequenceNumber; in InterceptedInvocation()
58 return sequenceNumber; in getSequenceNumber()
/external/mockwebserver/src/main/java/com/google/mockwebserver/
DRecordedRequest.java41 private final int sequenceNumber; field in RecordedRequest
50 int bodySize, byte[] body, int sequenceNumber, Socket socket) { in RecordedRequest() argument
56 this.sequenceNumber = sequenceNumber; in RecordedRequest()
182 return sequenceNumber; in getSequenceNumber()
DMockWebServer.java291 int sequenceNumber = 0; in serveConnection()
309 dispatchBookkeepingRequest(sequenceNumber, raw); in serveConnection()
332 if (sequenceNumber == 0) { in serveConnection()
362 RecordedRequest request = readRequest(socket, in, out, sequenceNumber); in serveConnection()
400 sequenceNumber++; in serveConnection()
420 …private void dispatchBookkeepingRequest(int sequenceNumber, Socket socket) throws InterruptedExcep… in dispatchBookkeepingRequest() argument
422 RecordedRequest request = new RecordedRequest(null, null, null, -1, null, sequenceNumber, in dispatchBookkeepingRequest()
429 int sequenceNumber) throws IOException { in readRequest() argument
505 requestBody.toByteArray(), sequenceNumber, socket); in readRequest()
/external/mockito/src/test/java/org/mockito/internal/invocation/
DInvocationBuilder.java29 private int sequenceNumber = 0; field in InvocationBuilder
81 public InvocationBuilder seq(int sequenceNumber) { in seq() argument
82 this.sequenceNumber = sequenceNumber; in seq()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/
DFragmentedMp4Builder.java238 protected Box createTfhd(long startSample, long endSample, Track track, int sequenceNumber) {
248 protected Box createMfhd(long startSample, long endSample, Track track, int sequenceNumber) {
250 mfhd.setSequenceNumber(sequenceNumber);
254 protected Box createTraf(long startSample, long endSample, Track track, int sequenceNumber) {
256 traf.addBox(createTfhd(startSample, endSample, track, sequenceNumber));
257 for (Box trun : createTruns(startSample, endSample, track, sequenceNumber)) {
275 …ed List<ByteBuffer> getSamples(long startSample, long endSample, Track track, int sequenceNumber) {
289 …rotected long[] getSampleSizes(long startSample, long endSample, Track track, int sequenceNumber) {
290 List<ByteBuffer> samples = getSamples(startSample, endSample, track, sequenceNumber);
308 …ist<? extends Box> createTruns(long startSample, long endSample, Track track, int sequenceNumber) {
[all …]
/external/u-boot/fs/yaffs2/
Dyaffs_mtdif2.c194 enum yaffs_block_state *state, u32 *sequenceNumber) in nandmtd2_QueryNANDBlock() argument
209 *sequenceNumber = 0; in nandmtd2_QueryNANDBlock()
218 *sequenceNumber = t.seq_number; in nandmtd2_QueryNANDBlock()
221 *sequenceNumber = 0; in nandmtd2_QueryNANDBlock()
226 *sequenceNumber, *state); in nandmtd2_QueryNANDBlock()
/external/mockito/src/main/java/org/mockito/internal/progress/
DSequenceNumber.java9 private static int sequenceNumber = 1; field in SequenceNumber
12 return sequenceNumber++; in next()

12345