Coverage Report

Created: 2026-11-12 08:28

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/gdal/port/cpl_port.h
Line
Count
Source
1
/******************************************************************************
2
 *
3
 * Project:  CPL - Common Portability Library
4
 * Author:   Frank Warmerdam, warmerdam@pobox.com
5
 * Purpose:  Include file providing low level portability services for CPL.
6
 *           This should be the first include file for any CPL based code.
7
 *
8
 ******************************************************************************
9
 * Copyright (c) 1998, 2005, Frank Warmerdam <warmerdam@pobox.com>
10
 * Copyright (c) 2008-2013, Even Rouault <even dot rouault at spatialys.com>
11
 *
12
 * SPDX-License-Identifier: MIT
13
 ****************************************************************************/
14
15
#ifndef CPL_BASE_H_INCLUDED
16
#define CPL_BASE_H_INCLUDED
17
18
/**
19
 * \file cpl_port.h
20
 *
21
 * Core portability definitions for CPL.
22
 *
23
 */
24
25
/* -------------------------------------------------------------------- */
26
/*      The following apparently allow you to use strcpy() and other    */
27
/*      functions judged "unsafe" by microsoft in VS 8 (2005).          */
28
/* -------------------------------------------------------------------- */
29
#ifdef _MSC_VER
30
#ifndef _CRT_SECURE_NO_DEPRECATE
31
#define _CRT_SECURE_NO_DEPRECATE
32
#endif
33
#ifndef _CRT_NONSTDC_NO_DEPRECATE
34
#define _CRT_NONSTDC_NO_DEPRECATE
35
#endif
36
#endif
37
38
#include "cpl_config.h"
39
40
/* ==================================================================== */
41
/*      A few sanity checks, mainly to detect problems that sometimes   */
42
/*      arise with bad configured cross-compilation.                    */
43
/* ==================================================================== */
44
45
#if !defined(SIZEOF_INT) || SIZEOF_INT != 4
46
#error "Unexpected value for SIZEOF_INT"
47
#endif
48
49
#if !defined(SIZEOF_UNSIGNED_LONG) ||                                          \
50
    (SIZEOF_UNSIGNED_LONG != 4 && SIZEOF_UNSIGNED_LONG != 8)
51
#error "Unexpected value for SIZEOF_UNSIGNED_LONG"
52
#endif
53
54
#if !defined(SIZEOF_VOIDP)
55
#error "Unexpected value for SIZEOF_VOIDP"
56
#endif
57
58
/* ==================================================================== */
59
/*      This will disable most WIN32 stuff in a Cygnus build which      */
60
/*      defines unix to 1.                                              */
61
/* ==================================================================== */
62
63
#ifdef unix
64
#undef WIN32
65
#endif
66
67
/*! @cond Doxygen_Suppress */
68
#if defined(VSI_NEED_LARGEFILE64_SOURCE) && !defined(_LARGEFILE64_SOURCE)
69
#define _LARGEFILE64_SOURCE 1
70
#endif
71
72
/* ==================================================================== */
73
/*      If iconv() is available use extended recoding module.           */
74
/*      Stub implementation is always compiled in, because it works     */
75
/*      faster than iconv() for encodings it supports.                  */
76
/* ==================================================================== */
77
78
#if defined(HAVE_ICONV)
79
#define CPL_RECODE_ICONV
80
#endif
81
82
#define CPL_RECODE_STUB
83
/*! @endcond */
84
85
/* ==================================================================== */
86
/*      MinGW stuff                                                     */
87
/* ==================================================================== */
88
89
/* Needed for std=c11 on Solaris to have strcasecmp() */
90
#if defined(GDAL_COMPILATION) && defined(__sun__) &&                           \
91
    (__STDC_VERSION__ + 0) >= 201112L && (_XOPEN_SOURCE + 0) < 600
92
#ifdef _XOPEN_SOURCE
93
#undef _XOPEN_SOURCE
94
#endif
95
#define _XOPEN_SOURCE 600
96
#endif
97
98
/* ==================================================================== */
99
/*      Standard include files.                                         */
100
/* ==================================================================== */
101
102
#include <stdio.h>
103
#include <stdlib.h>
104
#include <math.h>
105
#include <stdarg.h>
106
#include <string.h>
107
#include <ctype.h>
108
#include <limits.h>
109
110
#include <time.h>
111
112
#include <errno.h>
113
114
#ifdef HAVE_LOCALE_H
115
#include <locale.h>
116
#endif
117
118
#ifdef HAVE_DIRECT_H
119
#include <direct.h>
120
#endif
121
122
#if !defined(_WIN32)
123
#include <strings.h>
124
#endif
125
126
#ifdef __cplusplus
127
extern "C++"
128
{
129
#include <cmath>
130
}
131
#endif
132
133
/* ==================================================================== */
134
/*      Base portability stuff ... this stuff may need to be            */
135
/*      modified for new platforms.                                     */
136
/* ==================================================================== */
137
138
/* MSVC fails to define a decent value of __cplusplus. Try to target VS2015*/
139
/* as a minimum */
140
141
#if defined(__cplusplus) && !defined(CPL_SUPRESS_CPLUSPLUS)
142
#if !(__cplusplus >= 201103L || (defined(_MSC_VER) && _MSC_VER >= 1900))
143
#error Must have C++11 or newer.
144
#endif
145
#endif /* __cplusplus */
146
147
/*---------------------------------------------------------------------
148
 *        types for 16 and 32 bits integers, etc...
149
 *--------------------------------------------------------------------*/
150
#if UINT_MAX == 65535
151
typedef long GInt32;
152
typedef unsigned long GUInt32;
153
#else
154
/** Int32 type */
155
typedef int GInt32;
156
/** Unsigned int32 type */
157
typedef unsigned int GUInt32;
158
#endif
159
160
/** Int16 type */
161
typedef short GInt16;
162
/** Unsigned int16 type */
163
typedef unsigned short GUInt16;
164
/** Unsigned byte type */
165
typedef unsigned char GByte;
166
/** Signed int8 type */
167
typedef signed char GInt8;
168
/* hack for PDF driver and poppler >= 0.15.0 that defines incompatible "typedef
169
 * bool GBool" */
170
/* in include/poppler/goo/gtypes.h */
171
#ifndef CPL_GBOOL_DEFINED
172
/*! @cond Doxygen_Suppress */
173
#define CPL_GBOOL_DEFINED
174
/*! @endcond */
175
/** Type for boolean values (alias to int) */
176
typedef int GBool;
177
#endif
178
179
/*! @cond Doxygen_Suppress */
180
#ifdef __cplusplus
181
93.0M
#define CPL_STATIC_CAST(type, expr) static_cast<type>(expr)
182
128k
#define CPL_REINTERPRET_CAST(type, expr) reinterpret_cast<type>(expr)
183
#else
184
388k
#define CPL_STATIC_CAST(type, expr) ((type)(expr))
185
#define CPL_REINTERPRET_CAST(type, expr) ((type)(expr))
186
#endif
187
/*! @endcond */
188
189
/* -------------------------------------------------------------------- */
190
/*      64bit support                                                   */
191
/* -------------------------------------------------------------------- */
192
193
/** Large signed integer type (generally 64-bit integer type).
194
 *  Use GInt64 when exactly 64 bit is needed */
195
typedef long long GIntBig;
196
/** Large unsigned integer type (generally 64-bit unsigned integer type).
197
 *  Use GUInt64 when exactly 64 bit is needed */
198
typedef unsigned long long GUIntBig;
199
200
/** Minimum GIntBig value */
201
5.96k
#define GINTBIG_MIN (CPL_STATIC_CAST(GIntBig, 0x80000000) << 32)
202
/** Maximum GIntBig value */
203
2.98M
#define GINTBIG_MAX ((CPL_STATIC_CAST(GIntBig, 0x7FFFFFFF) << 32) | 0xFFFFFFFFU)
204
/** Maximum GUIntBig value */
205
#define GUINTBIG_MAX                                                           \
206
32.5M
    ((CPL_STATIC_CAST(GUIntBig, 0xFFFFFFFFU) << 32) | 0xFFFFFFFFU)
207
208
/*! @cond Doxygen_Suppress */
209
#define CPL_HAS_GINT64 1
210
/*! @endcond */
211
212
/* Note: we might want to use instead int64_t / uint64_t if they are available
213
 */
214
215
/** Signed 64 bit integer type */
216
typedef GIntBig GInt64;
217
/** Unsigned 64 bit integer type */
218
typedef GUIntBig GUInt64;
219
220
/** Minimum GInt64 value */
221
#define GINT64_MIN GINTBIG_MIN
222
/** Maximum GInt64 value */
223
#define GINT64_MAX GINTBIG_MAX
224
/** Minimum GUInt64 value */
225
0
#define GUINT64_MAX GUINTBIG_MAX
226
227
#if SIZEOF_VOIDP > 8
228
#include <stddef.h>  // ptrdiff_t
229
/** Integer type large enough to hold the difference between 2 addresses */
230
typedef ptrdiff_t GPtrDiff_t;
231
#elif SIZEOF_VOIDP == 8
232
/** Integer type large enough to hold the difference between 2 addresses */
233
typedef GIntBig GPtrDiff_t;
234
#else
235
/** Integer type large enough to hold the difference between 2 addresses */
236
typedef int GPtrDiff_t;
237
#endif
238
239
#ifdef GDAL_COMPILATION
240
#include <stdint.h>
241
typedef uintptr_t GUIntptr_t;
242
#define CPL_IS_ALIGNED(ptr, quant)                                             \
243
256k
    ((CPL_REINTERPRET_CAST(GUIntptr_t, CPL_STATIC_CAST(const void *, ptr)) %   \
244
256k
      (quant)) == 0)
245
246
#endif
247
248
#if (defined(__MSVCRT__) && !(defined(__MINGW64__) && __GNUC__ >= 10)) ||      \
249
    (defined(_WIN32) && defined(_MSC_VER))
250
#define CPL_FRMT_GB_WITHOUT_PREFIX "I64"
251
#else
252
/** Printf formatting suffix for GIntBig */
253
#define CPL_FRMT_GB_WITHOUT_PREFIX "ll"
254
#endif
255
256
/** Printf formatting for GIntBig */
257
3.21M
#define CPL_FRMT_GIB "%" CPL_FRMT_GB_WITHOUT_PREFIX "d"
258
/** Printf formatting for GUIntBig */
259
9.33M
#define CPL_FRMT_GUIB "%" CPL_FRMT_GB_WITHOUT_PREFIX "u"
260
261
/*! @cond Doxygen_Suppress */
262
#ifdef COMPAT_WITH_ICC_CONVERSION_CHECK
263
#define CPL_INT64_FITS_ON_INT32(x) ((x) >= INT_MIN && (x) <= INT_MAX)
264
#else
265
#define CPL_INT64_FITS_ON_INT32(x)                                             \
266
1.80M
    (CPL_STATIC_CAST(GIntBig, CPL_STATIC_CAST(int, x)) == (x))
267
#endif
268
/*! @endcond */
269
270
/* ==================================================================== */
271
/*      Other standard services.                                        */
272
/* ==================================================================== */
273
#ifdef __cplusplus
274
/** Macro to start a block of C symbols */
275
#define CPL_C_START                                                            \
276
    extern "C"                                                                 \
277
    {
278
/** Macro to end a block of C symbols */
279
#define CPL_C_END }
280
#else
281
#define CPL_C_START
282
#define CPL_C_END
283
#endif
284
285
#ifndef CPL_DLL
286
#if defined(_MSC_VER) && !defined(CPL_DISABLE_DLL)
287
#ifdef GDAL_COMPILATION
288
#define CPL_DLL __declspec(dllexport)
289
#else
290
#define CPL_DLL
291
#endif
292
#define CPL_INTERNAL
293
#else
294
#if defined(USE_GCC_VISIBILITY_FLAG)
295
#define CPL_DLL __attribute__((visibility("default")))
296
#if !defined(__MINGW32__)
297
#define CPL_INTERNAL __attribute__((visibility("hidden")))
298
#else
299
#define CPL_INTERNAL
300
#endif
301
#else
302
#define CPL_DLL
303
#define CPL_INTERNAL
304
#endif
305
#endif
306
307
// Marker for unstable API
308
#define CPL_UNSTABLE_API CPL_DLL
309
310
#endif
311
312
/*! @cond Doxygen_Suppress */
313
/* Should optional (normally private) interfaces be exported? */
314
#ifdef CPL_OPTIONAL_APIS
315
#define CPL_ODLL CPL_DLL
316
#else
317
#define CPL_ODLL
318
#endif
319
/*! @endcond */
320
321
#ifndef CPL_STDCALL
322
#if defined(_MSC_VER) && !defined(CPL_DISABLE_STDCALL)
323
#define CPL_STDCALL __stdcall
324
#else
325
#define CPL_STDCALL
326
#endif
327
#endif
328
329
/*! @cond Doxygen_Suppress */
330
#ifdef _MSC_VER
331
#define FORCE_CDECL __cdecl
332
#else
333
#define FORCE_CDECL
334
#endif
335
/*! @endcond */
336
337
/*! @cond Doxygen_Suppress */
338
/* TODO : support for other compilers needed */
339
#if (defined(__GNUC__) && !defined(__NO_INLINE__)) || defined(_MSC_VER)
340
#define HAS_CPL_INLINE 1
341
#define CPL_INLINE __inline
342
#elif defined(__SUNPRO_CC)
343
#define HAS_CPL_INLINE 1
344
#define CPL_INLINE inline
345
#else
346
#define CPL_INLINE
347
#endif
348
/*! @endcond*/
349
350
/** Macro to compute the minimum of 2 values */
351
51.8M
#define CPL_MIN(a, b) (((a) < (b)) ? (a) : (b))
352
/** Macro to compute the maximum of 2 values */
353
52.7M
#define CPL_MAX(a, b) (((a) > (b)) ? (a) : (b))
354
355
/** Macro to compute the absolute value */
356
30
#define CPL_ABS(x) (((x) < 0) ? (-1 * (x)) : (x))
357
358
/*! @cond Doxygen_Suppress */
359
360
#if defined(GDAL_COMPILATION)
361
#ifndef M_PI
362
#define M_PI 3.14159265358979323846
363
/* 3.1415926535897932384626433832795 */
364
#endif
365
366
#endif
367
/*! @endcond*/
368
369
/* -------------------------------------------------------------------- */
370
/*      Macro to test equality of two floating point values.            */
371
/*      We use fabs() function instead of ABS() macro to avoid side     */
372
/*      effects.                                                        */
373
/* -------------------------------------------------------------------- */
374
/*! @cond Doxygen_Suppress */
375
#ifndef CPLIsEqual
376
63.7k
#define CPLIsEqual(x, y) (fabs((x) - (y)) < 0.0000000000001)
377
#endif
378
/*! @endcond */
379
380
/* -------------------------------------------------------------------- */
381
/*      Provide macros for case insensitive string comparisons.         */
382
/* -------------------------------------------------------------------- */
383
#ifndef EQUAL
384
385
#if defined(AFL_FRIENDLY) && defined(__GNUC__)
386
387
static inline int CPL_afl_friendly_memcmp(const void *ptr1, const void *ptr2,
388
                                          size_t len)
389
    __attribute__((always_inline));
390
391
static inline int CPL_afl_friendly_memcmp(const void *ptr1, const void *ptr2,
392
                                          size_t len)
393
{
394
    const unsigned char *bptr1 = (const unsigned char *)ptr1;
395
    const unsigned char *bptr2 = (const unsigned char *)ptr2;
396
    while (len--)
397
    {
398
        unsigned char b1 = *(bptr1++);
399
        unsigned char b2 = *(bptr2++);
400
        if (b1 != b2)
401
            return b1 - b2;
402
    }
403
    return 0;
404
}
405
406
static inline int CPL_afl_friendly_strcmp(const char *ptr1, const char *ptr2)
407
    __attribute__((always_inline));
408
409
static inline int CPL_afl_friendly_strcmp(const char *ptr1, const char *ptr2)
410
{
411
    const unsigned char *usptr1 = (const unsigned char *)ptr1;
412
    const unsigned char *usptr2 = (const unsigned char *)ptr2;
413
    while (1)
414
    {
415
        unsigned char ch1 = *(usptr1++);
416
        unsigned char ch2 = *(usptr2++);
417
        if (ch1 == 0 || ch1 != ch2)
418
            return ch1 - ch2;
419
    }
420
}
421
422
static inline int CPL_afl_friendly_strncmp(const char *ptr1, const char *ptr2,
423
                                           size_t len)
424
    __attribute__((always_inline));
425
426
static inline int CPL_afl_friendly_strncmp(const char *ptr1, const char *ptr2,
427
                                           size_t len)
428
{
429
    const unsigned char *usptr1 = (const unsigned char *)ptr1;
430
    const unsigned char *usptr2 = (const unsigned char *)ptr2;
431
    while (len--)
432
    {
433
        unsigned char ch1 = *(usptr1++);
434
        unsigned char ch2 = *(usptr2++);
435
        if (ch1 == 0 || ch1 != ch2)
436
            return ch1 - ch2;
437
    }
438
    return 0;
439
}
440
441
static inline int CPL_afl_friendly_strcasecmp(const char *ptr1,
442
                                              const char *ptr2)
443
    __attribute__((always_inline));
444
445
static inline int CPL_afl_friendly_strcasecmp(const char *ptr1,
446
                                              const char *ptr2)
447
{
448
    const unsigned char *usptr1 = (const unsigned char *)ptr1;
449
    const unsigned char *usptr2 = (const unsigned char *)ptr2;
450
    while (1)
451
    {
452
        unsigned char ch1 = *(usptr1++);
453
        unsigned char ch2 = *(usptr2++);
454
        ch1 = (unsigned char)toupper(ch1);
455
        ch2 = (unsigned char)toupper(ch2);
456
        if (ch1 == 0 || ch1 != ch2)
457
            return ch1 - ch2;
458
    }
459
}
460
461
static inline int CPL_afl_friendly_strncasecmp(const char *ptr1,
462
                                               const char *ptr2, size_t len)
463
    __attribute__((always_inline));
464
465
static inline int CPL_afl_friendly_strncasecmp(const char *ptr1,
466
                                               const char *ptr2, size_t len)
467
{
468
    const unsigned char *usptr1 = (const unsigned char *)ptr1;
469
    const unsigned char *usptr2 = (const unsigned char *)ptr2;
470
    while (len--)
471
    {
472
        unsigned char ch1 = *(usptr1++);
473
        unsigned char ch2 = *(usptr2++);
474
        ch1 = (unsigned char)toupper(ch1);
475
        ch2 = (unsigned char)toupper(ch2);
476
        if (ch1 == 0 || ch1 != ch2)
477
            return ch1 - ch2;
478
    }
479
    return 0;
480
}
481
482
static inline char *CPL_afl_friendly_strstr(const char *haystack,
483
                                            const char *needle)
484
    __attribute__((always_inline));
485
486
static inline char *CPL_afl_friendly_strstr(const char *haystack,
487
                                            const char *needle)
488
{
489
    const char *ptr_haystack = haystack;
490
    while (1)
491
    {
492
        const char *ptr_haystack2 = ptr_haystack;
493
        const char *ptr_needle = needle;
494
        while (1)
495
        {
496
            char ch1 = *(ptr_haystack2++);
497
            char ch2 = *(ptr_needle++);
498
            if (ch2 == 0)
499
                return (char *)ptr_haystack;
500
            if (ch1 != ch2)
501
                break;
502
        }
503
        if (*ptr_haystack == 0)
504
            return NULL;
505
        ptr_haystack++;
506
    }
507
}
508
509
#undef strcmp
510
#undef strncmp
511
#define memcmp CPL_afl_friendly_memcmp
512
#define strcmp CPL_afl_friendly_strcmp
513
#define strncmp CPL_afl_friendly_strncmp
514
#define strcasecmp CPL_afl_friendly_strcasecmp
515
#define strncasecmp CPL_afl_friendly_strncasecmp
516
#define strstr CPL_afl_friendly_strstr
517
518
#endif /* defined(AFL_FRIENDLY) && defined(__GNUC__) */
519
520
#if defined(_WIN32)
521
#define STRCASECMP(a, b) (_stricmp(a, b))
522
#define STRNCASECMP(a, b, n) (_strnicmp(a, b, n))
523
#else
524
/** Alias for strcasecmp() */
525
4.20G
#define STRCASECMP(a, b) (strcasecmp(a, b))
526
/** Alias for strncasecmp() */
527
9.89G
#define STRNCASECMP(a, b, n) (strncasecmp(a, b, n))
528
#endif
529
/** Alias for strncasecmp() == 0 */
530
16.4G
#define EQUALN(a, b, n) (STRNCASECMP(a, b, n) == 0)
531
/** Alias for strcasecmp() == 0 */
532
4.82G
#define EQUAL(a, b) (STRCASECMP(a, b) == 0)
533
#endif
534
535
/*---------------------------------------------------------------------
536
 * Does a string "a" start with string "b".  Search is case-sensitive or,
537
 * with CI, it is a case-insensitive comparison.
538
 *--------------------------------------------------------------------- */
539
#ifndef STARTS_WITH_CI
540
/** Returns whether a starts with b */
541
475M
#define STARTS_WITH(a, b) (strncmp(a, b, strlen(b)) == 0)
542
/** Returns whether a starts with b (case insensitive comparison) */
543
2.03G
#define STARTS_WITH_CI(a, b) EQUALN(a, b, strlen(b))
544
#endif
545
546
/*! @cond Doxygen_Suppress */
547
#ifndef CPL_THREADLOCAL
548
#define CPL_THREADLOCAL
549
#endif
550
/*! @endcond */
551
552
/*! @cond Doxygen_Suppress */
553
#ifndef __cplusplus
554
/* -------------------------------------------------------------------- */
555
/*      Handle isnan() and isinf().  Note that isinf() and isnan()      */
556
/*      are supposed to be macros according to C99, defined in math.h   */
557
/*      Some systems (i.e. Tru64) don't have isinf() at all, so if      */
558
/*      the macro is not defined we just assume nothing is infinite.    */
559
/*      This may mean we have no real CPLIsInf() on systems with isinf()*/
560
/*      function but no corresponding macro, but I can live with        */
561
/*      that since it isn't that important a test.                      */
562
/* -------------------------------------------------------------------- */
563
#ifdef _MSC_VER
564
#include <float.h>
565
#define CPLIsNan(x) _isnan(x)
566
#define CPLIsInf(x) (!_isnan(x) && !_finite(x))
567
#define CPLIsFinite(x) _finite(x)
568
#elif defined(__GNUC__) &&                                                     \
569
    (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4))
