Lines Matching refs:write_bin_error
105 static void write_bin_error(conn *c, protocol_binary_response_status err,
995 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_ENOMEM, ascii_error, 0); in out_of_memory()
1172 static void write_bin_error(conn *c, protocol_binary_response_status err, in write_bin_error() function
1294 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_DELTA_BADVAL, NULL, 0); in complete_incr_bin()
1318 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_NOT_STORED, in complete_incr_bin()
1335 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_KEY_ENOENT, NULL, 0); in complete_incr_bin()
1339 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_KEY_EEXISTS, NULL, 0); in complete_incr_bin()
1412 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_KEY_EEXISTS, NULL, 0); in complete_update_bin()
1415 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_KEY_ENOENT, NULL, 0); in complete_update_bin()
1427 write_bin_error(c, eno, NULL, 0); in complete_update_bin()
1546 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_KEY_ENOENT, in process_bin_get_or_touch()
1704 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_KEY_ENOENT, NULL, 0); in process_bin_stat()
1716 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_KEY_ENOENT, NULL, 0); in process_bin_stat()
1786 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_EINVAL, NULL, 0); in handle_binary_protocol_error()
1820 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_UNKNOWN_COMMAND, NULL, in bin_list_sasl_mechs()
1840 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_AUTH_ERROR, NULL, 0); in bin_list_sasl_mechs()
1849 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_UNKNOWN_COMMAND, NULL, in process_bin_sasl_auth()
1861 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_EINVAL, NULL, vlen); in process_bin_sasl_auth()
1873 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_ENOMEM, NULL, vlen); in process_bin_sasl_auth()
1954 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_AUTH_ERROR, NULL, 0); in process_bin_complete_sasl_auth()
1993 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_AUTH_ERROR, NULL, 0); in dispatch_bin_command()
2163 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_UNKNOWN_COMMAND, NULL, in dispatch_bin_command()
2216 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_E2BIG, NULL, vlen); in process_bin_update()
2294 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_E2BIG, NULL, vlen); in process_bin_append_prepend()
2332 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_AUTH_ERROR, NULL, 0); in process_bin_flush()
2394 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_KEY_EEXISTS, NULL, 0); in process_bin_delete()
2398 write_bin_error(c, PROTOCOL_BINARY_RESPONSE_KEY_ENOENT, NULL, 0); in process_bin_delete()