Lines Matching refs:ErrorAbort
119 return ErrorAbort(state, kArgsParsingFailure, "%s() expects 4-5 args, got %d", name, argc); in MountFn()
142 ErrorAbort(state, kArgsParsingFailure, "fs_type argument to %s() can't be empty", name); in MountFn()
146 ErrorAbort(state, kArgsParsingFailure, "partition_type argument to %s() can't be empty", in MountFn()
151 ErrorAbort(state, kArgsParsingFailure, "location argument to %s() can't be empty", name); in MountFn()
155 ErrorAbort(state, kArgsParsingFailure, "mount_point argument to %s() can't be empty", in MountFn()
219 return ErrorAbort(state, kArgsParsingFailure, "%s() expects 1 arg, got %d", name, argc); in IsMountedFn()
226 ErrorAbort(state, kArgsParsingFailure, "mount_point argument to unmount() can't be empty"); in IsMountedFn()
249 return ErrorAbort(state, kArgsParsingFailure, "%s() expects 1 arg, got %d", name, argc); in UnmountFn()
256 ErrorAbort(state, kArgsParsingFailure, "mount_point argument to unmount() can't be empty"); in UnmountFn()
307 return ErrorAbort(state, kArgsParsingFailure, "%s() expects 5 args, got %d", name, argc); in FormatFn()
320 ErrorAbort(state, kArgsParsingFailure, "fs_type argument to %s() can't be empty", name); in FormatFn()
324 ErrorAbort(state, kArgsParsingFailure, "partition_type argument to %s() can't be empty", in FormatFn()
329 ErrorAbort(state, kArgsParsingFailure, "location argument to %s() can't be empty", name); in FormatFn()
334 ErrorAbort(state, kArgsParsingFailure, "mount_point argument to %s() can't be empty", in FormatFn()
410 return ErrorAbort(state, kArgsParsingFailure, "%s() expects 2 args, got %d", name, argc); in RenameFn()
420 ErrorAbort(state, kArgsParsingFailure, "src_name argument to %s() can't be empty", name); in RenameFn()
424 ErrorAbort(state, kArgsParsingFailure, "dst_name argument to %s() can't be empty", name); in RenameFn()
428 ErrorAbort(state, kFileRenameFailure, "Creating parent of %s failed, error %s", in RenameFn()
434 ErrorAbort(state, kFileRenameFailure, "Rename of %s to %s failed, error %s", in RenameFn()
477 return ErrorAbort(state, kArgsParsingFailure, "%s() expects 2 args, got %d", name, argc); in ShowProgressFn()
498 return ErrorAbort(state, kArgsParsingFailure, "%s() expects 1 arg, got %d", name, argc); in SetProgressFn()
517 return ErrorAbort(state, kArgsParsingFailure, "%s() expects 2 args, got %d", name, argc); in PackageExtractDirFn()
545 return ErrorAbort(state, kArgsParsingFailure, "%s() expects 1 or 2 args, got %d", in PackageExtractFileFn()
653 return ErrorAbort(state, kArgsParsingFailure, "%s() expects 1+ args, got %d", name, argc); in SymlinkFn()
689 return ErrorAbort(state, kSymlinkFailure, "%s: some symlinks failed", name); in SymlinkFn()
913 return ErrorAbort(state, kArgsParsingFailure, in SetMetadataFn()
921 result = ErrorAbort(state, kSetMetadataFailure, "%s: Error on lstat of \"%s\": %s", in SetMetadataFn()
951 return ErrorAbort(state, kSetMetadataFailure, "%s: some changes failed", name); in SetMetadataFn()
959 return ErrorAbort(state, kArgsParsingFailure, "%s() expects 1 arg, got %d", name, argc); in GetPropFn()
987 ErrorAbort(state, kFileGetPropFailure, "%s: failed to stat \"%s\": %s", name, filename, in FileGetPropFn()
995 ErrorAbort(state, kFileGetPropFailure, "%s too large for %s (max %d)", filename, name, in FileGetPropFn()
1002 ErrorAbort(state, kFileGetPropFailure, "%s: failed to alloc %lld bytes", name, in FileGetPropFn()
1010 ErrorAbort(state, kFileOpenFailure, "%s: failed to open %s: %s", name, filename, in FileGetPropFn()
1016 ErrorAbort(state, kFreadFailure, "%s: failed to read %lld bytes from %s", in FileGetPropFn()
1082 ErrorAbort(state, kArgsParsingFailure, "partition argument to %s must be string", name); in WriteRawImageFn()
1087 ErrorAbort(state, kArgsParsingFailure, "partition argument to %s can't be empty", name); in WriteRawImageFn()
1091 ErrorAbort(state, kArgsParsingFailure, "file argument to %s can't be empty", name); in WriteRawImageFn()
1172 ErrorAbort(state, kArgsParsingFailure, "%s(): can't parse \"%s\" as byte count\n\n", in ApplyPatchSpaceFn()
1185 return ErrorAbort(state, kArgsParsingFailure, "%s(): expected at least 6 args and an " in ApplyPatchFn()
1200 ErrorAbort(state, kArgsParsingFailure, "%s(): can't parse \"%s\" as byte count", in ApplyPatchFn()
1225 ErrorAbort(state, kArgsParsingFailure, "%s(): sha-1 #%d is not string", name, i); in ApplyPatchFn()
1229 ErrorAbort(state, kArgsParsingFailure, "%s(): patch #%d is not blob", name, i); in ApplyPatchFn()
1252 return ErrorAbort(state, kArgsParsingFailure, "%s(): expected at least 1 arg, got %d", in ApplyPatchCheckFn()
1297 return ErrorAbort(state, kArgsParsingFailure, "%s() expects no args, got %d", name, argc); in WipeCacheFn()
1305 return ErrorAbort(state, kArgsParsingFailure, "%s() expects at least 1 arg", name); in RunProgramFn()
1359 return ErrorAbort(state, kArgsParsingFailure, "%s() expects at least 1 arg", name); in Sha1CheckFn()
1407 return ErrorAbort(state, kArgsParsingFailure, "%s() expects 1 arg, got %d", name, argc); in ReadFileFn()
1437 return ErrorAbort(state, kArgsParsingFailure, "%s() expects 2 args, got %d", name, argc); in WriteValueFn()
1443 return ErrorAbort(state, kArgsParsingFailure, "%s(): Failed to parse the argument(s)", in WriteValueFn()
1468 return ErrorAbort(state, kArgsParsingFailure, "%s() expects 2 args, got %d", name, argc); in RebootNowFn()
1494 ErrorAbort(state, kRebootFailure, "%s() failed to reboot", name); in RebootNowFn()
1510 return ErrorAbort(state, kArgsParsingFailure, "%s() expects 2 args, got %d", name, argc); in SetStageFn()
1540 return ErrorAbort(state, kArgsParsingFailure, "%s() expects 1 arg, got %d", name, argc); in GetStageFn()
1558 return ErrorAbort(state, kArgsParsingFailure, "%s() expects 2 args, got %d", name, argc); in WipeBlockDeviceFn()
1580 return ErrorAbort(state, kArgsParsingFailure, "%s() expects no args, got %d", name, argc); in EnableRebootFn()
1589 return ErrorAbort(state, kArgsParsingFailure, "%s() expects args, got %d", name, argc); in Tune2FsFn()
1594 return ErrorAbort(state, kArgsParsingFailure, "%s() could not read args", name); in Tune2FsFn()
1612 return ErrorAbort(state, kTune2FsFailure, "%s() returned error code %d", in Tune2FsFn()