570
/* When including <cmath> in C++11 the isnan() macro is undefined, so that */
571
/* std::isnan() can work (#6489). This is a GCC specific workaround for now. */
572
#define CPLIsNan(x) __builtin_isnan(x)
573
#define CPLIsInf(x) __builtin_isinf(x)
574
#define CPLIsFinite(x) __builtin_isfinite(x)
575
#elif defined(isinf) || defined(__FreeBSD__)
576
/** Return whether a floating-pointer number is nan */
577
#define CPLIsNan(x) isnan(x)
578
/** Return whether a floating-pointer number is +/- infinity */
579
#define CPLIsInf(x) isinf(x)
580
/** Return whether a floating-pointer number is finite */
581
#define CPLIsFinite(x) (!isnan(x) && !isinf(x))
582
#elif defined(__sun__)
583
#include <ieeefp.h>
584
#define CPLIsNan(x) isnan(x)
585
#define CPLIsInf(x) (!finite(x) && !isnan(x))
586
#define CPLIsFinite(x) finite(x)
587
#else
588
#define CPLIsNan(x) ((x) != (x))
589
#define CPLIsInf(x) (0)
590
#define CPLIsFinite(x) (!isnan(x))
591
#endif
592
#endif
593
/*! @endcond */
594
595
/*! @cond Doxygen_Suppress */
596
/*---------------------------------------------------------------------
597
 *                         CPL_LSB and CPL_MSB
598
 * Only one of these 2 macros should be defined and specifies the byte
599
 * ordering for the current platform.
600
 * This should be defined in the Makefile, but if it is not then
601
 * the default is CPL_LSB (Intel ordering, LSB first).
602
 *--------------------------------------------------------------------*/
603
#if defined(WORDS_BIGENDIAN) && !defined(CPL_MSB) && !defined(CPL_LSB)
604
#define CPL_MSB
605
#endif
606
607
#if !(defined(CPL_LSB) || defined(CPL_MSB))
608
#define CPL_LSB
609
#endif
610
611
#if defined(CPL_LSB)
612
38.5k
#define CPL_IS_LSB (1 == 1)
613
#else
614
#define CPL_IS_LSB (0 == 1)
615
#endif
616
/*! @endcond */
617
618
#if defined(__cplusplus) && !defined(CPL_SUPRESS_CPLUSPLUS)
619
620
/*! @cond Doxygen_Suppress */
621
extern "C++"
622
{
623
624
    template <bool b> struct CPLStaticAssert
625
    {
626
    };
627
628
    template <> struct CPLStaticAssert<true>
629
    {
630
        static void my_function()
631
135M
        {
632
135M
        }
633
    };
634
635
} /* extern "C++" */
636
637
135M
#define CPL_STATIC_ASSERT(x) CPLStaticAssert<x>::my_function()
638
134M
#define CPL_STATIC_ASSERT_IF_AVAILABLE(x) CPL_STATIC_ASSERT(x)
639
640
#else /* __cplusplus */
641
642
#define CPL_STATIC_ASSERT_IF_AVAILABLE(x)
643
644
#endif /* __cplusplus */
645
/*! @endcond */
646
647
/*---------------------------------------------------------------------
648
 *        Little endian <==> big endian byte swap macros.
649
 *--------------------------------------------------------------------*/
650
651
/** Byte-swap a 16bit unsigned integer */
652
#define CPL_SWAP16(x)                                                          \
653
19.2M
    CPL_STATIC_CAST(GUInt16, (CPL_STATIC_CAST(GUInt16, x) << 8) |              \
654
19.2M
                                 (CPL_STATIC_CAST(GUInt16, x) >> 8))
655
656
#ifdef __GNUC__
657
/** Byte-swap a 32bit unsigned integer */
658
#define CPL_SWAP32(x)                                                          \
659
18.7M
    CPL_STATIC_CAST(GUInt32, __builtin_bswap32(CPL_STATIC_CAST(GUInt32, x)))
660
/** Byte-swap a 64bit unsigned integer */
661
#define CPL_SWAP64(x)                                                          \
662
9.72M
    CPL_STATIC_CAST(GUInt64, __builtin_bswap64(CPL_STATIC_CAST(GUInt64, x)))
663
#elif defined(_MSC_VER)
664
#define CPL_SWAP32(x)                                                          \
665
    CPL_STATIC_CAST(GUInt32, _byteswap_ulong(CPL_STATIC_CAST(GUInt32, x)))
666
#define CPL_SWAP64(x)                                                          \
667
    CPL_STATIC_CAST(GUInt64, _byteswap_uint64(CPL_STATIC_CAST(GUInt64, x)))
668
#else
669
/** Byte-swap a 32bit unsigned integer */
670
#define CPL_SWAP32(x)                                                          \
671
    CPL_STATIC_CAST(GUInt32,                                                   \
672
                    ((CPL_STATIC_CAST(GUInt32, x) & 0x000000ffU) << 24) |      \
673
                        ((CPL_STATIC_CAST(GUInt32, x) & 0x0000ff00U) << 8) |   \
674
                        ((CPL_STATIC_CAST(GUInt32, x) & 0x00ff0000U) >> 8) |   \
675
                        ((CPL_STATIC_CAST(GUInt32, x) & 0xff000000U) >> 24))
676
677
/** Byte-swap a 64bit unsigned integer */
678
#define CPL_SWAP64(x)                                                          \
679
    ((CPL_STATIC_CAST(GUInt64, CPL_SWAP32(CPL_STATIC_CAST(GUInt32, x)))        \
680
      << 32) |                                                                 \
681
     (CPL_STATIC_CAST(GUInt64,                                                 \
682
                      CPL_SWAP32(CPL_STATIC_CAST(                              \
683
                          GUInt32, CPL_STATIC_CAST(GUInt64, x) >> 32)))))
684
685
#endif
686
687
/** Byte-swap a 16 bit pointer */
688
#define CPL_SWAP16PTR(x)                                                       \
689
16.7M
    do                                                                         \
690
16.7M
    {                                                                          \
691
16.7M
        GUInt16 _n16;                                                          \
692
16.7M
        void *_lx = x;                                                         \
693
16.7M
        memcpy(&_n16, _lx, 2);                                                 \
694
16.7M
        CPL_STATIC_ASSERT_IF_AVAILABLE(sizeof(*(x)) == 1 ||                    \
695
16.7M
                                       sizeof(*(x)) == 2);                     \
696
16.7M
        _n16 = CPL_SWAP16(_n16);                                               \
697
16.7M
        memcpy(_lx, &_n16, 2);                                                 \
698
16.7M
    } while (0)
699
700
/** Byte-swap a 32 bit pointer */
701
#define CPL_SWAP32PTR(x)                                                       \
702
7.40M
    do                                                                         \
703
7.40M
    {                                                                          \
704
7.40M
        GUInt32 _n32;                                                          \
705
7.40M
        void *_lx = x;                                                         \
706
7.40M
        memcpy(&_n32, _lx, 4);                                                 \
707
7.40M
        CPL_STATIC_ASSERT_IF_AVAILABLE(sizeof(*(x)) == 1 ||                    \
708
7.40M
                                       sizeof(*(x)) == 4);                     \
709
7.40M
        _n32 = CPL_SWAP32(_n32);                                               \
710
7.40M
        memcpy(_lx, &_n32, 4);                                                 \
711
7.40M
    } while (0)
712
713
/** Byte-swap a 64 bit pointer */
714
#define CPL_SWAP64PTR(x)                                                       \
715
9.41M
    do                                                                         \
716
9.41M
    {                                                                          \
717
9.41M
        GUInt64 _n64;                                                          \
718
9.41M
        void *_lx = x;                                                         \
719
9.41M
        memcpy(&_n64, _lx, 8);                                                 \
720
9.41M
        CPL_STATIC_ASSERT_IF_AVAILABLE(sizeof(*(x)) == 1 ||                    \
721
9.41M
                                       sizeof(*(x)) == 8);                     \
722
9.41M
        _n64 = CPL_SWAP64(_n64);                                               \
723
9.41M
        memcpy(_lx, &_n64, 8);                                                 \
724
9.41M
    } while (0)
725
726
/** Byte-swap a 64 bit pointer */
727
8.90M
#define CPL_SWAPDOUBLE(p) CPL_SWAP64PTR(p)
728
729
#ifdef CPL_MSB
730
#define CPL_MSBWORD16(x) (x)
731
#define CPL_LSBWORD16(x) CPL_SWAP16(x)
732
#define CPL_MSBWORD32(x) (x)
733
#define CPL_LSBWORD32(x) CPL_SWAP32(x)
734
#define CPL_MSBPTR16(x)                                                        \
735
    CPL_STATIC_ASSERT_IF_AVAILABLE(sizeof(*(x)) == 1 || sizeof(*(x)) == 2)
736
#define CPL_LSBPTR16(x) CPL_SWAP16PTR(x)
737
#define CPL_MSBPTR32(x)                                                        \
738
    CPL_STATIC_ASSERT_IF_AVAILABLE(sizeof(*(x)) == 1 || sizeof(*(x)) == 4)
739
#define CPL_LSBPTR32(x) CPL_SWAP32PTR(x)
740
#define CPL_MSBPTR64(x)                                                        \
741
    CPL_STATIC_ASSERT_IF_AVAILABLE(sizeof(*(x)) == 1 || sizeof(*(x)) == 8)
742
#define CPL_LSBPTR64(x) CPL_SWAP64PTR(x)
743
#else
744
/** Return a 16bit word from a originally LSB ordered word */
745
410
#define CPL_LSBWORD16(x) (x)
746
/** Return a 16bit word from a originally MSB ordered word */
747
24
#define CPL_MSBWORD16(x) CPL_SWAP16(x)
748
/** Return a 32bit word from a originally LSB ordered word */
749
609k
#define CPL_LSBWORD32(x) (x)
750
/** Return a 32bit word from a originally MSB ordered word */
751
311k
#define CPL_MSBWORD32(x) CPL_SWAP32(x)
752
/** Byte-swap if necessary a 16bit word at the location pointed from a
753
 * originally LSB ordered pointer */
754
#define CPL_LSBPTR16(x)                                                        \
755
5.49M
    CPL_STATIC_ASSERT_IF_AVAILABLE(sizeof(*(x)) == 1 || sizeof(*(x)) == 2)
756
/** Byte-swap if necessary a 16bit word at the location pointed from a
757
 * originally MSB ordered pointer */
758
2.57M
#define CPL_MSBPTR16(x) CPL_SWAP16PTR(x)
759
/** Byte-swap if necessary a 32bit word at the location pointed from a
760
 * originally LSB ordered pointer */
761
#define CPL_LSBPTR32(x)                                                        \
762
82.9M
    CPL_STATIC_ASSERT_IF_AVAILABLE(sizeof(*(x)) == 1 || sizeof(*(x)) == 4)
763
/** Byte-swap if necessary a 32bit word at the location pointed from a
764
 * originally MSB ordered pointer */
765
1.45M
#define CPL_MSBPTR32(x) CPL_SWAP32PTR(x)
766
/** Byte-swap if necessary a 64bit word at the location pointed from a
767
 * originally LSB ordered pointer */
768
#define CPL_LSBPTR64(x)                                                        \
769
13.3M
    CPL_STATIC_ASSERT_IF_AVAILABLE(sizeof(*(x)) == 1 || sizeof(*(x)) == 8)
770
/** Byte-swap if necessary a 64bit word at the location pointed from a
771
 * originally MSB ordered pointer */
772
471k
#define CPL_MSBPTR64(x) CPL_SWAP64PTR(x)
773
#endif
774
775
/** Return a Int16 from the 2 bytes ordered in LSB order at address x.
776
 * @deprecated Use rather CPL_LSBSINT16PTR or CPL_LSBUINT16PTR for explicit
777
 * signedness. */
778
#define CPL_LSBINT16PTR(x)                                                     \
779
    ((*CPL_REINTERPRET_CAST(const GByte *, x)) |                               \
780
     (*((CPL_REINTERPRET_CAST(const GByte *, x)) + 1) << 8))
781
782
/** Return a Int32 from the 4 bytes ordered in LSB order at address x.
783
 * @deprecated Use rather CPL_LSBSINT32PTR or CPL_LSBUINT32PTR for explicit
784
 * signedness. */
785
#define CPL_LSBINT32PTR(x)                                                     \
786
    ((*CPL_REINTERPRET_CAST(const GByte *, x)) |                               \
787
     (*((CPL_REINTERPRET_CAST(const GByte *, x)) + 1) << 8) |                  \
788
     (*((CPL_REINTERPRET_CAST(const GByte *, x)) + 2) << 16) |                 \
789
     (*((CPL_REINTERPRET_CAST(const GByte *, x)) + 3) << 24))
790
791
/** Return a signed Int16 from the 2 bytes ordered in LSB order at address x */
792
7.09M
#define CPL_LSBSINT16PTR(x) CPL_STATIC_CAST(GInt16, CPL_LSBINT16PTR(x))
793
794
/** Return a unsigned Int16 from the 2 bytes ordered in LSB order at address x
795
 */
796
148k
#define CPL_LSBUINT16PTR(x) CPL_STATIC_CAST(GUInt16, CPL_LSBINT16PTR(x))
797
798
#if defined(__cplusplus) && !defined(CPL_SUPRESS_CPLUSPLUS)
799
extern "C++"
800
{
801
#include <cstdint>
802
803
    /** Return a signed Int32 from the 4 bytes ordered in LSB order at address x */
804
    template <class T> inline int32_t CPL_LSBSINT32PTR(const T *x)
805
630k
    {
806
630k
        static_assert(sizeof(T) == 1 || sizeof(T) == sizeof(int32_t),
807
630k
                      "sizeof(T) == 1 || sizeof(T) == sizeof(int32_t)");
808
630k
#if CPL_IS_LSB
809
630k
        {
810
630k
            int32_t signed_val;
811
630k
            memcpy(&signed_val, x, sizeof(int32_t));
812
630k
            return signed_val;
813
630k
        }
814
#else
815
        {
816
            uint32_t unsigned_val;
817
            memcpy(&unsigned_val, x, sizeof(int32_t));
818
            unsigned_val = CPL_SWAP32(unsigned_val);
819
            int32_t signed_val;
820
            memcpy(&signed_val, &unsigned_val, sizeof(int32_t));
821
            return signed_val;
822
        }
823
#endif
824
630k
    }
int CPL_LSBSINT32PTR<unsigned char>(unsigned char const*)
Line
Count
Source
805
217k
    {
806
217k
        static_assert(sizeof(T) == 1 || sizeof(T) == sizeof(int32_t),
807
217k
                      "sizeof(T) == 1 || sizeof(T) == sizeof(int32_t)");
808
217k
#if CPL_IS_LSB
809
217k
        {
810
217k
            int32_t signed_val;
811
217k
            memcpy(&signed_val, x, sizeof(int32_t));
812
217k
            return signed_val;
813
217k
        }
814
#else
815
        {
816
            uint32_t unsigned_val;
817
            memcpy(&unsigned_val, x, sizeof(int32_t));
818
            unsigned_val = CPL_SWAP32(unsigned_val);
819
            int32_t signed_val;
820
            memcpy(&signed_val, &unsigned_val, sizeof(int32_t));
821
            return signed_val;
822
        }
823
#endif
824
217k
    }
int CPL_LSBSINT32PTR<signed char>(signed char const*)
Line
Count
Source
805
407k
    {
806
407k
        static_assert(sizeof(T) == 1 || sizeof(T) == sizeof(int32_t),
807
407k
                      "sizeof(T) == 1 || sizeof(T) == sizeof(int32_t)");
808
407k
#if CPL_IS_LSB
809
407k
        {
810
407k
            int32_t signed_val;
811
407k
            memcpy(&signed_val, x, sizeof(int32_t));
812
407k
            return signed_val;
813
407k
        }
814
#else
815
        {
816
            uint32_t unsigned_val;
817
            memcpy(&unsigned_val, x, sizeof(int32_t));
818
            unsigned_val = CPL_SWAP32(unsigned_val);
819
            int32_t signed_val;
820
            memcpy(&signed_val, &unsigned_val, sizeof(int32_t));
821
            return signed_val;
822
        }
823
#endif
824
407k
    }
int CPL_LSBSINT32PTR<char>(char const*)
Line
Count
Source
805
5.07k
    {
806
5.07k
        static_assert(sizeof(T) == 1 || sizeof(T) == sizeof(int32_t),
807
5.07k
                      "sizeof(T) == 1 || sizeof(T) == sizeof(int32_t)");
808
5.07k
#if CPL_IS_LSB
809
5.07k
        {
810
5.07k
            int32_t signed_val;
811
5.07k
            memcpy(&signed_val, x, sizeof(int32_t));
812
5.07k
            return signed_val;
813
5.07k
        }
814
#else
815
        {
816
            uint32_t unsigned_val;
817
            memcpy(&unsigned_val, x, sizeof(int32_t));
818
            unsigned_val = CPL_SWAP32(unsigned_val);
819
            int32_t signed_val;
820
            memcpy(&signed_val, &unsigned_val, sizeof(int32_t));
821
            return signed_val;
822
        }
823
#endif
824
5.07k
    }
825
}
826
#else
827
/** Return a signed Int32 from the 4 bytes ordered in LSB order at address x */
828
#define CPL_LSBSINT32PTR(x) CPL_STATIC_CAST(GInt32, CPL_LSBINT32PTR(x))
829
#endif
830
831
/** Return a unsigned Int32 from the 4 bytes ordered in LSB order at address x
832
 */
