Searched refs:iceConn (Results 1 - 25 of 27) sorted by relevance

12

/xsrc/external/mit/libICE/dist/src/
H A Dmisc.c51 IceConn iceConn,
55 if (!iceConn->scratch || size > iceConn->scratch_size)
57 free (iceConn->scratch);
59 iceConn->scratch = malloc (size);
60 iceConn->scratch_size = size;
63 return (iceConn->scratch);
73 IceConn iceConn
76 iceConn->io_ok = False;
78 if (iceConn
50 IceAllocScratch(IceConn iceConn,unsigned long size) argument
72 IceFatalIOError(IceConn iceConn) argument
118 IceFlush(IceConn iceConn) argument
142 IceGetOutBufSize(IceConn iceConn) argument
151 IceGetInBufSize(IceConn iceConn) argument
165 IceConnectionStatus(IceConn iceConn) argument
174 IceVendor(IceConn iceConn) argument
183 IceRelease(IceConn iceConn) argument
192 IceProtocolVersion(IceConn iceConn) argument
201 IceProtocolRevision(IceConn iceConn) argument
210 IceConnectionNumber(IceConn iceConn) argument
219 IceConnectionString(IceConn iceConn) argument
233 IceLastSentSequenceNumber(IceConn iceConn) argument
242 IceLastReceivedSequenceNumber(IceConn iceConn) argument
251 IceSwapping(IceConn iceConn) argument
268 _IceRead(register IceConn iceConn,unsigned long nbytes,register char * ptr) argument
325 _IceReadSkip(register IceConn iceConn,register unsigned long nbytes) argument
348 _IceWrite(register IceConn iceConn,unsigned long nbytes,register char * ptr) argument
383 _IceAddOpcodeMapping(IceConn iceConn,int hisOpcode,int myOpcode) argument
475 IceGetPeerName(IceConn iceConn) argument
482 _IceGetPeerName(IceConn iceConn) argument
[all...]
H A Daccept.c43 IceConn iceConn; local in function:IceAcceptConnection
73 if ((iceConn = malloc (sizeof (struct _IceConn))) == NULL)
80 iceConn->listen_obj = listenObj;
82 iceConn->waiting_for_byteorder = True;
83 iceConn->connection_status = IceConnectPending;
84 iceConn->io_ok = True;
85 iceConn->dispatch_level = 0;
86 iceConn->context = NULL;
87 iceConn->my_ice_version_index = 0;
89 iceConn
[all...]
H A Dlocking.c52 IceConn iceConn
55 IceLockConn (iceConn);
61 IceConn iceConn
64 IceUnlockConn (iceConn);
51 IceAppLockConn(IceConn iceConn) argument
60 IceAppUnlockConn(IceConn iceConn) argument
H A Dshutdown.c39 IceConn iceConn,
45 if (iceConn->proto_ref_count == 0 || iceConn->process_msg_info == NULL ||
56 for (i = iceConn->his_min_opcode; i <= iceConn->his_max_opcode; i++)
58 int n = i - iceConn->his_min_opcode;
59 if (iceConn->process_msg_info[n].in_use &&
60 iceConn->process_msg_info[n].my_opcode == majorOpcode)
67 iceConn->process_msg_info[n].in_use = False;
68 iceConn
38 IceProtocolShutdown(IceConn iceConn,int majorOpcode) argument
79 IceSetShutdownNegotiation(IceConn iceConn,Bool negotiate) argument
90 IceCheckShutdownNegotiation(IceConn iceConn) argument
100 IceCloseConnection(IceConn iceConn) argument
242 _IceFreeConnection(IceConn iceConn) argument
[all...]
H A Dprocess.c60 IceDisposeCompleteMessage (iceConn, _pStart); \
171 IceConn iceConn,
189 iceConn->dispatch_level++;
196 if (!_IceRead (iceConn, (unsigned long) SIZEOF (iceMsg), iceConn->inbuf))
207 if (!iceConn->io_ok)
215 iceConn->dispatch_level--;
216 iceConn->connection_status = IceConnectIOError;
220 header = (iceMsg *) iceConn->inbuf;
221 iceConn
170 IceProcessMessages(IceConn iceConn,IceReplyWaitInfo * replyWait,Bool * replyReadyRet) argument
435 AuthRequired(IceConn iceConn,int authIndex,int authDataLen,IcePointer authData) argument
465 AuthReply(IceConn iceConn,int authDataLen,IcePointer authData) argument
490 AuthNextPhase(IceConn iceConn,int authDataLen,IcePointer authData) argument
515 AcceptConnection(IceConn iceConn,int versionIndex) argument
548 AcceptProtocol(IceConn iceConn,int hisOpcode,int myOpcode,int versionIndex,char * vendor,char * release) argument
593 PingReply(IceConn iceConn) argument
604 ProcessError(IceConn iceConn,unsigned long length,Bool swap,IceReplyWaitInfo * replyWait) argument
875 ProcessConnectionSetup(IceConn iceConn,unsigned long length,Bool swap) argument
1141 ProcessAuthRequired(IceConn iceConn,unsigned long length,Bool swap,IceReplyWaitInfo * replyWait) argument
1335 ProcessAuthReply(IceConn iceConn,unsigned long length,Bool swap) argument
1625 ProcessAuthNextPhase(IceConn iceConn,unsigned long length,Bool swap,IceReplyWaitInfo * replyWait) argument
1757 ProcessConnectionReply(IceConn iceConn,unsigned long length,Bool swap,IceReplyWaitInfo * replyWait) argument
1859 ProcessProtocolSetup(IceConn iceConn,unsigned long length,Bool swap) argument
2260 ProcessProtocolReply(IceConn iceConn,unsigned long length,Bool swap,IceReplyWaitInfo * replyWait) argument
2364 ProcessPing(IceConn iceConn,unsigned long length) argument
2380 ProcessPingReply(IceConn iceConn,unsigned long length) argument
2409 ProcessWantToClose(IceConn iceConn,unsigned long length,Bool * connectionClosedRet) argument
2468 ProcessNoClose(IceConn iceConn,unsigned long length) argument
2496 _IceProcessCoreMessage(IceConn iceConn,int opcode,unsigned long length,Bool swap,IceReplyWaitInfo * replyWait,Bool * replyReadyRet,Bool * connectionClosedRet) argument
[all...]
H A Derror.c40 IceConn iceConn,
46 IceErrorHeader (iceConn,
48 iceConn->receive_sequence,
53 IceFlush (iceConn);
59 IceConn iceConn,
65 IceErrorHeader (iceConn,
67 iceConn->receive_sequence,
72 IceFlush (iceConn);
78 IceConn iceConn,
84 IceErrorHeader (iceConn,
39 _IceErrorBadMinor(IceConn iceConn,int majorOpcode,int offendingMinor,int severity) argument
58 _IceErrorBadState(IceConn iceConn,int majorOpcode,int offendingMinor,int severity) argument
77 _IceErrorBadLength(IceConn iceConn,int majorOpcode,int offendingMinor,int severity) argument
96 _IceErrorBadValue(IceConn iceConn,int majorOpcode,int offendingMinor,int offset,int length,IcePointer value) argument
124 _IceErrorNoAuthentication(IceConn iceConn,int offendingMinor) argument
144 _IceErrorNoVersion(IceConn iceConn,int offendingMinor) argument
164 _IceErrorSetupFailed(IceConn iceConn,int offendingMinor,const char * reason) argument
197 _IceErrorAuthenticationRejected(IceConn iceConn,int offendingMinor,const char * reason) argument
228 _IceErrorAuthenticationFailed(IceConn iceConn,int offendingMinor,const char * reason) argument
259 _IceErrorProtocolDuplicate(IceConn iceConn,const char * protocolName) argument
289 _IceErrorMajorOpcodeDuplicate(IceConn iceConn,int majorOpcode) argument
309 _IceErrorUnknownProtocol(IceConn iceConn,const char * protocolName) argument
339 _IceErrorBadMajor(IceConn iceConn,int offendingMajor,int offendingMinor,int severity) argument
366 _IceDefaultErrorHandler(IceConn iceConn,Bool swap,int offendingMinorOpcode,unsigned long offendingSequence,int errorClass,int severity,IcePointer values) argument
604 _IceDefaultIOErrorHandler(IceConn iceConn) argument
[all...]
H A Dconnect.c50 IceConn iceConn; local in function:IceOpenConnection
80 * If iceConn->want_to_close is True, or iceConn->free_asap is True,
81 * we can not use the iceConn.
148 if ((iceConn = malloc (sizeof (struct _IceConn))) == NULL)
162 if ((iceConn->trans_conn = ConnectToPeer (networkIdsList,
163 &iceConn->connection_string)) == NULL)
165 free (iceConn);
177 _IceTransSetOption (iceConn->trans_conn, TRANS_CLOSEONEXEC, 1);
179 iceConn
488 IceGetConnectionContext(IceConn iceConn) argument
[all...]
H A Dping.c37 IceConn iceConn,
43 _IcePingWait *ptr = iceConn->ping_waits;
56 iceConn->ping_waits = newping;
60 IceSimpleMessage (iceConn, 0, ICE_Ping);
61 IceFlush (iceConn);
36 IcePing(IceConn iceConn,IcePingReplyProc pingReplyProc,IcePointer clientData) argument
H A Dreplywait.c38 IceConn iceConn,
51 last = iceConn->saved_reply_waits;
71 iceConn->saved_reply_waits = savedReplyWait;
80 IceConn iceConn,
88 _IceSavedReplyWait *savedReplyWait = iceConn->saved_reply_waits;
103 IceConn iceConn,
111 _IceSavedReplyWait *savedReplyWait = iceConn->saved_reply_waits;
124 IceConn iceConn,
128 _IceSavedReplyWait *savedReplyWait = iceConn->saved_reply_waits;
149 iceConn
37 _IceAddReplyWait(IceConn iceConn,IceReplyWaitInfo * replyWait) argument
79 _IceSearchReplyWaits(IceConn iceConn,int majorOpcode) argument
102 _IceSetReplyReady(IceConn iceConn,IceReplyWaitInfo * replyWait) argument
123 _IceCheckReplyReady(IceConn iceConn,IceReplyWaitInfo * replyWait) argument
[all...]
H A Dprotosetup.c38 IceConn iceConn,
98 if (iceConn->process_msg_info)
100 for (i = iceConn->his_min_opcode; i <= iceConn->his_max_opcode; i++)
102 if (iceConn->process_msg_info[
103 i - iceConn->his_min_opcode].in_use &&
104 iceConn->process_msg_info[
105 i - iceConn->his_min_opcode ].my_opcode == myOpcode)
109 if (i <= iceConn->his_max_opcode)
135 iceConn
37 IceProtocolSetup(IceConn iceConn,int myOpcode,IcePointer clientData,Bool mustAuthenticate,int * majorVersionRet,int * minorVersionRet,char ** vendorRet,char ** releaseRet,int errorLength,char * errorStringRet) argument
[all...]
H A Dwatch.c79 newWatchedConn->iceConn = _IceConnectionObjs[i];
135 IceConn iceConn
150 newWatchedConn->iceConn = iceConn;
158 (*watchProc->watch_proc) (iceConn,
169 IceConn iceConn
179 while (watchedConn && watchedConn->iceConn != iceConn)
187 (*watchProc->watch_proc) (iceConn,
134 _IceConnectionOpened(IceConn iceConn) argument
168 _IceConnectionClosed(IceConn iceConn) argument
H A Diceauth.c128 IceConn iceConn,
155 * MIT-MAGIC-COOKIE-1 that matches iceConn->connection_string.
161 _IceGetPoAuthData ("ICE", iceConn->connection_string,
204 IceConn iceConn,
233 * MIT-MAGIC-COOKIE-1 that matches iceConn->connection_string.
239 _IceGetPaAuthData ("ICE", iceConn->connection_string,
127 _IcePoMagicCookie1Proc(IceConn iceConn,IcePointer * authStatePtr,Bool cleanUp,Bool swap,int authDataLen,IcePointer authData,int * replyDataLenRet,IcePointer * replyDataRet,char ** errorStringRet) argument
203 _IcePaMagicCookie1Proc(IceConn iceConn,IcePointer * authStatePtr,Bool swap,int authDataLen,IcePointer authData,int * replyDataLenRet,IcePointer * replyDataRet,char ** errorStringRet) argument
H A DICElibint.h138 IceConn /* iceConn */,
334 IceConn iceConn; member in struct:_IceWatchedConnection
383 IceConn /* iceConn */,
390 IceConn /* iceConn */,
395 IceConn /* iceConn */,
400 IceConn /* iceConn */,
406 IceConn /* iceConn */,
412 IceConn /* iceConn */,
418 IceConn /* iceConn */,
423 IceConn /* iceConn */,
[all...]
/xsrc/external/mit/libSM/dist/src/
H A Dsm_manager.c39 _SmsProtocolSetupProc (IceConn iceConn, argument
74 smsConn->iceConn = iceConn;
173 return (IceGetPeerName (smsConn->iceConn));
182 IceConn iceConn = smsConn->iceConn;
194 IceGetHeaderExtra (iceConn, _SmsOpcode, SM_RegisterClientReply,
200 IceFlush (iceConn);
203 SEND_ARRAY8 (iceConn, strlen (clientId), clientId);
216 IceConn iceConn
179 IceConn iceConn = smsConn->iceConn; local in function:SmsRegisterClientReply
212 IceConn iceConn = smsConn->iceConn; local in function:SmsSaveYourself
248 IceConn iceConn = smsConn->iceConn; local in function:SmsSaveYourselfPhase2
259 IceConn iceConn = smsConn->iceConn; local in function:SmsInteract
272 IceConn iceConn = smsConn->iceConn; local in function:SmsDie
283 IceConn iceConn = smsConn->iceConn; local in function:SmsSaveComplete
294 IceConn iceConn = smsConn->iceConn; local in function:SmsShutdownCancelled
307 IceConn iceConn = smsConn->iceConn; local in function:SmsReturnProperties
[all...]
H A Dsm_process.c178 _SmcProcessMessage(IceConn iceConn, IcePointer clientData, int opcode,
190 _IceReadSkip (iceConn, length << 3);
192 _IceErrorBadState (iceConn, _SmcOpcode, opcode, IceFatalToProtocol);
203 CHECK_AT_LEAST_SIZE (iceConn, _SmcOpcode, opcode,
206 IceReadCompleteMessage (iceConn, SIZEOF (iceErrorMsg),
209 if (!IceValidIO (iceConn) || pData == NULL)
211 IceDisposeCompleteMessage (iceConn, pData);
242 _IceErrorBadLength (iceConn, _SmcOpcode, opcode,
244 IceDisposeCompleteMessage (iceConn, pData);
256 IceDisposeCompleteMessage (iceConn, pDat
174 _SmcProcessMessage(IceConn iceConn,IcePointer clientData,int opcode,unsigned long length,Bool swap,IceReplyWaitInfo * replyWait,Bool * replyReadyRet) argument
526 _SmsProcessMessage(IceConn iceConn,IcePointer clientData,int opcode,unsigned long length,Bool swap) argument
[all...]
H A Dsm_client.c60 IceConn iceConn;
131 if ((iceConn = IceOpenConnection (
143 IceCloseConnection (iceConn);
147 setupstat = IceProtocolSetup (iceConn, _SmcOpcode,
156 IceCloseConnection (iceConn);
177 smcConn->iceConn = iceConn;
204 IceGetHeaderExtra (iceConn, _SmcOpcode, SM_RegisterClient,
210 IceFlush (iceConn);
213 SEND_ARRAY8 (iceConn, le
59 IceConn iceConn; local in function:SmcOpenConnection
291 IceConn iceConn = smcConn->iceConn; local in function:SmcCloseConnection
394 IceConn iceConn = smcConn->iceConn; local in function:SmcSetProperties
420 IceConn iceConn = smcConn->iceConn; local in function:SmcDeleteProperties
461 IceConn iceConn = smcConn->iceConn; local in function:SmcGetProperties
494 IceConn iceConn = smcConn->iceConn; local in function:SmcInteractRequest
531 IceConn iceConn = smcConn->iceConn; local in function:SmcInteractDone
548 IceConn iceConn = smcConn->iceConn; local in function:SmcRequestSaveYourself
570 IceConn iceConn = smcConn->iceConn; local in function:SmcRequestSaveYourselfPhase2
599 IceConn iceConn = smcConn->iceConn; local in function:SmcSaveYourselfDone
[all...]
H A Dsm_misc.c129 return (smcConn->iceConn);
163 return (smsConn->iceConn);
H A DSMlibint.h186 * Send an ARRAY8 that doesn't fit in the iceConn send buffer.
262 IceConn iceConn; member in struct:_SmcConn
344 IceConn iceConn; member in struct:_SmsConn
382 _SmcProcessMessage(IceConn iceConn, IcePointer clientData, int opcode,
387 _SmsProcessMessage(IceConn iceConn, IcePointer clientData, int opcode,
/xsrc/external/mit/xfindproxy/dist/
H A Dxfindproxy.c50 static void PMprocessMessages(IceConn iceConn, IcePointer clientData,
139 IceConn iceConn; local in function:main
252 if ((iceConn = IceOpenConnection (
260 setupstat = IceProtocolSetup (iceConn, PMopcode, NULL,
267 IceCloseConnection (iceConn);
321 IceGetHeaderExtra (iceConn, PMopcode, PM_GetProxyAddr,
337 IceFlush (iceConn);
339 replyWait.sequence_of_request = IceLastSentSequenceNumber (iceConn);
350 iceConn, &replyWait, &gotReply) == IceProcessMessagesIOError);
379 PMprocessMessages(IceConn iceConn, IcePointe argument
[all...]
H A Dxfindproxy.h144 IceDisposeCompleteMessage (iceConn, _pStart); \
/xsrc/external/mit/proxymngr/dist/
H A Dmain.c45 static int PMprotocolSetupProc ( IceConn iceConn, int majorVersion,
266 PMprotocolSetupProc(IceConn iceConn, int majorVersion, int minorVersion, argument
287 pmConn->iceConn = iceConn;
312 IceConn iceConn = pmConn->iceConn; local in function:SendGetProxyAddr
319 IceConnectionNumber(iceConn), serviceName, serverAddress);
334 IceGetHeaderExtra (iceConn, pmConn->pmOpcode, PM_GetProxyAddr,
350 IceFlush (iceConn);
376 IceGetHeaderExtra (requestor->iceConn,
392 PMReplyProcessMessages(IceConn iceConn,IcePointer clientData,int opcode,unsigned long length,Bool swap) argument
879 PMSetupProcessMessages(IceConn iceConn,IcePointer clientData,int opcode,unsigned long length,Bool swap,IceReplyWaitInfo * replyWait,Bool * replyReadyRet) argument
[all...]
H A Dpmint.h50 IceConn iceConn; member in struct:__anon44221edc0108
67 extern void PMReplyProcessMessages ( IceConn iceConn, IcePointer clientData, int opcode, unsigned long length, int swap );
68 extern void PMSetupProcessMessages ( IceConn iceConn, IcePointer clientData, int opcode, unsigned long length, int swap, IceReplyWaitInfo *replyWait, int *replyReadyRet );
186 IceDisposeCompleteMessage (iceConn, _pStart); \
H A Dpmdb.c234 pmConn->iceConn = proxy_iceConn;
321 if (proxy->pmConn && (proxy->pmConn->iceConn == proxyIceConn))
363 assert (req->requestor->iceConn != NULL);
366 IceConnectionNumber (req->requestor->iceConn),
399 if (req->requestor->iceConn == proxyIceConn) {
404 if (proxy->pmConn && proxy->pmConn->iceConn) {
406 IceConnectionNumber(proxy->pmConn->iceConn));
/xsrc/external/mit/smproxy/dist/
H A Dsmproxy.c77 static void NullIceErrorHandler ( IceConn iceConn, Bool swap,
466 NullIceErrorHandler(IceConn iceConn, Bool swap, int offendingMinorOpcode,
1098 IceConn iceConn;
1129 iceConn = SmcGetIceConnection (proxy_smcConn);
1133 IceConnectionNumber (iceConn),
1136 (XtPointer) iceConn);
455 NullIceErrorHandler(IceConn iceConn,Bool swap,int offendingMinorOpcode,unsigned long offendingSequence,int errorClass,int severity,IcePointer values) argument
1072 IceConn iceConn; local in function:ConnectProxyToSM
/xsrc/external/mit/twm/dist/src/
H A Dsession.c887 IceConn iceConn; local in function:ConnectToSessionManager
915 iceConn = SmcGetIceConnection(smcConn);
918 IceConnectionNumber(iceConn),
920 ProcessIceMsgProc, (XtPointer) iceConn);

Completed in 16 milliseconds

12