Lines Matching defs: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,
154 return (*state->transport->startup)(state, pParams);
156 INLINE bool dvmJdwpAcceptConnection(JdwpState* state) {
157 return (*state->transport->accept)(state);
159 INLINE bool dvmJdwpEstablishConnection(JdwpState* state) {
160 return (*state->transport->establish)(state);
162 INLINE void dvmJdwpCloseConnection(JdwpState* state) {
163 (*state->transport->close)(state);
165 INLINE void dvmJdwpNetShutdown(JdwpState* state) {
166 (*state->transport->shutdown)(state);
168 INLINE void dvmJdwpNetFree(JdwpState* state) {
169 (*state->transport->free)(state);
171 INLINE bool dvmJdwpIsTransportDefined(JdwpState* state) {
172 return state != NULL && state->transport != NULL;
174 INLINE bool dvmJdwpIsConnected(JdwpState* state) {
175 return state != NULL && (*state->transport->isConnected)(state);
177 INLINE bool dvmJdwpAwaitingHandshake(JdwpState* state) {
178 return (*state->transport->awaitingHandshake)(state);
180 INLINE bool dvmJdwpProcessIncoming(JdwpState* state) {
181 return (*state->transport->processIncoming)(state);
183 INLINE bool dvmJdwpSendRequest(JdwpState* state, ExpandBuf* pReq) {
184 return (*state->transport->sendRequest)(state, pReq);
186 INLINE bool dvmJdwpSendBufferedRequest(JdwpState* state,
189 return (*state->transport->sendBufferedRequest)(state, iov, iovcnt);