833
8.06k
#define CPL_LSBUINT32PTR(x) CPL_STATIC_CAST(GUInt32, CPL_LSBINT32PTR(x))
834
835
#if defined(__cplusplus) && !defined(CPL_SUPRESS_CPLUSPLUS)
836
837
extern "C++"
838
{
839
#include <cstddef>
840
#include <cstdint>
841
842
    /*! @cond Doxygen_Suppress */
843
    // workaround before CWG2518/P2593R1
844
    template <class T> struct CPL_T_IsAlwaysFalse
845
    {
846
        static const bool value = false;
847
    };
848
849
    /*! @endcond */
850
851
    /** Return the provided value as a LSB ordered one.
852
     *
853
     * Only available for primitive types: [u]int[8|16|32|64], float and double.
854
     */
855
    template <class T> T CPL_AS_LSB(T)
856
    {
857
        // See https://youtu.be/b6j6SZiXmoo?t=1659 for rationale for CPL_T_IsAlwaysFalse
858
        static_assert(CPL_T_IsAlwaysFalse<T>::value, "Unsupported value for T");
859
    }
860
861
    /*! @cond Doxygen_Suppress */
862
    template <> inline int8_t CPL_AS_LSB<int8_t>(int8_t x)
863
0
    {
864
0
        return x;
865
0
    }
866
867
    template <> inline uint8_t CPL_AS_LSB<uint8_t>(uint8_t x)
868
0
    {
869
0
        return x;
870
0
    }
871
872
    template <> inline int16_t CPL_AS_LSB<int16_t>(int16_t x)
873
0
    {
874
0
        CPL_LSBPTR16(&x);
875
0
        return x;
876
0
    }
877
878
    template <> inline uint16_t CPL_AS_LSB<uint16_t>(uint16_t x)
879
1.87k
    {
880
1.87k
        CPL_LSBPTR16(&x);
881
1.87k
        return x;
882
1.87k
    }
883
884
    template <> inline int32_t CPL_AS_LSB<int32_t>(int32_t x)
885
0
    {
886
0
        CPL_LSBPTR32(&x);
887
0
        return x;
888
0
    }
889
890
    template <> inline uint32_t CPL_AS_LSB<uint32_t>(uint32_t x)
891
1.00k
    {
892
1.00k
        CPL_LSBPTR32(&x);
893
1.00k
        return x;
894
1.00k
    }
895
896
    template <> inline int64_t CPL_AS_LSB<int64_t>(int64_t x)
897
0
    {
898
0
        CPL_LSBPTR64(&x);
899
0
        return x;
900
0
    }
901
902
    template <> inline uint64_t CPL_AS_LSB<uint64_t>(uint64_t x)
903
3.58k
    {
904
3.58k
        CPL_LSBPTR64(&x);
905
3.58k
        return x;
906
3.58k
    }
907
908
    template <> inline float CPL_AS_LSB<float>(float x)
909
0
    {
910
0
        CPL_LSBPTR32(&x);
911
0
        return x;
912
0
    }
913
914
    template <> inline double CPL_AS_LSB<double>(double x)
915
0
    {
916
0
        CPL_LSBPTR64(&x);
917
0
        return x;
918
0
    }
919
920
    /*! @endcond */
921
922
    /** Return a primitive type from a memory buffer containing its LSB
923
     * ordered byte sequence
924
     *
925
     * Only available for primitive types: [u]int[8|16|32|64], float and double.
926
     */
927
    template <class T> inline T CPL_FROM_LSB(const void *ptr)
928
1.87k
    {
929
1.87k
        T x;
930
1.87k
        memcpy(&x, ptr, sizeof(x));
931
1.87k
        return CPL_AS_LSB(x);
932
1.87k
    }
933
934
    /** Return the byte swapped version of the provided value.
935
     *
936
     * Only available for primitive types: [u]int[8|16|32|64], float and double.
937
     */
938
    template <class T> T CPL_SWAP(T)
939
    {
940
        // See https://youtu.be/b6j6SZiXmoo?t=1659 for rationale for CPL_T_IsAlwaysFalse
941
        static_assert(CPL_T_IsAlwaysFalse<T>::value, "Unsupported value for T");
942
    }
943
944
    /*! @cond Doxygen_Suppress */
945
    template <> inline int8_t CPL_SWAP<int8_t>(int8_t x)
946
0
    {
947
0
        return x;
948
0
    }
949
950
    template <> inline uint8_t CPL_SWAP<uint8_t>(uint8_t x)
951
0
    {
952
0
        return x;
953
0
    }
954
955
    template <> inline uint16_t CPL_SWAP<uint16_t>(uint16_t x)
956
0
    {
957
0
        return CPL_SWAP16(x);
958
0
    }
959
960
    template <> inline int16_t CPL_SWAP<int16_t>(int16_t x)
961
0
    {
962
0
        uint16_t ux = CPL_SWAP16(x);
963
0
        memcpy(&x, &ux, sizeof(x));
964
0
        return x;
965
0
    }
966
967
    template <> inline uint32_t CPL_SWAP<uint32_t>(uint32_t x)
968
0
    {
969
0
        return CPL_SWAP32(x);
970
0
    }
971
972
    template <> inline int32_t CPL_SWAP<int32_t>(int32_t x)
973
0
    {
974
0
        uint32_t ux = CPL_SWAP32(x);
975
0
        memcpy(&x, &ux, sizeof(x));
976
0
        return x;
977
0
    }
978
979
    template <> inline uint64_t CPL_SWAP<uint64_t>(uint64_t x)
980
0
    {
981
0
        return CPL_SWAP64(x);
982
0
    }
983
984
    template <> inline int64_t CPL_SWAP<int64_t>(int64_t x)
985
0
    {
986
0
        uint64_t ux = CPL_SWAP64(x);
987
0
        memcpy(&x, &ux, sizeof(x));
988
0
        return x;
989
0
    }
990
991
    template <> inline float CPL_SWAP<float>(float x)
992
0
    {
993
0
        float ret = x;
994
0
        CPL_SWAP32PTR(&ret);
995
0
        return ret;
996
0
    }
997
998
    template <> inline double CPL_SWAP<double>(double x)
999
0
    {
1000
0
        double ret = x;
1001
0
        CPL_SWAP64PTR(&ret);
1002
0
        return ret;
1003
0
    }
1004
1005
    /*! @endcond */
1006
}
1007
#endif  // defined(__cplusplus) && defined(GDAL_COMPILATION)
1008
1009
/*! @cond Doxygen_Suppress */
1010
/* Utility macro to explicitly mark intentionally unreferenced parameters. */
1011
#ifndef UNREFERENCED_PARAM
1012
#ifdef UNREFERENCED_PARAMETER /* May be defined by Windows API */
1013
#define UNREFERENCED_PARAM(param) UNREFERENCED_PARAMETER(param)
1014
#else
1015
#define UNREFERENCED_PARAM(param) ((void)param)
1016
#endif /* UNREFERENCED_PARAMETER */
1017
#endif /* UNREFERENCED_PARAM */
1018
/*! @endcond */
1019
1020
/* We exclude mingw64 4.6 which seems to be broken regarding this */
1021
#if defined(__GNUC__) && __GNUC__ >= 4 && !defined(DOXYGEN_SKIP) &&            \
1022
    !(defined(__MINGW64__) && __GNUC__ == 4 && __GNUC_MINOR__ == 6)
1023
/** Null terminated variadic */
1024
#define CPL_NULL_TERMINATED __attribute__((__sentinel__))
1025
#else
1026
/** Null terminated variadic */
1027
#define CPL_NULL_TERMINATED
1028
#endif
1029
1030
#if defined(__GNUC__) && __GNUC__ >= 3 && !defined(DOXYGEN_SKIP)
1031
/** Tag a function to have printf() formatting */
1032
#define CPL_PRINT_FUNC_FORMAT(format_idx, arg_idx)                             \
1033
    __attribute__((__format__(__printf__, format_idx, arg_idx)))
1034
/** Tag a function to have scanf() formatting */
1035
#define CPL_SCAN_FUNC_FORMAT(format_idx, arg_idx)                              \
1036
    __attribute__((__format__(__scanf__, format_idx, arg_idx)))
1037
#else
1038
/** Tag a function to have printf() formatting */
1039
#define CPL_PRINT_FUNC_FORMAT(format_idx, arg_idx)
1040
/** Tag a function to have scanf() formatting */
1041
#define CPL_SCAN_FUNC_FORMAT(format_idx, arg_idx)
1042
#endif
1043
1044
#if defined(_MSC_VER) &&                                                       \
1045
    (defined(GDAL_COMPILATION) || defined(CPL_ENABLE_MSVC_ANNOTATIONS))
1046
#include <sal.h>
1047
/** Macro into which to wrap the format argument of a printf-like function.
1048
 * Only used if ANALYZE=1 is specified to nmake */
1049
#define CPL_FORMAT_STRING(arg) _Printf_format_string_ arg
1050
/** Macro into which to wrap the format argument of a sscanf-like function.
1051
 * Only used if ANALYZE=1 is specified to nmake */
1052
#define CPL_SCANF_FORMAT_STRING(arg) _Scanf_format_string_ arg
1053
#else
1054
/** Macro into which to wrap the format argument of a printf-like function */
1055
#define CPL_FORMAT_STRING(arg) arg
1056
/** Macro into which to wrap the format argument of a sscanf-like function. */
1057
#define CPL_SCANF_FORMAT_STRING(arg) arg
1058
#endif /* defined(_MSC_VER) && defined(GDAL_COMPILATION) */
1059
1060
#if defined(__GNUC__) && __GNUC__ >= 4 && !defined(DOXYGEN_SKIP)
1061
/** Qualifier to warn when the return value of a function is not used */
1062
#define CPL_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
1063
#else
1064
/** Qualifier to warn when the return value of a function is not used */
1065
#define CPL_WARN_UNUSED_RESULT
1066
#endif
1067
1068
#if defined(__GNUC__) && __GNUC__ >= 4
1069
/** Qualifier for an argument that is unused */
1070
#define CPL_UNUSED __attribute((__unused__))
1071
#else
1072
/* TODO: add cases for other compilers */
1073
/** Qualifier for an argument that is unused */
1074
#define CPL_UNUSED
1075
#endif
1076
1077
#if defined(__GNUC__) && __GNUC__ >= 3 && !defined(DOXYGEN_SKIP)
1078
/** Qualifier for a function that does not return at all (terminates the
1079
 * process) */
1080
#define CPL_NO_RETURN __attribute__((noreturn))
1081
#else
1082
/** Qualifier for a function that does not return at all (terminates the
1083
 * process) */
1084
#define CPL_NO_RETURN
1085
#endif
1086
1087
/*! @cond Doxygen_Suppress */
1088
/* Clang __has_attribute */
1089
#ifndef __has_attribute
1090
#define __has_attribute(x) 0  // Compatibility with non-clang compilers.
1091
#endif
1092
1093
/*! @endcond */
1094
1095
#if ((defined(__GNUC__) &&                                                     \
1096
      (__GNUC__ >= 5 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 9))) ||            \
1097
     __has_attribute(returns_nonnull)) &&                                      \
1098
    !defined(DOXYGEN_SKIP) && !defined(__INTEL_COMPILER)
1099
/** Qualifier for a function that does not return NULL */
1100
#define CPL_RETURNS_NONNULL __attribute__((returns_nonnull))
1101
#else
1102
/** Qualifier for a function that does not return NULL */
1103
#define CPL_RETURNS_NONNULL
1104
#endif
1105
1106
#if defined(__GNUC__) && __GNUC__ >= 4 && !defined(DOXYGEN_SKIP)
1107
/** restrict keyword to declare that pointers do not alias */
1108
#define CPL_RESTRICT __restrict__
1109
#else
1110
/** restrict keyword to declare that pointers do not alias */
1111
#define CPL_RESTRICT
1112
#endif
1113
1114
#if defined(__cplusplus) && !defined(CPL_SUPRESS_CPLUSPLUS)
1115
1116
/** To be used in public headers only. For non-public headers or .cpp files,
1117
 * use override directly. */
1118
#define CPL_OVERRIDE override
1119
1120
/** C++11 final qualifier */
1121
#define CPL_FINAL final
1122
1123
/** Mark that a class is explicitly recognized as non-final */
1124
#define CPL_NON_FINAL
1125
1126
/** Helper to remove the copy and assignment constructors so that the compiler
1127
   will not generate the default versions.
1128
1129
   Must be placed in the private section of a class and should be at the end.
1130
*/
1131
#define CPL_DISALLOW_COPY_ASSIGN(ClassName)                                    \
1132
    ClassName(const ClassName &) = delete;                                     \
1133
    ClassName &operator=(const ClassName &) = delete;
1134
1135
#endif /* __cplusplus */
1136
1137
#ifdef CPL_DISABLE_WARN_DEPRECATED
1138
#define CPL_WARN_DEPRECATED(x)
1139
#elif !defined(DOXYGEN_SKIP) && !defined(CPL_WARN_DEPRECATED)
1140
#if defined(__has_extension)
1141
#if __has_extension(attribute_deprecated_with_message)
1142
/* Clang extension */
1143
#define CPL_WARN_DEPRECATED(x) __attribute__((deprecated(x)))
1144
#else
1145
#define CPL_WARN_DEPRECATED(x)
1146
#endif
1147
#elif defined(__GNUC__)
1148
#define CPL_WARN_DEPRECATED(x) __attribute__((deprecated))
1149
#else
1150
#define CPL_WARN_DEPRECATED(x)
1151
#endif
1152
#endif
1153
1154
#if !defined(_MSC_VER) && !defined(__APPLE__) && !defined(_FORTIFY_SOURCE)
1155
CPL_C_START
1156
#if defined(GDAL_COMPILATION) && defined(WARN_STANDARD_PRINTF)
1157
int vsnprintf(char *str, size_t size, const char *fmt, va_list args)
1158
    CPL_WARN_DEPRECATED("Use CPLvsnprintf() instead");
1159
int snprintf(char *str, size_t size, const char *fmt, ...)
1160
    CPL_PRINT_FUNC_FORMAT(3, 4)
1161
        CPL_WARN_DEPRECATED("Use CPLsnprintf() instead");
1162
int sprintf(char *str, const char *fmt, ...) CPL_PRINT_FUNC_FORMAT(2, 3)
1163
    CPL_WARN_DEPRECATED("Use CPLsnprintf() instead");
1164
#elif defined(GDAL_COMPILATION) && !defined(DONT_DEPRECATE_SPRINTF)
1165
int sprintf(char *str, const char *fmt, ...) CPL_PRINT_FUNC_FORMAT(2, 3)
1166
    CPL_WARN_DEPRECATED("Use snprintf() or CPLsnprintf() instead");
1167
#endif /* defined(GDAL_COMPILATION) && defined(WARN_STANDARD_PRINTF) */
1168
CPL_C_END
1169
#endif /* !defined(_MSC_VER) && !defined(__APPLE__) */
1170
1171
#if defined(__cplusplus)
1172
#ifndef CPPCHECK
1173
/** Returns the size of C style arrays. */
1174
#define CPL_ARRAYSIZE(array)                                                   \
1175
1.34M
    ((sizeof(array) / sizeof(*(array))) /                                      \
1176
1.34M
     static_cast<size_t>(!(sizeof(array) % sizeof(*(array)))))
1177
#else
1178
/* simplified version for cppcheck */
1179
#define CPL_ARRAYSIZE(array) (sizeof(array) / sizeof(array[0]))
1180
#endif
1181
1182
extern "C++"
1183
{
1184
    template <class T> inline static void CPL_IGNORE_RET_VAL(const T &)
1185
300M
    {
1186
300M
    }
Unexecuted instantiation: cpl_error.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
cpl_string.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
51.3k
    {
1186
51.3k
    }
Unexecuted instantiation: cplstringlist.cpp:void CPL_IGNORE_RET_VAL<CPLStringList>(CPLStringList const&)
Unexecuted instantiation: cpl_vsil.cpp:void CPL_IGNORE_RET_VAL<char const* const*>(char const* const* const&)
cpl_vsil.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
3.16M
    {
1186
3.16M
    }
cpl_vsi_mem.cpp:void CPL_IGNORE_RET_VAL<std::__1::shared_ptr<VSIMemFile> >(std::__1::shared_ptr<VSIMemFile> const&)
Line
Count
Source
1185
81.2k
    {
1186
81.2k
    }
cpl_vsil_sparsefile.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
882
    {
1186
882
    }
cpl_vsil_tar.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
10.3M
    {
1186
10.3M
    }
cpl_vsil_curl.cpp:void CPL_IGNORE_RET_VAL<CURLcode>(CURLcode const&)
Line
Count
Source
1185
1.15M
    {
1186
1.15M
    }
cpl_vsil_curl.cpp:void CPL_IGNORE_RET_VAL<double>(double const&)
Line
Count
Source
1185
65.5k
    {
1186
65.5k
    }
cpl_vsil_curl.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
Line
Count
Source
1185
2.36k
    {
1186
2.36k
    }
cpl_vsil_curl_streaming.cpp:void CPL_IGNORE_RET_VAL<CURLcode>(CURLcode const&)
Line
Count
Source
1185
55.1k
    {
1186
55.1k
    }
cpl_vsil_curl_streaming.cpp:void CPL_IGNORE_RET_VAL<double>(double const&)
Line
Count
Source
1185
612
    {
1186
612
    }
Unexecuted instantiation: cpl_aws.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
Unexecuted instantiation: cpl_google_cloud.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
cpl_json.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
Line
Count
Source
1185
332
    {
1186
332
    }
Unexecuted instantiation: cpl_vsil_adls.cpp:void CPL_IGNORE_RET_VAL<CURLcode>(CURLcode const&)
Unexecuted instantiation: cpl_vsil_az.cpp:void CPL_IGNORE_RET_VAL<CURLcode>(CURLcode const&)
Unexecuted instantiation: cpl_vsil_az.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
Unexecuted instantiation: cpl_vsil_gs.cpp:void CPL_IGNORE_RET_VAL<CURLcode>(CURLcode const&)
cpl_vsil_webhdfs.cpp:void CPL_IGNORE_RET_VAL<CURLcode>(CURLcode const&)
Line
Count
Source
1185
11.6k
    {
1186
11.6k
    }
Unexecuted instantiation: cpl_vsil_s3.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
cpl_vsil_s3.cpp:void CPL_IGNORE_RET_VAL<CURLcode>(CURLcode const&)
Line
Count
Source
1185
5.89k
    {
1186
5.89k
    }
Unexecuted instantiation: cpl_vsil_swift.cpp:void CPL_IGNORE_RET_VAL<CURLcode>(CURLcode const&)
cpl_vsil_gzip.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
913k
    {
1186
913k
    }
cpl_vsil_gzip.cpp:void CPL_IGNORE_RET_VAL<unsigned long>(unsigned long const&)
Line
Count
Source
1185
16.9k
    {
1186
16.9k
    }
cpl_vsil_gzip.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
Line
Count
Source
1185
1.49M
    {
1186
1.49M
    }
cpl_vsil_gzip.cpp:void CPL_IGNORE_RET_VAL<char const*>(char const* const&)
Line
Count
Source
1185
135k
    {
1186
135k
    }
cpl_minizip_unzip.cpp:void CPL_IGNORE_RET_VAL<long>(long const&)
Line
Count
Source
1185
22.7k
    {
1186
22.7k
    }
Unexecuted instantiation: ogrfeaturestyle.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
ogrlibjsonutils.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
2.65M
    {
1186
2.65M
    }
ogrgeojsonseqdriver.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
Line
Count
Source
1185
6.24M
    {
1186
6.24M
    }
Unexecuted instantiation: ogrgmldatasource.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
ogropenfilegdblayer_write.cpp:void CPL_IGNORE_RET_VAL<char const*>(char const* const&)
Line
Count
Source
1185
3.57M
    {
1186
3.57M
    }
Unexecuted instantiation: filegdbtable_write.cpp:void CPL_IGNORE_RET_VAL<unsigned long>(unsigned long const&)
ogrvdvdatasource.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
249k
    {
1186
249k
    }
Unexecuted instantiation: ogrflatgeobuflayer.cpp:void CPL_IGNORE_RET_VAL<unsigned long>(unsigned long const&)
Unexecuted instantiation: ogradbcdataset.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
Unexecuted instantiation: ogradbcdataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: ogradbcbigquerylayer.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
Unexecuted instantiation: ogrgmlaswriter.cpp:void CPL_IGNORE_RET_VAL<CPLString>(CPLString const&)
Unexecuted instantiation: ogrgmlaswriter.cpp:void CPL_IGNORE_RET_VAL<std::__1::vector<std::__1::pair<CPLString, CPLString>, std::__1::allocator<std::__1::pair<CPLString, CPLString> > > >(std::__1::vector<std::__1::pair<CPLString, CPLString>, std::__1::allocator<std::__1::pair<CPLString, CPLString> > > const&)
ogrgmlasconf.cpp:void CPL_IGNORE_RET_VAL<CPLXMLTreeCloser>(CPLXMLTreeCloser const&)
Line
Count
Source
1185
1.31k
    {
1186
1.31k
    }
Unexecuted instantiation: ogrcswdataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
ogrnasdriver.cpp:void CPL_IGNORE_RET_VAL<char const*>(char const* const&)
Line
Count
Source
1185
12.6k
    {
1186
12.6k
    }
Unexecuted instantiation: ogroapifdriver.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
Unexecuted instantiation: ogroapifdriver.cpp:void CPL_IGNORE_RET_VAL<CPLXMLTreeCloser>(CPLXMLTreeCloser const&)
Unexecuted instantiation: ogrgeopackagedriver.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
ogrgeopackagetablelayer.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
363
    {
1186
363
    }
ogrgeopackagetablelayer.cpp:void CPL_IGNORE_RET_VAL<char const*>(char const* const&)
Line
Count
Source
1185
1.89M
    {
1186
1.89M
    }
Unexecuted instantiation: ogrgeopackagetablelayer.cpp:void CPL_IGNORE_RET_VAL<char*>(char* const&)
Unexecuted instantiation: ogrgeopackagetablelayer.cpp:void CPL_IGNORE_RET_VAL<std::__1::unique_ptr<OGRGeoPackageTableLayer::Truncate()::ReenableTriggers, std::__1::default_delete<OGRGeoPackageTableLayer::Truncate()::ReenableTriggers> > >(std::__1::unique_ptr<OGRGeoPackageTableLayer::Truncate()::ReenableTriggers, std::__1::default_delete<OGRGeoPackageTableLayer::Truncate()::ReenableTriggers> > const&)
Unexecuted instantiation: gdalgeopackagerasterband.cpp:void CPL_IGNORE_RET_VAL<char const*>(char const* const&)
Unexecuted instantiation: gdalgeopackagerasterband.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: ogrpmtilesdataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: ogrpmtilesfrommbtiles.cpp:void CPL_IGNORE_RET_VAL<unsigned long>(unsigned long const&)
Unexecuted instantiation: ogrpmtilesfromtileset.cpp:void CPL_IGNORE_RET_VAL<unsigned long>(unsigned long const&)
Unexecuted instantiation: ogrgtfsdriver.cpp:void CPL_IGNORE_RET_VAL<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)
Unexecuted instantiation: ogrlayer.cpp:void CPL_IGNORE_RET_VAL<OGRFeature*>(OGRFeature* const&)
Unexecuted instantiation: ogrlayerarrow.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
Unexecuted instantiation: ogrlayerarrow.cpp:void CPL_IGNORE_RET_VAL<unsigned long>(unsigned long const&)
Unexecuted instantiation: ogrlayerpool.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: ogreditablelayer.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
gdal_misc.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
169k
    {
1186
169k
    }
