Lines Matching defs:file
2 * contributor license agreements. See the NOTICE file distributed with
4 * The ASF licenses this file to You under the Apache License, Version 2.0
5 * (the "License"); you may not use this file except in compliance with
378 ** to look up lock information for this file.
597 /* if we don't see the file, then it's a locknull */
742 ** dav_fs_load_locknull_list: Returns a dav_buffer dump of the locknull file
749 apr_file_t *file = NULL;
764 if (apr_file_open(&file, pbuf->buf, APR_READ | APR_BINARY, APR_OS_DEFAULT,
769 rv = apr_file_info_get(&finfo, APR_FINFO_SIZE, file);
773 "Opened but could not stat file %s",
781 "Opened but rejected huge file %s",
788 if ((rv = apr_file_read(file, pbuf->buf, &amt)) != APR_SUCCESS
792 "Failure reading locknull file "
801 apr_file_close(file);
807 ** locknull file for dirpath.
813 apr_file_t *file = NULL;
828 /* delete the file if cur_len == 0 */
837 if ((rv = apr_file_open(&file, pathname,
846 if ((rv = apr_file_write_full(file, pbuf->buf, pbuf->cur_len, NULL))
855 apr_file_close(file);
938 "Could not load .locknull file.", err);
946 "Could not save .locknull file.", err);
955 ** remove it from the list in the appropriate .DAV/locknull file.