Home
last modified time | relevance | path

Searched refs:PeerId (Results 1 – 25 of 175) sorted by relevance

1234567

/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/SourceFiles/data/
H A Ddata_peer_id.h147 struct PeerId { struct
182 [[nodiscard]] inline constexpr bool operator==(PeerId a, PeerId b) noexcept { argument
186 [[nodiscard]] inline constexpr bool operator!=(PeerId a, PeerId b) noexcept {
190 [[nodiscard]] inline constexpr bool operator<(PeerId a, PeerId b) noexcept {
194 [[nodiscard]] inline constexpr bool operator>(PeerId a, PeerId b) noexcept {
198 [[nodiscard]] inline constexpr bool operator<=(PeerId a, PeerId b) noexcept {
202 [[nodiscard]] inline constexpr bool operator>=(PeerId a, PeerId b) noexcept {
207 PeerId a,
214 PeerId a) noexcept {
219 PeerId a,
[all …]
H A Ddata_peer_id.cpp10 PeerId peerFromMTP(const MTPPeer &peer) { in peerFromMTP()
20 MTPpeer peerToMTP(PeerId id) { in peerToMTP()
31 PeerId DeserializePeerId(quint64 serialized) { in DeserializePeerId()
35 return PeerId(serialized & (~flag)); in DeserializePeerId()
50 ? PeerId(FakeChatId(serialized & PeerIdMask)) in DeserializePeerId()
51 : PeerId(0); in DeserializePeerId()
54 quint64 SerializePeerId(PeerId id) { in SerializePeerId()
H A Ddata_sparse_ids.h32 PeerId peerId,
33 PeerId migratedPeerId,
51 PeerId peerId = 0;
53 PeerId migratedPeerId = 0;
77 PeerId peerId,
102 static bool IsFromSlice(PeerId peerId, FullMsgId fullId) { in IsFromSlice()
107 static FullMsgId ComputeId(PeerId peerId, MsgId msgId) { in ComputeId()
H A Ddata_shared_media.h77 PeerId peerId,
78 PeerId migratedPeerId,
100 PeerId peerId = 0;
101 PeerId migratedPeerId = 0;
153 PeerId peerId);
166 static Value ComputeId(PeerId peerId, MsgId msgId) { in ComputeId()
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/SourceFiles/storage/
H A Dstorage_shared_media.h46 PeerId peerId = 0;
54 PeerId peerId, in SharedMediaAddExisting()
64 PeerId peerId = 0;
73 PeerId peerId,
85 PeerId peerId = 0;
95 PeerId peerId, in SharedMediaRemoveOne()
103 PeerId peerId = 0;
111 PeerId peerId,
132 PeerId peerId, in SharedMediaKey()
175 PeerId peerId, in SharedMediaSliceUpdate()
[all …]
H A Dstorage_account.h97 [[nodiscard]] bool hasDraftCursors(PeerId peerId);
98 [[nodiscard]] bool hasDraft(PeerId peerId);
151 void markBotTrustedOpenGame(PeerId botId);
152 [[nodiscard]] bool isBotTrustedOpenGame(PeerId botId);
153 void markBotTrustedPayment(PeerId botId);
154 [[nodiscard]] bool isBotTrustedPayment(PeerId botId);
208 PeerId peerId,
212 void clearDraftCursors(PeerId peerId);
248 base::flat_map<PeerId, FileKey> _draftsMap;
249 base::flat_map<PeerId, FileKey> _draftCursorsMap;
[all …]
H A Dlocalimageloader.h31 const PeerId &peer,
36 const PeerId &peer,
41 const PeerId &peer,
47 const PeerId &peer,
55 PeerId peer;
75 const PeerId &peer,
89 PeerId peer;
197 const PeerId &peer, in FileLoadTo()
206 PeerId peer;
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/nearby/src/cpp/core/internal/mediums/webrtc/
H A Dpeer_id.h30 class PeerId {
32 PeerId() = default;
33 explicit PeerId(const std::string& id) : id_(id) {} in PeerId() function
34 ~PeerId() = default;
36 static PeerId FromRandom();
37 static PeerId FromSeed(const ByteArray& seed);
H A Dpeer_id.cc39 PeerId PeerId::FromRandom() { in FromRandom()
43 PeerId PeerId::FromSeed(const ByteArray& seed) { in FromSeed()
46 return PeerId(BytesToStringUppercase(hashed_seed)); in FromSeed()
49 bool PeerId::IsValid() const { return !id_.empty(); } in IsValid()
H A Dpeer_id_test.cc30 PeerId peer_id = PeerId::FromRandom(); in TEST()
41 PeerId peer_id = PeerId::FromSeed(seed_bytes); in TEST()
49 PeerId peer_id(id); in TEST()
H A Dsignaling_frames.h31 ByteArray EncodeReadyForSignalingPoke(const PeerId& sender_id);
33 ByteArray EncodeOffer(const PeerId& sender_id,
35 ByteArray EncodeAnswer(const PeerId& sender_id,
39 const PeerId& sender_id,
H A Dsignaling_frames.cc32 void SetSenderId(const PeerId& sender_id, WebRtcSignalingFrame& frame) { in SetSenderId()
47 ByteArray EncodeReadyForSignalingPoke(const PeerId& sender_id) { in EncodeReadyForSignalingPoke()
56 ByteArray EncodeOffer(const PeerId& sender_id, in EncodeOffer()
69 ByteArray EncodeAnswer(const PeerId& sender_id, in EncodeAnswer()
83 const PeerId& sender_id, in EncodeIceCandidates()
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/SourceFiles/export/data/
H A Dexport_data_types.h204 PeerId id() const;
222 PeerId id() const;
238 PeerId id() const;
334 PeerId selfPeerId = 0;
455 PeerId fromId = 0;
456 PeerId toId = 0;
579 PeerId fromId = 0;
580 PeerId peerId = 0;
581 PeerId selfId = 0;
614 PeerId selfId,
[all …]
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/SourceFiles/main/
H A Dmain_session_settings.h68 void setGroupStickersSectionHidden(PeerId peerId) { in setGroupStickersSectionHidden()
71 [[nodiscard]] bool isGroupStickersSectionHidden(PeerId peerId) const { in isGroupStickersSectionHidden()
74 void removeGroupStickersSectionHidden(PeerId peerId) { in removeGroupStickersSectionHidden()
104 [[nodiscard]] MsgId hiddenPinnedMessageId(PeerId peerId) const { in hiddenPinnedMessageId()
108 void setHiddenPinnedMessageId(PeerId peerId, MsgId msgId) { in setHiddenPinnedMessageId()
131 base::flat_set<PeerId> _groupStickersSectionHidden;
138 base::flat_map<PeerId, MsgId> _hiddenPinnedMessages;
/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/vendor/github.com/status-im/keycard-go/vendor/github.com/ethereum/go-ethereum/eth/downloader/
H A Dtypes.go30 PeerId() string methodSpec
41 func (p *headerPack) PeerId() string { return p.peerID } func
52 func (p *bodyPack) PeerId() string { return p.peerID } func
67 func (p *receiptPack) PeerId() string { return p.peerID } func
77 func (p *statePack) PeerId() string { return p.peerID } func
/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/les/downloader/
H A Dtypes.go30 PeerId() string methodSpec
41 func (p *headerPack) PeerId() string { return p.peerID } func
52 func (p *bodyPack) PeerId() string { return p.peerID } func
67 func (p *receiptPack) PeerId() string { return p.peerID } func
77 func (p *statePack) PeerId() string { return p.peerID } func
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/nearby/src/cpp/core/internal/mediums/
H A Dwebrtc_test.cc54 PeerId self_id("peer_id"); in TEST_F()
73 PeerId peer_id("peer_id"); in TEST_F()
93 PeerId self_id("peer_id"); in TEST_F()
118 PeerId self_id("peer_id"); in TEST_F()
136 const PeerId self_id("self_id"), other_id("other_id"); in TEST_F()
180 const PeerId self_id("self_id"); in TEST_F()
208 const PeerId self_id("self_id"); in TEST_F()
242 const PeerId self_id("self_id"); in TEST_F()
278 const PeerId self_id1("self_id1"), self_id2("self_id2"); in TEST_F()
339 PeerId self_id("peer_id"); in TEST_F()
[all …]
H A Dwebrtc.h80 const PeerId& self_id,
92 WebRtcSocketWrapper Connect(const PeerId& peer_id,
114 PeerId self_id;
115 PeerId peer_id;
122 bool InitWebRtcFlow(const Role& role, const PeerId& self_id,
/dports/net-im/dendrite/dendrite-0.5.1/vendor/github.com/libp2p/go-libp2p-core/peer/pb/
H A Dpeer_record.pb.go35 PeerId []byte `protobuf:"bytes,1,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` member
77 return m.PeerId
204 if len(m.PeerId) > 0 {
205 i -= len(m.PeerId)
206 copy(dAtA[i:], m.PeerId)
207 i = encodeVarintPeerRecord(dAtA, i, uint64(len(m.PeerId)))
261 l = len(m.PeerId)
354 m.PeerId = append(m.PeerId[:0], dAtA[iNdEx:postIndex]...)
355 if m.PeerId == nil {
356 m.PeerId = []byte{}
/dports/net/rabbitmq/rabbitmq-server-3.9.11/deps/ra/src/
H A Dra_server.erl364 case peer(PeerId, State0) of
367 [LogId, PeerId]),
410 case peer(PeerId, State0) of
413 [LogId, PeerId]),
538 case peer(PeerId, State0) of
550 case peer(PeerId, State0) of
1655 {send_rpc, PeerId,
1720 [{PeerId, Peer}] ->
2417 maps:fold(fun (PeerId, _, Acc) when PeerId == Id ->
2427 maps:fold(fun (PeerId, _, Acc) when PeerId == Id ->
[all …]
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/SourceFiles/api/
H A Dapi_who_read.cpp33 explicit Cached(PeerId unknownFlag) in Cached()
34 : list(std::vector<PeerId>{ unknownFlag }) { in Cached()
36 rpl::variable<std::vector<PeerId>> list;
108 const std::vector<PeerId> &list, in ListUnknown()
129 [[nodiscard]] rpl::producer<std::vector<PeerId>> WhoReadIds( in WhoReadIds()
161 auto peers = std::vector<PeerId>(); in WhoReadIds()
171 entry.list = std::vector<PeerId>(); in WhoReadIds()
182 const std::vector<PeerId> &ids) { in UpdateUserpics()
187 ) | ranges::views::transform([&](PeerId id) { in UpdateUserpics()
343 ) | rpl::start_with_next([=](const std::vector<PeerId> &peers) { in WhoRead()
H A Dapi_updates.h142 PeerId peerId,
144 PeerId fromId,
151 PeerId participantPeerId,
202 base::flat_map<PeerId, crl::time>> _pendingSpeakingCallParticipants;
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/SourceFiles/history/
H A Dhistory_message.h28 PeerId peerId,
67 PeerId from,
77 PeerId from,
90 PeerId from,
102 PeerId from,
114 PeerId from,
138 PeerId replier,
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/SourceFiles/window/
H A Dwindow_history_hider.h36 Fn<bool(PeerId)> confirm,
39 void offerPeer(PeerId peer);
60 Fn<bool(PeerId)> _confirm;
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/SourceFiles/
H A Dmainwidget.h176 bool setForwardDraft(PeerId peer, Data::ForwardDraft &&draft);
178 PeerId peerId,
181 bool inlineSwitchChosen(PeerId peerId, const QString &botAndQuery);
182 bool sendPaths(PeerId peerId);
183 void onFilesOrForwardDrop(const PeerId &peer, const QMimeData *data);
201 void choosePeer(PeerId peerId, MsgId showAtMsgId);
220 PeerId peer,
290 Window::SectionSlideParams prepareHistoryAnimation(PeerId historyPeerId);

1234567