Lines Matching defs:result
122 int result;
149 result = _sasl_getcallback(NULL, SASL_CB_LOG, &log_cb, &log_ctx);
150 if (result == SASL_OK && ! log_cb)
151 result = SASL_FAIL;
152 if (result != SASL_OK)
202 result = _buf_alloc(error_buf, error_buf_len, outlen + char_len);
203 if (result != SASL_OK)
211 result = _buf_alloc(error_buf, error_buf_len, outlen+1);
212 if (result != SASL_OK)
232 result = _sasl_add_string(error_buf, error_buf_len,
235 if (result != SASL_OK) /* add the string */
242 result = _buf_alloc(error_buf, error_buf_len, outlen+1);
243 if (result != SASL_OK)
251 result = _sasl_add_string(error_buf, error_buf_len,
254 if (result != SASL_OK)
261 result = _sasl_add_string(error_buf, error_buf_len, &outlen,
265 result = _sasl_add_string(error_buf, error_buf_len, &outlen,
269 if (result != SASL_OK)
283 result = _sasl_add_string(error_buf, error_buf_len,
285 if (result != SASL_OK)
298 result = _sasl_add_string(error_buf, error_buf_len,
300 if (result != SASL_OK)
332 result = SASL_OK;
334 result = _buf_alloc(error_buf, error_buf_len, outlen+1);
335 if (result != SASL_OK) {
348 result = _sasl_getcallback(conn, SASL_CB_LOG, &log_cb, &log_ctx);
349 if (result == SASL_OK && ! log_cb)
350 result = SASL_FAIL;
351 if (result != SASL_OK)
354 result = log_cb(log_ctx, SASL_LOG_FAIL, conn->error_buf);