Lines Matching defs:error

48 	status_t error = AbstractConnection::Init();
49 if (error != B_OK)
50 return error;
52 error = AddDownStreamChannel(channel);
53 if (error != B_OK)
54 return error;
65 status_t error = AbstractConnection::Init();
66 if (error != B_OK)
67 return error;
80 error = _CreateChannel(&channel);
81 if (error != B_OK)
82 return error;
84 error = AddUpStreamChannel(channel);
85 if (error != B_OK) {
87 return error;
95 error = write_port(serverPort, 0, &request, sizeof(ConnectRequest));
96 if (error != B_OK)
97 return error;
100 error = channel->Receive(&reply, sizeof(ConnectReply));
101 if (error != B_OK)
102 return error;
103 error = reply.error;
104 if (error != B_OK)
105 return error;
118 error = _CreateChannel(&otherChannel);
119 if (error != B_OK)
120 return error;
123 error = AddUpStreamChannel(otherChannel);
125 error = AddDownStreamChannel(otherChannel);
126 if (error != B_OK) {
128 return error;
134 error = channel->Send(infos, sizeof(PortChannel::Info) * (allChannels - 1));
135 if (error != B_OK)
136 return error;
150 reply.error = B_OK;
153 status_t error = channel->Send(&reply, sizeof(ConnectReply));
154 if (error != B_OK)
155 return error;
163 error = channel->Receive(infos,
165 if (error != B_OK)
166 return error;
171 error = _CreateChannel(&otherChannel, infos + i - 1, true);
172 if (error != B_OK)
173 return error;
176 error = AddDownStreamChannel(otherChannel);
178 error = AddUpStreamChannel(otherChannel);
179 if (error != B_OK) {
181 return error;
196 status_t error = channel->InitCheck();
197 if (error != B_OK) {
199 return error;