Coverage Report

Created: 2026-04-01 07:49

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/libjxl/lib/jxl/base/status.h
Line
Count
Source
1
// Copyright (c) the JPEG XL Project Authors. All rights reserved.
2
//
3
// Use of this source code is governed by a BSD-style
4
// license that can be found in the LICENSE file.
5
6
#ifndef LIB_JXL_BASE_STATUS_H_
7
#define LIB_JXL_BASE_STATUS_H_
8
9
// Error handling: Status return type + helper macros.
10
11
#include <cstdarg>
12
#include <cstdint>
13
#include <cstdio>
14
#include <cstdlib>
15
#include <type_traits>
16
#include <utility>
17
18
#include "lib/jxl/base/common.h"
19
#include "lib/jxl/base/compiler_specific.h"
20
21
namespace jxl {
22
23
// The Verbose level for the library
24
#ifndef JXL_DEBUG_V_LEVEL
25
171k
#define JXL_DEBUG_V_LEVEL 0
26
#endif  // JXL_DEBUG_V_LEVEL
27
28
#ifdef USE_ANDROID_LOGGER
29
#include <android/log.h>
30
#define LIBJXL_ANDROID_LOG_TAG ("libjxl")
31
inline void android_vprintf(const char* format, va_list args) {
32
  char* message = nullptr;
33
  int res = vasprintf(&message, format, args);
34
  if (res != -1) {
35
    __android_log_write(ANDROID_LOG_DEBUG, LIBJXL_ANDROID_LOG_TAG, message);
36
    free(message);
37
  }
38
}
39
#endif
40
41
// Print a debug message on standard error or android logs. You should use the
42
// JXL_DEBUG macro instead of calling Debug directly. This function returns
43
// false, so it can be used as a return value in JXL_FAILURE.
44
JXL_FORMAT(1, 2)
45
370k
inline JXL_NOINLINE bool Debug(const char* format, ...) {
46
370k
  va_list args;
47
370k
  va_start(args, format);
48
#ifdef USE_ANDROID_LOGGER
49
  android_vprintf(format, args);
50
#else
51
370k
  vfprintf(stderr, format, args);
52
370k
#endif
53
370k
  va_end(args);
54
370k
  return false;
55
370k
}
56
57
// Print a debug message on standard error if "enabled" is true. "enabled" is
58
// normally a macro that evaluates to 0 or 1 at compile time, so the Debug
59
// function is never called and optimized out in release builds. Note that the
60
// arguments are compiled but not evaluated when enabled is false. The format
61
// string must be a explicit string in the call, for example:
62
//   JXL_DEBUG(JXL_DEBUG_MYMODULE, "my module message: %d", some_var);
63
// Add a header at the top of your module's .cc or .h file (depending on whether
64
// you have JXL_DEBUG calls from the .h as well) like this:
65
//   #ifndef JXL_DEBUG_MYMODULE
66
//   #define JXL_DEBUG_MYMODULE 0
67
//   #endif JXL_DEBUG_MYMODULE
68
#define JXL_DEBUG_TMP(format, ...) \
69
123k
  ::jxl::Debug(("%s:%d: " format "\n"), __FILE__, __LINE__, ##__VA_ARGS__)
70
71
#define JXL_DEBUG(enabled, format, ...)     \
72
123k
  do {                                      \
73
123k
    if (enabled) {                          \
74
123k
      JXL_DEBUG_TMP(format, ##__VA_ARGS__); \
75
123k
    }                                       \
76
123k
  } while (0)
77
78
// JXL_DEBUG version that prints the debug message if the global verbose level
79
// defined at compile time by JXL_DEBUG_V_LEVEL is greater or equal than the
80
// passed level.
81
#if JXL_DEBUG_V_LEVEL > 0
82
#define JXL_DEBUG_V(level, format, ...) \
83
  JXL_DEBUG(level <= JXL_DEBUG_V_LEVEL, format, ##__VA_ARGS__)
84
#else
85
#define JXL_DEBUG_V(level, format, ...)
86
#endif
87
88
#define JXL_WARNING(format, ...) \
89
123k
  JXL_DEBUG(JXL_IS_DEBUG_BUILD, format, ##__VA_ARGS__)
90
91
#if JXL_IS_DEBUG_BUILD
92
// Exits the program after printing a stack trace when possible.
93
0
JXL_NORETURN inline JXL_NOINLINE bool Abort() {
94
0
  JXL_PRINT_STACK_TRACE();
95
0
  JXL_CRASH();
96
0
}
97
#endif
98
99
#if JXL_IS_DEBUG_BUILD
100
#define JXL_DEBUG_ABORT(format, ...)                                   \
101
0
  do {                                                                 \
102
0
    if (JXL_DEBUG_ON_ABORT) {                                          \
103
0
      ::jxl::Debug(("%s:%d: JXL_DEBUG_ABORT: " format "\n"), __FILE__, \
104
0
                   __LINE__, ##__VA_ARGS__);                           \
105
0
    }                                                                  \
106
0
    ::jxl::Abort();                                                    \
107
0
  } while (0);
108
#else
109
#define JXL_DEBUG_ABORT(format, ...)
110
#endif
111
112
// Use this for code paths that are unreachable unless the code would change
113
// to make it reachable, in which case it will print a warning and abort in
114
// debug builds. In release builds no code is produced for this, so only use
115
// this if this path is really unreachable.
116
#if JXL_IS_DEBUG_BUILD
117
#define JXL_UNREACHABLE(format, ...)                                          \
118
0
  (::jxl::Debug(("%s:%d: JXL_UNREACHABLE: " format "\n"), __FILE__, __LINE__, \
119
0
                ##__VA_ARGS__),                                               \
120
0
   ::jxl::Abort(), JXL_FAILURE(format, ##__VA_ARGS__))
121
#else  // JXL_IS_DEBUG_BUILD
122
#define JXL_UNREACHABLE(format, ...) \
123
  JXL_FAILURE("internal: " format, ##__VA_ARGS__)
124
#endif
125
126
// Only runs in debug builds (builds where NDEBUG is not
127
// defined). This is useful for slower asserts that we want to run more rarely
128
// than usual. These will run on asan, msan and other debug builds, but not in
129
// opt or release.
130
#if JXL_IS_DEBUG_BUILD
131
#define JXL_DASSERT(condition)                                      \
132
83.9G
  do {                                                              \
133
83.9G
    if (!(condition)) {                                             \
134
0
      JXL_DEBUG(JXL_DEBUG_ON_ABORT, "JXL_DASSERT: %s", #condition); \
135
0
      ::jxl::Abort();                                               \
136
0
    }                                                               \
137
83.9G
  } while (0)
138
#else
139
#define JXL_DASSERT(condition)
140
#endif
141
142
// A jxl::Status value from a StatusCode or Status which prints a debug message
143
// when enabled.
144
#define JXL_STATUS(status, format, ...)                                        \
145
542k
  ::jxl::StatusMessage(::jxl::Status(status), "%s:%d: " format "\n", __FILE__, \
146
542k
                       __LINE__, ##__VA_ARGS__)
147
148
// Notify of an error but discard the resulting Status value. This is only
149
// useful for debug builds or when building with JXL_CRASH_ON_ERROR.
150
#define JXL_NOTIFY_ERROR(format, ...)                                      \
151
0
  (void)JXL_STATUS(::jxl::StatusCode::kGenericError, "JXL_ERROR: " format, \
152
0
                   ##__VA_ARGS__)
153
154
// An error Status with a message. The JXL_STATUS() macro will return a Status
155
// object with a kGenericError/kUnsupported/kNotEnoughBytes code, but the comma
156
// operator helps with clang-tidy inference and potentially with optimizations.
157
#define JXL_FAILURE(format, ...)                                              \
158
335k
  ((void)JXL_STATUS(::jxl::StatusCode::kGenericError, "JXL_FAILURE: " format, \
159
335k
                    ##__VA_ARGS__),                                           \
160
335k
   ::jxl::Status(::jxl::StatusCode::kGenericError))
161
#define JXL_UNSUPPORTED(format, ...)                            \
162
0
  ((void)JXL_STATUS(::jxl::StatusCode::kUnsupported,            \
163
0
                    "JXL_UNSUPPORTED: " format, ##__VA_ARGS__), \
164
0
   ::jxl::Status(::jxl::StatusCode::kUnsupported))
165
#define JXL_NOT_ENOUGH_BYTES(format, ...)                            \
166
207k
  ((void)JXL_STATUS(::jxl::StatusCode::kNotEnoughBytes,              \
167
207k
                    "JXL_NOT_ENOUGH_BYTES: " format, ##__VA_ARGS__), \
168
207k
   ::jxl::Status(::jxl::StatusCode::kNotEnoughBytes))
169
170
// Always evaluates the status exactly once, so can be used for non-debug calls.
171
// Returns from the current context if the passed Status expression is an error
172
// (fatal or non-fatal). The return value is the passed Status.
173
#define JXL_RETURN_IF_ERROR(status)                                       \
174
765M
  do {                                                                    \
175
765M
    ::jxl::Status jxl_return_if_error_status = (status);                  \
encode.cc:JxlEncoder::ProcessOneEnqueuedInput()::$_0::operator()() const
Line
Count
Source
175
4.37k
    ::jxl::Status jxl_return_if_error_status = (status);                  \
enc_fields.cc:jxl::WriteCodestreamHeaders(jxl::CodecMetadata*, jxl::BitWriter*, jxl::AuxOut*)::$_0::operator()() const
Line
Count
Source
175
4.37k
    ::jxl::Status jxl_return_if_error_status = (status);                  \
enc_frame.cc:jxl::(anonymous namespace)::EncodeGroups(jxl::FrameHeader const&, jxl::PassesEncoderState*, jxl::ModularFrameEncoder*, jxl::ThreadPool*, std::__1::vector<std::__1::unique_ptr<jxl::BitWriter, std::__1::default_delete<jxl::BitWriter> >, std::__1::allocator<std::__1::unique_ptr<jxl::BitWriter, std::__1::default_delete<jxl::BitWriter> > > >*, jxl::AuxOut*)::$_0::operator()(unsigned int, unsigned long) const::{lambda()#1}::operator()() const
Line
Count
Source
175
4.37k
    ::jxl::Status jxl_return_if_error_status = (status);                  \
enc_frame.cc:jxl::(anonymous namespace)::EncodeGroups(jxl::FrameHeader const&, jxl::PassesEncoderState*, jxl::ModularFrameEncoder*, jxl::ThreadPool*, std::__1::vector<std::__1::unique_ptr<jxl::BitWriter, std::__1::default_delete<jxl::BitWriter> >, std::__1::allocator<std::__1::unique_ptr<jxl::BitWriter, std::__1::default_delete<jxl::BitWriter> > > >*, jxl::AuxOut*)::$_0::operator()(unsigned int, unsigned long) const::{lambda()#2}::operator()() const
Line
Count
Source
175
4.30k
    ::jxl::Status jxl_return_if_error_status = (status);                  \
enc_frame.cc:jxl::(anonymous namespace)::EncodeGlobalACInfo(jxl::PassesEncoderState*, jxl::BitWriter*, jxl::ModularFrameEncoder*, jxl::AuxOut*)::$_0::operator()() const
Line
Count
Source
175
2.91k
    ::jxl::Status jxl_return_if_error_status = (status);                  \
enc_frame.cc:jxl::(anonymous namespace)::EncodeGlobalACInfo(jxl::PassesEncoderState*, jxl::BitWriter*, jxl::ModularFrameEncoder*, jxl::AuxOut*)::$_1::operator()() const
Line
Count
Source
175
4.34k
    ::jxl::Status jxl_return_if_error_status = (status);                  \
enc_frame.cc:jxl::(anonymous namespace)::EncodeGroups(jxl::FrameHeader const&, jxl::PassesEncoderState*, jxl::ModularFrameEncoder*, jxl::ThreadPool*, std::__1::vector<std::__1::unique_ptr<jxl::BitWriter, std::__1::default_delete<jxl::BitWriter> >, std::__1::allocator<std::__1::unique_ptr<jxl::BitWriter, std::__1::default_delete<jxl::BitWriter> > > >*, jxl::AuxOut*)::$_1::operator()() const
Line
Count
Source
175
21.7k
    ::jxl::Status jxl_return_if_error_status = (status);                  \
enc_frame.cc:jxl::(anonymous namespace)::EncodeFrameStreaming(JxlMemoryManagerStruct*, jxl::CompressParams const&, jxl::FrameInfo const&, jxl::CodecMetadata const*, jxl::JxlEncoderChunkedFrameAdapter&, bool, JxlCmsInterface const&, jxl::ThreadPool*, JxlEncoderOutputProcessorWrapper*, jxl::AuxOut*)::$_0::operator()() const
Line
Count
Source
175
117
    ::jxl::Status jxl_return_if_error_status = (status);                  \
enc_frame.cc:jxl::(anonymous namespace)::OutputAcGlobal(jxl::PassesEncoderState&, jxl::FrameDimensions const&, jxl::AuxOut*)::$_0::operator()() const
Line
Count
Source
175
39
    ::jxl::Status jxl_return_if_error_status = (status);                  \
enc_frame.cc:jxl::(anonymous namespace)::OutputAcGlobal(jxl::PassesEncoderState&, jxl::FrameDimensions const&, jxl::AuxOut*)::$_1::operator()() const
Line
Count
Source
175
39
    ::jxl::Status jxl_return_if_error_status = (status);                  \
enc_frame.cc:jxl::(anonymous namespace)::OutputAcGlobal(jxl::PassesEncoderState&, jxl::FrameDimensions const&, jxl::AuxOut*)::$_2::operator()() const
Line
Count
Source
175
39
    ::jxl::Status jxl_return_if_error_status = (status);                  \
enc_frame.cc:jxl::(anonymous namespace)::EncodeTOC(JxlMemoryManagerStruct*, std::__1::vector<unsigned long, std::__1::allocator<unsigned long> > const&, jxl::AuxOut*)::$_0::operator()() const
Line
Count
Source
175
3.39k
    ::jxl::Status jxl_return_if_error_status = (status);                  \
Unexecuted instantiation: enc_group.cc:jxl::EncodeGroupTokenizedCoefficients(unsigned long, unsigned long, unsigned long, jxl::PassesEncoderState const&, jxl::BitWriter*, jxl::AuxOut*)::$_0::operator()() const
Unexecuted instantiation: enc_icc_codec.cc:jxl::WriteICC(jxl::Span<unsigned char const>, jxl::BitWriter*, jxl::LayerType, jxl::AuxOut*)::$_0::operator()() const
enc_modular.cc:jxl::ModularFrameEncoder::EncodeGlobalInfo(bool, jxl::BitWriter*, jxl::AuxOut*)::$_0::operator()() const
Line
Count
Source
175
32.6k
    ::jxl::Status jxl_return_if_error_status = (status);                  \
enc_ans.cc:jxl::BuildAndEncodeHistograms(JxlMemoryManagerStruct*, jxl::HistogramParams const&, unsigned long, std::__1::vector<std::__1::vector<jxl::Token, std::__1::allocator<jxl::Token> >, std::__1::allocator<std::__1::vector<jxl::Token, std::__1::allocator<jxl::Token> > > >&, jxl::EntropyEncodingData*, jxl::BitWriter*, jxl::LayerType, jxl::AuxOut*)::$_0::operator()() const::{lambda()#1}::operator()() const
Line
Count
Source
175
195
    ::jxl::Status jxl_return_if_error_status = (status);                  \
enc_ans.cc:jxl::EntropyEncodingData::BuildAndStoreANSEncodingData(JxlMemoryManagerStruct*, jxl::HistogramParams::ANSHistogramStrategy, jxl::Histogram const&, jxl::BitWriter*)::$_0::operator()() const
Line
Count
Source
175
33.9k
    ::jxl::Status jxl_return_if_error_status = (status);                  \
enc_context_map.cc:jxl::EncodeContextMap(std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > const&, unsigned long, jxl::BitWriter*, jxl::LayerType, jxl::AuxOut*)::$_0::operator()() const
Line
Count
Source
175
91.8k
    ::jxl::Status jxl_return_if_error_status = (status);                  \
enc_context_map.cc:jxl::EncodeContextMap(std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > const&, unsigned long, jxl::BitWriter*, jxl::LayerType, jxl::AuxOut*)::$_1::operator()() const
Line
Count
Source
175
70.4k
    ::jxl::Status jxl_return_if_error_status = (status);                  \
176
765M
    if (!jxl_return_if_error_status) {                                    \
177
867k
      (void)::jxl::StatusMessage(                                         \
178
867k
          jxl_return_if_error_status,                                     \
179
867k
          "%s:%d: JXL_RETURN_IF_ERROR code=%d: %s\n", __FILE__, __LINE__, \
180
867k
          static_cast<int>(jxl_return_if_error_status.code()), #status);  \
181
867k
      return jxl_return_if_error_status;                                  \
182
867k
    }                                                                     \
183
765M
  } while (0)
184
185
// As above, but without calling StatusMessage. Intended for bundles (see
186
// fields.h), which have numerous call sites (-> relevant for code size) and do
187
// not want to generate excessive messages when decoding partial headers.
188
#define JXL_QUIET_RETURN_IF_ERROR(status)                \
189
790M
  do {                                                   \
190
790M
    ::jxl::Status jxl_return_if_error_status = (status); \
191
790M
    if (!jxl_return_if_error_status) {                   \
192
410k
      return jxl_return_if_error_status;                 \
193
410k
    }                                                    \
194
790M
  } while (0)
195
196
#if JXL_IS_DEBUG_BUILD
197
// Debug: fatal check.
198
#define JXL_ENSURE(condition)                     \
199
673M
  do {                                            \
200
673M
    if (!(condition)) {                           \
201
0
      ::jxl::Debug("JXL_ENSURE: %s", #condition); \
202
0
      ::jxl::Abort();                             \
203
0
    }                                             \
204
673M
  } while (0)
205
#else
206
// Release: non-fatal check of condition. If false, just return an error.
207
#define JXL_ENSURE(condition)                           \
208
  do {                                                  \
209
    if (!(condition)) {                                 \
210
      return JXL_FAILURE("JXL_ENSURE: %s", #condition); \
211
    }                                                   \
212
  } while (0)
213
#endif
214
215
enum class StatusCode : int32_t {
216
  // Non-fatal errors (negative values).
217
  kNotEnoughBytes = -1,
218
219
  // The only non-error status code.
220
  kOk = 0,
221
222
  // Fatal-errors (positive values)
223
  kGenericError = 1,
224
  kUnsupported = 2,
225
};
226
227
// Drop-in replacement for bool that raises compiler warnings if not used
228
// after being returned from a function. Example:
229
// Status LoadFile(...) { return true; } is more compact than
230
// bool JXL_MUST_USE_RESULT LoadFile(...) { return true; }
231
// In case of error, the status can carry an extra error code in its value which
232
// is split between fatal and non-fatal error codes.
233
class JXL_MUST_USE_RESULT Status {
234
 public:
235
  // We want implicit constructor from bool to allow returning "true" or "false"
236
  // on a function when using Status. "true" means kOk while "false" means a
237
  // generic fatal error.
238
  // NOLINTNEXTLINE(google-explicit-constructor)
239
  constexpr Status(bool ok)
240
1.87G
      : code_(ok ? StatusCode::kOk : StatusCode::kGenericError) {}
241
242
  // NOLINTNEXTLINE(google-explicit-constructor)
243
79.2M
  constexpr Status(StatusCode code) : code_(code) {}
244
245
  // We also want implicit cast to bool to check for return values of functions.
246
  // NOLINTNEXTLINE(google-explicit-constructor)
247
2.03G
  constexpr operator bool() const { return code_ == StatusCode::kOk; }
248
249
2.42M
  constexpr StatusCode code() const { return code_; }
250
251
  // Returns whether the status code is a fatal error.
252
2.10M
  constexpr bool IsFatalError() const {
253
2.10M
    return static_cast<int32_t>(code_) > 0;
254
2.10M
  }
255
256
 private:
257
  StatusCode code_;
258
};
259
260
51.0k
static constexpr Status OkStatus() { return Status(StatusCode::kOk); }
encode.cc:jxl::OkStatus()
Line
Count
Source
260
51.0k
static constexpr Status OkStatus() { return Status(StatusCode::kOk); }
Unexecuted instantiation: enc_jpeg_data.cc:jxl::OkStatus()
Unexecuted instantiation: enc_jpeg_data_reader.cc:jxl::OkStatus()
Unexecuted instantiation: enc_jpeg_huffman_decode.cc:jxl::OkStatus()
Unexecuted instantiation: color_encoding_internal.cc:jxl::OkStatus()
Unexecuted instantiation: decode.cc:jxl::OkStatus()
Unexecuted instantiation: fields.cc:jxl::OkStatus()
Unexecuted instantiation: frame_header.cc:jxl::OkStatus()
Unexecuted instantiation: headers.cc:jxl::OkStatus()
Unexecuted instantiation: icc_codec.cc:jxl::OkStatus()
Unexecuted instantiation: icc_codec_common.cc:jxl::OkStatus()
Unexecuted instantiation: image_metadata.cc:jxl::OkStatus()
Unexecuted instantiation: loop_filter.cc:jxl::OkStatus()
Unexecuted instantiation: luminance.cc:jxl::OkStatus()
Unexecuted instantiation: memory_manager_internal.cc:jxl::OkStatus()
Unexecuted instantiation: encoding.cc:jxl::OkStatus()
Unexecuted instantiation: modular_image.cc:jxl::OkStatus()
Unexecuted instantiation: squeeze_params.cc:jxl::OkStatus()
Unexecuted instantiation: transform.cc:jxl::OkStatus()
Unexecuted instantiation: quant_weights.cc:jxl::OkStatus()
Unexecuted instantiation: quantizer.cc:jxl::OkStatus()
Unexecuted instantiation: decode_to_jpeg.cc:jxl::OkStatus()
Unexecuted instantiation: dec_jpeg_data.cc:jxl::OkStatus()
Unexecuted instantiation: dec_jpeg_data_writer.cc:jxl::OkStatus()
Unexecuted instantiation: jpeg_data.cc:jxl::OkStatus()
Unexecuted instantiation: enc_aux_out.cc:jxl::OkStatus()
Unexecuted instantiation: enc_bit_writer.cc:jxl::OkStatus()
Unexecuted instantiation: enc_fast_lossless.cc:jxl::OkStatus()
Unexecuted instantiation: enc_fields.cc:jxl::OkStatus()
Unexecuted instantiation: enc_frame.cc:jxl::OkStatus()
Unexecuted instantiation: enc_group.cc:jxl::OkStatus()
Unexecuted instantiation: enc_heuristics.cc:jxl::OkStatus()
Unexecuted instantiation: enc_icc_codec.cc:jxl::OkStatus()
Unexecuted instantiation: enc_modular.cc:jxl::OkStatus()
Unexecuted instantiation: enc_modular_simd.cc:jxl::OkStatus()
Unexecuted instantiation: enc_noise.cc:jxl::OkStatus()
Unexecuted instantiation: enc_patch_dictionary.cc:jxl::OkStatus()
Unexecuted instantiation: enc_photon_noise.cc:jxl::OkStatus()
Unexecuted instantiation: enc_progressive_split.cc:jxl::OkStatus()
Unexecuted instantiation: enc_quant_weights.cc:jxl::OkStatus()
Unexecuted instantiation: enc_splines.cc:jxl::OkStatus()
Unexecuted instantiation: enc_toc.cc:jxl::OkStatus()
Unexecuted instantiation: enc_xyb.cc:jxl::OkStatus()
Unexecuted instantiation: enc_encoding.cc:jxl::OkStatus()
Unexecuted instantiation: enc_ma.cc:jxl::OkStatus()
Unexecuted instantiation: enc_rct.cc:jxl::OkStatus()
Unexecuted instantiation: enc_transform.cc:jxl::OkStatus()
Unexecuted instantiation: ac_strategy.cc:jxl::OkStatus()
Unexecuted instantiation: chroma_from_luma.cc:jxl::OkStatus()
Unexecuted instantiation: compressed_dc.cc:jxl::OkStatus()
Unexecuted instantiation: dec_ans.cc:jxl::OkStatus()
Unexecuted instantiation: dec_bit_reader.cc:jxl::OkStatus()
Unexecuted instantiation: dec_cache.cc:jxl::OkStatus()
Unexecuted instantiation: dec_context_map.cc:jxl::OkStatus()
Unexecuted instantiation: dec_external_image.cc:jxl::OkStatus()
Unexecuted instantiation: dec_frame.cc:jxl::OkStatus()
Unexecuted instantiation: dec_group.cc:jxl::OkStatus()
Unexecuted instantiation: dec_huffman.cc:jxl::OkStatus()
Unexecuted instantiation: dec_modular.cc:jxl::OkStatus()
Unexecuted instantiation: dec_noise.cc:jxl::OkStatus()
Unexecuted instantiation: dec_patch_dictionary.cc:jxl::OkStatus()
Unexecuted instantiation: dec_xyb.cc:jxl::OkStatus()
Unexecuted instantiation: entropy_coder.cc:jxl::OkStatus()
Unexecuted instantiation: epf.cc:jxl::OkStatus()
Unexecuted instantiation: image.cc:jxl::OkStatus()
Unexecuted instantiation: image_bundle.cc:jxl::OkStatus()
Unexecuted instantiation: image_ops.cc:jxl::OkStatus()
Unexecuted instantiation: dec_ma.cc:jxl::OkStatus()
Unexecuted instantiation: palette.cc:jxl::OkStatus()
Unexecuted instantiation: rct.cc:jxl::OkStatus()
Unexecuted instantiation: squeeze.cc:jxl::OkStatus()
Unexecuted instantiation: opsin_params.cc:jxl::OkStatus()
Unexecuted instantiation: passes_state.cc:jxl::OkStatus()
Unexecuted instantiation: render_pipeline.cc:jxl::OkStatus()
Unexecuted instantiation: simple_render_pipeline.cc:jxl::OkStatus()
Unexecuted instantiation: stage_blending.cc:jxl::OkStatus()
Unexecuted instantiation: stage_chroma_upsampling.cc:jxl::OkStatus()
Unexecuted instantiation: stage_cms.cc:jxl::OkStatus()
Unexecuted instantiation: stage_epf.cc:jxl::OkStatus()
Unexecuted instantiation: stage_from_linear.cc:jxl::OkStatus()
Unexecuted instantiation: stage_gaborish.cc:jxl::OkStatus()
Unexecuted instantiation: stage_noise.cc:jxl::OkStatus()
Unexecuted instantiation: stage_patches.cc:jxl::OkStatus()
Unexecuted instantiation: stage_splines.cc:jxl::OkStatus()
Unexecuted instantiation: stage_spot.cc:jxl::OkStatus()
Unexecuted instantiation: stage_to_linear.cc:jxl::OkStatus()
Unexecuted instantiation: stage_tone_mapping.cc:jxl::OkStatus()
Unexecuted instantiation: stage_upsampling.cc:jxl::OkStatus()
Unexecuted instantiation: stage_write.cc:jxl::OkStatus()
Unexecuted instantiation: stage_xyb.cc:jxl::OkStatus()
Unexecuted instantiation: stage_ycbcr.cc:jxl::OkStatus()
Unexecuted instantiation: splines.cc:jxl::OkStatus()
Unexecuted instantiation: toc.cc:jxl::OkStatus()
Unexecuted instantiation: butteraugli.cc:jxl::OkStatus()
Unexecuted instantiation: enc_ac_strategy.cc:jxl::OkStatus()
Unexecuted instantiation: enc_adaptive_quantization.cc:jxl::OkStatus()
Unexecuted instantiation: enc_ans.cc:jxl::OkStatus()
Unexecuted instantiation: enc_ans_simd.cc:jxl::OkStatus()
Unexecuted instantiation: enc_butteraugli_comparator.cc:jxl::OkStatus()
Unexecuted instantiation: enc_cache.cc:jxl::OkStatus()
Unexecuted instantiation: enc_chroma_from_luma.cc:jxl::OkStatus()
Unexecuted instantiation: enc_cluster.cc:jxl::OkStatus()
Unexecuted instantiation: enc_coeff_order.cc:jxl::OkStatus()
Unexecuted instantiation: enc_context_map.cc:jxl::OkStatus()
Unexecuted instantiation: enc_convolve_separable5.cc:jxl::OkStatus()
Unexecuted instantiation: enc_debug_image.cc:jxl::OkStatus()
Unexecuted instantiation: enc_dot_dictionary.cc:jxl::OkStatus()
Unexecuted instantiation: enc_entropy_coder.cc:jxl::OkStatus()
Unexecuted instantiation: enc_external_image.cc:jxl::OkStatus()
Unexecuted instantiation: enc_gaborish.cc:jxl::OkStatus()
Unexecuted instantiation: enc_huffman.cc:jxl::OkStatus()
Unexecuted instantiation: enc_huffman_tree.cc:jxl::OkStatus()
Unexecuted instantiation: enc_image_bundle.cc:jxl::OkStatus()
Unexecuted instantiation: enc_lz77.cc:jxl::OkStatus()
Unexecuted instantiation: enc_palette.cc:jxl::OkStatus()
Unexecuted instantiation: enc_squeeze.cc:jxl::OkStatus()
Unexecuted instantiation: ans_common.cc:jxl::OkStatus()
Unexecuted instantiation: blending.cc:jxl::OkStatus()
Unexecuted instantiation: coeff_order.cc:jxl::OkStatus()
Unexecuted instantiation: convolve_slow.cc:jxl::OkStatus()
Unexecuted instantiation: convolve_symmetric5.cc:jxl::OkStatus()
Unexecuted instantiation: low_memory_render_pipeline.cc:jxl::OkStatus()
Unexecuted instantiation: render_pipeline_stage.cc:jxl::OkStatus()
Unexecuted instantiation: enc_detect_dots.cc:jxl::OkStatus()
Unexecuted instantiation: enc_linalg.cc:jxl::OkStatus()
Unexecuted instantiation: dec_group_border.cc:jxl::OkStatus()
Unexecuted instantiation: jxl_cms.cc:jxl::OkStatus()
261
262
// Helper function to create a Status and print the debug message or abort when
263
// needed.
264
inline JXL_FORMAT(2, 3) Status
265
1.40M
    StatusMessage(const Status status, const char* format, ...) {
266
  // This block will be optimized out when JXL_IS_DEBUG_BUILD is disabled.
267
1.40M
  if ((JXL_IS_DEBUG_BUILD && status.IsFatalError()) ||
268
848k
      (JXL_DEBUG_ON_ALL_ERROR && !status)) {
269
848k
    va_list args;
270
848k
    va_start(args, format);
271
#ifdef USE_ANDROID_LOGGER
272
    android_vprintf(format, args);
273
#else
274
848k
    vfprintf(stderr, format, args);
275
848k
#endif
276
848k
    va_end(args);
277
848k
  }
278
#if JXL_CRASH_ON_ERROR
279
  // JXL_CRASH_ON_ERROR means to Abort() only on non-fatal errors.
280
  if (status.IsFatalError()) {
281
    ::jxl::Abort();
282
  }
283
#endif  // JXL_CRASH_ON_ERROR
284
1.40M
  return status;
285
1.40M
}
286
287
template <typename T>
288
class JXL_MUST_USE_RESULT StatusOr {
289
  static_assert(!std::is_convertible<StatusCode, T>::value &&
290
                    !std::is_convertible<T, StatusCode>::value,
291
                "You cannot make a StatusOr with a type convertible from or to "
292
                "StatusCode");
293
  static_assert(std::is_move_constructible<T>::value &&
294
                    std::is_move_assignable<T>::value,
295
                "T must be move constructible and move assignable");
296
297
 public:
298
  // NOLINTNEXTLINE(google-explicit-constructor)
299
149
  StatusOr(StatusCode code) : code_(code) {
300
149
    JXL_DASSERT(code_ != StatusCode::kOk);
301
149
  }
Unexecuted instantiation: jxl::StatusOr<jxl::PaddedBytes>::StatusOr(jxl::StatusCode)
Unexecuted instantiation: jxl::StatusOr<JxlOutputProcessorBuffer>::StatusOr(jxl::StatusCode)
Unexecuted instantiation: jxl::StatusOr<std::__1::unique_ptr<jxl::jpeg::JPEGData, std::__1::default_delete<jxl::jpeg::JPEGData> > >::StatusOr(jxl::StatusCode)
jxl::StatusOr<jxl::AlignedMemory>::StatusOr(jxl::StatusCode)
Line
Count
Source
299
53
  StatusOr(StatusCode code) : code_(code) {
300
53
    JXL_DASSERT(code_ != StatusCode::kOk);
301
53
  }
jxl::StatusOr<jxl::Plane<int> >::StatusOr(jxl::StatusCode)
Line
Count
Source
299
17
  StatusOr(StatusCode code) : code_(code) {
300
17
    JXL_DASSERT(code_ != StatusCode::kOk);
301
17
  }
jxl::StatusOr<jxl::Channel>::StatusOr(jxl::StatusCode)
Line
Count
Source
299
8
  StatusOr(StatusCode code) : code_(code) {
300
8
    JXL_DASSERT(code_ != StatusCode::kOk);
301
8
  }
jxl::StatusOr<jxl::Image>::StatusOr(jxl::StatusCode)
Line
Count
Source
299
8
  StatusOr(StatusCode code) : code_(code) {
300
8
    JXL_DASSERT(code_ != StatusCode::kOk);
301
8
  }
jxl::StatusOr<jxl::Plane<unsigned char> >::StatusOr(jxl::StatusCode)
Line
Count
Source
299
7
  StatusOr(StatusCode code) : code_(code) {
300
7
    JXL_DASSERT(code_ != StatusCode::kOk);
301
7
  }
jxl::StatusOr<jxl::Image3<float> >::StatusOr(jxl::StatusCode)
Line
Count
Source
299
11
  StatusOr(StatusCode code) : code_(code) {
300
11
    JXL_DASSERT(code_ != StatusCode::kOk);
301
11
  }
jxl::StatusOr<jxl::Plane<float> >::StatusOr(jxl::StatusCode)
Line
Count
Source
299
28
  StatusOr(StatusCode code) : code_(code) {
300
28
    JXL_DASSERT(code_ != StatusCode::kOk);
301
28
  }
Unexecuted instantiation: jxl::StatusOr<jxl::Image3<int> >::StatusOr(jxl::StatusCode)
Unexecuted instantiation: jxl::StatusOr<std::__1::unique_ptr<jxl::ACImageT<int>, std::__1::default_delete<jxl::ACImageT<int> > > >::StatusOr(jxl::StatusCode)
Unexecuted instantiation: jxl::StatusOr<std::__1::unique_ptr<jxl::BitWriter, std::__1::default_delete<jxl::BitWriter> > >::StatusOr(jxl::StatusCode)
Unexecuted instantiation: jxl::StatusOr<jxl::AlignedArray<jxl::GroupDecCache> >::StatusOr(jxl::StatusCode)
Unexecuted instantiation: jxl::StatusOr<bool>::StatusOr(jxl::StatusCode)
Unexecuted instantiation: jxl::StatusOr<std::__1::unique_ptr<jxl::ModularFrameEncoder, std::__1::default_delete<jxl::ModularFrameEncoder> > >::StatusOr(jxl::StatusCode)
Unexecuted instantiation: jxl::StatusOr<float>::StatusOr(jxl::StatusCode)
Unexecuted instantiation: jxl::StatusOr<std::__1::vector<std::__1::pair<jxl::QuantizedPatch, std::__1::vector<std::__1::pair<unsigned int, unsigned int>, std::__1::allocator<std::__1::pair<unsigned int, unsigned int> > > >, std::__1::allocator<std::__1::pair<jxl::QuantizedPatch, std::__1::vector<std::__1::pair<unsigned int, unsigned int>, std::__1::allocator<std::__1::pair<unsigned int, unsigned int> > > > > > >::StatusOr(jxl::StatusCode)
Unexecuted instantiation: jxl::StatusOr<std::__1::vector<jxl::PropertyDecisionNode, std::__1::allocator<jxl::PropertyDecisionNode> > >::StatusOr(jxl::StatusCode)
jxl::StatusOr<jxl::AcStrategyImage>::StatusOr(jxl::StatusCode)
Line
Count
Source
299
1
  StatusOr(StatusCode code) : code_(code) {
300
1
    JXL_DASSERT(code_ != StatusCode::kOk);
301
1
  }
jxl::StatusOr<jxl::Plane<signed char> >::StatusOr(jxl::StatusCode)
Line
Count
Source
299
1
  StatusOr(StatusCode code) : code_(code) {
300
1
    JXL_DASSERT(code_ != StatusCode::kOk);
301
1
  }
jxl::StatusOr<jxl::ColorCorrelationMap>::StatusOr(jxl::StatusCode)
Line
Count
Source
299
1
  StatusOr(StatusCode code) : code_(code) {
300
1
    JXL_DASSERT(code_ != StatusCode::kOk);
301
1
  }
Unexecuted instantiation: jxl::StatusOr<jxl::ANSSymbolReader>::StatusOr(jxl::StatusCode)
Unexecuted instantiation: jxl::StatusOr<jxl::Plane<hwy::float16_t> >::StatusOr(jxl::StatusCode)
Unexecuted instantiation: jxl::StatusOr<jxl::Plane<unsigned int> >::StatusOr(jxl::StatusCode)
Unexecuted instantiation: jxl::StatusOr<jxl::Plane<short> >::StatusOr(jxl::StatusCode)
Unexecuted instantiation: jxl::StatusOr<jxl::Image3<short> >::StatusOr(jxl::StatusCode)
Unexecuted instantiation: jxl::StatusOr<std::__1::unique_ptr<jxl::ACImageT<short>, std::__1::default_delete<jxl::ACImageT<short> > > >::StatusOr(jxl::StatusCode)
jxl::StatusOr<std::__1::unique_ptr<jxl::RenderPipeline, std::__1::default_delete<jxl::RenderPipeline> > >::StatusOr(jxl::StatusCode)
Line
Count
Source
299
14
  StatusOr(StatusCode code) : code_(code) {
300
14
    JXL_DASSERT(code_ != StatusCode::kOk);
301
14
  }
Unexecuted instantiation: jxl::StatusOr<std::__1::unique_ptr<jxl::ButteraugliComparator, std::__1::default_delete<jxl::ButteraugliComparator> > >::StatusOr(jxl::StatusCode)
Unexecuted instantiation: jxl::StatusOr<jxl::ImageBundle>::StatusOr(jxl::StatusCode)
Unexecuted instantiation: enc_ans.cc:jxl::StatusOr<jxl::(anonymous namespace)::ANSEncodingHistogram>::StatusOr(jxl::StatusCode)
Unexecuted instantiation: jxl::StatusOr<unsigned long>::StatusOr(jxl::StatusCode)
Unexecuted instantiation: jxl::StatusOr<jxl::Image3<unsigned char> >::StatusOr(jxl::StatusCode)
Unexecuted instantiation: low_memory_render_pipeline.cc:jxl::StatusOr<jxl::(anonymous namespace)::Rows>::StatusOr(jxl::StatusCode)
Unexecuted instantiation: enc_detect_dots.cc:jxl::StatusOr<std::__1::vector<jxl::(anonymous namespace)::ConnectedComponent, std::__1::allocator<jxl::(anonymous namespace)::ConnectedComponent> > >::StatusOr(jxl::StatusCode)
Unexecuted instantiation: enc_detect_dots.cc:jxl::StatusOr<jxl::(anonymous namespace)::GaussianEllipse>::StatusOr(jxl::StatusCode)
302
303
  // NOLINTNEXTLINE(google-explicit-constructor)
304
149
  StatusOr(Status status) : StatusOr(status.code()) {}
Unexecuted instantiation: jxl::StatusOr<jxl::PaddedBytes>::StatusOr(jxl::Status)
Unexecuted instantiation: jxl::StatusOr<JxlOutputProcessorBuffer>::StatusOr(jxl::Status)
Unexecuted instantiation: jxl::StatusOr<std::__1::unique_ptr<jxl::jpeg::JPEGData, std::__1::default_delete<jxl::jpeg::JPEGData> > >::StatusOr(jxl::Status)
jxl::StatusOr<jxl::AlignedMemory>::StatusOr(jxl::Status)
Line
Count
Source
304
53
  StatusOr(Status status) : StatusOr(status.code()) {}
jxl::StatusOr<jxl::Plane<int> >::StatusOr(jxl::Status)
Line
Count
Source
304
17
  StatusOr(Status status) : StatusOr(status.code()) {}
jxl::StatusOr<jxl::Channel>::StatusOr(jxl::Status)
Line
Count
Source
304
8
  StatusOr(Status status) : StatusOr(status.code()) {}
jxl::StatusOr<jxl::Image>::StatusOr(jxl::Status)
Line
Count
Source
304
8
  StatusOr(Status status) : StatusOr(status.code()) {}
jxl::StatusOr<jxl::Plane<unsigned char> >::StatusOr(jxl::Status)
Line
Count
Source
304
7
  StatusOr(Status status) : StatusOr(status.code()) {}
jxl::StatusOr<jxl::Image3<float> >::StatusOr(jxl::Status)
Line
Count
Source
304
11
  StatusOr(Status status) : StatusOr(status.code()) {}
jxl::StatusOr<jxl::Plane<float> >::StatusOr(jxl::Status)
Line
Count
Source
304
28
  StatusOr(Status status) : StatusOr(status.code()) {}
Unexecuted instantiation: jxl::StatusOr<jxl::Image3<int> >::StatusOr(jxl::Status)
Unexecuted instantiation: jxl::StatusOr<std::__1::unique_ptr<jxl::ACImageT<int>, std::__1::default_delete<jxl::ACImageT<int> > > >::StatusOr(jxl::Status)
Unexecuted instantiation: jxl::StatusOr<std::__1::unique_ptr<jxl::BitWriter, std::__1::default_delete<jxl::BitWriter> > >::StatusOr(jxl::Status)
Unexecuted instantiation: jxl::StatusOr<jxl::AlignedArray<jxl::GroupDecCache> >::StatusOr(jxl::Status)
Unexecuted instantiation: jxl::StatusOr<bool>::StatusOr(jxl::Status)
Unexecuted instantiation: jxl::StatusOr<std::__1::unique_ptr<jxl::ModularFrameEncoder, std::__1::default_delete<jxl::ModularFrameEncoder> > >::StatusOr(jxl::Status)
Unexecuted instantiation: jxl::StatusOr<float>::StatusOr(jxl::Status)
Unexecuted instantiation: jxl::StatusOr<std::__1::vector<std::__1::pair<jxl::QuantizedPatch, std::__1::vector<std::__1::pair<unsigned int, unsigned int>, std::__1::allocator<std::__1::pair<unsigned int, unsigned int> > > >, std::__1::allocator<std::__1::pair<jxl::QuantizedPatch, std::__1::vector<std::__1::pair<unsigned int, unsigned int>, std::__1::allocator<std::__1::pair<unsigned int, unsigned int> > > > > > >::StatusOr(jxl::Status)
Unexecuted instantiation: jxl::StatusOr<std::__1::vector<jxl::PropertyDecisionNode, std::__1::allocator<jxl::PropertyDecisionNode> > >::StatusOr(jxl::Status)
jxl::StatusOr<jxl::AcStrategyImage>::StatusOr(jxl::Status)
Line
Count
Source
304
1
  StatusOr(Status status) : StatusOr(status.code()) {}
jxl::StatusOr<jxl::Plane<signed char> >::StatusOr(jxl::Status)
Line
Count
Source
304
1
  StatusOr(Status status) : StatusOr(status.code()) {}
jxl::StatusOr<jxl::ColorCorrelationMap>::StatusOr(jxl::Status)
Line
Count
Source
304
1
  StatusOr(Status status) : StatusOr(status.code()) {}
Unexecuted instantiation: jxl::StatusOr<jxl::ANSSymbolReader>::StatusOr(jxl::Status)
Unexecuted instantiation: jxl::StatusOr<jxl::Plane<hwy::float16_t> >::StatusOr(jxl::Status)
Unexecuted instantiation: jxl::StatusOr<jxl::Plane<unsigned int> >::StatusOr(jxl::Status)
Unexecuted instantiation: jxl::StatusOr<jxl::Plane<short> >::StatusOr(jxl::Status)
Unexecuted instantiation: jxl::StatusOr<jxl::Image3<short> >::StatusOr(jxl::Status)
Unexecuted instantiation: jxl::StatusOr<std::__1::unique_ptr<jxl::ACImageT<short>, std::__1::default_delete<jxl::ACImageT<short> > > >::StatusOr(jxl::Status)
jxl::StatusOr<std::__1::unique_ptr<jxl::RenderPipeline, std::__1::default_delete<jxl::RenderPipeline> > >::StatusOr(jxl::Status)
Line
Count
Source
304
14
  StatusOr(Status status) : StatusOr(status.code()) {}
Unexecuted instantiation: jxl::StatusOr<std::__1::unique_ptr<jxl::ButteraugliComparator, std::__1::default_delete<jxl::ButteraugliComparator> > >::StatusOr(jxl::Status)
Unexecuted instantiation: jxl::StatusOr<jxl::ImageBundle>::StatusOr(jxl::Status)
Unexecuted instantiation: enc_ans.cc:jxl::StatusOr<jxl::(anonymous namespace)::ANSEncodingHistogram>::StatusOr(jxl::Status)
Unexecuted instantiation: jxl::StatusOr<unsigned long>::StatusOr(jxl::Status)
Unexecuted instantiation: jxl::StatusOr<jxl::Image3<unsigned char> >::StatusOr(jxl::Status)
Unexecuted instantiation: low_memory_render_pipeline.cc:jxl::StatusOr<jxl::(anonymous namespace)::Rows>::StatusOr(jxl::Status)
Unexecuted instantiation: enc_detect_dots.cc:jxl::StatusOr<std::__1::vector<jxl::(anonymous namespace)::ConnectedComponent, std::__1::allocator<jxl::(anonymous namespace)::ConnectedComponent> > >::StatusOr(jxl::Status)
Unexecuted instantiation: enc_detect_dots.cc:jxl::StatusOr<jxl::(anonymous namespace)::GaussianEllipse>::StatusOr(jxl::Status)
305
306
  // NOLINTNEXTLINE(google-explicit-constructor)
307
78.0M
  StatusOr(T&& value) : code_(StatusCode::kOk) {
308
78.0M
    new (&storage_.data_) T(std::move(value));
309
78.0M
  }
jxl::StatusOr<jxl::PaddedBytes>::StatusOr(jxl::PaddedBytes&&)
Line
Count
Source
307
6.30k
  StatusOr(T&& value) : code_(StatusCode::kOk) {
308
6.30k
    new (&storage_.data_) T(std::move(value));
309
6.30k
  }
jxl::StatusOr<JxlOutputProcessorBuffer>::StatusOr(JxlOutputProcessorBuffer&&)
Line
Count
Source
307
11.6k
  StatusOr(T&& value) : code_(StatusCode::kOk) {
308
11.6k
    new (&storage_.data_) T(std::move(value));
309
11.6k
  }
Unexecuted instantiation: jxl::StatusOr<std::__1::unique_ptr<jxl::jpeg::JPEGData, std::__1::default_delete<jxl::jpeg::JPEGData> > >::StatusOr(std::__1::unique_ptr<jxl::jpeg::JPEGData, std::__1::default_delete<jxl::jpeg::JPEGData> >&&)
jxl::StatusOr<jxl::AlignedMemory>::StatusOr(jxl::AlignedMemory&&)
Line
Count
Source
307
35.9M
  StatusOr(T&& value) : code_(StatusCode::kOk) {
308
35.9M
    new (&storage_.data_) T(std::move(value));
309
35.9M
  }
jxl::StatusOr<jxl::Plane<int> >::StatusOr(jxl::Plane<int>&&)
Line
Count
Source
307
2.09M
  StatusOr(T&& value) : code_(StatusCode::kOk) {
308
2.09M
    new (&storage_.data_) T(std::move(value));
309
2.09M
  }
jxl::StatusOr<jxl::Channel>::StatusOr(jxl::Channel&&)
Line
Count
Source
307
1.48M
  StatusOr(T&& value) : code_(StatusCode::kOk) {
308
1.48M
    new (&storage_.data_) T(std::move(value));
309
1.48M
  }
jxl::StatusOr<jxl::Image>::StatusOr(jxl::Image&&)
Line
Count
Source
307
361k
  StatusOr(T&& value) : code_(StatusCode::kOk) {
308
361k
    new (&storage_.data_) T(std::move(value));
309
361k
  }
jxl::StatusOr<float>::StatusOr(float&&)
Line
Count
Source
307
1.20M
  StatusOr(T&& value) : code_(StatusCode::kOk) {
308
1.20M
    new (&storage_.data_) T(std::move(value));
309
1.20M
  }
jxl::StatusOr<jxl::Plane<unsigned char> >::StatusOr(jxl::Plane<unsigned char>&&)
Line
Count
Source
307
543k
  StatusOr(T&& value) : code_(StatusCode::kOk) {
308
543k
    new (&storage_.data_) T(std::move(value));
309
543k
  }
jxl::StatusOr<jxl::Image3<float> >::StatusOr(jxl::Image3<float>&&)
Line
Count
Source
307
361k
  StatusOr(T&& value) : code_(StatusCode::kOk) {
308
361k
    new (&storage_.data_) T(std::move(value));
309
361k
  }
jxl::StatusOr<jxl::Plane<float> >::StatusOr(jxl::Plane<float>&&)
Line
Count
Source
307
32.1M
  StatusOr(T&& value) : code_(StatusCode::kOk) {
308
32.1M
    new (&storage_.data_) T(std::move(value));
309
32.1M
  }
jxl::StatusOr<jxl::Image3<int> >::StatusOr(jxl::Image3<int>&&)
Line
Count
Source
307
19.7k
  StatusOr(T&& value) : code_(StatusCode::kOk) {
308
19.7k
    new (&storage_.data_) T(std::move(value));
309
19.7k
  }
jxl::StatusOr<std::__1::unique_ptr<jxl::ACImageT<int>, std::__1::default_delete<jxl::ACImageT<int> > > >::StatusOr(std::__1::unique_ptr<jxl::ACImageT<int>, std::__1::default_delete<jxl::ACImageT<int> > >&&)
Line
Count
Source
307
5.75k
  StatusOr(T&& value) : code_(StatusCode::kOk) {
308
5.75k
    new (&storage_.data_) T(std::move(value));
309
5.75k
  }
jxl::StatusOr<std::__1::unique_ptr<jxl::BitWriter, std::__1::default_delete<jxl::BitWriter> > >::StatusOr(std::__1::unique_ptr<jxl::BitWriter, std::__1::default_delete<jxl::BitWriter> >&&)
Line
Count
Source
307
39
  StatusOr(T&& value) : code_(StatusCode::kOk) {
308
39
    new (&storage_.data_) T(std::move(value));
309
39
  }
jxl::StatusOr<jxl::AlignedArray<jxl::GroupDecCache> >::StatusOr(jxl::AlignedArray<jxl::GroupDecCache>&&)
Line
Count
Source
307
13.1k
  StatusOr(T&& value) : code_(StatusCode::kOk) {
308
13.1k
    new (&storage_.data_) T(std::move(value));
309
13.1k
  }
jxl::StatusOr<jxl::ModularStreamId>::StatusOr(jxl::ModularStreamId&&)
Line
Count
Source
307
4.75k
  StatusOr(T&& value) : code_(StatusCode::kOk) {
308
4.75k
    new (&storage_.data_) T(std::move(value));
309
4.75k
  }
Unexecuted instantiation: jxl::StatusOr<bool>::StatusOr(bool&&)
jxl::StatusOr<std::__1::unique_ptr<jxl::ModularFrameEncoder, std::__1::default_delete<jxl::ModularFrameEncoder> > >::StatusOr(std::__1::unique_ptr<jxl::ModularFrameEncoder, std::__1::default_delete<jxl::ModularFrameEncoder> >&&)
Line
Count
Source
307
6.54k
  StatusOr(T&& value) : code_(StatusCode::kOk) {
308
6.54k
    new (&storage_.data_) T(std::move(value));
309
6.54k
  }
jxl::StatusOr<std::__1::vector<std::__1::pair<jxl::QuantizedPatch, std::__1::vector<std::__1::pair<unsigned int, unsigned int>, std::__1::allocator<std::__1::pair<unsigned int, unsigned int> > > >, std::__1::allocator<std::__1::pair<jxl::QuantizedPatch, std::__1::vector<std::__1::pair<unsigned int, unsigned int>, std::__1::allocator<std::__1::pair<unsigned int, unsigned int> > > > > > >::StatusOr(std::__1::vector<std::__1::pair<jxl::QuantizedPatch, std::__1::vector<std::__1::pair<unsigned int, unsigned int>, std::__1::allocator<std::__1::pair<unsigned int, unsigned int> > > >, std::__1::allocator<std::__1::pair<jxl::QuantizedPatch, std::__1::vector<std::__1::pair<unsigned int, unsigned int>, std::__1::allocator<std::__1::pair<unsigned int, unsigned int> > > > > >&&)
Line
Count
Source
307
6.49k
  StatusOr(T&& value) : code_(StatusCode::kOk) {
308
6.49k
    new (&storage_.data_) T(std::move(value));
309
6.49k
  }
jxl::StatusOr<std::__1::vector<jxl::PropertyDecisionNode, std::__1::allocator<jxl::PropertyDecisionNode> > >::StatusOr(std::__1::vector<jxl::PropertyDecisionNode, std::__1::allocator<jxl::PropertyDecisionNode> >&&)
Line
Count
Source
307
4.32k
  StatusOr(T&& value) : code_(StatusCode::kOk) {
308
4.32k
    new (&storage_.data_) T(std::move(value));
309
4.32k
  }
jxl::StatusOr<jxl::AcStrategyImage>::StatusOr(jxl::AcStrategyImage&&)
Line
Count
Source
307
176k
  StatusOr(T&& value) : code_(StatusCode::kOk) {
308
176k
    new (&storage_.data_) T(std::move(value));
309
176k
  }
jxl::StatusOr<jxl::Plane<signed char> >::StatusOr(jxl::Plane<signed char>&&)
Line
Count
Source
307
353k
  StatusOr(T&& value) : code_(StatusCode::kOk) {
308
353k
    new (&storage_.data_) T(std::move(value));
309
353k
  }
jxl::StatusOr<jxl::ColorCorrelationMap>::StatusOr(jxl::ColorCorrelationMap&&)
Line
Count
Source
307
176k
  StatusOr(T&& value) : code_(StatusCode::kOk) {
308
176k
    new (&storage_.data_) T(std::move(value));
309
176k
  }
jxl::StatusOr<jxl::ANSSymbolReader>::StatusOr(jxl::ANSSymbolReader&&)
Line
Count
Source
307
557k
  StatusOr(T&& value) : code_(StatusCode::kOk) {
308
557k
    new (&storage_.data_) T(std::move(value));
309
557k
  }
Unexecuted instantiation: jxl::StatusOr<jxl::Plane<hwy::float16_t> >::StatusOr(jxl::Plane<hwy::float16_t>&&)
Unexecuted instantiation: jxl::StatusOr<jxl::Plane<unsigned int> >::StatusOr(jxl::Plane<unsigned int>&&)
jxl::StatusOr<jxl::Plane<short> >::StatusOr(jxl::Plane<short>&&)
Line
Count
Source
307
24.1k
  StatusOr(T&& value) : code_(StatusCode::kOk) {
308
24.1k
    new (&storage_.data_) T(std::move(value));
309
24.1k
  }
jxl::StatusOr<jxl::Image3<short> >::StatusOr(jxl::Image3<short>&&)
Line
Count
Source
307
8.04k
  StatusOr(T&& value) : code_(StatusCode::kOk) {
308
8.04k
    new (&storage_.data_) T(std::move(value));
309
8.04k
  }
jxl::StatusOr<std::__1::unique_ptr<jxl::ACImageT<short>, std::__1::default_delete<jxl::ACImageT<short> > > >::StatusOr(std::__1::unique_ptr<jxl::ACImageT<short>, std::__1::default_delete<jxl::ACImageT<short> > >&&)
Line
Count
Source
307
8.04k
  StatusOr(T&& value) : code_(StatusCode::kOk) {
308
8.04k
    new (&storage_.data_) T(std::move(value));
309
8.04k
  }
dec_group.cc:jxl::StatusOr<jxl::(anonymous namespace)::GetBlockFromEncoder>::StatusOr(jxl::(anonymous namespace)::GetBlockFromEncoder&&)
Line
Count
Source
307
32.2k
  StatusOr(T&& value) : code_(StatusCode::kOk) {
308
32.2k
    new (&storage_.data_) T(std::move(value));
309
32.2k
  }
jxl::StatusOr<std::__1::unique_ptr<jxl::RenderPipeline, std::__1::default_delete<jxl::RenderPipeline> > >::StatusOr(std::__1::unique_ptr<jxl::RenderPipeline, std::__1::default_delete<jxl::RenderPipeline> >&&)
Line
Count
Source
307
73.2k
  StatusOr(T&& value) : code_(StatusCode::kOk) {
308
73.2k
    new (&storage_.data_) T(std::move(value));
309
73.2k
  }
Unexecuted instantiation: jxl::StatusOr<jxl::QuantizedSpline>::StatusOr(jxl::QuantizedSpline&&)
Unexecuted instantiation: jxl::StatusOr<std::__1::unique_ptr<jxl::ButteraugliComparator, std::__1::default_delete<jxl::ButteraugliComparator> > >::StatusOr(std::__1::unique_ptr<jxl::ButteraugliComparator, std::__1::default_delete<jxl::ButteraugliComparator> >&&)
Unexecuted instantiation: jxl::StatusOr<jxl::ImageBundle>::StatusOr(jxl::ImageBundle&&)
enc_ans.cc:jxl::StatusOr<jxl::(anonymous namespace)::ANSEncodingHistogram>::StatusOr(jxl::(anonymous namespace)::ANSEncodingHistogram&&)
Line
Count
Source
307
1.10M
  StatusOr(T&& value) : code_(StatusCode::kOk) {
308
1.10M
    new (&storage_.data_) T(std::move(value));
309
1.10M
  }
jxl::StatusOr<unsigned long>::StatusOr(unsigned long&&)
Line
Count
Source
307
384k
  StatusOr(T&& value) : code_(StatusCode::kOk) {
308
384k
    new (&storage_.data_) T(std::move(value));
309
384k
  }
Unexecuted instantiation: jxl::StatusOr<jxl::Image3<unsigned char> >::StatusOr(jxl::Image3<unsigned char>&&)
jxl::StatusOr<jxl::RectT<long> >::StatusOr(jxl::RectT<long>&&)
Line
Count
Source
307
321k
  StatusOr(T&& value) : code_(StatusCode::kOk) {
308
321k
    new (&storage_.data_) T(std::move(value));
309
321k
  }
low_memory_render_pipeline.cc:jxl::StatusOr<jxl::(anonymous namespace)::Rows>::StatusOr(jxl::(anonymous namespace)::Rows&&)
Line
Count
Source
307
93.6k
  StatusOr(T&& value) : code_(StatusCode::kOk) {
308
93.6k
    new (&storage_.data_) T(std::move(value));
309
93.6k
  }
jxl::StatusOr<jxl::RectT<unsigned long> >::StatusOr(jxl::RectT<unsigned long>&&)
Line
Count
Source
307
577k
  StatusOr(T&& value) : code_(StatusCode::kOk) {
308
577k
    new (&storage_.data_) T(std::move(value));
309
577k
  }
Unexecuted instantiation: enc_detect_dots.cc:jxl::StatusOr<std::__1::vector<jxl::(anonymous namespace)::ConnectedComponent, std::__1::allocator<jxl::(anonymous namespace)::ConnectedComponent> > >::StatusOr(std::__1::vector<jxl::(anonymous namespace)::ConnectedComponent, std::__1::allocator<jxl::(anonymous namespace)::ConnectedComponent> >&&)
Unexecuted instantiation: enc_detect_dots.cc:jxl::StatusOr<jxl::(anonymous namespace)::GaussianEllipse>::StatusOr(jxl::(anonymous namespace)::GaussianEllipse&&)
310
311
  StatusOr(StatusOr&& other) noexcept {
312
    if (other.ok()) {
313
      new (&storage_.data_) T(std::move(other.storage_.data_));
314
    }
315
    code_ = other.code_;
316
  }
317
318
  StatusOr& operator=(StatusOr&& other) noexcept {
319
    if (this == &other) return *this;
320
    if (ok() && other.ok()) {
321
      storage_.data_ = std::move(other.storage_.data_);
322
    } else if (other.ok()) {
323
      new (&storage_.data_) T(std::move(other.storage_.data_));
324
    } else if (ok()) {
325
      storage_.data_.~T();
326
    }
327
    code_ = other.code_;
328
    return *this;
329
  }
330
331
  StatusOr(const StatusOr&) = delete;
332
  StatusOr operator=(const StatusOr&) = delete;
333
334
78.0M
  bool ok() const { return code_ == StatusCode::kOk; }
jxl::StatusOr<jxl::AlignedMemory>::ok() const
Line
Count
Source
334
35.9M
  bool ok() const { return code_ == StatusCode::kOk; }
jxl::StatusOr<jxl::PaddedBytes>::ok() const
Line
Count
Source
334
6.30k
  bool ok() const { return code_ == StatusCode::kOk; }
Unexecuted instantiation: jxl::StatusOr<std::__1::unique_ptr<jxl::jpeg::JPEGData, std::__1::default_delete<jxl::jpeg::JPEGData> > >::ok() const
jxl::StatusOr<JxlOutputProcessorBuffer>::ok() const
Line
Count
Source
334
11.6k
  bool ok() const { return code_ == StatusCode::kOk; }
jxl::StatusOr<jxl::Image3<float> >::ok() const
Line
Count
Source
334
361k
  bool ok() const { return code_ == StatusCode::kOk; }
jxl::StatusOr<jxl::Plane<float> >::ok() const
Line
Count
Source
334
32.1M
  bool ok() const { return code_ == StatusCode::kOk; }
jxl::StatusOr<jxl::Plane<int> >::ok() const
Line
Count
Source
334
2.09M
  bool ok() const { return code_ == StatusCode::kOk; }
jxl::StatusOr<jxl::ANSSymbolReader>::ok() const
Line
Count
Source
334
557k
  bool ok() const { return code_ == StatusCode::kOk; }
jxl::StatusOr<jxl::Channel>::ok() const
Line
Count
Source
334
1.48M
  bool ok() const { return code_ == StatusCode::kOk; }
jxl::StatusOr<float>::ok() const
Line
Count
Source
334
1.20M
  bool ok() const { return code_ == StatusCode::kOk; }
jxl::StatusOr<std::__1::unique_ptr<jxl::ModularFrameEncoder, std::__1::default_delete<jxl::ModularFrameEncoder> > >::ok() const
Line
Count
Source
334
6.54k
  bool ok() const { return code_ == StatusCode::kOk; }
jxl::StatusOr<jxl::AcStrategyImage>::ok() const
Line
Count
Source
334
176k
  bool ok() const { return code_ == StatusCode::kOk; }
jxl::StatusOr<jxl::Plane<unsigned char> >::ok() const
Line
Count
Source
334
543k
  bool ok() const { return code_ == StatusCode::kOk; }
jxl::StatusOr<jxl::ColorCorrelationMap>::ok() const
Line
Count
Source
334
176k
  bool ok() const { return code_ == StatusCode::kOk; }
jxl::StatusOr<jxl::Image3<int> >::ok() const
Line
Count
Source
334
19.7k
  bool ok() const { return code_ == StatusCode::kOk; }
jxl::StatusOr<std::__1::unique_ptr<jxl::ACImageT<int>, std::__1::default_delete<jxl::ACImageT<int> > > >::ok() const
Line
Count
Source
334
5.75k
  bool ok() const { return code_ == StatusCode::kOk; }
jxl::StatusOr<unsigned long>::ok() const
Line
Count
Source
334
384k
  bool ok() const { return code_ == StatusCode::kOk; }
jxl::StatusOr<std::__1::unique_ptr<jxl::BitWriter, std::__1::default_delete<jxl::BitWriter> > >::ok() const
Line
Count
Source
334
39
  bool ok() const { return code_ == StatusCode::kOk; }
Unexecuted instantiation: jxl::StatusOr<std::__1::unique_ptr<jxl::ButteraugliComparator, std::__1::default_delete<jxl::ButteraugliComparator> > >::ok() const
jxl::StatusOr<jxl::AlignedArray<jxl::GroupDecCache> >::ok() const
Line
Count
Source
334
13.1k
  bool ok() const { return code_ == StatusCode::kOk; }
Unexecuted instantiation: jxl::StatusOr<bool>::ok() const
jxl::StatusOr<jxl::ModularStreamId>::ok() const
Line
Count
Source
334
4.75k
  bool ok() const { return code_ == StatusCode::kOk; }
jxl::StatusOr<jxl::Image>::ok() const
Line
Count
Source
334
361k
  bool ok() const { return code_ == StatusCode::kOk; }
jxl::StatusOr<std::__1::vector<jxl::PropertyDecisionNode, std::__1::allocator<jxl::PropertyDecisionNode> > >::ok() const
Line
Count
Source
334
4.32k
  bool ok() const { return code_ == StatusCode::kOk; }
jxl::StatusOr<std::__1::vector<std::__1::pair<jxl::QuantizedPatch, std::__1::vector<std::__1::pair<unsigned int, unsigned int>, std::__1::allocator<std::__1::pair<unsigned int, unsigned int> > > >, std::__1::allocator<std::__1::pair<jxl::QuantizedPatch, std::__1::vector<std::__1::pair<unsigned int, unsigned int>, std::__1::allocator<std::__1::pair<unsigned int, unsigned int> > > > > > >::ok() const
Line
Count
Source
334
6.49k
  bool ok() const { return code_ == StatusCode::kOk; }
jxl::StatusOr<jxl::Plane<signed char> >::ok() const
Line
Count
Source
334
353k
  bool ok() const { return code_ == StatusCode::kOk; }
jxl::StatusOr<std::__1::unique_ptr<jxl::RenderPipeline, std::__1::default_delete<jxl::RenderPipeline> > >::ok() const
Line
Count
Source
334
73.2k
  bool ok() const { return code_ == StatusCode::kOk; }
Unexecuted instantiation: jxl::StatusOr<jxl::Plane<hwy::float16_t> >::ok() const
Unexecuted instantiation: jxl::StatusOr<jxl::Plane<unsigned int> >::ok() const
jxl::StatusOr<jxl::Plane<short> >::ok() const
Line
Count
Source
334
24.1k
  bool ok() const { return code_ == StatusCode::kOk; }
jxl::StatusOr<jxl::Image3<short> >::ok() const
Line
Count
Source
334
8.04k
  bool ok() const { return code_ == StatusCode::kOk; }
jxl::StatusOr<std::__1::unique_ptr<jxl::ACImageT<short>, std::__1::default_delete<jxl::ACImageT<short> > > >::ok() const
Line
Count
Source
334
8.04k
  bool ok() const { return code_ == StatusCode::kOk; }
dec_group.cc:jxl::StatusOr<jxl::(anonymous namespace)::GetBlockFromEncoder>::ok() const
Line
Count
Source
334
32.2k
  bool ok() const { return code_ == StatusCode::kOk; }
Unexecuted instantiation: jxl::StatusOr<jxl::ImageBundle>::ok() const
enc_ans.cc:jxl::StatusOr<jxl::(anonymous namespace)::ANSEncodingHistogram>::ok() const
Line
Count
Source
334
1.10M
  bool ok() const { return code_ == StatusCode::kOk; }
Unexecuted instantiation: jxl::StatusOr<jxl::Image3<unsigned char> >::ok() const
jxl::StatusOr<jxl::RectT<long> >::ok() const
Line
Count
Source
334
321k
  bool ok() const { return code_ == StatusCode::kOk; }
jxl::StatusOr<jxl::RectT<unsigned long> >::ok() const
Line
Count
Source
334
577k
  bool ok() const { return code_ == StatusCode::kOk; }
low_memory_render_pipeline.cc:jxl::StatusOr<jxl::(anonymous namespace)::Rows>::ok() const
Line
Count
Source
334
93.6k
  bool ok() const { return code_ == StatusCode::kOk; }
Unexecuted instantiation: enc_detect_dots.cc:jxl::StatusOr<jxl::(anonymous namespace)::GaussianEllipse>::ok() const
Unexecuted instantiation: enc_detect_dots.cc:jxl::StatusOr<std::__1::vector<jxl::(anonymous namespace)::ConnectedComponent, std::__1::allocator<jxl::(anonymous namespace)::ConnectedComponent> > >::ok() const
335
78.0M
  Status status() const { return code_; }
jxl::StatusOr<jxl::AlignedMemory>::status() const
Line
Count
Source
335
35.9M
  Status status() const { return code_; }
Unexecuted instantiation: jxl::StatusOr<std::__1::unique_ptr<jxl::jpeg::JPEGData, std::__1::default_delete<jxl::jpeg::JPEGData> > >::status() const
jxl::StatusOr<JxlOutputProcessorBuffer>::status() const
Line
Count
Source
335
11.6k
  Status status() const { return code_; }
jxl::StatusOr<jxl::Image3<float> >::status() const
Line
Count
Source
335
361k
  Status status() const { return code_; }
jxl::StatusOr<jxl::Plane<float> >::status() const
Line
Count
Source
335
32.1M
  Status status() const { return code_; }
jxl::StatusOr<jxl::Plane<int> >::status() const
Line
Count
Source
335
2.09M
  Status status() const { return code_; }
jxl::StatusOr<jxl::PaddedBytes>::status() const
Line
Count
Source
335
6.30k
  Status status() const { return code_; }
jxl::StatusOr<jxl::ANSSymbolReader>::status() const
Line
Count
Source
335
557k
  Status status() const { return code_; }
jxl::StatusOr<jxl::Channel>::status() const
Line
Count
Source
335
1.48M
  Status status() const { return code_; }
jxl::StatusOr<float>::status() const
Line
Count
Source
335
1.20M
  Status status() const { return code_; }
jxl::StatusOr<std::__1::unique_ptr<jxl::ModularFrameEncoder, std::__1::default_delete<jxl::ModularFrameEncoder> > >::status() const
Line
Count
Source
335
6.54k
  Status status() const { return code_; }
jxl::StatusOr<jxl::AcStrategyImage>::status() const
Line
Count
Source
335
176k
  Status status() const { return code_; }
jxl::StatusOr<jxl::Plane<unsigned char> >::status() const
Line
Count
Source
335
543k
  Status status() const { return code_; }
jxl::StatusOr<jxl::ColorCorrelationMap>::status() const
Line
Count
Source
335
176k
  Status status() const { return code_; }
jxl::StatusOr<jxl::Image3<int> >::status() const
Line
Count
Source
335
19.7k
  Status status() const { return code_; }
jxl::StatusOr<std::__1::unique_ptr<jxl::ACImageT<int>, std::__1::default_delete<jxl::ACImageT<int> > > >::status() const
Line
Count
Source
335
5.75k
  Status status() const { return code_; }
jxl::StatusOr<unsigned long>::status() const
Line
Count
Source
335
384k
  Status status() const { return code_; }
jxl::StatusOr<std::__1::unique_ptr<jxl::BitWriter, std::__1::default_delete<jxl::BitWriter> > >::status() const
Line
Count
Source
335
39
  Status status() const { return code_; }
Unexecuted instantiation: jxl::StatusOr<std::__1::unique_ptr<jxl::ButteraugliComparator, std::__1::default_delete<jxl::ButteraugliComparator> > >::status() const
jxl::StatusOr<jxl::AlignedArray<jxl::GroupDecCache> >::status() const
Line
Count
Source
335
13.1k
  Status status() const { return code_; }
Unexecuted instantiation: jxl::StatusOr<bool>::status() const
jxl::StatusOr<jxl::ModularStreamId>::status() const
Line
Count
Source
335
4.75k
  Status status() const { return code_; }
jxl::StatusOr<jxl::Image>::status() const
Line
Count
Source
335
361k
  Status status() const { return code_; }
jxl::StatusOr<std::__1::vector<jxl::PropertyDecisionNode, std::__1::allocator<jxl::PropertyDecisionNode> > >::status() const
Line
Count
Source
335
4.32k
  Status status() const { return code_; }
jxl::StatusOr<std::__1::vector<std::__1::pair<jxl::QuantizedPatch, std::__1::vector<std::__1::pair<unsigned int, unsigned int>, std::__1::allocator<std::__1::pair<unsigned int, unsigned int> > > >, std::__1::allocator<std::__1::pair<jxl::QuantizedPatch, std::__1::vector<std::__1::pair<unsigned int, unsigned int>, std::__1::allocator<std::__1::pair<unsigned int, unsigned int> > > > > > >::status() const
Line
Count
Source
335
6.49k
  Status status() const { return code_; }
jxl::StatusOr<jxl::Plane<signed char> >::status() const
Line
Count
Source
335
353k
  Status status() const { return code_; }
jxl::StatusOr<std::__1::unique_ptr<jxl::RenderPipeline, std::__1::default_delete<jxl::RenderPipeline> > >::status() const
Line
Count
Source
335
73.2k
  Status status() const { return code_; }
Unexecuted instantiation: jxl::StatusOr<jxl::Plane<hwy::float16_t> >::status() const
Unexecuted instantiation: jxl::StatusOr<jxl::Plane<unsigned int> >::status() const
jxl::StatusOr<jxl::Plane<short> >::status() const
Line
Count
Source
335
24.1k
  Status status() const { return code_; }
jxl::StatusOr<jxl::Image3<short> >::status() const
Line
Count
Source
335
8.04k
  Status status() const { return code_; }
jxl::StatusOr<std::__1::unique_ptr<jxl::ACImageT<short>, std::__1::default_delete<jxl::ACImageT<short> > > >::status() const
Line
Count
Source
335
8.04k
  Status status() const { return code_; }
dec_group.cc:jxl::StatusOr<jxl::(anonymous namespace)::GetBlockFromEncoder>::status() const
Line
Count
Source
335
32.2k
  Status status() const { return code_; }
Unexecuted instantiation: jxl::StatusOr<jxl::ImageBundle>::status() const
enc_ans.cc:jxl::StatusOr<jxl::(anonymous namespace)::ANSEncodingHistogram>::status() const
Line
Count
Source
335
1.10M
  Status status() const { return code_; }
Unexecuted instantiation: jxl::StatusOr<jxl::Image3<unsigned char> >::status() const
jxl::StatusOr<jxl::RectT<long> >::status() const
Line
Count
Source
335
321k
  Status status() const { return code_; }
jxl::StatusOr<jxl::RectT<unsigned long> >::status() const
Line
Count
Source
335
577k
  Status status() const { return code_; }
low_memory_render_pipeline.cc:jxl::StatusOr<jxl::(anonymous namespace)::Rows>::status() const
Line
Count
Source
335
93.6k
  Status status() const { return code_; }
Unexecuted instantiation: enc_detect_dots.cc:jxl::StatusOr<jxl::(anonymous namespace)::GaussianEllipse>::status() const
Unexecuted instantiation: enc_detect_dots.cc:jxl::StatusOr<std::__1::vector<jxl::(anonymous namespace)::ConnectedComponent, std::__1::allocator<jxl::(anonymous namespace)::ConnectedComponent> > >::status() const
336
337
  // Only call this if you are absolutely sure that `ok()` is true.
338
  // Never call this manually: rely on JXL_ASSIGN_OR.
339
78.0M
  T value_() && {
340
78.0M
    JXL_DASSERT(ok());
341
78.0M
    return std::move(storage_.data_);
342
78.0M
  }
jxl::StatusOr<jxl::AlignedMemory>::value_() &&
Line
Count
Source
339
35.9M
  T value_() && {
340
35.9M
    JXL_DASSERT(ok());
341
35.9M
    return std::move(storage_.data_);
342
35.9M
  }
jxl::StatusOr<jxl::PaddedBytes>::value_() &&
Line
Count
Source
339
6.30k
  T value_() && {
340
6.30k
    JXL_DASSERT(ok());
341
6.30k
    return std::move(storage_.data_);
342
6.30k
  }
Unexecuted instantiation: jxl::StatusOr<std::__1::unique_ptr<jxl::jpeg::JPEGData, std::__1::default_delete<jxl::jpeg::JPEGData> > >::value_() &&
jxl::StatusOr<JxlOutputProcessorBuffer>::value_() &&
Line
Count
Source
339
11.6k
  T value_() && {
340
11.6k
    JXL_DASSERT(ok());
341
11.6k
    return std::move(storage_.data_);
342
11.6k
  }
jxl::StatusOr<jxl::Image3<float> >::value_() &&
Line
Count
Source
339
361k
  T value_() && {
340
361k
    JXL_DASSERT(ok());
341
361k
    return std::move(storage_.data_);
342
361k
  }
jxl::StatusOr<jxl::Plane<float> >::value_() &&
Line
Count
Source
339
32.1M
  T value_() && {
340
32.1M
    JXL_DASSERT(ok());
341
32.1M
    return std::move(storage_.data_);
342
32.1M
  }
jxl::StatusOr<jxl::Plane<int> >::value_() &&
Line
Count
Source
339
2.09M
  T value_() && {
340
2.09M
    JXL_DASSERT(ok());
341
2.09M
    return std::move(storage_.data_);
342
2.09M
  }
jxl::StatusOr<jxl::ANSSymbolReader>::value_() &&
Line
Count
Source
339
557k
  T value_() && {
340
557k
    JXL_DASSERT(ok());
341
557k
    return std::move(storage_.data_);
342
557k
  }
jxl::StatusOr<jxl::Channel>::value_() &&
Line
Count
Source
339
1.48M
  T value_() && {
340
1.48M
    JXL_DASSERT(ok());
341
1.48M
    return std::move(storage_.data_);
342
1.48M
  }
jxl::StatusOr<float>::value_() &&
Line
Count
Source
339
1.20M
  T value_() && {
340
1.20M
    JXL_DASSERT(ok());
341
1.20M
    return std::move(storage_.data_);
342
1.20M
  }
jxl::StatusOr<std::__1::unique_ptr<jxl::ModularFrameEncoder, std::__1::default_delete<jxl::ModularFrameEncoder> > >::value_() &&
Line
Count
Source
339
6.54k
  T value_() && {
340
6.54k
    JXL_DASSERT(ok());
341
6.54k
    return std::move(storage_.data_);
342
6.54k
  }
jxl::StatusOr<jxl::AcStrategyImage>::value_() &&
Line
Count
Source
339
176k
  T value_() && {
340
176k
    JXL_DASSERT(ok());
341
176k
    return std::move(storage_.data_);
342
176k
  }
jxl::StatusOr<jxl::Plane<unsigned char> >::value_() &&
Line
Count
Source
339
543k
  T value_() && {
340
543k
    JXL_DASSERT(ok());
341
543k
    return std::move(storage_.data_);
342
543k
  }
jxl::StatusOr<jxl::ColorCorrelationMap>::value_() &&
Line
Count
Source
339
176k
  T value_() && {
340
176k
    JXL_DASSERT(ok());
341
176k
    return std::move(storage_.data_);
342
176k
  }
jxl::StatusOr<jxl::Image3<int> >::value_() &&
Line
Count
Source
339
19.7k
  T value_() && {
340
19.7k
    JXL_DASSERT(ok());
341
19.7k
    return std::move(storage_.data_);
342
19.7k
  }
jxl::StatusOr<std::__1::unique_ptr<jxl::ACImageT<int>, std::__1::default_delete<jxl::ACImageT<int> > > >::value_() &&
Line
Count
Source
339
5.75k
  T value_() && {
340
5.75k
    JXL_DASSERT(ok());
341
5.75k
    return std::move(storage_.data_);
342
5.75k
  }
jxl::StatusOr<unsigned long>::value_() &&
Line
Count
Source
339
384k
  T value_() && {
340
384k
    JXL_DASSERT(ok());
341
384k
    return std::move(storage_.data_);
342
384k
  }
jxl::StatusOr<std::__1::unique_ptr<jxl::BitWriter, std::__1::default_delete<jxl::BitWriter> > >::value_() &&
Line
Count
Source
339
39
  T value_() && {
340
39
    JXL_DASSERT(ok());
341
39
    return std::move(storage_.data_);
342
39
  }
Unexecuted instantiation: jxl::StatusOr<std::__1::unique_ptr<jxl::ButteraugliComparator, std::__1::default_delete<jxl::ButteraugliComparator> > >::value_() &&
jxl::StatusOr<jxl::AlignedArray<jxl::GroupDecCache> >::value_() &&
Line
Count
Source
339
13.1k
  T value_() && {
340
13.1k
    JXL_DASSERT(ok());
341
13.1k
    return std::move(storage_.data_);
342
13.1k
  }
Unexecuted instantiation: jxl::StatusOr<bool>::value_() &&
jxl::StatusOr<jxl::ModularStreamId>::value_() &&
Line
Count
Source
339
4.75k
  T value_() && {
340
4.75k
    JXL_DASSERT(ok());
341
4.75k
    return std::move(storage_.data_);
342
4.75k
  }
jxl::StatusOr<jxl::Image>::value_() &&
Line
Count
Source
339
361k
  T value_() && {
340
361k
    JXL_DASSERT(ok());
341
361k
    return std::move(storage_.data_);
342
361k
  }
jxl::StatusOr<std::__1::vector<jxl::PropertyDecisionNode, std::__1::allocator<jxl::PropertyDecisionNode> > >::value_() &&
Line
Count
Source
339
4.32k
  T value_() && {
340
4.32k
    JXL_DASSERT(ok());
341
4.32k
    return std::move(storage_.data_);
342
4.32k
  }
jxl::StatusOr<std::__1::vector<std::__1::pair<jxl::QuantizedPatch, std::__1::vector<std::__1::pair<unsigned int, unsigned int>, std::__1::allocator<std::__1::pair<unsigned int, unsigned int> > > >, std::__1::allocator<std::__1::pair<jxl::QuantizedPatch, std::__1::vector<std::__1::pair<unsigned int, unsigned int>, std::__1::allocator<std::__1::pair<unsigned int, unsigned int> > > > > > >::value_() &&
Line
Count
Source
339
6.49k
  T value_() && {
340
6.49k
    JXL_DASSERT(ok());
341
6.49k
    return std::move(storage_.data_);
342
6.49k
  }
jxl::StatusOr<jxl::Plane<signed char> >::value_() &&
Line
Count
Source
339
353k
  T value_() && {
340
353k
    JXL_DASSERT(ok());
341
353k
    return std::move(storage_.data_);
342
353k
  }
jxl::StatusOr<std::__1::unique_ptr<jxl::RenderPipeline, std::__1::default_delete<jxl::RenderPipeline> > >::value_() &&
Line
Count
Source
339
73.2k
  T value_() && {
340
73.2k
    JXL_DASSERT(ok());
341
73.2k
    return std::move(storage_.data_);
342
73.2k
  }
Unexecuted instantiation: jxl::StatusOr<jxl::Plane<hwy::float16_t> >::value_() &&
Unexecuted instantiation: jxl::StatusOr<jxl::Plane<unsigned int> >::value_() &&
jxl::StatusOr<jxl::Plane<short> >::value_() &&
Line
Count
Source
339
24.1k
  T value_() && {
340
24.1k
    JXL_DASSERT(ok());
341
24.1k
    return std::move(storage_.data_);
342
24.1k
  }
jxl::StatusOr<jxl::Image3<short> >::value_() &&
Line
Count
Source
339
8.04k
  T value_() && {
340
8.04k
    JXL_DASSERT(ok());
341
8.04k
    return std::move(storage_.data_);
342
8.04k
  }
jxl::StatusOr<std::__1::unique_ptr<jxl::ACImageT<short>, std::__1::default_delete<jxl::ACImageT<short> > > >::value_() &&
Line
Count
Source
339
8.04k
  T value_() && {
340
8.04k
    JXL_DASSERT(ok());
341
8.04k
    return std::move(storage_.data_);
342
8.04k
  }
dec_group.cc:jxl::StatusOr<jxl::(anonymous namespace)::GetBlockFromEncoder>::value_() &&
Line
Count
Source
339
32.2k
  T value_() && {
340
32.2k
    JXL_DASSERT(ok());
341
32.2k
    return std::move(storage_.data_);
342
32.2k
  }
Unexecuted instantiation: jxl::StatusOr<jxl::ImageBundle>::value_() &&
enc_ans.cc:jxl::StatusOr<jxl::(anonymous namespace)::ANSEncodingHistogram>::value_() &&
Line
Count
Source
339
1.10M
  T value_() && {
340
1.10M
    JXL_DASSERT(ok());
341
1.10M
    return std::move(storage_.data_);
342
1.10M
  }
Unexecuted instantiation: jxl::StatusOr<jxl::Image3<unsigned char> >::value_() &&
jxl::StatusOr<jxl::RectT<long> >::value_() &&
Line
Count
Source
339
321k
  T value_() && {
340
321k
    JXL_DASSERT(ok());
341
321k
    return std::move(storage_.data_);
342
321k
  }
jxl::StatusOr<jxl::RectT<unsigned long> >::value_() &&
Line
Count
Source
339
577k
  T value_() && {
340
577k
    JXL_DASSERT(ok());
341
577k
    return std::move(storage_.data_);
342
577k
  }
low_memory_render_pipeline.cc:jxl::StatusOr<jxl::(anonymous namespace)::Rows>::value_() &&
Line
Count
Source
339
93.6k
  T value_() && {
340
93.6k
    JXL_DASSERT(ok());
341
93.6k
    return std::move(storage_.data_);
342
93.6k
  }
Unexecuted instantiation: enc_detect_dots.cc:jxl::StatusOr<jxl::(anonymous namespace)::GaussianEllipse>::value_() &&
Unexecuted instantiation: enc_detect_dots.cc:jxl::StatusOr<std::__1::vector<jxl::(anonymous namespace)::ConnectedComponent, std::__1::allocator<jxl::(anonymous namespace)::ConnectedComponent> > >::value_() &&
343
344
78.0M
  ~StatusOr() {
345
78.0M
    if (code_ == StatusCode::kOk) {
346
78.0M
      storage_.data_.~T();
347
78.0M
    }
348
78.0M
  }
jxl::StatusOr<jxl::AlignedMemory>::~StatusOr()
Line
Count
Source
344
35.9M
  ~StatusOr() {
345
35.9M
    if (code_ == StatusCode::kOk) {
346
35.9M
      storage_.data_.~T();
347
35.9M
    }
348
35.9M
  }
jxl::StatusOr<jxl::PaddedBytes>::~StatusOr()
Line
Count
Source
344
6.30k
  ~StatusOr() {
345
6.30k
    if (code_ == StatusCode::kOk) {
346
6.30k
      storage_.data_.~T();
347
6.30k
    }
348
6.30k
  }
Unexecuted instantiation: jxl::StatusOr<std::__1::unique_ptr<jxl::jpeg::JPEGData, std::__1::default_delete<jxl::jpeg::JPEGData> > >::~StatusOr()
jxl::StatusOr<JxlOutputProcessorBuffer>::~StatusOr()
Line
Count
Source
344
11.6k
  ~StatusOr() {
345
11.6k
    if (code_ == StatusCode::kOk) {
346
11.6k
      storage_.data_.~T();
347
11.6k
    }
348
11.6k
  }
jxl::StatusOr<jxl::ANSSymbolReader>::~StatusOr()
Line
Count
Source
344
557k
  ~StatusOr() {
345
557k
    if (code_ == StatusCode::kOk) {
346
557k
      storage_.data_.~T();
347
557k
    }
348
557k
  }
jxl::StatusOr<jxl::Channel>::~StatusOr()
Line
Count
Source
344
1.48M
  ~StatusOr() {
345
1.48M
    if (code_ == StatusCode::kOk) {
346
1.48M
      storage_.data_.~T();
347
1.48M
    }
348
1.48M
  }
jxl::StatusOr<jxl::Plane<int> >::~StatusOr()
Line
Count
Source
344
2.09M
  ~StatusOr() {
345
2.09M
    if (code_ == StatusCode::kOk) {
346
2.09M
      storage_.data_.~T();
347
2.09M
    }
348
2.09M
  }
jxl::StatusOr<float>::~StatusOr()
Line
Count
Source
344
1.20M
  ~StatusOr() {
345
1.20M
    if (code_ == StatusCode::kOk) {
346
1.20M
      storage_.data_.~T();
347
1.20M
    }
348
1.20M
  }
jxl::StatusOr<jxl::Plane<float> >::~StatusOr()
Line
Count
Source
344
32.1M
  ~StatusOr() {
345
32.1M
    if (code_ == StatusCode::kOk) {
346
32.1M
      storage_.data_.~T();
347
32.1M
    }
348
32.1M
  }
jxl::StatusOr<jxl::Image3<float> >::~StatusOr()
Line
Count
Source
344
361k
  ~StatusOr() {
345
361k
    if (code_ == StatusCode::kOk) {
346
361k
      storage_.data_.~T();
347
361k
    }
348
361k
  }
jxl::StatusOr<jxl::Image3<int> >::~StatusOr()
Line
Count
Source
344
19.7k
  ~StatusOr() {
345
19.7k
    if (code_ == StatusCode::kOk) {
346
19.7k
      storage_.data_.~T();
347
19.7k
    }
348
19.7k
  }
jxl::StatusOr<std::__1::unique_ptr<jxl::ACImageT<int>, std::__1::default_delete<jxl::ACImageT<int> > > >::~StatusOr()
Line
Count
Source
344
5.75k
  ~StatusOr() {
345
5.75k
    if (code_ == StatusCode::kOk) {
346
5.75k
      storage_.data_.~T();
347
5.75k
    }
348
5.75k
  }
jxl::StatusOr<unsigned long>::~StatusOr()
Line
Count
Source
344
384k
  ~StatusOr() {
345
384k
    if (code_ == StatusCode::kOk) {
346
384k
      storage_.data_.~T();
347
384k
    }
348
384k
  }
jxl::StatusOr<jxl::Plane<unsigned char> >::~StatusOr()
Line
Count
Source
344
543k
  ~StatusOr() {
345
543k
    if (code_ == StatusCode::kOk) {
346
543k
      storage_.data_.~T();
347
543k
    }
348
543k
  }
jxl::StatusOr<jxl::ColorCorrelationMap>::~StatusOr()
Line
Count
Source
344
176k
  ~StatusOr() {
345
176k
    if (code_ == StatusCode::kOk) {
346
176k
      storage_.data_.~T();
347
176k
    }
348
176k
  }
jxl::StatusOr<jxl::AcStrategyImage>::~StatusOr()
Line
Count
Source
344
176k
  ~StatusOr() {
345
176k
    if (code_ == StatusCode::kOk) {
346
176k
      storage_.data_.~T();
347
176k
    }
348
176k
  }
jxl::StatusOr<std::__1::unique_ptr<jxl::BitWriter, std::__1::default_delete<jxl::BitWriter> > >::~StatusOr()
Line
Count
Source
344
39
  ~StatusOr() {
345
39
    if (code_ == StatusCode::kOk) {
346
39
      storage_.data_.~T();
347
39
    }
348
39
  }
jxl::StatusOr<std::__1::unique_ptr<jxl::ModularFrameEncoder, std::__1::default_delete<jxl::ModularFrameEncoder> > >::~StatusOr()
Line
Count
Source
344
6.54k
  ~StatusOr() {
345
6.54k
    if (code_ == StatusCode::kOk) {
346
6.54k
      storage_.data_.~T();
347
6.54k
    }
348
6.54k
  }
Unexecuted instantiation: jxl::StatusOr<std::__1::unique_ptr<jxl::ButteraugliComparator, std::__1::default_delete<jxl::ButteraugliComparator> > >::~StatusOr()
jxl::StatusOr<jxl::AlignedArray<jxl::GroupDecCache> >::~StatusOr()
Line
Count
Source
344
13.1k
  ~StatusOr() {
345
13.1k
    if (code_ == StatusCode::kOk) {
346
13.1k
      storage_.data_.~T();
347
13.1k
    }
348
13.1k
  }
Unexecuted instantiation: jxl::StatusOr<bool>::~StatusOr()
jxl::StatusOr<jxl::ModularStreamId>::~StatusOr()
Line
Count
Source
344
4.75k
  ~StatusOr() {
345
4.75k
    if (code_ == StatusCode::kOk) {
346
4.75k
      storage_.data_.~T();
347
4.75k
    }
348
4.75k
  }
jxl::StatusOr<jxl::Image>::~StatusOr()
Line
Count
Source
344
361k
  ~StatusOr() {
345
361k
    if (code_ == StatusCode::kOk) {
346
361k
      storage_.data_.~T();
347
361k
    }
348
361k
  }
jxl::StatusOr<std::__1::vector<jxl::PropertyDecisionNode, std::__1::allocator<jxl::PropertyDecisionNode> > >::~StatusOr()
Line
Count
Source
344
4.32k
  ~StatusOr() {
345
4.32k
    if (code_ == StatusCode::kOk) {
346
4.32k
      storage_.data_.~T();
347
4.32k
    }
348
4.32k
  }
jxl::StatusOr<std::__1::vector<std::__1::pair<jxl::QuantizedPatch, std::__1::vector<std::__1::pair<unsigned int, unsigned int>, std::__1::allocator<std::__1::pair<unsigned int, unsigned int> > > >, std::__1::allocator<std::__1::pair<jxl::QuantizedPatch, std::__1::vector<std::__1::pair<unsigned int, unsigned int>, std::__1::allocator<std::__1::pair<unsigned int, unsigned int> > > > > > >::~StatusOr()
Line
Count
Source
344
6.49k
  ~StatusOr() {
345
6.49k
    if (code_ == StatusCode::kOk) {
346
6.49k
      storage_.data_.~T();
347
6.49k
    }
348
6.49k
  }
jxl::StatusOr<jxl::Plane<signed char> >::~StatusOr()
Line
Count
Source
344
353k
  ~StatusOr() {
345
353k
    if (code_ == StatusCode::kOk) {
346
353k
      storage_.data_.~T();
347
353k
    }
348
353k
  }
jxl::StatusOr<std::__1::unique_ptr<jxl::RenderPipeline, std::__1::default_delete<jxl::RenderPipeline> > >::~StatusOr()
Line
Count
Source
344
73.2k
  ~StatusOr() {
345
73.2k
    if (code_ == StatusCode::kOk) {
346
73.2k
      storage_.data_.~T();
347
73.2k
    }
348
73.2k
  }
Unexecuted instantiation: jxl::StatusOr<jxl::Plane<hwy::float16_t> >::~StatusOr()
Unexecuted instantiation: jxl::StatusOr<jxl::Plane<unsigned int> >::~StatusOr()
jxl::StatusOr<jxl::Plane<short> >::~StatusOr()
Line
Count
Source
344
24.1k
  ~StatusOr() {
345
24.1k
    if (code_ == StatusCode::kOk) {
346
24.1k
      storage_.data_.~T();
347
24.1k
    }
348
24.1k
  }
jxl::StatusOr<jxl::Image3<short> >::~StatusOr()
Line
Count
Source
344
8.04k
  ~StatusOr() {
345
8.04k
    if (code_ == StatusCode::kOk) {
346
8.04k
      storage_.data_.~T();
347
8.04k
    }
348
8.04k
  }
jxl::StatusOr<std::__1::unique_ptr<jxl::ACImageT<short>, std::__1::default_delete<jxl::ACImageT<short> > > >::~StatusOr()
Line
Count
Source
344
8.04k
  ~StatusOr() {
345
8.04k
    if (code_ == StatusCode::kOk) {
346
8.04k
      storage_.data_.~T();
347
8.04k
    }
348
8.04k
  }
dec_group.cc:jxl::StatusOr<jxl::(anonymous namespace)::GetBlockFromEncoder>::~StatusOr()
Line
Count
Source
344
32.2k
  ~StatusOr() {
345
32.2k
    if (code_ == StatusCode::kOk) {
346
32.2k
      storage_.data_.~T();
347
32.2k
    }
348
32.2k
  }
Unexecuted instantiation: jxl::StatusOr<jxl::ImageBundle>::~StatusOr()
enc_ans.cc:jxl::StatusOr<jxl::(anonymous namespace)::ANSEncodingHistogram>::~StatusOr()
Line
Count
Source
344
1.10M
  ~StatusOr() {
345
1.10M
    if (code_ == StatusCode::kOk) {
346
1.10M
      storage_.data_.~T();
347
1.10M
    }
348
1.10M
  }
Unexecuted instantiation: jxl::StatusOr<jxl::Image3<unsigned char> >::~StatusOr()
jxl::StatusOr<jxl::RectT<long> >::~StatusOr()
Line
Count
Source
344
321k
  ~StatusOr() {
345
321k
    if (code_ == StatusCode::kOk) {
346
321k
      storage_.data_.~T();
347
321k
    }
348
321k
  }
jxl::StatusOr<jxl::RectT<unsigned long> >::~StatusOr()
Line
Count
Source
344
577k
  ~StatusOr() {
345
577k
    if (code_ == StatusCode::kOk) {
346
577k
      storage_.data_.~T();
347
577k
    }
348
577k
  }
low_memory_render_pipeline.cc:jxl::StatusOr<jxl::(anonymous namespace)::Rows>::~StatusOr()
Line
Count
Source
344
93.6k
  ~StatusOr() {
345
93.6k
    if (code_ == StatusCode::kOk) {
346
93.6k
      storage_.data_.~T();
347
93.6k
    }
348
93.6k
  }
Unexecuted instantiation: enc_detect_dots.cc:jxl::StatusOr<jxl::(anonymous namespace)::GaussianEllipse>::~StatusOr()
Unexecuted instantiation: enc_detect_dots.cc:jxl::StatusOr<std::__1::vector<jxl::(anonymous namespace)::ConnectedComponent, std::__1::allocator<jxl::(anonymous namespace)::ConnectedComponent> > >::~StatusOr()
349
350
 private:
351
  union Storage {
352
    char placeholder_;
353
    T data_;
354
78.0M
    Storage() {}
jxl::StatusOr<jxl::PaddedBytes>::Storage::Storage()
Line
Count
Source
354
6.30k
    Storage() {}
jxl::StatusOr<JxlOutputProcessorBuffer>::Storage::Storage()
Line
Count
Source
354
11.6k
    Storage() {}
Unexecuted instantiation: jxl::StatusOr<std::__1::unique_ptr<jxl::jpeg::JPEGData, std::__1::default_delete<jxl::jpeg::JPEGData> > >::Storage::Storage()
jxl::StatusOr<jxl::AlignedMemory>::Storage::Storage()
Line
Count
Source
354
35.9M
    Storage() {}
jxl::StatusOr<jxl::Plane<int> >::Storage::Storage()
Line
Count
Source
354
2.09M
    Storage() {}
jxl::StatusOr<jxl::Channel>::Storage::Storage()
Line
Count
Source
354
1.48M
    Storage() {}
jxl::StatusOr<jxl::Image>::Storage::Storage()
Line
Count
Source
354
361k
    Storage() {}
jxl::StatusOr<float>::Storage::Storage()
Line
Count
Source
354
1.20M
    Storage() {}
jxl::StatusOr<jxl::Plane<unsigned char> >::Storage::Storage()
Line
Count
Source
354
543k
    Storage() {}
jxl::StatusOr<jxl::Image3<float> >::Storage::Storage()
Line
Count
Source
354
361k
    Storage() {}
jxl::StatusOr<jxl::Plane<float> >::Storage::Storage()
Line
Count
Source
354
32.1M
    Storage() {}
jxl::StatusOr<jxl::Image3<int> >::Storage::Storage()
Line
Count
Source
354
19.7k
    Storage() {}
jxl::StatusOr<std::__1::unique_ptr<jxl::ACImageT<int>, std::__1::default_delete<jxl::ACImageT<int> > > >::Storage::Storage()
Line
Count
Source
354
5.75k
    Storage() {}
jxl::StatusOr<std::__1::unique_ptr<jxl::BitWriter, std::__1::default_delete<jxl::BitWriter> > >::Storage::Storage()
Line
Count
Source
354
39
    Storage() {}
jxl::StatusOr<jxl::AlignedArray<jxl::GroupDecCache> >::Storage::Storage()
Line
Count
Source
354
13.1k
    Storage() {}
jxl::StatusOr<jxl::ModularStreamId>::Storage::Storage()
Line
Count
Source
354
4.75k
    Storage() {}
Unexecuted instantiation: jxl::StatusOr<bool>::Storage::Storage()
jxl::StatusOr<std::__1::unique_ptr<jxl::ModularFrameEncoder, std::__1::default_delete<jxl::ModularFrameEncoder> > >::Storage::Storage()
Line
Count
Source
354
6.54k
    Storage() {}
jxl::StatusOr<std::__1::vector<std::__1::pair<jxl::QuantizedPatch, std::__1::vector<std::__1::pair<unsigned int, unsigned int>, std::__1::allocator<std::__1::pair<unsigned int, unsigned int> > > >, std::__1::allocator<std::__1::pair<jxl::QuantizedPatch, std::__1::vector<std::__1::pair<unsigned int, unsigned int>, std::__1::allocator<std::__1::pair<unsigned int, unsigned int> > > > > > >::Storage::Storage()
Line
Count
Source
354
6.49k
    Storage() {}
jxl::StatusOr<std::__1::vector<jxl::PropertyDecisionNode, std::__1::allocator<jxl::PropertyDecisionNode> > >::Storage::Storage()
Line
Count
Source
354
4.32k
    Storage() {}
jxl::StatusOr<jxl::AcStrategyImage>::Storage::Storage()
Line
Count
Source
354
176k
    Storage() {}
jxl::StatusOr<jxl::Plane<signed char> >::Storage::Storage()
Line
Count
Source
354
353k
    Storage() {}
jxl::StatusOr<jxl::ColorCorrelationMap>::Storage::Storage()
Line
Count
Source
354
176k
    Storage() {}
jxl::StatusOr<jxl::ANSSymbolReader>::Storage::Storage()
Line
Count
Source
354
557k
    Storage() {}
Unexecuted instantiation: jxl::StatusOr<jxl::Plane<hwy::float16_t> >::Storage::Storage()
Unexecuted instantiation: jxl::StatusOr<jxl::Plane<unsigned int> >::Storage::Storage()
jxl::StatusOr<jxl::Plane<short> >::Storage::Storage()
Line
Count
Source
354
24.1k
    Storage() {}
jxl::StatusOr<jxl::Image3<short> >::Storage::Storage()
Line
Count
Source
354
8.04k
    Storage() {}
jxl::StatusOr<std::__1::unique_ptr<jxl::ACImageT<short>, std::__1::default_delete<jxl::ACImageT<short> > > >::Storage::Storage()
Line
Count
Source
354
8.04k
    Storage() {}
dec_group.cc:jxl::StatusOr<jxl::(anonymous namespace)::GetBlockFromEncoder>::Storage::Storage()
Line
Count
Source
354
32.2k
    Storage() {}
jxl::StatusOr<std::__1::unique_ptr<jxl::RenderPipeline, std::__1::default_delete<jxl::RenderPipeline> > >::Storage::Storage()
Line
Count
Source
354
73.2k
    Storage() {}
Unexecuted instantiation: jxl::StatusOr<jxl::QuantizedSpline>::Storage::Storage()
Unexecuted instantiation: jxl::StatusOr<std::__1::unique_ptr<jxl::ButteraugliComparator, std::__1::default_delete<jxl::ButteraugliComparator> > >::Storage::Storage()
Unexecuted instantiation: jxl::StatusOr<jxl::ImageBundle>::Storage::Storage()
enc_ans.cc:jxl::StatusOr<jxl::(anonymous namespace)::ANSEncodingHistogram>::Storage::Storage()
Line
Count
Source
354
1.10M
    Storage() {}
jxl::StatusOr<unsigned long>::Storage::Storage()
Line
Count
Source
354
384k
    Storage() {}
Unexecuted instantiation: jxl::StatusOr<jxl::Image3<unsigned char> >::Storage::Storage()
jxl::StatusOr<jxl::RectT<long> >::Storage::Storage()
Line
Count
Source
354
321k
    Storage() {}
low_memory_render_pipeline.cc:jxl::StatusOr<jxl::(anonymous namespace)::Rows>::Storage::Storage()
Line
Count
Source
354
93.6k
    Storage() {}
jxl::StatusOr<jxl::RectT<unsigned long> >::Storage::Storage()
Line
Count
Source
354
577k
    Storage() {}
Unexecuted instantiation: enc_detect_dots.cc:jxl::StatusOr<std::__1::vector<jxl::(anonymous namespace)::ConnectedComponent, std::__1::allocator<jxl::(anonymous namespace)::ConnectedComponent> > >::Storage::Storage()
Unexecuted instantiation: enc_detect_dots.cc:jxl::StatusOr<jxl::(anonymous namespace)::GaussianEllipse>::Storage::Storage()
355
78.0M
    ~Storage() {}
jxl::StatusOr<jxl::AlignedMemory>::Storage::~Storage()
Line
Count
Source
355
35.9M
    ~Storage() {}
jxl::StatusOr<jxl::PaddedBytes>::Storage::~Storage()
Line
Count
Source
355
6.30k
    ~Storage() {}
Unexecuted instantiation: jxl::StatusOr<std::__1::unique_ptr<jxl::jpeg::JPEGData, std::__1::default_delete<jxl::jpeg::JPEGData> > >::Storage::~Storage()
jxl::StatusOr<JxlOutputProcessorBuffer>::Storage::~Storage()
Line
Count
Source
355
11.6k
    ~Storage() {}
jxl::StatusOr<jxl::ANSSymbolReader>::Storage::~Storage()
Line
Count
Source
355
557k
    ~Storage() {}
jxl::StatusOr<jxl::Channel>::Storage::~Storage()
Line
Count
Source
355
1.48M
    ~Storage() {}
jxl::StatusOr<jxl::Plane<int> >::Storage::~Storage()
Line
Count
Source
355
2.09M
    ~Storage() {}
jxl::StatusOr<float>::Storage::~Storage()
Line
Count
Source
355
1.20M
    ~Storage() {}
jxl::StatusOr<jxl::Plane<float> >::Storage::~Storage()
Line
Count
Source
355
32.1M
    ~Storage() {}
jxl::StatusOr<jxl::Image3<float> >::Storage::~Storage()
Line
Count
Source
355
361k
    ~Storage() {}
jxl::StatusOr<jxl::Image3<int> >::Storage::~Storage()
Line
Count
Source
355
19.7k
    ~Storage() {}
jxl::StatusOr<std::__1::unique_ptr<jxl::ACImageT<int>, std::__1::default_delete<jxl::ACImageT<int> > > >::Storage::~Storage()
Line
Count
Source
355
5.75k
    ~Storage() {}
jxl::StatusOr<unsigned long>::Storage::~Storage()
Line
Count
Source
355
384k
    ~Storage() {}
jxl::StatusOr<jxl::Plane<unsigned char> >::Storage::~Storage()
Line
Count
Source
355
543k
    ~Storage() {}
jxl::StatusOr<jxl::ColorCorrelationMap>::Storage::~Storage()
Line
Count
Source
355
176k
    ~Storage() {}
jxl::StatusOr<jxl::AcStrategyImage>::Storage::~Storage()
Line
Count
Source
355
176k
    ~Storage() {}
jxl::StatusOr<std::__1::unique_ptr<jxl::BitWriter, std::__1::default_delete<jxl::BitWriter> > >::Storage::~Storage()
Line
Count
Source
355
39
    ~Storage() {}
jxl::StatusOr<std::__1::unique_ptr<jxl::ModularFrameEncoder, std::__1::default_delete<jxl::ModularFrameEncoder> > >::Storage::~Storage()
Line
Count
Source
355
6.54k
    ~Storage() {}
Unexecuted instantiation: jxl::StatusOr<std::__1::unique_ptr<jxl::ButteraugliComparator, std::__1::default_delete<jxl::ButteraugliComparator> > >::Storage::~Storage()
jxl::StatusOr<jxl::AlignedArray<jxl::GroupDecCache> >::Storage::~Storage()
Line
Count
Source
355
13.1k
    ~Storage() {}
Unexecuted instantiation: jxl::StatusOr<bool>::Storage::~Storage()
jxl::StatusOr<jxl::ModularStreamId>::Storage::~Storage()
Line
Count
Source
355
4.75k
    ~Storage() {}
jxl::StatusOr<jxl::Image>::Storage::~Storage()
Line
Count
Source
355
361k
    ~Storage() {}
jxl::StatusOr<std::__1::vector<jxl::PropertyDecisionNode, std::__1::allocator<jxl::PropertyDecisionNode> > >::Storage::~Storage()
Line
Count
Source
355
4.32k
    ~Storage() {}
jxl::StatusOr<std::__1::vector<std::__1::pair<jxl::QuantizedPatch, std::__1::vector<std::__1::pair<unsigned int, unsigned int>, std::__1::allocator<std::__1::pair<unsigned int, unsigned int> > > >, std::__1::allocator<std::__1::pair<jxl::QuantizedPatch, std::__1::vector<std::__1::pair<unsigned int, unsigned int>, std::__1::allocator<std::__1::pair<unsigned int, unsigned int> > > > > > >::Storage::~Storage()
Line
Count
Source
355
6.49k
    ~Storage() {}
jxl::StatusOr<jxl::Plane<signed char> >::Storage::~Storage()
Line
Count
Source
355
353k
    ~Storage() {}
jxl::StatusOr<std::__1::unique_ptr<jxl::RenderPipeline, std::__1::default_delete<jxl::RenderPipeline> > >::Storage::~Storage()
Line
Count
Source
355
73.2k
    ~Storage() {}
Unexecuted instantiation: jxl::StatusOr<jxl::Plane<hwy::float16_t> >::Storage::~Storage()
Unexecuted instantiation: jxl::StatusOr<jxl::Plane<unsigned int> >::Storage::~Storage()
jxl::StatusOr<jxl::Plane<short> >::Storage::~Storage()
Line
Count
Source
355
24.1k
    ~Storage() {}
jxl::StatusOr<jxl::Image3<short> >::Storage::~Storage()
Line
Count
Source
355
8.04k
    ~Storage() {}
jxl::StatusOr<std::__1::unique_ptr<jxl::ACImageT<short>, std::__1::default_delete<jxl::ACImageT<short> > > >::Storage::~Storage()
Line
Count
Source
355
8.04k
    ~Storage() {}
dec_group.cc:jxl::StatusOr<jxl::(anonymous namespace)::GetBlockFromEncoder>::Storage::~Storage()
Line
Count
Source
355
32.2k
    ~Storage() {}
Unexecuted instantiation: jxl::StatusOr<jxl::ImageBundle>::Storage::~Storage()
enc_ans.cc:jxl::StatusOr<jxl::(anonymous namespace)::ANSEncodingHistogram>::Storage::~Storage()
Line
Count
Source
355
1.10M
    ~Storage() {}
Unexecuted instantiation: jxl::StatusOr<jxl::Image3<unsigned char> >::Storage::~Storage()
jxl::StatusOr<jxl::RectT<long> >::Storage::~Storage()
Line
Count
Source
355
321k
    ~Storage() {}
jxl::StatusOr<jxl::RectT<unsigned long> >::Storage::~Storage()
Line
Count
Source
355
577k
    ~Storage() {}
low_memory_render_pipeline.cc:jxl::StatusOr<jxl::(anonymous namespace)::Rows>::Storage::~Storage()
Line
Count
Source
355
93.6k
    ~Storage() {}
Unexecuted instantiation: enc_detect_dots.cc:jxl::StatusOr<jxl::(anonymous namespace)::GaussianEllipse>::Storage::~Storage()
Unexecuted instantiation: enc_detect_dots.cc:jxl::StatusOr<std::__1::vector<jxl::(anonymous namespace)::ConnectedComponent, std::__1::allocator<jxl::(anonymous namespace)::ConnectedComponent> > >::Storage::~Storage()
356
  } storage_;
357
358
  StatusCode code_;
359
};
360
361
#define JXL_ASSIGN_OR_RETURN(lhs, statusor) \
362
78.0M
  PRIVATE_JXL_ASSIGN_OR_RETURN_IMPL(        \
363
78.0M
      JXL_JOIN(assign_or_return_temporary_variable, __LINE__), lhs, statusor)
364
365
// NOLINTBEGIN(bugprone-macro-parentheses)
366
#define PRIVATE_JXL_ASSIGN_OR_RETURN_IMPL(name, lhs, statusor) \
367
78.0M
  auto name = statusor;                                        \
368
78.0M
  JXL_RETURN_IF_ERROR(name.status());                          \
369
78.0M
  lhs = std::move(name).value_();
370
// NOLINTEND(bugprone-macro-parentheses)
371
372
#define JXL_ASSIGN_OR_QUIT(lhs, statusor, message)                     \
373
0
  PRIVATE_JXL_ASSIGN_OR_QUIT_IMPL(                                     \
374
0
      JXL_JOIN(assign_or_temporary_variable, __LINE__), lhs, statusor, \
375
0
      message)
376
377
// NOLINTBEGIN(bugprone-macro-parentheses)
378
#define PRIVATE_JXL_ASSIGN_OR_QUIT_IMPL(name, lhs, statusor, message) \
379
0
  auto name = statusor;                                               \
380
0
  if (!name.ok()) {                                                   \
381
0
    QUIT(message);                                                    \
382
0
  }                                                                   \
383
0
  lhs = std::move(name).value_();
384
// NOLINTEND(bugprone-macro-parentheses)
385
386
}  // namespace jxl
387
388
#endif  // LIB_JXL_BASE_STATUS_H_