Lines Matching refs:state
52 bool (*startup)(struct JdwpState* state, const JdwpStartupParams* pParams);
53 bool (*accept)(struct JdwpState* state);
54 bool (*establish)(struct JdwpState* state);
55 void (*close)(struct JdwpState* state);
56 void (*shutdown)(struct JdwpState* state);
57 void (*free)(struct JdwpState* state);
58 bool (*isConnected)(struct JdwpState* state);
59 bool (*awaitingHandshake)(struct JdwpState* state);
60 bool (*processIncoming)(struct JdwpState* state);
61 bool (*sendRequest)(struct JdwpState* state, ExpandBuf* pReq);
62 bool (*sendBufferedRequest)(struct JdwpState* state,
138 void dvmJdwpResetState(JdwpState* state);
141 u4 dvmJdwpNextRequestSerial(JdwpState* state);
142 u4 dvmJdwpNextEventSerial(JdwpState* state);
151 INLINE bool dvmJdwpNetStartup(JdwpState* state, in dvmJdwpNetStartup() argument
154 return (*state->transport->startup)(state, pParams); in dvmJdwpNetStartup()
156 INLINE bool dvmJdwpAcceptConnection(JdwpState* state) { in dvmJdwpAcceptConnection() argument
157 return (*state->transport->accept)(state); in dvmJdwpAcceptConnection()
159 INLINE bool dvmJdwpEstablishConnection(JdwpState* state) { in dvmJdwpEstablishConnection() argument
160 return (*state->transport->establish)(state); in dvmJdwpEstablishConnection()
162 INLINE void dvmJdwpCloseConnection(JdwpState* state) { in dvmJdwpCloseConnection() argument
163 (*state->transport->close)(state); in dvmJdwpCloseConnection()
165 INLINE void dvmJdwpNetShutdown(JdwpState* state) { in dvmJdwpNetShutdown() argument
166 (*state->transport->shutdown)(state); in dvmJdwpNetShutdown()
168 INLINE void dvmJdwpNetFree(JdwpState* state) { in dvmJdwpNetFree() argument
169 (*state->transport->free)(state); in dvmJdwpNetFree()
171 INLINE bool dvmJdwpIsTransportDefined(JdwpState* state) { in dvmJdwpIsTransportDefined() argument
172 return state != NULL && state->transport != NULL; in dvmJdwpIsTransportDefined()
174 INLINE bool dvmJdwpIsConnected(JdwpState* state) { in dvmJdwpIsConnected() argument
175 return state != NULL && (*state->transport->isConnected)(state); in dvmJdwpIsConnected()
177 INLINE bool dvmJdwpAwaitingHandshake(JdwpState* state) { in dvmJdwpAwaitingHandshake() argument
178 return (*state->transport->awaitingHandshake)(state); in dvmJdwpAwaitingHandshake()
180 INLINE bool dvmJdwpProcessIncoming(JdwpState* state) { in dvmJdwpProcessIncoming() argument
181 return (*state->transport->processIncoming)(state); in dvmJdwpProcessIncoming()
183 INLINE bool dvmJdwpSendRequest(JdwpState* state, ExpandBuf* pReq) { in dvmJdwpSendRequest() argument
184 return (*state->transport->sendRequest)(state, pReq); in dvmJdwpSendRequest()
186 INLINE bool dvmJdwpSendBufferedRequest(JdwpState* state, in dvmJdwpSendBufferedRequest() argument
189 return (*state->transport->sendBufferedRequest)(state, iov, iovcnt); in dvmJdwpSendBufferedRequest()