Lines Matching refs:write_bin_error
176 void write_bin_error(conn *c, protocol_binary_response_status err, in write_bin_error() function
235 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_EINVAL, NULL, 0); in handle_binary_protocol_error()
306 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_DELTA_BADVAL, NULL, 0); in complete_incr_bin()
332 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_NOT_STORED, in complete_incr_bin()
349 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_KEY_ENOENT, NULL, 0); in complete_incr_bin()
353 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_KEY_EEXISTS, NULL, 0); in complete_incr_bin()
420 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_KEY_EEXISTS, NULL, 0); in complete_update_bin()
423 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_KEY_ENOENT, NULL, 0); in complete_update_bin()
435 write_bin_error(c, eno, NULL, 0); in complete_update_bin()
451 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_KEY_ENOENT, in write_bin_miss_response()
646 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_KEY_ENOENT, NULL, 0); in process_bin_stat()
658 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_KEY_ENOENT, NULL, 0); in process_bin_stat()
700 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_UNKNOWN_COMMAND, NULL, in bin_list_sasl_mechs()
720 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_AUTH_ERROR, NULL, 0); in bin_list_sasl_mechs()
729 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_UNKNOWN_COMMAND, NULL, in process_bin_sasl_auth()
741 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_EINVAL, NULL, vlen); in process_bin_sasl_auth()
753 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_ENOMEM, NULL, vlen); in process_bin_sasl_auth()
780 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_EINVAL, NULL, vlen); in process_bin_complete_sasl_auth()
795 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_EINVAL, NULL, vlen); in process_bin_complete_sasl_auth()
855 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_AUTH_ERROR, NULL, 0); in process_bin_complete_sasl_auth()
895 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_UNKNOWN_COMMAND, NULL, 0); in dispatch_bin_command()
901 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_AUTH_ERROR, NULL, 0); in dispatch_bin_command()
1072 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_UNKNOWN_COMMAND, NULL, in dispatch_bin_command()
1125 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_E2BIG, NULL, vlen); in process_bin_update()
1213 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_E2BIG, NULL, vlen); in process_bin_append_prepend()
1259 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_AUTH_ERROR, NULL, 0); in process_bin_flush()
1315 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_KEY_EEXISTS, NULL, 0); in process_bin_delete()
1319 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_KEY_ENOENT, NULL, 0); in process_bin_delete()