Lines Matching refs:status
233 apr_status_t status;
243 status = apr_filepath_merge(&nfrom, file->directory, from,
245 if (APR_SUCCESS == status) {
246 status = apr_filepath_merge(&nto, file->directory, to,
248 if (APR_SUCCESS == status) {
249 if (APR_SUCCESS == (status = apr_file_mtime_set(nfrom, file->end, pool))) {
250 if (APR_SUCCESS != (status = apr_file_rename(nfrom, nto, pool))) {
254 nfrom, nto, &status);
261 nfrom, file->end, &status);
267 file->directory, to, &status);
273 file->directory, from, &status);
278 return status;
322 apr_status_t status;
339 status = apr_filepath_merge(&native, file->directory, name,
341 if (APR_SUCCESS == status) {
342 if (APR_SUCCESS == (status = apr_file_open(&handle, native, APR_WRITE
344 if (APR_SUCCESS != (status = apr_file_write_full(handle, str, len,
348 native, &status);
354 native, &status);
360 file->directory, name, &status);
365 return status;
431 apr_status_t status;
436 if (APR_SUCCESS != (status = read_hex(&str, &val))) {
437 return status;
445 if (APR_SUCCESS != (status = read_hex(&str, &val))) {
446 return status;
477 if (APR_SUCCESS != (status = read_hex(&str, &val))) {
478 return status;
503 apr_status_t status = APR_SUCCESS;
522 status = apr_brigade_split_line(obb, bb, APR_BLOCK_READ,
525 if (APR_SUCCESS == status || APR_EOF == status) {
546 status = process_header(file, &header, str, len);
547 if (APR_SUCCESS != status) {
589 if (APR_SUCCESS != (status = apr_brigade_partition(bb,
593 "Could not read fragment body from input file: %pm\n", &status);
603 status = process_body(file, &header, buf, len);
606 if (ignore || APR_SUCCESS != status) {
624 status = process_body(file, &header, "", 0);
626 status = finalise_body(file, &header);
638 "Could not read fragment header from input file: %pm\n", &status);
644 return status;
652 apr_status_t status;
661 if (APR_SUCCESS != (status = apr_app_initialize(&argc, &argv, NULL))) {
666 if (APR_SUCCESS != (status = apr_pool_create(&pool, NULL))) {
687 while ((status = apr_getopt_long(opt, cmdline_opts, &optch, &optarg))
692 status = apr_file_open(&file->file_in, optarg, APR_FOPEN_READ,
694 if (status != APR_SUCCESS) {
696 "Could not open file '%s' for read: %pm\n", optarg, &status);
703 status = apr_stat(&finfo, optarg, APR_FINFO_TYPE, pool);
704 if (status != APR_SUCCESS) {
706 "Directory '%s' could not be found: %pm\n", optarg, &status);
741 if (APR_SUCCESS != status && APR_EOF != status) {
759 status = demux(file);
769 if (APR_SUCCESS != status) {