Unexecuted instantiation: gdal_misc.cpp:void CPL_IGNORE_RET_VAL<unsigned long>(unsigned long const&)
gdalalgorithm.cpp:void CPL_IGNORE_RET_VAL<GDALAlgorithmArg*>(GDALAlgorithmArg* const&)
Line
Count
Source
1185
539
    {
1186
539
    }
Unexecuted instantiation: gdalalgorithm.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
gdalopeninfo.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
761k
    {
1186
761k
    }
Unexecuted instantiation: gdaldriver.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
gdaldriver.cpp:void CPL_IGNORE_RET_VAL<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)
Line
Count
Source
1185
242
    {
1186
242
    }
gdaldrivermanager.cpp:void CPL_IGNORE_RET_VAL<char const*>(char const* const&)
Line
Count
Source
1185
48
    {
1186
48
    }
Unexecuted instantiation: gdaldataset.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
Unexecuted instantiation: gdaldataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: gdaldataset.cpp:void CPL_IGNORE_RET_VAL<GDALDataset::RawBinaryLayout>(GDALDataset::RawBinaryLayout const&)
Unexecuted instantiation: gdalrasterband.cpp:void CPL_IGNORE_RET_VAL<GDALRIOResampleAlg>(GDALRIOResampleAlg const&)
Unexecuted instantiation: gdalrasterband.cpp:void CPL_IGNORE_RET_VAL<int (*)(double, char const*, void*)>(int (* const&)(double, char const*, void*))
Unexecuted instantiation: gdalrasterband.cpp:void CPL_IGNORE_RET_VAL<void*>(void* const&)
gdalrasterband.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
960
    {
1186
960
    }
gdalrasterband.cpp:void CPL_IGNORE_RET_VAL<signed char>(signed char const&)
Line
Count
Source
1185
49.1k
    {
1186
49.1k
    }
Unexecuted instantiation: gdalrasterband.cpp:void CPL_IGNORE_RET_VAL<unsigned char>(unsigned char const&)
gdalrasterband.cpp:void CPL_IGNORE_RET_VAL<short>(short const&)
Line
Count
Source
1185
896
    {
1186
896
    }
Unexecuted instantiation: gdalrasterband.cpp:void CPL_IGNORE_RET_VAL<unsigned short>(unsigned short const&)
gdalrasterband.cpp:void CPL_IGNORE_RET_VAL<unsigned int>(unsigned int const&)
Line
Count
Source
1185
2.97k
    {
1186
2.97k
    }
gdalrasterband.cpp:void CPL_IGNORE_RET_VAL<cpl::Float16>(cpl::Float16 const&)
Line
Count
Source
1185
286k
    {
1186
286k
    }
gdalrasterband.cpp:void CPL_IGNORE_RET_VAL<float>(float const&)
Line
Count
Source
1185
90.6k
    {
1186
90.6k
    }
gdalrasterband.cpp:void CPL_IGNORE_RET_VAL<double>(double const&)
Line
Count
Source
1185
3.27M
    {
1186
3.27M
    }
gdalrasterband.cpp:void CPL_IGNORE_RET_VAL<long>(long const&)
Line
Count
Source
1185
1.34k
    {
1186
1.34k
    }
gdalrasterband.cpp:void CPL_IGNORE_RET_VAL<unsigned long>(unsigned long const&)
Line
Count
Source
1185
2.25k
    {
1186
2.25k
    }
gdaldefaultoverviews.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
23
    {
1186
23
    }
gdaldefaultoverviews.cpp:void CPL_IGNORE_RET_VAL<GDALDefaultOverviews::HaveMaskFile(char**, char const*)::InHaveMaskFileSetter>(GDALDefaultOverviews::HaveMaskFile(char**, char const*)::InHaveMaskFileSetter const&)
Line
Count
Source
1185
951k
    {
1186
951k
    }
gdalpamdataset.cpp:void CPL_IGNORE_RET_VAL<CPLErr>(CPLErr const&)
Line
Count
Source
1185
868k
    {
1186
868k
    }
Unexecuted instantiation: gdalpamproxydb.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: gdalvirtualmem.cpp:void CPL_IGNORE_RET_VAL<CPLErr>(CPLErr const&)
Unexecuted instantiation: gdalthreadsafedataset.cpp:void CPL_IGNORE_RET_VAL<lru11::Cache<GDALThreadSafeDataset const*, std::__1::shared_ptr<GDALDataset>, lru11::NullLock, std::__1::unordered_map<GDALThreadSafeDataset const*, std::__1::__list_iterator<lru11::KeyValuePair<GDALThreadSafeDataset const*, std::__1::shared_ptr<GDALDataset> >, void*>, std::__1::hash<GDALThreadSafeDataset const*>, std::__1::equal_to<GDALThreadSafeDataset const*>, std::__1::allocator<std::__1::pair<GDALThreadSafeDataset const* const, std::__1::__list_iterator<lru11::KeyValuePair<GDALThreadSafeDataset const*, std::__1::shared_ptr<GDALDataset> >, void*> > > > >*>(lru11::Cache<GDALThreadSafeDataset const*, std::__1::shared_ptr<GDALDataset>, lru11::NullLock, std::__1::unordered_map<GDALThreadSafeDataset const*, std::__1::__list_iterator<lru11::KeyValuePair<GDALThreadSafeDataset const*, std::__1::shared_ptr<GDALDataset> >, void*>, std::__1::hash<GDALThreadSafeDataset const*>, std::__1::equal_to<GDALThreadSafeDataset const*>, std::__1::allocator<std::__1::pair<GDALThreadSafeDataset const* const, std::__1::__list_iterator<lru11::KeyValuePair<GDALThreadSafeDataset const*, std::__1::shared_ptr<GDALDataset> >, void*> > > > >* const&)
Unexecuted instantiation: gdalthreadsafedataset.cpp:void CPL_IGNORE_RET_VAL<char const* const*>(char const* const* const&)
Unexecuted instantiation: overview.cpp:void CPL_IGNORE_RET_VAL<char const* const*>(char const* const* const&)
Unexecuted instantiation: rasterio.cpp:void CPL_IGNORE_RET_VAL<CPLErr>(CPLErr const&)
rasterio.cpp:void CPL_IGNORE_RET_VAL<int (*)(double, char const*, void*)>(int (* const&)(double, char const*, void*))
Line
Count
Source
1185
1.08k
    {
1186
1.08k
    }
Unexecuted instantiation: gdalpythondriverloader.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
Unexecuted instantiation: gdalmultidim_array_bridge_classic.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
Unexecuted instantiation: gdalmultidim_array_resampled.cpp:void CPL_IGNORE_RET_VAL<CPLErr>(CPLErr const&)
Unexecuted instantiation: gdalmultidim_pam.cpp:void CPL_IGNORE_RET_VAL<CPLErrorAccumulator::Context>(CPLErrorAccumulator::Context const&)
gdal_translate_lib.cpp:void CPL_IGNORE_RET_VAL<double>(double const&)
Line
Count
Source
1185
95.9k
    {
1186
95.9k
    }
Unexecuted instantiation: gdalalg_mdim_mosaic.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
Unexecuted instantiation: gdalalg_raster_calc.cpp:void CPL_IGNORE_RET_VAL<char const*>(char const* const&)
Unexecuted instantiation: gdalalg_raster_compare.cpp:void CPL_IGNORE_RET_VAL<double>(double const&)
Unexecuted instantiation: gdalalg_raster_index.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: gdalalg_raster_pixel_info.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: gdalalg_raster_tile.cpp:void CPL_IGNORE_RET_VAL<std::__1::unique_ptr<CPLConfigOptionSetter, std::__1::default_delete<CPLConfigOptionSetter> > >(std::__1::unique_ptr<CPLConfigOptionSetter, std::__1::default_delete<CPLConfigOptionSetter> > const&)
Unexecuted instantiation: gdalalg_raster_tile.cpp:void CPL_IGNORE_RET_VAL<GDALRIOResampleAlg>(GDALRIOResampleAlg const&)
Unexecuted instantiation: gdalalg_raster_tile.cpp:void CPL_IGNORE_RET_VAL<CPLErr>(CPLErr const&)
Unexecuted instantiation: gdalalg_raster_tile.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: gdalalg_raster_tile.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
Unexecuted instantiation: gdalalg_raster_tile.cpp:void CPL_IGNORE_RET_VAL<CPLStringList>(CPLStringList const&)
Unexecuted instantiation: gdalalg_raster_tile.cpp:void CPL_IGNORE_RET_VAL<OGRSpatialReference const*>(OGRSpatialReference const* const&)
Unexecuted instantiation: gdalalg_vector_combine.cpp:void CPL_IGNORE_RET_VAL<OGRGeometry*>(OGRGeometry* const&)
Unexecuted instantiation: gdalalg_vector_edit.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: gdalalg_vector_filter.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: gdalalg_vector_index.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: gdalalg_vector_partition.cpp:void CPL_IGNORE_RET_VAL<unsigned char*>(unsigned char* const&)
Unexecuted instantiation: gdalalg_vector_partition.cpp:void CPL_IGNORE_RET_VAL<int const*>(int const* const&)
Unexecuted instantiation: gdalalg_vector_partition.cpp:void CPL_IGNORE_RET_VAL<long long const*>(long long const* const&)
Unexecuted instantiation: gdalalg_vector_partition.cpp:void CPL_IGNORE_RET_VAL<double const*>(double const* const&)
Unexecuted instantiation: gdalalg_vector_partition.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: cpl_azure.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
Unexecuted instantiation: cpl_minixml.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
cpl_http.cpp:void CPL_IGNORE_RET_VAL<CURLcode>(CURLcode const&)
Line
Count
Source
1185
2.85M
    {
1186
2.85M
    }
Unexecuted instantiation: cpl_spawn.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: cpl_google_oauth2.cpp:void CPL_IGNORE_RET_VAL<char const* const*>(char const* const* const&)
Unexecuted instantiation: cpl_virtualmem.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: cpl_sha256.cpp:void CPL_IGNORE_RET_VAL<char const*>(char const* const&)
Unexecuted instantiation: cpl_sha256.cpp:void CPL_IGNORE_RET_VAL<void const*>(void const* const&)
Unexecuted instantiation: cpl_sha256.cpp:void CPL_IGNORE_RET_VAL<unsigned int>(unsigned int const&)
cpl_cpu_features.cpp:void CPL_IGNORE_RET_VAL<unsigned int>(unsigned int const&)
Line
Count
Source
1185
92
    {
1186
92
    }
Unexecuted instantiation: cpl_vsil_chunked_write_handle.cpp:void CPL_IGNORE_RET_VAL<CURLcode>(CURLcode const&)
Unexecuted instantiation: cpl_vsil_chunked_write_handle.cpp:void CPL_IGNORE_RET_VAL<CURLMcode>(CURLMcode const&)
Unexecuted instantiation: cpl_compressor.cpp:void CPL_IGNORE_RET_VAL<unsigned long>(unsigned long const&)
Unexecuted instantiation: contour.cpp:void CPL_IGNORE_RET_VAL<CPLErrorAccumulator::Context>(CPLErrorAccumulator::Context const&)
gdalwarpkernel.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
Line
Count
Source
1185
211M
    {
1186
211M
    }
Unexecuted instantiation: gdalwarpoperation.cpp:void CPL_IGNORE_RET_VAL<CPLErrorAccumulator::Context>(CPLErrorAccumulator::Context const&)
Unexecuted instantiation: ogrlinestring.cpp:void CPL_IGNORE_RET_VAL<OGRPoint const*>(OGRPoint const* const&)
ogrspatialreference.cpp:void CPL_IGNORE_RET_VAL<OGRSpatialReference::Private::OptionalLockGuard>(OGRSpatialReference::Private::OptionalLockGuard const&)
Line
Count
Source
1185
12.5M
    {
1186
12.5M
    }
ogrspatialreference.cpp:void CPL_IGNORE_RET_VAL<CPLErrorAccumulator::Context>(CPLErrorAccumulator::Context const&)
Line
Count
Source
1185
142k
    {
1186
142k
    }
Unexecuted instantiation: ogrspatialreference.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
ogrspatialreference.cpp:void CPL_IGNORE_RET_VAL<char const* const*>(char const* const* const&)
Line
Count
Source
1185
83.1k
    {
1186
83.1k
    }
ogr2gmlgeometry.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
Line
Count
Source
1185
3.17M
    {
1186
3.17M
    }
Unexecuted instantiation: gml2ogrgeometry.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: ogr_wkb.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
ogrgeojsongeometry.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
3
    {
1186
3
    }
ddfmodule.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
53.1k
    {
1186
53.1k
    }
Unexecuted instantiation: ddffielddefn.cpp:void CPL_IGNORE_RET_VAL<char const*>(char const* const&)
Unexecuted instantiation: cogdriver.cpp:void CPL_IGNORE_RET_VAL<std::__1::unique_ptr<CPLConfigOptionSetter, std::__1::default_delete<CPLConfigOptionSetter> > >(std::__1::unique_ptr<CPLConfigOptionSetter, std::__1::default_delete<CPLConfigOptionSetter> > const&)
Unexecuted instantiation: cogdriver.cpp:void CPL_IGNORE_RET_VAL<CPLString>(CPLString const&)
gtiffdataset_write.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
287k
    {
1186
287k
    }
gtiffjpegoverviewds.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
803
    {
1186
803
    }
gtiffrasterband.cpp:void CPL_IGNORE_RET_VAL<std::__1::unique_ptr<GTiffDataset::JPEGOverviewVisibilitySetter, std::__1::default_delete<GTiffDataset::JPEGOverviewVisibilitySetter> > >(std::__1::unique_ptr<GTiffDataset::JPEGOverviewVisibilitySetter, std::__1::default_delete<GTiffDataset::JPEGOverviewVisibilitySetter> > const&)
Line
Count
Source
1185
1.89M
    {
1186
1.89M
    }
Unexecuted instantiation: gtiffrasterband_write.cpp:void CPL_IGNORE_RET_VAL<double>(double const&)
Unexecuted instantiation: gtiffrasterband_write.cpp:void CPL_IGNORE_RET_VAL<long>(long const&)
Unexecuted instantiation: gtiffrasterband_write.cpp:void CPL_IGNORE_RET_VAL<unsigned long>(unsigned long const&)
geotiff.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
287k
    {
1186
287k
    }
Unexecuted instantiation: gt_jpeg_copy.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: gt_jpeg_copy.cpp:void CPL_IGNORE_RET_VAL<bool volatile>(bool volatile const&)
Unexecuted instantiation: gt_overview.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
gt_wkt_srs.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
753
    {
1186
753
    }
tifvsi.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
1.67M
    {
1186
1.67M
    }
Unexecuted instantiation: vrtderivedrasterband.cpp:void CPL_IGNORE_RET_VAL<CPLErr>(CPLErr const&)
Unexecuted instantiation: vrtsourcedrasterband.cpp:void CPL_IGNORE_RET_VAL<CPLErrorAccumulator::Context>(CPLErrorAccumulator::Context const&)
vrtsourcedrasterband.cpp:void CPL_IGNORE_RET_VAL<double>(double const&)
Line
Count
Source
1185
4.63k
    {
1186
4.63k
    }
Unexecuted instantiation: vrtwarped.cpp:void CPL_IGNORE_RET_VAL<double>(double const&)
vrtdataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
14.0k
    {
1186
14.0k
    }
Unexecuted instantiation: vrtdataset.cpp:void CPL_IGNORE_RET_VAL<CPLErrorAccumulator::Context>(CPLErrorAccumulator::Context const&)
vrtdataset.cpp:void CPL_IGNORE_RET_VAL<std::__1::unique_ptr<std::__1::lock_guard<std::__1::mutex>, std::__1::default_delete<std::__1::lock_guard<std::__1::mutex> > > >(std::__1::unique_ptr<std::__1::lock_guard<std::__1::mutex>, std::__1::default_delete<std::__1::lock_guard<std::__1::mutex> > > const&)
Line
Count
Source
1185
43.8k
    {
1186
43.8k
    }
Unexecuted instantiation: vrtprocesseddataset.cpp:void CPL_IGNORE_RET_VAL<CPLErr>(CPLErr const&)
Unexecuted instantiation: gdaltileindexdataset.cpp:void CPL_IGNORE_RET_VAL<CPLErrorAccumulator::Context>(CPLErrorAccumulator::Context const&)
Unexecuted instantiation: gdaltileindexdataset.cpp:void CPL_IGNORE_RET_VAL<OGRSpatialReference const*>(OGRSpatialReference const* const&)
Unexecuted instantiation: gdaltileindexdataset.cpp:void CPL_IGNORE_RET_VAL<CPLErr>(CPLErr const&)
Unexecuted instantiation: gdaltileindexdataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: gdaltileindexdataset.cpp:void CPL_IGNORE_RET_VAL<GDALRIOResampleAlg>(GDALRIOResampleAlg const&)
Unexecuted instantiation: ogrgeojsondatasource.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
ogrgeojsonlayer.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
5.13k
    {
1186
5.13k
    }
Unexecuted instantiation: mitab_indfile.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: ogrshapedatasource.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
Unexecuted instantiation: ogrshapelayer.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
gmlfeatureclass.cpp:void CPL_IGNORE_RET_VAL<char const*>(char const* const&)
Line
Count
Source
1185
3
    {
1186
3
    }
Unexecuted instantiation: ogrcsvdatasource.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: ogrs101featurecatalog.cpp:void CPL_IGNORE_RET_VAL<std::__1::unique_ptr<OGRS101FeatureCatalog, std::__1::default_delete<OGRS101FeatureCatalog> > >(std::__1::unique_ptr<OGRS101FeatureCatalog, std::__1::default_delete<OGRS101FeatureCatalog> > const&)
ogrs101readercompositecurve.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
Line
Count
Source
1185
130
    {
1186
130
    }
ogrs101readerdatasetgeneralinformationrecord.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
Line
Count
Source
1185
41.5k
    {
1186
41.5k
    }
ogrs101readermultipoint.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
Line
Count
Source
1185
13
    {
1186
13
    }
ogrs101readerpoint.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
Line
Count
Source
1185
37
    {
1186
37
    }
ogrs101readersurface.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
Line
Count
Source
1185
174
    {
1186
174
    }
filegdbindex_write.cpp:void CPL_IGNORE_RET_VAL<unsigned long>(unsigned long const&)
Line
Count
Source
1185
6.27k
    {
1186
6.27k
    }
filegdbtable.cpp:void CPL_IGNORE_RET_VAL<unsigned int>(unsigned int const&)
Line
Count
Source
1185
1.44M
    {
1186
1.44M
    }
Unexecuted instantiation: filegdbtable_write_fields.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
filegdbtable_write_fields.cpp:void CPL_IGNORE_RET_VAL<unsigned long>(unsigned long const&)
Line
Count
Source
1185
1.30k
    {
1186
1.30k
    }
Unexecuted instantiation: filegdbtable_freelist.cpp:void CPL_IGNORE_RET_VAL<unsigned long>(unsigned long const&)
Unexecuted instantiation: ogropenfilegdbdatasource.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
ogropenfilegdbdatasource_write.cpp:void CPL_IGNORE_RET_VAL<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)
Line
Count
Source
1185
740
    {
1186
740
    }
Unexecuted instantiation: ogropenfilegdbdatasource_write.cpp:void CPL_IGNORE_RET_VAL<char const*>(char const* const&)
Unexecuted instantiation: ogropenfilegdblayer.cpp:void CPL_IGNORE_RET_VAL<OpenFileGDB::FileGDBSQLOp>(OpenFileGDB::FileGDBSQLOp const&)
Unexecuted instantiation: ogrjsonfgwritelayer.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
ogrgmlasdatasource.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
36.8k
    {
1186
36.8k
    }
Unexecuted instantiation: ogrgmlaslayer.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: ogrgmlaslayer.cpp:void CPL_IGNORE_RET_VAL<CPLString>(CPLString const&)
Unexecuted instantiation: ogrgmlasreader.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: ogrgmlasschemaanalyzer.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
Unexecuted instantiation: ogrgmlasschemaanalyzer.cpp:void CPL_IGNORE_RET_VAL<OGRwkbGeometryType>(OGRwkbGeometryType const&)
Unexecuted instantiation: ogrplscenesdatav1dataset.cpp:void CPL_IGNORE_RET_VAL<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)
Unexecuted instantiation: ogrwfsdatasource.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: ogrwfslayer.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: ogrelasticdatasource.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: ogrelasticlayer.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: ogrsqlitedatasource.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
ogrsqlitedatasource.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
7.80k
    {
1186
7.80k
    }
ogrsqlitelayer.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
22.5k
    {
1186
22.5k
    }
Unexecuted instantiation: ogrsqlitetablelayer.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
ogrsqlitevirtualogr.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
Line
Count
Source
1185
8.24k
    {
1186
8.24k
    }
