Lines Matching refs:result
119 int result;
146 result = _sasl_getcallback(NULL, SASL_CB_LOG, &log_cb, &log_ctx);
147 if (result == SASL_OK && ! log_cb)
148 result = SASL_FAIL;
149 if (result != SASL_OK)
199 result = _buf_alloc(error_buf, error_buf_len, outlen + char_len);
200 if (result != SASL_OK)
208 result = _buf_alloc(error_buf, error_buf_len, outlen+1);
209 if (result != SASL_OK)
229 result = _sasl_add_string(error_buf, error_buf_len,
232 if (result != SASL_OK) /* add the string */
239 result = _buf_alloc(error_buf, error_buf_len, outlen+1);
240 if (result != SASL_OK)
248 result = _sasl_add_string(error_buf, error_buf_len,
251 if (result != SASL_OK)
258 result = _sasl_add_string(error_buf, error_buf_len, &outlen,
262 result = _sasl_add_string(error_buf, error_buf_len, &outlen,
266 if (result != SASL_OK)
280 result = _sasl_add_string(error_buf, error_buf_len,
282 if (result != SASL_OK)
295 result = _sasl_add_string(error_buf, error_buf_len,
297 if (result != SASL_OK)
335 result = SASL_OK;
337 result = _buf_alloc(error_buf, error_buf_len, outlen+1);
338 if (result != SASL_OK) {
351 result = _sasl_getcallback(conn, SASL_CB_LOG, &log_cb, &log_ctx);
352 if (result == SASL_OK && ! log_cb)
353 result = SASL_FAIL;
354 if (result != SASL_OK)
357 result = log_cb(log_ctx, SASL_LOG_FAIL, conn->error_buf);