Unexecuted instantiation: ogrsqliteutility.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
ogrgeopackagedatasource.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
204
    {
1186
204
    }
ogrgeopackagelayer.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
Line
Count
Source
1185
179
    {
1186
179
    }
Unexecuted instantiation: ogrgeopackagelayer.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: ogrgeopackageselectlayer.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
ogrosmdatasource.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
12
    {
1186
12
    }
vfkreadersqlite.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
11.7k
    {
1186
11.7k
    }
Unexecuted instantiation: ogrcartodatasource.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: ogrcartotablelayer.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
ogrxlsxdatasource.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
1.37M
    {
1186
1.37M
    }
ogrodsdatasource.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
22.2M
    {
1186
22.2M
    }
Unexecuted instantiation: gdalcomputedrasterband.cpp:void CPL_IGNORE_RET_VAL<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)
gdal_mdreader.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
912
    {
1186
912
    }
rawdataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
22.9k
    {
1186
22.9k
    }
Unexecuted instantiation: gdalmultidim_array_gltorthorectification.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
Unexecuted instantiation: gdalmultidim_array_gridded.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: gdal_grid_lib.cpp:void CPL_IGNORE_RET_VAL<char const*>(char const* const&)
Unexecuted instantiation: gdal_rasterize_lib.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: gdal_rasterize_lib.cpp:void CPL_IGNORE_RET_VAL<OGRMultiPolygon*>(OGRMultiPolygon* const&)
Unexecuted instantiation: ogrinfo_lib.cpp:void CPL_IGNORE_RET_VAL<char const*>(char const* const&)
Unexecuted instantiation: ogrinfo_lib.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
ogr2ogr_lib.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
274k
    {
1186
274k
    }
Unexecuted instantiation: gdaldem_lib.cpp:void CPL_IGNORE_RET_VAL<CPLStringList>(CPLStringList const&)
Unexecuted instantiation: nearblack_lib_floodfill.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: gdal_footprint_lib.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: gdaltindex_lib.cpp:void CPL_IGNORE_RET_VAL<std::__1::unique_ptr<CPLTurnFailureIntoWarningBackuper, std::__1::default_delete<CPLTurnFailureIntoWarningBackuper> > >(std::__1::unique_ptr<CPLTurnFailureIntoWarningBackuper, std::__1::default_delete<CPLTurnFailureIntoWarningBackuper> > const&)
Unexecuted instantiation: gdaltindex_lib.cpp:void CPL_IGNORE_RET_VAL<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)
Unexecuted instantiation: gdalalg_abstract_pipeline.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
Unexecuted instantiation: gdalalg_clip_common.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: gdalapplyverticalshiftgrid.cpp:void CPL_IGNORE_RET_VAL<CPLErr>(CPLErr const&)
Unexecuted instantiation: gdalgrid.cpp:void CPL_IGNORE_RET_VAL<unsigned int>(unsigned int const&)
Unexecuted instantiation: gdalgrid.cpp:void CPL_IGNORE_RET_VAL<char const*>(char const* const&)
Unexecuted instantiation: gdalpansharpen.cpp:void CPL_IGNORE_RET_VAL<CPLErr>(CPLErr const&)
Unexecuted instantiation: ogr_geocoding.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: gnmgenericnetwork.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: gnmresultlayer.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
gtiffdataset.cpp:void CPL_IGNORE_RET_VAL<std::__1::unique_ptr<GTiffDataset::JPEGOverviewVisibilitySetter, std::__1::default_delete<GTiffDataset::JPEGOverviewVisibilitySetter> > >(std::__1::unique_ptr<GTiffDataset::JPEGOverviewVisibilitySetter, std::__1::default_delete<GTiffDataset::JPEGOverviewVisibilitySetter> > const&)
Line
Count
Source
1185
31.5k
    {
1186
31.5k
    }
Unexecuted instantiation: gtiffdataset.cpp:void CPL_IGNORE_RET_VAL<std::__1::unique_ptr<GTiffDataset::IRasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, int, int*, long long, long long, long long, GDALRasterIOExtraArg*)::ReleaseCachedRanges, std::__1::default_delete<GTiffDataset::IRasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, int, int*, long long, long long, long long, GDALRasterIOExtraArg*)::ReleaseCachedRanges> > >(std::__1::unique_ptr<GTiffDataset::IRasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, int, int*, long long, long long, long long, GDALRasterIOExtraArg*)::ReleaseCachedRanges, std::__1::default_delete<GTiffDataset::IRasterIO(GDALRWFlag, int, int, int, int, void*, int, int, GDALDataType, int, int*, long long, long long, long long, GDALRasterIOExtraArg*)::ReleaseCachedRanges> > const&)
gtiffdataset.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
Line
Count
Source
1185
131k
    {
1186
131k
    }
Unexecuted instantiation: gtiffdataset_read.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: gtiffdataset_read.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
gtiffdataset_read.cpp:void CPL_IGNORE_RET_VAL<CPLErrorAccumulator::Context>(CPLErrorAccumulator::Context const&)
Line
Count
Source
1185
184k
    {
1186
184k
    }
gt_citation.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
3.71k
    {
1186
3.71k
    }
Unexecuted instantiation: vrtprocesseddatasetfunctions.cpp:void CPL_IGNORE_RET_VAL<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)
Unexecuted instantiation: vrtprocesseddatasetfunctions.cpp:void CPL_IGNORE_RET_VAL<GDALDataType>(GDALDataType const&)
Unexecuted instantiation: vrtprocesseddatasetfunctions.cpp:void CPL_IGNORE_RET_VAL<unsigned long>(unsigned long const&)
Unexecuted instantiation: vrtprocesseddatasetfunctions.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: vrtprocesseddatasetfunctions.cpp:void CPL_IGNORE_RET_VAL<CPLErr>(CPLErr const&)
Unexecuted instantiation: vrtprocesseddatasetfunctions.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
Unexecuted instantiation: vrtprocesseddatasetfunctions.cpp:void CPL_IGNORE_RET_VAL<GDALRIOResampleAlg>(GDALRIOResampleAlg const&)
Unexecuted instantiation: hfadataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: hfadataset.cpp:void CPL_IGNORE_RET_VAL<unsigned long>(unsigned long const&)
hfaopen.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
23.9k
    {
1186
23.9k
    }
Unexecuted instantiation: hfatype.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: nitfdataset.cpp:void CPL_IGNORE_RET_VAL<char const*>(char const* const&)
Unexecuted instantiation: nitfdataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
nitfdataset.cpp:void CPL_IGNORE_RET_VAL<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)
Line
Count
Source
1185
1.07k
    {
1186
1.07k
    }
Unexecuted instantiation: nitfdataset.cpp:void CPL_IGNORE_RET_VAL<char*>(char* const&)
rpftocdataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
18
    {
1186
18
    }
nitffile.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
329
    {
1186
329
    }
Unexecuted instantiation: nitfaridpcm.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: nitfaridpcm.cpp:void CPL_IGNORE_RET_VAL<unsigned char>(unsigned char const&)
Unexecuted instantiation: rpfframewriter.cpp:void CPL_IGNORE_RET_VAL<CPLErr>(CPLErr const&)
Unexecuted instantiation: rpfframewriter.cpp:void CPL_IGNORE_RET_VAL<unsigned long>(unsigned long const&)
Unexecuted instantiation: rpfframewriter.cpp:void CPL_IGNORE_RET_VAL<GDALColorTable>(GDALColorTable const&)
Unexecuted instantiation: rpfframewriter.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: nitfdrivercore.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
nitfbilevel.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
14
    {
1186
14
    }
gxfdataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
6.95k
    {
1186
6.95k
    }
Unexecuted instantiation: aaigriddataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: aaigriddataset.cpp:void CPL_IGNORE_RET_VAL<unsigned long>(unsigned long const&)
sar_ceosdataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
170
    {
1186
170
    }
Unexecuted instantiation: sar_ceosdataset.cpp:void CPL_IGNORE_RET_VAL<unsigned long>(unsigned long const&)
jdemdataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
2
    {
1186
2
    }
Unexecuted instantiation: envisatdataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
l1bdataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
49.9k
    {
1186
49.9k
    }
l1bdataset.cpp:void CPL_IGNORE_RET_VAL<unsigned long>(unsigned long const&)
Line
Count
Source
1185
45.6k
    {
1186
45.6k
    }
Unexecuted instantiation: l1bdataset.cpp:void CPL_IGNORE_RET_VAL<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)
Unexecuted instantiation: ilwisdataset.cpp:void CPL_IGNORE_RET_VAL<char const*>(char const* const&)
ilwisdataset.cpp:void CPL_IGNORE_RET_VAL<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)
Line
Count
Source
1185
107
    {
1186
107
    }
pds4dataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
695
    {
1186
695
    }
pds4vector.cpp:void CPL_IGNORE_RET_VAL<CPLXMLNode*>(CPLXMLNode* const&)
Line
Count
Source
1185
3.26k
    {
1186
3.26k
    }
Unexecuted instantiation: vicardataset.cpp:void CPL_IGNORE_RET_VAL<char const*>(char const* const&)
vicardataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
28
    {
1186
28
    }
msgndataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
7
    {
1186
7
    }
Unexecuted instantiation: grddataset.cpp:void CPL_IGNORE_RET_VAL<CPLErr>(CPLErr const&)
Unexecuted instantiation: kmlsuperoverlaydataset.cpp:void CPL_IGNORE_RET_VAL<CPLErr>(CPLErr const&)
Unexecuted instantiation: kmlsuperoverlaydataset.cpp:void CPL_IGNORE_RET_VAL<CPLString>(CPLString const&)
sentinel2dataset.cpp:void CPL_IGNORE_RET_VAL<CPLString>(CPLString const&)
Line
Count
Source
1185
62
    {
1186
62
    }
Unexecuted instantiation: sentinel2dataset.cpp:void CPL_IGNORE_RET_VAL<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)
wmtsdataset.cpp:void CPL_IGNORE_RET_VAL<CPLString>(CPLString const&)
Line
Count
Source
1185
46
    {
1186
46
    }
metaname.cpp:void CPL_IGNORE_RET_VAL<char const*>(char const* const&)
Line
Count
Source
1185
10.7k
    {
1186
10.7k
    }
usgsdemdataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
18.1k
    {
1186
18.1k
    }
usgsdemdataset.cpp:void CPL_IGNORE_RET_VAL<unsigned long>(unsigned long const&)
Line
Count
Source
1185
8.69k
    {
1186
8.69k
    }
Unexecuted instantiation: cpcidskvectorsegment_consistencycheck.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
Unexecuted instantiation: sigdemdataset.cpp:void CPL_IGNORE_RET_VAL<unsigned long>(unsigned long const&)
Unexecuted instantiation: sigdemdataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: pdfdataset.cpp:void CPL_IGNORE_RET_VAL<char const*>(char const* const&)
pdfreadvectors.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
48.7k
    {
1186
48.7k
    }
Unexecuted instantiation: pdfcreatefromcomposition.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
Unexecuted instantiation: rcmdataset.cpp:void CPL_IGNORE_RET_VAL<CPLString>(CPLString const&)
Unexecuted instantiation: pngdataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: wcsdataset110.cpp:void CPL_IGNORE_RET_VAL<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)
Unexecuted instantiation: wcsutils.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
httpdriver.cpp:void CPL_IGNORE_RET_VAL<CPLErrorAccumulator::Context>(CPLErrorAccumulator::Context const&)
Line
Count
Source
1185
72
    {
1186
72
    }
netcdfdataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
75.5k
    {
1186
75.5k
    }
netcdfdataset.cpp:void CPL_IGNORE_RET_VAL<NetCDFFormatEnum>(NetCDFFormatEnum const&)
Line
Count
Source
1185
23.0k
    {
1186
23.0k
    }
netcdflayer.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
17.6k
    {
1186
17.6k
    }
Unexecuted instantiation: netcdfsg.cpp:void CPL_IGNORE_RET_VAL<CPLErr>(CPLErr const&)
Unexecuted instantiation: netcdfmultidim.cpp:void CPL_IGNORE_RET_VAL<char const*>(char const* const&)
Unexecuted instantiation: zarrdriver.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
zarrdriver.cpp:void CPL_IGNORE_RET_VAL<std::__1::shared_ptr<GDALDimension> >(std::__1::shared_ptr<GDALDimension> const&)
Line
Count
Source
1185
82
    {
1186
82
    }
Unexecuted instantiation: vsikerchunk_json_ref.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
Unexecuted instantiation: icechunkrepo.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: daasdataset.cpp:void CPL_IGNORE_RET_VAL<CPLJSONObject>(CPLJSONObject const&)
Unexecuted instantiation: daasdataset.cpp:void CPL_IGNORE_RET_VAL<unsigned int>(unsigned int const&)
Unexecuted instantiation: eedaidataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: eedaidataset.cpp:void CPL_IGNORE_RET_VAL<unsigned int>(unsigned int const&)
Unexecuted instantiation: plmosaicdataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: webpdataset.cpp:void CPL_IGNORE_RET_VAL<CPLErr>(CPLErr const&)
mbtilesdataset.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
Line
Count
Source
1185
1.06k
    {
1186
1.06k
    }
mitab_mapfile.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
3
    {
1186
3
    }
mitab_datfile.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
3.50k
    {
1186
3.50k
    }
Unexecuted instantiation: shape2ogr.cpp:void CPL_IGNORE_RET_VAL<DBFFieldType>(DBFFieldType const&)
Unexecuted instantiation: filegdbindex.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
ogrjsonfgmemlayer.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
4
    {
1186
4
    }
ods_formula_node.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
69.1k
    {
1186
69.1k
    }
ods_formula_node.cpp:void CPL_IGNORE_RET_VAL<double>(double const&)
Line
Count
Source
1185
82.1k
    {
1186
82.1k
    }
gdalexif.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
454
    {
1186
454
    }
gdalexif.cpp:void CPL_IGNORE_RET_VAL<unsigned long>(unsigned long const&)
Line
Count
Source
1185
454
    {
1186
454
    }
ogr_srs_pci.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
594
    {
1186
594
    }
Unexecuted instantiation: btdataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
doq2dataset.cpp:void CPL_IGNORE_RET_VAL<char const*>(char const* const&)
Line
Count
Source
1185
706
    {
1186
706
    }
Unexecuted instantiation: ehdrdataset.cpp:void CPL_IGNORE_RET_VAL<unsigned long>(unsigned long const&)
ehdrdataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
125k
    {
1186
125k
    }
eirdataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
79
    {
1186
79
    }
Unexecuted instantiation: envidataset.cpp:void CPL_IGNORE_RET_VAL<double>(double const&)
envidataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
22.4k
    {
1186
22.4k
    }
fastdataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
22.9k
    {
1186
22.9k
    }
genbindataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
179k
    {
1186
179k
    }
gtxdataset.cpp:void CPL_IGNORE_RET_VAL<unsigned long>(unsigned long const&)
Line
Count
Source
1185
354
    {
1186
354
    }
gtxdataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
47
    {
1186
47
    }
krodataset.cpp:void CPL_IGNORE_RET_VAL<unsigned long>(unsigned long const&)
Line
Count
Source
1185
7
    {
1186
7
    }
Unexecuted instantiation: krodataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: iscedataset.cpp:void CPL_IGNORE_RET_VAL<unsigned long>(unsigned long const&)
Unexecuted instantiation: iscedataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: landataset.cpp:void CPL_IGNORE_RET_VAL<unsigned long>(unsigned long const&)
Unexecuted instantiation: landataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: lcpdataset.cpp:void CPL_IGNORE_RET_VAL<unsigned long>(unsigned long const&)
Unexecuted instantiation: lcpdataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
loslasdataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
143
    {
1186
143
    }
loslasdataset.cpp:void CPL_IGNORE_RET_VAL<unsigned long>(unsigned long const&)
Line
Count
Source
1185
334
    {
1186
334
    }
Unexecuted instantiation: mffdataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
ndfdataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
89
    {
1186
89
    }
pauxdataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
19.0k
    {
1186
19.0k
    }
roipacdataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
174
    {
1186
174
    }
Unexecuted instantiation: roipacdataset.cpp:void CPL_IGNORE_RET_VAL<unsigned long>(unsigned long const&)
snodasdataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
147
    {
1186
147
    }
nsidcbindataset.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
4
    {
1186
4
    }
nsidcbindataset.cpp:void CPL_IGNORE_RET_VAL<char [6]>(char const (&) [6])
Line
Count
Source
1185
60
    {
1186
60
    }
hfaband.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
20
    {
1186
20
    }
Unexecuted instantiation: hfadictionary.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: hfafield.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
msg_reader_core.cpp:void CPL_IGNORE_RET_VAL<unsigned long>(unsigned long const&)
Line
Count
Source
1185
28
    {
1186
28
    }
msg_reader_core.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
28
    {
1186
28
    }
Unexecuted instantiation: zarr_array.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
zarr_array.cpp:void CPL_IGNORE_RET_VAL<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)
Line
Count
Source
1185
8.43k
    {
1186
8.43k
    }
Unexecuted instantiation: zarr_array.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
zarr_group.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
Line
Count
Source
1185
11.3k
    {
1186
11.3k
    }
gdalhttp.cpp:void CPL_IGNORE_RET_VAL<CURLcode>(CURLcode const&)
Line
Count
Source
1185
7.64k
    {
1186
7.64k
    }
miramon_band.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
4.01k
    {
1186
4.01k
    }
miramon_band.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
Line
Count
Source
1185
53
    {
1186
53
    }
Unexecuted instantiation: ogr_srs_usgs.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
zarr_v2_array.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
Line
Count
Source
1185
2.45k
    {
1186
2.45k
    }
zarr_v3_codec_sequence.cpp:void CPL_IGNORE_RET_VAL<ZarrV3CodecSequence*>(ZarrV3CodecSequence* const&)
Line
Count
Source
1185
166
    {
1186
166
    }
gdaljp2structure.cpp:void CPL_IGNORE_RET_VAL<bool>(bool const&)
Line
Count
Source
1185
842k
    {
1186
842k
    }
gdaljp2structure.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Line
Count
Source
1185
114k
    {
1186
114k
    }
Unexecuted instantiation: gdaljp2metadata.cpp:void CPL_IGNORE_RET_VAL<int>(int const&)
Unexecuted instantiation: gdaljp2metadata.cpp:void CPL_IGNORE_RET_VAL<unsigned long>(unsigned long const&)
1187
1188
    inline static bool CPL_TO_BOOL(bool x) = delete;
1189
1190
    inline static bool CPL_TO_BOOL(int x)
1191
1.05G
    {
1192
1.05G
        return x != 0;
1193
1.05G
    }
Unexecuted instantiation: ogr_fuzzer.cpp:CPL_TO_BOOL(int)
cpl_conv.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
320
    {
1192
320
        return x != 0;
1193
320
    }
cpl_error.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
5.28M
    {
1192
5.28M
        return x != 0;
1193
5.28M
    }
cpl_string.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
10.7k
    {
1192
10.7k
        return x != 0;
1193
10.7k
    }
cplstringlist.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
119M
    {
1192
119M
        return x != 0;
1193
119M
    }
Unexecuted instantiation: cpl_strtod.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_path.cpp:CPL_TO_BOOL(int)
cpl_multiproc.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
859M
    {
1192
859M
        return x != 0;
1193
859M
    }
Unexecuted instantiation: cplstring.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_vsisimple.cpp:CPL_TO_BOOL(int)
cpl_vsil.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
14.9M
    {
1192
14.9M
        return x != 0;
1193
14.9M
    }
cpl_vsi_mem.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
889k
    {
1192
889k
        return x != 0;
1193
889k
    }
Unexecuted instantiation: cpl_recode.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_recode_stub.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_atomic_ops.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_vsil_subfile.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_vsil_stdout.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_vsil_sparsefile.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_vsil_tar.cpp:CPL_TO_BOOL(int)
cpl_vsil_stdin.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
7.86k
    {
1192
7.86k
        return x != 0;
1193
7.86k
    }
Unexecuted instantiation: cpl_vsil_curl.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_vsil_curl_streaming.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_vsil_cache.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_progress.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_vsil_crypt.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_aws.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_vsi_error.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_google_cloud.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_json.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_vsil_hdfs.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_swift.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_vsil_adls.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_vsil_az.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_vsil_gs.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_vsil_webhdfs.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_vsil_s3.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_vsil_oss.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_vsil_swift.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_vsil_unix_stdio_64.cpp:CPL_TO_BOOL(int)
cpl_vsil_gzip.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
28.6k
    {
1192
28.6k
        return x != 0;
1193
28.6k
    }
Unexecuted instantiation: cpl_minizip_unzip.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_minizip_zip.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_recode_iconv.cpp:CPL_TO_BOOL(int)
ogrfeature.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
3.84M
    {
1192
3.84M
        return x != 0;
1193
3.84M
    }
Unexecuted instantiation: ogrfeaturedefn.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrfeaturestyle.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrfielddefn.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrgeomfielddefn.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrlibjsonutils.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrregisterall.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrgeojsondriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrgeojsonseqdriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogresrijsondriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrtopojsondriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: mitab_ogr_driver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: mitab_ogr_datasource.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrshapedriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrkmldriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrkmldatasource.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrkmllayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: kml.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: kmlnode.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: kmlvector.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrvrtdriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogravcbindriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogravce00driver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrgmldriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrgmldatasource.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrcsvdriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrdgndriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrdgndatasource.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrgmtdriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrntfdriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrs57driver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrs57datasource.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrs57layer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: s57classregistrar.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: s57reader.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: s57featuredefns.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: s57writer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrs101driver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrs101drivercore.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrtigerdriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrgeorssdriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrdxfdriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrpgdumpdriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrpgdumpdatasource.cpp:CPL_TO_BOOL(int)
ogrpgdumplayer.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
35.2k
    {
1192
35.2k
        return x != 0;
1193
35.2k
    }
Unexecuted instantiation: ogrgpsbabeldriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrgpsbabelwritedatasource.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogredigeodriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrsxfdriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogropenfilegdbdriver.cpp:CPL_TO_BOOL(int)
ogropenfilegdblayer_write.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
235k
    {
1192
235k
        return x != 0;
1193
235k
    }
Unexecuted instantiation: ogropenfilegdbdrivercore.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: filegdbtable_write.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrwaspdriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrselafindriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrjmldataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrjmllayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrjmlwriterlayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrvdvdatasource.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrflatgeobufdataset.cpp:CPL_TO_BOOL(int)
ogrflatgeobuflayer.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
33.7k
    {
1192
33.7k
        return x != 0;
1193
33.7k
    }
Unexecuted instantiation: packedrtree.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: geometryreader.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: geometrywriter.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrflatgeobufeditablelayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrmapmldataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogradbcdriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogradbcdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogradbclayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogradbcbigquerylayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogradbcdrivercore.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrmiramondriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ograivectordriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrjsonfgdriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrgpxdriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrgmlasdriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrgmlaswriter.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrgmlasconf.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrgmlasfeatureclass.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrgmlasdrivercore.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrcswdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrnasdriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrplscenesdriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrplscenesdrivercore.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrwfsdriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogroapifdriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrngwdriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ngw_api.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalngwdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrngwfielddomain.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrelasticdriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrelasticdrivercore.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogridrisidriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrpdsdriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrsqlitedriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrgeopackagedriver.cpp:CPL_TO_BOOL(int)
ogrgeopackagetablelayer.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
8.24k
    {
1192
8.24k
        return x != 0;
1193
8.24k
    }
Unexecuted instantiation: ogrgeopackageutility.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalgeopackagerasterband.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrosmdriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrvfkdriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrvfkdrivercore.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrmvtdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrpmtilesdriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrpmtilesdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrpmtilesvectorlayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrpmtilestileiterator.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrpmtilesfrommbtiles.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalpmtilesrasterband.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: vsipmtiles.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrpmtilesfromtileset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogramigoclouddriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrcartodriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrcartodrivercore.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrili1driver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrili1datasource.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrili2driver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrili2datasource.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: imdreader.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrxlsxdriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrcaddriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: vsilfileio.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrcaddrivercore.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrgtfsdriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrodsdriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrlvbagdriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrsfdriverregistrar.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrlayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrlayerarrow.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrdatasource.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogr_miattrind.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrlayerpool.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrlayerdecorator.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogreditablelayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ograrrowarrayhelper.cpp:CPL_TO_BOOL(int)
gdal_misc.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
206k
    {
1192
206k
        return x != 0;
1193
206k
    }
Unexecuted instantiation: gdal_adbc.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalgorithm.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalgorithmregistry.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalopeninfo.cpp:CPL_TO_BOOL(int)
gdaldriver.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
78.2k
    {
1192
78.2k
        return x != 0;
1193
78.2k
    }
Unexecuted instantiation: gdaldrivermanager.cpp:CPL_TO_BOOL(int)
gdaldataset.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
1.76M
    {
1192
1.76M
        return x != 0;
1193
1.76M
    }
gdalrasterband.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
35.2M
    {
1192
35.2M
        return x != 0;
1193
35.2M
    }
Unexecuted instantiation: gdalrasterblock.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalcolortable.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalmajorobject.cpp:CPL_TO_BOOL(int)
gdaldefaultoverviews.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
844k
    {
1192
844k
        return x != 0;
1193
844k
    }
Unexecuted instantiation: gdalpamdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalpamrasterband.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalmultidomainmetadata.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdal_rat.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalpamproxydb.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalallvalidmaskband.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalnodatamaskband.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalnodatavaluesmaskband.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalproxydataset.cpp:CPL_TO_BOOL(int)
gdalproxypool.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
38.9k
    {
1192
38.9k
        return x != 0;
1193
38.9k
    }
Unexecuted instantiation: gdaldefaultasync.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalvirtualmem.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdaloverviewdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalrescaledalphaband.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalabstractbandblockcache.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalarraybandblockcache.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalhashsetbandblockcache.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalsubdatasetinfo.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalthreadsafedataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: overview.cpp:CPL_TO_BOOL(int)
rasterio.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
42.5k
    {
1192
42.5k
        return x != 0;
1193
42.5k
    }
Unexecuted instantiation: gdalpython.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalpythondriverloader.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: tilematrixset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdal_thread_pool.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalmultidim_abstract_array.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalmultidim_array.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalmultidim_array_bridge_classic.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalmultidim_array_mask.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalmultidim_array_regularly_spaced.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalmultidim_array_resampled.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalmultidim_array_transposed.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalmultidim_array_unscaled.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalmultidim_array_view.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalmultidim_attribute.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalmultidim_c_api_array.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalmultidim_dimension.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalmultidim_extended_data_type.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalmultidim_group.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalmultidim_misc.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalmultidim_pam.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdal_matrix_avx2_fma.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_main.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdal_translate_lib.cpp:CPL_TO_BOOL(int)
gdalwarp_lib.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
11
    {
1192
11
        return x != 0;
1193
11
    }
Unexecuted instantiation: commonutils.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_convert.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_info.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_dataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_dataset_identify.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_dataset_check.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_dataset_copy.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_dataset_rename.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_dataset_delete.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_mdim.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_mdim_compare.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_mdim_info.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_mdim_convert.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_mdim_mosaic.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_mdim_pipeline.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_mdim_read.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_mdim_reproject.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_mdim_write.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_pipeline.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_info.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_as_features.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_aspect.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_blend.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_calc.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_clean_collar.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_clip.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_color_map.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_compare.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_convert.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_create.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_contour.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_edit.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_footprint.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_fill_nodata.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_hillshade.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_index.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_mosaic.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_mosaic_stack_common.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_neighbors.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_nodata_to_alpha.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_pipeline.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_pixel_info.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_polygonize.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_proximity.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_overview_add.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_overview_delete.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_overview_refresh.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_pansharpen.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_rgb_to_palette.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_read.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_reclassify.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_reproject.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_resize.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_roughness.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_scale.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_select.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_set_type.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_shift_longitude.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_sieve.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_slope.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_stack.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_tile.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_tpi.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_tri.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_unscale.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_update.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_viewshed.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_write.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_raster_zonal_stats.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_tee.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_info.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_check_coverage.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_check_geometry.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_clip.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_clean_coverage.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_combine.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_compare.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_concat.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_concave_hull.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_convert.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_convex_hull.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_create.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_dissolve.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_edit.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_export_schema.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_pipeline.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_rasterize.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_read.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_filter.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_geom.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_limit.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_make_point.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_set_geom_type.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_explode.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_explode_collections.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_make_valid.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_segmentize.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_simplify.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_simplify_coverage.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_buffer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_swap_xy.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_grid.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_grid_average.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_grid_data_metrics.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_grid_invdist.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_grid_invdistnn.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_grid_linear.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_grid_nearest.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_index.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_layer_algebra.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_output_abstract.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_partition.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_rename_layer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_reproject.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_select.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_set_field_type.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_sort.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_sql.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_update.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vector_write.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vsi.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vsi_copy.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vsi_delete.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vsi_list.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vsi_move.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vsi_sozip.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_vsi_sync.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_alibaba_oss.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_azure.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cplgetsymbol.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_findfile.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_minixml.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_levenshtein.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_getexecpath.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_http.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_hash_set.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cplgetcurrentthreadcount.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_nasa_earthdata.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_quad_tree.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_time.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_vsil_abstract_archive.cpp:CPL_TO_BOOL(int)
cpl_vsil_buffered_reader.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
447k
    {
1192
447k
        return x != 0;
1193
447k
    }
Unexecuted instantiation: cpl_base64.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_xml_validate.cpp:CPL_TO_BOOL(int)
cpl_spawn.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
24
    {
1192
24
        return x != 0;
1193
24
    }
Unexecuted instantiation: cpl_google_oauth2.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_virtualmem.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_worker_thread_pool.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_sha1.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_sha256.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_cpu_features.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_md5.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_vsil_chunked_write_handle.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_vsil_uploadonclose.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_json_streaming_writer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_compressor.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_float.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_minizip_ioapi.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: contour.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdaldither.cpp:CPL_TO_BOOL(int)
gdalgeoloc.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
22
    {
1192
22
        return x != 0;
1193
22
    }
Unexecuted instantiation: gdalgeolocquadtree.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalmediancut.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalproximity.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalsievefilter.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdaltransformer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalwarper.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalwarpkernel.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalwarpoperation.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: hilbert.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: polygonize.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: polygonize_polygonizer_impl.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: rasterfill.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cumulative.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: progress.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: util.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: viewshed.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: viewshed_executor.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: zonal.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdal_interpolateatpoint.cpp:CPL_TO_BOOL(int)
ogrgeometryfactory.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
1.15M
    {
1192
1.15M
        return x != 0;
1193
1.15M
    }
Unexecuted instantiation: ogrpoint.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrcurve.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrlinestring.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrlinearring.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrpolygon.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrtriangle.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrutils.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrgeomcoordinateprecision.cpp:CPL_TO_BOOL(int)
ogrgeometry.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
38
    {
1192
38
        return x != 0;
1193
38
    }
Unexecuted instantiation: ogrgeometrycollection.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrmultipolygon.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrsurface.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrpolyhedralsurface.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrtriangulatedsurface.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrmultipoint.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrmultilinestring.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrcircularstring.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrcompoundcurve.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrcurvepolygon.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrcurvecollection.cpp:CPL_TO_BOOL(int)
ogrmulticurve.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
94.3k
    {
1192
94.3k
        return x != 0;
1193
94.3k
    }
Unexecuted instantiation: ogrmultisurface.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogr_api.cpp:CPL_TO_BOOL(int)
ogrfeaturequery.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
62.5k
    {
1192
62.5k
        return x != 0;
1193
62.5k
    }
ogrspatialreference.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
3
    {
1192
3
        return x != 0;
1193
3
    }
Unexecuted instantiation: ogr_srsnode.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogr_fromepsg.cpp:CPL_TO_BOOL(int)
ogrct.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
164k
    {
1192
164k
        return x != 0;
1193
164k
    }
Unexecuted instantiation: ogr_srs_dict.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogr_srs_ozi.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: swq.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: swq_expr_node.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: swq_parser.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: swq_select.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: swq_op_registrar.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: swq_op_general.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogr_srs_xml.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ograssemblepolygon.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogr2gmlgeometry.cpp:CPL_TO_BOOL(int)
gml2ogrgeometry.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
254k
    {
1192
254k
        return x != 0;
1193
254k
    }
Unexecuted instantiation: ogr_expat.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrpgeogeometry.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogr_schema_override.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogr_xerces.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogr_geo_utils.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogr_proj_p.cpp:CPL_TO_BOOL(int)
ogr_wkb.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
30.3k
    {
1192
30.3k
        return x != 0;
1193
30.3k
    }
Unexecuted instantiation: ogr2kmlgeometry.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrgeojsongeometry.cpp:CPL_TO_BOOL(int)
ogrgeojsonwriter.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
390
    {
1192
390
        return x != 0;
1193
390
    }
Unexecuted instantiation: ogrmitabspatialref.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: mitab_bounds.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ddfmodule.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ddfutils.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ddffielddefn.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ddfrecord.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ddffield.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ddfsubfielddefn.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ddfrecordindex.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cogdriver.cpp:CPL_TO_BOOL(int)
gtiffdataset_write.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
4.29k
    {
1192
4.29k
        return x != 0;
1193
4.29k
    }
Unexecuted instantiation: gtiffjpegoverviewds.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gtiffoddbitsband.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gtiffrasterband.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gtiffrasterband_read.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gtiffrasterband_write.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: geotiff.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gt_jpeg_copy.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gt_overview.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gt_wkt_srs.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: tifvsi.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: memdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrmemlayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: vrtderivedrasterband.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: vrtfilters.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: vrtrasterband.cpp:CPL_TO_BOOL(int)
vrtsourcedrasterband.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
9.19k
    {
1192
9.19k
        return x != 0;
1193
9.19k
    }
vrtsources.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
705k
    {
1192
705k
        return x != 0;
1193
705k
    }
vrtwarped.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
900
    {
1192
900
        return x != 0;
1193
900
    }
vrtdataset.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
49.9k
    {
1192
49.9k
        return x != 0;
1193
49.9k
    }
Unexecuted instantiation: vrtpansharpened.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: vrtprocesseddataset.cpp:CPL_TO_BOOL(int)
vrtmultidim.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
2
    {
1192
2
        return x != 0;
1193
2
    }
Unexecuted instantiation: vrtreclassifier.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: vrtrawrasterband.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdaltileindexdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: hfa_overviews.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalallregister.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrgeojsondatasource.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrgeojsonlayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrgeojsonreader.cpp:CPL_TO_BOOL(int)
ogrgeojsonutils.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
67.5k
    {
1192
67.5k
        return x != 0;
1193
67.5k
    }
Unexecuted instantiation: ogrgeojsonwritelayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogresrijsonreader.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrtopojsonreader.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrjsoncollectionstreamingparser.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: mitab_tabfile.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: mitab_miffile.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: mitab_utils.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: mitab_imapinfofile.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: mitab_middatafile.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: mitab_indfile.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: mitab_tabview.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: mitab_tabseamless.cpp:CPL_TO_BOOL(int)
ogrshapedatasource.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
3.97k
    {
1192
3.97k
        return x != 0;
1193
3.97k
    }
ogrshapelayer.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
3.61k
    {
1192
3.61k
        return x != 0;
1193
3.61k
    }
Unexecuted instantiation: sbnsearch_wrapper.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: shpopen_wrapper.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: shptree_wrapper.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: dbfopen_wrapper.cpp:CPL_TO_BOOL(int)
ogrvrtdatasource.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
19.8k
    {
1192
19.8k
        return x != 0;
1193
19.8k
    }
ogrvrtlayer.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
162k
    {
1192
162k
        return x != 0;
1193
162k
    }
Unexecuted instantiation: ogravcbindatasource.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogravcbinlayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogravce00datasource.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogravcdatasource.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogravce00layer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogravclayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gmlfeature.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gmlfeatureclass.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gmlpropertydefn.cpp:CPL_TO_BOOL(int)
gmlutils.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
35.2k
    {
1192
35.2k
        return x != 0;
1193
35.2k
    }
Unexecuted instantiation: parsexsd.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrwfsfilter.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gmlreader.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gmlregistry.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: hugefileresolver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrgmllayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gmlhandler.cpp:CPL_TO_BOOL(int)
ogrcsvdatasource.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
3.09k
    {
1192
3.09k
        return x != 0;
1193
3.09k
    }
ogrcsvlayer.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
211k
    {
1192
211k
        return x != 0;
1193
211k
    }
Unexecuted instantiation: dgnopen.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: dgnread.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: dgnwrite.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrdgnlayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrgmtdatasource.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrgmtlayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrntfdatasource.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrntffeatureclasslayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ntf_generic.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrs101dataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrs101featurecatalog.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrs101layer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrs101layercompositecurve.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrs101layercurve.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrs101layerfeaturetype.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrs101layerinformationtype.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrs101layermultipoint.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrs101layerpoint.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrs101layersurface.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrs101reader.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrs101readerattributes.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrs101readercompositecurve.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrs101readercrs.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrs101readercurve.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrs101readerdatasetgeneralinformationrecord.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrs101readerfeaturetype.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrs101readerinformationtype.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrs101readermultipoint.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrs101readerpoint.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrs101readersurface.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrtigerdatasource.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: tigercompletechain.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: tigerkeyfeatures.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: tigerpolychainlink.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: tigertlidrange.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: tigerentitynames.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: tigerlandmarks.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: tigerpolygon.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: tigerzerocellid.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrtigerlayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: tigerfeatureids.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: tigeroverunder.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: tigerpolygoncorrections.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: tigerzipcodes.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: tigeraltname.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: tigerfilebase.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: tigerpip.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: tigerpolygoneconomic.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: tigerzipplus4.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrgeorssdatasource.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrgeorsslayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrdxfdatasource.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrdxfreader.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrdxf_blockmap.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrdxflayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrdxfwriterds.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrdxfblockslayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrdxf_leader.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrdxfwriterlayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrdxf_ocstransformer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrgpsbabeldatasource.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogredigeodatasource.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogredigeolayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrsxfdatasource.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrsxflayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: filegdbindex_write.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: filegdbtable.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: filegdbtable_write_fields.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: filegdbtable_freelist.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogropenfilegdbdatasource.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogropenfilegdbdatasource_write.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogropenfilegdb_generate_uuid.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogropenfilegdblayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalopenfilegdbrasterband.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrwaspdatasource.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrwasplayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: io_selafin.cpp:CPL_TO_BOOL(int)
ogrselafindatasource.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
39.3k
    {
1192
39.3k
        return x != 0;
1193
39.3k
    }
ogrselafinlayer.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
50.3k
    {
1192
50.3k
        return x != 0;
1193
50.3k
    }
Unexecuted instantiation: ogrmiramondatasource.cpp:CPL_TO_BOOL(int)
ogrmiramonlayer.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
5.29k
    {
1192
5.29k
        return x != 0;
1193
5.29k
    }
Unexecuted instantiation: ogrjsonfgdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrjsonfgreader.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrjsonfgstreamedlayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrjsonfgstreamingparser.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrjsonfgwritelayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrgpxdatasource.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrgpxlayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrgmlasdatasource.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrgmlaslayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrgmlasutils.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrgmlasxpatchmatcher.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrgmlasreader.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrgmlasxsdcache.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrgmlasschemaanalyzer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrgmlasxlinkresolver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrnasdatasource.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrnaslayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrplscenesdatav1dataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrplscenesdatav1layer.cpp:CPL_TO_BOOL(int)
ogrwfsdatasource.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
2.76k
    {
1192
2.76k
        return x != 0;
1193
2.76k
    }
Unexecuted instantiation: ogrwfsjoinlayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrwfslayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrngwlayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrelasticdatasource.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrelasticlayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrelasticaggregationlayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogridrisidatasource.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogridrisilayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrpdsdatasource.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrpdslayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrsqlitedatasource.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrsqlitelayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrsqliteselectlayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrsqlitesinglefeaturelayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrsqlitetablelayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrsqlitevfs.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrsqliteviewlayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrsqliteexecutesql.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrsqlitevirtualogr.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrsqliteutility.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: rasterlite2.cpp:CPL_TO_BOOL(int)
ogrgeopackagedatasource.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
345k
    {
1192
345k
        return x != 0;
1193
345k
    }
Unexecuted instantiation: ogrgeopackagelayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrgeopackageselectlayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrosmdatasource.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrosmlayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: osm_parser.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrvfkdatasource.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrvfklayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: vfkdatablock.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: vfkproperty.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: vfkpropertydefn.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: vfkreader.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: vfkreadersqlite.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: vfkfeature.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: vfkfeaturesqlite.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: mvtutils.cpp:CPL_TO_BOOL(int)
ogramigoclouddatasource.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
324
    {
1192
324
        return x != 0;
1193
324
    }
Unexecuted instantiation: ogramigocloudresultlayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogramigocloudtablelayer.cpp:CPL_TO_BOOL(int)
ogrcartodatasource.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
466
    {
1192
466
        return x != 0;
1193
466
    }
Unexecuted instantiation: ogrcartolayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrcartoresultlayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrcartotablelayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ili1reader.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrili1layer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ili2reader.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrili2layer.cpp:CPL_TO_BOOL(int)
ogrxlsxdatasource.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
30.0k
    {
1192
30.0k
        return x != 0;
1193
30.0k
    }
Unexecuted instantiation: gdalcaddataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrcadlayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cadheader.cpp:CPL_TO_BOOL(int)
ogrodsdatasource.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
11.1k
    {
1192
11.1k
        return x != 0;
1193
11.1k
    }
Unexecuted instantiation: ogrlvbagdatasource.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrlvbaglayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogr_gensql.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogr_attrind.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrwarpedlayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrunionlayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrlayerwithtranslatefeature.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: rasterio_ssse3.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalcomputedrasterband.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdal_rat_vat_dbf.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdal_mdreader.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: rawdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: nasakeywordhandler.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: tiff_common.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalmultidim_array_gltorthorectification.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalmultidim_array_gridded.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalmultidim_array_maths.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalmultidim_array_meshgrid.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: reader_alos.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: reader_digital_globe.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: reader_eros.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: reader_geo_eye.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: reader_kompsat.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: reader_landsat.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: reader_orb_view.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: reader_pleiades.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: reader_rapid_eye.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: reader_rdk1.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: reader_spot.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalargumentparser.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalgetgdalpath.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalinfo_lib.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalbuildvrt_lib.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdal_grid_lib.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdal_rasterize_lib.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdal_contour_lib.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrinfo_lib.cpp:CPL_TO_BOOL(int)
ogr2ogr_lib.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
16.9k
    {
1192
16.9k
        return x != 0;
1193
16.9k
    }
Unexecuted instantiation: gdaldem_lib.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: nearblack_lib.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: nearblack_lib_floodfill.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdal_footprint_lib.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalmdiminfo_lib.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalmdimtranslate_lib.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdaltindex_lib.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_abstract_pipeline.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_compare_common.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_clip_common.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_external.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalalg_materialize.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_csv.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_list.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cplkeywordparser.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_json_streaming_parser.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_vax.cpp:CPL_TO_BOOL(int)
gdal_crs.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
8
    {
1192
8
        return x != 0;
1193
8
    }
Unexecuted instantiation: gdal_homography.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdal_rpc.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdal_tps.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalapplyverticalshiftgrid.cpp:CPL_TO_BOOL(int)
gdalchecksum.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
531k
    {
1192
531k
        return x != 0;
1193
531k
    }
Unexecuted instantiation: gdalcutline.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalgrid.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdallinearsystem.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalpansharpen.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalrasterize.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalrasterpolygonenumerator.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: llrasterize.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: thinplatespline.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: combiner.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalgridsse.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalgridavx.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogr_srs_esri.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogr_srs_panorama.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogr_geocoding.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrvrtgeometrytypes.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogresrijsongeometry.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gnmregisterall.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gnmdbdriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gnmdbnetwork.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gnmfiledriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gnmfilenetwork.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gnmlayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gnmgenericnetwork.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gnmgraph.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gnmnetwork.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gnmresultlayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gnmrule.cpp:CPL_TO_BOOL(int)
jpgdataset.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
4.95M
    {
1192
4.95M
        return x != 0;
1193
4.95M
    }
Unexecuted instantiation: jpegdrivercore.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: jpgdataset_12.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: vsidataio_12.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: rawdrivers.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cphddataset.cpp:CPL_TO_BOOL(int)
gtiffdataset.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
8.00k
    {
1192
8.00k
        return x != 0;
1193
8.00k
    }
gtiffdataset_read.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
383k
    {
1192
383k
        return x != 0;
1193
383k
    }
Unexecuted instantiation: gtiffrgbaband.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gtiffsplitband.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gtiffsplitbitmapband.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gt_citation.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: vrtdriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: pixelfunctions.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: vrtprocesseddatasetfunctions.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: vrtexpression_muparser.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: deriveddataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: libertiffdataset.cpp:CPL_TO_BOOL(int)
hfadataset.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
42
    {
1192
42
        return x != 0;
1193
42
    }
Unexecuted instantiation: hfaentry.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: hfaopen.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: hfatype.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: nitfdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: rpftocdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: nitfrasterband.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ecrgtocdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: nitffile.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: nitfaridpcm.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: rpftocfile.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: nitfwritejpeg.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: nitfwritejpeg_12.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: offsetpatcher.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: rpfframewriter.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: rpftocwriter.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: nitfdrivercore.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: nitfbilevel.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gxfdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: aaigriddataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ceosdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: sar_ceosdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: dteddataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: jdemdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: envisatdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: l1bdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: rs2dataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ilwisdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ilwiscoordinatesystem.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: rmfdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: rmfdem.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: rmflzw.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: rmfjpeg.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: levellerdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: srtmhgtdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: IdrisiDataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gs7bgdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gsagdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gsbgdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ersdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ershdrnode.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: jaxapalsardataset.cpp:CPL_TO_BOOL(int)
dimapdataset.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
168
    {
1192
168
        return x != 0;
1193
168
    }
Unexecuted instantiation: gff_dataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cosar_dataset.cpp:CPL_TO_BOOL(int)
isis2dataset.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
2
    {
1192
2
        return x != 0;
1193
2
    }
isis3dataset.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
42
    {
1192
42
        return x != 0;
1193
42
    }
pdsdataset.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
8
    {
1192
8
        return x != 0;
1193
8
    }
Unexecuted instantiation: pds4dataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: pds4vector.cpp:CPL_TO_BOOL(int)
vicardataset.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
14
    {
1192
14
        return x != 0;
1193
14
    }
Unexecuted instantiation: vicarkeywordhandler.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: pdsdrivercore.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: adrgdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: srpdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: coasp_dataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: tsxdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: terragendataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: msgndataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: tildataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: grddataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: grcdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: northwood.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: sagadataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: xyzdataset.cpp:CPL_TO_BOOL(int)
esric_dataset.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
1.06k
    {
1192
1.06k
        return x != 0;
1193
1.06k
    }
Unexecuted instantiation: hf2dataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: kmlsuperoverlaydataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ctgdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: zmapdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ngsgeoiddataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: irisdataset.cpp:CPL_TO_BOOL(int)
mapdataset.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
257
    {
1192
257
        return x != 0;
1193
257
    }
Unexecuted instantiation: calsdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: safedataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: sentinel2dataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: phprfdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: mrf_util.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: Tif_band.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: mrfdrivercore.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: JPEG_band.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: PNG_band.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: JPNG_band.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: JPEG12_band.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: LERC_band.cpp:CPL_TO_BOOL(int)
wmtsdataset.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
118
    {
1192
118
        return x != 0;
1193
118
    }
Unexecuted instantiation: wmtsdrivercore.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gribdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gribcreatecopy.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: degrib2.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: inventory.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: metaname.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: metaparse.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: tendian.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gribdrivercore.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: bmpdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: tgadataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: stactadataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: snaptiffdriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: bsbdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: aigdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: usgsdemdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: airsardataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: pcidskdataset2.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: vsi_pcidsk_io.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrpcidsklayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: pcidskdrivercore.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpcidskchannel.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ctiledchannel.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpcidskblockfile.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpcidskfile.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: metadataset_p.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: pcidsk_pubutils.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: pcidsk_utils.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: pcidskbuffer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: pcidskcreate.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: pcidskexception.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: pcidskinterfaces.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: pcidskopen.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: pcidsk_mutex.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpcidsk_array.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpcidsk_tex.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpcidskbinarysegment.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpcidskbitmap.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpcidskblut.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpcidskpct.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpcidskephemerissegment.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpcidskgcp2segment.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpcidskgeoref.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpcidsklut.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpcidskbpct.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpcidskrpcmodel.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpcidsksegment.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpcidsktoutinmodel.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpcidskvectorsegment.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpcidskvectorsegment_consistencycheck.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: metadatasegment_p.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: systiledir.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: vecsegdataindex.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: vecsegheader.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: sigdemdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: rikdataset.cpp:CPL_TO_BOOL(int)
stacitdataset.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
33
    {
1192
33
        return x != 0;
1193
33
    }
Unexecuted instantiation: pdfdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: pdfio.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: pdfobject.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: pdfreadvectors.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: pdfwritabledataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: pdfcreatefromcomposition.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: pdfdrivercore.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: rcmdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: rcmdrivercore.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalgdriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: e57driver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: pngdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: pngdrivercore.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: biggifdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gifdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gifdrivercore.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: lercdriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: lercdrivercore.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: wcsdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: wcsdataset100.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: wcsdataset110.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: wcsdataset201.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: wcsrasterband.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: wcsutils.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: wcsdrivercore.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: httpdriver.cpp:CPL_TO_BOOL(int)
netcdfdataset.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
1.72M
    {
1192
1.72M
        return x != 0;
1193
1.72M
    }
Unexecuted instantiation: netcdflayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: netcdfwriterconfig.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: netcdfsg.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: netcdflayersg.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: netcdfsgwriterutil.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: netcdfmultidim.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: netcdfvirtual.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: netcdf_sentinel3_sral_mwr.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: netcdfdrivercore.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: zarrdriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: vsikerchunk.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: vsikerchunk_json_ref.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: vsikerchunk_parquet_ref.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: zarrdrivercore.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: icechunkdriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: icechunkrepo.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: icechunksnapshot.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: icechunkutils.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: vsiicechunk.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: icechunkdrivercore.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: daasdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: eedaidataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: eedadataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: eedacommon.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: plmosaicdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: wmsdriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: wmsutils.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: minidriver.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: minidriver_arcgis_server.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: minidriver_mrf.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: minidriver_ogcapicoverage.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: minidriver_ogcapimaps.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: minidriver_tileservice.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: minidriver_virtualearth.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: minidriver_worldwind.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: wmsmetadataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalwmsdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: wmsdrivercore.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalogcapidataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: webpdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: webpdrivercore.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: mbtilesdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: pcrastermisc.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: pcrasterdrivercore.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: miramon_dataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: mitab_rawbinblock.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: mitab_mapheaderblock.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: mitab_mapindexblock.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: mitab_mapobjectblock.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: mitab_mapcoordblock.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: mitab_feature.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: mitab_feature_mif.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: mitab_mapfile.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: mitab_idfile.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: mitab_datfile.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: mitab_maptoolblock.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: mitab_tooldef.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: mitab_geometry.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: shape2ogr.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: shp_vsi.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: avc_bin.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: avc_rawbin.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: avc_e00read.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: avc_mbyte.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: avc_misc.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gfstemplate.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gmlreadstate.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: resolvexlinks.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: dgnhelp.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: dgnstroke.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ntffilereader.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ntfrecord.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrntflayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ntf_estlayers.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ntf_raster.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ntf_codelist.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ntfstroke.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: tigerarealandmarks.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: tigeridhistory.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: tigerpoint.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: tigerspatialmetadata.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: intronurbs.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrdxfblockswriterlayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrdxf_feature.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrdxf_polyline_smooth.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogr_autocad_services.cpp:CPL_TO_BOOL(int)
ogrdxf_hatch.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
67.7k
    {
1192
67.7k
        return x != 0;
1193
67.7k
    }
Unexecuted instantiation: ogrdxf_dimension.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: filegdbindex.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrjsonfgmemlayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: nasreader.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: vfkdatablocksqlite.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogramigocloudlayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ili2handler.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ods_formula_node.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ods_formula.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdaljp2box.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdaldllmain.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalexif.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalorienteddataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: enviutils.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpl_userfaultfd.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogr_srs_cf1.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogr_srs_pci.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogr_srs_isis.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogr_srs_erm.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: vsidataio.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ace2dataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: btdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpgdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: doq1dataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: doq2dataset.cpp:CPL_TO_BOOL(int)
ehdrdataset.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
128k
    {
1192
128k
        return x != 0;
1193
128k
    }
eirdataset.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
2
    {
1192
2
        return x != 0;
1193
2
    }
envidataset.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
5.29k
    {
1192
5.29k
        return x != 0;
1193
5.29k
    }
Unexecuted instantiation: fastdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: genbindataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gscdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gtxdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: hkvdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: krodataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: iscedataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: landataset.cpp:CPL_TO_BOOL(int)
lcpdataset.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
386
    {
1192
386
        return x != 0;
1193
386
    }
Unexecuted instantiation: loslasdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: mffdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ndfdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: noaabdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ntv2dataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: pauxdataset.cpp:CPL_TO_BOOL(int)
pnmdataset.cpp:CPL_TO_BOOL(int)
Line
Count
Source
1191
141
    {
1192
141
        return x != 0;
1193
141
    }
Unexecuted instantiation: roipacdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: rrasterdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: snodasdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: byndataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: nsidcbindataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gtiffbitmapband.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: hfaband.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: hfacompress.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: hfadictionary.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: hfafield.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: adsrange.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: unwrapgcps.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: msg_basic_types.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: msg_reader_core.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: marfa_dataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: mrf_band.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: mrf_overview.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: Packer_RLE.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: degrib1.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: grib1tab.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdal_edb.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: asciitiledir.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: asciitilelayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: binarytiledir.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: binarytilelayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: blockdir.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: blockfile.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: blocklayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: blocktiledir.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: blocktilelayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cbandinterleavedchannel.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cexternalchannel.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: cpixelinterleavedchannel.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: clinksegment.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: edb_pcidsk.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: libjpeg_io.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: pcidsk_scanint.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogrpdflayer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: pdfcreatecopy.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gifabstractdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gmlcoverage.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: zarr_array.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: zarr_attribute.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: zarr_v3_codec_sharding.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: zarr_dimension.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: zarr_group.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: zarr_v2_group.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: zarr_v3_group.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: zarr_sharedresource.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: icechunkmanifest.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalhttp.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalwmsrasterband.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: minidriver_iiifimage.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: minidriver_iip.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: minidriver_tiled_wms.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: minidriver_tms.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: minidriver_wms.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdalwmscache.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: pcrasterdataset.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: pcrasterrasterband.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: pcrasterutil.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: miramon_band.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: miramon_rasterband.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: miramon_rel.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: miramon_palettes.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: avc_e00gen.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: avc_e00parse.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: nashandler.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: ogr_srs_usgs.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: atlsci_spheroid.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: dec_jpeg2000.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: zarr_v2_array.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: zarr_v3_array.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: zarr_compressors.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: zarr_filters.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: zarr_v3_codec.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: zarr_v3_codec_blosc.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: zarr_v3_codec_bytes.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: zarr_v3_codec_gzip.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: zarr_v3_codec_sequence.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: zarr_v3_codec_transpose.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: zarr_v3_codec_vlen_utf8.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: zarr_v3_codec_zstd.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: zarr_v3_codec_abstract_compressor.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: zarr_v3_codec_crc32c.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: crc32c.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdal_fuzzer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdal_translate_fuzzer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: osr_set_from_user_input_fuzzer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdal_vector_translate_fuzzer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: filename_fuzzer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: wkt_import_fuzzer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: spatialite_geom_import_fuzzer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: get_jpeg2000_structure_fuzzer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdaljp2structure.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdaljp2metadata.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdaljp2metadatagenerator.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gml_geom_import_fuzzer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: wkb_import_fuzzer.cpp:CPL_TO_BOOL(int)
Unexecuted instantiation: gdal_algorithm_fuzzer.cpp:CPL_TO_BOOL(int)
1194
} /* extern "C++" */
1195
1196
#endif /* __cplusplus */
1197
1198
#if (((__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 6)) ||              \
1199
      (defined(__clang__) && __clang_major__ >= 3)) &&                         \
1200
     !defined(_MSC_VER))
1201
#define HAVE_GCC_DIAGNOSTIC_PUSH
1202
#endif
1203
1204
#if ((__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2)) &&               \
1205
     !defined(_MSC_VER))
1206
#define HAVE_GCC_SYSTEM_HEADER
1207
#endif
1208
1209
/*! @cond Doxygen_Suppress */
1210
1211
#ifndef FALSE
1212
6.54G
#define FALSE 0
1213
#endif
1214
1215
#ifndef TRUE
1216
7.12G
#define TRUE 1
1217
#endif
1218
1219
#if __clang_major__ >= 4 || (__clang_major__ == 3 && __clang_minor__ >= 8)
1220
#define CPL_NOSANITIZE_UNSIGNED_INT_OVERFLOW                                   \
1221
    __attribute__((no_sanitize("unsigned-integer-overflow")))
1222
#else
1223
#define CPL_NOSANITIZE_UNSIGNED_INT_OVERFLOW
1224
#endif
1225
1226
#if defined(__cplusplus) && !defined(CPL_SUPRESS_CPLUSPLUS) &&                 \
1227
    defined(GDAL_COMPILATION)
1228
extern "C++"
1229
{
1230
    template <class C, class A, class B>
1231
    CPL_NOSANITIZE_UNSIGNED_INT_OVERFLOW inline C CPLUnsanitizedAdd(A a, B b)
1232
17.3M
    {
1233
17.3M
        return a + b;
1234
17.3M
    }
long long CPLUnsanitizedAdd<long long, long long, unsigned long>(long long, unsigned long)
Line
Count
Source
1232
2.25M
    {
1233
2.25M
        return a + b;
1234
2.25M
    }
unsigned long long CPLUnsanitizedAdd<unsigned long long, unsigned long long, int>(unsigned long long, int)
Line
Count
Source
1232
27.6k
    {
1233
27.6k
        return a + b;
1234
27.6k
    }
unsigned long long CPLUnsanitizedAdd<unsigned long long, unsigned long long, unsigned long long>(unsigned long long, unsigned long long)
Line
Count
Source
1232
227k
    {
1233
227k
        return a + b;
1234
227k
    }
unsigned int CPLUnsanitizedAdd<unsigned int, unsigned int, int>(unsigned int, int)
Line
Count
Source
1232
1.74M
    {
1233
1.74M
        return a + b;
1234
1.74M
    }
Unexecuted instantiation: unsigned long CPLUnsanitizedAdd<unsigned long, unsigned long, long long>(unsigned long, long long)
int CPLUnsanitizedAdd<int, int, unsigned int>(int, unsigned int)
Line
Count
Source
1232
13.1M
    {
1233
13.1M
        return a + b;
1234
13.1M
    }
1235
}
1236
#endif
1237
1238
#if defined(__cplusplus) && !defined(CPL_SUPRESS_CPLUSPLUS)
1239
400M
#define CPL_NULLPTR nullptr
1240
#else
1241
#define CPL_NULLPTR NULL
1242
#endif
1243
1244
#if defined(__cplusplus) && defined(GDAL_COMPILATION)
1245
extern "C++"
1246
{
1247
    namespace cpl
1248
    {
1249
    /** Function to indicate that the result of an arithmetic operation
1250
         * does fit on the specified type. Typically used to avoid warnings
1251
         * about potentially overflowing multiplications by static analyzers.
1252
         */
1253
    template <typename T> inline T fits_on(T t)
1254
338k
    {
1255
338k
        return t;
1256
338k
    }
int cpl::fits_on<int>(int)
Line
Count
Source
1254
338k
    {
1255
338k
        return t;
1256
338k
    }
Unexecuted instantiation: long cpl::fits_on<long>(long)
1257
1258
    /** Emulates the C++20 .contains() method */
1259
    template <typename C, typename V>
1260
    inline bool contains(const C &container, const V &value)
1261
7.26M
    {
1262
7.26M
        return container.find(value) != container.end();
1263
7.26M
    }
Unexecuted instantiation: bool cpl::contains<std::__1::set<CPLString, std::__1::less<CPLString>, std::__1::allocator<CPLString> >, CPLString>(std::__1::set<CPLString, std::__1::less<CPLString>, std::__1::allocator<CPLString> > const&, CPLString const&)
bool cpl::contains<std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >, char*>(std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, char* const&)
Line
Count
Source
1261
31.5k
    {
1262
31.5k
        return container.find(value) != container.end();
1263
31.5k
    }
bool cpl::contains<std::__1::map<int, std::__1::set<int, std::__1::less<int>, std::__1::allocator<int> >, std::__1::less<int>, std::__1::allocator<std::__1::pair<int const, std::__1::set<int, std::__1::less<int>, std::__1::allocator<int> > > > >, int>(std::__1::map<int, std::__1::set<int, std::__1::less<int>, std::__1::allocator<int> >, std::__1::less<int>, std::__1::allocator<std::__1::pair<int const, std::__1::set<int, std::__1::less<int>, std::__1::allocator<int> > > > > const&, int const&)
Line
Count
Source
1261
176k
    {
1262
176k
        return container.find(value) != container.end();
1263
176k
    }
bool cpl::contains<std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >, char const*>(std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, char const* const&)
Line
Count
Source
1261
248k
    {
1262
248k
        return container.find(value) != container.end();
1263
248k
    }
bool cpl::contains<std::__1::map<CPLString, CPLString, std::__1::less<CPLString>, std::__1::allocator<std::__1::pair<CPLString const, CPLString> > >, CPLString>(std::__1::map<CPLString, CPLString, std::__1::less<CPLString>, std::__1::allocator<std::__1::pair<CPLString const, CPLString> > > const&, CPLString const&)
Line
Count
Source
1261
2.28k
    {
1262
2.28k
        return container.find(value) != container.end();
1263
2.28k
    }
bool cpl::contains<std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >, CPLString>(std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, CPLString const&)
Line
Count
Source
1261
4.87k
    {
1262
4.87k
        return container.find(value) != container.end();
1263
4.87k
    }
bool cpl::contains<std::__1::set<OGRwkbGeometryType, std::__1::less<OGRwkbGeometryType>, std::__1::allocator<OGRwkbGeometryType> >, OGRwkbGeometryType>(std::__1::set<OGRwkbGeometryType, std::__1::less<OGRwkbGeometryType>, std::__1::allocator<OGRwkbGeometryType> > const&, OGRwkbGeometryType const&)
Line
Count
Source
1261
274
    {
1262
274
        return container.find(value) != container.end();
1263
274
    }
bool cpl::contains<std::__1::set<int, std::__1::less<int>, std::__1::allocator<int> >, int>(std::__1::set<int, std::__1::less<int>, std::__1::allocator<int> > const&, int const&)
Line
Count
Source
1261
2.36M
    {
1262
2.36M
        return container.find(value) != container.end();
1263
2.36M
    }
bool cpl::contains<std::__1::map<GDALAlgorithmArg*, std::__1::variant<std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >, std::__1::vector<int, std::__1::allocator<int> >, std::__1::vector<double, std::__1::allocator<double> >, std::__1::vector<GDALArgDatasetValue, std::__1::allocator<GDALArgDatasetValue> > >, std::__1::less<GDALAlgorithmArg*>, std::__1::allocator<std::__1::pair<GDALAlgorithmArg* const, std::__1::variant<std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >, std::__1::vector<int, std::__1::allocator<int> >, std::__1::vector<double, std::__1::allocator<double> >, std::__1::vector<GDALArgDatasetValue, std::__1::allocator<GDALArgDatasetValue> > > > > >, GDALAlgorithmArg*>(std::__1::map<GDALAlgorithmArg*, std::__1::variant<std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >, std::__1::vector<int, std::__1::allocator<int> >, std::__1::vector<double, std::__1::allocator<double> >, std::__1::vector<GDALArgDatasetValue, std::__1::allocator<GDALArgDatasetValue> > >, std::__1::less<GDALAlgorithmArg*>, std::__1::allocator<std::__1::pair<GDALAlgorithmArg* const, std::__1::variant<std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >, std::__1::vector<int, std::__1::allocator<int> >, std::__1::vector<double, std::__1::allocator<double> >, std::__1::vector<GDALArgDatasetValue, std::__1::allocator<GDALArgDatasetValue> > > > > > const&, GDALAlgorithmArg* const&)
Line
Count
Source
1261
276
    {
1262
276
        return container.find(value) != container.end();
1263
276
    }
bool cpl::contains<std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, GDALAlgorithmArg*, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, GDALAlgorithmArg*> > >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, GDALAlgorithmArg*, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, GDALAlgorithmArg*> > > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)
Line
Count
Source
1261
140k
    {
1262
140k
        return container.find(value) != container.end();
1263
140k
    }
bool cpl::contains<std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, GDALAlgorithmRegistry::AlgInfo, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, GDALAlgorithmRegistry::AlgInfo> > >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, GDALAlgorithmRegistry::AlgInfo, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, GDALAlgorithmRegistry::AlgInfo> > > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)
Line
Count
Source
1261
37.7k
    {
1262
37.7k
        return container.find(value) != container.end();
1263
37.7k
    }
bool cpl::contains<std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)
Line
Count
Source
1261
484k
    {
1262
484k
        return container.find(value) != container.end();
1263
484k
    }
Unexecuted instantiation: bool cpl::contains<std::__1::map<CPLString, GDALDriver*, std::__1::less<CPLString>, std::__1::allocator<std::__1::pair<CPLString const, GDALDriver*> > >, CPLString>(std::__1::map<CPLString, GDALDriver*, std::__1::less<CPLString>, std::__1::allocator<std::__1::pair<CPLString const, GDALDriver*> > > const&, CPLString const&)
Unexecuted instantiation: bool cpl::contains<std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::unique_ptr<GDALDriver, std::__1::default_delete<GDALDriver> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, std::__1::unique_ptr<GDALDriver, std::__1::default_delete<GDALDriver> > > > >, char const*>(std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::unique_ptr<GDALDriver, std::__1::default_delete<GDALDriver> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, std::__1::unique_ptr<GDALDriver, std::__1::default_delete<GDALDriver> > > > > const&, char const* const&)
bool cpl::contains<std::__1::set<GDALAntiRecursionStruct::DatasetContext, GDALAntiRecursionStruct::DatasetContextCompare, std::__1::allocator<GDALAntiRecursionStruct::DatasetContext> >, GDALAntiRecursionStruct::DatasetContext>(std::__1::set<GDALAntiRecursionStruct::DatasetContext, GDALAntiRecursionStruct::DatasetContextCompare, std::__1::allocator<GDALAntiRecursionStruct::DatasetContext> > const&, GDALAntiRecursionStruct::DatasetContext const&)
Line
Count
Source
1261
2.51M
    {
1262
2.51M
        return container.find(value) != container.end();
1263
2.51M
    }
Unexecuted instantiation: bool cpl::contains<std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::shared_ptr<GDALDimension>, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, std::__1::shared_ptr<GDALDimension> > > >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::shared_ptr<GDALDimension>, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, std::__1::shared_ptr<GDALDimension> > > > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)
Unexecuted instantiation: bool cpl::contains<std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)
Unexecuted instantiation: bool cpl::contains<std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::pair<GDALAbstractPipelineAlgorithm*, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, std::__1::pair<GDALAbstractPipelineAlgorithm*, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > > > > >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::pair<GDALAbstractPipelineAlgorithm*, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, std::__1::pair<GDALAbstractPipelineAlgorithm*, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > > > > > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)
Unexecuted instantiation: bool cpl::contains<std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::vector<OGRLayer*, std::__1::allocator<OGRLayer*> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, std::__1::vector<OGRLayer*, std::__1::allocator<OGRLayer*> > > > >, char const*>(std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::vector<OGRLayer*, std::__1::allocator<OGRLayer*> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, std::__1::vector<OGRLayer*, std::__1::allocator<OGRLayer*> > > > > const&, char const* const&)
Unexecuted instantiation: bool cpl::contains<std::__1::set<CPLString, swq_summary::Comparator, std::__1::allocator<CPLString> >, char const*>(std::__1::set<CPLString, swq_summary::Comparator, std::__1::allocator<CPLString> > const&, char const* const&)
bool cpl::contains<std::__1::set<CPLString, std::__1::less<CPLString>, std::__1::allocator<CPLString> >, char const*>(std::__1::set<CPLString, std::__1::less<CPLString>, std::__1::allocator<CPLString> > const&, char const* const&)
Line
Count
Source
1261
5.29k
    {
1262
5.29k
        return container.find(value) != container.end();
1263
5.29k
    }
bool cpl::contains<std::__1::set<long long, std::__1::less<long long>, std::__1::allocator<long long> >, long long>(std::__1::set<long long, std::__1::less<long long>, std::__1::allocator<long long> > const&, long long const&)
Line
Count
Source
1261
13.7k
    {
1262
13.7k
        return container.find(value) != container.end();
1263
13.7k
    }
Unexecuted instantiation: bool cpl::contains<std::__1::map<long long, std::__1::pair<unsigned long long, unsigned long long>, std::__1::less<long long>, std::__1::allocator<std::__1::pair<long long const, std::__1::pair<unsigned long long, unsigned long long> > > >, long long>(std::__1::map<long long, std::__1::pair<unsigned long long, unsigned long long>, std::__1::less<long long>, std::__1::allocator<std::__1::pair<long long const, std::__1::pair<unsigned long long, unsigned long long> > > > const&, long long const&)
bool cpl::contains<std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, int> > >, char*>(std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, int> > > const&, char* const&)
Line
Count
Source
1261
1.22M
    {
1262
1.22M
        return container.find(value) != container.end();
1263
1.22M
    }
bool cpl::contains<std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, OGRS101FeatureCatalogTypes::SimpleAttribute, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, OGRS101FeatureCatalogTypes::SimpleAttribute> > >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, OGRS101FeatureCatalogTypes::SimpleAttribute, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, OGRS101FeatureCatalogTypes::SimpleAttribute> > > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)
Line
Count
Source
1261
230
    {
1262
230
        return container.find(value) != container.end();
1263
230
    }
bool cpl::contains<std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, OGRS101FeatureCatalogTypes::ComplexAttribute, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, OGRS101FeatureCatalogTypes::ComplexAttribute> > >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, OGRS101FeatureCatalogTypes::ComplexAttribute, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, OGRS101FeatureCatalogTypes::ComplexAttribute> > > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)
Line
Count
Source
1261
46
    {
1262
46
        return container.find(value) != container.end();
1263
46
    }
bool cpl::contains<std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, OGRS101FeatureCatalogTypes::SimpleAttribute, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, OGRS101FeatureCatalogTypes::SimpleAttribute> > >, char const*>(std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, OGRS101FeatureCatalogTypes::SimpleAttribute, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, OGRS101FeatureCatalogTypes::SimpleAttribute> > > const&, char const* const&)
Line
Count
Source
1261
4.04k
    {
1262
4.04k
        return container.find(value) != container.end();
1263
4.04k
    }
bool cpl::contains<std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, OGRS101FeatureCatalogTypes::ComplexAttribute, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, OGRS101FeatureCatalogTypes::ComplexAttribute> > >, char const*>(std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, OGRS101FeatureCatalogTypes::ComplexAttribute, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, OGRS101FeatureCatalogTypes::ComplexAttribute> > > const&, char const* const&)
Line
Count
Source
1261
1.27k
    {
1262
1.27k
        return container.find(value) != container.end();
1263
1.27k
    }
bool cpl::contains<std::__1::map<cpl::IntWrapper<OGRS101Reader::AttrCodeTag, int>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<cpl::IntWrapper<OGRS101Reader::AttrCodeTag, int> >, std::__1::allocator<std::__1::pair<cpl::IntWrapper<OGRS101Reader::AttrCodeTag, int> const, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > >, cpl::IntWrapper<OGRS101Reader::AttrCodeTag, int> >(std::__1::map<cpl::IntWrapper<OGRS101Reader::AttrCodeTag, int>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<cpl::IntWrapper<OGRS101Reader::AttrCodeTag, int> >, std::__1::allocator<std::__1::pair<cpl::IntWrapper<OGRS101Reader::AttrCodeTag, int> const, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > > const&, cpl::IntWrapper<OGRS101Reader::AttrCodeTag, int> const&)
Line
Count
Source
1261
12.0k
    {
1262
12.0k
        return container.find(value) != container.end();
1263
12.0k
    }
bool cpl::contains<std::__1::map<cpl::IntWrapper<OGRS101Reader::InfoAssocCodeTag, int>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<cpl::IntWrapper<OGRS101Reader::InfoAssocCodeTag, int> >, std::__1::allocator<std::__1::pair<cpl::IntWrapper<OGRS101Reader::InfoAssocCodeTag, int> const, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > >, cpl::IntWrapper<OGRS101Reader::InfoAssocCodeTag, int> >(std::__1::map<cpl::IntWrapper<OGRS101Reader::InfoAssocCodeTag, int>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<cpl::IntWrapper<OGRS101Reader::InfoAssocCodeTag, int> >, std::__1::allocator<std::__1::pair<cpl::IntWrapper<OGRS101Reader::InfoAssocCodeTag, int> const, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > > const&, cpl::IntWrapper<OGRS101Reader::InfoAssocCodeTag, int> const&)
Line
Count
Source
1261
967
    {
1262
967
        return container.find(value) != container.end();
1263
967
    }
bool cpl::contains<std::__1::map<cpl::IntWrapper<OGRS101Reader::FeatureAssocCodeTag, int>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<cpl::IntWrapper<OGRS101Reader::FeatureAssocCodeTag, int> >, std::__1::allocator<std::__1::pair<cpl::IntWrapper<OGRS101Reader::FeatureAssocCodeTag, int> const, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > >, cpl::IntWrapper<OGRS101Reader::FeatureAssocCodeTag, int> >(std::__1::map<cpl::IntWrapper<OGRS101Reader::FeatureAssocCodeTag, int>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<cpl::IntWrapper<OGRS101Reader::FeatureAssocCodeTag, int> >, std::__1::allocator<std::__1::pair<cpl::IntWrapper<OGRS101Reader::FeatureAssocCodeTag, int> const, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > > const&, cpl::IntWrapper<OGRS101Reader::FeatureAssocCodeTag, int> const&)
Line
Count
Source
1261
141
    {
1262
141
        return container.find(value) != container.end();
1263
141
    }
bool cpl::contains<std::__1::map<cpl::IntWrapper<OGRS101Reader::AssocRoleCodeTag, int>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<cpl::IntWrapper<OGRS101Reader::AssocRoleCodeTag, int> >, std::__1::allocator<std::__1::pair<cpl::IntWrapper<OGRS101Reader::AssocRoleCodeTag, int> const, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > >, cpl::IntWrapper<OGRS101Reader::AssocRoleCodeTag, int> >(std::__1::map<cpl::IntWrapper<OGRS101Reader::AssocRoleCodeTag, int>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<cpl::IntWrapper<OGRS101Reader::AssocRoleCodeTag, int> >, std::__1::allocator<std::__1::pair<cpl::IntWrapper<OGRS101Reader::AssocRoleCodeTag, int> const, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > > const&, cpl::IntWrapper<OGRS101Reader::AssocRoleCodeTag, int> const&)
Line
Count
Source
1261
1.05k
    {
1262
1.05k
        return container.find(value) != container.end();
1263
1.05k
    }
bool cpl::contains<std::__1::map<int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<int>, std::__1::allocator<std::__1::pair<int const, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > >, int>(std::__1::map<int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::less<int>, std::__1::allocator<std::__1::pair<int const, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > > const&, int const&)
Line
Count
Source
1261
97
    {
1262
97
        return container.find(value) != container.end();
1263
97
    }
bool cpl::contains<std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::unique_ptr<OGRFieldDomain, std::__1::default_delete<OGRFieldDomain> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, std::__1::unique_ptr<OGRFieldDomain, std::__1::default_delete<OGRFieldDomain> > > > >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::unique_ptr<OGRFieldDomain, std::__1::default_delete<OGRFieldDomain> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, std::__1::unique_ptr<OGRFieldDomain, std::__1::default_delete<OGRFieldDomain> > > > > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)
Line
Count
Source
1261
101
    {
1262
101
        return container.find(value) != container.end();
1263
101
    }
bool cpl::contains<std::__1::map<cpl::IntWrapper<OGRS101Reader::CRSIdTag, int>, OGRSpatialReference, std::__1::less<cpl::IntWrapper<OGRS101Reader::CRSIdTag, int> >, std::__1::allocator<std::__1::pair<cpl::IntWrapper<OGRS101Reader::CRSIdTag, int> const, OGRSpatialReference> > >, int>(std::__1::map<cpl::IntWrapper<OGRS101Reader::CRSIdTag, int>, OGRSpatialReference, std::__1::less<cpl::IntWrapper<OGRS101Reader::CRSIdTag, int> >, std::__1::allocator<std::__1::pair<cpl::IntWrapper<OGRS101Reader::CRSIdTag, int> const, OGRSpatialReference> > > const&, int const&)
Line
Count
Source
1261
603
    {
1262
603
        return container.find(value) != container.end();
1263
603
    }
bool cpl::contains<std::__1::map<cpl::IntWrapper<OGRS101Reader::CRSIdTag, int>, OGRSpatialReference, std::__1::less<cpl::IntWrapper<OGRS101Reader::CRSIdTag, int> >, std::__1::allocator<std::__1::pair<cpl::IntWrapper<OGRS101Reader::CRSIdTag, int> const, OGRSpatialReference> > >, cpl::IntWrapper<OGRS101Reader::CRSIdTag, int> >(std::__1::map<cpl::IntWrapper<OGRS101Reader::CRSIdTag, int>, OGRSpatialReference, std::__1::less<cpl::IntWrapper<OGRS101Reader::CRSIdTag, int> >, std::__1::allocator<std::__1::pair<cpl::IntWrapper<OGRS101Reader::CRSIdTag, int> const, OGRSpatialReference> > > const&, cpl::IntWrapper<OGRS101Reader::CRSIdTag, int> const&)
Line
Count
Source
1261
154
    {
1262
154
        return container.find(value) != container.end();
1263
154
    }
Unexecuted instantiation: bool cpl::contains<std::__1::set<unsigned int, std::__1::less<unsigned int>, std::__1::allocator<unsigned int> >, unsigned int>(std::__1::set<unsigned int, std::__1::less<unsigned int>, std::__1::allocator<unsigned int> > const&, unsigned int const&)
Unexecuted instantiation: bool cpl::contains<std::__1::set<unsigned long, std::__1::less<unsigned long>, std::__1::allocator<unsigned long> >, unsigned long>(std::__1::set<unsigned long, std::__1::less<unsigned long>, std::__1::allocator<unsigned long> > const&, unsigned long const&)
Unexecuted instantiation: gdalalg_abstract_pipeline.cpp:bool cpl::contains<std::__1::set<std::__1::pair<GDALAbstractPipelineAlgorithm::ParseCommandLineArguments(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, bool, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >*)::Step*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::less<std::__1::pair<GDALAbstractPipelineAlgorithm::ParseCommandLineArguments(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, bool, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >*)::Step*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >, std::__1::allocator<std::__1::pair<GDALAbstractPipelineAlgorithm::ParseCommandLineArguments(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, bool, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >*)::Step*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > >, std::__1::pair<GDALAbstractPipelineAlgorithm::ParseCommandLineArguments(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, bool, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >*)::Step*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >(std::__1::set<std::__1::pair<GDALAbstractPipelineAlgorithm::ParseCommandLineArguments(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, bool, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >*)::Step*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::less<std::__1::pair<GDALAbstractPipelineAlgorithm::ParseCommandLineArguments(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, bool, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >*)::Step*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >, std::__1::allocator<std::__1::pair<GDALAbstractPipelineAlgorithm::ParseCommandLineArguments(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, bool, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >*)::Step*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > > const&, std::__1::pair<GDALAbstractPipelineAlgorithm::ParseCommandLineArguments(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, bool, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >*)::Step*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > const&)
Unexecuted instantiation: bool cpl::contains<std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, int> > >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, int> > > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)
Unexecuted instantiation: rpftocwriter.cpp:bool cpl::contains<std::__1::map<(anonymous namespace)::ScaleZone, unsigned short, std::__1::less<(anonymous namespace)::ScaleZone>, std::__1::allocator<std::__1::pair<(anonymous namespace)::ScaleZone const, unsigned short> > >, (anonymous namespace)::ScaleZone>(std::__1::map<(anonymous namespace)::ScaleZone, unsigned short, std::__1::less<(anonymous namespace)::ScaleZone>, std::__1::allocator<std::__1::pair<(anonymous namespace)::ScaleZone const, unsigned short> > > const&, (anonymous namespace)::ScaleZone const&)
Unexecuted instantiation: bool cpl::contains<std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, VSIKerchunkKeyInfo, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, VSIKerchunkKeyInfo> > >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, VSIKerchunkKeyInfo, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, VSIKerchunkKeyInfo> > > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)
Unexecuted instantiation: bool cpl::contains<std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::vector<unsigned char, std::__1::allocator<unsigned char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > > > >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::vector<unsigned char, std::__1::allocator<unsigned char> >, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, std::__1::vector<unsigned char, std::__1::allocator<unsigned char> > > > > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)
Unexecuted instantiation: bool cpl::contains<std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, double, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, double> > >, char [20]>(std::__1::map<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, double, std::__1::less<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const, double> > > const&, char const (&) [20])
Unexecuted instantiation: bool cpl::contains<std::__1::map<CPLString, std::__1::shared_ptr<ZarrDimension>, std::__1::less<CPLString>, std::__1::allocator<std::__1::pair<CPLString const, std::__1::shared_ptr<ZarrDimension> > > >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::map<CPLString, std::__1::shared_ptr<ZarrDimension>, std::__1::less<CPLString>, std::__1::allocator<std::__1::pair<CPLString const, std::__1::shared_ptr<ZarrDimension> > > > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)
bool cpl::contains<std::__1::set<unsigned long long, std::__1::less<unsigned long long>, std::__1::allocator<unsigned long long> >, unsigned long long>(std::__1::set<unsigned long long, std::__1::less<unsigned long long>, std::__1::allocator<unsigned long long> > const&, unsigned long long const&)
Line
Count
Source
1261
478
    {
1262
478
        return container.find(value) != container.end();
1263
478
    }
1264
1265
    }  // namespace cpl
1266
}
1267
#endif
1268
1269
/*! @endcond */
1270
1271
/* This typedef is for C functions that take char** as argument, but */
1272
/* with the semantics of a const list. In C, char** is not implicitly cast to */
1273
/* const char* const*, contrary to C++. So when seen for C++, it is OK */
1274
/* to expose the prototypes as const char* const*, but for C we keep the */
1275
/* historical definition to avoid warnings. */
1276
#if defined(__cplusplus) && !defined(CPL_SUPRESS_CPLUSPLUS) &&                 \
1277
    !defined(DOXYGEN_SKIP)
1278
/** Type of a constant null-terminated list of nul terminated strings.
1279
 * Seen as char** from C and const char* const* from C++ */
1280
typedef const char *const *CSLConstList;
1281
#else
1282
/** Type of a constant null-terminated list of nul terminated strings.
1283
 * Seen as char** from C and const char* const* from C++ */
1284
typedef char **CSLConstList;
1285
#endif
1286
1287
#if defined(__cplusplus) && defined(GDAL_COMPILATION)
1288
#if defined(__GNUC__) && !defined(DOXYGEN_SKIP)
1289
/** Macro that evaluates to (cond), and possibly gives a hint to the compiler
1290
 * than (cond) is unlikely to be true.
1291
 */
1292
1.32G
#define CPL_UNLIKELY(cond) __builtin_expect(static_cast<bool>(cond), 0)
1293
#else
1294
#define CPL_UNLIKELY(cond) (cond)
1295
#endif
1296
#endif
1297
1298
#endif /* ndef CPL_BASE_H_INCLUDED */