# 0 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" # 1 "/var/tmp/portage/media-libs/gst-plugins-bad-1.22.3-r3/work/gst-plugins-bad-1.22.3-.lp64d//" # 0 "" #define __STDC__ 1 # 0 "" #define __STDC_VERSION__ 201710L # 0 "" #define __STDC_UTF_16__ 1 # 0 "" #define __STDC_UTF_32__ 1 # 0 "" #define __STDC_HOSTED__ 1 # 0 "" #define __GNUC__ 13 # 0 "" #define __GNUC_MINOR__ 2 # 0 "" #define __GNUC_PATCHLEVEL__ 1 # 0 "" #define __VERSION__ "13.2.1 20240210" # 0 "" #define __ATOMIC_RELAXED 0 # 0 "" #define __ATOMIC_SEQ_CST 5 # 0 "" #define __ATOMIC_ACQUIRE 2 # 0 "" #define __ATOMIC_RELEASE 3 # 0 "" #define __ATOMIC_ACQ_REL 4 # 0 "" #define __ATOMIC_CONSUME 1 # 0 "" #define __pic__ 2 # 0 "" #define __PIC__ 2 # 0 "" #define __OPTIMIZE__ 1 # 0 "" #define __FINITE_MATH_ONLY__ 0 # 0 "" #define _LP64 1 # 0 "" #define __LP64__ 1 # 0 "" #define __SIZEOF_INT__ 4 # 0 "" #define __SIZEOF_LONG__ 8 # 0 "" #define __SIZEOF_LONG_LONG__ 8 # 0 "" #define __SIZEOF_SHORT__ 2 # 0 "" #define __SIZEOF_FLOAT__ 4 # 0 "" #define __SIZEOF_DOUBLE__ 8 # 0 "" #define __SIZEOF_LONG_DOUBLE__ 16 # 0 "" #define __SIZEOF_SIZE_T__ 8 # 0 "" #define __CHAR_BIT__ 8 # 0 "" #define __BIGGEST_ALIGNMENT__ 16 # 0 "" #define __ORDER_LITTLE_ENDIAN__ 1234 # 0 "" #define __ORDER_BIG_ENDIAN__ 4321 # 0 "" #define __ORDER_PDP_ENDIAN__ 3412 # 0 "" #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__ # 0 "" #define __FLOAT_WORD_ORDER__ __ORDER_LITTLE_ENDIAN__ # 0 "" #define __SIZEOF_POINTER__ 8 # 0 "" #define __GNUC_EXECUTION_CHARSET_NAME "UTF-8" # 0 "" #define __GNUC_WIDE_EXECUTION_CHARSET_NAME "UTF-32LE" # 0 "" #define __SIZE_TYPE__ long unsigned int # 0 "" #define __PTRDIFF_TYPE__ long int # 0 "" #define __WCHAR_TYPE__ int # 0 "" #define __WINT_TYPE__ unsigned int # 0 "" #define __INTMAX_TYPE__ long int # 0 "" #define __UINTMAX_TYPE__ long unsigned int # 0 "" #define __CHAR16_TYPE__ short unsigned int # 0 "" #define __CHAR32_TYPE__ unsigned int # 0 "" #define __SIG_ATOMIC_TYPE__ int # 0 "" #define __INT8_TYPE__ signed char # 0 "" #define __INT16_TYPE__ short int # 0 "" #define __INT32_TYPE__ int # 0 "" #define __INT64_TYPE__ long int # 0 "" #define __UINT8_TYPE__ unsigned char # 0 "" #define __UINT16_TYPE__ short unsigned int # 0 "" #define __UINT32_TYPE__ unsigned int # 0 "" #define __UINT64_TYPE__ long unsigned int # 0 "" #define __INT_LEAST8_TYPE__ signed char # 0 "" #define __INT_LEAST16_TYPE__ short int # 0 "" #define __INT_LEAST32_TYPE__ int # 0 "" #define __INT_LEAST64_TYPE__ long int # 0 "" #define __UINT_LEAST8_TYPE__ unsigned char # 0 "" #define __UINT_LEAST16_TYPE__ short unsigned int # 0 "" #define __UINT_LEAST32_TYPE__ unsigned int # 0 "" #define __UINT_LEAST64_TYPE__ long unsigned int # 0 "" #define __INT_FAST8_TYPE__ signed char # 0 "" #define __INT_FAST16_TYPE__ long int # 0 "" #define __INT_FAST32_TYPE__ long int # 0 "" #define __INT_FAST64_TYPE__ long int # 0 "" #define __UINT_FAST8_TYPE__ unsigned char # 0 "" #define __UINT_FAST16_TYPE__ long unsigned int # 0 "" #define __UINT_FAST32_TYPE__ long unsigned int # 0 "" #define __UINT_FAST64_TYPE__ long unsigned int # 0 "" #define __INTPTR_TYPE__ long int # 0 "" #define __UINTPTR_TYPE__ long unsigned int # 0 "" #define __GXX_ABI_VERSION 1018 # 0 "" #define __SCHAR_MAX__ 0x7f # 0 "" #define __SHRT_MAX__ 0x7fff # 0 "" #define __INT_MAX__ 0x7fffffff # 0 "" #define __LONG_MAX__ 0x7fffffffffffffffL # 0 "" #define __LONG_LONG_MAX__ 0x7fffffffffffffffLL # 0 "" #define __WCHAR_MAX__ 0x7fffffff # 0 "" #define __WCHAR_MIN__ (-__WCHAR_MAX__ - 1) # 0 "" #define __WINT_MAX__ 0xffffffffU # 0 "" #define __WINT_MIN__ 0U # 0 "" #define __PTRDIFF_MAX__ 0x7fffffffffffffffL # 0 "" #define __SIZE_MAX__ 0xffffffffffffffffUL # 0 "" #define __SCHAR_WIDTH__ 8 # 0 "" #define __SHRT_WIDTH__ 16 # 0 "" #define __INT_WIDTH__ 32 # 0 "" #define __LONG_WIDTH__ 64 # 0 "" #define __LONG_LONG_WIDTH__ 64 # 0 "" #define __WCHAR_WIDTH__ 32 # 0 "" #define __WINT_WIDTH__ 32 # 0 "" #define __PTRDIFF_WIDTH__ 64 # 0 "" #define __SIZE_WIDTH__ 64 # 0 "" #define __INTMAX_MAX__ 0x7fffffffffffffffL # 0 "" #define __INTMAX_C(c) c ## L # 0 "" #define __UINTMAX_MAX__ 0xffffffffffffffffUL # 0 "" #define __UINTMAX_C(c) c ## UL # 0 "" #define __INTMAX_WIDTH__ 64 # 0 "" #define __SIG_ATOMIC_MAX__ 0x7fffffff # 0 "" #define __SIG_ATOMIC_MIN__ (-__SIG_ATOMIC_MAX__ - 1) # 0 "" #define __SIG_ATOMIC_WIDTH__ 32 # 0 "" #define __INT8_MAX__ 0x7f # 0 "" #define __INT16_MAX__ 0x7fff # 0 "" #define __INT32_MAX__ 0x7fffffff # 0 "" #define __INT64_MAX__ 0x7fffffffffffffffL # 0 "" #define __UINT8_MAX__ 0xff # 0 "" #define __UINT16_MAX__ 0xffff # 0 "" #define __UINT32_MAX__ 0xffffffffU # 0 "" #define __UINT64_MAX__ 0xffffffffffffffffUL # 0 "" #define __INT_LEAST8_MAX__ 0x7f # 0 "" #define __INT8_C(c) c # 0 "" #define __INT_LEAST8_WIDTH__ 8 # 0 "" #define __INT_LEAST16_MAX__ 0x7fff # 0 "" #define __INT16_C(c) c # 0 "" #define __INT_LEAST16_WIDTH__ 16 # 0 "" #define __INT_LEAST32_MAX__ 0x7fffffff # 0 "" #define __INT32_C(c) c # 0 "" #define __INT_LEAST32_WIDTH__ 32 # 0 "" #define __INT_LEAST64_MAX__ 0x7fffffffffffffffL # 0 "" #define __INT64_C(c) c ## L # 0 "" #define __INT_LEAST64_WIDTH__ 64 # 0 "" #define __UINT_LEAST8_MAX__ 0xff # 0 "" #define __UINT8_C(c) c # 0 "" #define __UINT_LEAST16_MAX__ 0xffff # 0 "" #define __UINT16_C(c) c # 0 "" #define __UINT_LEAST32_MAX__ 0xffffffffU # 0 "" #define __UINT32_C(c) c ## U # 0 "" #define __UINT_LEAST64_MAX__ 0xffffffffffffffffUL # 0 "" #define __UINT64_C(c) c ## UL # 0 "" #define __INT_FAST8_MAX__ 0x7f # 0 "" #define __INT_FAST8_WIDTH__ 8 # 0 "" #define __INT_FAST16_MAX__ 0x7fffffffffffffffL # 0 "" #define __INT_FAST16_WIDTH__ 64 # 0 "" #define __INT_FAST32_MAX__ 0x7fffffffffffffffL # 0 "" #define __INT_FAST32_WIDTH__ 64 # 0 "" #define __INT_FAST64_MAX__ 0x7fffffffffffffffL # 0 "" #define __INT_FAST64_WIDTH__ 64 # 0 "" #define __UINT_FAST8_MAX__ 0xff # 0 "" #define __UINT_FAST16_MAX__ 0xffffffffffffffffUL # 0 "" #define __UINT_FAST32_MAX__ 0xffffffffffffffffUL # 0 "" #define __UINT_FAST64_MAX__ 0xffffffffffffffffUL # 0 "" #define __INTPTR_MAX__ 0x7fffffffffffffffL # 0 "" #define __INTPTR_WIDTH__ 64 # 0 "" #define __UINTPTR_MAX__ 0xffffffffffffffffUL # 0 "" #define __GCC_IEC_559 2 # 0 "" #define __GCC_IEC_559_COMPLEX 2 # 0 "" #define __FLT_EVAL_METHOD__ 0 # 0 "" #define __FLT_EVAL_METHOD_TS_18661_3__ 0 # 0 "" #define __DEC_EVAL_METHOD__ 2 # 0 "" #define __FLT_RADIX__ 2 # 0 "" #define __FLT_MANT_DIG__ 24 # 0 "" #define __FLT_DIG__ 6 # 0 "" #define __FLT_MIN_EXP__ (-125) # 0 "" #define __FLT_MIN_10_EXP__ (-37) # 0 "" #define __FLT_MAX_EXP__ 128 # 0 "" #define __FLT_MAX_10_EXP__ 38 # 0 "" #define __FLT_DECIMAL_DIG__ 9 # 0 "" #define __FLT_MAX__ 3.40282346638528859811704183484516925e+38F # 0 "" #define __FLT_NORM_MAX__ 3.40282346638528859811704183484516925e+38F # 0 "" #define __FLT_MIN__ 1.17549435082228750796873653722224568e-38F # 0 "" #define __FLT_EPSILON__ 1.19209289550781250000000000000000000e-7F # 0 "" #define __FLT_DENORM_MIN__ 1.40129846432481707092372958328991613e-45F # 0 "" #define __FLT_HAS_DENORM__ 1 # 0 "" #define __FLT_HAS_INFINITY__ 1 # 0 "" #define __FLT_HAS_QUIET_NAN__ 1 # 0 "" #define __FP_FAST_FMAF 1 # 0 "" #define __FLT_IS_IEC_60559__ 1 # 0 "" #define __DBL_MANT_DIG__ 53 # 0 "" #define __DBL_DIG__ 15 # 0 "" #define __DBL_MIN_EXP__ (-1021) # 0 "" #define __DBL_MIN_10_EXP__ (-307) # 0 "" #define __DBL_MAX_EXP__ 1024 # 0 "" #define __DBL_MAX_10_EXP__ 308 # 0 "" #define __DBL_DECIMAL_DIG__ 17 # 0 "" #define __DBL_MAX__ ((double)1.79769313486231570814527423731704357e+308L) # 0 "" #define __DBL_NORM_MAX__ ((double)1.79769313486231570814527423731704357e+308L) # 0 "" #define __DBL_MIN__ ((double)2.22507385850720138309023271733240406e-308L) # 0 "" #define __DBL_EPSILON__ ((double)2.22044604925031308084726333618164062e-16L) # 0 "" #define __DBL_DENORM_MIN__ ((double)4.94065645841246544176568792868221372e-324L) # 0 "" #define __DBL_HAS_DENORM__ 1 # 0 "" #define __DBL_HAS_INFINITY__ 1 # 0 "" #define __DBL_HAS_QUIET_NAN__ 1 # 0 "" #define __FP_FAST_FMA 1 # 0 "" #define __DBL_IS_IEC_60559__ 1 # 0 "" #define __LDBL_MANT_DIG__ 113 # 0 "" #define __LDBL_DIG__ 33 # 0 "" #define __LDBL_MIN_EXP__ (-16381) # 0 "" #define __LDBL_MIN_10_EXP__ (-4931) # 0 "" #define __LDBL_MAX_EXP__ 16384 # 0 "" #define __LDBL_MAX_10_EXP__ 4932 # 0 "" #define __DECIMAL_DIG__ 36 # 0 "" #define __LDBL_DECIMAL_DIG__ 36 # 0 "" #define __LDBL_MAX__ 1.18973149535723176508575932662800702e+4932L # 0 "" #define __LDBL_NORM_MAX__ 1.18973149535723176508575932662800702e+4932L # 0 "" #define __LDBL_MIN__ 3.36210314311209350626267781732175260e-4932L # 0 "" #define __LDBL_EPSILON__ 1.92592994438723585305597794258492732e-34L # 0 "" #define __LDBL_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966L # 0 "" #define __LDBL_HAS_DENORM__ 1 # 0 "" #define __LDBL_HAS_INFINITY__ 1 # 0 "" #define __LDBL_HAS_QUIET_NAN__ 1 # 0 "" #define __LDBL_IS_IEC_60559__ 1 # 0 "" #define __FLT16_MANT_DIG__ 11 # 0 "" #define __FLT16_DIG__ 3 # 0 "" #define __FLT16_MIN_EXP__ (-13) # 0 "" #define __FLT16_MIN_10_EXP__ (-4) # 0 "" #define __FLT16_MAX_EXP__ 16 # 0 "" #define __FLT16_MAX_10_EXP__ 4 # 0 "" #define __FLT16_DECIMAL_DIG__ 5 # 0 "" #define __FLT16_MAX__ 6.55040000000000000000000000000000000e+4F16 # 0 "" #define __FLT16_NORM_MAX__ 6.55040000000000000000000000000000000e+4F16 # 0 "" #define __FLT16_MIN__ 6.10351562500000000000000000000000000e-5F16 # 0 "" #define __FLT16_EPSILON__ 9.76562500000000000000000000000000000e-4F16 # 0 "" #define __FLT16_DENORM_MIN__ 5.96046447753906250000000000000000000e-8F16 # 0 "" #define __FLT16_HAS_DENORM__ 1 # 0 "" #define __FLT16_HAS_INFINITY__ 1 # 0 "" #define __FLT16_HAS_QUIET_NAN__ 1 # 0 "" #define __FLT16_IS_IEC_60559__ 1 # 0 "" #define __FLT32_MANT_DIG__ 24 # 0 "" #define __FLT32_DIG__ 6 # 0 "" #define __FLT32_MIN_EXP__ (-125) # 0 "" #define __FLT32_MIN_10_EXP__ (-37) # 0 "" #define __FLT32_MAX_EXP__ 128 # 0 "" #define __FLT32_MAX_10_EXP__ 38 # 0 "" #define __FLT32_DECIMAL_DIG__ 9 # 0 "" #define __FLT32_MAX__ 3.40282346638528859811704183484516925e+38F32 # 0 "" #define __FLT32_NORM_MAX__ 3.40282346638528859811704183484516925e+38F32 # 0 "" #define __FLT32_MIN__ 1.17549435082228750796873653722224568e-38F32 # 0 "" #define __FLT32_EPSILON__ 1.19209289550781250000000000000000000e-7F32 # 0 "" #define __FLT32_DENORM_MIN__ 1.40129846432481707092372958328991613e-45F32 # 0 "" #define __FLT32_HAS_DENORM__ 1 # 0 "" #define __FLT32_HAS_INFINITY__ 1 # 0 "" #define __FLT32_HAS_QUIET_NAN__ 1 # 0 "" #define __FP_FAST_FMAF32 1 # 0 "" #define __FLT32_IS_IEC_60559__ 1 # 0 "" #define __FLT64_MANT_DIG__ 53 # 0 "" #define __FLT64_DIG__ 15 # 0 "" #define __FLT64_MIN_EXP__ (-1021) # 0 "" #define __FLT64_MIN_10_EXP__ (-307) # 0 "" #define __FLT64_MAX_EXP__ 1024 # 0 "" #define __FLT64_MAX_10_EXP__ 308 # 0 "" #define __FLT64_DECIMAL_DIG__ 17 # 0 "" #define __FLT64_MAX__ 1.79769313486231570814527423731704357e+308F64 # 0 "" #define __FLT64_NORM_MAX__ 1.79769313486231570814527423731704357e+308F64 # 0 "" #define __FLT64_MIN__ 2.22507385850720138309023271733240406e-308F64 # 0 "" #define __FLT64_EPSILON__ 2.22044604925031308084726333618164062e-16F64 # 0 "" #define __FLT64_DENORM_MIN__ 4.94065645841246544176568792868221372e-324F64 # 0 "" #define __FLT64_HAS_DENORM__ 1 # 0 "" #define __FLT64_HAS_INFINITY__ 1 # 0 "" #define __FLT64_HAS_QUIET_NAN__ 1 # 0 "" #define __FP_FAST_FMAF64 1 # 0 "" #define __FLT64_IS_IEC_60559__ 1 # 0 "" #define __FLT128_MANT_DIG__ 113 # 0 "" #define __FLT128_DIG__ 33 # 0 "" #define __FLT128_MIN_EXP__ (-16381) # 0 "" #define __FLT128_MIN_10_EXP__ (-4931) # 0 "" #define __FLT128_MAX_EXP__ 16384 # 0 "" #define __FLT128_MAX_10_EXP__ 4932 # 0 "" #define __FLT128_DECIMAL_DIG__ 36 # 0 "" #define __FLT128_MAX__ 1.18973149535723176508575932662800702e+4932F128 # 0 "" #define __FLT128_NORM_MAX__ 1.18973149535723176508575932662800702e+4932F128 # 0 "" #define __FLT128_MIN__ 3.36210314311209350626267781732175260e-4932F128 # 0 "" #define __FLT128_EPSILON__ 1.92592994438723585305597794258492732e-34F128 # 0 "" #define __FLT128_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966F128 # 0 "" #define __FLT128_HAS_DENORM__ 1 # 0 "" #define __FLT128_HAS_INFINITY__ 1 # 0 "" #define __FLT128_HAS_QUIET_NAN__ 1 # 0 "" #define __FLT128_IS_IEC_60559__ 1 # 0 "" #define __FLT32X_MANT_DIG__ 53 # 0 "" #define __FLT32X_DIG__ 15 # 0 "" #define __FLT32X_MIN_EXP__ (-1021) # 0 "" #define __FLT32X_MIN_10_EXP__ (-307) # 0 "" #define __FLT32X_MAX_EXP__ 1024 # 0 "" #define __FLT32X_MAX_10_EXP__ 308 # 0 "" #define __FLT32X_DECIMAL_DIG__ 17 # 0 "" #define __FLT32X_MAX__ 1.79769313486231570814527423731704357e+308F32x # 0 "" #define __FLT32X_NORM_MAX__ 1.79769313486231570814527423731704357e+308F32x # 0 "" #define __FLT32X_MIN__ 2.22507385850720138309023271733240406e-308F32x # 0 "" #define __FLT32X_EPSILON__ 2.22044604925031308084726333618164062e-16F32x # 0 "" #define __FLT32X_DENORM_MIN__ 4.94065645841246544176568792868221372e-324F32x # 0 "" #define __FLT32X_HAS_DENORM__ 1 # 0 "" #define __FLT32X_HAS_INFINITY__ 1 # 0 "" #define __FLT32X_HAS_QUIET_NAN__ 1 # 0 "" #define __FP_FAST_FMAF32x 1 # 0 "" #define __FLT32X_IS_IEC_60559__ 1 # 0 "" #define __FLT64X_MANT_DIG__ 113 # 0 "" #define __FLT64X_DIG__ 33 # 0 "" #define __FLT64X_MIN_EXP__ (-16381) # 0 "" #define __FLT64X_MIN_10_EXP__ (-4931) # 0 "" #define __FLT64X_MAX_EXP__ 16384 # 0 "" #define __FLT64X_MAX_10_EXP__ 4932 # 0 "" #define __FLT64X_DECIMAL_DIG__ 36 # 0 "" #define __FLT64X_MAX__ 1.18973149535723176508575932662800702e+4932F64x # 0 "" #define __FLT64X_NORM_MAX__ 1.18973149535723176508575932662800702e+4932F64x # 0 "" #define __FLT64X_MIN__ 3.36210314311209350626267781732175260e-4932F64x # 0 "" #define __FLT64X_EPSILON__ 1.92592994438723585305597794258492732e-34F64x # 0 "" #define __FLT64X_DENORM_MIN__ 6.47517511943802511092443895822764655e-4966F64x # 0 "" #define __FLT64X_HAS_DENORM__ 1 # 0 "" #define __FLT64X_HAS_INFINITY__ 1 # 0 "" #define __FLT64X_HAS_QUIET_NAN__ 1 # 0 "" #define __FLT64X_IS_IEC_60559__ 1 # 0 "" #define __REGISTER_PREFIX__ # 0 "" #define __USER_LABEL_PREFIX__ # 0 "" #define _FORTIFY_SOURCE 2 # 0 "" #define __GNUC_STDC_INLINE__ 1 # 0 "" #define __CHAR_UNSIGNED__ 1 # 0 "" #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 1 # 0 "" #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 1 # 0 "" #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1 # 0 "" #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 1 # 0 "" #define __GCC_ATOMIC_BOOL_LOCK_FREE 2 # 0 "" #define __GCC_ATOMIC_CHAR_LOCK_FREE 2 # 0 "" #define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2 # 0 "" #define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2 # 0 "" #define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2 # 0 "" #define __GCC_ATOMIC_SHORT_LOCK_FREE 2 # 0 "" #define __GCC_ATOMIC_INT_LOCK_FREE 2 # 0 "" #define __GCC_ATOMIC_LONG_LOCK_FREE 2 # 0 "" #define __GCC_ATOMIC_LLONG_LOCK_FREE 2 # 0 "" #define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1 # 0 "" #define __GCC_ATOMIC_POINTER_LOCK_FREE 2 # 0 "" #define __GCC_HAVE_DWARF2_CFI_ASM 1 # 0 "" #define __PRAGMA_REDEFINE_EXTNAME 1 # 0 "" #define __SSP_STRONG__ 3 # 0 "" #define __SIZEOF_INT128__ 16 # 0 "" #define __SIZEOF_WCHAR_T__ 4 # 0 "" #define __SIZEOF_WINT_T__ 4 # 0 "" #define __SIZEOF_PTRDIFF_T__ 8 # 0 "" #define __riscv 1 # 0 "" #define __riscv_compressed 1 # 0 "" #define __riscv_atomic 1 # 0 "" #define __riscv_mul 1 # 0 "" #define __riscv_div 1 # 0 "" #define __riscv_muldiv 1 # 0 "" #define __riscv_xlen 64 # 0 "" #define __riscv_flen 64 # 0 "" #define __riscv_fdiv 1 # 0 "" #define __riscv_fsqrt 1 # 0 "" #define __riscv_float_abi_double 1 # 0 "" #define __riscv_cmodel_medany 1 # 0 "" #define __riscv_arch_test 1 # 0 "" #define __riscv_i 2001000 # 0 "" #define __riscv_m 2000000 # 0 "" #define __riscv_a 2001000 # 0 "" #define __riscv_f 2002000 # 0 "" #define __riscv_d 2002000 # 0 "" #define __riscv_c 2000000 # 0 "" #define __riscv_zicsr 2000000 # 0 "" #define __gnu_linux__ 1 # 0 "" #define __linux 1 # 0 "" #define __linux__ 1 # 0 "" #define linux 1 # 0 "" #define __unix 1 # 0 "" #define __unix__ 1 # 0 "" #define unix 1 # 0 "" #define __ELF__ 1 # 0 "" #define _REENTRANT 1 # 0 "" #define _FILE_OFFSET_BITS 64 # 0 "" #define G_DISABLE_CAST_CHECKS 1 # 0 "" #define HAVE_CONFIG_H 1 # 0 "" #define LIQ_PRIVATE # 0 "" # 1 "/usr/include/stdc-predef.h" 1 3 4 # 19 "/usr/include/stdc-predef.h" 3 4 #define _STDC_PREDEF_H 1 # 38 "/usr/include/stdc-predef.h" 3 4 #define __STDC_IEC_559__ 1 #define __STDC_IEC_60559_BFP__ 201404L # 48 "/usr/include/stdc-predef.h" 3 4 #define __STDC_IEC_559_COMPLEX__ 1 #define __STDC_IEC_60559_COMPLEX__ 201404L # 62 "/usr/include/stdc-predef.h" 3 4 #define __STDC_ISO_10646__ 201706L # 0 "" 2 # 1 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" # 16 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" # 1 "/usr/include/stdio.h" 1 3 4 # 25 "/usr/include/stdio.h" 3 4 #define _STDIO_H 1 #define __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION # 1 "/usr/include/bits/libc-header-start.h" 1 3 4 # 31 "/usr/include/bits/libc-header-start.h" 3 4 #undef __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION # 1 "/usr/include/features.h" 1 3 4 # 19 "/usr/include/features.h" 3 4 #define _FEATURES_H 1 # 127 "/usr/include/features.h" 3 4 #undef __USE_ISOC11 #undef __USE_ISOC99 #undef __USE_ISOC95 #undef __USE_ISOCXX11 #undef __USE_POSIX #undef __USE_POSIX2 #undef __USE_POSIX199309 #undef __USE_POSIX199506 #undef __USE_XOPEN #undef __USE_XOPEN_EXTENDED #undef __USE_UNIX98 #undef __USE_XOPEN2K #undef __USE_XOPEN2KXSI #undef __USE_XOPEN2K8 #undef __USE_XOPEN2K8XSI #undef __USE_LARGEFILE #undef __USE_LARGEFILE64 #undef __USE_FILE_OFFSET64 #undef __USE_MISC #undef __USE_ATFILE #undef __USE_DYNAMIC_STACK_SIZE #undef __USE_GNU #undef __USE_FORTIFY_LEVEL #undef __KERNEL_STRICT_NAMES #undef __GLIBC_USE_ISOC2X #undef __GLIBC_USE_DEPRECATED_GETS #undef __GLIBC_USE_DEPRECATED_SCANF #undef __GLIBC_USE_C2X_STRTOL #define __KERNEL_STRICT_NAMES # 170 "/usr/include/features.h" 3 4 #define __GNUC_PREREQ(maj,min) ((__GNUC__ << 16) + __GNUC_MINOR__ >= ((maj) << 16) + (min)) # 184 "/usr/include/features.h" 3 4 #define __glibc_clang_prereq(maj,min) 0 #define __GLIBC_USE(F) __GLIBC_USE_ ## F # 237 "/usr/include/features.h" 3 4 #undef _DEFAULT_SOURCE #define _DEFAULT_SOURCE 1 #define __GLIBC_USE_ISOC2X 0 #define __USE_ISOC11 1 #define __USE_ISOC99 1 #define __USE_ISOC95 1 # 287 "/usr/include/features.h" 3 4 #define __USE_POSIX_IMPLICITLY 1 #undef _POSIX_SOURCE #define _POSIX_SOURCE 1 #undef _POSIX_C_SOURCE #define _POSIX_C_SOURCE 200809L # 327 "/usr/include/features.h" 3 4 #define __USE_POSIX 1 #define __USE_POSIX2 1 #define __USE_POSIX199309 1 #define __USE_POSIX199506 1 #define __USE_XOPEN2K 1 #undef __USE_ISOC95 #define __USE_ISOC95 1 #undef __USE_ISOC99 #define __USE_ISOC99 1 #define __USE_XOPEN2K8 1 #undef _ATFILE_SOURCE #define _ATFILE_SOURCE 1 # 391 "/usr/include/features.h" 3 4 #define __USE_FILE_OFFSET64 1 # 1 "/usr/include/features-time64.h" 1 3 4 # 20 "/usr/include/features-time64.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 20 "/usr/include/bits/wordsize.h" 3 4 #define __WORDSIZE __riscv_xlen #define __WORDSIZE_TIME64_COMPAT32 1 # 21 "/usr/include/features-time64.h" 2 3 4 # 1 "/usr/include/bits/timesize.h" 1 3 4 # 20 "/usr/include/bits/timesize.h" 3 4 #define __TIMESIZE 64 # 22 "/usr/include/features-time64.h" 2 3 4 # 395 "/usr/include/features.h" 2 3 4 #define __USE_MISC 1 #define __USE_ATFILE 1 # 428 "/usr/include/features.h" 3 4 #define __USE_FORTIFY_LEVEL 2 # 442 "/usr/include/features.h" 3 4 #define __GLIBC_USE_DEPRECATED_GETS 0 # 465 "/usr/include/features.h" 3 4 #define __GLIBC_USE_DEPRECATED_SCANF 0 # 476 "/usr/include/features.h" 3 4 #define __GLIBC_USE_C2X_STRTOL 0 # 489 "/usr/include/features.h" 3 4 #undef __GNU_LIBRARY__ #define __GNU_LIBRARY__ 6 #define __GLIBC__ 2 #define __GLIBC_MINOR__ 39 #define __GLIBC_PREREQ(maj,min) ((__GLIBC__ << 16) + __GLIBC_MINOR__ >= ((maj) << 16) + (min)) # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 20 "/usr/include/sys/cdefs.h" 3 4 #define _SYS_CDEFS_H 1 # 35 "/usr/include/sys/cdefs.h" 3 4 #undef __P #undef __PMT # 45 "/usr/include/sys/cdefs.h" 3 4 #define __glibc_has_attribute(attr) __has_attribute (attr) #define __glibc_has_builtin(name) __has_builtin (name) #define __glibc_has_extension(ext) 0 #define __LEAF , __leaf__ #define __LEAF_ATTR __attribute__ ((__leaf__)) # 79 "/usr/include/sys/cdefs.h" 3 4 #define __THROW __attribute__ ((__nothrow__ __LEAF)) #define __THROWNL __attribute__ ((__nothrow__)) #define __NTH(fct) __attribute__ ((__nothrow__ __LEAF)) fct #define __NTHNL(fct) __attribute__ ((__nothrow__)) fct # 102 "/usr/include/sys/cdefs.h" 3 4 #define __COLD __attribute__ ((__cold__)) # 125 "/usr/include/sys/cdefs.h" 3 4 #define __P(args) args #define __PMT(args) args #define __CONCAT(x,y) x ## y #define __STRING(x) #x #define __ptr_t void * #define __BEGIN_DECLS #define __END_DECLS #define __bos(ptr) __builtin_object_size (ptr, __USE_FORTIFY_LEVEL > 1) #define __bos0(ptr) __builtin_object_size (ptr, 0) #define __glibc_objsize0(__o) __bos0 (__o) #define __glibc_objsize(__o) __bos (__o) #define __glibc_safe_len_cond(__l,__s,__osz) ((__l) <= (__osz) / (__s)) #define __glibc_unsigned_or_positive(__l) ((__typeof (__l)) 0 < (__typeof (__l)) -1 || (__builtin_constant_p (__l) && (__l) > 0)) #define __glibc_safe_or_unknown_len(__l,__s,__osz) ((__builtin_constant_p (__osz) && (__osz) == (__SIZE_TYPE__) -1) || (__glibc_unsigned_or_positive (__l) && __builtin_constant_p (__glibc_safe_len_cond ((__SIZE_TYPE__) (__l), (__s), (__osz))) && __glibc_safe_len_cond ((__SIZE_TYPE__) (__l), (__s), (__osz)))) # 184 "/usr/include/sys/cdefs.h" 3 4 #define __glibc_unsafe_len(__l,__s,__osz) (__glibc_unsigned_or_positive (__l) && __builtin_constant_p (__glibc_safe_len_cond ((__SIZE_TYPE__) (__l), __s, __osz)) && !__glibc_safe_len_cond ((__SIZE_TYPE__) (__l), __s, __osz)) # 193 "/usr/include/sys/cdefs.h" 3 4 #define __glibc_fortify(f,__l,__s,__osz,...) (__glibc_safe_or_unknown_len (__l, __s, __osz) ? __ ## f ## _alias (__VA_ARGS__) : (__glibc_unsafe_len (__l, __s, __osz) ? __ ## f ## _chk_warn (__VA_ARGS__, __osz) : __ ## f ## _chk (__VA_ARGS__, __osz))) # 203 "/usr/include/sys/cdefs.h" 3 4 #define __glibc_fortify_n(f,__l,__s,__osz,...) (__glibc_safe_or_unknown_len (__l, __s, __osz) ? __ ## f ## _alias (__VA_ARGS__) : (__glibc_unsafe_len (__l, __s, __osz) ? __ ## f ## _chk_warn (__VA_ARGS__, (__osz) / (__s)) : __ ## f ## _chk (__VA_ARGS__, (__osz) / (__s)))) # 212 "/usr/include/sys/cdefs.h" 3 4 #define __warnattr(msg) __attribute__((__warning__ (msg))) #define __errordecl(name,msg) extern void name (void) __attribute__((__error__ (msg))) # 225 "/usr/include/sys/cdefs.h" 3 4 #define __flexarr [] #define __glibc_c99_flexarr_available 1 # 256 "/usr/include/sys/cdefs.h" 3 4 #define __REDIRECT(name,proto,alias) name proto __asm__ (__ASMNAME (#alias)) #define __REDIRECT_NTH(name,proto,alias) name proto __asm__ (__ASMNAME (#alias)) __THROW #define __REDIRECT_NTHNL(name,proto,alias) name proto __asm__ (__ASMNAME (#alias)) __THROWNL #define __ASMNAME(cname) __ASMNAME2 (__USER_LABEL_PREFIX__, cname) #define __ASMNAME2(prefix,cname) __STRING (prefix) cname #define __REDIRECT_FORTIFY __REDIRECT #define __REDIRECT_FORTIFY_NTH __REDIRECT_NTH # 298 "/usr/include/sys/cdefs.h" 3 4 #define __attribute_malloc__ __attribute__ ((__malloc__)) #define __attribute_alloc_size__(params) __attribute__ ((__alloc_size__ params)) # 315 "/usr/include/sys/cdefs.h" 3 4 #define __attribute_alloc_align__(param) __attribute__ ((__alloc_align__ param)) # 325 "/usr/include/sys/cdefs.h" 3 4 #define __attribute_pure__ __attribute__ ((__pure__)) #define __attribute_const__ __attribute__ ((__const__)) #define __attribute_maybe_unused__ __attribute__ ((__unused__)) # 347 "/usr/include/sys/cdefs.h" 3 4 #define __attribute_used__ __attribute__ ((__used__)) #define __attribute_noinline__ __attribute__ ((__noinline__)) #define __attribute_deprecated__ __attribute__ ((__deprecated__)) # 366 "/usr/include/sys/cdefs.h" 3 4 #define __attribute_deprecated_msg__(msg) __attribute__ ((__deprecated__ (msg))) # 379 "/usr/include/sys/cdefs.h" 3 4 #define __attribute_format_arg__(x) __attribute__ ((__format_arg__ (x))) # 389 "/usr/include/sys/cdefs.h" 3 4 #define __attribute_format_strfmon__(a,b) __attribute__ ((__format__ (__strfmon__, a, b))) # 401 "/usr/include/sys/cdefs.h" 3 4 #define __attribute_nonnull__(params) __attribute__ ((__nonnull__ params)) #define __nonnull(params) __attribute_nonnull__ (params) #define __returns_nonnull __attribute__ ((__returns_nonnull__)) # 423 "/usr/include/sys/cdefs.h" 3 4 #define __attribute_warn_unused_result__ __attribute__ ((__warn_unused_result__)) #define __wur __attribute_warn_unused_result__ # 440 "/usr/include/sys/cdefs.h" 3 4 #undef __always_inline #define __always_inline __inline __attribute__ ((__always_inline__)) # 450 "/usr/include/sys/cdefs.h" 3 4 #define __attribute_artificial__ __attribute__ ((__artificial__)) # 468 "/usr/include/sys/cdefs.h" 3 4 #define __extern_inline extern __inline __attribute__ ((__gnu_inline__)) #define __extern_always_inline extern __always_inline __attribute__ ((__gnu_inline__)) # 478 "/usr/include/sys/cdefs.h" 3 4 #define __fortify_function __extern_always_inline __attribute_artificial__ #define __va_arg_pack() __builtin_va_arg_pack () #define __va_arg_pack_len() __builtin_va_arg_pack_len () # 512 "/usr/include/sys/cdefs.h" 3 4 #define __restrict_arr __restrict # 527 "/usr/include/sys/cdefs.h" 3 4 #define __glibc_unlikely(cond) __builtin_expect ((cond), 0) #define __glibc_likely(cond) __builtin_expect ((cond), 1) # 549 "/usr/include/sys/cdefs.h" 3 4 #define __attribute_nonstring__ __attribute__ ((__nonstring__)) #undef __attribute_copy__ #define __attribute_copy__(arg) __attribute__ ((__copy__ (arg))) # 576 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 20 "/usr/include/bits/wordsize.h" 3 4 #define __WORDSIZE __riscv_xlen #define __WORDSIZE_TIME64_COMPAT32 1 # 577 "/usr/include/sys/cdefs.h" 2 3 4 # 1 "/usr/include/bits/long-double.h" 1 3 4 # 21 "/usr/include/bits/long-double.h" 3 4 #define __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI 0 # 578 "/usr/include/sys/cdefs.h" 2 3 4 # 634 "/usr/include/sys/cdefs.h" 3 4 #define __LDBL_REDIR1(name,proto,alias) name proto #define __LDBL_REDIR(name,proto) name proto #define __LDBL_REDIR1_NTH(name,proto,alias) name proto __THROW #define __LDBL_REDIR_NTH(name,proto) name proto __THROW #define __LDBL_REDIR2_DECL(name) #define __LDBL_REDIR_DECL(name) #define __REDIRECT_LDBL(name,proto,alias) __REDIRECT (name, proto, alias) #define __REDIRECT_NTH_LDBL(name,proto,alias) __REDIRECT_NTH (name, proto, alias) # 653 "/usr/include/sys/cdefs.h" 3 4 #define __glibc_macro_warning1(message) _Pragma (#message) #define __glibc_macro_warning(message) __glibc_macro_warning1 (GCC warning message) # 672 "/usr/include/sys/cdefs.h" 3 4 #define __HAVE_GENERIC_SELECTION 1 # 683 "/usr/include/sys/cdefs.h" 3 4 #define __attr_access(x) __attribute__ ((__access__ x)) #define __fortified_attr_access(a,o,s) __attr_access ((a, o, s)) #define __attr_access_none(argno) __attribute__ ((__access__ (__none__, argno))) # 707 "/usr/include/sys/cdefs.h" 3 4 #define __attr_dealloc(dealloc,argno) __attribute__ ((__malloc__ (dealloc, argno))) #define __attr_dealloc_free __attr_dealloc (__builtin_free, 1) # 718 "/usr/include/sys/cdefs.h" 3 4 #define __attribute_returns_twice__ __attribute__ ((__returns_twice__)) # 504 "/usr/include/features.h" 2 3 4 # 519 "/usr/include/features.h" 3 4 #define __USE_EXTERN_INLINES 1 # 1 "/usr/include/gnu/stubs.h" 1 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 20 "/usr/include/bits/wordsize.h" 3 4 #define __WORDSIZE __riscv_xlen #define __WORDSIZE_TIME64_COMPAT32 1 # 6 "/usr/include/gnu/stubs.h" 2 3 4 # 17 "/usr/include/gnu/stubs.h" 3 4 # 1 "/usr/include/gnu/stubs-lp64d.h" 1 3 4 # 10 "/usr/include/gnu/stubs-lp64d.h" 3 4 #define __stub___compat_bdflush #define __stub___compat_create_module #define __stub___compat_get_kernel_syms #define __stub___compat_query_module #define __stub___compat_uselib #define __stub_chflags #define __stub_fchflags #define __stub_fedisableexcept #define __stub_feenableexcept #define __stub_fegetexcept #define __stub_gtty #define __stub_revoke #define __stub_setlogin #define __stub_sigreturn #define __stub_stty # 18 "/usr/include/gnu/stubs.h" 2 3 4 # 528 "/usr/include/features.h" 2 3 4 # 34 "/usr/include/bits/libc-header-start.h" 2 3 4 #undef __GLIBC_USE_LIB_EXT2 #define __GLIBC_USE_LIB_EXT2 0 # 67 "/usr/include/bits/libc-header-start.h" 3 4 #undef __GLIBC_USE_IEC_60559_BFP_EXT #define __GLIBC_USE_IEC_60559_BFP_EXT 0 #undef __GLIBC_USE_IEC_60559_BFP_EXT_C2X #define __GLIBC_USE_IEC_60559_BFP_EXT_C2X 0 #undef __GLIBC_USE_IEC_60559_EXT #define __GLIBC_USE_IEC_60559_EXT 0 #undef __GLIBC_USE_IEC_60559_FUNCS_EXT #define __GLIBC_USE_IEC_60559_FUNCS_EXT 0 #undef __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X #define __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X 0 #undef __GLIBC_USE_IEC_60559_TYPES_EXT #define __GLIBC_USE_IEC_60559_TYPES_EXT 0 # 29 "/usr/include/stdio.h" 2 3 4 #define __need_size_t #define __need_NULL # 1 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 1 3 4 # 185 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 #define __size_t__ #define __SIZE_T__ #define _SIZE_T #define _SYS_SIZE_T_H #define _T_SIZE_ #define _T_SIZE #define __SIZE_T #define _SIZE_T_ #define _BSD_SIZE_T_ #define _SIZE_T_DEFINED_ #define _SIZE_T_DEFINED #define _BSD_SIZE_T_DEFINED_ #define _SIZE_T_DECLARED #define __DEFINED_size_t #define ___int_size_t_h #define _GCC_SIZE_T #define _SIZET_ #define __size_t # 214 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 typedef long unsigned int size_t; # 237 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 #undef __need_size_t # 399 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 #undef NULL #define NULL ((void *)0) #undef __need_NULL # 35 "/usr/include/stdio.h" 2 3 4 #define __need___va_list # 1 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stdarg.h" 1 3 4 # 34 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stdarg.h" 3 4 #undef __need___va_list #define __GNUC_VA_LIST typedef __builtin_va_list __gnuc_va_list; # 38 "/usr/include/stdio.h" 2 3 4 # 1 "/usr/include/bits/types.h" 1 3 4 # 24 "/usr/include/bits/types.h" 3 4 #define _BITS_TYPES_H 1 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 20 "/usr/include/bits/wordsize.h" 3 4 #define __WORDSIZE __riscv_xlen #define __WORDSIZE_TIME64_COMPAT32 1 # 28 "/usr/include/bits/types.h" 2 3 4 # 1 "/usr/include/bits/timesize.h" 1 3 4 # 20 "/usr/include/bits/timesize.h" 3 4 #define __TIMESIZE 64 # 29 "/usr/include/bits/types.h" 2 3 4 typedef unsigned char __u_char; typedef unsigned short int __u_short; typedef unsigned int __u_int; typedef unsigned long int __u_long; typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; typedef signed long int __int64_t; typedef unsigned long int __uint64_t; typedef __int8_t __int_least8_t; typedef __uint8_t __uint_least8_t; typedef __int16_t __int_least16_t; typedef __uint16_t __uint_least16_t; typedef __int32_t __int_least32_t; typedef __uint32_t __uint_least32_t; typedef __int64_t __int_least64_t; typedef __uint64_t __uint_least64_t; typedef long int __quad_t; typedef unsigned long int __u_quad_t; typedef long int __intmax_t; typedef unsigned long int __uintmax_t; # 109 "/usr/include/bits/types.h" 3 4 #define __S16_TYPE short int #define __U16_TYPE unsigned short int #define __S32_TYPE int #define __U32_TYPE unsigned int #define __SLONGWORD_TYPE long int #define __ULONGWORD_TYPE unsigned long int # 128 "/usr/include/bits/types.h" 3 4 #define __SQUAD_TYPE long int #define __UQUAD_TYPE unsigned long int #define __SWORD_TYPE long int #define __UWORD_TYPE unsigned long int #define __SLONG32_TYPE int #define __ULONG32_TYPE unsigned int #define __S64_TYPE long int #define __U64_TYPE unsigned long int #define __STD_TYPE typedef # 1 "/usr/include/bits/typesizes.h" 1 3 4 # 24 "/usr/include/bits/typesizes.h" 3 4 #define _BITS_TYPESIZES_H 1 # 40 "/usr/include/bits/typesizes.h" 3 4 #define __INO_T_TYPE __ULONGWORD_TYPE #define __OFF_T_TYPE __SLONGWORD_TYPE #define __RLIM_T_TYPE __ULONGWORD_TYPE #define __BLKCNT_T_TYPE __SLONGWORD_TYPE #define __FSBLKCNT_T_TYPE __ULONGWORD_TYPE #define __FSFILCNT_T_TYPE __ULONGWORD_TYPE #define __TIME_T_TYPE __SLONGWORD_TYPE #define __SUSECONDS_T_TYPE __SLONGWORD_TYPE #define __DEV_T_TYPE __UQUAD_TYPE #define __UID_T_TYPE __U32_TYPE #define __GID_T_TYPE __U32_TYPE #define __INO64_T_TYPE __UQUAD_TYPE #define __MODE_T_TYPE __U32_TYPE #define __NLINK_T_TYPE __U32_TYPE #define __OFF64_T_TYPE __SQUAD_TYPE #define __PID_T_TYPE __S32_TYPE #define __RLIM64_T_TYPE __UQUAD_TYPE #define __BLKCNT64_T_TYPE __SQUAD_TYPE #define __FSBLKCNT64_T_TYPE __UQUAD_TYPE #define __FSFILCNT64_T_TYPE __UQUAD_TYPE #define __FSWORD_T_TYPE __SWORD_TYPE #define __ID_T_TYPE __U32_TYPE #define __CLOCK_T_TYPE __SLONGWORD_TYPE #define __USECONDS_T_TYPE __U32_TYPE #define __SUSECONDS64_T_TYPE __SQUAD_TYPE #define __DADDR_T_TYPE __S32_TYPE #define __KEY_T_TYPE __S32_TYPE #define __CLOCKID_T_TYPE __S32_TYPE #define __TIMER_T_TYPE void * #define __BLKSIZE_T_TYPE __S32_TYPE #define __FSID_T_TYPE struct { int __val[2]; } #define __SSIZE_T_TYPE __SWORD_TYPE #define __SYSCALL_SLONG_TYPE __SLONGWORD_TYPE #define __SYSCALL_ULONG_TYPE __ULONGWORD_TYPE #define __CPU_MASK_TYPE __ULONGWORD_TYPE #define __OFF_T_MATCHES_OFF64_T 1 #define __INO_T_MATCHES_INO64_T 1 #define __RLIM_T_MATCHES_RLIM64_T 1 #define __STATFS_MATCHES_STATFS64 1 #define __KERNEL_OLD_TIMEVAL_MATCHES_TIMEVAL64 (__WORDSIZE == 64) # 104 "/usr/include/bits/typesizes.h" 3 4 #define __FD_SETSIZE 1024 # 142 "/usr/include/bits/types.h" 2 3 4 # 1 "/usr/include/bits/time64.h" 1 3 4 # 24 "/usr/include/bits/time64.h" 3 4 #define _BITS_TIME64_H 1 #define __TIME64_T_TYPE __TIME_T_TYPE # 143 "/usr/include/bits/types.h" 2 3 4 typedef unsigned long int __dev_t; typedef unsigned int __uid_t; typedef unsigned int __gid_t; typedef unsigned long int __ino_t; typedef unsigned long int __ino64_t; typedef unsigned int __mode_t; typedef unsigned int __nlink_t; typedef long int __off_t; typedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef long int __suseconds64_t; typedef int __daddr_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcnt64_t; typedef unsigned long int __fsfilcnt_t; typedef unsigned long int __fsfilcnt64_t; typedef long int __fsword_t; typedef long int __ssize_t; typedef long int __syscall_slong_t; typedef unsigned long int __syscall_ulong_t; typedef __off64_t __loff_t; typedef char *__caddr_t; typedef long int __intptr_t; typedef unsigned int __socklen_t; typedef int __sig_atomic_t; # 226 "/usr/include/bits/types.h" 3 4 #undef __STD_TYPE # 40 "/usr/include/stdio.h" 2 3 4 # 1 "/usr/include/bits/types/__fpos_t.h" 1 3 4 #define _____fpos_t_defined 1 # 1 "/usr/include/bits/types/__mbstate_t.h" 1 3 4 #define ____mbstate_t_defined 1 # 13 "/usr/include/bits/types/__mbstate_t.h" 3 4 typedef struct { int __count; union { unsigned int __wch; char __wchb[4]; } __value; } __mbstate_t; # 6 "/usr/include/bits/types/__fpos_t.h" 2 3 4 typedef struct _G_fpos_t { __off_t __pos; __mbstate_t __state; } __fpos_t; # 41 "/usr/include/stdio.h" 2 3 4 # 1 "/usr/include/bits/types/__fpos64_t.h" 1 3 4 #define _____fpos64_t_defined 1 typedef struct _G_fpos64_t { __off64_t __pos; __mbstate_t __state; } __fpos64_t; # 42 "/usr/include/stdio.h" 2 3 4 # 1 "/usr/include/bits/types/__FILE.h" 1 3 4 #define ____FILE_defined 1 struct _IO_FILE; typedef struct _IO_FILE __FILE; # 43 "/usr/include/stdio.h" 2 3 4 # 1 "/usr/include/bits/types/FILE.h" 1 3 4 #define __FILE_defined 1 struct _IO_FILE; typedef struct _IO_FILE FILE; # 44 "/usr/include/stdio.h" 2 3 4 # 1 "/usr/include/bits/types/struct_FILE.h" 1 3 4 # 19 "/usr/include/bits/types/struct_FILE.h" 3 4 #define __struct_FILE_defined 1 # 35 "/usr/include/bits/types/struct_FILE.h" 3 4 struct _IO_FILE; struct _IO_marker; struct _IO_codecvt; struct _IO_wide_data; typedef void _IO_lock_t; struct _IO_FILE { int _flags; char *_IO_read_ptr; char *_IO_read_end; char *_IO_read_base; char *_IO_write_base; char *_IO_write_ptr; char *_IO_write_end; char *_IO_buf_base; char *_IO_buf_end; char *_IO_save_base; char *_IO_backup_base; char *_IO_save_end; struct _IO_marker *_markers; struct _IO_FILE *_chain; int _fileno; int _flags2; __off_t _old_offset; unsigned short _cur_column; signed char _vtable_offset; char _shortbuf[1]; _IO_lock_t *_lock; __off64_t _offset; struct _IO_codecvt *_codecvt; struct _IO_wide_data *_wide_data; struct _IO_FILE *_freeres_list; void *_freeres_buf; size_t __pad5; int _mode; char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)]; }; #define __getc_unlocked_body(_fp) (__glibc_unlikely ((_fp)->_IO_read_ptr >= (_fp)->_IO_read_end) ? __uflow (_fp) : *(unsigned char *) (_fp)->_IO_read_ptr++) #define __putc_unlocked_body(_ch,_fp) (__glibc_unlikely ((_fp)->_IO_write_ptr >= (_fp)->_IO_write_end) ? __overflow (_fp, (unsigned char) (_ch)) : (unsigned char) (*(_fp)->_IO_write_ptr++ = (_ch))) #define _IO_EOF_SEEN 0x0010 #define __feof_unlocked_body(_fp) (((_fp)->_flags & _IO_EOF_SEEN) != 0) #define _IO_ERR_SEEN 0x0020 #define __ferror_unlocked_body(_fp) (((_fp)->_flags & _IO_ERR_SEEN) != 0) #define _IO_USER_LOCK 0x8000 # 45 "/usr/include/stdio.h" 2 3 4 # 1 "/usr/include/bits/types/cookie_io_functions_t.h" 1 3 4 # 19 "/usr/include/bits/types/cookie_io_functions_t.h" 3 4 #define __cookie_io_functions_t_defined 1 typedef __ssize_t cookie_read_function_t (void *__cookie, char *__buf, size_t __nbytes); typedef __ssize_t cookie_write_function_t (void *__cookie, const char *__buf, size_t __nbytes); typedef int cookie_seek_function_t (void *__cookie, __off64_t *__pos, int __w); typedef int cookie_close_function_t (void *__cookie); typedef struct _IO_cookie_io_functions_t { cookie_read_function_t *read; cookie_write_function_t *write; cookie_seek_function_t *seek; cookie_close_function_t *close; } cookie_io_functions_t; # 48 "/usr/include/stdio.h" 2 3 4 typedef __gnuc_va_list va_list; #define _VA_LIST_DEFINED # 66 "/usr/include/stdio.h" 3 4 typedef __off64_t off_t; #define __off_t_defined # 78 "/usr/include/stdio.h" 3 4 typedef __ssize_t ssize_t; #define __ssize_t_defined typedef __fpos64_t fpos_t; #define _IOFBF 0 #define _IOLBF 1 #define _IONBF 2 #define BUFSIZ 8192 #define EOF (-1) #define SEEK_SET 0 #define SEEK_CUR 1 #define SEEK_END 2 # 121 "/usr/include/stdio.h" 3 4 #define P_tmpdir "/tmp" #define L_tmpnam 20 #define TMP_MAX 238328 # 1 "/usr/include/bits/stdio_lim.h" 1 3 4 # 20 "/usr/include/bits/stdio_lim.h" 3 4 #define _BITS_STDIO_LIM_H 1 #define FILENAME_MAX 4096 # 130 "/usr/include/stdio.h" 2 3 4 #define L_ctermid 9 #undef FOPEN_MAX #define FOPEN_MAX 16 # 149 "/usr/include/stdio.h" 3 4 extern FILE *stdin; extern FILE *stdout; extern FILE *stderr; #define stdin stdin #define stdout stdout #define stderr stderr extern int remove (const char *__filename) __attribute__ ((__nothrow__ , __leaf__)); extern int rename (const char *__old, const char *__new) __attribute__ ((__nothrow__ , __leaf__)); extern int renameat (int __oldfd, const char *__old, int __newfd, const char *__new) __attribute__ ((__nothrow__ , __leaf__)); # 184 "/usr/include/stdio.h" 3 4 extern int fclose (FILE *__stream) __attribute__ ((__nonnull__ (1))); #undef __attr_dealloc_fclose #define __attr_dealloc_fclose __attr_dealloc (fclose, 1) # 198 "/usr/include/stdio.h" 3 4 extern FILE *tmpfile (void) __asm__ ("" "tmpfile64") __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (fclose, 1))) __attribute__ ((__warn_unused_result__)); # 211 "/usr/include/stdio.h" 3 4 extern char *tmpnam (char[20]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern char *tmpnam_r (char __s[20]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); # 228 "/usr/include/stdio.h" 3 4 extern char *tempnam (const char *__dir, const char *__pfx) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__malloc__ (__builtin_free, 1))); extern int fflush (FILE *__stream); # 245 "/usr/include/stdio.h" 3 4 extern int fflush_unlocked (FILE *__stream); # 276 "/usr/include/stdio.h" 3 4 extern FILE *fopen (const char *__restrict __filename, const char *__restrict __modes) __asm__ ("" "fopen64") __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (fclose, 1))) __attribute__ ((__warn_unused_result__)); extern FILE *freopen (const char *__restrict __filename, const char *__restrict __modes, FILE *__restrict __stream) __asm__ ("" "freopen64") __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (3))); # 299 "/usr/include/stdio.h" 3 4 extern FILE *fdopen (int __fd, const char *__modes) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (fclose, 1))) __attribute__ ((__warn_unused_result__)); extern FILE *fopencookie (void *__restrict __magic_cookie, const char *__restrict __modes, cookie_io_functions_t __io_funcs) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (fclose, 1))) __attribute__ ((__warn_unused_result__)); extern FILE *fmemopen (void *__s, size_t __len, const char *__modes) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (fclose, 1))) __attribute__ ((__warn_unused_result__)); extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (fclose, 1))) __attribute__ ((__warn_unused_result__)); # 334 "/usr/include/stdio.h" 3 4 extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, int __modes, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int fprintf (FILE *__restrict __stream, const char *__restrict __format, ...) __attribute__ ((__nonnull__ (1))); extern int printf (const char *__restrict __format, ...); extern int sprintf (char *__restrict __s, const char *__restrict __format, ...) __attribute__ ((__nothrow__)); extern int vfprintf (FILE *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__nonnull__ (1))); extern int vprintf (const char *__restrict __format, __gnuc_va_list __arg); extern int vsprintf (char *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__nothrow__)); extern int snprintf (char *__restrict __s, size_t __maxlen, const char *__restrict __format, ...) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4))); extern int vsnprintf (char *__restrict __s, size_t __maxlen, const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0))); extern int vasprintf (char **__restrict __ptr, const char *__restrict __f, __gnuc_va_list __arg) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0))) __attribute__ ((__warn_unused_result__)); extern int __asprintf (char **__restrict __ptr, const char *__restrict __fmt, ...) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) __attribute__ ((__warn_unused_result__)); extern int asprintf (char **__restrict __ptr, const char *__restrict __fmt, ...) __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) __attribute__ ((__warn_unused_result__)); extern int vdprintf (int __fd, const char *__restrict __fmt, __gnuc_va_list __arg) __attribute__ ((__format__ (__printf__, 2, 0))); extern int dprintf (int __fd, const char *__restrict __fmt, ...) __attribute__ ((__format__ (__printf__, 2, 3))); extern int fscanf (FILE *__restrict __stream, const char *__restrict __format, ...) __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (1))); extern int scanf (const char *__restrict __format, ...) __attribute__ ((__warn_unused_result__)); extern int sscanf (const char *__restrict __s, const char *__restrict __format, ...) __attribute__ ((__nothrow__ , __leaf__)); # 1 "/usr/include/bits/floatn.h" 1 3 4 # 20 "/usr/include/bits/floatn.h" 3 4 #define _BITS_FLOATN_H # 1 "/usr/include/bits/long-double.h" 1 3 4 # 21 "/usr/include/bits/long-double.h" 3 4 #define __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI 0 # 24 "/usr/include/bits/floatn.h" 2 3 4 #define __HAVE_FLOAT128 1 # 40 "/usr/include/bits/floatn.h" 3 4 #define __HAVE_DISTINCT_FLOAT128 0 #define __HAVE_FLOAT64X __HAVE_FLOAT128 #define __HAVE_FLOAT64X_LONG_DOUBLE __HAVE_FLOAT128 # 62 "/usr/include/bits/floatn.h" 3 4 #define __f128(x) x ##f128 # 71 "/usr/include/bits/floatn.h" 3 4 #define __CFLOAT128 _Complex _Float128 # 95 "/usr/include/bits/floatn.h" 3 4 # 1 "/usr/include/bits/floatn-common.h" 1 3 4 # 21 "/usr/include/bits/floatn-common.h" 3 4 #define _BITS_FLOATN_COMMON_H # 1 "/usr/include/bits/long-double.h" 1 3 4 # 21 "/usr/include/bits/long-double.h" 3 4 #define __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI 0 # 25 "/usr/include/bits/floatn-common.h" 2 3 4 # 34 "/usr/include/bits/floatn-common.h" 3 4 #define __HAVE_FLOAT16 0 #define __HAVE_FLOAT32 1 #define __HAVE_FLOAT64 1 #define __HAVE_FLOAT32X 1 #define __HAVE_FLOAT128X 0 # 52 "/usr/include/bits/floatn-common.h" 3 4 #define __HAVE_DISTINCT_FLOAT16 __HAVE_FLOAT16 #define __HAVE_DISTINCT_FLOAT32 0 #define __HAVE_DISTINCT_FLOAT64 0 #define __HAVE_DISTINCT_FLOAT32X 0 #define __HAVE_DISTINCT_FLOAT64X 0 #define __HAVE_DISTINCT_FLOAT128X __HAVE_FLOAT128X #define __HAVE_FLOAT128_UNLIKE_LDBL (__HAVE_DISTINCT_FLOAT128 && __LDBL_MANT_DIG__ != 113) #define __HAVE_FLOATN_NOT_TYPEDEF 1 # 93 "/usr/include/bits/floatn-common.h" 3 4 #define __f32(x) x ##f32 # 105 "/usr/include/bits/floatn-common.h" 3 4 #define __f64(x) x ##f64 #define __f32x(x) x ##f32x # 125 "/usr/include/bits/floatn-common.h" 3 4 #define __f64x(x) x ##f64x # 151 "/usr/include/bits/floatn-common.h" 3 4 #define __CFLOAT32 _Complex _Float32 # 163 "/usr/include/bits/floatn-common.h" 3 4 #define __CFLOAT64 _Complex _Float64 #define __CFLOAT32X _Complex _Float32x # 183 "/usr/include/bits/floatn-common.h" 3 4 #define __CFLOAT64X _Complex _Float64x # 96 "/usr/include/bits/floatn.h" 2 3 4 # 438 "/usr/include/stdio.h" 2 3 4 # 463 "/usr/include/stdio.h" 3 4 extern int fscanf (FILE *__restrict __stream, const char *__restrict __format, ...) __asm__ ("" "__isoc99_fscanf") __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (1))); extern int scanf (const char *__restrict __format, ...) __asm__ ("" "__isoc99_scanf") __attribute__ ((__warn_unused_result__)); extern int sscanf (const char *__restrict __s, const char *__restrict __format, ...) __asm__ ("" "__isoc99_sscanf") __attribute__ ((__nothrow__ , __leaf__)) ; # 490 "/usr/include/stdio.h" 3 4 extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__format__ (__scanf__, 2, 0))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (1))); extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__format__ (__scanf__, 1, 0))) __attribute__ ((__warn_unused_result__)); extern int vsscanf (const char *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__scanf__, 2, 0))); # 540 "/usr/include/stdio.h" 3 4 extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vfscanf") __attribute__ ((__format__ (__scanf__, 2, 0))) __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (1))); extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vscanf") __attribute__ ((__format__ (__scanf__, 1, 0))) __attribute__ ((__warn_unused_result__)); extern int vsscanf (const char *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vsscanf") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__scanf__, 2, 0))); # 575 "/usr/include/stdio.h" 3 4 extern int fgetc (FILE *__stream) __attribute__ ((__nonnull__ (1))); extern int getc (FILE *__stream) __attribute__ ((__nonnull__ (1))); extern int getchar (void); extern int getc_unlocked (FILE *__stream) __attribute__ ((__nonnull__ (1))); extern int getchar_unlocked (void); # 600 "/usr/include/stdio.h" 3 4 extern int fgetc_unlocked (FILE *__stream) __attribute__ ((__nonnull__ (1))); # 611 "/usr/include/stdio.h" 3 4 extern int fputc (int __c, FILE *__stream) __attribute__ ((__nonnull__ (2))); extern int putc (int __c, FILE *__stream) __attribute__ ((__nonnull__ (2))); extern int putchar (int __c); # 627 "/usr/include/stdio.h" 3 4 extern int fputc_unlocked (int __c, FILE *__stream) __attribute__ ((__nonnull__ (2))); extern int putc_unlocked (int __c, FILE *__stream) __attribute__ ((__nonnull__ (2))); extern int putchar_unlocked (int __c); extern int getw (FILE *__stream) __attribute__ ((__nonnull__ (1))); extern int putw (int __w, FILE *__stream) __attribute__ ((__nonnull__ (2))); extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 2))) __attribute__ ((__nonnull__ (3))); # 694 "/usr/include/stdio.h" 3 4 extern __ssize_t __getdelim (char **__restrict __lineptr, size_t *__restrict __n, int __delimiter, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (4))); extern __ssize_t getdelim (char **__restrict __lineptr, size_t *__restrict __n, int __delimiter, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (4))); extern __ssize_t getline (char **__restrict __lineptr, size_t *__restrict __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (3))); extern int fputs (const char *__restrict __s, FILE *__restrict __stream) __attribute__ ((__nonnull__ (2))); extern int puts (const char *__s); extern int ungetc (int __c, FILE *__stream) __attribute__ ((__nonnull__ (2))); extern size_t fread (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (4))); extern size_t fwrite (const void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __s) __attribute__ ((__nonnull__ (4))); # 766 "/usr/include/stdio.h" 3 4 extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (4))); extern size_t fwrite_unlocked (const void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) __attribute__ ((__nonnull__ (4))); extern int fseek (FILE *__stream, long int __off, int __whence) __attribute__ ((__nonnull__ (1))); extern long int ftell (FILE *__stream) __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (1))); extern void rewind (FILE *__stream) __attribute__ ((__nonnull__ (1))); # 812 "/usr/include/stdio.h" 3 4 extern int fseeko (FILE *__stream, __off64_t __off, int __whence) __asm__ ("" "fseeko64") __attribute__ ((__nonnull__ (1))); extern __off64_t ftello (FILE *__stream) __asm__ ("" "ftello64") __attribute__ ((__nonnull__ (1))); # 838 "/usr/include/stdio.h" 3 4 extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos) __asm__ ("" "fgetpos64") __attribute__ ((__nonnull__ (1))); extern int fsetpos (FILE *__stream, const fpos_t *__pos) __asm__ ("" "fsetpos64") __attribute__ ((__nonnull__ (1))); # 860 "/usr/include/stdio.h" 3 4 extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int feof (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (1))); extern int ferror (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (1))); extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (1))); extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (1))); extern void perror (const char *__s) __attribute__ ((__cold__)); extern int fileno (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (1))); extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (1))); # 897 "/usr/include/stdio.h" 3 4 extern int pclose (FILE *__stream) __attribute__ ((__nonnull__ (1))); extern FILE *popen (const char *__command, const char *__modes) __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (pclose, 1))) __attribute__ ((__warn_unused_result__)); extern char *ctermid (char *__s) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__access__ (__write_only__, 1))); # 941 "/usr/include/stdio.h" 3 4 extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (1))); extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 959 "/usr/include/stdio.h" 3 4 extern int __uflow (FILE *); extern int __overflow (FILE *, int); # 1 "/usr/include/bits/stdio2-decl.h" 1 3 4 # 20 "/usr/include/bits/stdio2-decl.h" 3 4 #define _BITS_STDIO2_DEC_H 1 extern int __sprintf_chk (char *__restrict __s, int __flag, size_t __slen, const char *__restrict __format, ...) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__access__ (__write_only__, 1, 3))); extern int __vsprintf_chk (char *__restrict __s, int __flag, size_t __slen, const char *__restrict __format, __gnuc_va_list __ap) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__access__ (__write_only__, 1, 3))); extern int __snprintf_chk (char *__restrict __s, size_t __n, int __flag, size_t __slen, const char *__restrict __format, ...) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__access__ (__write_only__, 1, 2))); extern int __vsnprintf_chk (char *__restrict __s, size_t __n, int __flag, size_t __slen, const char *__restrict __format, __gnuc_va_list __ap) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__access__ (__write_only__, 1, 2))); extern int __fprintf_chk (FILE *__restrict __stream, int __flag, const char *__restrict __format, ...) __attribute__ ((__nonnull__ (1))); extern int __printf_chk (int __flag, const char *__restrict __format, ...); extern int __vfprintf_chk (FILE *__restrict __stream, int __flag, const char *__restrict __format, __gnuc_va_list __ap) __attribute__ ((__nonnull__ (1))); extern int __vprintf_chk (int __flag, const char *__restrict __format, __gnuc_va_list __ap); extern int __dprintf_chk (int __fd, int __flag, const char *__restrict __fmt, ...) __attribute__ ((__format__ (__printf__, 3, 4))); extern int __vdprintf_chk (int __fd, int __flag, const char *__restrict __fmt, __gnuc_va_list __arg) __attribute__ ((__format__ (__printf__, 3, 0))); # 96 "/usr/include/bits/stdio2-decl.h" 3 4 extern char *__fgets_alias (char *__restrict __s, int __n, FILE *__restrict __stream) __asm__ ("" "fgets") __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 2))); extern char *__fgets_chk_warn (char *__restrict __s, size_t __size, int __n, FILE *__restrict __stream) __asm__ ("" "__fgets_chk") __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fgets called with bigger size than length " "of destination buffer"))) ; extern char *__fgets_chk (char *__restrict __s, size_t __size, int __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 3))) __attribute__ ((__nonnull__ (4))); extern size_t __fread_alias (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "fread") __attribute__ ((__warn_unused_result__)); extern size_t __fread_chk_warn (void *__restrict __ptr, size_t __ptrlen, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "__fread_chk") __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fread called with bigger size * nmemb than length " "of destination buffer"))) ; extern size_t __fread_chk (void *__restrict __ptr, size_t __ptrlen, size_t __size, size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (5))); # 144 "/usr/include/bits/stdio2-decl.h" 3 4 #undef fread_unlocked extern size_t __fread_unlocked_alias (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "fread_unlocked") __attribute__ ((__warn_unused_result__)); extern size_t __fread_unlocked_chk_warn (void *__restrict __ptr, size_t __ptrlen, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "__fread_unlocked_chk") __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fread_unlocked called with bigger size * nmemb than " "length of destination buffer"))) ; extern size_t __fread_unlocked_chk (void *__restrict __ptr, size_t __ptrlen, size_t __size, size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (5))); # 965 "/usr/include/stdio.h" 2 3 4 # 976 "/usr/include/stdio.h" 3 4 # 1 "/usr/include/bits/stdio.h" 1 3 4 # 20 "/usr/include/bits/stdio.h" 3 4 #define _BITS_STDIO_H 1 # 29 "/usr/include/bits/stdio.h" 3 4 #define __STDIO_INLINE __extern_inline # 46 "/usr/include/bits/stdio.h" 3 4 extern __inline __attribute__ ((__gnu_inline__)) int getchar (void) { return getc (stdin); } extern __inline __attribute__ ((__gnu_inline__)) int fgetc_unlocked (FILE *__fp) { return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); } extern __inline __attribute__ ((__gnu_inline__)) int getc_unlocked (FILE *__fp) { return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); } extern __inline __attribute__ ((__gnu_inline__)) int getchar_unlocked (void) { return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++); } extern __inline __attribute__ ((__gnu_inline__)) int putchar (int __c) { return putc (__c, stdout); } extern __inline __attribute__ ((__gnu_inline__)) int fputc_unlocked (int __c, FILE *__stream) { return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); } extern __inline __attribute__ ((__gnu_inline__)) int putc_unlocked (int __c, FILE *__stream) { return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); } extern __inline __attribute__ ((__gnu_inline__)) int putchar_unlocked (int __c) { return (__builtin_expect (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end), 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c))); } # 127 "/usr/include/bits/stdio.h" 3 4 extern __inline __attribute__ ((__gnu_inline__)) int __attribute__ ((__nothrow__ , __leaf__)) feof_unlocked (FILE *__stream) { return (((__stream)->_flags & 0x0010) != 0); } extern __inline __attribute__ ((__gnu_inline__)) int __attribute__ ((__nothrow__ , __leaf__)) ferror_unlocked (FILE *__stream) { return (((__stream)->_flags & 0x0020) != 0); } # 147 "/usr/include/bits/stdio.h" 3 4 #define fread_unlocked(ptr,size,n,stream) (__extension__ ((__builtin_constant_p (size) && __builtin_constant_p (n) && (size_t) (size) * (size_t) (n) <= 8 && (size_t) (size) != 0) ? ({ char *__ptr = (char *) (ptr); FILE *__stream = (stream); size_t __cnt; for (__cnt = (size_t) (size) * (size_t) (n); __cnt > 0; --__cnt) { int __c = getc_unlocked (__stream); if (__c == EOF) break; *__ptr++ = __c; } ((size_t) (size) * (size_t) (n) - __cnt) / (size_t) (size); }) : (((__builtin_constant_p (size) && (size_t) (size) == 0) || (__builtin_constant_p (n) && (size_t) (n) == 0)) ? ((void) (ptr), (void) (stream), (void) (size), (void) (n), (size_t) 0) : fread_unlocked (ptr, size, n, stream)))) # 171 "/usr/include/bits/stdio.h" 3 4 #define fwrite_unlocked(ptr,size,n,stream) (__extension__ ((__builtin_constant_p (size) && __builtin_constant_p (n) && (size_t) (size) * (size_t) (n) <= 8 && (size_t) (size) != 0) ? ({ const char *__ptr = (const char *) (ptr); FILE *__stream = (stream); size_t __cnt; for (__cnt = (size_t) (size) * (size_t) (n); __cnt > 0; --__cnt) if (putc_unlocked (*__ptr++, __stream) == EOF) break; ((size_t) (size) * (size_t) (n) - __cnt) / (size_t) (size); }) : (((__builtin_constant_p (size) && (size_t) (size) == 0) || (__builtin_constant_p (n) && (size_t) (n) == 0)) ? ((void) (ptr), (void) (stream), (void) (size), (void) (n), (size_t) 0) : fwrite_unlocked (ptr, size, n, stream)))) # 193 "/usr/include/bits/stdio.h" 3 4 #undef __STDIO_INLINE # 977 "/usr/include/stdio.h" 2 3 4 # 1 "/usr/include/bits/stdio2.h" 1 3 4 # 20 "/usr/include/bits/stdio2.h" 3 4 #define _BITS_STDIO2_H 1 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int __attribute__ ((__nothrow__ , __leaf__)) sprintf (char *__restrict __s, const char *__restrict __fmt, ...) { return __builtin___sprintf_chk (__s, 2 - 1, __builtin_object_size (__s, 2 > 1), __fmt, __builtin_va_arg_pack ()); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int __attribute__ ((__nothrow__ , __leaf__)) vsprintf (char *__restrict __s, const char *__restrict __fmt, __gnuc_va_list __ap) { return __builtin___vsprintf_chk (__s, 2 - 1, __builtin_object_size (__s, 2 > 1), __fmt, __ap); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int __attribute__ ((__nothrow__ , __leaf__)) snprintf (char *__restrict __s, size_t __n, const char *__restrict __fmt, ...) { return __builtin___snprintf_chk (__s, __n, 2 - 1, __builtin_object_size (__s, 2 > 1), __fmt, __builtin_va_arg_pack ()); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int __attribute__ ((__nothrow__ , __leaf__)) vsnprintf (char *__restrict __s, size_t __n, const char *__restrict __fmt, __gnuc_va_list __ap) { return __builtin___vsnprintf_chk (__s, __n, 2 - 1, __builtin_object_size (__s, 2 > 1), __fmt, __ap); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__nonnull__ (1))) int fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...) { return __fprintf_chk (__stream, 2 - 1, __fmt, __builtin_va_arg_pack ()); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int printf (const char *__restrict __fmt, ...) { return __printf_chk (2 - 1, __fmt, __builtin_va_arg_pack ()); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int vprintf (const char *__restrict __fmt, __gnuc_va_list __ap) { return __vfprintf_chk (stdout, 2 - 1, __fmt, __ap); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__nonnull__ (1))) int vfprintf (FILE *__restrict __stream, const char *__restrict __fmt, __gnuc_va_list __ap) { return __vfprintf_chk (__stream, 2 - 1, __fmt, __ap); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int dprintf (int __fd, const char *__restrict __fmt, ...) { return __dprintf_chk (__fd, 2 - 1, __fmt, __builtin_va_arg_pack ()); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int vdprintf (int __fd, const char *__restrict __fmt, __gnuc_va_list __ap) { return __vdprintf_chk (__fd, 2 - 1, __fmt, __ap); } # 194 "/usr/include/bits/stdio2.h" 3 4 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__access__ (__write_only__, 1, 2))) __attribute__ ((__nonnull__ (3))) char * fgets (char *__restrict __s, int __n, FILE *__restrict __stream) { size_t sz = __builtin_object_size (__s, 2 > 1); if (((__builtin_constant_p (sz) && (sz) == (long unsigned int) -1) || (((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((long unsigned int) (__n)) <= ((sz)) / ((sizeof (char))))) && (((long unsigned int) (__n)) <= ((sz)) / ((sizeof (char))))))) return __fgets_alias (__s, __n, __stream); if ((((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((long unsigned int) (__n)) <= (sz) / (sizeof (char)))) && !(((long unsigned int) (__n)) <= (sz) / (sizeof (char))))) return __fgets_chk_warn (__s, sz, __n, __stream); return __fgets_chk (__s, sz, __n, __stream); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (4))) size_t fread (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) { size_t sz = __builtin_object_size (__ptr, 0); if (((__builtin_constant_p (sz) && (sz) == (long unsigned int) -1) || (((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((long unsigned int) (__n)) <= ((sz)) / ((__size)))) && (((long unsigned int) (__n)) <= ((sz)) / ((__size)))))) return __fread_alias (__ptr, __size, __n, __stream); if ((((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((long unsigned int) (__n)) <= (sz) / (__size))) && !(((long unsigned int) (__n)) <= (sz) / (__size)))) return __fread_chk_warn (__ptr, sz, __size, __n, __stream); return __fread_chk (__ptr, sz, __size, __n, __stream); } # 233 "/usr/include/bits/stdio2.h" 3 4 #undef fread_unlocked extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__nonnull__ (4))) size_t fread_unlocked (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) { size_t sz = __builtin_object_size (__ptr, 0); if (((__builtin_constant_p (sz) && (sz) == (long unsigned int) -1) || (((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((long unsigned int) (__n)) <= ((sz)) / ((__size)))) && (((long unsigned int) (__n)) <= ((sz)) / ((__size)))))) { if (__builtin_constant_p (__size) && __builtin_constant_p (__n) && (__size | __n) < (((size_t) 1) << (8 * sizeof (size_t) / 2)) && __size * __n <= 8) { size_t __cnt = __size * __n; char *__cptr = (char *) __ptr; if (__cnt == 0) return 0; for (; __cnt > 0; --__cnt) { int __c = getc_unlocked (__stream); if (__c == (-1)) break; *__cptr++ = __c; } return (__cptr - (char *) __ptr) / __size; } return __fread_unlocked_alias (__ptr, __size, __n, __stream); } if ((((__typeof (__n)) 0 < (__typeof (__n)) -1 || (__builtin_constant_p (__n) && (__n) > 0)) && __builtin_constant_p ((((long unsigned int) (__n)) <= (sz) / (__size))) && !(((long unsigned int) (__n)) <= (sz) / (__size)))) return __fread_unlocked_chk_warn (__ptr, sz, __size, __n, __stream); return __fread_unlocked_chk (__ptr, sz, __size, __n, __stream); } # 981 "/usr/include/stdio.h" 2 3 4 # 17 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 2 # 1 "/usr/include/stdlib.h" 1 3 4 # 25 "/usr/include/stdlib.h" 3 4 #define __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION # 1 "/usr/include/bits/libc-header-start.h" 1 3 4 # 31 "/usr/include/bits/libc-header-start.h" 3 4 #undef __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION #undef __GLIBC_USE_LIB_EXT2 #define __GLIBC_USE_LIB_EXT2 0 # 67 "/usr/include/bits/libc-header-start.h" 3 4 #undef __GLIBC_USE_IEC_60559_BFP_EXT #define __GLIBC_USE_IEC_60559_BFP_EXT 0 #undef __GLIBC_USE_IEC_60559_BFP_EXT_C2X #define __GLIBC_USE_IEC_60559_BFP_EXT_C2X 0 #undef __GLIBC_USE_IEC_60559_EXT #define __GLIBC_USE_IEC_60559_EXT 0 #undef __GLIBC_USE_IEC_60559_FUNCS_EXT #define __GLIBC_USE_IEC_60559_FUNCS_EXT 0 #undef __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X #define __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X 0 #undef __GLIBC_USE_IEC_60559_TYPES_EXT #define __GLIBC_USE_IEC_60559_TYPES_EXT 0 # 27 "/usr/include/stdlib.h" 2 3 4 #define __need_size_t #define __need_wchar_t #define __need_NULL # 1 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 1 3 4 # 237 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 #undef __need_size_t # 267 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 #define __wchar_t__ #define __WCHAR_T__ #define _WCHAR_T #define _T_WCHAR_ #define _T_WCHAR #define __WCHAR_T #define _WCHAR_T_ #define _BSD_WCHAR_T_ #define _WCHAR_T_DEFINED_ #define _WCHAR_T_DEFINED #define _WCHAR_T_H #define ___int_wchar_t_h #define __INT_WCHAR_T_H #define _GCC_WCHAR_T #define _WCHAR_T_DECLARED #define __DEFINED_wchar_t # 295 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 #undef _BSD_WCHAR_T_ # 329 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 typedef int wchar_t; # 349 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 #undef __need_wchar_t # 399 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 #undef NULL #define NULL ((void *)0) #undef __need_NULL # 33 "/usr/include/stdlib.h" 2 3 4 #define _STDLIB_H 1 # 1 "/usr/include/bits/waitflags.h" 1 3 4 # 25 "/usr/include/bits/waitflags.h" 3 4 #define WNOHANG 1 #define WUNTRACED 2 #define WSTOPPED 2 #define WEXITED 4 #define WCONTINUED 8 #define WNOWAIT 0x01000000 #define __WNOTHREAD 0x20000000 #define __WALL 0x40000000 #define __WCLONE 0x80000000 # 41 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/bits/waitstatus.h" 1 3 4 # 28 "/usr/include/bits/waitstatus.h" 3 4 #define __WEXITSTATUS(status) (((status) & 0xff00) >> 8) #define __WTERMSIG(status) ((status) & 0x7f) #define __WSTOPSIG(status) __WEXITSTATUS(status) #define __WIFEXITED(status) (__WTERMSIG(status) == 0) #define __WIFSIGNALED(status) (((signed char) (((status) & 0x7f) + 1) >> 1) > 0) #define __WIFSTOPPED(status) (((status) & 0xff) == 0x7f) #define __WIFCONTINUED(status) ((status) == __W_CONTINUED) #define __WCOREDUMP(status) ((status) & __WCOREFLAG) #define __W_EXITCODE(ret,sig) ((ret) << 8 | (sig)) #define __W_STOPCODE(sig) ((sig) << 8 | 0x7f) #define __W_CONTINUED 0xffff #define __WCOREFLAG 0x80 # 42 "/usr/include/stdlib.h" 2 3 4 #define WEXITSTATUS(status) __WEXITSTATUS (status) #define WTERMSIG(status) __WTERMSIG (status) #define WSTOPSIG(status) __WSTOPSIG (status) #define WIFEXITED(status) __WIFEXITED (status) #define WIFSIGNALED(status) __WIFSIGNALED (status) #define WIFSTOPPED(status) __WIFSTOPPED (status) #define WIFCONTINUED(status) __WIFCONTINUED (status) typedef struct { int quot; int rem; } div_t; typedef struct { long int quot; long int rem; } ldiv_t; #define __ldiv_t_defined 1 __extension__ typedef struct { long long int quot; long long int rem; } lldiv_t; #define __lldiv_t_defined 1 #define RAND_MAX 2147483647 #define EXIT_FAILURE 1 #define EXIT_SUCCESS 0 #define MB_CUR_MAX (__ctype_get_mb_cur_max ()) extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern double atof (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern int atoi (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern long int atol (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); __extension__ extern long long int atoll (const char *__nptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern double strtod (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern float strtof (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long double strtold (const char *__restrict __nptr, char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 177 "/usr/include/stdlib.h" 3 4 extern long int strtol (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern unsigned long int strtoul (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoq (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtouq (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern long long int strtoll (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); __extension__ extern unsigned long long int strtoull (const char *__restrict __nptr, char **__restrict __endptr, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 480 "/usr/include/stdlib.h" 3 4 extern __inline __attribute__ ((__gnu_inline__)) int __attribute__ ((__nothrow__ , __leaf__)) atoi (const char *__nptr) { return (int) strtol (__nptr, (char **) ((void *)0), 10); } extern __inline __attribute__ ((__gnu_inline__)) long int __attribute__ ((__nothrow__ , __leaf__)) atol (const char *__nptr) { return strtol (__nptr, (char **) ((void *)0), 10); } __extension__ extern __inline __attribute__ ((__gnu_inline__)) long long int __attribute__ ((__nothrow__ , __leaf__)) atoll (const char *__nptr) { return strtoll (__nptr, (char **) ((void *)0), 10); } # 505 "/usr/include/stdlib.h" 3 4 extern char *l64a (long int __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern long int a64l (const char *__s) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); # 1 "/usr/include/sys/types.h" 1 3 4 # 23 "/usr/include/sys/types.h" 3 4 #define _SYS_TYPES_H 1 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; #define __u_char_defined typedef __loff_t loff_t; typedef __ino64_t ino_t; #define __ino_t_defined typedef __dev_t dev_t; #define __dev_t_defined typedef __gid_t gid_t; #define __gid_t_defined typedef __mode_t mode_t; #define __mode_t_defined typedef __nlink_t nlink_t; #define __nlink_t_defined typedef __uid_t uid_t; #define __uid_t_defined # 97 "/usr/include/sys/types.h" 3 4 typedef __pid_t pid_t; #define __pid_t_defined typedef __id_t id_t; #define __id_t_defined # 114 "/usr/include/sys/types.h" 3 4 typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; #define __daddr_t_defined typedef __key_t key_t; #define __key_t_defined # 1 "/usr/include/bits/types/clock_t.h" 1 3 4 #define __clock_t_defined 1 typedef __clock_t clock_t; # 127 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/bits/types/clockid_t.h" 1 3 4 #define __clockid_t_defined 1 typedef __clockid_t clockid_t; # 129 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/bits/types/time_t.h" 1 3 4 #define __time_t_defined 1 typedef __time_t time_t; # 130 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/bits/types/timer_t.h" 1 3 4 #define __timer_t_defined 1 typedef __timer_t timer_t; # 131 "/usr/include/sys/types.h" 2 3 4 # 143 "/usr/include/sys/types.h" 3 4 #define __need_size_t # 1 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 1 3 4 # 237 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 #undef __need_size_t # 410 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 #undef __need_NULL # 145 "/usr/include/sys/types.h" 2 3 4 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 1 "/usr/include/bits/stdint-intn.h" 1 3 4 # 20 "/usr/include/bits/stdint-intn.h" 3 4 #define _BITS_STDINT_INTN_H 1 typedef __int8_t int8_t; typedef __int16_t int16_t; typedef __int32_t int32_t; typedef __int64_t int64_t; # 156 "/usr/include/sys/types.h" 2 3 4 typedef __uint8_t u_int8_t; typedef __uint16_t u_int16_t; typedef __uint32_t u_int32_t; typedef __uint64_t u_int64_t; typedef int register_t __attribute__ ((__mode__ (__word__))); #define __BIT_TYPES_DEFINED__ 1 # 1 "/usr/include/endian.h" 1 3 4 # 19 "/usr/include/endian.h" 3 4 #define _ENDIAN_H 1 # 1 "/usr/include/bits/endian.h" 1 3 4 # 20 "/usr/include/bits/endian.h" 3 4 #define _BITS_ENDIAN_H 1 # 30 "/usr/include/bits/endian.h" 3 4 #define __LITTLE_ENDIAN 1234 #define __BIG_ENDIAN 4321 #define __PDP_ENDIAN 3412 # 1 "/usr/include/bits/endianness.h" 1 3 4 #define _BITS_ENDIANNESS_H 1 #define __BYTE_ORDER __LITTLE_ENDIAN # 36 "/usr/include/bits/endian.h" 2 3 4 #define __FLOAT_WORD_ORDER __BYTE_ORDER #define __LONG_LONG_PAIR(HI,LO) LO, HI # 25 "/usr/include/endian.h" 2 3 4 #define LITTLE_ENDIAN __LITTLE_ENDIAN #define BIG_ENDIAN __BIG_ENDIAN #define PDP_ENDIAN __PDP_ENDIAN #define BYTE_ORDER __BYTE_ORDER # 1 "/usr/include/bits/byteswap.h" 1 3 4 # 24 "/usr/include/bits/byteswap.h" 3 4 #define _BITS_BYTESWAP_H 1 #define __bswap_constant_16(x) ((__uint16_t) ((((x) >> 8) & 0xff) | (((x) & 0xff) << 8))) static __inline __uint16_t __bswap_16 (__uint16_t __bsx) { return __builtin_bswap16 (__bsx); } #define __bswap_constant_32(x) ((((x) & 0xff000000u) >> 24) | (((x) & 0x00ff0000u) >> 8) | (((x) & 0x0000ff00u) << 8) | (((x) & 0x000000ffu) << 24)) static __inline __uint32_t __bswap_32 (__uint32_t __bsx) { return __builtin_bswap32 (__bsx); } #define __bswap_constant_64(x) ((((x) & 0xff00000000000000ull) >> 56) | (((x) & 0x00ff000000000000ull) >> 40) | (((x) & 0x0000ff0000000000ull) >> 24) | (((x) & 0x000000ff00000000ull) >> 8) | (((x) & 0x00000000ff000000ull) << 8) | (((x) & 0x0000000000ff0000ull) << 24) | (((x) & 0x000000000000ff00ull) << 40) | (((x) & 0x00000000000000ffull) << 56)) # 69 "/usr/include/bits/byteswap.h" 3 4 __extension__ static __inline __uint64_t __bswap_64 (__uint64_t __bsx) { return __builtin_bswap64 (__bsx); } # 36 "/usr/include/endian.h" 2 3 4 # 1 "/usr/include/bits/uintn-identity.h" 1 3 4 # 24 "/usr/include/bits/uintn-identity.h" 3 4 #define _BITS_UINTN_IDENTITY_H 1 static __inline __uint16_t __uint16_identity (__uint16_t __x) { return __x; } static __inline __uint32_t __uint32_identity (__uint32_t __x) { return __x; } static __inline __uint64_t __uint64_identity (__uint64_t __x) { return __x; } # 37 "/usr/include/endian.h" 2 3 4 #define htobe16(x) __bswap_16 (x) #define htole16(x) __uint16_identity (x) #define be16toh(x) __bswap_16 (x) #define le16toh(x) __uint16_identity (x) #define htobe32(x) __bswap_32 (x) #define htole32(x) __uint32_identity (x) #define be32toh(x) __bswap_32 (x) #define le32toh(x) __uint32_identity (x) #define htobe64(x) __bswap_64 (x) #define htole64(x) __uint64_identity (x) #define be64toh(x) __bswap_64 (x) #define le64toh(x) __uint64_identity (x) # 177 "/usr/include/sys/types.h" 2 3 4 # 1 "/usr/include/sys/select.h" 1 3 4 # 22 "/usr/include/sys/select.h" 3 4 #define _SYS_SELECT_H 1 # 1 "/usr/include/bits/select.h" 1 3 4 # 25 "/usr/include/bits/select.h" 3 4 #define __FD_ZERO(s) do { unsigned int __i; fd_set *__arr = (s); for (__i = 0; __i < sizeof (fd_set) / sizeof (__fd_mask); ++__i) __FDS_BITS (__arr)[__i] = 0; } while (0) #define __FD_SET(d,s) ((void) (__FDS_BITS (s)[__FD_ELT(d)] |= __FD_MASK(d))) #define __FD_CLR(d,s) ((void) (__FDS_BITS (s)[__FD_ELT(d)] &= ~__FD_MASK(d))) #define __FD_ISSET(d,s) ((__FDS_BITS (s)[__FD_ELT (d)] & __FD_MASK (d)) != 0) # 31 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/types/sigset_t.h" 1 3 4 #define __sigset_t_defined 1 # 1 "/usr/include/bits/types/__sigset_t.h" 1 3 4 #define ____sigset_t_defined #define _SIGSET_NWORDS (1024 / (8 * sizeof (unsigned long int))) typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 5 "/usr/include/bits/types/sigset_t.h" 2 3 4 typedef __sigset_t sigset_t; # 34 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/types/struct_timeval.h" 1 3 4 #define __timeval_defined 1 struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 38 "/usr/include/sys/select.h" 2 3 4 # 1 "/usr/include/bits/types/struct_timespec.h" 1 3 4 #define _STRUCT_TIMESPEC 1 struct timespec { __time_t tv_sec; __syscall_slong_t tv_nsec; # 31 "/usr/include/bits/types/struct_timespec.h" 3 4 }; # 40 "/usr/include/sys/select.h" 2 3 4 typedef __suseconds_t suseconds_t; #define __suseconds_t_defined typedef long int __fd_mask; #undef __NFDBITS #define __NFDBITS (8 * (int) sizeof (__fd_mask)) #define __FD_ELT(d) ((d) / __NFDBITS) #define __FD_MASK(d) ((__fd_mask) (1UL << ((d) % __NFDBITS))) typedef struct { __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))]; #define __FDS_BITS(set) ((set)->__fds_bits) } fd_set; #define FD_SETSIZE __FD_SETSIZE typedef __fd_mask fd_mask; #define NFDBITS __NFDBITS #define FD_SET(fd,fdsetp) __FD_SET (fd, fdsetp) #define FD_CLR(fd,fdsetp) __FD_CLR (fd, fdsetp) #define FD_ISSET(fd,fdsetp) __FD_ISSET (fd, fdsetp) #define FD_ZERO(fdsetp) __FD_ZERO (fdsetp) # 102 "/usr/include/sys/select.h" 3 4 extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 127 "/usr/include/sys/select.h" 3 4 extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask); # 150 "/usr/include/sys/select.h" 3 4 # 1 "/usr/include/bits/select2.h" 1 3 4 # 23 "/usr/include/bits/select2.h" 3 4 # 1 "/usr/include/bits/select-decl.h" 1 3 4 # 20 "/usr/include/bits/select-decl.h" 3 4 #define _BITS_SELECT_DECL_H 1 extern long int __fdelt_chk (long int __d); extern long int __fdelt_warn (long int __d) __attribute__((__warning__ ("bit outside of fd_set selected"))); # 24 "/usr/include/bits/select2.h" 2 3 4 #undef __FD_ELT #define __FD_ELT(d) __extension__ ({ long int __d = (d); (__builtin_constant_p (__d) ? (0 <= __d && __d < __FD_SETSIZE ? (__d / __NFDBITS) : __fdelt_warn (__d)) : __fdelt_chk (__d)); }) # 151 "/usr/include/sys/select.h" 2 3 4 # 180 "/usr/include/sys/types.h" 2 3 4 typedef __blksize_t blksize_t; #define __blksize_t_defined # 205 "/usr/include/sys/types.h" 3 4 typedef __blkcnt64_t blkcnt_t; #define __blkcnt_t_defined typedef __fsblkcnt64_t fsblkcnt_t; #define __fsblkcnt_t_defined typedef __fsfilcnt64_t fsfilcnt_t; #define __fsfilcnt_t_defined # 227 "/usr/include/sys/types.h" 3 4 # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 # 20 "/usr/include/bits/pthreadtypes.h" 3 4 #define _BITS_PTHREADTYPES_COMMON_H 1 # 1 "/usr/include/bits/thread-shared-types.h" 1 3 4 # 20 "/usr/include/bits/thread-shared-types.h" 3 4 #define _THREAD_SHARED_TYPES_H 1 # 44 "/usr/include/bits/thread-shared-types.h" 3 4 # 1 "/usr/include/bits/pthreadtypes-arch.h" 1 3 4 # 20 "/usr/include/bits/pthreadtypes-arch.h" 3 4 #define _BITS_PTHREADTYPES_ARCH_H 1 #define __SIZEOF_PTHREAD_MUTEXATTR_T 4 #define __SIZEOF_PTHREAD_COND_T 48 #define __SIZEOF_PTHREAD_CONDATTR_T 4 #define __SIZEOF_PTHREAD_RWLOCKATTR_T 8 #define __SIZEOF_PTHREAD_BARRIERATTR_T 4 #define __SIZEOF_PTHREAD_ATTR_T 56 #define __SIZEOF_PTHREAD_MUTEX_T 40 #define __SIZEOF_PTHREAD_RWLOCK_T 56 #define __SIZEOF_PTHREAD_BARRIER_T 32 #define __LOCK_ALIGNMENT #define __ONCE_ALIGNMENT # 45 "/usr/include/bits/thread-shared-types.h" 2 3 4 # 1 "/usr/include/bits/atomic_wide_counter.h" 1 3 4 # 20 "/usr/include/bits/atomic_wide_counter.h" 3 4 #define _BITS_ATOMIC_WIDE_COUNTER_H typedef union { __extension__ unsigned long long int __value64; struct { unsigned int __low; unsigned int __high; } __value32; } __atomic_wide_counter; # 47 "/usr/include/bits/thread-shared-types.h" 2 3 4 typedef struct __pthread_internal_list { struct __pthread_internal_list *__prev; struct __pthread_internal_list *__next; } __pthread_list_t; typedef struct __pthread_internal_slist { struct __pthread_internal_slist *__next; } __pthread_slist_t; # 76 "/usr/include/bits/thread-shared-types.h" 3 4 # 1 "/usr/include/bits/struct_mutex.h" 1 3 4 # 20 "/usr/include/bits/struct_mutex.h" 3 4 #define _THREAD_MUTEX_INTERNAL_H 1 struct __pthread_mutex_s { int __lock ; unsigned int __count; int __owner; unsigned int __nusers; # 58 "/usr/include/bits/struct_mutex.h" 3 4 int __kind; int __spins; __pthread_list_t __list; #define __PTHREAD_MUTEX_HAVE_PREV 1 # 74 "/usr/include/bits/struct_mutex.h" 3 4 }; #define __PTHREAD_MUTEX_INITIALIZER(__kind) 0, 0, 0, 0, __kind, 0, { 0, 0 } # 77 "/usr/include/bits/thread-shared-types.h" 2 3 4 # 89 "/usr/include/bits/thread-shared-types.h" 3 4 # 1 "/usr/include/bits/struct_rwlock.h" 1 3 4 # 21 "/usr/include/bits/struct_rwlock.h" 3 4 #define _RWLOCK_INTERNAL_H struct __pthread_rwlock_arch_t { unsigned int __readers; unsigned int __writers; unsigned int __wrphase_futex; unsigned int __writers_futex; unsigned int __pad3; unsigned int __pad4; int __cur_writer; int __shared; unsigned long int __pad1; unsigned long int __pad2; unsigned int __flags; # 55 "/usr/include/bits/struct_rwlock.h" 3 4 }; #define __PTHREAD_RWLOCK_INITIALIZER(__flags) 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, __flags # 90 "/usr/include/bits/thread-shared-types.h" 2 3 4 struct __pthread_cond_s { __atomic_wide_counter __wseq; __atomic_wide_counter __g1_start; unsigned int __g_refs[2] ; unsigned int __g_size[2]; unsigned int __g1_orig_size; unsigned int __wrefs; unsigned int __g_signals[2]; }; typedef unsigned int __tss_t; typedef unsigned long int __thrd_t; typedef struct { int __data ; } __once_flag; #define __ONCE_FLAG_INIT { 0 } # 24 "/usr/include/bits/pthreadtypes.h" 2 3 4 typedef unsigned long int pthread_t; typedef union { char __size[4]; int __align; } pthread_mutexattr_t; typedef union { char __size[4]; int __align; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef int pthread_once_t; union pthread_attr_t { char __size[56]; long int __align; }; typedef union pthread_attr_t pthread_attr_t; #define __have_pthread_attr_t 1 typedef union { struct __pthread_mutex_s __data; char __size[40]; long int __align; } pthread_mutex_t; typedef union { struct __pthread_cond_s __data; char __size[48]; __extension__ long long int __align; } pthread_cond_t; typedef union { struct __pthread_rwlock_arch_t __data; char __size[56]; long int __align; } pthread_rwlock_t; typedef union { char __size[8]; long int __align; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef union { char __size[32]; long int __align; } pthread_barrier_t; typedef union { char __size[4]; int __align; } pthread_barrierattr_t; # 228 "/usr/include/sys/types.h" 2 3 4 # 515 "/usr/include/stdlib.h" 2 3 4 extern long int random (void) __attribute__ ((__nothrow__ , __leaf__)); extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__)); extern char *initstate (unsigned int __seed, char *__statebuf, size_t __statelen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); struct random_data { int32_t *fptr; int32_t *rptr; int32_t *state; int rand_type; int rand_deg; int rand_sep; int32_t *end_ptr; }; extern int random_r (struct random_data *__restrict __buf, int32_t *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int srandom_r (unsigned int __seed, struct random_data *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, size_t __statelen, struct random_data *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))); extern int setstate_r (char *__restrict __statebuf, struct random_data *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int rand (void) __attribute__ ((__nothrow__ , __leaf__)); extern void srand (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__)); extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__ , __leaf__)); extern double drand48 (void) __attribute__ ((__nothrow__ , __leaf__)); extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long int lrand48 (void) __attribute__ ((__nothrow__ , __leaf__)); extern long int nrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long int mrand48 (void) __attribute__ ((__nothrow__ , __leaf__)); extern long int jrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void srand48 (long int __seedval) __attribute__ ((__nothrow__ , __leaf__)); extern unsigned short int *seed48 (unsigned short int __seed16v[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); struct drand48_data { unsigned short int __x[3]; unsigned short int __old_x[3]; unsigned short int __c; unsigned short int __init; __extension__ unsigned long long int __a; }; extern int drand48_r (struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int erand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int lrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int nrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int mrand48_r (struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int jrand48_r (unsigned short int __xsubi[3], struct drand48_data *__restrict __buffer, long int *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int srand48_r (long int __seedval, struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int seed48_r (unsigned short int __seed16v[3], struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int lcong48_r (unsigned short int __param[7], struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern __uint32_t arc4random (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern void arc4random_buf (void *__buf, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern __uint32_t arc4random_uniform (__uint32_t __upper_bound) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern void *malloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__alloc_size__ (1))) __attribute__ ((__warn_unused_result__)); extern void *calloc (size_t __nmemb, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__alloc_size__ (1, 2))) __attribute__ ((__warn_unused_result__)); extern void *realloc (void *__ptr, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__alloc_size__ (2))); extern void free (void *__ptr) __attribute__ ((__nothrow__ , __leaf__)); extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)) __attribute__ ((__alloc_size__ (2, 3))) __attribute__ ((__malloc__ (__builtin_free, 1))); extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__ (reallocarray, 1))); # 1 "/usr/include/alloca.h" 1 3 4 # 19 "/usr/include/alloca.h" 3 4 #define _ALLOCA_H 1 #define __need_size_t # 1 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 1 3 4 # 237 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 #undef __need_size_t # 410 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 #undef __need_NULL # 25 "/usr/include/alloca.h" 2 3 4 #undef alloca extern void *alloca (size_t __size) __attribute__ ((__nothrow__ , __leaf__)); #define alloca(size) __builtin_alloca (size) # 707 "/usr/include/stdlib.h" 2 3 4 extern void *valloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__alloc_size__ (1))) __attribute__ ((__warn_unused_result__)); extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); extern void *aligned_alloc (size_t __alignment, size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__alloc_align__ (1))) __attribute__ ((__alloc_size__ (2))) __attribute__ ((__warn_unused_result__)); extern void abort (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int at_quick_exit (void (*__func) (void)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern void quick_exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern void _Exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern char *getenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); # 786 "/usr/include/stdlib.h" 3 4 extern int putenv (char *__string) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int setenv (const char *__name, const char *__value, int __replace) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int unsetenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int clearenv (void) __attribute__ ((__nothrow__ , __leaf__)); # 814 "/usr/include/stdlib.h" 3 4 extern char *mktemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 830 "/usr/include/stdlib.h" 3 4 extern int mkstemp (char *__template) __asm__ ("" "mkstemp64") __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); # 852 "/usr/include/stdlib.h" 3 4 extern int mkstemps (char *__template, int __suffixlen) __asm__ ("" "mkstemps64") __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); # 870 "/usr/include/stdlib.h" 3 4 extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); # 923 "/usr/include/stdlib.h" 3 4 extern int system (const char *__command) __attribute__ ((__warn_unused_result__)); # 940 "/usr/include/stdlib.h" 3 4 extern char *realpath (const char *__restrict __name, char *__restrict __resolved) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); #define __COMPAR_FN_T typedef int (*__compar_fn_t) (const void *, const void *); # 960 "/usr/include/stdlib.h" 3 4 extern void *bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 2, 5))) __attribute__ ((__warn_unused_result__)); # 1 "/usr/include/bits/stdlib-bsearch.h" 1 3 4 # 19 "/usr/include/bits/stdlib-bsearch.h" 3 4 extern __inline __attribute__ ((__gnu_inline__)) void * bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) { size_t __l, __u, __idx; const void *__p; int __comparison; __l = 0; __u = __nmemb; while (__l < __u) { __idx = (__l + __u) / 2; __p = (const void *) (((const char *) __base) + (__idx * __size)); __comparison = (*__compar) (__key, __p); if (__comparison < 0) __u = __idx; else if (__comparison > 0) __l = __idx + 1; else { #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wcast-qual" return (void *) __p; #pragma GCC diagnostic pop } } return ((void *)0); } # 966 "/usr/include/stdlib.h" 2 3 4 extern void qsort (void *__base, size_t __nmemb, size_t __size, __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); # 980 "/usr/include/stdlib.h" 3 4 extern int abs (int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); extern long int labs (long int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); __extension__ extern long long int llabs (long long int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); extern div_t div (int __numer, int __denom) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); extern ldiv_t ldiv (long int __numer, long int __denom) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); __extension__ extern lldiv_t lldiv (long long int __numer, long long int __denom) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__)); # 1012 "/usr/include/stdlib.h" 3 4 extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__)); extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__)); extern char *gcvt (double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) __attribute__ ((__warn_unused_result__)); extern char *qecvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__)); extern char *qfcvt (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__)); extern char *qgcvt (long double __value, int __ndigit, char *__buf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) __attribute__ ((__warn_unused_result__)); extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int qecvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int qfcvt_r (long double __value, int __ndigit, int *__restrict __decpt, int *__restrict __sign, char *__restrict __buf, size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5))); extern int mblen (const char *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern int mbtowc (wchar_t *__restrict __pwc, const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)); extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__ , __leaf__)); extern size_t mbstowcs (wchar_t *__restrict __pwcs, const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__access__ (__read_only__, 2))); extern size_t wcstombs (char *__restrict __s, const wchar_t *__restrict __pwcs, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__access__ (__write_only__, 1, 3))) __attribute__ ((__access__ (__read_only__, 2))); extern int rpmatch (const char *__response) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)); # 1099 "/usr/include/stdlib.h" 3 4 extern int getsubopt (char **__restrict __optionp, char *const *__restrict __tokens, char **__restrict __valuep) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2, 3))) __attribute__ ((__warn_unused_result__)); # 1145 "/usr/include/stdlib.h" 3 4 extern int getloadavg (double __loadavg[], int __nelem) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 1155 "/usr/include/stdlib.h" 3 4 # 1 "/usr/include/bits/stdlib-float.h" 1 3 4 # 24 "/usr/include/bits/stdlib-float.h" 3 4 extern __inline __attribute__ ((__gnu_inline__)) double __attribute__ ((__nothrow__ , __leaf__)) atof (const char *__nptr) { return strtod (__nptr, (char **) ((void *)0)); } # 1156 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/bits/stdlib.h" 1 3 4 # 23 "/usr/include/bits/stdlib.h" 3 4 extern char *__realpath_chk (const char *__restrict __name, char *__restrict __resolved, size_t __resolvedlen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern char *__realpath_alias (const char *__restrict __name, char *__restrict __resolved) __asm__ ("" "realpath") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern char *__realpath_chk_warn (const char *__restrict __name, char *__restrict __resolved, size_t __resolvedlen) __asm__ ("" "__realpath_chk") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("second argument of realpath must be either NULL or at " "least PATH_MAX bytes long buffer"))) ; extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char * __attribute__ ((__nothrow__ , __leaf__)) realpath (const char *__restrict __name, char *__restrict __resolved) { size_t sz = __builtin_object_size (__resolved, 2 > 1); if (sz == (size_t) -1) return __realpath_alias (__name, __resolved); return __realpath_chk (__name, __resolved, sz); } extern int __ptsname_r_chk (int __fd, char *__buf, size_t __buflen, size_t __nreal) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__access__ (__write_only__, 2, 3))); extern int __ptsname_r_alias (int __fd, char *__buf, size_t __buflen) __asm__ ("" "ptsname_r") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__access__ (__write_only__, 2, 3))); extern int __ptsname_r_chk_warn (int __fd, char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__ptsname_r_chk") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__((__warning__ ("ptsname_r called with buflen bigger than " "size of buf"))) ; extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) int __attribute__ ((__nothrow__ , __leaf__)) ptsname_r (int __fd, char *__buf, size_t __buflen) { return (((__builtin_constant_p (__builtin_object_size (__buf, 2 > 1)) && (__builtin_object_size (__buf, 2 > 1)) == (long unsigned int) -1) || (((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((long unsigned int) (__buflen)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char))))) && (((long unsigned int) (__buflen)) <= ((__builtin_object_size (__buf, 2 > 1))) / ((sizeof (char)))))) ? __ptsname_r_alias (__fd, __buf, __buflen) : ((((__typeof (__buflen)) 0 < (__typeof (__buflen)) -1 || (__builtin_constant_p (__buflen) && (__buflen) > 0)) && __builtin_constant_p ((((long unsigned int) (__buflen)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) && !(((long unsigned int) (__buflen)) <= (__builtin_object_size (__buf, 2 > 1)) / (sizeof (char)))) ? __ptsname_r_chk_warn (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1)) : __ptsname_r_chk (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1)))) ; } extern int __wctomb_chk (char *__s, wchar_t __wchar, size_t __buflen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern int __wctomb_alias (char *__s, wchar_t __wchar) __asm__ ("" "wctomb") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) int __attribute__ ((__nothrow__ , __leaf__)) wctomb (char *__s, wchar_t __wchar) { #define __STDLIB_MB_LEN_MAX 16 if (__builtin_object_size (__s, 2 > 1) != (size_t) -1 && 16 > __builtin_object_size (__s, 2 > 1)) return __wctomb_chk (__s, __wchar, __builtin_object_size (__s, 2 > 1)); return __wctomb_alias (__s, __wchar); } extern size_t __mbstowcs_chk (wchar_t *__restrict __dst, const char *__restrict __src, size_t __len, size_t __dstlen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__access__ (__write_only__, 1, 3))) __attribute__ ((__access__ (__read_only__, 2))); extern size_t __mbstowcs_nulldst (wchar_t *__restrict __dst, const char *__restrict __src, size_t __len) __asm__ ("" "mbstowcs") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__access__ (__read_only__, 2))); extern size_t __mbstowcs_alias (wchar_t *__restrict __dst, const char *__restrict __src, size_t __len) __asm__ ("" "mbstowcs") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__access__ (__write_only__, 1, 3))) __attribute__ ((__access__ (__read_only__, 2))); extern size_t __mbstowcs_chk_warn (wchar_t *__restrict __dst, const char *__restrict __src, size_t __len, size_t __dstlen) __asm__ ("" "__mbstowcs_chk") __attribute__ ((__nothrow__ , __leaf__)) __attribute__((__warning__ ("mbstowcs called with dst buffer smaller than len " "* sizeof (wchar_t)"))) ; extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) size_t __attribute__ ((__nothrow__ , __leaf__)) mbstowcs (wchar_t *__restrict __dst, const char *__restrict __src, size_t __len) { if (__builtin_constant_p (__dst == ((void *)0)) && __dst == ((void *)0)) return __mbstowcs_nulldst (__dst, __src, __len); else return (((__builtin_constant_p (__builtin_object_size (__dst, 2 > 1)) && (__builtin_object_size (__dst, 2 > 1)) == (long unsigned int) -1) || (((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((long unsigned int) (__len)) <= ((__builtin_object_size (__dst, 2 > 1))) / ((sizeof (wchar_t))))) && (((long unsigned int) (__len)) <= ((__builtin_object_size (__dst, 2 > 1))) / ((sizeof (wchar_t)))))) ? __mbstowcs_alias (__dst, __src, __len) : ((((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((long unsigned int) (__len)) <= (__builtin_object_size (__dst, 2 > 1)) / (sizeof (wchar_t)))) && !(((long unsigned int) (__len)) <= (__builtin_object_size (__dst, 2 > 1)) / (sizeof (wchar_t)))) ? __mbstowcs_chk_warn (__dst, __src, __len, (__builtin_object_size (__dst, 2 > 1)) / (sizeof (wchar_t))) : __mbstowcs_chk (__dst, __src, __len, (__builtin_object_size (__dst, 2 > 1)) / (sizeof (wchar_t))))) ; } extern size_t __wcstombs_chk (char *__restrict __dst, const wchar_t *__restrict __src, size_t __len, size_t __dstlen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__access__ (__write_only__, 1, 3))) __attribute__ ((__access__ (__read_only__, 2))); extern size_t __wcstombs_alias (char *__restrict __dst, const wchar_t *__restrict __src, size_t __len) __asm__ ("" "wcstombs") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__access__ (__write_only__, 1, 3))) __attribute__ ((__access__ (__read_only__, 2))); extern size_t __wcstombs_chk_warn (char *__restrict __dst, const wchar_t *__restrict __src, size_t __len, size_t __dstlen) __asm__ ("" "__wcstombs_chk") __attribute__ ((__nothrow__ , __leaf__)) __attribute__((__warning__ ("wcstombs called with dst buffer smaller than len"))); extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) size_t __attribute__ ((__nothrow__ , __leaf__)) wcstombs (char *__restrict __dst, const wchar_t *__restrict __src, size_t __len) { return (((__builtin_constant_p (__builtin_object_size (__dst, 2 > 1)) && (__builtin_object_size (__dst, 2 > 1)) == (long unsigned int) -1) || (((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((long unsigned int) (__len)) <= ((__builtin_object_size (__dst, 2 > 1))) / ((sizeof (char))))) && (((long unsigned int) (__len)) <= ((__builtin_object_size (__dst, 2 > 1))) / ((sizeof (char)))))) ? __wcstombs_alias (__dst, __src, __len) : ((((__typeof (__len)) 0 < (__typeof (__len)) -1 || (__builtin_constant_p (__len) && (__len) > 0)) && __builtin_constant_p ((((long unsigned int) (__len)) <= (__builtin_object_size (__dst, 2 > 1)) / (sizeof (char)))) && !(((long unsigned int) (__len)) <= (__builtin_object_size (__dst, 2 > 1)) / (sizeof (char)))) ? __wcstombs_chk_warn (__dst, __src, __len, __builtin_object_size (__dst, 2 > 1)) : __wcstombs_chk (__dst, __src, __len, __builtin_object_size (__dst, 2 > 1)))) ; } # 1160 "/usr/include/stdlib.h" 2 3 4 # 18 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 2 # 1 "/usr/include/string.h" 1 3 4 # 23 "/usr/include/string.h" 3 4 #define _STRING_H 1 #define __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION # 1 "/usr/include/bits/libc-header-start.h" 1 3 4 # 31 "/usr/include/bits/libc-header-start.h" 3 4 #undef __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION #undef __GLIBC_USE_LIB_EXT2 #define __GLIBC_USE_LIB_EXT2 0 # 67 "/usr/include/bits/libc-header-start.h" 3 4 #undef __GLIBC_USE_IEC_60559_BFP_EXT #define __GLIBC_USE_IEC_60559_BFP_EXT 0 #undef __GLIBC_USE_IEC_60559_BFP_EXT_C2X #define __GLIBC_USE_IEC_60559_BFP_EXT_C2X 0 #undef __GLIBC_USE_IEC_60559_EXT #define __GLIBC_USE_IEC_60559_EXT 0 #undef __GLIBC_USE_IEC_60559_FUNCS_EXT #define __GLIBC_USE_IEC_60559_FUNCS_EXT 0 #undef __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X #define __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X 0 #undef __GLIBC_USE_IEC_60559_TYPES_EXT #define __GLIBC_USE_IEC_60559_TYPES_EXT 0 # 27 "/usr/include/string.h" 2 3 4 #define __need_size_t #define __need_NULL # 1 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 1 3 4 # 237 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 #undef __need_size_t # 399 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 #undef NULL #define NULL ((void *)0) #undef __need_NULL # 34 "/usr/include/string.h" 2 3 4 # 43 "/usr/include/string.h" 3 4 extern void *memcpy (void *__restrict __dest, const void *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memmove (void *__dest, const void *__src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memccpy (void *__restrict __dest, const void *__restrict __src, int __c, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__access__ (__write_only__, 1, 4))); extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int memcmp (const void *__s1, const void *__s2, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 80 "/usr/include/string.h" 3 4 extern int __memcmpeq (const void *__s1, const void *__s2, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 107 "/usr/include/string.h" 3 4 extern void *memchr (const void *__s, int __c, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 141 "/usr/include/string.h" 3 4 extern char *strcpy (char *__restrict __dest, const char *__restrict __src) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strncpy (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strcat (char *__restrict __dest, const char *__restrict __src) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strncat (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcmp (const char *__s1, const char *__s2) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strncmp (const char *__s1, const char *__s2, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcoll (const char *__s1, const char *__s2) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strxfrm (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__access__ (__write_only__, 1, 3))); # 1 "/usr/include/bits/types/locale_t.h" 1 3 4 # 20 "/usr/include/bits/types/locale_t.h" 3 4 #define _BITS_TYPES_LOCALE_T_H 1 # 1 "/usr/include/bits/types/__locale_t.h" 1 3 4 # 20 "/usr/include/bits/types/__locale_t.h" 3 4 #define _BITS_TYPES___LOCALE_T_H 1 struct __locale_struct { struct __locale_data *__locales[13]; const unsigned short int *__ctype_b; const int *__ctype_tolower; const int *__ctype_toupper; const char *__names[13]; }; typedef struct __locale_struct *__locale_t; # 23 "/usr/include/bits/types/locale_t.h" 2 3 4 typedef __locale_t locale_t; # 173 "/usr/include/string.h" 2 3 4 extern int strcoll_l (const char *__s1, const char *__s2, locale_t __l) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); extern size_t strxfrm_l (char *__dest, const char *__src, size_t __n, locale_t __l) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))) __attribute__ ((__access__ (__write_only__, 1, 3))); extern char *strdup (const char *__s) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); extern char *strndup (const char *__string, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); # 246 "/usr/include/string.h" 3 4 extern char *strchr (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 273 "/usr/include/string.h" 3 4 extern char *strrchr (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 286 "/usr/include/string.h" 3 4 extern char *strchrnul (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern size_t strcspn (const char *__s, const char *__reject) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strspn (const char *__s, const char *__accept) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 323 "/usr/include/string.h" 3 4 extern char *strpbrk (const char *__s, const char *__accept) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 350 "/usr/include/string.h" 3 4 extern char *strstr (const char *__haystack, const char *__needle) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strtok (char *__restrict __s, const char *__restrict __delim) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern char *__strtok_r (char *__restrict __s, const char *__restrict __delim, char **__restrict __save_ptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); extern char *strtok_r (char *__restrict __s, const char *__restrict __delim, char **__restrict __save_ptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); # 380 "/usr/include/string.h" 3 4 extern char *strcasestr (const char *__haystack, const char *__needle) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern void *memmem (const void *__haystack, size_t __haystacklen, const void *__needle, size_t __needlelen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 3))) __attribute__ ((__access__ (__read_only__, 1, 2))) __attribute__ ((__access__ (__read_only__, 3, 4))); extern void *__mempcpy (void *__restrict __dest, const void *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void *mempcpy (void *__restrict __dest, const void *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strlen (const char *__s) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern size_t strnlen (const char *__string, size_t __maxlen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern char *strerror (int __errnum) __attribute__ ((__nothrow__ , __leaf__)); # 432 "/usr/include/string.h" 3 4 extern int strerror_r (int __errnum, char *__buf, size_t __buflen) __asm__ ("" "__xpg_strerror_r") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__access__ (__write_only__, 2, 3))); # 458 "/usr/include/string.h" 3 4 extern char *strerror_l (int __errnum, locale_t __l) __attribute__ ((__nothrow__ , __leaf__)); # 1 "/usr/include/strings.h" 1 3 4 # 19 "/usr/include/strings.h" 3 4 #define _STRINGS_H 1 #define __need_size_t # 1 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 1 3 4 # 237 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 #undef __need_size_t # 410 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 #undef __need_NULL # 24 "/usr/include/strings.h" 2 3 4 extern int bcmp (const void *__s1, const void *__s2, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern void bcopy (const void *__src, void *__dest, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 68 "/usr/include/strings.h" 3 4 extern char *index (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); # 96 "/usr/include/strings.h" 3 4 extern char *rindex (const char *__s, int __c) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); extern int ffs (int __i) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int ffsl (long int __l) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); __extension__ extern int ffsll (long long int __ll) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int strcasecmp (const char *__s1, const char *__s2) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); extern int strcasecmp_l (const char *__s1, const char *__s2, locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); extern int strncasecmp_l (const char *__s1, const char *__s2, size_t __n, locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 4))); # 1 "/usr/include/bits/strings_fortified.h" 1 3 4 # 20 "/usr/include/bits/strings_fortified.h" 3 4 #define __STRINGS_FORTIFIED 1 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void __attribute__ ((__nothrow__ , __leaf__)) bcopy (const void *__src, void *__dest, size_t __len) { (void) __builtin___memmove_chk (__dest, __src, __len, __builtin_object_size (__dest, 0)); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void __attribute__ ((__nothrow__ , __leaf__)) bzero (void *__dest, size_t __len) { (void) __builtin___memset_chk (__dest, '\0', __len, __builtin_object_size (__dest, 0)); } # 145 "/usr/include/strings.h" 2 3 4 # 463 "/usr/include/string.h" 2 3 4 extern void explicit_bzero (void *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__access__ (__write_only__, 1, 2))); extern char *strsep (char **__restrict __stringp, const char *__restrict __delim) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *strsignal (int __sig) __attribute__ ((__nothrow__ , __leaf__)); # 489 "/usr/include/string.h" 3 4 extern char *__stpcpy (char *__restrict __dest, const char *__restrict __src) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *stpcpy (char *__restrict __dest, const char *__restrict __src) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *__stpncpy (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern char *stpncpy (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern size_t strlcpy (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__access__ (__write_only__, 1, 3))); extern size_t strlcat (char *__restrict __dest, const char *__restrict __src, size_t __n) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__access__ (__read_write__, 1, 3))); # 548 "/usr/include/string.h" 3 4 # 1 "/usr/include/bits/string_fortified.h" 1 3 4 # 19 "/usr/include/bits/string_fortified.h" 3 4 #define _BITS_STRING_FORTIFIED_H 1 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void * __attribute__ ((__nothrow__ , __leaf__)) memcpy (void *__restrict __dest, const void *__restrict __src, size_t __len) { return __builtin___memcpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 0)); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void * __attribute__ ((__nothrow__ , __leaf__)) memmove (void *__dest, const void *__src, size_t __len) { return __builtin___memmove_chk (__dest, __src, __len, __builtin_object_size (__dest, 0)); } # 56 "/usr/include/bits/string_fortified.h" 3 4 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void * __attribute__ ((__nothrow__ , __leaf__)) memset (void *__dest, int __ch, size_t __len) { return __builtin___memset_chk (__dest, __ch, __len, __builtin_object_size (__dest, 0)); } void __explicit_bzero_chk (void *__dest, size_t __len, size_t __destlen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__access__ (__write_only__, 1, 2))); extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) void __attribute__ ((__nothrow__ , __leaf__)) explicit_bzero (void *__dest, size_t __len) { __explicit_bzero_chk (__dest, __len, __builtin_object_size (__dest, 0)); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) char * __attribute__ ((__nothrow__ , __leaf__)) strcpy (char *__restrict __dest, const char *__restrict __src) { return __builtin___strcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1)); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) char * __attribute__ ((__nothrow__ , __leaf__)) stpcpy (char *__restrict __dest, const char *__restrict __src) { return __builtin___stpcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1)); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) char * __attribute__ ((__nothrow__ , __leaf__)) strncpy (char *__restrict __dest, const char *__restrict __src, size_t __len) { return __builtin___strncpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1)); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) char * __attribute__ ((__nothrow__ , __leaf__)) stpncpy (char *__dest, const char *__src, size_t __n) { return __builtin___stpncpy_chk (__dest, __src, __n, __builtin_object_size (__dest, 2 > 1)); } # 127 "/usr/include/bits/string_fortified.h" 3 4 extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) char * __attribute__ ((__nothrow__ , __leaf__)) strcat (char *__restrict __dest, const char *__restrict __src) { return __builtin___strcat_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1)); } extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) char * __attribute__ ((__nothrow__ , __leaf__)) strncat (char *__restrict __dest, const char *__restrict __src, size_t __len) { return __builtin___strncat_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1)); } extern size_t __strlcpy_chk (char *__dest, const char *__src, size_t __n, size_t __destlen) __attribute__ ((__nothrow__ , __leaf__)); extern size_t __strlcpy_alias (char *__dest, const char *__src, size_t __n) __asm__ ("" "strlcpy") __attribute__ ((__nothrow__ , __leaf__)) ; extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) size_t __attribute__ ((__nothrow__ , __leaf__)) strlcpy (char *__restrict __dest, const char *__restrict __src, size_t __n) { if (__builtin_object_size (__dest, 2 > 1) != (size_t) -1 && (!__builtin_constant_p (__n > __builtin_object_size (__dest, 2 > 1)) || __n > __builtin_object_size (__dest, 2 > 1))) return __strlcpy_chk (__dest, __src, __n, __builtin_object_size (__dest, 2 > 1)); return __strlcpy_alias (__dest, __src, __n); } extern size_t __strlcat_chk (char *__dest, const char *__src, size_t __n, size_t __destlen) __attribute__ ((__nothrow__ , __leaf__)); extern size_t __strlcat_alias (char *__dest, const char *__src, size_t __n) __asm__ ("" "strlcat") __attribute__ ((__nothrow__ , __leaf__)) ; extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__gnu_inline__)) __attribute__ ((__artificial__)) size_t __attribute__ ((__nothrow__ , __leaf__)) strlcat (char *__restrict __dest, const char *__restrict __src, size_t __n) { if (__builtin_object_size (__dest, 2 > 1) != (size_t) -1 && (!__builtin_constant_p (__n > __builtin_object_size (__dest, 2 > 1)) || __n > __builtin_object_size (__dest, 2 > 1))) return __strlcat_chk (__dest, __src, __n, __builtin_object_size (__dest, 2 > 1)); return __strlcat_alias (__dest, __src, __n); } # 549 "/usr/include/string.h" 2 3 4 # 19 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 2 # 1 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stdarg.h" 1 3 4 # 31 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stdarg.h" 3 4 #define _STDARG_H #define _ANSI_STDARG_H_ #undef __need___va_list # 50 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stdarg.h" 3 4 #define va_start(v,l) __builtin_va_start(v,l) #define va_end(v) __builtin_va_end(v) #define va_arg(v,l) __builtin_va_arg(v,l) #define va_copy(d,s) __builtin_va_copy(d,s) #define __va_copy(d,s) __builtin_va_copy(d,s) # 109 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stdarg.h" 3 4 #define _VA_LIST_ #define _VA_LIST #define _VA_LIST_T_H #define __va_list__ # 20 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 2 # 1 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stdbool.h" 1 3 4 # 29 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stdbool.h" 3 4 #define _STDBOOL_H #define bool _Bool #define true 1 #define false 0 # 49 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stdbool.h" 3 4 #define __bool_true_false_are_defined 1 # 21 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 2 # 1 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stdint.h" 1 3 4 # 9 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stdint.h" 3 4 # 1 "/usr/include/stdint.h" 1 3 4 # 23 "/usr/include/stdint.h" 3 4 #define _STDINT_H 1 #define __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION # 1 "/usr/include/bits/libc-header-start.h" 1 3 4 # 31 "/usr/include/bits/libc-header-start.h" 3 4 #undef __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION #undef __GLIBC_USE_LIB_EXT2 #define __GLIBC_USE_LIB_EXT2 0 # 67 "/usr/include/bits/libc-header-start.h" 3 4 #undef __GLIBC_USE_IEC_60559_BFP_EXT #define __GLIBC_USE_IEC_60559_BFP_EXT 0 #undef __GLIBC_USE_IEC_60559_BFP_EXT_C2X #define __GLIBC_USE_IEC_60559_BFP_EXT_C2X 0 #undef __GLIBC_USE_IEC_60559_EXT #define __GLIBC_USE_IEC_60559_EXT 0 #undef __GLIBC_USE_IEC_60559_FUNCS_EXT #define __GLIBC_USE_IEC_60559_FUNCS_EXT 0 #undef __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X #define __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X 0 #undef __GLIBC_USE_IEC_60559_TYPES_EXT #define __GLIBC_USE_IEC_60559_TYPES_EXT 0 # 27 "/usr/include/stdint.h" 2 3 4 # 1 "/usr/include/bits/wchar.h" 1 3 4 # 20 "/usr/include/bits/wchar.h" 3 4 #define _BITS_WCHAR_H 1 # 34 "/usr/include/bits/wchar.h" 3 4 #define __WCHAR_MAX __WCHAR_MAX__ #define __WCHAR_MIN __WCHAR_MIN__ # 29 "/usr/include/stdint.h" 2 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 20 "/usr/include/bits/wordsize.h" 3 4 #define __WORDSIZE __riscv_xlen #define __WORDSIZE_TIME64_COMPAT32 1 # 30 "/usr/include/stdint.h" 2 3 4 # 1 "/usr/include/bits/stdint-uintn.h" 1 3 4 # 20 "/usr/include/bits/stdint-uintn.h" 3 4 #define _BITS_STDINT_UINTN_H 1 typedef __uint8_t uint8_t; typedef __uint16_t uint16_t; typedef __uint32_t uint32_t; typedef __uint64_t uint64_t; # 38 "/usr/include/stdint.h" 2 3 4 # 1 "/usr/include/bits/stdint-least.h" 1 3 4 # 20 "/usr/include/bits/stdint-least.h" 3 4 #define _BITS_STDINT_LEAST_H 1 typedef __int_least8_t int_least8_t; typedef __int_least16_t int_least16_t; typedef __int_least32_t int_least32_t; typedef __int_least64_t int_least64_t; typedef __uint_least8_t uint_least8_t; typedef __uint_least16_t uint_least16_t; typedef __uint_least32_t uint_least32_t; typedef __uint_least64_t uint_least64_t; # 42 "/usr/include/stdint.h" 2 3 4 typedef signed char int_fast8_t; typedef long int int_fast16_t; typedef long int int_fast32_t; typedef long int int_fast64_t; # 60 "/usr/include/stdint.h" 3 4 typedef unsigned char uint_fast8_t; typedef unsigned long int uint_fast16_t; typedef unsigned long int uint_fast32_t; typedef unsigned long int uint_fast64_t; # 76 "/usr/include/stdint.h" 3 4 typedef long int intptr_t; #define __intptr_t_defined typedef unsigned long int uintptr_t; # 90 "/usr/include/stdint.h" 3 4 typedef __intmax_t intmax_t; typedef __uintmax_t uintmax_t; #define __INT64_C(c) c ## L #define __UINT64_C(c) c ## UL # 105 "/usr/include/stdint.h" 3 4 #define INT8_MIN (-128) #define INT16_MIN (-32767-1) #define INT32_MIN (-2147483647-1) #define INT64_MIN (-__INT64_C(9223372036854775807)-1) #define INT8_MAX (127) #define INT16_MAX (32767) #define INT32_MAX (2147483647) #define INT64_MAX (__INT64_C(9223372036854775807)) #define UINT8_MAX (255) #define UINT16_MAX (65535) #define UINT32_MAX (4294967295U) #define UINT64_MAX (__UINT64_C(18446744073709551615)) #define INT_LEAST8_MIN (-128) #define INT_LEAST16_MIN (-32767-1) #define INT_LEAST32_MIN (-2147483647-1) #define INT_LEAST64_MIN (-__INT64_C(9223372036854775807)-1) #define INT_LEAST8_MAX (127) #define INT_LEAST16_MAX (32767) #define INT_LEAST32_MAX (2147483647) #define INT_LEAST64_MAX (__INT64_C(9223372036854775807)) #define UINT_LEAST8_MAX (255) #define UINT_LEAST16_MAX (65535) #define UINT_LEAST32_MAX (4294967295U) #define UINT_LEAST64_MAX (__UINT64_C(18446744073709551615)) #define INT_FAST8_MIN (-128) #define INT_FAST16_MIN (-9223372036854775807L-1) #define INT_FAST32_MIN (-9223372036854775807L-1) #define INT_FAST64_MIN (-__INT64_C(9223372036854775807)-1) #define INT_FAST8_MAX (127) #define INT_FAST16_MAX (9223372036854775807L) #define INT_FAST32_MAX (9223372036854775807L) #define INT_FAST64_MAX (__INT64_C(9223372036854775807)) #define UINT_FAST8_MAX (255) #define UINT_FAST16_MAX (18446744073709551615UL) #define UINT_FAST32_MAX (18446744073709551615UL) #define UINT_FAST64_MAX (__UINT64_C(18446744073709551615)) #define INTPTR_MIN (-9223372036854775807L-1) #define INTPTR_MAX (9223372036854775807L) #define UINTPTR_MAX (18446744073709551615UL) # 186 "/usr/include/stdint.h" 3 4 #define INTMAX_MIN (-__INT64_C(9223372036854775807)-1) #define INTMAX_MAX (__INT64_C(9223372036854775807)) #define UINTMAX_MAX (__UINT64_C(18446744073709551615)) #define PTRDIFF_MIN (-9223372036854775807L-1) #define PTRDIFF_MAX (9223372036854775807L) # 211 "/usr/include/stdint.h" 3 4 #define SIG_ATOMIC_MIN (-2147483647-1) #define SIG_ATOMIC_MAX (2147483647) #define SIZE_MAX (18446744073709551615UL) # 228 "/usr/include/stdint.h" 3 4 #define WCHAR_MIN __WCHAR_MIN #define WCHAR_MAX __WCHAR_MAX #define WINT_MIN (0u) #define WINT_MAX (4294967295u) #define INT8_C(c) c #define INT16_C(c) c #define INT32_C(c) c #define INT64_C(c) c ## L #define UINT8_C(c) c #define UINT16_C(c) c #define UINT32_C(c) c ## U #define UINT64_C(c) c ## UL #define INTMAX_C(c) c ## L #define UINTMAX_C(c) c ## UL # 10 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stdint.h" 2 3 4 #define _GCC_WRAP_STDINT_H # 22 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 2 # 1 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/limits.h" 1 3 4 # 30 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/limits.h" 3 4 #define _GCC_LIMITS_H_ # 1 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/syslimits.h" 1 3 4 #define _GCC_NEXT_LIMITS_H # 1 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/limits.h" 1 3 4 # 205 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/limits.h" 3 4 # 1 "/usr/include/limits.h" 1 3 4 # 23 "/usr/include/limits.h" 3 4 #define _LIBC_LIMITS_H_ 1 #define __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION # 1 "/usr/include/bits/libc-header-start.h" 1 3 4 # 31 "/usr/include/bits/libc-header-start.h" 3 4 #undef __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION #undef __GLIBC_USE_LIB_EXT2 #define __GLIBC_USE_LIB_EXT2 0 # 67 "/usr/include/bits/libc-header-start.h" 3 4 #undef __GLIBC_USE_IEC_60559_BFP_EXT #define __GLIBC_USE_IEC_60559_BFP_EXT 0 #undef __GLIBC_USE_IEC_60559_BFP_EXT_C2X #define __GLIBC_USE_IEC_60559_BFP_EXT_C2X 0 #undef __GLIBC_USE_IEC_60559_EXT #define __GLIBC_USE_IEC_60559_EXT 0 #undef __GLIBC_USE_IEC_60559_FUNCS_EXT #define __GLIBC_USE_IEC_60559_FUNCS_EXT 0 #undef __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X #define __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X 0 #undef __GLIBC_USE_IEC_60559_TYPES_EXT #define __GLIBC_USE_IEC_60559_TYPES_EXT 0 # 27 "/usr/include/limits.h" 2 3 4 #define MB_LEN_MAX 16 # 132 "/usr/include/limits.h" 3 4 #define LLONG_MIN (-LLONG_MAX-1) #define LLONG_MAX __LONG_LONG_MAX__ #define ULLONG_MAX (LLONG_MAX * 2ULL + 1) # 195 "/usr/include/limits.h" 3 4 # 1 "/usr/include/bits/posix1_lim.h" 1 3 4 # 25 "/usr/include/bits/posix1_lim.h" 3 4 #define _BITS_POSIX1_LIM_H 1 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 20 "/usr/include/bits/wordsize.h" 3 4 #define __WORDSIZE __riscv_xlen #define __WORDSIZE_TIME64_COMPAT32 1 # 28 "/usr/include/bits/posix1_lim.h" 2 3 4 #define _POSIX_AIO_LISTIO_MAX 2 #define _POSIX_AIO_MAX 1 #define _POSIX_ARG_MAX 4096 #define _POSIX_CHILD_MAX 25 #define _POSIX_DELAYTIMER_MAX 32 #define _POSIX_HOST_NAME_MAX 255 #define _POSIX_LINK_MAX 8 #define _POSIX_LOGIN_NAME_MAX 9 #define _POSIX_MAX_CANON 255 #define _POSIX_MAX_INPUT 255 #define _POSIX_MQ_OPEN_MAX 8 #define _POSIX_MQ_PRIO_MAX 32 #define _POSIX_NAME_MAX 14 #define _POSIX_NGROUPS_MAX 8 #define _POSIX_OPEN_MAX 20 # 97 "/usr/include/bits/posix1_lim.h" 3 4 #define _POSIX_PATH_MAX 256 #define _POSIX_PIPE_BUF 512 #define _POSIX_RE_DUP_MAX 255 #define _POSIX_RTSIG_MAX 8 #define _POSIX_SEM_NSEMS_MAX 256 #define _POSIX_SEM_VALUE_MAX 32767 #define _POSIX_SIGQUEUE_MAX 32 #define _POSIX_SSIZE_MAX 32767 #define _POSIX_STREAM_MAX 8 #define _POSIX_SYMLINK_MAX 255 #define _POSIX_SYMLOOP_MAX 8 #define _POSIX_TIMER_MAX 32 #define _POSIX_TTY_NAME_MAX 9 #define _POSIX_TZNAME_MAX 6 # 157 "/usr/include/bits/posix1_lim.h" 3 4 #define _POSIX_CLOCKRES_MIN 20000000 # 1 "/usr/include/bits/local_lim.h" 1 3 4 # 25 "/usr/include/bits/local_lim.h" 3 4 #define __undef_NR_OPEN #define __undef_LINK_MAX #define __undef_OPEN_MAX #define __undef_ARG_MAX # 1 "/usr/include/linux/limits.h" 1 3 4 #define _LINUX_LIMITS_H #define NR_OPEN 1024 #define NGROUPS_MAX 65536 #define ARG_MAX 131072 #define LINK_MAX 127 #define MAX_CANON 255 #define MAX_INPUT 255 #define NAME_MAX 255 #define PATH_MAX 4096 #define PIPE_BUF 4096 #define XATTR_NAME_MAX 255 #define XATTR_SIZE_MAX 65536 #define XATTR_LIST_MAX 65536 #define RTSIG_MAX 32 # 39 "/usr/include/bits/local_lim.h" 2 3 4 #undef NR_OPEN #undef __undef_NR_OPEN #undef LINK_MAX #undef __undef_LINK_MAX #undef OPEN_MAX #undef __undef_OPEN_MAX #undef ARG_MAX #undef __undef_ARG_MAX #define _POSIX_THREAD_KEYS_MAX 128 #define PTHREAD_KEYS_MAX 1024 #define _POSIX_THREAD_DESTRUCTOR_ITERATIONS 4 #define PTHREAD_DESTRUCTOR_ITERATIONS _POSIX_THREAD_DESTRUCTOR_ITERATIONS #define _POSIX_THREAD_THREADS_MAX 64 #undef PTHREAD_THREADS_MAX #define AIO_PRIO_DELTA_MAX 20 # 1 "/usr/include/bits/pthread_stack_min-dynamic.h" 1 3 4 # 29 "/usr/include/bits/pthread_stack_min-dynamic.h" 3 4 # 1 "/usr/include/bits/pthread_stack_min.h" 1 3 4 # 20 "/usr/include/bits/pthread_stack_min.h" 3 4 #define PTHREAD_STACK_MIN 16384 # 30 "/usr/include/bits/pthread_stack_min-dynamic.h" 2 3 4 # 82 "/usr/include/bits/local_lim.h" 2 3 4 #define DELAYTIMER_MAX 2147483647 #define TTY_NAME_MAX 32 #define LOGIN_NAME_MAX 256 #define HOST_NAME_MAX 64 #define MQ_PRIO_MAX 32768 #define SEM_VALUE_MAX (2147483647) # 162 "/usr/include/bits/posix1_lim.h" 2 3 4 #define SSIZE_MAX LONG_MAX # 196 "/usr/include/limits.h" 2 3 4 # 1 "/usr/include/bits/posix2_lim.h" 1 3 4 # 23 "/usr/include/bits/posix2_lim.h" 3 4 #define _BITS_POSIX2_LIM_H 1 #define _POSIX2_BC_BASE_MAX 99 #define _POSIX2_BC_DIM_MAX 2048 #define _POSIX2_BC_SCALE_MAX 99 #define _POSIX2_BC_STRING_MAX 1000 #define _POSIX2_COLL_WEIGHTS_MAX 2 #define _POSIX2_EXPR_NEST_MAX 32 #define _POSIX2_LINE_MAX 2048 #define _POSIX2_RE_DUP_MAX 255 #define _POSIX2_CHARCLASS_NAME_MAX 14 #define BC_BASE_MAX _POSIX2_BC_BASE_MAX #define BC_DIM_MAX _POSIX2_BC_DIM_MAX #define BC_SCALE_MAX _POSIX2_BC_SCALE_MAX #define BC_STRING_MAX _POSIX2_BC_STRING_MAX #define COLL_WEIGHTS_MAX 255 #define EXPR_NEST_MAX _POSIX2_EXPR_NEST_MAX #define LINE_MAX _POSIX2_LINE_MAX #define CHARCLASS_NAME_MAX 2048 #define RE_DUP_MAX (0x7fff) # 200 "/usr/include/limits.h" 2 3 4 # 206 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/limits.h" 2 3 4 # 8 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/syslimits.h" 2 3 4 #undef _GCC_NEXT_LIMITS_H # 35 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/limits.h" 2 3 4 # 60 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/limits.h" 3 4 #define _LIMITS_H___ #undef CHAR_BIT #define CHAR_BIT __CHAR_BIT__ #undef SCHAR_MIN #define SCHAR_MIN (-SCHAR_MAX - 1) #undef SCHAR_MAX #define SCHAR_MAX __SCHAR_MAX__ #undef UCHAR_MAX #define UCHAR_MAX (SCHAR_MAX * 2 + 1) #undef CHAR_MIN #define CHAR_MIN 0 #undef CHAR_MAX #define CHAR_MAX UCHAR_MAX # 103 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/limits.h" 3 4 #undef SHRT_MIN #define SHRT_MIN (-SHRT_MAX - 1) #undef SHRT_MAX #define SHRT_MAX __SHRT_MAX__ #undef USHRT_MAX #define USHRT_MAX (SHRT_MAX * 2 + 1) #undef INT_MIN #define INT_MIN (-INT_MAX - 1) #undef INT_MAX #define INT_MAX __INT_MAX__ #undef UINT_MAX #define UINT_MAX (INT_MAX * 2U + 1U) #undef LONG_MIN #define LONG_MIN (-LONG_MAX - 1L) #undef LONG_MAX #define LONG_MAX __LONG_MAX__ #undef ULONG_MAX #define ULONG_MAX (LONG_MAX * 2UL + 1UL) #undef LLONG_MIN #define LLONG_MIN (-LLONG_MAX - 1LL) #undef LLONG_MAX #define LLONG_MAX __LONG_LONG_MAX__ #undef ULLONG_MAX #define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL) # 23 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 2 # 32 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" #define omp_get_max_threads() 1 #define omp_get_thread_num() 0 # 1 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.h" 1 #define LIBIMAGEQUANT_H #define LIQ_EXPORT extern #define LIQ_VERSION 20401 #define LIQ_VERSION_STRING "2.4.1" # 27 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.h" # 1 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 1 3 4 # 39 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 #define _STDDEF_H #define _STDDEF_H_ #define _ANSI_STDDEF_H # 132 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 #define _PTRDIFF_T #define _T_PTRDIFF_ #define _T_PTRDIFF #define __PTRDIFF_T #define _PTRDIFF_T_ #define _BSD_PTRDIFF_T_ #define ___int_ptrdiff_t_h #define _GCC_PTRDIFF_T #define _PTRDIFF_T_DECLARED #define __DEFINED_ptrdiff_t typedef long int ptrdiff_t; # 158 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 #undef __need_ptrdiff_t # 237 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 #undef __need_size_t # 349 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 #undef __need_wchar_t # 399 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 #undef NULL #define NULL ((void *)0) #undef __need_NULL #undef offsetof #define offsetof(TYPE,MEMBER) __builtin_offsetof (TYPE, MEMBER) #define _GCC_MAX_ALIGN_T typedef struct { long long __max_align_ll __attribute__((__aligned__(__alignof__(long long)))); long double __max_align_ld __attribute__((__aligned__(__alignof__(long double)))); # 436 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 } max_align_t; # 28 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.h" 2 # 1 "/usr/include/glib-2.0/glib.h" 1 # 28 "/usr/include/glib-2.0/glib.h" #define __G_LIB_H__ #define __GLIB_H_INSIDE__ # 1 "/usr/include/glib-2.0/glib/galloca.h" 1 # 28 "/usr/include/glib-2.0/glib/galloca.h" #define __G_ALLOCA_H__ # 1 "/usr/include/glib-2.0/glib/gtypes.h" 1 # 28 "/usr/include/glib-2.0/glib/gtypes.h" #define __G_TYPES_H__ # 1 "/usr/lib64/glib-2.0/include/glibconfig.h" 1 #define __GLIBCONFIG_H__ # 1 "/usr/include/glib-2.0/glib/gmacros.h" 1 # 32 "/usr/include/glib-2.0/glib/gmacros.h" #define __G_MACROS_H__ # 1 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 1 3 4 # 41 "/usr/include/glib-2.0/glib/gmacros.h" 2 # 49 "/usr/include/glib-2.0/glib/gmacros.h" #define G_GNUC_CHECK_VERSION(major,minor) ((__GNUC__ > (major)) || ((__GNUC__ == (major)) && (__GNUC_MINOR__ >= (minor)))) # 62 "/usr/include/glib-2.0/glib/gmacros.h" #define G_GNUC_EXTENSION __extension__ #undef G_CXX_STD_VERSION #define G_CXX_STD_CHECK_VERSION(version) (0) #define G_C_STD_VERSION __STDC_VERSION__ #define G_C_STD_CHECK_VERSION(version) ( ((version) >= 199000L && (version) <= G_C_STD_VERSION) || ((version) == 89 && G_C_STD_VERSION >= 199000L) || ((version) == 90 && G_C_STD_VERSION >= 199000L) || ((version) == 99 && G_C_STD_VERSION >= 199901L) || ((version) == 11 && G_C_STD_VERSION >= 201112L) || ((version) == 17 && G_C_STD_VERSION >= 201710L) || 0) # 118 "/usr/include/glib-2.0/glib/gmacros.h" #define G_CAN_INLINE # 134 "/usr/include/glib-2.0/glib/gmacros.h" #undef G_INLINE_DEFINE_NEEDED # 157 "/usr/include/glib-2.0/glib/gmacros.h" #define G_INLINE_FUNC static inline GLIB_DEPRECATED_MACRO_IN_2_48_FOR(static inline) # 167 "/usr/include/glib-2.0/glib/gmacros.h" #define g_macro__has_attribute __has_attribute # 284 "/usr/include/glib-2.0/glib/gmacros.h" #define G_GNUC_PURE __attribute__((__pure__)) #define G_GNUC_MALLOC __attribute__ ((__malloc__)) #define G_GNUC_NO_INLINE __attribute__ ((__noinline__)) GLIB_AVAILABLE_MACRO_IN_2_58 # 323 "/usr/include/glib-2.0/glib/gmacros.h" #define G_GNUC_NULL_TERMINATED __attribute__((__sentinel__)) # 341 "/usr/include/glib-2.0/glib/gmacros.h" #define g_macro__has_feature(x) 0 #define g_macro__has_builtin __has_builtin #define g_macro__has_extension(x) 0 # 400 "/usr/include/glib-2.0/glib/gmacros.h" #define G_GNUC_ALLOC_SIZE(x) __attribute__((__alloc_size__(x))) #define G_GNUC_ALLOC_SIZE2(x,y) __attribute__((__alloc_size__(x,y))) # 588 "/usr/include/glib-2.0/glib/gmacros.h" #define G_GNUC_PRINTF(format_idx,arg_idx) __attribute__((__format__ (gnu_printf, format_idx, arg_idx))) #define G_GNUC_SCANF(format_idx,arg_idx) __attribute__((__format__ (gnu_scanf, format_idx, arg_idx))) #define G_GNUC_STRFTIME(format_idx) __attribute__((__format__ (gnu_strftime, format_idx, 0))) GLIB_AVAILABLE_MACRO_IN_2_60 # 615 "/usr/include/glib-2.0/glib/gmacros.h" #define G_GNUC_FORMAT(arg_idx) __attribute__ ((__format_arg__ (arg_idx))) #define G_GNUC_NORETURN __attribute__ ((__noreturn__)) # 633 "/usr/include/glib-2.0/glib/gmacros.h" #define G_GNUC_CONST __attribute__ ((__const__)) #define G_GNUC_UNUSED __attribute__ ((__unused__)) #define G_GNUC_NO_INSTRUMENT __attribute__ ((__no_instrument_function__)) # 682 "/usr/include/glib-2.0/glib/gmacros.h" #define G_GNUC_FALLTHROUGH __attribute__((fallthrough)) GLIB_AVAILABLE_MACRO_IN_2_60 # 708 "/usr/include/glib-2.0/glib/gmacros.h" #define G_GNUC_DEPRECATED __attribute__((__deprecated__)) # 737 "/usr/include/glib-2.0/glib/gmacros.h" #define G_GNUC_DEPRECATED_FOR(f) __attribute__((deprecated("Use " #f " instead"))) GLIB_AVAILABLE_MACRO_IN_2_26 # 752 "/usr/include/glib-2.0/glib/gmacros.h" #define G_GNUC_BEGIN_IGNORE_DEPRECATIONS _Pragma ("GCC diagnostic push") _Pragma ("GCC diagnostic ignored \"-Wdeprecated-declarations\"") #define G_GNUC_END_IGNORE_DEPRECATIONS _Pragma ("GCC diagnostic pop") # 787 "/usr/include/glib-2.0/glib/gmacros.h" #define G_GNUC_MAY_ALIAS __attribute__((may_alias)) # 811 "/usr/include/glib-2.0/glib/gmacros.h" #define G_GNUC_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) # 845 "/usr/include/glib-2.0/glib/gmacros.h" #define G_GNUC_FUNCTION "" GLIB_DEPRECATED_MACRO_IN_2_26_FOR(G_STRFUNC) #define G_GNUC_PRETTY_FUNCTION "" GLIB_DEPRECATED_MACRO_IN_2_26_FOR(G_STRFUNC) # 856 "/usr/include/glib-2.0/glib/gmacros.h" #define G_ANALYZER_ANALYZING 0 #define G_ANALYZER_NORETURN #define G_STRINGIFY(macro_or_string) G_STRINGIFY_ARG (macro_or_string) #define G_STRINGIFY_ARG(contents) #contents #define G_PASTE_ARGS(identifier1,identifier2) identifier1 ## identifier2 #define G_PASTE(identifier1,identifier2) G_PASTE_ARGS (identifier1, identifier2) #define G_STATIC_ASSERT(expr) _Static_assert (expr, "Expression evaluates to false") #define G_STATIC_ASSERT_EXPR(expr) ((void) sizeof (char[(expr) ? 1 : -1])) #define G_STRLOC __FILE__ ":" G_STRINGIFY (__LINE__) #define G_STRFUNC ((const char*) (__func__)) # 904 "/usr/include/glib-2.0/glib/gmacros.h" #define G_BEGIN_DECLS #define G_END_DECLS # 924 "/usr/include/glib-2.0/glib/gmacros.h" #define FALSE (0) #define TRUE (!FALSE) #undef MAX #define MAX(a,b) (((a) > (b)) ? (a) : (b)) #undef MIN #define MIN(a,b) (((a) < (b)) ? (a) : (b)) #undef ABS #define ABS(a) (((a) < 0) ? -(a) : (a)) #undef CLAMP #define CLAMP(x,low,high) (((x) > (high)) ? (high) : (((x) < (low)) ? (low) : (x))) #define G_APPROX_VALUE(a,b,epsilon) (((a) > (b) ? (a) - (b) : (b) - (a)) < (epsilon)) #define G_N_ELEMENTS(arr) (sizeof (arr) / sizeof ((arr)[0])) #define GPOINTER_TO_SIZE(p) ((gsize) (p)) #define GSIZE_TO_POINTER(s) ((gpointer) (guintptr) (gsize) (s)) #define G_STRUCT_OFFSET(struct_type,member) ((glong) offsetof (struct_type, member)) #define G_STRUCT_MEMBER_P(struct_p,struct_offset) ((gpointer) ((guint8*) (struct_p) + (glong) (struct_offset))) #define G_STRUCT_MEMBER(member_type,struct_p,struct_offset) (*(member_type*) G_STRUCT_MEMBER_P ((struct_p), (struct_offset))) # 984 "/usr/include/glib-2.0/glib/gmacros.h" #define G_STMT_START do #define G_STMT_END while (0) # 1020 "/usr/include/glib-2.0/glib/gmacros.h" #define G_ALIGNOF(type) _Alignof (type) GLIB_AVAILABLE_MACRO_IN_2_60 # 1045 "/usr/include/glib-2.0/glib/gmacros.h" #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) # 1077 "/usr/include/glib-2.0/glib/gmacros.h" #define G_NORETURN __attribute__ ((__noreturn__)) # 1111 "/usr/include/glib-2.0/glib/gmacros.h" #define G_NORETURN_FUNCPTR __attribute__ ((__noreturn__)) GLIB_AVAILABLE_MACRO_IN_2_68 # 1154 "/usr/include/glib-2.0/glib/gmacros.h" #define G_ALWAYS_INLINE __attribute__ ((__always_inline__)) # 1210 "/usr/include/glib-2.0/glib/gmacros.h" #define G_NO_INLINE __attribute__ ((__noinline__)) # 1233 "/usr/include/glib-2.0/glib/gmacros.h" #define _G_BOOLEAN_EXPR_IMPL(uniq,expr) G_GNUC_EXTENSION ({ int G_PASTE (_g_boolean_var_, uniq); if (expr) G_PASTE (_g_boolean_var_, uniq) = 1; else G_PASTE (_g_boolean_var_, uniq) = 0; G_PASTE (_g_boolean_var_, uniq); }) # 1242 "/usr/include/glib-2.0/glib/gmacros.h" #define _G_BOOLEAN_EXPR(expr) _G_BOOLEAN_EXPR_IMPL (__COUNTER__, expr) #define G_LIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 1)) #define G_UNLIKELY(expr) (__builtin_expect (_G_BOOLEAN_EXPR(expr), 0)) #define G_HAVE_GNUC_VISIBILITY 1 # 1262 "/usr/include/glib-2.0/glib/gmacros.h" #define G_DEPRECATED __attribute__((__deprecated__)) # 1272 "/usr/include/glib-2.0/glib/gmacros.h" #define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead"))) #define G_UNAVAILABLE(maj,min) __attribute__((deprecated("Not available before " #maj "." #min))) # 1296 "/usr/include/glib-2.0/glib/gmacros.h" #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) #define GLIB_DEPRECATED_MACRO _GLIB_GNUC_DO_PRAGMA(GCC warning "Deprecated pre-processor symbol") #define GLIB_DEPRECATED_MACRO_FOR(f) _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) #define GLIB_UNAVAILABLE_MACRO(maj,min) _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Not available before maj.min)) # 1311 "/usr/include/glib-2.0/glib/gmacros.h" #define GLIB_DEPRECATED_ENUMERATOR G_DEPRECATED #define GLIB_DEPRECATED_ENUMERATOR_FOR(f) G_DEPRECATED_FOR(f) #define GLIB_UNAVAILABLE_ENUMERATOR(maj,min) G_UNAVAILABLE(maj,min) # 1323 "/usr/include/glib-2.0/glib/gmacros.h" #define GLIB_DEPRECATED_TYPE G_DEPRECATED #define GLIB_DEPRECATED_TYPE_FOR(f) G_DEPRECATED_FOR(f) #define GLIB_UNAVAILABLE_TYPE(maj,min) G_UNAVAILABLE(maj,min) # 1337 "/usr/include/glib-2.0/glib/gmacros.h" #define _GLIB_AUTOPTR_FUNC_NAME(TypeName) glib_autoptr_cleanup_ ##TypeName #define _GLIB_AUTOPTR_CLEAR_FUNC_NAME(TypeName) glib_autoptr_clear_ ##TypeName #define _GLIB_AUTOPTR_TYPENAME(TypeName) TypeName ##_autoptr #define _GLIB_AUTOPTR_LIST_FUNC_NAME(TypeName) glib_listautoptr_cleanup_ ##TypeName #define _GLIB_AUTOPTR_LIST_TYPENAME(TypeName) TypeName ##_listautoptr #define _GLIB_AUTOPTR_SLIST_FUNC_NAME(TypeName) glib_slistautoptr_cleanup_ ##TypeName #define _GLIB_AUTOPTR_SLIST_TYPENAME(TypeName) TypeName ##_slistautoptr #define _GLIB_AUTOPTR_QUEUE_FUNC_NAME(TypeName) glib_queueautoptr_cleanup_ ##TypeName #define _GLIB_AUTOPTR_QUEUE_TYPENAME(TypeName) TypeName ##_queueautoptr #define _GLIB_AUTO_FUNC_NAME(TypeName) glib_auto_cleanup_ ##TypeName #define _GLIB_CLEANUP(func) __attribute__((cleanup(func))) #define _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName,ParentName,cleanup) typedef TypeName *_GLIB_AUTOPTR_TYPENAME(TypeName); typedef GList *_GLIB_AUTOPTR_LIST_TYPENAME(TypeName); typedef GSList *_GLIB_AUTOPTR_SLIST_TYPENAME(TypeName); typedef GQueue *_GLIB_AUTOPTR_QUEUE_TYPENAME(TypeName); G_GNUC_BEGIN_IGNORE_DEPRECATIONS static G_GNUC_UNUSED inline void _GLIB_AUTOPTR_CLEAR_FUNC_NAME(TypeName) (TypeName *_ptr) { if (_ptr) (cleanup) ((ParentName *) _ptr); } static G_GNUC_UNUSED inline void _GLIB_AUTOPTR_FUNC_NAME(TypeName) (TypeName **_ptr) { _GLIB_AUTOPTR_CLEAR_FUNC_NAME(TypeName) (*_ptr); } static G_GNUC_UNUSED inline void _GLIB_AUTOPTR_LIST_FUNC_NAME(TypeName) (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) cleanup); } static G_GNUC_UNUSED inline void _GLIB_AUTOPTR_SLIST_FUNC_NAME(TypeName) (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) cleanup); } static G_GNUC_UNUSED inline void _GLIB_AUTOPTR_QUEUE_FUNC_NAME(TypeName) (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) cleanup); } G_GNUC_END_IGNORE_DEPRECATIONS # 1365 "/usr/include/glib-2.0/glib/gmacros.h" #define _GLIB_DEFINE_AUTOPTR_CHAINUP(ModuleObjName,ParentName) _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(ModuleObjName, ParentName, _GLIB_AUTOPTR_CLEAR_FUNC_NAME(ParentName)) #define G_DEFINE_AUTOPTR_CLEANUP_FUNC(TypeName,func) _GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS(TypeName, TypeName, func) #define G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC(TypeName,func) G_GNUC_BEGIN_IGNORE_DEPRECATIONS static G_GNUC_UNUSED inline void _GLIB_AUTO_FUNC_NAME(TypeName) (TypeName *_ptr) { (func) (_ptr); } G_GNUC_END_IGNORE_DEPRECATIONS #define G_DEFINE_AUTO_CLEANUP_FREE_FUNC(TypeName,func,none) G_GNUC_BEGIN_IGNORE_DEPRECATIONS static G_GNUC_UNUSED inline void _GLIB_AUTO_FUNC_NAME(TypeName) (TypeName *_ptr) { if (*_ptr != none) (func) (*_ptr); } G_GNUC_END_IGNORE_DEPRECATIONS #define g_autoptr(TypeName) _GLIB_CLEANUP(_GLIB_AUTOPTR_FUNC_NAME(TypeName)) _GLIB_AUTOPTR_TYPENAME(TypeName) #define g_autolist(TypeName) _GLIB_CLEANUP(_GLIB_AUTOPTR_LIST_FUNC_NAME(TypeName)) _GLIB_AUTOPTR_LIST_TYPENAME(TypeName) #define g_autoslist(TypeName) _GLIB_CLEANUP(_GLIB_AUTOPTR_SLIST_FUNC_NAME(TypeName)) _GLIB_AUTOPTR_SLIST_TYPENAME(TypeName) #define g_autoqueue(TypeName) _GLIB_CLEANUP(_GLIB_AUTOPTR_QUEUE_FUNC_NAME(TypeName)) _GLIB_AUTOPTR_QUEUE_TYPENAME(TypeName) #define g_auto(TypeName) _GLIB_CLEANUP(_GLIB_AUTO_FUNC_NAME(TypeName)) TypeName #define g_autofree _GLIB_CLEANUP(g_autoptr_cleanup_generic_gfree) # 1421 "/usr/include/glib-2.0/glib/gmacros.h" #define G_SIZEOF_MEMBER(struct_type,member) GLIB_AVAILABLE_MACRO_IN_2_64 sizeof (((struct_type *) 0)->member) # 10 "/usr/lib64/glib-2.0/include/glibconfig.h" 2 # 1 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/limits.h" 1 3 4 # 12 "/usr/lib64/glib-2.0/include/glibconfig.h" 2 # 1 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/float.h" 1 3 4 # 29 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/float.h" 3 4 #define _FLOAT_H___ #undef FLT_RADIX #define FLT_RADIX __FLT_RADIX__ #undef FLT_MANT_DIG #undef DBL_MANT_DIG #undef LDBL_MANT_DIG #define FLT_MANT_DIG __FLT_MANT_DIG__ #define DBL_MANT_DIG __DBL_MANT_DIG__ #define LDBL_MANT_DIG __LDBL_MANT_DIG__ # 50 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/float.h" 3 4 #undef FLT_DIG #undef DBL_DIG #undef LDBL_DIG #define FLT_DIG __FLT_DIG__ #define DBL_DIG __DBL_DIG__ #define LDBL_DIG __LDBL_DIG__ #undef FLT_MIN_EXP #undef DBL_MIN_EXP #undef LDBL_MIN_EXP #define FLT_MIN_EXP __FLT_MIN_EXP__ #define DBL_MIN_EXP __DBL_MIN_EXP__ #define LDBL_MIN_EXP __LDBL_MIN_EXP__ #undef FLT_MIN_10_EXP #undef DBL_MIN_10_EXP #undef LDBL_MIN_10_EXP #define FLT_MIN_10_EXP __FLT_MIN_10_EXP__ #define DBL_MIN_10_EXP __DBL_MIN_10_EXP__ #define LDBL_MIN_10_EXP __LDBL_MIN_10_EXP__ #undef FLT_MAX_EXP #undef DBL_MAX_EXP #undef LDBL_MAX_EXP #define FLT_MAX_EXP __FLT_MAX_EXP__ #define DBL_MAX_EXP __DBL_MAX_EXP__ #define LDBL_MAX_EXP __LDBL_MAX_EXP__ #undef FLT_MAX_10_EXP #undef DBL_MAX_10_EXP #undef LDBL_MAX_10_EXP #define FLT_MAX_10_EXP __FLT_MAX_10_EXP__ #define DBL_MAX_10_EXP __DBL_MAX_10_EXP__ #define LDBL_MAX_10_EXP __LDBL_MAX_10_EXP__ #undef FLT_MAX #undef DBL_MAX #undef LDBL_MAX #define FLT_MAX __FLT_MAX__ #define DBL_MAX __DBL_MAX__ #define LDBL_MAX __LDBL_MAX__ #undef FLT_EPSILON #undef DBL_EPSILON #undef LDBL_EPSILON #define FLT_EPSILON __FLT_EPSILON__ #define DBL_EPSILON __DBL_EPSILON__ #define LDBL_EPSILON __LDBL_EPSILON__ #undef FLT_MIN #undef DBL_MIN #undef LDBL_MIN #define FLT_MIN __FLT_MIN__ #define DBL_MIN __DBL_MIN__ #define LDBL_MIN __LDBL_MIN__ #undef FLT_ROUNDS #define FLT_ROUNDS 1 # 193 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/float.h" 3 4 #undef FLT_EVAL_METHOD #define FLT_EVAL_METHOD __FLT_EVAL_METHOD__ # 208 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/float.h" 3 4 #undef DECIMAL_DIG #define DECIMAL_DIG __DECIMAL_DIG__ #undef FLT_DECIMAL_DIG #undef DBL_DECIMAL_DIG #undef LDBL_DECIMAL_DIG #define FLT_DECIMAL_DIG __FLT_DECIMAL_DIG__ #define DBL_DECIMAL_DIG __DBL_DECIMAL_DIG__ #define LDBL_DECIMAL_DIG __LDBL_DECIMAL_DIG__ #undef FLT_HAS_SUBNORM #undef DBL_HAS_SUBNORM #undef LDBL_HAS_SUBNORM #define FLT_HAS_SUBNORM __FLT_HAS_DENORM__ #define DBL_HAS_SUBNORM __DBL_HAS_DENORM__ #define LDBL_HAS_SUBNORM __LDBL_HAS_DENORM__ #undef FLT_TRUE_MIN #undef DBL_TRUE_MIN #undef LDBL_TRUE_MIN #define FLT_TRUE_MIN __FLT_DENORM_MIN__ #define DBL_TRUE_MIN __DBL_DENORM_MIN__ #define LDBL_TRUE_MIN __LDBL_DENORM_MIN__ # 13 "/usr/lib64/glib-2.0/include/glibconfig.h" 2 #define GLIB_HAVE_ALLOCA_H # 26 "/usr/lib64/glib-2.0/include/glibconfig.h" #define GLIB_USING_SYSTEM_PRINTF #define G_MINFLOAT FLT_MIN #define G_MAXFLOAT FLT_MAX #define G_MINDOUBLE DBL_MIN #define G_MAXDOUBLE DBL_MAX #define G_MINSHORT SHRT_MIN #define G_MAXSHORT SHRT_MAX #define G_MAXUSHORT USHRT_MAX #define G_MININT INT_MIN #define G_MAXINT INT_MAX #define G_MAXUINT UINT_MAX #define G_MINLONG LONG_MIN #define G_MAXLONG LONG_MAX #define G_MAXULONG ULONG_MAX # 44 "/usr/lib64/glib-2.0/include/glibconfig.h" typedef signed char gint8; typedef unsigned char guint8; typedef signed short gint16; typedef unsigned short guint16; #define G_GINT16_MODIFIER "h" #define G_GINT16_FORMAT "hi" #define G_GUINT16_FORMAT "hu" typedef signed int gint32; typedef unsigned int guint32; #define G_GINT32_MODIFIER "" #define G_GINT32_FORMAT "i" #define G_GUINT32_FORMAT "u" #define G_HAVE_GINT64 1 typedef signed long gint64; typedef unsigned long guint64; #define G_GINT64_CONSTANT(val) (val ##L) #define G_GUINT64_CONSTANT(val) (val ##UL) #define G_GINT64_MODIFIER "l" #define G_GINT64_FORMAT "li" #define G_GUINT64_FORMAT "lu" #define GLIB_SIZEOF_VOID_P 8 #define GLIB_SIZEOF_LONG 8 #define GLIB_SIZEOF_SIZE_T 8 #define GLIB_SIZEOF_SSIZE_T 8 typedef signed long gssize; typedef unsigned long gsize; #define G_GSIZE_MODIFIER "l" #define G_GSSIZE_MODIFIER "l" #define G_GSIZE_FORMAT "lu" #define G_GSSIZE_FORMAT "li" #define G_MAXSIZE G_MAXULONG #define G_MINSSIZE G_MINLONG #define G_MAXSSIZE G_MAXLONG typedef gint64 goffset; #define G_MINOFFSET G_MININT64 #define G_MAXOFFSET G_MAXINT64 #define G_GOFFSET_MODIFIER G_GINT64_MODIFIER #define G_GOFFSET_FORMAT G_GINT64_FORMAT #define G_GOFFSET_CONSTANT(val) G_GINT64_CONSTANT(val) #define G_POLLFD_FORMAT "%d" #define GPOINTER_TO_INT(p) ((gint) (glong) (p)) #define GPOINTER_TO_UINT(p) ((guint) (gulong) (p)) #define GINT_TO_POINTER(i) ((gpointer) (glong) (i)) #define GUINT_TO_POINTER(u) ((gpointer) (gulong) (u)) typedef signed long gintptr; typedef unsigned long guintptr; #define G_GINTPTR_MODIFIER "l" #define G_GINTPTR_FORMAT "li" #define G_GUINTPTR_FORMAT "lu" #define GLIB_MAJOR_VERSION 2 #define GLIB_MINOR_VERSION 78 #define GLIB_MICRO_VERSION 4 #define G_OS_UNIX #define G_VA_COPY va_copy #define G_HAVE_ISO_VARARGS 1 # 134 "/usr/lib64/glib-2.0/include/glibconfig.h" #define G_HAVE_GROWING_STACK 0 #define G_HAVE_GNUC_VARARGS 1 #define G_GNUC_INTERNAL __attribute__((visibility("hidden"))) #define G_THREADS_ENABLED #define G_THREADS_IMPL_POSIX #define G_ATOMIC_LOCK_FREE #define GINT16_TO_LE(val) ((gint16) (val)) #define GUINT16_TO_LE(val) ((guint16) (val)) #define GINT16_TO_BE(val) ((gint16) GUINT16_SWAP_LE_BE (val)) #define GUINT16_TO_BE(val) (GUINT16_SWAP_LE_BE (val)) #define GINT32_TO_LE(val) ((gint32) (val)) #define GUINT32_TO_LE(val) ((guint32) (val)) #define GINT32_TO_BE(val) ((gint32) GUINT32_SWAP_LE_BE (val)) #define GUINT32_TO_BE(val) (GUINT32_SWAP_LE_BE (val)) #define GINT64_TO_LE(val) ((gint64) (val)) #define GUINT64_TO_LE(val) ((guint64) (val)) #define GINT64_TO_BE(val) ((gint64) GUINT64_SWAP_LE_BE (val)) #define GUINT64_TO_BE(val) (GUINT64_SWAP_LE_BE (val)) #define GLONG_TO_LE(val) ((glong) GINT64_TO_LE (val)) #define GULONG_TO_LE(val) ((gulong) GUINT64_TO_LE (val)) #define GLONG_TO_BE(val) ((glong) GINT64_TO_BE (val)) #define GULONG_TO_BE(val) ((gulong) GUINT64_TO_BE (val)) #define GINT_TO_LE(val) ((gint) GINT32_TO_LE (val)) #define GUINT_TO_LE(val) ((guint) GUINT32_TO_LE (val)) #define GINT_TO_BE(val) ((gint) GINT32_TO_BE (val)) #define GUINT_TO_BE(val) ((guint) GUINT32_TO_BE (val)) #define GSIZE_TO_LE(val) ((gsize) GUINT64_TO_LE (val)) #define GSSIZE_TO_LE(val) ((gssize) GINT64_TO_LE (val)) #define GSIZE_TO_BE(val) ((gsize) GUINT64_TO_BE (val)) #define GSSIZE_TO_BE(val) ((gssize) GINT64_TO_BE (val)) #define G_BYTE_ORDER G_LITTLE_ENDIAN #define GLIB_SYSDEF_POLLIN =1 #define GLIB_SYSDEF_POLLOUT =4 #define GLIB_SYSDEF_POLLPRI =2 #define GLIB_SYSDEF_POLLHUP =16 #define GLIB_SYSDEF_POLLERR =8 #define GLIB_SYSDEF_POLLNVAL =32 #define G_MODULE_SUFFIX "so" typedef int GPid; #define G_PID_FORMAT "i" #define GLIB_SYSDEF_AF_UNIX 1 #define GLIB_SYSDEF_AF_INET 2 #define GLIB_SYSDEF_AF_INET6 10 #define GLIB_SYSDEF_MSG_OOB 1 #define GLIB_SYSDEF_MSG_PEEK 2 #define GLIB_SYSDEF_MSG_DONTROUTE 4 #define G_DIR_SEPARATOR '/' #define G_DIR_SEPARATOR_S "/" #define G_SEARCHPATH_SEPARATOR ':' #define G_SEARCHPATH_SEPARATOR_S ":" #undef G_HAVE_FREE_SIZED # 35 "/usr/include/glib-2.0/glib/gtypes.h" 2 # 1 "/usr/include/glib-2.0/glib/gversionmacros.h" 1 # 28 "/usr/include/glib-2.0/glib/gversionmacros.h" #define __G_VERSION_MACROS_H__ #define G_ENCODE_VERSION(major,minor) ((major) << 16 | (minor) << 8) # 46 "/usr/include/glib-2.0/glib/gversionmacros.h" #define GLIB_VERSION_2_2 (G_ENCODE_VERSION (2, 2)) # 55 "/usr/include/glib-2.0/glib/gversionmacros.h" #define GLIB_VERSION_2_4 (G_ENCODE_VERSION (2, 4)) # 64 "/usr/include/glib-2.0/glib/gversionmacros.h" #define GLIB_VERSION_2_6 (G_ENCODE_VERSION (2, 6)) # 73 "/usr/include/glib-2.0/glib/gversionmacros.h" #define GLIB_VERSION_2_8 (G_ENCODE_VERSION (2, 8)) # 82 "/usr/include/glib-2.0/glib/gversionmacros.h" #define GLIB_VERSION_2_10 (G_ENCODE_VERSION (2, 10)) # 91 "/usr/include/glib-2.0/glib/gversionmacros.h" #define GLIB_VERSION_2_12 (G_ENCODE_VERSION (2, 12)) # 100 "/usr/include/glib-2.0/glib/gversionmacros.h" #define GLIB_VERSION_2_14 (G_ENCODE_VERSION (2, 14)) # 109 "/usr/include/glib-2.0/glib/gversionmacros.h" #define GLIB_VERSION_2_16 (G_ENCODE_VERSION (2, 16)) # 118 "/usr/include/glib-2.0/glib/gversionmacros.h" #define GLIB_VERSION_2_18 (G_ENCODE_VERSION (2, 18)) # 127 "/usr/include/glib-2.0/glib/gversionmacros.h" #define GLIB_VERSION_2_20 (G_ENCODE_VERSION (2, 20)) # 136 "/usr/include/glib-2.0/glib/gversionmacros.h" #define GLIB_VERSION_2_22 (G_ENCODE_VERSION (2, 22)) # 145 "/usr/include/glib-2.0/glib/gversionmacros.h" #define GLIB_VERSION_2_24 (G_ENCODE_VERSION (2, 24)) # 154 "/usr/include/glib-2.0/glib/gversionmacros.h" #define GLIB_VERSION_2_26 (G_ENCODE_VERSION (2, 26)) # 163 "/usr/include/glib-2.0/glib/gversionmacros.h" #define GLIB_VERSION_2_28 (G_ENCODE_VERSION (2, 28)) # 172 "/usr/include/glib-2.0/glib/gversionmacros.h" #define GLIB_VERSION_2_30 (G_ENCODE_VERSION (2, 30)) # 181 "/usr/include/glib-2.0/glib/gversionmacros.h" #define GLIB_VERSION_2_32 (G_ENCODE_VERSION (2, 32)) # 190 "/usr/include/glib-2.0/glib/gversionmacros.h" #define GLIB_VERSION_2_34 (G_ENCODE_VERSION (2, 34)) # 199 "/usr/include/glib-2.0/glib/gversionmacros.h" #define GLIB_VERSION_2_36 (G_ENCODE_VERSION (2, 36)) # 208 "/usr/include/glib-2.0/glib/gversionmacros.h" #define GLIB_VERSION_2_38 (G_ENCODE_VERSION (2, 38)) # 217 "/usr/include/glib-2.0/glib/gversionmacros.h" #define GLIB_VERSION_2_40 (G_ENCODE_VERSION (2, 40)) # 226 "/usr/include/glib-2.0/glib/gversionmacros.h" #define GLIB_VERSION_2_42 (G_ENCODE_VERSION (2, 42)) # 235 "/usr/include/glib-2.0/glib/gversionmacros.h" #define GLIB_VERSION_2_44 (G_ENCODE_VERSION (2, 44)) # 244 "/usr/include/glib-2.0/glib/gversionmacros.h" #define GLIB_VERSION_2_46 (G_ENCODE_VERSION (2, 46)) # 253 "/usr/include/glib-2.0/glib/gversionmacros.h" #define GLIB_VERSION_2_48 (G_ENCODE_VERSION (2, 48)) # 262 "/usr/include/glib-2.0/glib/gversionmacros.h" #define GLIB_VERSION_2_50 (G_ENCODE_VERSION (2, 50)) # 271 "/usr/include/glib-2.0/glib/gversionmacros.h" #define GLIB_VERSION_2_52 (G_ENCODE_VERSION (2, 52)) # 280 "/usr/include/glib-2.0/glib/gversionmacros.h" #define GLIB_VERSION_2_54 (G_ENCODE_VERSION (2, 54)) # 289 "/usr/include/glib-2.0/glib/gversionmacros.h" #define GLIB_VERSION_2_56 (G_ENCODE_VERSION (2, 56)) # 298 "/usr/include/glib-2.0/glib/gversionmacros.h" #define GLIB_VERSION_2_58 (G_ENCODE_VERSION (2, 58)) # 307 "/usr/include/glib-2.0/glib/gversionmacros.h" #define GLIB_VERSION_2_60 (G_ENCODE_VERSION (2, 60)) # 316 "/usr/include/glib-2.0/glib/gversionmacros.h" #define GLIB_VERSION_2_62 (G_ENCODE_VERSION (2, 62)) # 325 "/usr/include/glib-2.0/glib/gversionmacros.h" #define GLIB_VERSION_2_64 (G_ENCODE_VERSION (2, 64)) # 334 "/usr/include/glib-2.0/glib/gversionmacros.h" #define GLIB_VERSION_2_66 (G_ENCODE_VERSION (2, 66)) # 343 "/usr/include/glib-2.0/glib/gversionmacros.h" #define GLIB_VERSION_2_68 (G_ENCODE_VERSION (2, 68)) # 352 "/usr/include/glib-2.0/glib/gversionmacros.h" #define GLIB_VERSION_2_70 (G_ENCODE_VERSION (2, 70)) # 361 "/usr/include/glib-2.0/glib/gversionmacros.h" #define GLIB_VERSION_2_72 (G_ENCODE_VERSION (2, 72)) # 370 "/usr/include/glib-2.0/glib/gversionmacros.h" #define GLIB_VERSION_2_74 (G_ENCODE_VERSION (2, 74)) # 379 "/usr/include/glib-2.0/glib/gversionmacros.h" #define GLIB_VERSION_2_76 (G_ENCODE_VERSION (2, 76)) # 388 "/usr/include/glib-2.0/glib/gversionmacros.h" #define GLIB_VERSION_2_78 (G_ENCODE_VERSION (2, 78)) # 404 "/usr/include/glib-2.0/glib/gversionmacros.h" #define GLIB_VERSION_CUR_STABLE (G_ENCODE_VERSION (GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION)) # 421 "/usr/include/glib-2.0/glib/gversionmacros.h" #define GLIB_VERSION_PREV_STABLE (G_ENCODE_VERSION (GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION - 2)) # 447 "/usr/include/glib-2.0/glib/gversionmacros.h" #define GLIB_VERSION_MIN_REQUIRED (GLIB_VERSION_CUR_STABLE) # 475 "/usr/include/glib-2.0/glib/gversionmacros.h" #undef GLIB_VERSION_MAX_ALLOWED #define GLIB_VERSION_MAX_ALLOWED (GLIB_VERSION_CUR_STABLE) # 37 "/usr/include/glib-2.0/glib/gtypes.h" 2 # 1 "/usr/include/glib-2.0/glib/glib-visibility.h" 1 #define _GLIB_EXPORT __attribute__((visibility("default"))) #define _GLIB_IMPORT #define _GLIB_API _GLIB_IMPORT #define _GLIB_EXTERN _GLIB_API extern #define GLIB_VAR _GLIB_EXTERN #define GLIB_AVAILABLE_IN_ALL _GLIB_EXTERN #define GLIB_DEPRECATED G_DEPRECATED _GLIB_EXTERN #define GLIB_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _GLIB_EXTERN #define GLIB_UNAVAILABLE(maj,min) G_UNAVAILABLE(maj,min) _GLIB_EXTERN #define GLIB_UNAVAILABLE_STATIC_INLINE(maj,min) G_UNAVAILABLE(maj,min) #define GLIB_DEPRECATED_IN_2_26 GLIB_DEPRECATED #define GLIB_DEPRECATED_IN_2_26_FOR(f) GLIB_DEPRECATED_FOR (f) #define GLIB_DEPRECATED_MACRO_IN_2_26 GLIB_DEPRECATED_MACRO #define GLIB_DEPRECATED_MACRO_IN_2_26_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) #define GLIB_DEPRECATED_ENUMERATOR_IN_2_26 GLIB_DEPRECATED_ENUMERATOR #define GLIB_DEPRECATED_ENUMERATOR_IN_2_26_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f) #define GLIB_DEPRECATED_TYPE_IN_2_26 GLIB_DEPRECATED_TYPE #define GLIB_DEPRECATED_TYPE_IN_2_26_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) # 63 "/usr/include/glib-2.0/glib/glib-visibility.h" #define GLIB_AVAILABLE_IN_2_26 _GLIB_EXTERN #define GLIB_AVAILABLE_STATIC_INLINE_IN_2_26 #define GLIB_AVAILABLE_MACRO_IN_2_26 #define GLIB_AVAILABLE_ENUMERATOR_IN_2_26 #define GLIB_AVAILABLE_TYPE_IN_2_26 #define GLIB_DEPRECATED_IN_2_28 GLIB_DEPRECATED #define GLIB_DEPRECATED_IN_2_28_FOR(f) GLIB_DEPRECATED_FOR (f) #define GLIB_DEPRECATED_MACRO_IN_2_28 GLIB_DEPRECATED_MACRO #define GLIB_DEPRECATED_MACRO_IN_2_28_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) #define GLIB_DEPRECATED_ENUMERATOR_IN_2_28 GLIB_DEPRECATED_ENUMERATOR #define GLIB_DEPRECATED_ENUMERATOR_IN_2_28_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f) #define GLIB_DEPRECATED_TYPE_IN_2_28 GLIB_DEPRECATED_TYPE #define GLIB_DEPRECATED_TYPE_IN_2_28_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) # 97 "/usr/include/glib-2.0/glib/glib-visibility.h" #define GLIB_AVAILABLE_IN_2_28 _GLIB_EXTERN #define GLIB_AVAILABLE_STATIC_INLINE_IN_2_28 #define GLIB_AVAILABLE_MACRO_IN_2_28 #define GLIB_AVAILABLE_ENUMERATOR_IN_2_28 #define GLIB_AVAILABLE_TYPE_IN_2_28 #define GLIB_DEPRECATED_IN_2_30 GLIB_DEPRECATED #define GLIB_DEPRECATED_IN_2_30_FOR(f) GLIB_DEPRECATED_FOR (f) #define GLIB_DEPRECATED_MACRO_IN_2_30 GLIB_DEPRECATED_MACRO #define GLIB_DEPRECATED_MACRO_IN_2_30_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) #define GLIB_DEPRECATED_ENUMERATOR_IN_2_30 GLIB_DEPRECATED_ENUMERATOR #define GLIB_DEPRECATED_ENUMERATOR_IN_2_30_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f) #define GLIB_DEPRECATED_TYPE_IN_2_30 GLIB_DEPRECATED_TYPE #define GLIB_DEPRECATED_TYPE_IN_2_30_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) # 131 "/usr/include/glib-2.0/glib/glib-visibility.h" #define GLIB_AVAILABLE_IN_2_30 _GLIB_EXTERN #define GLIB_AVAILABLE_STATIC_INLINE_IN_2_30 #define GLIB_AVAILABLE_MACRO_IN_2_30 #define GLIB_AVAILABLE_ENUMERATOR_IN_2_30 #define GLIB_AVAILABLE_TYPE_IN_2_30 #define GLIB_DEPRECATED_IN_2_32 GLIB_DEPRECATED #define GLIB_DEPRECATED_IN_2_32_FOR(f) GLIB_DEPRECATED_FOR (f) #define GLIB_DEPRECATED_MACRO_IN_2_32 GLIB_DEPRECATED_MACRO #define GLIB_DEPRECATED_MACRO_IN_2_32_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) #define GLIB_DEPRECATED_ENUMERATOR_IN_2_32 GLIB_DEPRECATED_ENUMERATOR #define GLIB_DEPRECATED_ENUMERATOR_IN_2_32_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f) #define GLIB_DEPRECATED_TYPE_IN_2_32 GLIB_DEPRECATED_TYPE #define GLIB_DEPRECATED_TYPE_IN_2_32_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) # 165 "/usr/include/glib-2.0/glib/glib-visibility.h" #define GLIB_AVAILABLE_IN_2_32 _GLIB_EXTERN #define GLIB_AVAILABLE_STATIC_INLINE_IN_2_32 #define GLIB_AVAILABLE_MACRO_IN_2_32 #define GLIB_AVAILABLE_ENUMERATOR_IN_2_32 #define GLIB_AVAILABLE_TYPE_IN_2_32 #define GLIB_DEPRECATED_IN_2_34 GLIB_DEPRECATED #define GLIB_DEPRECATED_IN_2_34_FOR(f) GLIB_DEPRECATED_FOR (f) #define GLIB_DEPRECATED_MACRO_IN_2_34 GLIB_DEPRECATED_MACRO #define GLIB_DEPRECATED_MACRO_IN_2_34_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) #define GLIB_DEPRECATED_ENUMERATOR_IN_2_34 GLIB_DEPRECATED_ENUMERATOR #define GLIB_DEPRECATED_ENUMERATOR_IN_2_34_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f) #define GLIB_DEPRECATED_TYPE_IN_2_34 GLIB_DEPRECATED_TYPE #define GLIB_DEPRECATED_TYPE_IN_2_34_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) # 199 "/usr/include/glib-2.0/glib/glib-visibility.h" #define GLIB_AVAILABLE_IN_2_34 _GLIB_EXTERN #define GLIB_AVAILABLE_STATIC_INLINE_IN_2_34 #define GLIB_AVAILABLE_MACRO_IN_2_34 #define GLIB_AVAILABLE_ENUMERATOR_IN_2_34 #define GLIB_AVAILABLE_TYPE_IN_2_34 #define GLIB_DEPRECATED_IN_2_36 GLIB_DEPRECATED #define GLIB_DEPRECATED_IN_2_36_FOR(f) GLIB_DEPRECATED_FOR (f) #define GLIB_DEPRECATED_MACRO_IN_2_36 GLIB_DEPRECATED_MACRO #define GLIB_DEPRECATED_MACRO_IN_2_36_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) #define GLIB_DEPRECATED_ENUMERATOR_IN_2_36 GLIB_DEPRECATED_ENUMERATOR #define GLIB_DEPRECATED_ENUMERATOR_IN_2_36_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f) #define GLIB_DEPRECATED_TYPE_IN_2_36 GLIB_DEPRECATED_TYPE #define GLIB_DEPRECATED_TYPE_IN_2_36_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) # 233 "/usr/include/glib-2.0/glib/glib-visibility.h" #define GLIB_AVAILABLE_IN_2_36 _GLIB_EXTERN #define GLIB_AVAILABLE_STATIC_INLINE_IN_2_36 #define GLIB_AVAILABLE_MACRO_IN_2_36 #define GLIB_AVAILABLE_ENUMERATOR_IN_2_36 #define GLIB_AVAILABLE_TYPE_IN_2_36 #define GLIB_DEPRECATED_IN_2_38 GLIB_DEPRECATED #define GLIB_DEPRECATED_IN_2_38_FOR(f) GLIB_DEPRECATED_FOR (f) #define GLIB_DEPRECATED_MACRO_IN_2_38 GLIB_DEPRECATED_MACRO #define GLIB_DEPRECATED_MACRO_IN_2_38_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) #define GLIB_DEPRECATED_ENUMERATOR_IN_2_38 GLIB_DEPRECATED_ENUMERATOR #define GLIB_DEPRECATED_ENUMERATOR_IN_2_38_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f) #define GLIB_DEPRECATED_TYPE_IN_2_38 GLIB_DEPRECATED_TYPE #define GLIB_DEPRECATED_TYPE_IN_2_38_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) # 267 "/usr/include/glib-2.0/glib/glib-visibility.h" #define GLIB_AVAILABLE_IN_2_38 _GLIB_EXTERN #define GLIB_AVAILABLE_STATIC_INLINE_IN_2_38 #define GLIB_AVAILABLE_MACRO_IN_2_38 #define GLIB_AVAILABLE_ENUMERATOR_IN_2_38 #define GLIB_AVAILABLE_TYPE_IN_2_38 #define GLIB_DEPRECATED_IN_2_40 GLIB_DEPRECATED #define GLIB_DEPRECATED_IN_2_40_FOR(f) GLIB_DEPRECATED_FOR (f) #define GLIB_DEPRECATED_MACRO_IN_2_40 GLIB_DEPRECATED_MACRO #define GLIB_DEPRECATED_MACRO_IN_2_40_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) #define GLIB_DEPRECATED_ENUMERATOR_IN_2_40 GLIB_DEPRECATED_ENUMERATOR #define GLIB_DEPRECATED_ENUMERATOR_IN_2_40_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f) #define GLIB_DEPRECATED_TYPE_IN_2_40 GLIB_DEPRECATED_TYPE #define GLIB_DEPRECATED_TYPE_IN_2_40_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) # 301 "/usr/include/glib-2.0/glib/glib-visibility.h" #define GLIB_AVAILABLE_IN_2_40 _GLIB_EXTERN #define GLIB_AVAILABLE_STATIC_INLINE_IN_2_40 #define GLIB_AVAILABLE_MACRO_IN_2_40 #define GLIB_AVAILABLE_ENUMERATOR_IN_2_40 #define GLIB_AVAILABLE_TYPE_IN_2_40 #define GLIB_DEPRECATED_IN_2_42 GLIB_DEPRECATED #define GLIB_DEPRECATED_IN_2_42_FOR(f) GLIB_DEPRECATED_FOR (f) #define GLIB_DEPRECATED_MACRO_IN_2_42 GLIB_DEPRECATED_MACRO #define GLIB_DEPRECATED_MACRO_IN_2_42_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) #define GLIB_DEPRECATED_ENUMERATOR_IN_2_42 GLIB_DEPRECATED_ENUMERATOR #define GLIB_DEPRECATED_ENUMERATOR_IN_2_42_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f) #define GLIB_DEPRECATED_TYPE_IN_2_42 GLIB_DEPRECATED_TYPE #define GLIB_DEPRECATED_TYPE_IN_2_42_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) # 335 "/usr/include/glib-2.0/glib/glib-visibility.h" #define GLIB_AVAILABLE_IN_2_42 _GLIB_EXTERN #define GLIB_AVAILABLE_STATIC_INLINE_IN_2_42 #define GLIB_AVAILABLE_MACRO_IN_2_42 #define GLIB_AVAILABLE_ENUMERATOR_IN_2_42 #define GLIB_AVAILABLE_TYPE_IN_2_42 #define GLIB_DEPRECATED_IN_2_44 GLIB_DEPRECATED #define GLIB_DEPRECATED_IN_2_44_FOR(f) GLIB_DEPRECATED_FOR (f) #define GLIB_DEPRECATED_MACRO_IN_2_44 GLIB_DEPRECATED_MACRO #define GLIB_DEPRECATED_MACRO_IN_2_44_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) #define GLIB_DEPRECATED_ENUMERATOR_IN_2_44 GLIB_DEPRECATED_ENUMERATOR #define GLIB_DEPRECATED_ENUMERATOR_IN_2_44_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f) #define GLIB_DEPRECATED_TYPE_IN_2_44 GLIB_DEPRECATED_TYPE #define GLIB_DEPRECATED_TYPE_IN_2_44_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) # 369 "/usr/include/glib-2.0/glib/glib-visibility.h" #define GLIB_AVAILABLE_IN_2_44 _GLIB_EXTERN #define GLIB_AVAILABLE_STATIC_INLINE_IN_2_44 #define GLIB_AVAILABLE_MACRO_IN_2_44 #define GLIB_AVAILABLE_ENUMERATOR_IN_2_44 #define GLIB_AVAILABLE_TYPE_IN_2_44 #define GLIB_DEPRECATED_IN_2_46 GLIB_DEPRECATED #define GLIB_DEPRECATED_IN_2_46_FOR(f) GLIB_DEPRECATED_FOR (f) #define GLIB_DEPRECATED_MACRO_IN_2_46 GLIB_DEPRECATED_MACRO #define GLIB_DEPRECATED_MACRO_IN_2_46_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) #define GLIB_DEPRECATED_ENUMERATOR_IN_2_46 GLIB_DEPRECATED_ENUMERATOR #define GLIB_DEPRECATED_ENUMERATOR_IN_2_46_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f) #define GLIB_DEPRECATED_TYPE_IN_2_46 GLIB_DEPRECATED_TYPE #define GLIB_DEPRECATED_TYPE_IN_2_46_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) # 403 "/usr/include/glib-2.0/glib/glib-visibility.h" #define GLIB_AVAILABLE_IN_2_46 _GLIB_EXTERN #define GLIB_AVAILABLE_STATIC_INLINE_IN_2_46 #define GLIB_AVAILABLE_MACRO_IN_2_46 #define GLIB_AVAILABLE_ENUMERATOR_IN_2_46 #define GLIB_AVAILABLE_TYPE_IN_2_46 #define GLIB_DEPRECATED_IN_2_48 GLIB_DEPRECATED #define GLIB_DEPRECATED_IN_2_48_FOR(f) GLIB_DEPRECATED_FOR (f) #define GLIB_DEPRECATED_MACRO_IN_2_48 GLIB_DEPRECATED_MACRO #define GLIB_DEPRECATED_MACRO_IN_2_48_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) #define GLIB_DEPRECATED_ENUMERATOR_IN_2_48 GLIB_DEPRECATED_ENUMERATOR #define GLIB_DEPRECATED_ENUMERATOR_IN_2_48_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f) #define GLIB_DEPRECATED_TYPE_IN_2_48 GLIB_DEPRECATED_TYPE #define GLIB_DEPRECATED_TYPE_IN_2_48_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) # 437 "/usr/include/glib-2.0/glib/glib-visibility.h" #define GLIB_AVAILABLE_IN_2_48 _GLIB_EXTERN #define GLIB_AVAILABLE_STATIC_INLINE_IN_2_48 #define GLIB_AVAILABLE_MACRO_IN_2_48 #define GLIB_AVAILABLE_ENUMERATOR_IN_2_48 #define GLIB_AVAILABLE_TYPE_IN_2_48 #define GLIB_DEPRECATED_IN_2_50 GLIB_DEPRECATED #define GLIB_DEPRECATED_IN_2_50_FOR(f) GLIB_DEPRECATED_FOR (f) #define GLIB_DEPRECATED_MACRO_IN_2_50 GLIB_DEPRECATED_MACRO #define GLIB_DEPRECATED_MACRO_IN_2_50_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) #define GLIB_DEPRECATED_ENUMERATOR_IN_2_50 GLIB_DEPRECATED_ENUMERATOR #define GLIB_DEPRECATED_ENUMERATOR_IN_2_50_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f) #define GLIB_DEPRECATED_TYPE_IN_2_50 GLIB_DEPRECATED_TYPE #define GLIB_DEPRECATED_TYPE_IN_2_50_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) # 471 "/usr/include/glib-2.0/glib/glib-visibility.h" #define GLIB_AVAILABLE_IN_2_50 _GLIB_EXTERN #define GLIB_AVAILABLE_STATIC_INLINE_IN_2_50 #define GLIB_AVAILABLE_MACRO_IN_2_50 #define GLIB_AVAILABLE_ENUMERATOR_IN_2_50 #define GLIB_AVAILABLE_TYPE_IN_2_50 #define GLIB_DEPRECATED_IN_2_52 GLIB_DEPRECATED #define GLIB_DEPRECATED_IN_2_52_FOR(f) GLIB_DEPRECATED_FOR (f) #define GLIB_DEPRECATED_MACRO_IN_2_52 GLIB_DEPRECATED_MACRO #define GLIB_DEPRECATED_MACRO_IN_2_52_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) #define GLIB_DEPRECATED_ENUMERATOR_IN_2_52 GLIB_DEPRECATED_ENUMERATOR #define GLIB_DEPRECATED_ENUMERATOR_IN_2_52_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f) #define GLIB_DEPRECATED_TYPE_IN_2_52 GLIB_DEPRECATED_TYPE #define GLIB_DEPRECATED_TYPE_IN_2_52_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) # 505 "/usr/include/glib-2.0/glib/glib-visibility.h" #define GLIB_AVAILABLE_IN_2_52 _GLIB_EXTERN #define GLIB_AVAILABLE_STATIC_INLINE_IN_2_52 #define GLIB_AVAILABLE_MACRO_IN_2_52 #define GLIB_AVAILABLE_ENUMERATOR_IN_2_52 #define GLIB_AVAILABLE_TYPE_IN_2_52 #define GLIB_DEPRECATED_IN_2_54 GLIB_DEPRECATED #define GLIB_DEPRECATED_IN_2_54_FOR(f) GLIB_DEPRECATED_FOR (f) #define GLIB_DEPRECATED_MACRO_IN_2_54 GLIB_DEPRECATED_MACRO #define GLIB_DEPRECATED_MACRO_IN_2_54_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) #define GLIB_DEPRECATED_ENUMERATOR_IN_2_54 GLIB_DEPRECATED_ENUMERATOR #define GLIB_DEPRECATED_ENUMERATOR_IN_2_54_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f) #define GLIB_DEPRECATED_TYPE_IN_2_54 GLIB_DEPRECATED_TYPE #define GLIB_DEPRECATED_TYPE_IN_2_54_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) # 539 "/usr/include/glib-2.0/glib/glib-visibility.h" #define GLIB_AVAILABLE_IN_2_54 _GLIB_EXTERN #define GLIB_AVAILABLE_STATIC_INLINE_IN_2_54 #define GLIB_AVAILABLE_MACRO_IN_2_54 #define GLIB_AVAILABLE_ENUMERATOR_IN_2_54 #define GLIB_AVAILABLE_TYPE_IN_2_54 #define GLIB_DEPRECATED_IN_2_56 GLIB_DEPRECATED #define GLIB_DEPRECATED_IN_2_56_FOR(f) GLIB_DEPRECATED_FOR (f) #define GLIB_DEPRECATED_MACRO_IN_2_56 GLIB_DEPRECATED_MACRO #define GLIB_DEPRECATED_MACRO_IN_2_56_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) #define GLIB_DEPRECATED_ENUMERATOR_IN_2_56 GLIB_DEPRECATED_ENUMERATOR #define GLIB_DEPRECATED_ENUMERATOR_IN_2_56_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f) #define GLIB_DEPRECATED_TYPE_IN_2_56 GLIB_DEPRECATED_TYPE #define GLIB_DEPRECATED_TYPE_IN_2_56_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) # 573 "/usr/include/glib-2.0/glib/glib-visibility.h" #define GLIB_AVAILABLE_IN_2_56 _GLIB_EXTERN #define GLIB_AVAILABLE_STATIC_INLINE_IN_2_56 #define GLIB_AVAILABLE_MACRO_IN_2_56 #define GLIB_AVAILABLE_ENUMERATOR_IN_2_56 #define GLIB_AVAILABLE_TYPE_IN_2_56 #define GLIB_DEPRECATED_IN_2_58 GLIB_DEPRECATED #define GLIB_DEPRECATED_IN_2_58_FOR(f) GLIB_DEPRECATED_FOR (f) #define GLIB_DEPRECATED_MACRO_IN_2_58 GLIB_DEPRECATED_MACRO #define GLIB_DEPRECATED_MACRO_IN_2_58_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) #define GLIB_DEPRECATED_ENUMERATOR_IN_2_58 GLIB_DEPRECATED_ENUMERATOR #define GLIB_DEPRECATED_ENUMERATOR_IN_2_58_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f) #define GLIB_DEPRECATED_TYPE_IN_2_58 GLIB_DEPRECATED_TYPE #define GLIB_DEPRECATED_TYPE_IN_2_58_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) # 607 "/usr/include/glib-2.0/glib/glib-visibility.h" #define GLIB_AVAILABLE_IN_2_58 _GLIB_EXTERN #define GLIB_AVAILABLE_STATIC_INLINE_IN_2_58 #define GLIB_AVAILABLE_MACRO_IN_2_58 #define GLIB_AVAILABLE_ENUMERATOR_IN_2_58 #define GLIB_AVAILABLE_TYPE_IN_2_58 #define GLIB_DEPRECATED_IN_2_60 GLIB_DEPRECATED #define GLIB_DEPRECATED_IN_2_60_FOR(f) GLIB_DEPRECATED_FOR (f) #define GLIB_DEPRECATED_MACRO_IN_2_60 GLIB_DEPRECATED_MACRO #define GLIB_DEPRECATED_MACRO_IN_2_60_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) #define GLIB_DEPRECATED_ENUMERATOR_IN_2_60 GLIB_DEPRECATED_ENUMERATOR #define GLIB_DEPRECATED_ENUMERATOR_IN_2_60_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f) #define GLIB_DEPRECATED_TYPE_IN_2_60 GLIB_DEPRECATED_TYPE #define GLIB_DEPRECATED_TYPE_IN_2_60_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) # 641 "/usr/include/glib-2.0/glib/glib-visibility.h" #define GLIB_AVAILABLE_IN_2_60 _GLIB_EXTERN #define GLIB_AVAILABLE_STATIC_INLINE_IN_2_60 #define GLIB_AVAILABLE_MACRO_IN_2_60 #define GLIB_AVAILABLE_ENUMERATOR_IN_2_60 #define GLIB_AVAILABLE_TYPE_IN_2_60 #define GLIB_DEPRECATED_IN_2_62 GLIB_DEPRECATED #define GLIB_DEPRECATED_IN_2_62_FOR(f) GLIB_DEPRECATED_FOR (f) #define GLIB_DEPRECATED_MACRO_IN_2_62 GLIB_DEPRECATED_MACRO #define GLIB_DEPRECATED_MACRO_IN_2_62_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) #define GLIB_DEPRECATED_ENUMERATOR_IN_2_62 GLIB_DEPRECATED_ENUMERATOR #define GLIB_DEPRECATED_ENUMERATOR_IN_2_62_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f) #define GLIB_DEPRECATED_TYPE_IN_2_62 GLIB_DEPRECATED_TYPE #define GLIB_DEPRECATED_TYPE_IN_2_62_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) # 675 "/usr/include/glib-2.0/glib/glib-visibility.h" #define GLIB_AVAILABLE_IN_2_62 _GLIB_EXTERN #define GLIB_AVAILABLE_STATIC_INLINE_IN_2_62 #define GLIB_AVAILABLE_MACRO_IN_2_62 #define GLIB_AVAILABLE_ENUMERATOR_IN_2_62 #define GLIB_AVAILABLE_TYPE_IN_2_62 #define GLIB_DEPRECATED_IN_2_64 GLIB_DEPRECATED #define GLIB_DEPRECATED_IN_2_64_FOR(f) GLIB_DEPRECATED_FOR (f) #define GLIB_DEPRECATED_MACRO_IN_2_64 GLIB_DEPRECATED_MACRO #define GLIB_DEPRECATED_MACRO_IN_2_64_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) #define GLIB_DEPRECATED_ENUMERATOR_IN_2_64 GLIB_DEPRECATED_ENUMERATOR #define GLIB_DEPRECATED_ENUMERATOR_IN_2_64_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f) #define GLIB_DEPRECATED_TYPE_IN_2_64 GLIB_DEPRECATED_TYPE #define GLIB_DEPRECATED_TYPE_IN_2_64_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) # 709 "/usr/include/glib-2.0/glib/glib-visibility.h" #define GLIB_AVAILABLE_IN_2_64 _GLIB_EXTERN #define GLIB_AVAILABLE_STATIC_INLINE_IN_2_64 #define GLIB_AVAILABLE_MACRO_IN_2_64 #define GLIB_AVAILABLE_ENUMERATOR_IN_2_64 #define GLIB_AVAILABLE_TYPE_IN_2_64 #define GLIB_DEPRECATED_IN_2_66 GLIB_DEPRECATED #define GLIB_DEPRECATED_IN_2_66_FOR(f) GLIB_DEPRECATED_FOR (f) #define GLIB_DEPRECATED_MACRO_IN_2_66 GLIB_DEPRECATED_MACRO #define GLIB_DEPRECATED_MACRO_IN_2_66_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) #define GLIB_DEPRECATED_ENUMERATOR_IN_2_66 GLIB_DEPRECATED_ENUMERATOR #define GLIB_DEPRECATED_ENUMERATOR_IN_2_66_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f) #define GLIB_DEPRECATED_TYPE_IN_2_66 GLIB_DEPRECATED_TYPE #define GLIB_DEPRECATED_TYPE_IN_2_66_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) # 743 "/usr/include/glib-2.0/glib/glib-visibility.h" #define GLIB_AVAILABLE_IN_2_66 _GLIB_EXTERN #define GLIB_AVAILABLE_STATIC_INLINE_IN_2_66 #define GLIB_AVAILABLE_MACRO_IN_2_66 #define GLIB_AVAILABLE_ENUMERATOR_IN_2_66 #define GLIB_AVAILABLE_TYPE_IN_2_66 #define GLIB_DEPRECATED_IN_2_68 GLIB_DEPRECATED #define GLIB_DEPRECATED_IN_2_68_FOR(f) GLIB_DEPRECATED_FOR (f) #define GLIB_DEPRECATED_MACRO_IN_2_68 GLIB_DEPRECATED_MACRO #define GLIB_DEPRECATED_MACRO_IN_2_68_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) #define GLIB_DEPRECATED_ENUMERATOR_IN_2_68 GLIB_DEPRECATED_ENUMERATOR #define GLIB_DEPRECATED_ENUMERATOR_IN_2_68_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f) #define GLIB_DEPRECATED_TYPE_IN_2_68 GLIB_DEPRECATED_TYPE #define GLIB_DEPRECATED_TYPE_IN_2_68_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) # 777 "/usr/include/glib-2.0/glib/glib-visibility.h" #define GLIB_AVAILABLE_IN_2_68 _GLIB_EXTERN #define GLIB_AVAILABLE_STATIC_INLINE_IN_2_68 #define GLIB_AVAILABLE_MACRO_IN_2_68 #define GLIB_AVAILABLE_ENUMERATOR_IN_2_68 #define GLIB_AVAILABLE_TYPE_IN_2_68 #define GLIB_DEPRECATED_IN_2_70 GLIB_DEPRECATED #define GLIB_DEPRECATED_IN_2_70_FOR(f) GLIB_DEPRECATED_FOR (f) #define GLIB_DEPRECATED_MACRO_IN_2_70 GLIB_DEPRECATED_MACRO #define GLIB_DEPRECATED_MACRO_IN_2_70_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) #define GLIB_DEPRECATED_ENUMERATOR_IN_2_70 GLIB_DEPRECATED_ENUMERATOR #define GLIB_DEPRECATED_ENUMERATOR_IN_2_70_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f) #define GLIB_DEPRECATED_TYPE_IN_2_70 GLIB_DEPRECATED_TYPE #define GLIB_DEPRECATED_TYPE_IN_2_70_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) # 811 "/usr/include/glib-2.0/glib/glib-visibility.h" #define GLIB_AVAILABLE_IN_2_70 _GLIB_EXTERN #define GLIB_AVAILABLE_STATIC_INLINE_IN_2_70 #define GLIB_AVAILABLE_MACRO_IN_2_70 #define GLIB_AVAILABLE_ENUMERATOR_IN_2_70 #define GLIB_AVAILABLE_TYPE_IN_2_70 #define GLIB_DEPRECATED_IN_2_72 GLIB_DEPRECATED #define GLIB_DEPRECATED_IN_2_72_FOR(f) GLIB_DEPRECATED_FOR (f) #define GLIB_DEPRECATED_MACRO_IN_2_72 GLIB_DEPRECATED_MACRO #define GLIB_DEPRECATED_MACRO_IN_2_72_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) #define GLIB_DEPRECATED_ENUMERATOR_IN_2_72 GLIB_DEPRECATED_ENUMERATOR #define GLIB_DEPRECATED_ENUMERATOR_IN_2_72_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f) #define GLIB_DEPRECATED_TYPE_IN_2_72 GLIB_DEPRECATED_TYPE #define GLIB_DEPRECATED_TYPE_IN_2_72_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) # 845 "/usr/include/glib-2.0/glib/glib-visibility.h" #define GLIB_AVAILABLE_IN_2_72 _GLIB_EXTERN #define GLIB_AVAILABLE_STATIC_INLINE_IN_2_72 #define GLIB_AVAILABLE_MACRO_IN_2_72 #define GLIB_AVAILABLE_ENUMERATOR_IN_2_72 #define GLIB_AVAILABLE_TYPE_IN_2_72 #define GLIB_DEPRECATED_IN_2_74 GLIB_DEPRECATED #define GLIB_DEPRECATED_IN_2_74_FOR(f) GLIB_DEPRECATED_FOR (f) #define GLIB_DEPRECATED_MACRO_IN_2_74 GLIB_DEPRECATED_MACRO #define GLIB_DEPRECATED_MACRO_IN_2_74_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) #define GLIB_DEPRECATED_ENUMERATOR_IN_2_74 GLIB_DEPRECATED_ENUMERATOR #define GLIB_DEPRECATED_ENUMERATOR_IN_2_74_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f) #define GLIB_DEPRECATED_TYPE_IN_2_74 GLIB_DEPRECATED_TYPE #define GLIB_DEPRECATED_TYPE_IN_2_74_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) # 879 "/usr/include/glib-2.0/glib/glib-visibility.h" #define GLIB_AVAILABLE_IN_2_74 _GLIB_EXTERN #define GLIB_AVAILABLE_STATIC_INLINE_IN_2_74 #define GLIB_AVAILABLE_MACRO_IN_2_74 #define GLIB_AVAILABLE_ENUMERATOR_IN_2_74 #define GLIB_AVAILABLE_TYPE_IN_2_74 #define GLIB_DEPRECATED_IN_2_76 GLIB_DEPRECATED #define GLIB_DEPRECATED_IN_2_76_FOR(f) GLIB_DEPRECATED_FOR (f) #define GLIB_DEPRECATED_MACRO_IN_2_76 GLIB_DEPRECATED_MACRO #define GLIB_DEPRECATED_MACRO_IN_2_76_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) #define GLIB_DEPRECATED_ENUMERATOR_IN_2_76 GLIB_DEPRECATED_ENUMERATOR #define GLIB_DEPRECATED_ENUMERATOR_IN_2_76_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f) #define GLIB_DEPRECATED_TYPE_IN_2_76 GLIB_DEPRECATED_TYPE #define GLIB_DEPRECATED_TYPE_IN_2_76_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) # 913 "/usr/include/glib-2.0/glib/glib-visibility.h" #define GLIB_AVAILABLE_IN_2_76 _GLIB_EXTERN #define GLIB_AVAILABLE_STATIC_INLINE_IN_2_76 #define GLIB_AVAILABLE_MACRO_IN_2_76 #define GLIB_AVAILABLE_ENUMERATOR_IN_2_76 #define GLIB_AVAILABLE_TYPE_IN_2_76 #define GLIB_DEPRECATED_IN_2_78 GLIB_DEPRECATED #define GLIB_DEPRECATED_IN_2_78_FOR(f) GLIB_DEPRECATED_FOR (f) #define GLIB_DEPRECATED_MACRO_IN_2_78 GLIB_DEPRECATED_MACRO #define GLIB_DEPRECATED_MACRO_IN_2_78_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) #define GLIB_DEPRECATED_ENUMERATOR_IN_2_78 GLIB_DEPRECATED_ENUMERATOR #define GLIB_DEPRECATED_ENUMERATOR_IN_2_78_FOR(f) GLIB_DEPRECATED_ENUMERATOR_FOR (f) #define GLIB_DEPRECATED_TYPE_IN_2_78 GLIB_DEPRECATED_TYPE #define GLIB_DEPRECATED_TYPE_IN_2_78_FOR(f) GLIB_DEPRECATED_TYPE_FOR (f) # 947 "/usr/include/glib-2.0/glib/glib-visibility.h" #define GLIB_AVAILABLE_IN_2_78 _GLIB_EXTERN #define GLIB_AVAILABLE_STATIC_INLINE_IN_2_78 #define GLIB_AVAILABLE_MACRO_IN_2_78 #define GLIB_AVAILABLE_ENUMERATOR_IN_2_78 #define GLIB_AVAILABLE_TYPE_IN_2_78 # 40 "/usr/include/glib-2.0/glib/gtypes.h" 2 # 1 "/usr/include/time.h" 1 3 4 # 23 "/usr/include/time.h" 3 4 #define _TIME_H 1 #define __need_size_t #define __need_NULL # 1 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 1 3 4 # 158 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 #undef __need_ptrdiff_t # 237 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 #undef __need_size_t # 349 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 #undef __need_wchar_t # 399 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 #undef NULL #define NULL ((void *)0) #undef __need_NULL #undef offsetof #define offsetof(TYPE,MEMBER) __builtin_offsetof (TYPE, MEMBER) # 30 "/usr/include/time.h" 2 3 4 # 1 "/usr/include/bits/time.h" 1 3 4 # 24 "/usr/include/bits/time.h" 3 4 #define _BITS_TIME_H 1 # 34 "/usr/include/bits/time.h" 3 4 #define CLOCKS_PER_SEC ((__clock_t) 1000000) # 46 "/usr/include/bits/time.h" 3 4 #define CLOCK_REALTIME 0 #define CLOCK_MONOTONIC 1 #define CLOCK_PROCESS_CPUTIME_ID 2 #define CLOCK_THREAD_CPUTIME_ID 3 #define CLOCK_MONOTONIC_RAW 4 #define CLOCK_REALTIME_COARSE 5 #define CLOCK_MONOTONIC_COARSE 6 #define CLOCK_BOOTTIME 7 #define CLOCK_REALTIME_ALARM 8 #define CLOCK_BOOTTIME_ALARM 9 #define CLOCK_TAI 11 #define TIMER_ABSTIME 1 # 34 "/usr/include/time.h" 2 3 4 # 1 "/usr/include/bits/types/struct_tm.h" 1 3 4 #define __struct_tm_defined 1 # 7 "/usr/include/bits/types/struct_tm.h" 3 4 struct tm { int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; int tm_year; int tm_wday; int tm_yday; int tm_isdst; long int tm_gmtoff; const char *tm_zone; }; # 40 "/usr/include/time.h" 2 3 4 # 48 "/usr/include/time.h" 3 4 # 1 "/usr/include/bits/types/struct_itimerspec.h" 1 3 4 #define __itimerspec_defined 1 struct itimerspec { struct timespec it_interval; struct timespec it_value; }; # 49 "/usr/include/time.h" 2 3 4 struct sigevent; # 65 "/usr/include/time.h" 3 4 #define TIME_UTC 1 extern clock_t clock (void) __attribute__ ((__nothrow__ , __leaf__)); extern time_t time (time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); extern double difftime (time_t __time1, time_t __time0) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); # 100 "/usr/include/time.h" 3 4 extern size_t strftime (char *__restrict __s, size_t __maxsize, const char *__restrict __format, const struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3, 4))); # 117 "/usr/include/time.h" 3 4 extern size_t strftime_l (char *__restrict __s, size_t __maxsize, const char *__restrict __format, const struct tm *__restrict __tp, locale_t __loc) __attribute__ ((__nothrow__ , __leaf__)); # 133 "/usr/include/time.h" 3 4 extern struct tm *gmtime (const time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); extern struct tm *localtime (const time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); # 155 "/usr/include/time.h" 3 4 extern struct tm *gmtime_r (const time_t *__restrict __timer, struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__)); extern struct tm *localtime_r (const time_t *__restrict __timer, struct tm *__restrict __tp) __attribute__ ((__nothrow__ , __leaf__)); # 180 "/usr/include/time.h" 3 4 extern char *asctime (const struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern char *ctime (const time_t *__timer) __attribute__ ((__nothrow__ , __leaf__)); # 198 "/usr/include/time.h" 3 4 extern char *asctime_r (const struct tm *__restrict __tp, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); extern char *ctime_r (const time_t *__restrict __timer, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__)); # 218 "/usr/include/time.h" 3 4 extern char *__tzname[2]; extern int __daylight; extern long int __timezone; extern char *tzname[2]; extern void tzset (void) __attribute__ ((__nothrow__ , __leaf__)); extern int daylight; extern long int timezone; #define __isleap(year) ((year) % 4 == 0 && ((year) % 100 != 0 || (year) % 400 == 0)) extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); # 264 "/usr/include/time.h" 3 4 extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__ , __leaf__)); extern int dysize (int __year) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); # 282 "/usr/include/time.h" 3 4 extern int nanosleep (const struct timespec *__requested_time, struct timespec *__remaining); extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__ , __leaf__)); extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); extern int clock_settime (clockid_t __clock_id, const struct timespec *__tp) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); # 324 "/usr/include/time.h" 3 4 extern int clock_nanosleep (clockid_t __clock_id, int __flags, const struct timespec *__req, struct timespec *__rem); # 339 "/usr/include/time.h" 3 4 extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_create (clockid_t __clock_id, struct sigevent *__restrict __evp, timer_t *__restrict __timerid) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_settime (timer_t __timerid, int __flags, const struct itimerspec *__restrict __value, struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__ , __leaf__)); extern int timer_gettime (timer_t __timerid, struct itimerspec *__value) __attribute__ ((__nothrow__ , __leaf__)); # 377 "/usr/include/time.h" 3 4 extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__ , __leaf__)); extern int timespec_get (struct timespec *__ts, int __base) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 453 "/usr/include/time.h" 3 4 # 42 "/usr/include/glib-2.0/glib/gtypes.h" 2 # 52 "/usr/include/glib-2.0/glib/gtypes.h" # 52 "/usr/include/glib-2.0/glib/gtypes.h" typedef char gchar; typedef short gshort; typedef long glong; typedef int gint; typedef gint gboolean; typedef unsigned char guchar; typedef unsigned short gushort; typedef unsigned long gulong; typedef unsigned int guint; typedef float gfloat; typedef double gdouble; # 74 "/usr/include/glib-2.0/glib/gtypes.h" #define G_MININT8 ((gint8) (-G_MAXINT8 - 1)) #define G_MAXINT8 ((gint8) 0x7f) #define G_MAXUINT8 ((guint8) 0xff) # 85 "/usr/include/glib-2.0/glib/gtypes.h" #define G_MININT16 ((gint16) (-G_MAXINT16 - 1)) #define G_MAXINT16 ((gint16) 0x7fff) #define G_MAXUINT16 ((guint16) 0xffff) # 96 "/usr/include/glib-2.0/glib/gtypes.h" #define G_MININT32 ((gint32) (-G_MAXINT32 - 1)) #define G_MAXINT32 ((gint32) 0x7fffffff) #define G_MAXUINT32 ((guint32) 0xffffffff) #define G_MININT64 ((gint64) (-G_MAXINT64 - G_GINT64_CONSTANT(1))) #define G_MAXINT64 G_GINT64_CONSTANT(0x7fffffffffffffff) #define G_MAXUINT64 G_GUINT64_CONSTANT(0xffffffffffffffff) typedef void* gpointer; typedef const void *gconstpointer; typedef gint (*GCompareFunc) (gconstpointer a, gconstpointer b); typedef gint (*GCompareDataFunc) (gconstpointer a, gconstpointer b, gpointer user_data); typedef gboolean (*GEqualFunc) (gconstpointer a, gconstpointer b); # 136 "/usr/include/glib-2.0/glib/gtypes.h" typedef gboolean (*GEqualFuncFull) (gconstpointer a, gconstpointer b, gpointer user_data); typedef void (*GDestroyNotify) (gpointer data); typedef void (*GFunc) (gpointer data, gpointer user_data); typedef guint (*GHashFunc) (gconstpointer key); typedef void (*GHFunc) (gpointer key, gpointer value, gpointer user_data); # 160 "/usr/include/glib-2.0/glib/gtypes.h" typedef gpointer (*GCopyFunc) (gconstpointer src, gpointer data); # 170 "/usr/include/glib-2.0/glib/gtypes.h" typedef void (*GFreeFunc) (gpointer data); # 184 "/usr/include/glib-2.0/glib/gtypes.h" typedef const gchar * (*GTranslateFunc) (const gchar *str, gpointer data); # 198 "/usr/include/glib-2.0/glib/gtypes.h" #define G_E 2.7182818284590452353602874713526624977572470937000 #define G_LN2 0.69314718055994530941723212145817656807550013436026 #define G_LN10 2.3025850929940456840179914546843642076011014886288 #define G_PI 3.1415926535897932384626433832795028841971693993751 #define G_PI_2 1.5707963267948966192313216916397514420985846996876 #define G_PI_4 0.78539816339744830961566084581987572104929234984378 #define G_SQRT2 1.4142135623730950488016887242096980785696718753769 #define G_LITTLE_ENDIAN 1234 #define G_BIG_ENDIAN 4321 #define G_PDP_ENDIAN 3412 #define GUINT16_SWAP_LE_BE_CONSTANT(val) ((guint16) ( (guint16) ((guint16) (val) >> 8) | (guint16) ((guint16) (val) << 8))) #define GUINT32_SWAP_LE_BE_CONSTANT(val) ((guint32) ( (((guint32) (val) & (guint32) 0x000000ffU) << 24) | (((guint32) (val) & (guint32) 0x0000ff00U) << 8) | (((guint32) (val) & (guint32) 0x00ff0000U) >> 8) | (((guint32) (val) & (guint32) 0xff000000U) >> 24))) #define GUINT64_SWAP_LE_BE_CONSTANT(val) ((guint64) ( (((guint64) (val) & (guint64) G_GINT64_CONSTANT (0x00000000000000ffU)) << 56) | (((guint64) (val) & (guint64) G_GINT64_CONSTANT (0x000000000000ff00U)) << 40) | (((guint64) (val) & (guint64) G_GINT64_CONSTANT (0x0000000000ff0000U)) << 24) | (((guint64) (val) & (guint64) G_GINT64_CONSTANT (0x00000000ff000000U)) << 8) | (((guint64) (val) & (guint64) G_GINT64_CONSTANT (0x000000ff00000000U)) >> 8) | (((guint64) (val) & (guint64) G_GINT64_CONSTANT (0x0000ff0000000000U)) >> 24) | (((guint64) (val) & (guint64) G_GINT64_CONSTANT (0x00ff000000000000U)) >> 40) | (((guint64) (val) & (guint64) G_GINT64_CONSTANT (0xff00000000000000U)) >> 56))) # 386 "/usr/include/glib-2.0/glib/gtypes.h" #define GUINT16_SWAP_LE_BE(val) (GUINT16_SWAP_LE_BE_CONSTANT (val)) #define GUINT32_SWAP_LE_BE(val) (GUINT32_SWAP_LE_BE_CONSTANT (val)) #define GUINT64_SWAP_LE_BE(val) (GUINT64_SWAP_LE_BE_CONSTANT (val)) # 400 "/usr/include/glib-2.0/glib/gtypes.h" #define GUINT16_SWAP_LE_PDP(val) ((guint16) (val)) #define GUINT16_SWAP_BE_PDP(val) (GUINT16_SWAP_LE_BE (val)) #define GUINT32_SWAP_LE_PDP(val) ((guint32) ( (((guint32) (val) & (guint32) 0x0000ffffU) << 16) | (((guint32) (val) & (guint32) 0xffff0000U) >> 16))) #define GUINT32_SWAP_BE_PDP(val) ((guint32) ( (((guint32) (val) & (guint32) 0x00ff00ffU) << 8) | (((guint32) (val) & (guint32) 0xff00ff00U) >> 8))) #define GINT16_FROM_LE(val) (GINT16_TO_LE (val)) #define GUINT16_FROM_LE(val) (GUINT16_TO_LE (val)) #define GINT16_FROM_BE(val) (GINT16_TO_BE (val)) #define GUINT16_FROM_BE(val) (GUINT16_TO_BE (val)) #define GINT32_FROM_LE(val) (GINT32_TO_LE (val)) #define GUINT32_FROM_LE(val) (GUINT32_TO_LE (val)) #define GINT32_FROM_BE(val) (GINT32_TO_BE (val)) #define GUINT32_FROM_BE(val) (GUINT32_TO_BE (val)) #define GINT64_FROM_LE(val) (GINT64_TO_LE (val)) #define GUINT64_FROM_LE(val) (GUINT64_TO_LE (val)) #define GINT64_FROM_BE(val) (GINT64_TO_BE (val)) #define GUINT64_FROM_BE(val) (GUINT64_TO_BE (val)) #define GLONG_FROM_LE(val) (GLONG_TO_LE (val)) #define GULONG_FROM_LE(val) (GULONG_TO_LE (val)) #define GLONG_FROM_BE(val) (GLONG_TO_BE (val)) #define GULONG_FROM_BE(val) (GULONG_TO_BE (val)) #define GINT_FROM_LE(val) (GINT_TO_LE (val)) #define GUINT_FROM_LE(val) (GUINT_TO_LE (val)) #define GINT_FROM_BE(val) (GINT_TO_BE (val)) #define GUINT_FROM_BE(val) (GUINT_TO_BE (val)) #define GSIZE_FROM_LE(val) (GSIZE_TO_LE (val)) #define GSSIZE_FROM_LE(val) (GSSIZE_TO_LE (val)) #define GSIZE_FROM_BE(val) (GSIZE_TO_BE (val)) #define GSSIZE_FROM_BE(val) (GSSIZE_TO_BE (val)) #define g_ntohl(val) (GUINT32_FROM_BE (val)) #define g_ntohs(val) (GUINT16_FROM_BE (val)) #define g_htonl(val) (GUINT32_TO_BE (val)) #define g_htons(val) (GUINT16_TO_BE (val)) #define _GLIB_HAVE_BUILTIN_OVERFLOW_CHECKS #define g_uint_checked_add(dest,a,b) (!__builtin_add_overflow(a, b, dest)) #define g_uint_checked_mul(dest,a,b) (!__builtin_mul_overflow(a, b, dest)) #define g_uint64_checked_add(dest,a,b) (!__builtin_add_overflow(a, b, dest)) #define g_uint64_checked_mul(dest,a,b) (!__builtin_mul_overflow(a, b, dest)) #define g_size_checked_add(dest,a,b) (!__builtin_add_overflow(a, b, dest)) #define g_size_checked_mul(dest,a,b) (!__builtin_mul_overflow(a, b, dest)) # 528 "/usr/include/glib-2.0/glib/gtypes.h" typedef union _GDoubleIEEE754 GDoubleIEEE754; typedef union _GFloatIEEE754 GFloatIEEE754; #define G_IEEE754_FLOAT_BIAS (127) #define G_IEEE754_DOUBLE_BIAS (1023) #define G_LOG_2_BASE_10 (0.30102999566398119521) union _GFloatIEEE754 { gfloat v_float; struct { guint mantissa : 23; guint biased_exponent : 8; guint sign : 1; } mpn; }; union _GDoubleIEEE754 { gdouble v_double; struct { guint mantissa_low : 32; guint mantissa_high : 20; guint biased_exponent : 11; guint sign : 1; } mpn; }; # 578 "/usr/include/glib-2.0/glib/gtypes.h" typedef struct _GTimeVal GTimeVal __attribute__((__deprecated__("Use '" "GDateTime" "' instead"))); struct _GTimeVal { glong tv_sec; glong tv_usec; } __attribute__((__deprecated__("Use '" "GDateTime" "' instead"))); typedef gint grefcount; typedef gint gatomicrefcount; # 35 "/usr/include/glib-2.0/glib/galloca.h" 2 #undef alloca #define alloca(size) __builtin_alloca (size) # 99 "/usr/include/glib-2.0/glib/galloca.h" #define g_alloca(size) alloca (size) # 114 "/usr/include/glib-2.0/glib/galloca.h" #define g_alloca0(size) ((size) == 0 ? NULL : memset (g_alloca (size), 0, (size))) # 131 "/usr/include/glib-2.0/glib/galloca.h" #define g_newa(struct_type,n_structs) ((struct_type*) g_alloca (sizeof (struct_type) * (gsize) (n_structs))) # 145 "/usr/include/glib-2.0/glib/galloca.h" #define g_newa0(struct_type,n_structs) ((struct_type*) g_alloca0 (sizeof (struct_type) * (gsize) (n_structs))) # 33 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/garray.h" 1 # 28 "/usr/include/glib-2.0/glib/garray.h" #define __G_ARRAY_H__ typedef struct _GBytes GBytes; typedef struct _GArray GArray; typedef struct _GByteArray GByteArray; typedef struct _GPtrArray GPtrArray; struct _GArray { gchar *data; guint len; }; struct _GByteArray { guint8 *data; guint len; }; struct _GPtrArray { gpointer *pdata; guint len; }; #define g_array_append_val(a,v) g_array_append_vals (a, &(v), 1) #define g_array_prepend_val(a,v) g_array_prepend_vals (a, &(v), 1) #define g_array_insert_val(a,i,v) g_array_insert_vals (a, i, &(v), 1) #define g_array_index(a,t,i) (((t*) (void *) (a)->data) [(i)]) extern GArray* g_array_new (gboolean zero_terminated, gboolean clear_, guint element_size); extern GArray* g_array_new_take (gpointer data, gsize len, gboolean clear, gsize element_size); extern GArray* g_array_new_take_zero_terminated (gpointer data, gboolean clear, gsize element_size); extern gpointer g_array_steal (GArray *array, gsize *len); extern GArray* g_array_sized_new (gboolean zero_terminated, gboolean clear_, guint element_size, guint reserved_size); extern GArray* g_array_copy (GArray *array); extern gchar* g_array_free (GArray *array, gboolean free_segment); extern GArray *g_array_ref (GArray *array); extern void g_array_unref (GArray *array); extern guint g_array_get_element_size (GArray *array); extern GArray* g_array_append_vals (GArray *array, gconstpointer data, guint len); extern GArray* g_array_prepend_vals (GArray *array, gconstpointer data, guint len); extern GArray* g_array_insert_vals (GArray *array, guint index_, gconstpointer data, guint len); extern GArray* g_array_set_size (GArray *array, guint length); extern GArray* g_array_remove_index (GArray *array, guint index_); extern GArray* g_array_remove_index_fast (GArray *array, guint index_); extern GArray* g_array_remove_range (GArray *array, guint index_, guint length); extern void g_array_sort (GArray *array, GCompareFunc compare_func); extern void g_array_sort_with_data (GArray *array, GCompareDataFunc compare_func, gpointer user_data); extern gboolean g_array_binary_search (GArray *array, gconstpointer target, GCompareFunc compare_func, guint *out_match_index); extern void g_array_set_clear_func (GArray *array, GDestroyNotify clear_func); #define g_ptr_array_index(array,index_) ((array)->pdata)[index_] extern GPtrArray* g_ptr_array_new (void); extern GPtrArray* g_ptr_array_new_with_free_func (GDestroyNotify element_free_func); extern GPtrArray* g_ptr_array_new_take (gpointer *data, gsize len, GDestroyNotify element_free_func); extern GPtrArray* g_ptr_array_new_from_array (gpointer *data, gsize len, GCopyFunc copy_func, gpointer copy_func_user_data, GDestroyNotify element_free_func); extern gpointer* g_ptr_array_steal (GPtrArray *array, gsize *len); extern GPtrArray *g_ptr_array_copy (GPtrArray *array, GCopyFunc func, gpointer user_data); extern GPtrArray* g_ptr_array_sized_new (guint reserved_size); extern GPtrArray* g_ptr_array_new_full (guint reserved_size, GDestroyNotify element_free_func); extern GPtrArray* g_ptr_array_new_null_terminated (guint reserved_size, GDestroyNotify element_free_func, gboolean null_terminated); extern GPtrArray* g_ptr_array_new_take_null_terminated (gpointer *data, GDestroyNotify element_free_func); extern GPtrArray* g_ptr_array_new_from_null_terminated_array (gpointer *data, GCopyFunc copy_func, gpointer copy_func_user_data, GDestroyNotify element_free_func); extern gpointer* g_ptr_array_free (GPtrArray *array, gboolean free_seg); extern GPtrArray* g_ptr_array_ref (GPtrArray *array); extern void g_ptr_array_unref (GPtrArray *array); extern void g_ptr_array_set_free_func (GPtrArray *array, GDestroyNotify element_free_func); extern void g_ptr_array_set_size (GPtrArray *array, gint length); extern gpointer g_ptr_array_remove_index (GPtrArray *array, guint index_); extern gpointer g_ptr_array_remove_index_fast (GPtrArray *array, guint index_); extern gpointer g_ptr_array_steal_index (GPtrArray *array, guint index_); extern gpointer g_ptr_array_steal_index_fast (GPtrArray *array, guint index_); extern gboolean g_ptr_array_remove (GPtrArray *array, gpointer data); extern gboolean g_ptr_array_remove_fast (GPtrArray *array, gpointer data); extern GPtrArray *g_ptr_array_remove_range (GPtrArray *array, guint index_, guint length); extern void g_ptr_array_add (GPtrArray *array, gpointer data); extern void g_ptr_array_extend (GPtrArray *array_to_extend, GPtrArray *array, GCopyFunc func, gpointer user_data); extern void g_ptr_array_extend_and_steal (GPtrArray *array_to_extend, GPtrArray *array); extern void g_ptr_array_insert (GPtrArray *array, gint index_, gpointer data); extern void g_ptr_array_sort (GPtrArray *array, GCompareFunc compare_func); extern void g_ptr_array_sort_with_data (GPtrArray *array, GCompareDataFunc compare_func, gpointer user_data); extern void g_ptr_array_sort_values (GPtrArray *array, GCompareFunc compare_func); extern void g_ptr_array_sort_values_with_data (GPtrArray *array, GCompareDataFunc compare_func, gpointer user_data); extern void g_ptr_array_foreach (GPtrArray *array, GFunc func, gpointer user_data); extern gboolean g_ptr_array_find (GPtrArray *haystack, gconstpointer needle, guint *index_); extern gboolean g_ptr_array_find_with_equal_func (GPtrArray *haystack, gconstpointer needle, GEqualFunc equal_func, guint *index_); extern gboolean g_ptr_array_is_null_terminated (GPtrArray *array); extern GByteArray* g_byte_array_new (void); extern GByteArray* g_byte_array_new_take (guint8 *data, gsize len); extern guint8* g_byte_array_steal (GByteArray *array, gsize *len); extern GByteArray* g_byte_array_sized_new (guint reserved_size); extern guint8* g_byte_array_free (GByteArray *array, gboolean free_segment); extern GBytes* g_byte_array_free_to_bytes (GByteArray *array); extern GByteArray *g_byte_array_ref (GByteArray *array); extern void g_byte_array_unref (GByteArray *array); extern GByteArray* g_byte_array_append (GByteArray *array, const guint8 *data, guint len); extern GByteArray* g_byte_array_prepend (GByteArray *array, const guint8 *data, guint len); extern GByteArray* g_byte_array_set_size (GByteArray *array, guint length); extern GByteArray* g_byte_array_remove_index (GByteArray *array, guint index_); extern GByteArray* g_byte_array_remove_index_fast (GByteArray *array, guint index_); extern GByteArray* g_byte_array_remove_range (GByteArray *array, guint index_, guint length); extern void g_byte_array_sort (GByteArray *array, GCompareFunc compare_func); extern void g_byte_array_sort_with_data (GByteArray *array, GCompareDataFunc compare_func, gpointer user_data); # 34 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gasyncqueue.h" 1 # 28 "/usr/include/glib-2.0/glib/gasyncqueue.h" #define __G_ASYNCQUEUE_H__ # 1 "/usr/include/glib-2.0/glib/gthread.h" 1 # 28 "/usr/include/glib-2.0/glib/gthread.h" #define __G_THREAD_H__ # 1 "/usr/include/glib-2.0/glib/gatomic.h" 1 # 23 "/usr/include/glib-2.0/glib/gatomic.h" #define __G_ATOMIC_H__ # 1 "/usr/include/glib-2.0/glib/glib-typeof.h" 1 # 21 "/usr/include/glib-2.0/glib/glib-typeof.h" #define __GLIB_TYPEOF_H__ # 36 "/usr/include/glib-2.0/glib/glib-typeof.h" #undef glib_typeof #define glib_typeof(t) __typeof__ (t) # 31 "/usr/include/glib-2.0/glib/gatomic.h" 2 extern gint g_atomic_int_get (const volatile gint *atomic); extern void g_atomic_int_set (volatile gint *atomic, gint newval); extern void g_atomic_int_inc (volatile gint *atomic); extern gboolean g_atomic_int_dec_and_test (volatile gint *atomic); extern gboolean g_atomic_int_compare_and_exchange (volatile gint *atomic, gint oldval, gint newval); extern gboolean g_atomic_int_compare_and_exchange_full (gint *atomic, gint oldval, gint newval, gint *preval); extern gint g_atomic_int_exchange (gint *atomic, gint newval); extern gint g_atomic_int_add (volatile gint *atomic, gint val); extern guint g_atomic_int_and (volatile guint *atomic, guint val); extern guint g_atomic_int_or (volatile guint *atomic, guint val); extern guint g_atomic_int_xor (volatile guint *atomic, guint val); extern gpointer g_atomic_pointer_get (const volatile void *atomic); extern void g_atomic_pointer_set (volatile void *atomic, gpointer newval); extern gboolean g_atomic_pointer_compare_and_exchange (volatile void *atomic, gpointer oldval, gpointer newval); extern gboolean g_atomic_pointer_compare_and_exchange_full (void *atomic, gpointer oldval, gpointer newval, void *preval); extern gpointer g_atomic_pointer_exchange (void *atomic, gpointer newval); extern gssize g_atomic_pointer_add (volatile void *atomic, gssize val); extern gsize g_atomic_pointer_and (volatile void *atomic, gsize val); extern gsize g_atomic_pointer_or (volatile void *atomic, gsize val); extern gsize g_atomic_pointer_xor (volatile void *atomic, gsize val); __attribute__((__deprecated__("Use '" "g_atomic_int_add" "' instead"))) extern gint g_atomic_int_exchange_and_add (volatile gint *atomic, gint val); #define g_atomic_int_get(atomic) (G_GNUC_EXTENSION ({ G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gint)); gint gaig_temp; (void) (0 ? *(atomic) ^ *(atomic) : 1); __atomic_load ((gint *)(atomic), &gaig_temp, __ATOMIC_SEQ_CST); (gint) gaig_temp; })) #define g_atomic_int_set(atomic,newval) (G_GNUC_EXTENSION ({ G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gint)); gint gais_temp = (gint) (newval); (void) (0 ? *(atomic) ^ (newval) : 1); __atomic_store ((gint *)(atomic), &gais_temp, __ATOMIC_SEQ_CST); })) # 126 "/usr/include/glib-2.0/glib/gatomic.h" #define g_atomic_pointer_get(atomic) (G_GNUC_EXTENSION ({ G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gpointer)); glib_typeof (*(atomic)) gapg_temp_newval; glib_typeof ((atomic)) gapg_temp_atomic = (atomic); __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); gapg_temp_newval; })) #define g_atomic_pointer_set(atomic,newval) (G_GNUC_EXTENSION ({ G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gpointer)); glib_typeof ((atomic)) gaps_temp_atomic = (atomic); glib_typeof (*(atomic)) gaps_temp_newval = (newval); (void) (0 ? (gpointer) * (atomic) : NULL); __atomic_store (gaps_temp_atomic, &gaps_temp_newval, __ATOMIC_SEQ_CST); })) # 161 "/usr/include/glib-2.0/glib/gatomic.h" #define g_atomic_int_inc(atomic) (G_GNUC_EXTENSION ({ G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gint)); (void) (0 ? *(atomic) ^ *(atomic) : 1); (void) __atomic_fetch_add ((atomic), 1, __ATOMIC_SEQ_CST); })) #define g_atomic_int_dec_and_test(atomic) (G_GNUC_EXTENSION ({ G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gint)); (void) (0 ? *(atomic) ^ *(atomic) : 1); __atomic_fetch_sub ((atomic), 1, __ATOMIC_SEQ_CST) == 1; })) # 184 "/usr/include/glib-2.0/glib/gatomic.h" #define g_atomic_int_compare_and_exchange(atomic,oldval,newval) (G_GNUC_EXTENSION ({ gint gaicae_oldval = (oldval); G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gint)); (void) (0 ? *(atomic) ^ (newval) ^ (oldval) : 1); __atomic_compare_exchange_n ((atomic), (void *) (&(gaicae_oldval)), (newval), FALSE, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST) ? TRUE : FALSE; })) #define g_atomic_int_compare_and_exchange_full(atomic,oldval,newval,preval) (G_GNUC_EXTENSION ({ G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gint)); G_STATIC_ASSERT (sizeof *(preval) == sizeof (gint)); (void) (0 ? *(atomic) ^ (newval) ^ (oldval) ^ *(preval) : 1); *(preval) = (oldval); __atomic_compare_exchange_n ((atomic), (preval), (newval), FALSE, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST) ? TRUE : FALSE; })) # 202 "/usr/include/glib-2.0/glib/gatomic.h" #define g_atomic_int_exchange(atomic,newval) (G_GNUC_EXTENSION ({ G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gint)); (void) (0 ? *(atomic) ^ (newval) : 1); (gint) __atomic_exchange_n ((atomic), (newval), __ATOMIC_SEQ_CST); })) #define g_atomic_int_add(atomic,val) (G_GNUC_EXTENSION ({ G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gint)); (void) (0 ? *(atomic) ^ (val) : 1); (gint) __atomic_fetch_add ((atomic), (val), __ATOMIC_SEQ_CST); })) #define g_atomic_int_and(atomic,val) (G_GNUC_EXTENSION ({ G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gint)); (void) (0 ? *(atomic) ^ (val) : 1); (guint) __atomic_fetch_and ((atomic), (val), __ATOMIC_SEQ_CST); })) #define g_atomic_int_or(atomic,val) (G_GNUC_EXTENSION ({ G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gint)); (void) (0 ? *(atomic) ^ (val) : 1); (guint) __atomic_fetch_or ((atomic), (val), __ATOMIC_SEQ_CST); })) #define g_atomic_int_xor(atomic,val) (G_GNUC_EXTENSION ({ G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gint)); (void) (0 ? *(atomic) ^ (val) : 1); (guint) __atomic_fetch_xor ((atomic), (val), __ATOMIC_SEQ_CST); })) # 252 "/usr/include/glib-2.0/glib/gatomic.h" #define g_atomic_pointer_compare_and_exchange(atomic,oldval,newval) (G_GNUC_EXTENSION ({ G_STATIC_ASSERT (sizeof (oldval) == sizeof (gpointer)); gpointer gapcae_oldval = (gpointer)(oldval); G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gpointer)); (void) (0 ? (gpointer) *(atomic) : NULL); __atomic_compare_exchange_n ((atomic), (void *) (&(gapcae_oldval)), (newval), FALSE, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST) ? TRUE : FALSE; })) # 261 "/usr/include/glib-2.0/glib/gatomic.h" #define g_atomic_pointer_compare_and_exchange_full(atomic,oldval,newval,preval) (G_GNUC_EXTENSION ({ G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gpointer)); G_STATIC_ASSERT (sizeof *(preval) == sizeof (gpointer)); (void) (0 ? (gpointer) *(atomic) : NULL); (void) (0 ? (gpointer) *(preval) : NULL); *(preval) = (oldval); __atomic_compare_exchange_n ((atomic), (preval), (newval), FALSE, __ATOMIC_SEQ_CST, __ATOMIC_SEQ_CST) ? TRUE : FALSE; })) # 272 "/usr/include/glib-2.0/glib/gatomic.h" #define g_atomic_pointer_exchange(atomic,newval) (G_GNUC_EXTENSION ({ G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gpointer)); (void) (0 ? (gpointer) *(atomic) : NULL); (gpointer) __atomic_exchange_n ((atomic), (newval), __ATOMIC_SEQ_CST); })) #define g_atomic_pointer_add(atomic,val) (G_GNUC_EXTENSION ({ G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gpointer)); (void) (0 ? (gpointer) *(atomic) : NULL); (void) (0 ? (val) ^ (val) : 1); (gssize) __atomic_fetch_add ((atomic), (val), __ATOMIC_SEQ_CST); })) #define g_atomic_pointer_and(atomic,val) (G_GNUC_EXTENSION ({ gsize *gapa_atomic = (gsize *) (atomic); G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gpointer)); G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gsize)); (void) (0 ? (gpointer) *(atomic) : NULL); (void) (0 ? (val) ^ (val) : 1); (gsize) __atomic_fetch_and (gapa_atomic, (val), __ATOMIC_SEQ_CST); })) # 294 "/usr/include/glib-2.0/glib/gatomic.h" #define g_atomic_pointer_or(atomic,val) (G_GNUC_EXTENSION ({ gsize *gapo_atomic = (gsize *) (atomic); G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gpointer)); G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gsize)); (void) (0 ? (gpointer) *(atomic) : NULL); (void) (0 ? (val) ^ (val) : 1); (gsize) __atomic_fetch_or (gapo_atomic, (val), __ATOMIC_SEQ_CST); })) # 303 "/usr/include/glib-2.0/glib/gatomic.h" #define g_atomic_pointer_xor(atomic,val) (G_GNUC_EXTENSION ({ gsize *gapx_atomic = (gsize *) (atomic); G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gpointer)); G_STATIC_ASSERT (sizeof *(atomic) == sizeof (gsize)); (void) (0 ? (gpointer) *(atomic) : NULL); (void) (0 ? (val) ^ (val) : 1); (gsize) __atomic_fetch_xor (gapx_atomic, (val), __ATOMIC_SEQ_CST); })) # 35 "/usr/include/glib-2.0/glib/gthread.h" 2 # 1 "/usr/include/glib-2.0/glib/gerror.h" 1 # 22 "/usr/include/glib-2.0/glib/gerror.h" #define __G_ERROR_H__ # 1 "/usr/include/glib-2.0/glib/gquark.h" 1 # 28 "/usr/include/glib-2.0/glib/gquark.h" #define __G_QUARK_H__ typedef guint32 GQuark; extern GQuark g_quark_try_string (const gchar *string); extern GQuark g_quark_from_static_string (const gchar *string); extern GQuark g_quark_from_string (const gchar *string); extern const gchar * g_quark_to_string (GQuark quark) __attribute__ ((__const__)); #define G_DEFINE_QUARK(QN,q_n) GQuark q_n ##_quark (void) { static GQuark q; if G_UNLIKELY (q == 0) q = g_quark_from_static_string (#QN); return q; } # 63 "/usr/include/glib-2.0/glib/gquark.h" extern const gchar * g_intern_string (const gchar *string); extern const gchar * g_intern_static_string (const gchar *string); # 31 "/usr/include/glib-2.0/glib/gerror.h" 2 # 43 "/usr/include/glib-2.0/glib/gerror.h" typedef struct _GError GError; struct _GError { GQuark domain; gint code; gchar *message; }; # 74 "/usr/include/glib-2.0/glib/gerror.h" #define G_DEFINE_EXTENDED_ERROR(ErrorType,error_type) static inline ErrorType ## Private * error_type ## _get_private (const GError *error) { const gsize sa = 2 * sizeof (gsize); const gsize as = (sizeof (ErrorType ## Private) + (sa - 1)) & -sa; g_return_val_if_fail (error != NULL, NULL); g_return_val_if_fail (error->domain == error_type ## _quark (), NULL); return (ErrorType ## Private *) (((guint8 *)error) - as); } static void g_error_with_ ## error_type ## _private_init (GError *error) { ErrorType ## Private *priv = error_type ## _get_private (error); error_type ## _private_init (priv); } static void g_error_with_ ## error_type ## _private_copy (const GError *src_error, GError *dest_error) { const ErrorType ## Private *src_priv = error_type ## _get_private (src_error); ErrorType ## Private *dest_priv = error_type ## _get_private (dest_error); error_type ## _private_copy (src_priv, dest_priv); } static void g_error_with_ ## error_type ## _private_clear (GError *error) { ErrorType ## Private *priv = error_type ## _get_private (error); error_type ## _private_clear (priv); } GQuark error_type ## _quark (void) { static GQuark q; static gsize initialized = 0; if (g_once_init_enter (&initialized)) { q = g_error_domain_register_static (#ErrorType, sizeof (ErrorType ## Private), g_error_with_ ## error_type ## _private_init, g_error_with_ ## error_type ## _private_copy, g_error_with_ ## error_type ## _private_clear); g_once_init_leave (&initialized, 1); } return q; } # 142 "/usr/include/glib-2.0/glib/gerror.h" typedef void (*GErrorInitFunc) (GError *error); # 160 "/usr/include/glib-2.0/glib/gerror.h" typedef void (*GErrorCopyFunc) (const GError *src_error, GError *dest_error); # 175 "/usr/include/glib-2.0/glib/gerror.h" typedef void (*GErrorClearFunc) (GError *error); extern GQuark g_error_domain_register_static (const char *error_type_name, gsize error_type_private_size, GErrorInitFunc error_type_init, GErrorCopyFunc error_type_copy, GErrorClearFunc error_type_clear); extern GQuark g_error_domain_register (const char *error_type_name, gsize error_type_private_size, GErrorInitFunc error_type_init, GErrorCopyFunc error_type_copy, GErrorClearFunc error_type_clear); extern GError* g_error_new (GQuark domain, gint code, const gchar *format, ...) __attribute__((__format__ (gnu_printf, 3, 4))); extern GError* g_error_new_literal (GQuark domain, gint code, const gchar *message); extern GError* g_error_new_valist (GQuark domain, gint code, const gchar *format, va_list args) __attribute__((__format__ (gnu_printf, 3, 0))); extern void g_error_free (GError *error); extern GError* g_error_copy (const GError *error); extern gboolean g_error_matches (const GError *error, GQuark domain, gint code); extern void g_set_error (GError **err, GQuark domain, gint code, const gchar *format, ...) __attribute__((__format__ (gnu_printf, 4, 5))); extern void g_set_error_literal (GError **err, GQuark domain, gint code, const gchar *message); extern void g_propagate_error (GError **dest, GError *src); extern void g_clear_error (GError **err); extern void g_prefix_error (GError **err, const gchar *format, ...) __attribute__((__format__ (gnu_printf, 2, 3))); extern void g_prefix_error_literal (GError **err, const gchar *prefix); extern void g_propagate_prefixed_error (GError **dest, GError *src, const gchar *format, ...) __attribute__((__format__ (gnu_printf, 3, 4))); # 36 "/usr/include/glib-2.0/glib/gthread.h" 2 # 1 "/usr/include/glib-2.0/glib/gutils.h" 1 # 28 "/usr/include/glib-2.0/glib/gutils.h" #define __G_UTILS_H__ # 37 "/usr/include/glib-2.0/glib/gutils.h" extern const gchar * g_get_user_name (void); extern const gchar * g_get_real_name (void); extern const gchar * g_get_home_dir (void); extern const gchar * g_get_tmp_dir (void); extern const gchar * g_get_host_name (void); extern const gchar * g_get_prgname (void); extern void g_set_prgname (const gchar *prgname); extern const gchar * g_get_application_name (void); extern void g_set_application_name (const gchar *application_name); extern gchar * g_get_os_info (const gchar *key_name); # 67 "/usr/include/glib-2.0/glib/gutils.h" #define G_OS_INFO_KEY_NAME GLIB_AVAILABLE_MACRO_IN_2_64 "NAME" # 78 "/usr/include/glib-2.0/glib/gutils.h" #define G_OS_INFO_KEY_PRETTY_NAME GLIB_AVAILABLE_MACRO_IN_2_64 "PRETTY_NAME" # 89 "/usr/include/glib-2.0/glib/gutils.h" #define G_OS_INFO_KEY_VERSION GLIB_AVAILABLE_MACRO_IN_2_64 "VERSION" # 100 "/usr/include/glib-2.0/glib/gutils.h" #define G_OS_INFO_KEY_VERSION_CODENAME GLIB_AVAILABLE_MACRO_IN_2_64 "VERSION_CODENAME" # 111 "/usr/include/glib-2.0/glib/gutils.h" #define G_OS_INFO_KEY_VERSION_ID GLIB_AVAILABLE_MACRO_IN_2_64 "VERSION_ID" # 122 "/usr/include/glib-2.0/glib/gutils.h" #define G_OS_INFO_KEY_ID GLIB_AVAILABLE_MACRO_IN_2_64 "ID" # 133 "/usr/include/glib-2.0/glib/gutils.h" #define G_OS_INFO_KEY_HOME_URL GLIB_AVAILABLE_MACRO_IN_2_64 "HOME_URL" # 144 "/usr/include/glib-2.0/glib/gutils.h" #define G_OS_INFO_KEY_DOCUMENTATION_URL GLIB_AVAILABLE_MACRO_IN_2_64 "DOCUMENTATION_URL" # 155 "/usr/include/glib-2.0/glib/gutils.h" #define G_OS_INFO_KEY_SUPPORT_URL GLIB_AVAILABLE_MACRO_IN_2_64 "SUPPORT_URL" # 166 "/usr/include/glib-2.0/glib/gutils.h" #define G_OS_INFO_KEY_BUG_REPORT_URL GLIB_AVAILABLE_MACRO_IN_2_64 "BUG_REPORT_URL" # 177 "/usr/include/glib-2.0/glib/gutils.h" #define G_OS_INFO_KEY_PRIVACY_POLICY_URL GLIB_AVAILABLE_MACRO_IN_2_64 "PRIVACY_POLICY_URL" extern void g_reload_user_special_dirs_cache (void); extern const gchar * g_get_user_data_dir (void); extern const gchar * g_get_user_config_dir (void); extern const gchar * g_get_user_cache_dir (void); extern const gchar * g_get_user_state_dir (void); extern const gchar * const * g_get_system_data_dirs (void); # 213 "/usr/include/glib-2.0/glib/gutils.h" extern const gchar * const * g_get_system_config_dirs (void); extern const gchar * g_get_user_runtime_dir (void); # 241 "/usr/include/glib-2.0/glib/gutils.h" typedef enum { G_USER_DIRECTORY_DESKTOP, G_USER_DIRECTORY_DOCUMENTS, G_USER_DIRECTORY_DOWNLOAD, G_USER_DIRECTORY_MUSIC, G_USER_DIRECTORY_PICTURES, G_USER_DIRECTORY_PUBLIC_SHARE, G_USER_DIRECTORY_TEMPLATES, G_USER_DIRECTORY_VIDEOS, G_USER_N_DIRECTORIES } GUserDirectory; extern const gchar * g_get_user_special_dir (GUserDirectory directory); # 265 "/usr/include/glib-2.0/glib/gutils.h" typedef struct _GDebugKey GDebugKey; struct _GDebugKey { const gchar *key; guint value; }; extern guint g_parse_debug_string (const gchar *string, const GDebugKey *keys, guint nkeys); extern gint g_snprintf (gchar *string, gulong n, gchar const *format, ...) __attribute__((__format__ (gnu_printf, 3, 4))); extern gint g_vsnprintf (gchar *string, gulong n, gchar const *format, va_list args) __attribute__((__format__ (gnu_printf, 3, 0))); extern void g_nullify_pointer (gpointer *nullify_location); typedef enum { G_FORMAT_SIZE_DEFAULT = 0, G_FORMAT_SIZE_LONG_FORMAT = 1 << 0, G_FORMAT_SIZE_IEC_UNITS = 1 << 1, G_FORMAT_SIZE_BITS = 1 << 2, G_FORMAT_SIZE_ONLY_VALUE = 1 << 3, G_FORMAT_SIZE_ONLY_UNIT = 1 << 4 } GFormatSizeFlags; extern gchar *g_format_size_full (guint64 size, GFormatSizeFlags flags); extern gchar *g_format_size (guint64 size); __attribute__((__deprecated__("Use '" "g_format_size" "' instead"))) extern gchar *g_format_size_for_display (goffset size); #define g_ATEXIT(proc) (atexit (proc)) GLIB_DEPRECATED_MACRO_IN_2_32 #define g_memmove(dest,src,len) G_STMT_START { memmove ((dest), (src), (len)); } G_STMT_END GLIB_DEPRECATED_MACRO_IN_2_40_FOR(memmove) # 324 "/usr/include/glib-2.0/glib/gutils.h" typedef void (*GVoidFunc) (void) __attribute__((__deprecated__)); #define ATEXIT(proc) g_ATEXIT(proc) GLIB_DEPRECATED_MACRO_IN_2_32 # 327 "/usr/include/glib-2.0/glib/gutils.h" #pragma GCC diagnostic push # 327 "/usr/include/glib-2.0/glib/gutils.h" # 327 "/usr/include/glib-2.0/glib/gutils.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" __attribute__((__deprecated__)) extern void g_atexit (GVoidFunc func); # 330 "/usr/include/glib-2.0/glib/gutils.h" #pragma GCC diagnostic pop # 347 "/usr/include/glib-2.0/glib/gutils.h" extern gchar* g_find_program_in_path (const gchar *program); # 361 "/usr/include/glib-2.0/glib/gutils.h" #define g_bit_nth_lsf(mask,nth_bit) g_bit_nth_lsf_impl(mask, nth_bit) #define g_bit_nth_msf(mask,nth_bit) g_bit_nth_msf_impl(mask, nth_bit) #define g_bit_storage(number) g_bit_storage_impl(number) extern gint (g_bit_nth_lsf) (gulong mask, gint nth_bit); extern gint (g_bit_nth_msf) (gulong mask, gint nth_bit); extern guint (g_bit_storage) (gulong number); static inline gint g_bit_nth_lsf_impl (gulong mask, gint nth_bit) { if ((__builtin_expect (__extension__ ({ int _g_boolean_var_0; if (nth_bit < -1) _g_boolean_var_0 = 1; else _g_boolean_var_0 = 0; _g_boolean_var_0; }), 0))) nth_bit = -1; while (nth_bit < ((8 * 8) - 1)) { nth_bit++; if (mask & (1UL << nth_bit)) return nth_bit; } return -1; } static inline gint g_bit_nth_msf_impl (gulong mask, gint nth_bit) { if (nth_bit < 0 || (__builtin_expect (__extension__ ({ int _g_boolean_var_1; if (nth_bit > 8 * 8) _g_boolean_var_1 = 1; else _g_boolean_var_1 = 0; _g_boolean_var_1; }), 0))) nth_bit = 8 * 8; while (nth_bit > 0) { nth_bit--; if (mask & (1UL << nth_bit)) return nth_bit; } return -1; } static inline guint g_bit_storage_impl (gulong number) { return (__builtin_expect (__extension__ ({ int _g_boolean_var_2; if (number) _g_boolean_var_2 = 1; else _g_boolean_var_2 = 0; _g_boolean_var_2; }), 1)) ? ((8 * 8U - 1) ^ (guint) __builtin_clzl(number)) + 1 : 1; # 421 "/usr/include/glib-2.0/glib/gutils.h" } #define g_abort() abort () # 451 "/usr/include/glib-2.0/glib/gutils.h" #define G_WIN32_DLLMAIN_FOR_DLL_NAME(static,dll_name) GLIB_DEPRECATED_MACRO_IN_2_26 # 477 "/usr/include/glib-2.0/glib/gutils.h" # 37 "/usr/include/glib-2.0/glib/gthread.h" 2 #define G_THREAD_ERROR g_thread_error_quark () extern GQuark g_thread_error_quark (void); typedef enum { G_THREAD_ERROR_AGAIN } GThreadError; typedef gpointer (*GThreadFunc) (gpointer data); typedef struct _GThread GThread; typedef union _GMutex GMutex; typedef struct _GRecMutex GRecMutex; typedef struct _GRWLock GRWLock; typedef struct _GCond GCond; typedef struct _GPrivate GPrivate; typedef struct _GOnce GOnce; union _GMutex { gpointer p; guint i[2]; }; struct _GRWLock { gpointer p; guint i[2]; }; struct _GCond { gpointer p; guint i[2]; }; struct _GRecMutex { gpointer p; guint i[2]; }; #define G_PRIVATE_INIT(notify) { NULL, (notify), { NULL, NULL } } struct _GPrivate { gpointer p; GDestroyNotify notify; gpointer future[2]; }; typedef enum { G_ONCE_STATUS_NOTCALLED, G_ONCE_STATUS_PROGRESS, G_ONCE_STATUS_READY } GOnceStatus; #define G_ONCE_INIT { G_ONCE_STATUS_NOTCALLED, NULL } struct _GOnce { volatile GOnceStatus status; volatile gpointer retval; }; #define G_LOCK_NAME(name) g__ ## name ## _lock #define G_LOCK_DEFINE_STATIC(name) static G_LOCK_DEFINE (name) #define G_LOCK_DEFINE(name) GMutex G_LOCK_NAME (name) #define G_LOCK_EXTERN(name) extern GMutex G_LOCK_NAME (name) # 137 "/usr/include/glib-2.0/glib/gthread.h" #define G_LOCK(name) g_mutex_lock (&G_LOCK_NAME (name)) #define G_UNLOCK(name) g_mutex_unlock (&G_LOCK_NAME (name)) #define G_TRYLOCK(name) g_mutex_trylock (&G_LOCK_NAME (name)) extern GThread * g_thread_ref (GThread *thread); extern void g_thread_unref (GThread *thread); extern GThread * g_thread_new (const gchar *name, GThreadFunc func, gpointer data); extern GThread * g_thread_try_new (const gchar *name, GThreadFunc func, gpointer data, GError **error); extern GThread * g_thread_self (void); __attribute__ ((__noreturn__)) extern void g_thread_exit (gpointer retval); extern gpointer g_thread_join (GThread *thread); extern void g_thread_yield (void); extern void g_mutex_init (GMutex *mutex); extern void g_mutex_clear (GMutex *mutex); extern void g_mutex_lock (GMutex *mutex); extern gboolean g_mutex_trylock (GMutex *mutex); extern void g_mutex_unlock (GMutex *mutex); extern void g_rw_lock_init (GRWLock *rw_lock); extern void g_rw_lock_clear (GRWLock *rw_lock); extern void g_rw_lock_writer_lock (GRWLock *rw_lock); extern gboolean g_rw_lock_writer_trylock (GRWLock *rw_lock); extern void g_rw_lock_writer_unlock (GRWLock *rw_lock); extern void g_rw_lock_reader_lock (GRWLock *rw_lock); extern gboolean g_rw_lock_reader_trylock (GRWLock *rw_lock); extern void g_rw_lock_reader_unlock (GRWLock *rw_lock); extern void g_rec_mutex_init (GRecMutex *rec_mutex); extern void g_rec_mutex_clear (GRecMutex *rec_mutex); extern void g_rec_mutex_lock (GRecMutex *rec_mutex); extern gboolean g_rec_mutex_trylock (GRecMutex *rec_mutex); extern void g_rec_mutex_unlock (GRecMutex *rec_mutex); extern void g_cond_init (GCond *cond); extern void g_cond_clear (GCond *cond); extern void g_cond_wait (GCond *cond, GMutex *mutex); extern void g_cond_signal (GCond *cond); extern void g_cond_broadcast (GCond *cond); extern gboolean g_cond_wait_until (GCond *cond, GMutex *mutex, gint64 end_time); extern gpointer g_private_get (GPrivate *key); extern void g_private_set (GPrivate *key, gpointer value); extern void g_private_replace (GPrivate *key, gpointer value); extern gpointer g_once_impl (GOnce *once, GThreadFunc func, gpointer arg); extern gboolean g_once_init_enter (volatile void *location); extern void g_once_init_leave (volatile void *location, gsize result); # 249 "/usr/include/glib-2.0/glib/gthread.h" #define g_once(once,func,arg) ((__atomic_load_n (&(once)->status, __ATOMIC_ACQUIRE) == G_ONCE_STATUS_READY) ? (once)->retval : g_once_impl ((once), (func), (arg))) # 258 "/usr/include/glib-2.0/glib/gthread.h" #define g_once_init_enter(location) (G_GNUC_EXTENSION ({ G_STATIC_ASSERT (sizeof *(location) == sizeof (gpointer)); (void) (0 ? (gpointer) *(location) : NULL); (!g_atomic_pointer_get (location) && g_once_init_enter (location)); })) #define g_once_init_leave(location,result) (G_GNUC_EXTENSION ({ G_STATIC_ASSERT (sizeof *(location) == sizeof (gpointer)); 0 ? (void) (*(location) = (result)) : (void) 0; g_once_init_leave ((location), (gsize) (result)); })) # 278 "/usr/include/glib-2.0/glib/gthread.h" extern guint g_get_num_processors (void); typedef void GMutexLocker; # 331 "/usr/include/glib-2.0/glib/gthread.h" static inline GMutexLocker * g_mutex_locker_new (GMutex *mutex) { g_mutex_lock (mutex); return (GMutexLocker *) mutex; } # 349 "/usr/include/glib-2.0/glib/gthread.h" static inline void g_mutex_locker_free (GMutexLocker *locker) { g_mutex_unlock ((GMutex *) locker); } typedef void GRecMutexLocker; # 406 "/usr/include/glib-2.0/glib/gthread.h" # 406 "/usr/include/glib-2.0/glib/gthread.h" #pragma GCC diagnostic push # 406 "/usr/include/glib-2.0/glib/gthread.h" # 406 "/usr/include/glib-2.0/glib/gthread.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" static inline GRecMutexLocker * g_rec_mutex_locker_new (GRecMutex *rec_mutex) { g_rec_mutex_lock (rec_mutex); return (GRecMutexLocker *) rec_mutex; } # 414 "/usr/include/glib-2.0/glib/gthread.h" #pragma GCC diagnostic pop # 426 "/usr/include/glib-2.0/glib/gthread.h" # 426 "/usr/include/glib-2.0/glib/gthread.h" #pragma GCC diagnostic push # 426 "/usr/include/glib-2.0/glib/gthread.h" # 426 "/usr/include/glib-2.0/glib/gthread.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" static inline void g_rec_mutex_locker_free (GRecMutexLocker *locker) { g_rec_mutex_unlock ((GRecMutex *) locker); } # 433 "/usr/include/glib-2.0/glib/gthread.h" #pragma GCC diagnostic pop typedef void GRWLockWriterLocker; # 516 "/usr/include/glib-2.0/glib/gthread.h" # 516 "/usr/include/glib-2.0/glib/gthread.h" #pragma GCC diagnostic push # 516 "/usr/include/glib-2.0/glib/gthread.h" # 516 "/usr/include/glib-2.0/glib/gthread.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" static inline GRWLockWriterLocker * g_rw_lock_writer_locker_new (GRWLock *rw_lock) { g_rw_lock_writer_lock (rw_lock); return (GRWLockWriterLocker *) rw_lock; } # 524 "/usr/include/glib-2.0/glib/gthread.h" #pragma GCC diagnostic pop # 537 "/usr/include/glib-2.0/glib/gthread.h" # 537 "/usr/include/glib-2.0/glib/gthread.h" #pragma GCC diagnostic push # 537 "/usr/include/glib-2.0/glib/gthread.h" # 537 "/usr/include/glib-2.0/glib/gthread.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" static inline void g_rw_lock_writer_locker_free (GRWLockWriterLocker *locker) { g_rw_lock_writer_unlock ((GRWLock *) locker); } # 544 "/usr/include/glib-2.0/glib/gthread.h" #pragma GCC diagnostic pop typedef void GRWLockReaderLocker; # 571 "/usr/include/glib-2.0/glib/gthread.h" # 571 "/usr/include/glib-2.0/glib/gthread.h" #pragma GCC diagnostic push # 571 "/usr/include/glib-2.0/glib/gthread.h" # 571 "/usr/include/glib-2.0/glib/gthread.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" static inline GRWLockReaderLocker * g_rw_lock_reader_locker_new (GRWLock *rw_lock) { g_rw_lock_reader_lock (rw_lock); return (GRWLockReaderLocker *) rw_lock; } # 579 "/usr/include/glib-2.0/glib/gthread.h" #pragma GCC diagnostic pop # 592 "/usr/include/glib-2.0/glib/gthread.h" # 592 "/usr/include/glib-2.0/glib/gthread.h" #pragma GCC diagnostic push # 592 "/usr/include/glib-2.0/glib/gthread.h" # 592 "/usr/include/glib-2.0/glib/gthread.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" static inline void g_rw_lock_reader_locker_free (GRWLockReaderLocker *locker) { g_rw_lock_reader_unlock ((GRWLock *) locker); } # 599 "/usr/include/glib-2.0/glib/gthread.h" #pragma GCC diagnostic pop # 35 "/usr/include/glib-2.0/glib/gasyncqueue.h" 2 typedef struct _GAsyncQueue GAsyncQueue; extern GAsyncQueue *g_async_queue_new (void); extern GAsyncQueue *g_async_queue_new_full (GDestroyNotify item_free_func); extern void g_async_queue_lock (GAsyncQueue *queue); extern void g_async_queue_unlock (GAsyncQueue *queue); extern GAsyncQueue *g_async_queue_ref (GAsyncQueue *queue); extern void g_async_queue_unref (GAsyncQueue *queue); __attribute__((__deprecated__("Use '" "g_async_queue_ref" "' instead"))) extern void g_async_queue_ref_unlocked (GAsyncQueue *queue); __attribute__((__deprecated__("Use '" "g_async_queue_unref" "' instead"))) extern void g_async_queue_unref_and_unlock (GAsyncQueue *queue); extern void g_async_queue_push (GAsyncQueue *queue, gpointer data); extern void g_async_queue_push_unlocked (GAsyncQueue *queue, gpointer data); extern void g_async_queue_push_sorted (GAsyncQueue *queue, gpointer data, GCompareDataFunc func, gpointer user_data); extern void g_async_queue_push_sorted_unlocked (GAsyncQueue *queue, gpointer data, GCompareDataFunc func, gpointer user_data); extern gpointer g_async_queue_pop (GAsyncQueue *queue); extern gpointer g_async_queue_pop_unlocked (GAsyncQueue *queue); extern gpointer g_async_queue_try_pop (GAsyncQueue *queue); extern gpointer g_async_queue_try_pop_unlocked (GAsyncQueue *queue); extern gpointer g_async_queue_timeout_pop (GAsyncQueue *queue, guint64 timeout); extern gpointer g_async_queue_timeout_pop_unlocked (GAsyncQueue *queue, guint64 timeout); extern gint g_async_queue_length (GAsyncQueue *queue); extern gint g_async_queue_length_unlocked (GAsyncQueue *queue); extern void g_async_queue_sort (GAsyncQueue *queue, GCompareDataFunc func, gpointer user_data); extern void g_async_queue_sort_unlocked (GAsyncQueue *queue, GCompareDataFunc func, gpointer user_data); extern gboolean g_async_queue_remove (GAsyncQueue *queue, gpointer item); extern gboolean g_async_queue_remove_unlocked (GAsyncQueue *queue, gpointer item); extern void g_async_queue_push_front (GAsyncQueue *queue, gpointer item); extern void g_async_queue_push_front_unlocked (GAsyncQueue *queue, gpointer item); # 115 "/usr/include/glib-2.0/glib/gasyncqueue.h" #pragma GCC diagnostic push # 115 "/usr/include/glib-2.0/glib/gasyncqueue.h" # 115 "/usr/include/glib-2.0/glib/gasyncqueue.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" __attribute__((__deprecated__("Use '" "g_async_queue_timeout_pop" "' instead"))) extern gpointer g_async_queue_timed_pop (GAsyncQueue *queue, GTimeVal *end_time); __attribute__((__deprecated__("Use '" "g_async_queue_timeout_pop_unlocked" "' instead"))) extern gpointer g_async_queue_timed_pop_unlocked (GAsyncQueue *queue, GTimeVal *end_time); # 122 "/usr/include/glib-2.0/glib/gasyncqueue.h" #pragma GCC diagnostic pop # 35 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gbacktrace.h" 1 # 28 "/usr/include/glib-2.0/glib/gbacktrace.h" #define __G_BACKTRACE_H__ # 38 "/usr/include/glib-2.0/glib/gbacktrace.h" # 1 "/usr/include/signal.h" 1 3 4 # 23 "/usr/include/signal.h" 3 4 #define _SIGNAL_H # 1 "/usr/include/bits/signum-generic.h" 1 3 4 # 20 "/usr/include/bits/signum-generic.h" 3 4 #define _BITS_SIGNUM_GENERIC_H 1 #define SIG_ERR ((__sighandler_t) -1) #define SIG_DFL ((__sighandler_t) 0) #define SIG_IGN ((__sighandler_t) 1) # 48 "/usr/include/bits/signum-generic.h" 3 4 #define SIGINT 2 #define SIGILL 4 #define SIGABRT 6 #define SIGFPE 8 #define SIGSEGV 11 #define SIGTERM 15 #define SIGHUP 1 #define SIGQUIT 3 #define SIGTRAP 5 #define SIGKILL 9 #define SIGPIPE 13 #define SIGALRM 14 #define SIGIO SIGPOLL #define SIGIOT SIGABRT #define SIGCLD SIGCHLD # 76 "/usr/include/bits/signum-generic.h" 3 4 # 1 "/usr/include/bits/signum-arch.h" 1 3 4 # 20 "/usr/include/bits/signum-arch.h" 3 4 #define _BITS_SIGNUM_ARCH_H 1 # 29 "/usr/include/bits/signum-arch.h" 3 4 #define SIGSTKFLT 16 #define SIGPWR 30 #define SIGBUS 7 #define SIGSYS 31 #define SIGURG 23 #define SIGSTOP 19 #define SIGTSTP 20 #define SIGCONT 18 #define SIGCHLD 17 #define SIGTTIN 21 #define SIGTTOU 22 #define SIGPOLL 29 #define SIGXFSZ 25 #define SIGXCPU 24 #define SIGVTALRM 26 #define SIGPROF 27 #define SIGUSR1 10 #define SIGUSR2 12 #define SIGWINCH 28 #define SIGIO SIGPOLL #define SIGIOT SIGABRT #define SIGCLD SIGCHLD #define __SIGRTMIN 32 #define __SIGRTMAX 64 # 77 "/usr/include/bits/signum-generic.h" 2 3 4 #define _NSIG (__SIGRTMAX + 1) # 31 "/usr/include/signal.h" 2 3 4 # 1 "/usr/include/bits/types/sig_atomic_t.h" 1 3 4 #define __sig_atomic_t_defined 1 # 8 "/usr/include/bits/types/sig_atomic_t.h" 3 4 typedef __sig_atomic_t sig_atomic_t; # 33 "/usr/include/signal.h" 2 3 4 # 57 "/usr/include/signal.h" 3 4 # 1 "/usr/include/bits/types/siginfo_t.h" 1 3 4 #define __siginfo_t_defined 1 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 20 "/usr/include/bits/wordsize.h" 3 4 #define __WORDSIZE __riscv_xlen #define __WORDSIZE_TIME64_COMPAT32 1 # 5 "/usr/include/bits/types/siginfo_t.h" 2 3 4 # 1 "/usr/include/bits/types/__sigval_t.h" 1 3 4 # 20 "/usr/include/bits/types/__sigval_t.h" 3 4 #define ____sigval_t_defined union sigval { int sival_int; void *sival_ptr; }; typedef union sigval __sigval_t; # 7 "/usr/include/bits/types/siginfo_t.h" 2 3 4 #define __SI_MAX_SIZE 128 #define __SI_PAD_SIZE ((__SI_MAX_SIZE / sizeof (int)) - 4) # 1 "/usr/include/bits/siginfo-arch.h" 1 3 4 #define _BITS_SIGINFO_ARCH_H 1 # 17 "/usr/include/bits/types/siginfo_t.h" 2 3 4 #define __SI_ALIGNMENT #define __SI_BAND_TYPE long int #define __SI_CLOCK_T __clock_t #define __SI_ERRNO_THEN_CODE 1 #define __SI_HAVE_SIGSYS 1 #define __SI_SIGFAULT_ADDL typedef struct { int si_signo; int si_errno; int si_code; int __pad0; union { int _pad[((128 / sizeof (int)) - 4)]; struct { __pid_t si_pid; __uid_t si_uid; } _kill; struct { int si_tid; int si_overrun; __sigval_t si_sigval; } _timer; struct { __pid_t si_pid; __uid_t si_uid; __sigval_t si_sigval; } _rt; struct { __pid_t si_pid; __uid_t si_uid; int si_status; __clock_t si_utime; __clock_t si_stime; } _sigchld; struct { void *si_addr; short int si_addr_lsb; union { struct { void *_lower; void *_upper; } _addr_bnd; __uint32_t _pkey; } _bounds; } _sigfault; struct { long int si_band; int si_fd; } _sigpoll; struct { void *_call_addr; int _syscall; unsigned int _arch; } _sigsys; } _sifields; } siginfo_t ; #define si_pid _sifields._kill.si_pid #define si_uid _sifields._kill.si_uid #define si_timerid _sifields._timer.si_tid #define si_overrun _sifields._timer.si_overrun #define si_status _sifields._sigchld.si_status #define si_utime _sifields._sigchld.si_utime #define si_stime _sifields._sigchld.si_stime #define si_value _sifields._rt.si_sigval #define si_int _sifields._rt.si_sigval.sival_int #define si_ptr _sifields._rt.si_sigval.sival_ptr #define si_addr _sifields._sigfault.si_addr #define si_addr_lsb _sifields._sigfault.si_addr_lsb #define si_lower _sifields._sigfault._bounds._addr_bnd._lower #define si_upper _sifields._sigfault._bounds._addr_bnd._upper #define si_pkey _sifields._sigfault._bounds._pkey #define si_band _sifields._sigpoll.si_band #define si_fd _sifields._sigpoll.si_fd #define si_call_addr _sifields._sigsys._call_addr #define si_syscall _sifields._sigsys._syscall #define si_arch _sifields._sigsys._arch # 58 "/usr/include/signal.h" 2 3 4 # 1 "/usr/include/bits/siginfo-consts.h" 1 3 4 # 20 "/usr/include/bits/siginfo-consts.h" 3 4 #define _BITS_SIGINFO_CONSTS_H 1 # 30 "/usr/include/bits/siginfo-consts.h" 3 4 #define __SI_ASYNCIO_AFTER_SIGIO 1 enum { SI_ASYNCNL = -60, SI_DETHREAD = -7, SI_TKILL, SI_SIGIO, SI_ASYNCIO, SI_MESGQ, SI_TIMER, SI_QUEUE, SI_USER, SI_KERNEL = 0x80 #define SI_ASYNCNL SI_ASYNCNL #define SI_DETHREAD SI_DETHREAD #define SI_TKILL SI_TKILL #define SI_SIGIO SI_SIGIO #define SI_ASYNCIO SI_ASYNCIO #define SI_MESGQ SI_MESGQ #define SI_TIMER SI_TIMER #define SI_ASYNCIO SI_ASYNCIO #define SI_QUEUE SI_QUEUE #define SI_USER SI_USER #define SI_KERNEL SI_KERNEL }; enum { ILL_ILLOPC = 1, #define ILL_ILLOPC ILL_ILLOPC ILL_ILLOPN, #define ILL_ILLOPN ILL_ILLOPN ILL_ILLADR, #define ILL_ILLADR ILL_ILLADR ILL_ILLTRP, #define ILL_ILLTRP ILL_ILLTRP ILL_PRVOPC, #define ILL_PRVOPC ILL_PRVOPC ILL_PRVREG, #define ILL_PRVREG ILL_PRVREG ILL_COPROC, #define ILL_COPROC ILL_COPROC ILL_BADSTK, #define ILL_BADSTK ILL_BADSTK ILL_BADIADDR #define ILL_BADIADDR ILL_BADIADDR }; enum { FPE_INTDIV = 1, #define FPE_INTDIV FPE_INTDIV FPE_INTOVF, #define FPE_INTOVF FPE_INTOVF FPE_FLTDIV, #define FPE_FLTDIV FPE_FLTDIV FPE_FLTOVF, #define FPE_FLTOVF FPE_FLTOVF FPE_FLTUND, #define FPE_FLTUND FPE_FLTUND FPE_FLTRES, #define FPE_FLTRES FPE_FLTRES FPE_FLTINV, #define FPE_FLTINV FPE_FLTINV FPE_FLTSUB, #define FPE_FLTSUB FPE_FLTSUB FPE_FLTUNK = 14, #define FPE_FLTUNK FPE_FLTUNK FPE_CONDTRAP #define FPE_CONDTRAP FPE_CONDTRAP }; enum { SEGV_MAPERR = 1, #define SEGV_MAPERR SEGV_MAPERR SEGV_ACCERR, #define SEGV_ACCERR SEGV_ACCERR SEGV_BNDERR, #define SEGV_BNDERR SEGV_BNDERR SEGV_PKUERR, #define SEGV_PKUERR SEGV_PKUERR SEGV_ACCADI, #define SEGV_ACCADI SEGV_ACCADI SEGV_ADIDERR, #define SEGV_ADIDERR SEGV_ADIDERR SEGV_ADIPERR, #define SEGV_ADIPERR SEGV_ADIPERR SEGV_MTEAERR, #define SEGV_MTEAERR SEGV_MTEAERR SEGV_MTESERR, #define SEGV_MTESERR SEGV_MTESERR SEGV_CPERR #define SEGV_CPERR SEGV_CPERR }; enum { BUS_ADRALN = 1, #define BUS_ADRALN BUS_ADRALN BUS_ADRERR, #define BUS_ADRERR BUS_ADRERR BUS_OBJERR, #define BUS_OBJERR BUS_OBJERR BUS_MCEERR_AR, #define BUS_MCEERR_AR BUS_MCEERR_AR BUS_MCEERR_AO #define BUS_MCEERR_AO BUS_MCEERR_AO }; # 178 "/usr/include/bits/siginfo-consts.h" 3 4 enum { CLD_EXITED = 1, #define CLD_EXITED CLD_EXITED CLD_KILLED, #define CLD_KILLED CLD_KILLED CLD_DUMPED, #define CLD_DUMPED CLD_DUMPED CLD_TRAPPED, #define CLD_TRAPPED CLD_TRAPPED CLD_STOPPED, #define CLD_STOPPED CLD_STOPPED CLD_CONTINUED #define CLD_CONTINUED CLD_CONTINUED }; enum { POLL_IN = 1, #define POLL_IN POLL_IN POLL_OUT, #define POLL_OUT POLL_OUT POLL_MSG, #define POLL_MSG POLL_MSG POLL_ERR, #define POLL_ERR POLL_ERR POLL_PRI, #define POLL_PRI POLL_PRI POLL_HUP #define POLL_HUP POLL_HUP }; # 59 "/usr/include/signal.h" 2 3 4 # 1 "/usr/include/bits/types/sigval_t.h" 1 3 4 #define __sigval_t_defined # 16 "/usr/include/bits/types/sigval_t.h" 3 4 typedef __sigval_t sigval_t; # 63 "/usr/include/signal.h" 2 3 4 # 1 "/usr/include/bits/types/sigevent_t.h" 1 3 4 #define __sigevent_t_defined 1 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 20 "/usr/include/bits/wordsize.h" 3 4 #define __WORDSIZE __riscv_xlen #define __WORDSIZE_TIME64_COMPAT32 1 # 5 "/usr/include/bits/types/sigevent_t.h" 2 3 4 #define __SIGEV_MAX_SIZE 64 #define __SIGEV_PAD_SIZE ((__SIGEV_MAX_SIZE / sizeof (int)) - 4) # 22 "/usr/include/bits/types/sigevent_t.h" 3 4 typedef struct sigevent { __sigval_t sigev_value; int sigev_signo; int sigev_notify; union { int _pad[((64 / sizeof (int)) - 4)]; __pid_t _tid; struct { void (*_function) (__sigval_t); pthread_attr_t *_attribute; } _sigev_thread; } _sigev_un; } sigevent_t; #define sigev_notify_function _sigev_un._sigev_thread._function #define sigev_notify_attributes _sigev_un._sigev_thread._attribute # 67 "/usr/include/signal.h" 2 3 4 # 1 "/usr/include/bits/sigevent-consts.h" 1 3 4 # 20 "/usr/include/bits/sigevent-consts.h" 3 4 #define _BITS_SIGEVENT_CONSTS_H 1 enum { SIGEV_SIGNAL = 0, #define SIGEV_SIGNAL SIGEV_SIGNAL SIGEV_NONE, #define SIGEV_NONE SIGEV_NONE SIGEV_THREAD, #define SIGEV_THREAD SIGEV_THREAD SIGEV_THREAD_ID = 4 #define SIGEV_THREAD_ID SIGEV_THREAD_ID }; # 68 "/usr/include/signal.h" 2 3 4 typedef void (*__sighandler_t) (int); extern __sighandler_t __sysv_signal (int __sig, __sighandler_t __handler) __attribute__ ((__nothrow__ , __leaf__)); # 88 "/usr/include/signal.h" 3 4 extern __sighandler_t signal (int __sig, __sighandler_t __handler) __attribute__ ((__nothrow__ , __leaf__)); # 112 "/usr/include/signal.h" 3 4 extern int kill (__pid_t __pid, int __sig) __attribute__ ((__nothrow__ , __leaf__)); extern int killpg (__pid_t __pgrp, int __sig) __attribute__ ((__nothrow__ , __leaf__)); extern int raise (int __sig) __attribute__ ((__nothrow__ , __leaf__)); extern __sighandler_t ssignal (int __sig, __sighandler_t __handler) __attribute__ ((__nothrow__ , __leaf__)); extern int gsignal (int __sig) __attribute__ ((__nothrow__ , __leaf__)); extern void psignal (int __sig, const char *__s); extern void psiginfo (const siginfo_t *__pinfo, const char *__s); # 168 "/usr/include/signal.h" 3 4 #define sigmask(sig) __glibc_macro_warning ("sigmask is deprecated") ((int)(1u << ((sig) - 1))) extern int sigblock (int __mask) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); extern int sigsetmask (int __mask) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); extern int siggetmask (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); #define NSIG _NSIG # 193 "/usr/include/signal.h" 3 4 typedef __sighandler_t sig_t; extern int sigemptyset (sigset_t *__set) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int sigfillset (sigset_t *__set) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int sigaddset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int sigdelset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int sigismember (const sigset_t *__set, int __signo) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 229 "/usr/include/signal.h" 3 4 # 1 "/usr/include/bits/sigaction.h" 1 3 4 # 20 "/usr/include/bits/sigaction.h" 3 4 #define _BITS_SIGACTION_H 1 struct sigaction { union { __sighandler_t sa_handler; void (*sa_sigaction) (int, siginfo_t *, void *); } __sigaction_handler; #define sa_handler __sigaction_handler.sa_handler #define sa_sigaction __sigaction_handler.sa_sigaction __sigset_t sa_mask; int sa_flags; void (*sa_restorer) (void); }; #define SA_NOCLDSTOP 1 #define SA_NOCLDWAIT 2 #define SA_SIGINFO 4 #define SA_ONSTACK 0x08000000 #define SA_RESTART 0x10000000 #define SA_NODEFER 0x40000000 #define SA_RESETHAND 0x80000000 #define SA_INTERRUPT 0x20000000 #define SA_NOMASK SA_NODEFER #define SA_ONESHOT SA_RESETHAND #define SA_STACK SA_ONSTACK #define SIG_BLOCK 0 #define SIG_UNBLOCK 1 #define SIG_SETMASK 2 # 230 "/usr/include/signal.h" 2 3 4 extern int sigprocmask (int __how, const sigset_t *__restrict __set, sigset_t *__restrict __oset) __attribute__ ((__nothrow__ , __leaf__)); extern int sigsuspend (const sigset_t *__set) __attribute__ ((__nonnull__ (1))); extern int sigaction (int __sig, const struct sigaction *__restrict __act, struct sigaction *__restrict __oact) __attribute__ ((__nothrow__ , __leaf__)); extern int sigpending (sigset_t *__set) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int sigwait (const sigset_t *__restrict __set, int *__restrict __sig) __attribute__ ((__nonnull__ (1, 2))); extern int sigwaitinfo (const sigset_t *__restrict __set, siginfo_t *__restrict __info) __attribute__ ((__nonnull__ (1))); extern int sigtimedwait (const sigset_t *__restrict __set, siginfo_t *__restrict __info, const struct timespec *__restrict __timeout) __attribute__ ((__nonnull__ (1))); # 292 "/usr/include/signal.h" 3 4 extern int sigqueue (__pid_t __pid, int __sig, const union sigval __val) __attribute__ ((__nothrow__ , __leaf__)); # 1 "/usr/include/bits/sigcontext.h" 1 3 4 # 19 "/usr/include/bits/sigcontext.h" 3 4 #define _BITS_SIGCONTEXT_H 1 struct sigcontext { unsigned long int gregs[32]; unsigned long long int fpregs[66] __attribute__ ((__aligned__ (16))); }; # 302 "/usr/include/signal.h" 2 3 4 extern int sigreturn (struct sigcontext *__scp) __attribute__ ((__nothrow__ , __leaf__)); #define __need_size_t # 1 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 1 3 4 # 158 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 #undef __need_ptrdiff_t # 237 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 #undef __need_size_t # 349 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 #undef __need_wchar_t # 399 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 #undef NULL #define NULL ((void *)0) #undef __need_NULL #undef offsetof #define offsetof(TYPE,MEMBER) __builtin_offsetof (TYPE, MEMBER) # 312 "/usr/include/signal.h" 2 3 4 # 1 "/usr/include/bits/types/stack_t.h" 1 3 4 # 20 "/usr/include/bits/types/stack_t.h" 3 4 #define __stack_t_defined 1 #define __need_size_t # 1 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 1 3 4 # 158 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 #undef __need_ptrdiff_t # 237 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 #undef __need_size_t # 349 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 #undef __need_wchar_t # 399 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 #undef NULL #define NULL ((void *)0) #undef __need_NULL #undef offsetof #define offsetof(TYPE,MEMBER) __builtin_offsetof (TYPE, MEMBER) # 24 "/usr/include/bits/types/stack_t.h" 2 3 4 typedef struct { void *ss_sp; int ss_flags; size_t ss_size; } stack_t; # 314 "/usr/include/signal.h" 2 3 4 # 1 "/usr/include/sys/ucontext.h" 1 3 4 # 22 "/usr/include/sys/ucontext.h" 3 4 #define _SYS_UCONTEXT_H 1 typedef unsigned long int __riscv_mc_gp_state[32]; #define NGREG 32 #define REG_PC 0 #define REG_RA 1 #define REG_SP 2 #define REG_TP 4 #define REG_S0 8 #define REG_S1 9 #define REG_A0 10 #define REG_S2 18 #define REG_NARGS 8 typedef unsigned long int greg_t; typedef __riscv_mc_gp_state gregset_t; typedef union __riscv_mc_fp_state fpregset_t; struct __riscv_mc_f_ext_state { unsigned int __f[32]; unsigned int __fcsr; }; struct __riscv_mc_d_ext_state { unsigned long long int __f[32]; unsigned int __fcsr; }; struct __riscv_mc_q_ext_state { unsigned long long int __f[64] __attribute__ ((__aligned__ (16))); unsigned int __fcsr; unsigned int __glibc_reserved[3]; }; union __riscv_mc_fp_state { struct __riscv_mc_f_ext_state __f; struct __riscv_mc_d_ext_state __d; struct __riscv_mc_q_ext_state __q; }; typedef struct mcontext_t { __riscv_mc_gp_state __gregs; union __riscv_mc_fp_state __fpregs; } mcontext_t; typedef struct ucontext_t { unsigned long int __uc_flags; struct ucontext_t *uc_link; stack_t uc_stack; sigset_t uc_sigmask; char __glibc_reserved[1024 / 8 - sizeof (sigset_t)]; # 107 "/usr/include/sys/ucontext.h" 3 4 mcontext_t uc_mcontext; } ucontext_t; # 317 "/usr/include/signal.h" 2 3 4 extern int siginterrupt (int __sig, int __interrupt) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__ ("Use sigaction with SA_RESTART instead"))); # 1 "/usr/include/bits/sigstack.h" 1 3 4 # 20 "/usr/include/bits/sigstack.h" 3 4 #define _BITS_SIGSTACK_H 1 #define MINSIGSTKSZ 2048 #define SIGSTKSZ 8192 # 328 "/usr/include/signal.h" 2 3 4 # 1 "/usr/include/bits/sigstksz.h" 1 3 4 # 329 "/usr/include/signal.h" 2 3 4 # 1 "/usr/include/bits/ss_flags.h" 1 3 4 # 20 "/usr/include/bits/ss_flags.h" 3 4 #define _BITS_SS_FLAGS_H 1 enum { SS_ONSTACK = 1, #define SS_ONSTACK SS_ONSTACK SS_DISABLE #define SS_DISABLE SS_DISABLE }; # 330 "/usr/include/signal.h" 2 3 4 extern int sigaltstack (const stack_t *__restrict __ss, stack_t *__restrict __oss) __attribute__ ((__nothrow__ , __leaf__)); # 1 "/usr/include/bits/types/struct_sigstack.h" 1 3 4 # 20 "/usr/include/bits/types/struct_sigstack.h" 3 4 #define __sigstack_defined 1 struct sigstack { void *ss_sp; int ss_onstack; }; # 340 "/usr/include/signal.h" 2 3 4 extern int sigstack (struct sigstack *__ss, struct sigstack *__oss) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__deprecated__)); # 376 "/usr/include/signal.h" 3 4 # 1 "/usr/include/bits/sigthread.h" 1 3 4 # 20 "/usr/include/bits/sigthread.h" 3 4 #define _BITS_SIGTHREAD_H 1 # 31 "/usr/include/bits/sigthread.h" 3 4 extern int pthread_sigmask (int __how, const __sigset_t *__restrict __newmask, __sigset_t *__restrict __oldmask)__attribute__ ((__nothrow__ , __leaf__)); extern int pthread_kill (pthread_t __threadid, int __signo) __attribute__ ((__nothrow__ , __leaf__)); # 377 "/usr/include/signal.h" 2 3 4 extern int __libc_current_sigrtmin (void) __attribute__ ((__nothrow__ , __leaf__)); extern int __libc_current_sigrtmax (void) __attribute__ ((__nothrow__ , __leaf__)); #define SIGRTMIN (__libc_current_sigrtmin ()) #define SIGRTMAX (__libc_current_sigrtmax ()) # 1 "/usr/include/bits/signal_ext.h" 1 3 4 # 392 "/usr/include/signal.h" 2 3 4 # 39 "/usr/include/glib-2.0/glib/gbacktrace.h" 2 # 42 "/usr/include/glib-2.0/glib/gbacktrace.h" extern void g_on_error_query (const gchar *prg_name); extern void g_on_error_stack_trace (const gchar *prg_name); # 69 "/usr/include/glib-2.0/glib/gbacktrace.h" #define G_BREAKPOINT() G_STMT_START{ raise (SIGTRAP); }G_STMT_END # 37 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gbase64.h" 1 # 22 "/usr/include/glib-2.0/glib/gbase64.h" #define __G_BASE64_H__ extern gsize g_base64_encode_step (const guchar *in, gsize len, gboolean break_lines, gchar *out, gint *state, gint *save); extern gsize g_base64_encode_close (gboolean break_lines, gchar *out, gint *state, gint *save); extern gchar* g_base64_encode (const guchar *data, gsize len) __attribute__ ((__malloc__)); extern gsize g_base64_decode_step (const gchar *in, gsize len, guchar *out, gint *state, guint *save); extern guchar *g_base64_decode (const gchar *text, gsize *out_len) __attribute__ ((__malloc__)); extern guchar *g_base64_decode_inplace (gchar *text, gsize *out_len); # 38 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gbitlock.h" 1 # 24 "/usr/include/glib-2.0/glib/gbitlock.h" #define __G_BITLOCK_H__ extern void g_bit_lock (volatile gint *address, gint lock_bit); extern gboolean g_bit_trylock (volatile gint *address, gint lock_bit); extern void g_bit_unlock (volatile gint *address, gint lock_bit); extern void g_pointer_bit_lock (volatile void *address, gint lock_bit); extern gboolean g_pointer_bit_trylock (volatile void *address, gint lock_bit); extern void g_pointer_bit_unlock (volatile void *address, gint lock_bit); #define g_pointer_bit_lock(address,lock_bit) (G_GNUC_EXTENSION ({ G_STATIC_ASSERT (sizeof *(address) == sizeof (gpointer)); g_pointer_bit_lock ((address), (lock_bit)); })) #define g_pointer_bit_trylock(address,lock_bit) (G_GNUC_EXTENSION ({ G_STATIC_ASSERT (sizeof *(address) == sizeof (gpointer)); g_pointer_bit_trylock ((address), (lock_bit)); })) #define g_pointer_bit_unlock(address,lock_bit) (G_GNUC_EXTENSION ({ G_STATIC_ASSERT (sizeof *(address) == sizeof (gpointer)); g_pointer_bit_unlock ((address), (lock_bit)); })) # 39 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gbookmarkfile.h" 1 # 22 "/usr/include/glib-2.0/glib/gbookmarkfile.h" #define __G_BOOKMARK_FILE_H__ # 1 "/usr/include/glib-2.0/glib/gdatetime.h" 1 # 27 "/usr/include/glib-2.0/glib/gdatetime.h" #define __G_DATE_TIME_H__ # 1 "/usr/include/glib-2.0/glib/gtimezone.h" 1 # 23 "/usr/include/glib-2.0/glib/gtimezone.h" #define __G_TIME_ZONE_H__ # 32 "/usr/include/glib-2.0/glib/gtimezone.h" typedef struct _GTimeZone GTimeZone; # 51 "/usr/include/glib-2.0/glib/gtimezone.h" typedef enum { G_TIME_TYPE_STANDARD, G_TIME_TYPE_DAYLIGHT, G_TIME_TYPE_UNIVERSAL } GTimeType; __attribute__((__deprecated__("Use '" "g_time_zone_new_identifier" "' instead"))) extern GTimeZone * g_time_zone_new (const gchar *identifier); extern GTimeZone * g_time_zone_new_identifier (const gchar *identifier); extern GTimeZone * g_time_zone_new_utc (void); extern GTimeZone * g_time_zone_new_local (void); extern GTimeZone * g_time_zone_new_offset (gint32 seconds); extern GTimeZone * g_time_zone_ref (GTimeZone *tz); extern void g_time_zone_unref (GTimeZone *tz); extern gint g_time_zone_find_interval (GTimeZone *tz, GTimeType type, gint64 time_); extern gint g_time_zone_adjust_time (GTimeZone *tz, GTimeType type, gint64 *time_); extern const gchar * g_time_zone_get_abbreviation (GTimeZone *tz, gint interval); extern gint32 g_time_zone_get_offset (GTimeZone *tz, gint interval); extern gboolean g_time_zone_is_dst (GTimeZone *tz, gint interval); extern const gchar * g_time_zone_get_identifier (GTimeZone *tz); # 34 "/usr/include/glib-2.0/glib/gdatetime.h" 2 # 44 "/usr/include/glib-2.0/glib/gdatetime.h" #define G_TIME_SPAN_DAY (G_GINT64_CONSTANT (86400000000)) # 53 "/usr/include/glib-2.0/glib/gdatetime.h" #define G_TIME_SPAN_HOUR (G_GINT64_CONSTANT (3600000000)) # 62 "/usr/include/glib-2.0/glib/gdatetime.h" #define G_TIME_SPAN_MINUTE (G_GINT64_CONSTANT (60000000)) # 71 "/usr/include/glib-2.0/glib/gdatetime.h" #define G_TIME_SPAN_SECOND (G_GINT64_CONSTANT (1000000)) # 80 "/usr/include/glib-2.0/glib/gdatetime.h" #define G_TIME_SPAN_MILLISECOND (G_GINT64_CONSTANT (1000)) # 89 "/usr/include/glib-2.0/glib/gdatetime.h" typedef gint64 GTimeSpan; # 98 "/usr/include/glib-2.0/glib/gdatetime.h" typedef struct _GDateTime GDateTime; extern void g_date_time_unref (GDateTime *datetime); extern GDateTime * g_date_time_ref (GDateTime *datetime); extern GDateTime * g_date_time_new_now (GTimeZone *tz); extern GDateTime * g_date_time_new_now_local (void); extern GDateTime * g_date_time_new_now_utc (void); extern GDateTime * g_date_time_new_from_unix_local (gint64 t); extern GDateTime * g_date_time_new_from_unix_utc (gint64 t); # 117 "/usr/include/glib-2.0/glib/gdatetime.h" #pragma GCC diagnostic push # 117 "/usr/include/glib-2.0/glib/gdatetime.h" # 117 "/usr/include/glib-2.0/glib/gdatetime.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" __attribute__((__deprecated__("Use '" "g_date_time_new_from_unix_local" "' instead"))) extern GDateTime * g_date_time_new_from_timeval_local (const GTimeVal *tv); __attribute__((__deprecated__("Use '" "g_date_time_new_from_unix_utc" "' instead"))) extern GDateTime * g_date_time_new_from_timeval_utc (const GTimeVal *tv); # 122 "/usr/include/glib-2.0/glib/gdatetime.h" #pragma GCC diagnostic pop extern GDateTime * g_date_time_new_from_iso8601 (const gchar *text, GTimeZone *default_tz); extern GDateTime * g_date_time_new (GTimeZone *tz, gint year, gint month, gint day, gint hour, gint minute, gdouble seconds); extern GDateTime * g_date_time_new_local (gint year, gint month, gint day, gint hour, gint minute, gdouble seconds); extern GDateTime * g_date_time_new_utc (gint year, gint month, gint day, gint hour, gint minute, gdouble seconds); extern __attribute__((warn_unused_result)) GDateTime * g_date_time_add (GDateTime *datetime, GTimeSpan timespan); extern __attribute__((warn_unused_result)) GDateTime * g_date_time_add_years (GDateTime *datetime, gint years); extern __attribute__((warn_unused_result)) GDateTime * g_date_time_add_months (GDateTime *datetime, gint months); extern __attribute__((warn_unused_result)) GDateTime * g_date_time_add_weeks (GDateTime *datetime, gint weeks); extern __attribute__((warn_unused_result)) GDateTime * g_date_time_add_days (GDateTime *datetime, gint days); extern __attribute__((warn_unused_result)) GDateTime * g_date_time_add_hours (GDateTime *datetime, gint hours); extern __attribute__((warn_unused_result)) GDateTime * g_date_time_add_minutes (GDateTime *datetime, gint minutes); extern __attribute__((warn_unused_result)) GDateTime * g_date_time_add_seconds (GDateTime *datetime, gdouble seconds); extern __attribute__((warn_unused_result)) GDateTime * g_date_time_add_full (GDateTime *datetime, gint years, gint months, gint days, gint hours, gint minutes, gdouble seconds); extern gint g_date_time_compare (gconstpointer dt1, gconstpointer dt2); extern GTimeSpan g_date_time_difference (GDateTime *end, GDateTime *begin); extern guint g_date_time_hash (gconstpointer datetime); extern gboolean g_date_time_equal (gconstpointer dt1, gconstpointer dt2); extern void g_date_time_get_ymd (GDateTime *datetime, gint *year, gint *month, gint *day); extern gint g_date_time_get_year (GDateTime *datetime); extern gint g_date_time_get_month (GDateTime *datetime); extern gint g_date_time_get_day_of_month (GDateTime *datetime); extern gint g_date_time_get_week_numbering_year (GDateTime *datetime); extern gint g_date_time_get_week_of_year (GDateTime *datetime); extern gint g_date_time_get_day_of_week (GDateTime *datetime); extern gint g_date_time_get_day_of_year (GDateTime *datetime); extern gint g_date_time_get_hour (GDateTime *datetime); extern gint g_date_time_get_minute (GDateTime *datetime); extern gint g_date_time_get_second (GDateTime *datetime); extern gint g_date_time_get_microsecond (GDateTime *datetime); extern gdouble g_date_time_get_seconds (GDateTime *datetime); extern gint64 g_date_time_to_unix (GDateTime *datetime); # 244 "/usr/include/glib-2.0/glib/gdatetime.h" #pragma GCC diagnostic push # 244 "/usr/include/glib-2.0/glib/gdatetime.h" # 244 "/usr/include/glib-2.0/glib/gdatetime.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" __attribute__((__deprecated__("Use '" "g_date_time_to_unix" "' instead"))) extern gboolean g_date_time_to_timeval (GDateTime *datetime, GTimeVal *tv); # 248 "/usr/include/glib-2.0/glib/gdatetime.h" #pragma GCC diagnostic pop extern GTimeSpan g_date_time_get_utc_offset (GDateTime *datetime); extern GTimeZone * g_date_time_get_timezone (GDateTime *datetime); extern const gchar * g_date_time_get_timezone_abbreviation (GDateTime *datetime); extern gboolean g_date_time_is_daylight_savings (GDateTime *datetime); extern GDateTime * g_date_time_to_timezone (GDateTime *datetime, GTimeZone *tz); extern GDateTime * g_date_time_to_local (GDateTime *datetime); extern GDateTime * g_date_time_to_utc (GDateTime *datetime); extern gchar * g_date_time_format (GDateTime *datetime, const gchar *format) __attribute__ ((__malloc__)); extern gchar * g_date_time_format_iso8601 (GDateTime *datetime) __attribute__ ((__malloc__)); # 29 "/usr/include/glib-2.0/glib/gbookmarkfile.h" 2 # 42 "/usr/include/glib-2.0/glib/gbookmarkfile.h" #define G_BOOKMARK_FILE_ERROR (g_bookmark_file_error_quark ()) # 60 "/usr/include/glib-2.0/glib/gbookmarkfile.h" typedef enum { G_BOOKMARK_FILE_ERROR_INVALID_URI, G_BOOKMARK_FILE_ERROR_INVALID_VALUE, G_BOOKMARK_FILE_ERROR_APP_NOT_REGISTERED, G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND, G_BOOKMARK_FILE_ERROR_READ, G_BOOKMARK_FILE_ERROR_UNKNOWN_ENCODING, G_BOOKMARK_FILE_ERROR_WRITE, G_BOOKMARK_FILE_ERROR_FILE_NOT_FOUND } GBookmarkFileError; extern GQuark g_bookmark_file_error_quark (void); typedef struct _GBookmarkFile GBookmarkFile; extern GBookmarkFile *g_bookmark_file_new (void); extern void g_bookmark_file_free (GBookmarkFile *bookmark); extern GBookmarkFile *g_bookmark_file_copy (GBookmarkFile *bookmark); extern gboolean g_bookmark_file_load_from_file (GBookmarkFile *bookmark, const gchar *filename, GError **error); extern gboolean g_bookmark_file_load_from_data (GBookmarkFile *bookmark, const gchar *data, gsize length, GError **error); extern gboolean g_bookmark_file_load_from_data_dirs (GBookmarkFile *bookmark, const gchar *file, gchar **full_path, GError **error); extern gchar * g_bookmark_file_to_data (GBookmarkFile *bookmark, gsize *length, GError **error) __attribute__ ((__malloc__)); extern gboolean g_bookmark_file_to_file (GBookmarkFile *bookmark, const gchar *filename, GError **error); extern void g_bookmark_file_set_title (GBookmarkFile *bookmark, const gchar *uri, const gchar *title); extern gchar * g_bookmark_file_get_title (GBookmarkFile *bookmark, const gchar *uri, GError **error) __attribute__ ((__malloc__)); extern void g_bookmark_file_set_description (GBookmarkFile *bookmark, const gchar *uri, const gchar *description); extern gchar * g_bookmark_file_get_description (GBookmarkFile *bookmark, const gchar *uri, GError **error) __attribute__ ((__malloc__)); extern void g_bookmark_file_set_mime_type (GBookmarkFile *bookmark, const gchar *uri, const gchar *mime_type); extern gchar * g_bookmark_file_get_mime_type (GBookmarkFile *bookmark, const gchar *uri, GError **error) __attribute__ ((__malloc__)); extern void g_bookmark_file_set_groups (GBookmarkFile *bookmark, const gchar *uri, const gchar **groups, gsize length); extern void g_bookmark_file_add_group (GBookmarkFile *bookmark, const gchar *uri, const gchar *group); extern gboolean g_bookmark_file_has_group (GBookmarkFile *bookmark, const gchar *uri, const gchar *group, GError **error); extern gchar ** g_bookmark_file_get_groups (GBookmarkFile *bookmark, const gchar *uri, gsize *length, GError **error); extern void g_bookmark_file_add_application (GBookmarkFile *bookmark, const gchar *uri, const gchar *name, const gchar *exec); extern gboolean g_bookmark_file_has_application (GBookmarkFile *bookmark, const gchar *uri, const gchar *name, GError **error); extern gchar ** g_bookmark_file_get_applications (GBookmarkFile *bookmark, const gchar *uri, gsize *length, GError **error); __attribute__((__deprecated__("Use '" "g_bookmark_file_set_application_info" "' instead"))) extern gboolean g_bookmark_file_set_app_info (GBookmarkFile *bookmark, const gchar *uri, const gchar *name, const gchar *exec, gint count, time_t stamp, GError **error); extern gboolean g_bookmark_file_set_application_info (GBookmarkFile *bookmark, const char *uri, const char *name, const char *exec, int count, GDateTime *stamp, GError **error); __attribute__((__deprecated__("Use '" "g_bookmark_file_get_application_info" "' instead"))) extern gboolean g_bookmark_file_get_app_info (GBookmarkFile *bookmark, const gchar *uri, const gchar *name, gchar **exec, guint *count, time_t *stamp, GError **error); extern gboolean g_bookmark_file_get_application_info (GBookmarkFile *bookmark, const char *uri, const char *name, char **exec, unsigned int *count, GDateTime **stamp, GError **error); extern void g_bookmark_file_set_is_private (GBookmarkFile *bookmark, const gchar *uri, gboolean is_private); extern gboolean g_bookmark_file_get_is_private (GBookmarkFile *bookmark, const gchar *uri, GError **error); extern void g_bookmark_file_set_icon (GBookmarkFile *bookmark, const gchar *uri, const gchar *href, const gchar *mime_type); extern gboolean g_bookmark_file_get_icon (GBookmarkFile *bookmark, const gchar *uri, gchar **href, gchar **mime_type, GError **error); __attribute__((__deprecated__("Use '" "g_bookmark_file_set_added_date_time" "' instead"))) extern void g_bookmark_file_set_added (GBookmarkFile *bookmark, const gchar *uri, time_t added); extern void g_bookmark_file_set_added_date_time (GBookmarkFile *bookmark, const char *uri, GDateTime *added); __attribute__((__deprecated__("Use '" "g_bookmark_file_get_added_date_time" "' instead"))) extern time_t g_bookmark_file_get_added (GBookmarkFile *bookmark, const gchar *uri, GError **error); extern GDateTime *g_bookmark_file_get_added_date_time (GBookmarkFile *bookmark, const char *uri, GError **error); __attribute__((__deprecated__("Use '" "g_bookmark_file_set_modified_date_time" "' instead"))) extern void g_bookmark_file_set_modified (GBookmarkFile *bookmark, const gchar *uri, time_t modified); extern void g_bookmark_file_set_modified_date_time (GBookmarkFile *bookmark, const char *uri, GDateTime *modified); __attribute__((__deprecated__("Use '" "g_bookmark_file_get_modified_date_time" "' instead"))) extern time_t g_bookmark_file_get_modified (GBookmarkFile *bookmark, const gchar *uri, GError **error); extern GDateTime *g_bookmark_file_get_modified_date_time (GBookmarkFile *bookmark, const char *uri, GError **error); __attribute__((__deprecated__("Use '" "g_bookmark_file_set_visited_date_time" "' instead"))) extern void g_bookmark_file_set_visited (GBookmarkFile *bookmark, const gchar *uri, time_t visited); extern void g_bookmark_file_set_visited_date_time (GBookmarkFile *bookmark, const char *uri, GDateTime *visited); __attribute__((__deprecated__("Use '" "g_bookmark_file_get_visited_date_time" "' instead"))) extern time_t g_bookmark_file_get_visited (GBookmarkFile *bookmark, const gchar *uri, GError **error); extern GDateTime *g_bookmark_file_get_visited_date_time (GBookmarkFile *bookmark, const char *uri, GError **error); extern gboolean g_bookmark_file_has_item (GBookmarkFile *bookmark, const gchar *uri); extern gint g_bookmark_file_get_size (GBookmarkFile *bookmark); extern gchar ** g_bookmark_file_get_uris (GBookmarkFile *bookmark, gsize *length); extern gboolean g_bookmark_file_remove_group (GBookmarkFile *bookmark, const gchar *uri, const gchar *group, GError **error); extern gboolean g_bookmark_file_remove_application (GBookmarkFile *bookmark, const gchar *uri, const gchar *name, GError **error); extern gboolean g_bookmark_file_remove_item (GBookmarkFile *bookmark, const gchar *uri, GError **error); extern gboolean g_bookmark_file_move_item (GBookmarkFile *bookmark, const gchar *old_uri, const gchar *new_uri, GError **error); # 40 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gbytes.h" 1 # 25 "/usr/include/glib-2.0/glib/gbytes.h" #define __G_BYTES_H__ # 34 "/usr/include/glib-2.0/glib/gbytes.h" extern GBytes * g_bytes_new (gconstpointer data, gsize size); extern GBytes * g_bytes_new_take (gpointer data, gsize size); extern GBytes * g_bytes_new_static (gconstpointer data, gsize size); extern GBytes * g_bytes_new_with_free_func (gconstpointer data, gsize size, GDestroyNotify free_func, gpointer user_data); extern GBytes * g_bytes_new_from_bytes (GBytes *bytes, gsize offset, gsize length); extern gconstpointer g_bytes_get_data (GBytes *bytes, gsize *size); extern gsize g_bytes_get_size (GBytes *bytes); extern GBytes * g_bytes_ref (GBytes *bytes); extern void g_bytes_unref (GBytes *bytes); extern gpointer g_bytes_unref_to_data (GBytes *bytes, gsize *size); extern GByteArray * g_bytes_unref_to_array (GBytes *bytes); extern guint g_bytes_hash (gconstpointer bytes); extern gboolean g_bytes_equal (gconstpointer bytes1, gconstpointer bytes2); extern gint g_bytes_compare (gconstpointer bytes1, gconstpointer bytes2); extern gconstpointer g_bytes_get_region (GBytes *bytes, gsize element_size, gsize offset, gsize n_elements); # 41 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gcharset.h" 1 # 22 "/usr/include/glib-2.0/glib/gcharset.h" #define __G_CHARSET_H__ extern gboolean g_get_charset (const char **charset); extern gchar * g_get_codeset (void); extern gboolean g_get_console_charset (const char **charset); extern const gchar * const * g_get_language_names (void); extern const gchar * const * g_get_language_names_with_category (const gchar *category_name); extern gchar ** g_get_locale_variants (const gchar *locale); # 42 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gchecksum.h" 1 # 22 "/usr/include/glib-2.0/glib/gchecksum.h" #define __G_CHECKSUM_H__ # 31 "/usr/include/glib-2.0/glib/gchecksum.h" # 49 "/usr/include/glib-2.0/glib/gchecksum.h" typedef enum { G_CHECKSUM_MD5, G_CHECKSUM_SHA1, G_CHECKSUM_SHA256, G_CHECKSUM_SHA512, G_CHECKSUM_SHA384 } GChecksumType; # 67 "/usr/include/glib-2.0/glib/gchecksum.h" typedef struct _GChecksum GChecksum; extern gssize g_checksum_type_get_length (GChecksumType checksum_type); extern GChecksum * g_checksum_new (GChecksumType checksum_type); extern void g_checksum_reset (GChecksum *checksum); extern GChecksum * g_checksum_copy (const GChecksum *checksum); extern void g_checksum_free (GChecksum *checksum); extern void g_checksum_update (GChecksum *checksum, const guchar *data, gssize length); extern const gchar * g_checksum_get_string (GChecksum *checksum); extern void g_checksum_get_digest (GChecksum *checksum, guint8 *buffer, gsize *digest_len); extern gchar *g_compute_checksum_for_data (GChecksumType checksum_type, const guchar *data, gsize length); extern gchar *g_compute_checksum_for_string (GChecksumType checksum_type, const gchar *str, gssize length); extern gchar *g_compute_checksum_for_bytes (GChecksumType checksum_type, GBytes *data); # 43 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gconvert.h" 1 # 28 "/usr/include/glib-2.0/glib/gconvert.h" #define __G_CONVERT_H__ # 56 "/usr/include/glib-2.0/glib/gconvert.h" typedef enum { G_CONVERT_ERROR_NO_CONVERSION, G_CONVERT_ERROR_ILLEGAL_SEQUENCE, G_CONVERT_ERROR_FAILED, G_CONVERT_ERROR_PARTIAL_INPUT, G_CONVERT_ERROR_BAD_URI, G_CONVERT_ERROR_NOT_ABSOLUTE_PATH, G_CONVERT_ERROR_NO_MEMORY, G_CONVERT_ERROR_EMBEDDED_NUL } GConvertError; # 75 "/usr/include/glib-2.0/glib/gconvert.h" #define G_CONVERT_ERROR g_convert_error_quark() extern GQuark g_convert_error_quark (void); typedef struct _GIConv *GIConv; extern GIConv g_iconv_open (const gchar *to_codeset, const gchar *from_codeset); extern gsize g_iconv (GIConv converter, gchar **inbuf, gsize *inbytes_left, gchar **outbuf, gsize *outbytes_left); extern gint g_iconv_close (GIConv converter); extern gchar* g_convert (const gchar *str, gssize len, const gchar *to_codeset, const gchar *from_codeset, gsize *bytes_read, gsize *bytes_written, GError **error) __attribute__ ((__malloc__)); extern gchar* g_convert_with_iconv (const gchar *str, gssize len, GIConv converter, gsize *bytes_read, gsize *bytes_written, GError **error) __attribute__ ((__malloc__)); extern gchar* g_convert_with_fallback (const gchar *str, gssize len, const gchar *to_codeset, const gchar *from_codeset, const gchar *fallback, gsize *bytes_read, gsize *bytes_written, GError **error) __attribute__ ((__malloc__)); extern gchar* g_locale_to_utf8 (const gchar *opsysstring, gssize len, gsize *bytes_read, gsize *bytes_written, GError **error) __attribute__ ((__malloc__)); extern gchar* g_locale_from_utf8 (const gchar *utf8string, gssize len, gsize *bytes_read, gsize *bytes_written, GError **error) __attribute__ ((__malloc__)); extern gchar* g_filename_to_utf8 (const gchar *opsysstring, gssize len, gsize *bytes_read, gsize *bytes_written, GError **error) __attribute__ ((__malloc__)); extern gchar* g_filename_from_utf8 (const gchar *utf8string, gssize len, gsize *bytes_read, gsize *bytes_written, GError **error) __attribute__ ((__malloc__)); extern gchar *g_filename_from_uri (const gchar *uri, gchar **hostname, GError **error) __attribute__ ((__malloc__)); extern gchar *g_filename_to_uri (const gchar *filename, const gchar *hostname, GError **error) __attribute__ ((__malloc__)); extern gchar *g_filename_display_name (const gchar *filename) __attribute__ ((__malloc__)); extern gboolean g_get_filename_charsets (const gchar ***filename_charsets); extern gchar *g_filename_display_basename (const gchar *filename) __attribute__ ((__malloc__)); extern gchar **g_uri_list_extract_uris (const gchar *uri_list); # 44 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gdataset.h" 1 # 28 "/usr/include/glib-2.0/glib/gdataset.h" #define __G_DATASET_H__ typedef struct _GData GData; typedef void (*GDataForeachFunc) (GQuark key_id, gpointer data, gpointer user_data); extern void g_datalist_init (GData **datalist); extern void g_datalist_clear (GData **datalist); extern gpointer g_datalist_id_get_data (GData **datalist, GQuark key_id); extern void g_datalist_id_set_data_full (GData **datalist, GQuark key_id, gpointer data, GDestroyNotify destroy_func); extern void g_datalist_id_remove_multiple (GData **datalist, GQuark *keys, gsize n_keys); typedef gpointer (*GDuplicateFunc) (gpointer data, gpointer user_data); extern gpointer g_datalist_id_dup_data (GData **datalist, GQuark key_id, GDuplicateFunc dup_func, gpointer user_data); extern gboolean g_datalist_id_replace_data (GData **datalist, GQuark key_id, gpointer oldval, gpointer newval, GDestroyNotify destroy, GDestroyNotify *old_destroy); extern gpointer g_datalist_id_remove_no_notify (GData **datalist, GQuark key_id); extern void g_datalist_foreach (GData **datalist, GDataForeachFunc func, gpointer user_data); # 93 "/usr/include/glib-2.0/glib/gdataset.h" #define G_DATALIST_FLAGS_MASK 0x3 extern void g_datalist_set_flags (GData **datalist, guint flags); extern void g_datalist_unset_flags (GData **datalist, guint flags); extern guint g_datalist_get_flags (GData **datalist); #define g_datalist_id_set_data(dl,q,d) g_datalist_id_set_data_full ((dl), (q), (d), NULL) #define g_datalist_id_remove_data(dl,q) g_datalist_id_set_data ((dl), (q), NULL) #define g_datalist_set_data_full(dl,k,d,f) g_datalist_id_set_data_full ((dl), g_quark_from_string (k), (d), (f)) #define g_datalist_remove_no_notify(dl,k) g_datalist_id_remove_no_notify ((dl), g_quark_try_string (k)) #define g_datalist_set_data(dl,k,d) g_datalist_set_data_full ((dl), (k), (d), NULL) #define g_datalist_remove_data(dl,k) g_datalist_id_set_data ((dl), g_quark_try_string (k), NULL) extern void g_dataset_destroy (gconstpointer dataset_location); extern gpointer g_dataset_id_get_data (gconstpointer dataset_location, GQuark key_id); extern gpointer g_datalist_get_data (GData **datalist, const gchar *key); extern void g_dataset_id_set_data_full (gconstpointer dataset_location, GQuark key_id, gpointer data, GDestroyNotify destroy_func); extern gpointer g_dataset_id_remove_no_notify (gconstpointer dataset_location, GQuark key_id); extern void g_dataset_foreach (gconstpointer dataset_location, GDataForeachFunc func, gpointer user_data); #define g_dataset_id_set_data(l,k,d) g_dataset_id_set_data_full ((l), (k), (d), NULL) #define g_dataset_id_remove_data(l,k) g_dataset_id_set_data ((l), (k), NULL) #define g_dataset_get_data(l,k) (g_dataset_id_get_data ((l), g_quark_try_string (k))) #define g_dataset_set_data_full(l,k,d,f) g_dataset_id_set_data_full ((l), g_quark_from_string (k), (d), (f)) #define g_dataset_remove_no_notify(l,k) g_dataset_id_remove_no_notify ((l), g_quark_try_string (k)) #define g_dataset_set_data(l,k,d) g_dataset_set_data_full ((l), (k), (d), NULL) #define g_dataset_remove_data(l,k) g_dataset_id_set_data ((l), g_quark_try_string (k), NULL) # 45 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gdate.h" 1 # 28 "/usr/include/glib-2.0/glib/gdate.h" #define __G_DATE_H__ # 39 "/usr/include/glib-2.0/glib/gdate.h" # 50 "/usr/include/glib-2.0/glib/gdate.h" typedef gint32 GTime __attribute__((__deprecated__("Use '" "GDateTime" "' instead"))); typedef guint16 GDateYear; typedef guint8 GDateDay; typedef struct _GDate GDate; typedef enum { G_DATE_DAY = 0, G_DATE_MONTH = 1, G_DATE_YEAR = 2 } GDateDMY; typedef enum { G_DATE_BAD_WEEKDAY = 0, G_DATE_MONDAY = 1, G_DATE_TUESDAY = 2, G_DATE_WEDNESDAY = 3, G_DATE_THURSDAY = 4, G_DATE_FRIDAY = 5, G_DATE_SATURDAY = 6, G_DATE_SUNDAY = 7 } GDateWeekday; typedef enum { G_DATE_BAD_MONTH = 0, G_DATE_JANUARY = 1, G_DATE_FEBRUARY = 2, G_DATE_MARCH = 3, G_DATE_APRIL = 4, G_DATE_MAY = 5, G_DATE_JUNE = 6, G_DATE_JULY = 7, G_DATE_AUGUST = 8, G_DATE_SEPTEMBER = 9, G_DATE_OCTOBER = 10, G_DATE_NOVEMBER = 11, G_DATE_DECEMBER = 12 } GDateMonth; #define G_DATE_BAD_JULIAN 0U #define G_DATE_BAD_DAY 0U #define G_DATE_BAD_YEAR 0U struct _GDate { guint julian_days : 32; guint julian : 1; guint dmy : 1; guint day : 6; guint month : 4; guint year : 16; }; extern GDate* g_date_new (void); extern GDate* g_date_new_dmy (GDateDay day, GDateMonth month, GDateYear year); extern GDate* g_date_new_julian (guint32 julian_day); extern void g_date_free (GDate *date); extern GDate* g_date_copy (const GDate *date); extern gboolean g_date_valid (const GDate *date); extern gboolean g_date_valid_day (GDateDay day) __attribute__ ((__const__)); extern gboolean g_date_valid_month (GDateMonth month) __attribute__ ((__const__)); extern gboolean g_date_valid_year (GDateYear year) __attribute__ ((__const__)); extern gboolean g_date_valid_weekday (GDateWeekday weekday) __attribute__ ((__const__)); extern gboolean g_date_valid_julian (guint32 julian_date) __attribute__ ((__const__)); extern gboolean g_date_valid_dmy (GDateDay day, GDateMonth month, GDateYear year) __attribute__ ((__const__)); extern GDateWeekday g_date_get_weekday (const GDate *date); extern GDateMonth g_date_get_month (const GDate *date); extern GDateYear g_date_get_year (const GDate *date); extern GDateDay g_date_get_day (const GDate *date); extern guint32 g_date_get_julian (const GDate *date); extern guint g_date_get_day_of_year (const GDate *date); extern guint g_date_get_monday_week_of_year (const GDate *date); extern guint g_date_get_sunday_week_of_year (const GDate *date); extern guint g_date_get_iso8601_week_of_year (const GDate *date); extern void g_date_clear (GDate *date, guint n_dates); extern void g_date_set_parse (GDate *date, const gchar *str); extern void g_date_set_time_t (GDate *date, time_t timet); # 200 "/usr/include/glib-2.0/glib/gdate.h" #pragma GCC diagnostic push # 200 "/usr/include/glib-2.0/glib/gdate.h" # 200 "/usr/include/glib-2.0/glib/gdate.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" __attribute__((__deprecated__("Use '" "g_date_set_time_t" "' instead"))) extern void g_date_set_time_val (GDate *date, GTimeVal *timeval); __attribute__((__deprecated__("Use '" "g_date_set_time_t" "' instead"))) extern void g_date_set_time (GDate *date, GTime time_); # 207 "/usr/include/glib-2.0/glib/gdate.h" #pragma GCC diagnostic pop extern void g_date_set_month (GDate *date, GDateMonth month); extern void g_date_set_day (GDate *date, GDateDay day); extern void g_date_set_year (GDate *date, GDateYear year); extern void g_date_set_dmy (GDate *date, GDateDay day, GDateMonth month, GDateYear y); extern void g_date_set_julian (GDate *date, guint32 julian_date); extern gboolean g_date_is_first_of_month (const GDate *date); extern gboolean g_date_is_last_of_month (const GDate *date); extern void g_date_add_days (GDate *date, guint n_days); extern void g_date_subtract_days (GDate *date, guint n_days); extern void g_date_add_months (GDate *date, guint n_months); extern void g_date_subtract_months (GDate *date, guint n_months); extern void g_date_add_years (GDate *date, guint n_years); extern void g_date_subtract_years (GDate *date, guint n_years); extern gboolean g_date_is_leap_year (GDateYear year) __attribute__ ((__const__)); extern guint8 g_date_get_days_in_month (GDateMonth month, GDateYear year) __attribute__ ((__const__)); extern guint8 g_date_get_monday_weeks_in_year (GDateYear year) __attribute__ ((__const__)); extern guint8 g_date_get_sunday_weeks_in_year (GDateYear year) __attribute__ ((__const__)); extern gint g_date_days_between (const GDate *date1, const GDate *date2); extern gint g_date_compare (const GDate *lhs, const GDate *rhs); extern void g_date_to_struct_tm (const GDate *date, struct tm *tm); extern void g_date_clamp (GDate *date, const GDate *min_date, const GDate *max_date); extern void g_date_order (GDate *date1, GDate *date2); extern gsize g_date_strftime (gchar *s, gsize slen, const gchar *format, const GDate *date); #define g_date_weekday g_date_get_weekday GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_date_get_weekday) #define g_date_month g_date_get_month GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_date_get_month) #define g_date_year g_date_get_year GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_date_get_year) #define g_date_day g_date_get_day GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_date_get_day) #define g_date_julian g_date_get_julian GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_date_get_julian) #define g_date_day_of_year g_date_get_day_of_year GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_date_get_day_of_year) #define g_date_monday_week_of_year g_date_get_monday_week_of_year GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_date_get_monday_week_of_year) #define g_date_sunday_week_of_year g_date_get_sunday_week_of_year GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_date_get_sunday_week_of_year) #define g_date_days_in_month g_date_get_days_in_month GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_date_get_days_in_month) #define g_date_monday_weeks_in_year g_date_get_monday_weeks_in_year GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_date_get_monday_weeks_in_year) #define g_date_sunday_weeks_in_year g_date_get_sunday_weeks_in_year GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_date_get_sunday_weeks_in_year) # 46 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gdir.h" 1 # 25 "/usr/include/glib-2.0/glib/gdir.h" #define __G_DIR_H__ # 34 "/usr/include/glib-2.0/glib/gdir.h" # 1 "/usr/include/dirent.h" 1 3 4 # 23 "/usr/include/dirent.h" 3 4 #define _DIRENT_H 1 # 61 "/usr/include/dirent.h" 3 4 # 1 "/usr/include/bits/dirent.h" 1 3 4 # 22 "/usr/include/bits/dirent.h" 3 4 # 22 "/usr/include/bits/dirent.h" 3 4 struct dirent { __ino64_t d_ino; __off64_t d_off; unsigned short int d_reclen; unsigned char d_type; char d_name[256]; }; # 47 "/usr/include/bits/dirent.h" 3 4 #define d_fileno d_ino #undef _DIRENT_HAVE_D_NAMLEN #define _DIRENT_HAVE_D_RECLEN #define _DIRENT_HAVE_D_OFF #define _DIRENT_HAVE_D_TYPE #define _DIRENT_MATCHES_DIRENT64 1 #define _DIRENT_OFFSET_TRANSLATION (LONG_WIDTH < 64) # 62 "/usr/include/dirent.h" 2 3 4 # 85 "/usr/include/dirent.h" 3 4 #define _D_EXACT_NAMLEN(d) (strlen ((d)->d_name)) #define _D_ALLOC_NAMLEN(d) (((char *) (d) + (d)->d_reclen) - &(d)->d_name[0]) # 97 "/usr/include/dirent.h" 3 4 enum { DT_UNKNOWN = 0, #define DT_UNKNOWN DT_UNKNOWN DT_FIFO = 1, #define DT_FIFO DT_FIFO DT_CHR = 2, #define DT_CHR DT_CHR DT_DIR = 4, #define DT_DIR DT_DIR DT_BLK = 6, #define DT_BLK DT_BLK DT_REG = 8, #define DT_REG DT_REG DT_LNK = 10, #define DT_LNK DT_LNK DT_SOCK = 12, #define DT_SOCK DT_SOCK DT_WHT = 14 #define DT_WHT DT_WHT }; #define IFTODT(mode) (((mode) & 0170000) >> 12) #define DTTOIF(dirtype) ((dirtype) << 12) typedef struct __dirstream DIR; extern int closedir (DIR *__dirp) __attribute__ ((__nonnull__ (1))); extern DIR *opendir (const char *__name) __attribute__ ((__nonnull__ (1))) __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (closedir, 1))); extern DIR *fdopendir (int __fd) __attribute__ ((__malloc__)) __attribute__ ((__malloc__ (closedir, 1))); # 167 "/usr/include/dirent.h" 3 4 extern struct dirent *readdir (DIR *__dirp) __asm__ ("" "readdir64") __attribute__ ((__nonnull__ (1))); # 191 "/usr/include/dirent.h" 3 4 extern int readdir_r (DIR *__restrict __dirp, struct dirent *__restrict __entry, struct dirent **__restrict __result) __asm__ ("" "readdir64_r") __attribute__ ((__nonnull__ (1, 2, 3))) __attribute__ ((__deprecated__)); # 211 "/usr/include/dirent.h" 3 4 extern void rewinddir (DIR *__dirp) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern void seekdir (DIR *__dirp, long int __pos) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern long int telldir (DIR *__dirp) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int dirfd (DIR *__dirp) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 239 "/usr/include/dirent.h" 3 4 #define MAXNAMLEN NAME_MAX #define __need_size_t # 1 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 1 3 4 # 158 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 #undef __need_ptrdiff_t # 237 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 #undef __need_size_t # 349 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 #undef __need_wchar_t # 399 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 #undef NULL #define NULL ((void *)0) #undef __need_NULL #undef offsetof #define offsetof(TYPE,MEMBER) __builtin_offsetof (TYPE, MEMBER) # 248 "/usr/include/dirent.h" 2 3 4 # 265 "/usr/include/dirent.h" 3 4 extern int scandir (const char *__restrict __dir, struct dirent ***__restrict __namelist, int (*__selector) (const struct dirent *), int (*__cmp) (const struct dirent **, const struct dirent **)) __asm__ ("" "scandir64") __attribute__ ((__nonnull__ (1, 2))); # 332 "/usr/include/dirent.h" 3 4 extern int alphasort (const struct dirent **__e1, const struct dirent **__e2) __asm__ ("" "alphasort64") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); # 361 "/usr/include/dirent.h" 3 4 extern __ssize_t getdirentries (int __fd, char *__restrict __buf, size_t __nbytes, __off64_t *__restrict __basep) __asm__ ("" "getdirentries64") __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4))); # 404 "/usr/include/dirent.h" 3 4 # 1 "/usr/include/bits/dirent_ext.h" 1 3 4 # 23 "/usr/include/bits/dirent_ext.h" 3 4 # 33 "/usr/include/bits/dirent_ext.h" 3 4 # 407 "/usr/include/dirent.h" 2 3 4 # 35 "/usr/include/glib-2.0/glib/gdir.h" 2 # 39 "/usr/include/glib-2.0/glib/gdir.h" typedef struct _GDir GDir; extern GDir * g_dir_open (const gchar *path, guint flags, GError **error); extern const gchar * g_dir_read_name (GDir *dir); extern void g_dir_rewind (GDir *dir); extern void g_dir_close (GDir *dir); # 48 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/genviron.h" 1 # 28 "/usr/include/glib-2.0/glib/genviron.h" #define __G_ENVIRON_H__ extern const gchar * g_getenv (const gchar *variable); extern gboolean g_setenv (const gchar *variable, const gchar *value, gboolean overwrite); extern void g_unsetenv (const gchar *variable); extern gchar ** g_listenv (void); extern gchar ** g_get_environ (void); extern const gchar * g_environ_getenv (gchar **envp, const gchar *variable); extern gchar ** g_environ_setenv (gchar **envp, const gchar *variable, const gchar *value, gboolean overwrite) __attribute__((warn_unused_result)); extern gchar ** g_environ_unsetenv (gchar **envp, const gchar *variable) __attribute__((warn_unused_result)); # 49 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gfileutils.h" 1 # 22 "/usr/include/glib-2.0/glib/gfileutils.h" #define __G_FILEUTILS_H__ # 31 "/usr/include/glib-2.0/glib/gfileutils.h" #define G_FILE_ERROR g_file_error_quark () typedef enum { G_FILE_ERROR_EXIST, G_FILE_ERROR_ISDIR, G_FILE_ERROR_ACCES, G_FILE_ERROR_NAMETOOLONG, G_FILE_ERROR_NOENT, G_FILE_ERROR_NOTDIR, G_FILE_ERROR_NXIO, G_FILE_ERROR_NODEV, G_FILE_ERROR_ROFS, G_FILE_ERROR_TXTBSY, G_FILE_ERROR_FAULT, G_FILE_ERROR_LOOP, G_FILE_ERROR_NOSPC, G_FILE_ERROR_NOMEM, G_FILE_ERROR_MFILE, G_FILE_ERROR_NFILE, G_FILE_ERROR_BADF, G_FILE_ERROR_INVAL, G_FILE_ERROR_PIPE, G_FILE_ERROR_AGAIN, G_FILE_ERROR_INTR, G_FILE_ERROR_IO, G_FILE_ERROR_PERM, G_FILE_ERROR_NOSYS, G_FILE_ERROR_FAILED } GFileError; typedef enum { G_FILE_TEST_IS_REGULAR = 1 << 0, G_FILE_TEST_IS_SYMLINK = 1 << 1, G_FILE_TEST_IS_DIR = 1 << 2, G_FILE_TEST_IS_EXECUTABLE = 1 << 3, G_FILE_TEST_EXISTS = 1 << 4 } GFileTest; # 101 "/usr/include/glib-2.0/glib/gfileutils.h" typedef enum { G_FILE_SET_CONTENTS_NONE = 0, G_FILE_SET_CONTENTS_CONSISTENT = 1 << 0, G_FILE_SET_CONTENTS_DURABLE = 1 << 1, G_FILE_SET_CONTENTS_ONLY_EXISTING = 1 << 2 } GFileSetContentsFlags ; extern GQuark g_file_error_quark (void); extern GFileError g_file_error_from_errno (gint err_no); extern gboolean g_file_test (const gchar *filename, GFileTest test); extern gboolean g_file_get_contents (const gchar *filename, gchar **contents, gsize *length, GError **error); extern gboolean g_file_set_contents (const gchar *filename, const gchar *contents, gssize length, GError **error); # 129 "/usr/include/glib-2.0/glib/gfileutils.h" #pragma GCC diagnostic push # 129 "/usr/include/glib-2.0/glib/gfileutils.h" # 129 "/usr/include/glib-2.0/glib/gfileutils.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" extern gboolean g_file_set_contents_full (const gchar *filename, const gchar *contents, gssize length, GFileSetContentsFlags flags, int mode, GError **error); # 137 "/usr/include/glib-2.0/glib/gfileutils.h" #pragma GCC diagnostic pop extern gchar *g_file_read_link (const gchar *filename, GError **error); extern gchar *g_mkdtemp (gchar *tmpl); extern gchar *g_mkdtemp_full (gchar *tmpl, gint mode); extern gint g_mkstemp (gchar *tmpl); extern gint g_mkstemp_full (gchar *tmpl, gint flags, gint mode); extern gint g_file_open_tmp (const gchar *tmpl, gchar **name_used, GError **error); extern gchar *g_dir_make_tmp (const gchar *tmpl, GError **error); extern gchar *g_build_path (const gchar *separator, const gchar *first_element, ...) __attribute__ ((__malloc__)) __attribute__((__sentinel__)); extern gchar *g_build_pathv (const gchar *separator, gchar **args) __attribute__ ((__malloc__)); extern gchar *g_build_filename (const gchar *first_element, ...) __attribute__ ((__malloc__)) __attribute__((__sentinel__)); extern gchar *g_build_filenamev (gchar **args) __attribute__ ((__malloc__)); extern gchar *g_build_filename_valist (const gchar *first_element, va_list *args) __attribute__ ((__malloc__)); extern gint g_mkdir_with_parents (const gchar *pathname, gint mode); # 197 "/usr/include/glib-2.0/glib/gfileutils.h" #define G_IS_DIR_SEPARATOR(c) ((c) == G_DIR_SEPARATOR) extern gboolean g_path_is_absolute (const gchar *file_name); extern const gchar *g_path_skip_root (const gchar *file_name); __attribute__((__deprecated__("Use '" "g_path_get_basename" "' instead"))) extern const gchar *g_basename (const gchar *file_name); #define g_dirname g_path_get_dirname GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_path_get_dirname) extern gchar *g_get_current_dir (void); extern gchar *g_path_get_basename (const gchar *file_name) __attribute__ ((__malloc__)); extern gchar *g_path_get_dirname (const gchar *file_name) __attribute__ ((__malloc__)); extern gchar *g_canonicalize_filename (const gchar *filename, const gchar *relative_to) __attribute__ ((__malloc__)); # 51 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/ggettext.h" 1 # 28 "/usr/include/glib-2.0/glib/ggettext.h" #define __G_GETTEXT_H__ extern const gchar *g_strip_context (const gchar *msgid, const gchar *msgval) __attribute__ ((__format_arg__ (1))); extern const gchar *g_dgettext (const gchar *domain, const gchar *msgid) __attribute__ ((__format_arg__ (2))); extern const gchar *g_dcgettext (const gchar *domain, const gchar *msgid, gint category) __attribute__ ((__format_arg__ (2))); extern const gchar *g_dngettext (const gchar *domain, const gchar *msgid, const gchar *msgid_plural, gulong n) __attribute__ ((__format_arg__ (3))); extern const gchar *g_dpgettext (const gchar *domain, const gchar *msgctxtid, gsize msgidoffset) __attribute__ ((__format_arg__ (2))); extern const gchar *g_dpgettext2 (const gchar *domain, const gchar *context, const gchar *msgid) __attribute__ ((__format_arg__ (3))); # 52 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/ghash.h" 1 # 28 "/usr/include/glib-2.0/glib/ghash.h" #define __G_HASH_H__ # 1 "/usr/include/glib-2.0/glib/glist.h" 1 # 28 "/usr/include/glib-2.0/glib/glist.h" #define __G_LIST_H__ # 1 "/usr/include/glib-2.0/glib/gmem.h" 1 # 28 "/usr/include/glib-2.0/glib/gmem.h" #define __G_MEM_H__ # 37 "/usr/include/glib-2.0/glib/gmem.h" # 54 "/usr/include/glib-2.0/glib/gmem.h" typedef struct _GMemVTable GMemVTable; # 66 "/usr/include/glib-2.0/glib/gmem.h" #define G_MEM_ALIGN GLIB_SIZEOF_LONG extern void (g_free) (gpointer mem); extern void g_free_sized (gpointer mem, size_t size); extern void g_clear_pointer (gpointer *pp, GDestroyNotify destroy); extern gpointer g_malloc (gsize n_bytes) __attribute__ ((__malloc__)) __attribute__((__alloc_size__(1))); extern gpointer g_malloc0 (gsize n_bytes) __attribute__ ((__malloc__)) __attribute__((__alloc_size__(1))); extern gpointer g_realloc (gpointer mem, gsize n_bytes) __attribute__((warn_unused_result)); extern gpointer g_try_malloc (gsize n_bytes) __attribute__ ((__malloc__)) __attribute__((__alloc_size__(1))); extern gpointer g_try_malloc0 (gsize n_bytes) __attribute__ ((__malloc__)) __attribute__((__alloc_size__(1))); extern gpointer g_try_realloc (gpointer mem, gsize n_bytes) __attribute__((warn_unused_result)); extern gpointer g_malloc_n (gsize n_blocks, gsize n_block_bytes) __attribute__ ((__malloc__)) __attribute__((__alloc_size__(1,2))); extern gpointer g_malloc0_n (gsize n_blocks, gsize n_block_bytes) __attribute__ ((__malloc__)) __attribute__((__alloc_size__(1,2))); extern gpointer g_realloc_n (gpointer mem, gsize n_blocks, gsize n_block_bytes) __attribute__((warn_unused_result)); extern gpointer g_try_malloc_n (gsize n_blocks, gsize n_block_bytes) __attribute__ ((__malloc__)) __attribute__((__alloc_size__(1,2))); extern gpointer g_try_malloc0_n (gsize n_blocks, gsize n_block_bytes) __attribute__ ((__malloc__)) __attribute__((__alloc_size__(1,2))); extern gpointer g_try_realloc_n (gpointer mem, gsize n_blocks, gsize n_block_bytes) __attribute__((warn_unused_result)); extern gpointer g_aligned_alloc (gsize n_blocks, gsize n_block_bytes, gsize alignment) __attribute__((warn_unused_result)) __attribute__((__alloc_size__(1,2))); extern gpointer g_aligned_alloc0 (gsize n_blocks, gsize n_block_bytes, gsize alignment) __attribute__((warn_unused_result)) __attribute__((__alloc_size__(1,2))); extern void g_aligned_free (gpointer mem); extern void g_aligned_free_sized (gpointer mem, size_t alignment, size_t size); #define g_clear_pointer(pp,destroy) G_STMT_START { G_STATIC_ASSERT (sizeof *(pp) == sizeof (gpointer)); glib_typeof ((pp)) _pp = (pp); glib_typeof (*(pp)) _ptr = *_pp; *_pp = NULL; if (_ptr) (destroy) (_ptr); } G_STMT_END GLIB_AVAILABLE_MACRO_IN_2_34 # 232 "/usr/include/glib-2.0/glib/gmem.h" static inline gpointer g_steal_pointer (gpointer pp) { gpointer *ptr = (gpointer *) pp; gpointer ref; ref = *ptr; *ptr = # 240 "/usr/include/glib-2.0/glib/gmem.h" 3 4 ((void *)0) # 240 "/usr/include/glib-2.0/glib/gmem.h" ; return ref; } #define g_steal_pointer(pp) ((glib_typeof (*pp)) (g_steal_pointer) (pp)) # 259 "/usr/include/glib-2.0/glib/gmem.h" #define _G_NEW(struct_type,n_structs,func) (struct_type *) (G_GNUC_EXTENSION ({ gsize __n = (gsize) (n_structs); gsize __s = sizeof (struct_type); gpointer __p; if (__s == 1) __p = g_ ##func (__n); else if (__builtin_constant_p (__n) && (__s == 0 || __n <= G_MAXSIZE / __s)) __p = g_ ##func (__n * __s); else __p = g_ ##func ##_n (__n, __s); __p; })) # 273 "/usr/include/glib-2.0/glib/gmem.h" #define _G_RENEW(struct_type,mem,n_structs,func) (struct_type *) (G_GNUC_EXTENSION ({ gsize __n = (gsize) (n_structs); gsize __s = sizeof (struct_type); gpointer __p = (gpointer) (mem); if (__s == 1) __p = g_ ##func (__p, __n); else if (__builtin_constant_p (__n) && (__s == 0 || __n <= G_MAXSIZE / __s)) __p = g_ ##func (__p, __n * __s); else __p = g_ ##func ##_n (__p, __n, __s); __p; })) # 315 "/usr/include/glib-2.0/glib/gmem.h" #define g_new(struct_type,n_structs) _G_NEW (struct_type, n_structs, malloc) # 332 "/usr/include/glib-2.0/glib/gmem.h" #define g_new0(struct_type,n_structs) _G_NEW (struct_type, n_structs, malloc0) # 346 "/usr/include/glib-2.0/glib/gmem.h" #define g_renew(struct_type,mem,n_structs) _G_RENEW (struct_type, mem, n_structs, realloc) # 360 "/usr/include/glib-2.0/glib/gmem.h" #define g_try_new(struct_type,n_structs) _G_NEW (struct_type, n_structs, try_malloc) # 375 "/usr/include/glib-2.0/glib/gmem.h" #define g_try_new0(struct_type,n_structs) _G_NEW (struct_type, n_structs, try_malloc0) # 391 "/usr/include/glib-2.0/glib/gmem.h" #define g_try_renew(struct_type,mem,n_structs) _G_RENEW (struct_type, mem, n_structs, try_realloc) struct _GMemVTable { gpointer (*malloc) (gsize n_bytes); gpointer (*realloc) (gpointer mem, gsize n_bytes); void (*free) (gpointer mem); gpointer (*calloc) (gsize n_blocks, gsize n_block_bytes); gpointer (*try_malloc) (gsize n_bytes); gpointer (*try_realloc) (gpointer mem, gsize n_bytes); }; __attribute__((__deprecated__)) extern void g_mem_set_vtable (GMemVTable *vtable); __attribute__((__deprecated__)) extern gboolean g_mem_is_system_malloc (void); extern gboolean g_mem_gc_friendly; extern GMemVTable *glib_mem_profiler_table; __attribute__((__deprecated__)) extern void g_mem_profile (void); # 35 "/usr/include/glib-2.0/glib/glist.h" 2 # 1 "/usr/include/glib-2.0/glib/gnode.h" 1 # 28 "/usr/include/glib-2.0/glib/gnode.h" #define __G_NODE_H__ typedef struct _GNode GNode; typedef enum { G_TRAVERSE_LEAVES = 1 << 0, G_TRAVERSE_NON_LEAVES = 1 << 1, G_TRAVERSE_ALL = G_TRAVERSE_LEAVES | G_TRAVERSE_NON_LEAVES, G_TRAVERSE_MASK = 0x03, G_TRAVERSE_LEAFS = G_TRAVERSE_LEAVES, G_TRAVERSE_NON_LEAFS = G_TRAVERSE_NON_LEAVES } GTraverseFlags; typedef enum { G_IN_ORDER, G_PRE_ORDER, G_POST_ORDER, G_LEVEL_ORDER } GTraverseType; typedef gboolean (*GNodeTraverseFunc) (GNode *node, gpointer data); typedef void (*GNodeForeachFunc) (GNode *node, gpointer data); struct _GNode { gpointer data; GNode *next; GNode *prev; GNode *parent; GNode *children; }; # 85 "/usr/include/glib-2.0/glib/gnode.h" #define G_NODE_IS_ROOT(node) (((GNode*) (node))->parent == NULL && ((GNode*) (node))->prev == NULL && ((GNode*) (node))->next == NULL) # 98 "/usr/include/glib-2.0/glib/gnode.h" #define G_NODE_IS_LEAF(node) (((GNode*) (node))->children == NULL) extern GNode* g_node_new (gpointer data); extern void g_node_destroy (GNode *root); extern void g_node_unlink (GNode *node); extern GNode* g_node_copy_deep (GNode *node, GCopyFunc copy_func, gpointer data); extern GNode* g_node_copy (GNode *node); extern GNode* g_node_insert (GNode *parent, gint position, GNode *node); extern GNode* g_node_insert_before (GNode *parent, GNode *sibling, GNode *node); extern GNode* g_node_insert_after (GNode *parent, GNode *sibling, GNode *node); extern GNode* g_node_prepend (GNode *parent, GNode *node); extern guint g_node_n_nodes (GNode *root, GTraverseFlags flags); extern GNode* g_node_get_root (GNode *node); extern gboolean g_node_is_ancestor (GNode *node, GNode *descendant); extern guint g_node_depth (GNode *node); extern GNode* g_node_find (GNode *root, GTraverseType order, GTraverseFlags flags, gpointer data); # 153 "/usr/include/glib-2.0/glib/gnode.h" #define g_node_append(parent,node) g_node_insert_before ((parent), NULL, (node)) # 167 "/usr/include/glib-2.0/glib/gnode.h" #define g_node_insert_data(parent,position,data) g_node_insert ((parent), (position), g_node_new (data)) # 181 "/usr/include/glib-2.0/glib/gnode.h" #define g_node_insert_data_after(parent,sibling,data) g_node_insert_after ((parent), (sibling), g_node_new (data)) # 193 "/usr/include/glib-2.0/glib/gnode.h" #define g_node_insert_data_before(parent,sibling,data) g_node_insert_before ((parent), (sibling), g_node_new (data)) # 205 "/usr/include/glib-2.0/glib/gnode.h" #define g_node_prepend_data(parent,data) g_node_prepend ((parent), g_node_new (data)) # 217 "/usr/include/glib-2.0/glib/gnode.h" #define g_node_append_data(parent,data) g_node_insert_before ((parent), NULL, g_node_new (data)) extern void g_node_traverse (GNode *root, GTraverseType order, GTraverseFlags flags, gint max_depth, GNodeTraverseFunc func, gpointer data); extern guint g_node_max_height (GNode *root); extern void g_node_children_foreach (GNode *node, GTraverseFlags flags, GNodeForeachFunc func, gpointer data); extern void g_node_reverse_children (GNode *node); extern guint g_node_n_children (GNode *node); extern GNode* g_node_nth_child (GNode *node, guint n); extern GNode* g_node_last_child (GNode *node); extern GNode* g_node_find_child (GNode *node, GTraverseFlags flags, gpointer data); extern gint g_node_child_position (GNode *node, GNode *child); extern gint g_node_child_index (GNode *node, gpointer data); extern GNode* g_node_first_sibling (GNode *node); extern GNode* g_node_last_sibling (GNode *node); # 280 "/usr/include/glib-2.0/glib/gnode.h" #define g_node_prev_sibling(node) ((node) ? ((GNode*) (node))->prev : NULL) # 292 "/usr/include/glib-2.0/glib/gnode.h" #define g_node_next_sibling(node) ((node) ? ((GNode*) (node))->next : NULL) # 304 "/usr/include/glib-2.0/glib/gnode.h" #define g_node_first_child(node) ((node) ? ((GNode*) (node))->children : NULL) # 36 "/usr/include/glib-2.0/glib/glist.h" 2 typedef struct _GList GList; struct _GList { gpointer data; GList *next; GList *prev; }; extern GList* g_list_alloc (void) __attribute__((warn_unused_result)); extern void g_list_free (GList *list); extern void g_list_free_1 (GList *list); #define g_list_free1 g_list_free_1 extern void g_list_free_full (GList *list, GDestroyNotify free_func); extern GList* g_list_append (GList *list, gpointer data) __attribute__((warn_unused_result)); extern GList* g_list_prepend (GList *list, gpointer data) __attribute__((warn_unused_result)); extern GList* g_list_insert (GList *list, gpointer data, gint position) __attribute__((warn_unused_result)); extern GList* g_list_insert_sorted (GList *list, gpointer data, GCompareFunc func) __attribute__((warn_unused_result)); extern GList* g_list_insert_sorted_with_data (GList *list, gpointer data, GCompareDataFunc func, gpointer user_data) __attribute__((warn_unused_result)); extern GList* g_list_insert_before (GList *list, GList *sibling, gpointer data) __attribute__((warn_unused_result)); extern GList* g_list_insert_before_link (GList *list, GList *sibling, GList *link_) __attribute__((warn_unused_result)); extern GList* g_list_concat (GList *list1, GList *list2) __attribute__((warn_unused_result)); extern GList* g_list_remove (GList *list, gconstpointer data) __attribute__((warn_unused_result)); extern GList* g_list_remove_all (GList *list, gconstpointer data) __attribute__((warn_unused_result)); extern GList* g_list_remove_link (GList *list, GList *llink) __attribute__((warn_unused_result)); extern GList* g_list_delete_link (GList *list, GList *link_) __attribute__((warn_unused_result)); extern GList* g_list_reverse (GList *list) __attribute__((warn_unused_result)); extern GList* g_list_copy (GList *list) __attribute__((warn_unused_result)); extern GList* g_list_copy_deep (GList *list, GCopyFunc func, gpointer user_data) __attribute__((warn_unused_result)); extern GList* g_list_nth (GList *list, guint n); extern GList* g_list_nth_prev (GList *list, guint n); extern GList* g_list_find (GList *list, gconstpointer data); extern GList* g_list_find_custom (GList *list, gconstpointer data, GCompareFunc func); extern gint g_list_position (GList *list, GList *llink); extern gint g_list_index (GList *list, gconstpointer data); extern GList* g_list_last (GList *list); extern GList* g_list_first (GList *list); extern guint g_list_length (GList *list); extern void g_list_foreach (GList *list, GFunc func, gpointer user_data); extern GList* g_list_sort (GList *list, GCompareFunc compare_func) __attribute__((warn_unused_result)); extern GList* g_list_sort_with_data (GList *list, GCompareDataFunc compare_func, gpointer user_data) __attribute__((warn_unused_result)); extern gpointer g_list_nth_data (GList *list, guint n); extern void g_clear_list (GList **list_ptr, GDestroyNotify destroy); #define g_clear_list(list_ptr,destroy) G_STMT_START { GList *_list; _list = *(list_ptr); if (_list) { *list_ptr = NULL; if ((destroy) != NULL) g_list_free_full (_list, (destroy)); else g_list_free (_list); } } G_STMT_END GLIB_AVAILABLE_MACRO_IN_2_64 # 174 "/usr/include/glib-2.0/glib/glist.h" #define g_list_previous(list) ((list) ? (((GList *)(list))->prev) : NULL) #define g_list_next(list) ((list) ? (((GList *)(list))->next) : NULL) # 37 "/usr/include/glib-2.0/glib/ghash.h" 2 typedef struct _GHashTable GHashTable; typedef gboolean (*GHRFunc) (gpointer key, gpointer value, gpointer user_data); typedef struct _GHashTableIter GHashTableIter; struct _GHashTableIter { gpointer dummy1; gpointer dummy2; gpointer dummy3; int dummy4; gboolean dummy5; gpointer dummy6; }; extern GHashTable* g_hash_table_new (GHashFunc hash_func, GEqualFunc key_equal_func); extern GHashTable* g_hash_table_new_full (GHashFunc hash_func, GEqualFunc key_equal_func, GDestroyNotify key_destroy_func, GDestroyNotify value_destroy_func); extern GHashTable *g_hash_table_new_similar (GHashTable *other_hash_table); extern void g_hash_table_destroy (GHashTable *hash_table); extern gboolean g_hash_table_insert (GHashTable *hash_table, gpointer key, gpointer value); extern gboolean g_hash_table_replace (GHashTable *hash_table, gpointer key, gpointer value); extern gboolean g_hash_table_add (GHashTable *hash_table, gpointer key); extern gboolean g_hash_table_remove (GHashTable *hash_table, gconstpointer key); extern void g_hash_table_remove_all (GHashTable *hash_table); extern gboolean g_hash_table_steal (GHashTable *hash_table, gconstpointer key); extern gboolean g_hash_table_steal_extended (GHashTable *hash_table, gconstpointer lookup_key, gpointer *stolen_key, gpointer *stolen_value); extern void g_hash_table_steal_all (GHashTable *hash_table); extern GPtrArray * g_hash_table_steal_all_keys (GHashTable *hash_table); extern GPtrArray * g_hash_table_steal_all_values (GHashTable *hash_table); extern gpointer g_hash_table_lookup (GHashTable *hash_table, gconstpointer key); extern gboolean g_hash_table_contains (GHashTable *hash_table, gconstpointer key); extern gboolean g_hash_table_lookup_extended (GHashTable *hash_table, gconstpointer lookup_key, gpointer *orig_key, gpointer *value); extern void g_hash_table_foreach (GHashTable *hash_table, GHFunc func, gpointer user_data); extern gpointer g_hash_table_find (GHashTable *hash_table, GHRFunc predicate, gpointer user_data); extern guint g_hash_table_foreach_remove (GHashTable *hash_table, GHRFunc func, gpointer user_data); extern guint g_hash_table_foreach_steal (GHashTable *hash_table, GHRFunc func, gpointer user_data); extern guint g_hash_table_size (GHashTable *hash_table); extern GList * g_hash_table_get_keys (GHashTable *hash_table); extern GList * g_hash_table_get_values (GHashTable *hash_table); extern gpointer * g_hash_table_get_keys_as_array (GHashTable *hash_table, guint *length); extern GPtrArray * g_hash_table_get_keys_as_ptr_array (GHashTable *hash_table); extern GPtrArray * g_hash_table_get_values_as_ptr_array (GHashTable *hash_table); extern void g_hash_table_iter_init (GHashTableIter *iter, GHashTable *hash_table); extern gboolean g_hash_table_iter_next (GHashTableIter *iter, gpointer *key, gpointer *value); extern GHashTable* g_hash_table_iter_get_hash_table (GHashTableIter *iter); extern void g_hash_table_iter_remove (GHashTableIter *iter); extern void g_hash_table_iter_replace (GHashTableIter *iter, gpointer value); extern void g_hash_table_iter_steal (GHashTableIter *iter); extern GHashTable* g_hash_table_ref (GHashTable *hash_table); extern void g_hash_table_unref (GHashTable *hash_table); #define g_hash_table_freeze(hash_table) ((void)0) GLIB_DEPRECATED_MACRO_IN_2_26 #define g_hash_table_thaw(hash_table) ((void)0) GLIB_DEPRECATED_MACRO_IN_2_26 extern gboolean g_str_equal (gconstpointer v1, gconstpointer v2); #define g_str_equal(v1,v2) (strcmp ((const char *) (v1), (const char *) (v2)) == 0) extern guint g_str_hash (gconstpointer v); extern gboolean g_int_equal (gconstpointer v1, gconstpointer v2); extern guint g_int_hash (gconstpointer v); extern gboolean g_int64_equal (gconstpointer v1, gconstpointer v2); extern guint g_int64_hash (gconstpointer v); extern gboolean g_double_equal (gconstpointer v1, gconstpointer v2); extern guint g_double_hash (gconstpointer v); extern guint g_direct_hash (gconstpointer v) __attribute__ ((__const__)); extern gboolean g_direct_equal (gconstpointer v1, gconstpointer v2) __attribute__ ((__const__)); # 53 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/ghmac.h" 1 # 22 "/usr/include/glib-2.0/glib/ghmac.h" #define __G_HMAC_H__ # 1 "/usr/include/glib-2.0/glib/gchecksum.h" 1 # 30 "/usr/include/glib-2.0/glib/ghmac.h" 2 # 42 "/usr/include/glib-2.0/glib/ghmac.h" typedef struct _GHmac GHmac; extern GHmac * g_hmac_new (GChecksumType digest_type, const guchar *key, gsize key_len); extern GHmac * g_hmac_copy (const GHmac *hmac); extern GHmac * g_hmac_ref (GHmac *hmac); extern void g_hmac_unref (GHmac *hmac); extern void g_hmac_update (GHmac *hmac, const guchar *data, gssize length); extern const gchar * g_hmac_get_string (GHmac *hmac); extern void g_hmac_get_digest (GHmac *hmac, guint8 *buffer, gsize *digest_len); extern gchar *g_compute_hmac_for_data (GChecksumType digest_type, const guchar *key, gsize key_len, const guchar *data, gsize length); extern gchar *g_compute_hmac_for_string (GChecksumType digest_type, const guchar *key, gsize key_len, const gchar *str, gssize length); extern gchar *g_compute_hmac_for_bytes (GChecksumType digest_type, GBytes *key, GBytes *data); # 54 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/ghook.h" 1 # 28 "/usr/include/glib-2.0/glib/ghook.h" #define __G_HOOK_H__ typedef struct _GHook GHook; typedef struct _GHookList GHookList; typedef gint (*GHookCompareFunc) (GHook *new_hook, GHook *sibling); typedef gboolean (*GHookFindFunc) (GHook *hook, gpointer data); typedef void (*GHookMarshaller) (GHook *hook, gpointer marshal_data); typedef gboolean (*GHookCheckMarshaller) (GHook *hook, gpointer marshal_data); typedef void (*GHookFunc) (gpointer data); typedef gboolean (*GHookCheckFunc) (gpointer data); typedef void (*GHookFinalizeFunc) (GHookList *hook_list, GHook *hook); typedef enum { G_HOOK_FLAG_ACTIVE = 1 << 0, G_HOOK_FLAG_IN_CALL = 1 << 1, G_HOOK_FLAG_MASK = 0x0f } GHookFlagMask; #define G_HOOK_FLAG_USER_SHIFT (4) struct _GHookList { gulong seq_id; guint hook_size : 16; guint is_setup : 1; GHook *hooks; gpointer dummy3; GHookFinalizeFunc finalize_hook; gpointer dummy[2]; }; struct _GHook { gpointer data; GHook *next; GHook *prev; guint ref_count; gulong hook_id; guint flags; gpointer func; GDestroyNotify destroy; }; #define G_HOOK(hook) ((GHook*) (hook)) #define G_HOOK_FLAGS(hook) (G_HOOK (hook)->flags) #define G_HOOK_ACTIVE(hook) ((G_HOOK_FLAGS (hook) & G_HOOK_FLAG_ACTIVE) != 0) #define G_HOOK_IN_CALL(hook) ((G_HOOK_FLAGS (hook) & G_HOOK_FLAG_IN_CALL) != 0) #define G_HOOK_IS_VALID(hook) (G_HOOK (hook)->hook_id != 0 && (G_HOOK_FLAGS (hook) & G_HOOK_FLAG_ACTIVE)) #define G_HOOK_IS_UNLINKED(hook) (G_HOOK (hook)->next == NULL && G_HOOK (hook)->prev == NULL && G_HOOK (hook)->hook_id == 0 && G_HOOK (hook)->ref_count == 0) extern void g_hook_list_init (GHookList *hook_list, guint hook_size); extern void g_hook_list_clear (GHookList *hook_list); extern GHook* g_hook_alloc (GHookList *hook_list); extern void g_hook_free (GHookList *hook_list, GHook *hook); extern GHook * g_hook_ref (GHookList *hook_list, GHook *hook); extern void g_hook_unref (GHookList *hook_list, GHook *hook); extern gboolean g_hook_destroy (GHookList *hook_list, gulong hook_id); extern void g_hook_destroy_link (GHookList *hook_list, GHook *hook); extern void g_hook_prepend (GHookList *hook_list, GHook *hook); extern void g_hook_insert_before (GHookList *hook_list, GHook *sibling, GHook *hook); extern void g_hook_insert_sorted (GHookList *hook_list, GHook *hook, GHookCompareFunc func); extern GHook* g_hook_get (GHookList *hook_list, gulong hook_id); extern GHook* g_hook_find (GHookList *hook_list, gboolean need_valids, GHookFindFunc func, gpointer data); extern GHook* g_hook_find_data (GHookList *hook_list, gboolean need_valids, gpointer data); extern GHook* g_hook_find_func (GHookList *hook_list, gboolean need_valids, gpointer func); extern GHook* g_hook_find_func_data (GHookList *hook_list, gboolean need_valids, gpointer func, gpointer data); extern GHook* g_hook_first_valid (GHookList *hook_list, gboolean may_be_in_call); extern GHook* g_hook_next_valid (GHookList *hook_list, GHook *hook, gboolean may_be_in_call); extern gint g_hook_compare_ids (GHook *new_hook, GHook *sibling); #define g_hook_append(hook_list,hook) g_hook_insert_before ((hook_list), NULL, (hook)) extern void g_hook_list_invoke (GHookList *hook_list, gboolean may_recurse); extern void g_hook_list_invoke_check (GHookList *hook_list, gboolean may_recurse); extern void g_hook_list_marshal (GHookList *hook_list, gboolean may_recurse, GHookMarshaller marshaller, gpointer marshal_data); extern void g_hook_list_marshal_check (GHookList *hook_list, gboolean may_recurse, GHookCheckMarshaller marshaller, gpointer marshal_data); # 55 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/ghostutils.h" 1 # 21 "/usr/include/glib-2.0/glib/ghostutils.h" #define __G_HOST_UTILS_H__ extern gboolean g_hostname_is_non_ascii (const gchar *hostname); extern gboolean g_hostname_is_ascii_encoded (const gchar *hostname); extern gboolean g_hostname_is_ip_address (const gchar *hostname); extern gchar *g_hostname_to_ascii (const gchar *hostname); extern gchar *g_hostname_to_unicode (const gchar *hostname); # 56 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/giochannel.h" 1 # 28 "/usr/include/glib-2.0/glib/giochannel.h" #define __G_IOCHANNEL_H__ # 1 "/usr/include/glib-2.0/glib/gmain.h" 1 # 21 "/usr/include/glib-2.0/glib/gmain.h" #define __G_MAIN_H__ # 1 "/usr/include/glib-2.0/glib/gpoll.h" 1 # 21 "/usr/include/glib-2.0/glib/gpoll.h" #define __G_POLL_H__ # 30 "/usr/include/glib-2.0/glib/gpoll.h" # 61 "/usr/include/glib-2.0/glib/gpoll.h" typedef struct _GPollFD GPollFD; # 76 "/usr/include/glib-2.0/glib/gpoll.h" typedef gint (*GPollFunc) (GPollFD *ufds, guint nfsd, gint timeout_); # 93 "/usr/include/glib-2.0/glib/gpoll.h" struct _GPollFD { gint fd; gushort events; gushort revents; }; # 114 "/usr/include/glib-2.0/glib/gpoll.h" extern gint g_poll (GPollFD *fds, guint nfds, gint timeout); # 28 "/usr/include/glib-2.0/glib/gmain.h" 2 # 1 "/usr/include/glib-2.0/glib/gslist.h" 1 # 28 "/usr/include/glib-2.0/glib/gslist.h" #define __G_SLIST_H__ # 37 "/usr/include/glib-2.0/glib/gslist.h" typedef struct _GSList GSList; struct _GSList { gpointer data; GSList *next; }; extern GSList* g_slist_alloc (void) __attribute__((warn_unused_result)); extern void g_slist_free (GSList *list); extern void g_slist_free_1 (GSList *list); #define g_slist_free1 g_slist_free_1 extern void g_slist_free_full (GSList *list, GDestroyNotify free_func); extern GSList* g_slist_append (GSList *list, gpointer data) __attribute__((warn_unused_result)); extern GSList* g_slist_prepend (GSList *list, gpointer data) __attribute__((warn_unused_result)); extern GSList* g_slist_insert (GSList *list, gpointer data, gint position) __attribute__((warn_unused_result)); extern GSList* g_slist_insert_sorted (GSList *list, gpointer data, GCompareFunc func) __attribute__((warn_unused_result)); extern GSList* g_slist_insert_sorted_with_data (GSList *list, gpointer data, GCompareDataFunc func, gpointer user_data) __attribute__((warn_unused_result)); extern GSList* g_slist_insert_before (GSList *slist, GSList *sibling, gpointer data) __attribute__((warn_unused_result)); extern GSList* g_slist_concat (GSList *list1, GSList *list2) __attribute__((warn_unused_result)); extern GSList* g_slist_remove (GSList *list, gconstpointer data) __attribute__((warn_unused_result)); extern GSList* g_slist_remove_all (GSList *list, gconstpointer data) __attribute__((warn_unused_result)); extern GSList* g_slist_remove_link (GSList *list, GSList *link_) __attribute__((warn_unused_result)); extern GSList* g_slist_delete_link (GSList *list, GSList *link_) __attribute__((warn_unused_result)); extern GSList* g_slist_reverse (GSList *list) __attribute__((warn_unused_result)); extern GSList* g_slist_copy (GSList *list) __attribute__((warn_unused_result)); extern GSList* g_slist_copy_deep (GSList *list, GCopyFunc func, gpointer user_data) __attribute__((warn_unused_result)); extern GSList* g_slist_nth (GSList *list, guint n); extern GSList* g_slist_find (GSList *list, gconstpointer data); extern GSList* g_slist_find_custom (GSList *list, gconstpointer data, GCompareFunc func); extern gint g_slist_position (GSList *list, GSList *llink); extern gint g_slist_index (GSList *list, gconstpointer data); extern GSList* g_slist_last (GSList *list); extern guint g_slist_length (GSList *list); extern void g_slist_foreach (GSList *list, GFunc func, gpointer user_data); extern GSList* g_slist_sort (GSList *list, GCompareFunc compare_func) __attribute__((warn_unused_result)); extern GSList* g_slist_sort_with_data (GSList *list, GCompareDataFunc compare_func, gpointer user_data) __attribute__((warn_unused_result)); extern gpointer g_slist_nth_data (GSList *list, guint n); extern void g_clear_slist (GSList **slist_ptr, GDestroyNotify destroy); #define g_clear_slist(slist_ptr,destroy) G_STMT_START { GSList *_slist; _slist = *(slist_ptr); if (_slist) { *slist_ptr = NULL; if ((destroy) != NULL) g_slist_free_full (_slist, (destroy)); else g_slist_free (_slist); } } G_STMT_END GLIB_AVAILABLE_MACRO_IN_2_64 # 162 "/usr/include/glib-2.0/glib/gslist.h" #define g_slist_next(slist) ((slist) ? (((GSList *)(slist))->next) : NULL) # 29 "/usr/include/glib-2.0/glib/gmain.h" 2 typedef enum { G_IO_IN =1, G_IO_OUT =4, G_IO_PRI =2, G_IO_ERR =8, G_IO_HUP =16, G_IO_NVAL =32 } GIOCondition; # 56 "/usr/include/glib-2.0/glib/gmain.h" typedef enum { G_MAIN_CONTEXT_FLAGS_NONE = 0, G_MAIN_CONTEXT_FLAGS_OWNERLESS_POLLING = 1 } GMainContextFlags; # 70 "/usr/include/glib-2.0/glib/gmain.h" typedef struct _GMainContext GMainContext; typedef struct _GMainLoop GMainLoop; typedef struct _GSource GSource; typedef struct _GSourcePrivate GSourcePrivate; # 99 "/usr/include/glib-2.0/glib/gmain.h" typedef struct _GSourceCallbackFuncs GSourceCallbackFuncs; # 155 "/usr/include/glib-2.0/glib/gmain.h" typedef struct _GSourceFuncs GSourceFuncs; # 195 "/usr/include/glib-2.0/glib/gmain.h" typedef gboolean (*GSourceFunc) (gpointer user_data); # 209 "/usr/include/glib-2.0/glib/gmain.h" typedef void (* GSourceOnceFunc) (gpointer user_data); # 227 "/usr/include/glib-2.0/glib/gmain.h" #define G_SOURCE_FUNC(f) ((GSourceFunc) (void (*)(void)) (f)) GLIB_AVAILABLE_MACRO_IN_2_58 # 244 "/usr/include/glib-2.0/glib/gmain.h" typedef void (*GChildWatchFunc) (GPid pid, gint wait_status, gpointer user_data); # 258 "/usr/include/glib-2.0/glib/gmain.h" typedef void (*GSourceDisposeFunc) (GSource *source); struct _GSource { gpointer callback_data; GSourceCallbackFuncs *callback_funcs; const GSourceFuncs *source_funcs; guint ref_count; GMainContext *context; gint priority; guint flags; guint source_id; GSList *poll_fds; GSource *prev; GSource *next; char *name; GSourcePrivate *priv; }; struct _GSourceCallbackFuncs { void (*ref) (gpointer cb_data); void (*unref) (gpointer cb_data); void (*get) (gpointer cb_data, GSource *source, GSourceFunc *func, gpointer *data); }; typedef void (*GSourceDummyMarshal) (void); struct _GSourceFuncs { gboolean (*prepare) (GSource *source, gint *timeout_); gboolean (*check) (GSource *source); gboolean (*dispatch) (GSource *source, GSourceFunc callback, gpointer user_data); void (*finalize) (GSource *source); GSourceFunc closure_callback; GSourceDummyMarshal closure_marshal; }; # 329 "/usr/include/glib-2.0/glib/gmain.h" #define G_PRIORITY_HIGH -100 # 340 "/usr/include/glib-2.0/glib/gmain.h" #define G_PRIORITY_DEFAULT 0 # 352 "/usr/include/glib-2.0/glib/gmain.h" #define G_PRIORITY_HIGH_IDLE 100 # 362 "/usr/include/glib-2.0/glib/gmain.h" #define G_PRIORITY_DEFAULT_IDLE 200 # 371 "/usr/include/glib-2.0/glib/gmain.h" #define G_PRIORITY_LOW 300 # 381 "/usr/include/glib-2.0/glib/gmain.h" #define G_SOURCE_REMOVE FALSE # 391 "/usr/include/glib-2.0/glib/gmain.h" #define G_SOURCE_CONTINUE TRUE extern GMainContext *g_main_context_new (void); # 397 "/usr/include/glib-2.0/glib/gmain.h" #pragma GCC diagnostic push # 397 "/usr/include/glib-2.0/glib/gmain.h" # 397 "/usr/include/glib-2.0/glib/gmain.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" extern GMainContext *g_main_context_new_with_flags (GMainContextFlags flags); # 400 "/usr/include/glib-2.0/glib/gmain.h" #pragma GCC diagnostic pop extern GMainContext *g_main_context_ref (GMainContext *context); extern void g_main_context_unref (GMainContext *context); extern GMainContext *g_main_context_default (void); extern gboolean g_main_context_iteration (GMainContext *context, gboolean may_block); extern gboolean g_main_context_pending (GMainContext *context); extern GSource *g_main_context_find_source_by_id (GMainContext *context, guint source_id); extern GSource *g_main_context_find_source_by_user_data (GMainContext *context, gpointer user_data); extern GSource *g_main_context_find_source_by_funcs_user_data (GMainContext *context, GSourceFuncs *funcs, gpointer user_data); extern void g_main_context_wakeup (GMainContext *context); extern gboolean g_main_context_acquire (GMainContext *context); extern void g_main_context_release (GMainContext *context); extern gboolean g_main_context_is_owner (GMainContext *context); __attribute__((__deprecated__("Use '" "g_main_context_is_owner" "' instead"))) extern gboolean g_main_context_wait (GMainContext *context, GCond *cond, GMutex *mutex); extern gboolean g_main_context_prepare (GMainContext *context, gint *priority); extern gint g_main_context_query (GMainContext *context, gint max_priority, gint *timeout_, GPollFD *fds, gint n_fds); extern gboolean g_main_context_check (GMainContext *context, gint max_priority, GPollFD *fds, gint n_fds); extern void g_main_context_dispatch (GMainContext *context); extern void g_main_context_set_poll_func (GMainContext *context, GPollFunc func); extern GPollFunc g_main_context_get_poll_func (GMainContext *context); extern void g_main_context_add_poll (GMainContext *context, GPollFD *fd, gint priority); extern void g_main_context_remove_poll (GMainContext *context, GPollFD *fd); extern gint g_main_depth (void); extern GSource *g_main_current_source (void); extern void g_main_context_push_thread_default (GMainContext *context); extern void g_main_context_pop_thread_default (GMainContext *context); extern GMainContext *g_main_context_get_thread_default (void); extern GMainContext *g_main_context_ref_thread_default (void); # 498 "/usr/include/glib-2.0/glib/gmain.h" typedef void GMainContextPusher ; # 545 "/usr/include/glib-2.0/glib/gmain.h" # 545 "/usr/include/glib-2.0/glib/gmain.h" #pragma GCC diagnostic push # 545 "/usr/include/glib-2.0/glib/gmain.h" # 545 "/usr/include/glib-2.0/glib/gmain.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" static inline GMainContextPusher * g_main_context_pusher_new (GMainContext *main_context) { g_main_context_push_thread_default (main_context); return (GMainContextPusher *) main_context; } # 553 "/usr/include/glib-2.0/glib/gmain.h" #pragma GCC diagnostic pop # 567 "/usr/include/glib-2.0/glib/gmain.h" # 567 "/usr/include/glib-2.0/glib/gmain.h" #pragma GCC diagnostic push # 567 "/usr/include/glib-2.0/glib/gmain.h" # 567 "/usr/include/glib-2.0/glib/gmain.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" static inline void g_main_context_pusher_free (GMainContextPusher *pusher) { g_main_context_pop_thread_default ((GMainContext *) pusher); } # 574 "/usr/include/glib-2.0/glib/gmain.h" #pragma GCC diagnostic pop extern GMainLoop *g_main_loop_new (GMainContext *context, gboolean is_running); extern void g_main_loop_run (GMainLoop *loop); extern void g_main_loop_quit (GMainLoop *loop); extern GMainLoop *g_main_loop_ref (GMainLoop *loop); extern void g_main_loop_unref (GMainLoop *loop); extern gboolean g_main_loop_is_running (GMainLoop *loop); extern GMainContext *g_main_loop_get_context (GMainLoop *loop); extern GSource *g_source_new (GSourceFuncs *source_funcs, guint struct_size); # 600 "/usr/include/glib-2.0/glib/gmain.h" #pragma GCC diagnostic push # 600 "/usr/include/glib-2.0/glib/gmain.h" # 600 "/usr/include/glib-2.0/glib/gmain.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" extern void g_source_set_dispose_function (GSource *source, GSourceDisposeFunc dispose); # 604 "/usr/include/glib-2.0/glib/gmain.h" #pragma GCC diagnostic pop extern GSource *g_source_ref (GSource *source); extern void g_source_unref (GSource *source); extern guint g_source_attach (GSource *source, GMainContext *context); extern void g_source_destroy (GSource *source); extern void g_source_set_priority (GSource *source, gint priority); extern gint g_source_get_priority (GSource *source); extern void g_source_set_can_recurse (GSource *source, gboolean can_recurse); extern gboolean g_source_get_can_recurse (GSource *source); extern guint g_source_get_id (GSource *source); extern GMainContext *g_source_get_context (GSource *source); extern void g_source_set_callback (GSource *source, GSourceFunc func, gpointer data, GDestroyNotify notify); extern void g_source_set_funcs (GSource *source, GSourceFuncs *funcs); extern gboolean g_source_is_destroyed (GSource *source); extern void g_source_set_name (GSource *source, const char *name); extern void g_source_set_static_name (GSource *source, const char *name); extern const char * g_source_get_name (GSource *source); extern void g_source_set_name_by_id (guint tag, const char *name); extern void g_source_set_ready_time (GSource *source, gint64 ready_time); extern gint64 g_source_get_ready_time (GSource *source); extern gpointer g_source_add_unix_fd (GSource *source, gint fd, GIOCondition events); extern void g_source_modify_unix_fd (GSource *source, gpointer tag, GIOCondition new_events); extern void g_source_remove_unix_fd (GSource *source, gpointer tag); extern GIOCondition g_source_query_unix_fd (GSource *source, gpointer tag); extern void g_source_set_callback_indirect (GSource *source, gpointer callback_data, GSourceCallbackFuncs *callback_funcs); extern void g_source_add_poll (GSource *source, GPollFD *fd); extern void g_source_remove_poll (GSource *source, GPollFD *fd); extern void g_source_add_child_source (GSource *source, GSource *child_source); extern void g_source_remove_child_source (GSource *source, GSource *child_source); # 700 "/usr/include/glib-2.0/glib/gmain.h" #pragma GCC diagnostic push # 700 "/usr/include/glib-2.0/glib/gmain.h" # 700 "/usr/include/glib-2.0/glib/gmain.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" __attribute__((__deprecated__("Use '" "g_source_get_time" "' instead"))) extern void g_source_get_current_time (GSource *source, GTimeVal *timeval); # 704 "/usr/include/glib-2.0/glib/gmain.h" #pragma GCC diagnostic pop extern gint64 g_source_get_time (GSource *source); extern GSource *g_idle_source_new (void); extern GSource *g_child_watch_source_new (GPid pid); extern GSource *g_timeout_source_new (guint interval); extern GSource *g_timeout_source_new_seconds (guint interval); # 726 "/usr/include/glib-2.0/glib/gmain.h" #pragma GCC diagnostic push # 726 "/usr/include/glib-2.0/glib/gmain.h" # 726 "/usr/include/glib-2.0/glib/gmain.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" __attribute__((__deprecated__("Use '" "g_get_real_time" "' instead"))) extern void g_get_current_time (GTimeVal *result); # 729 "/usr/include/glib-2.0/glib/gmain.h" #pragma GCC diagnostic pop extern gint64 g_get_monotonic_time (void); extern gint64 g_get_real_time (void); extern gboolean g_source_remove (guint tag); extern gboolean g_source_remove_by_user_data (gpointer user_data); extern gboolean g_source_remove_by_funcs_user_data (GSourceFuncs *funcs, gpointer user_data); # 757 "/usr/include/glib-2.0/glib/gmain.h" typedef void (* GClearHandleFunc) (guint handle_id); extern void g_clear_handle_id (guint *tag_ptr, GClearHandleFunc clear_func); #define g_clear_handle_id(tag_ptr,clear_func) G_STMT_START { G_STATIC_ASSERT (sizeof *(tag_ptr) == sizeof (guint)); guint *_tag_ptr = (guint *) (tag_ptr); guint _handle_id; _handle_id = *_tag_ptr; if (_handle_id > 0) { *_tag_ptr = 0; clear_func (_handle_id); } } G_STMT_END GLIB_AVAILABLE_MACRO_IN_2_56 # 779 "/usr/include/glib-2.0/glib/gmain.h" extern guint g_timeout_add_full (gint priority, guint interval, GSourceFunc function, gpointer data, GDestroyNotify notify); extern guint g_timeout_add (guint interval, GSourceFunc function, gpointer data); extern guint g_timeout_add_once (guint interval, GSourceOnceFunc function, gpointer data); extern guint g_timeout_add_seconds_full (gint priority, guint interval, GSourceFunc function, gpointer data, GDestroyNotify notify); extern guint g_timeout_add_seconds (guint interval, GSourceFunc function, gpointer data); extern guint g_timeout_add_seconds_once (guint interval, GSourceOnceFunc function, gpointer data); extern guint g_child_watch_add_full (gint priority, GPid pid, GChildWatchFunc function, gpointer data, GDestroyNotify notify); extern guint g_child_watch_add (GPid pid, GChildWatchFunc function, gpointer data); extern guint g_idle_add (GSourceFunc function, gpointer data); extern guint g_idle_add_full (gint priority, GSourceFunc function, gpointer data, GDestroyNotify notify); extern guint g_idle_add_once (GSourceOnceFunc function, gpointer data); extern gboolean g_idle_remove_by_data (gpointer data); extern void g_main_context_invoke_full (GMainContext *context, gint priority, GSourceFunc function, gpointer data, GDestroyNotify notify); extern void g_main_context_invoke (GMainContext *context, GSourceFunc function, gpointer data); static inline int g_steal_fd (int *fd_ptr) { int fd = *fd_ptr; *fd_ptr = -1; return fd; } extern GSourceFuncs g_timeout_funcs; extern GSourceFuncs g_child_watch_funcs; extern GSourceFuncs g_idle_funcs; extern GSourceFuncs g_unix_signal_funcs; extern GSourceFuncs g_unix_fd_source_funcs; # 36 "/usr/include/glib-2.0/glib/giochannel.h" 2 # 1 "/usr/include/glib-2.0/glib/gstring.h" 1 # 28 "/usr/include/glib-2.0/glib/gstring.h" #define __G_STRING_H__ # 1 "/usr/include/glib-2.0/glib/gunicode.h" 1 # 23 "/usr/include/glib-2.0/glib/gunicode.h" #define __G_UNICODE_H__ # 32 "/usr/include/glib-2.0/glib/gunicode.h" # 61 "/usr/include/glib-2.0/glib/gunicode.h" typedef guint32 gunichar; # 79 "/usr/include/glib-2.0/glib/gunicode.h" typedef guint16 gunichar2; # 118 "/usr/include/glib-2.0/glib/gunicode.h" typedef enum { G_UNICODE_CONTROL, G_UNICODE_FORMAT, G_UNICODE_UNASSIGNED, G_UNICODE_PRIVATE_USE, G_UNICODE_SURROGATE, G_UNICODE_LOWERCASE_LETTER, G_UNICODE_MODIFIER_LETTER, G_UNICODE_OTHER_LETTER, G_UNICODE_TITLECASE_LETTER, G_UNICODE_UPPERCASE_LETTER, G_UNICODE_SPACING_MARK, G_UNICODE_ENCLOSING_MARK, G_UNICODE_NON_SPACING_MARK, G_UNICODE_DECIMAL_NUMBER, G_UNICODE_LETTER_NUMBER, G_UNICODE_OTHER_NUMBER, G_UNICODE_CONNECT_PUNCTUATION, G_UNICODE_DASH_PUNCTUATION, G_UNICODE_CLOSE_PUNCTUATION, G_UNICODE_FINAL_PUNCTUATION, G_UNICODE_INITIAL_PUNCTUATION, G_UNICODE_OTHER_PUNCTUATION, G_UNICODE_OPEN_PUNCTUATION, G_UNICODE_CURRENCY_SYMBOL, G_UNICODE_MODIFIER_SYMBOL, G_UNICODE_MATH_SYMBOL, G_UNICODE_OTHER_SYMBOL, G_UNICODE_LINE_SEPARATOR, G_UNICODE_PARAGRAPH_SEPARATOR, G_UNICODE_SPACE_SEPARATOR } GUnicodeType; # 159 "/usr/include/glib-2.0/glib/gunicode.h" #define G_UNICODE_COMBINING_MARK G_UNICODE_SPACING_MARK GLIB_DEPRECATED_MACRO_IN_2_30_FOR(G_UNICODE_SPACING_MARK) # 215 "/usr/include/glib-2.0/glib/gunicode.h" typedef enum { G_UNICODE_BREAK_MANDATORY, G_UNICODE_BREAK_CARRIAGE_RETURN, G_UNICODE_BREAK_LINE_FEED, G_UNICODE_BREAK_COMBINING_MARK, G_UNICODE_BREAK_SURROGATE, G_UNICODE_BREAK_ZERO_WIDTH_SPACE, G_UNICODE_BREAK_INSEPARABLE, G_UNICODE_BREAK_NON_BREAKING_GLUE, G_UNICODE_BREAK_CONTINGENT, G_UNICODE_BREAK_SPACE, G_UNICODE_BREAK_AFTER, G_UNICODE_BREAK_BEFORE, G_UNICODE_BREAK_BEFORE_AND_AFTER, G_UNICODE_BREAK_HYPHEN, G_UNICODE_BREAK_NON_STARTER, G_UNICODE_BREAK_OPEN_PUNCTUATION, G_UNICODE_BREAK_CLOSE_PUNCTUATION, G_UNICODE_BREAK_QUOTATION, G_UNICODE_BREAK_EXCLAMATION, G_UNICODE_BREAK_IDEOGRAPHIC, G_UNICODE_BREAK_NUMERIC, G_UNICODE_BREAK_INFIX_SEPARATOR, G_UNICODE_BREAK_SYMBOL, G_UNICODE_BREAK_ALPHABETIC, G_UNICODE_BREAK_PREFIX, G_UNICODE_BREAK_POSTFIX, G_UNICODE_BREAK_COMPLEX_CONTEXT, G_UNICODE_BREAK_AMBIGUOUS, G_UNICODE_BREAK_UNKNOWN, G_UNICODE_BREAK_NEXT_LINE, G_UNICODE_BREAK_WORD_JOINER, G_UNICODE_BREAK_HANGUL_L_JAMO, G_UNICODE_BREAK_HANGUL_V_JAMO, G_UNICODE_BREAK_HANGUL_T_JAMO, G_UNICODE_BREAK_HANGUL_LV_SYLLABLE, G_UNICODE_BREAK_HANGUL_LVT_SYLLABLE, G_UNICODE_BREAK_CLOSE_PARANTHESIS, G_UNICODE_BREAK_CLOSE_PARENTHESIS = G_UNICODE_BREAK_CLOSE_PARANTHESIS, G_UNICODE_BREAK_CONDITIONAL_JAPANESE_STARTER, G_UNICODE_BREAK_HEBREW_LETTER, G_UNICODE_BREAK_REGIONAL_INDICATOR, G_UNICODE_BREAK_EMOJI_BASE, G_UNICODE_BREAK_EMOJI_MODIFIER, G_UNICODE_BREAK_ZERO_WIDTH_JOINER } GUnicodeBreakType; # 453 "/usr/include/glib-2.0/glib/gunicode.h" typedef enum { G_UNICODE_SCRIPT_INVALID_CODE = -1, G_UNICODE_SCRIPT_COMMON = 0, G_UNICODE_SCRIPT_INHERITED, G_UNICODE_SCRIPT_ARABIC, G_UNICODE_SCRIPT_ARMENIAN, G_UNICODE_SCRIPT_BENGALI, G_UNICODE_SCRIPT_BOPOMOFO, G_UNICODE_SCRIPT_CHEROKEE, G_UNICODE_SCRIPT_COPTIC, G_UNICODE_SCRIPT_CYRILLIC, G_UNICODE_SCRIPT_DESERET, G_UNICODE_SCRIPT_DEVANAGARI, G_UNICODE_SCRIPT_ETHIOPIC, G_UNICODE_SCRIPT_GEORGIAN, G_UNICODE_SCRIPT_GOTHIC, G_UNICODE_SCRIPT_GREEK, G_UNICODE_SCRIPT_GUJARATI, G_UNICODE_SCRIPT_GURMUKHI, G_UNICODE_SCRIPT_HAN, G_UNICODE_SCRIPT_HANGUL, G_UNICODE_SCRIPT_HEBREW, G_UNICODE_SCRIPT_HIRAGANA, G_UNICODE_SCRIPT_KANNADA, G_UNICODE_SCRIPT_KATAKANA, G_UNICODE_SCRIPT_KHMER, G_UNICODE_SCRIPT_LAO, G_UNICODE_SCRIPT_LATIN, G_UNICODE_SCRIPT_MALAYALAM, G_UNICODE_SCRIPT_MONGOLIAN, G_UNICODE_SCRIPT_MYANMAR, G_UNICODE_SCRIPT_OGHAM, G_UNICODE_SCRIPT_OLD_ITALIC, G_UNICODE_SCRIPT_ORIYA, G_UNICODE_SCRIPT_RUNIC, G_UNICODE_SCRIPT_SINHALA, G_UNICODE_SCRIPT_SYRIAC, G_UNICODE_SCRIPT_TAMIL, G_UNICODE_SCRIPT_TELUGU, G_UNICODE_SCRIPT_THAANA, G_UNICODE_SCRIPT_THAI, G_UNICODE_SCRIPT_TIBETAN, G_UNICODE_SCRIPT_CANADIAN_ABORIGINAL, G_UNICODE_SCRIPT_YI, G_UNICODE_SCRIPT_TAGALOG, G_UNICODE_SCRIPT_HANUNOO, G_UNICODE_SCRIPT_BUHID, G_UNICODE_SCRIPT_TAGBANWA, G_UNICODE_SCRIPT_BRAILLE, G_UNICODE_SCRIPT_CYPRIOT, G_UNICODE_SCRIPT_LIMBU, G_UNICODE_SCRIPT_OSMANYA, G_UNICODE_SCRIPT_SHAVIAN, G_UNICODE_SCRIPT_LINEAR_B, G_UNICODE_SCRIPT_TAI_LE, G_UNICODE_SCRIPT_UGARITIC, G_UNICODE_SCRIPT_NEW_TAI_LUE, G_UNICODE_SCRIPT_BUGINESE, G_UNICODE_SCRIPT_GLAGOLITIC, G_UNICODE_SCRIPT_TIFINAGH, G_UNICODE_SCRIPT_SYLOTI_NAGRI, G_UNICODE_SCRIPT_OLD_PERSIAN, G_UNICODE_SCRIPT_KHAROSHTHI, G_UNICODE_SCRIPT_UNKNOWN, G_UNICODE_SCRIPT_BALINESE, G_UNICODE_SCRIPT_CUNEIFORM, G_UNICODE_SCRIPT_PHOENICIAN, G_UNICODE_SCRIPT_PHAGS_PA, G_UNICODE_SCRIPT_NKO, G_UNICODE_SCRIPT_KAYAH_LI, G_UNICODE_SCRIPT_LEPCHA, G_UNICODE_SCRIPT_REJANG, G_UNICODE_SCRIPT_SUNDANESE, G_UNICODE_SCRIPT_SAURASHTRA, G_UNICODE_SCRIPT_CHAM, G_UNICODE_SCRIPT_OL_CHIKI, G_UNICODE_SCRIPT_VAI, G_UNICODE_SCRIPT_CARIAN, G_UNICODE_SCRIPT_LYCIAN, G_UNICODE_SCRIPT_LYDIAN, G_UNICODE_SCRIPT_AVESTAN, G_UNICODE_SCRIPT_BAMUM, G_UNICODE_SCRIPT_EGYPTIAN_HIEROGLYPHS, G_UNICODE_SCRIPT_IMPERIAL_ARAMAIC, G_UNICODE_SCRIPT_INSCRIPTIONAL_PAHLAVI, G_UNICODE_SCRIPT_INSCRIPTIONAL_PARTHIAN, G_UNICODE_SCRIPT_JAVANESE, G_UNICODE_SCRIPT_KAITHI, G_UNICODE_SCRIPT_LISU, G_UNICODE_SCRIPT_MEETEI_MAYEK, G_UNICODE_SCRIPT_OLD_SOUTH_ARABIAN, G_UNICODE_SCRIPT_OLD_TURKIC, G_UNICODE_SCRIPT_SAMARITAN, G_UNICODE_SCRIPT_TAI_THAM, G_UNICODE_SCRIPT_TAI_VIET, G_UNICODE_SCRIPT_BATAK, G_UNICODE_SCRIPT_BRAHMI, G_UNICODE_SCRIPT_MANDAIC, G_UNICODE_SCRIPT_CHAKMA, G_UNICODE_SCRIPT_MEROITIC_CURSIVE, G_UNICODE_SCRIPT_MEROITIC_HIEROGLYPHS, G_UNICODE_SCRIPT_MIAO, G_UNICODE_SCRIPT_SHARADA, G_UNICODE_SCRIPT_SORA_SOMPENG, G_UNICODE_SCRIPT_TAKRI, G_UNICODE_SCRIPT_BASSA_VAH, G_UNICODE_SCRIPT_CAUCASIAN_ALBANIAN, G_UNICODE_SCRIPT_DUPLOYAN, G_UNICODE_SCRIPT_ELBASAN, G_UNICODE_SCRIPT_GRANTHA, G_UNICODE_SCRIPT_KHOJKI, G_UNICODE_SCRIPT_KHUDAWADI, G_UNICODE_SCRIPT_LINEAR_A, G_UNICODE_SCRIPT_MAHAJANI, G_UNICODE_SCRIPT_MANICHAEAN, G_UNICODE_SCRIPT_MENDE_KIKAKUI, G_UNICODE_SCRIPT_MODI, G_UNICODE_SCRIPT_MRO, G_UNICODE_SCRIPT_NABATAEAN, G_UNICODE_SCRIPT_OLD_NORTH_ARABIAN, G_UNICODE_SCRIPT_OLD_PERMIC, G_UNICODE_SCRIPT_PAHAWH_HMONG, G_UNICODE_SCRIPT_PALMYRENE, G_UNICODE_SCRIPT_PAU_CIN_HAU, G_UNICODE_SCRIPT_PSALTER_PAHLAVI, G_UNICODE_SCRIPT_SIDDHAM, G_UNICODE_SCRIPT_TIRHUTA, G_UNICODE_SCRIPT_WARANG_CITI, G_UNICODE_SCRIPT_AHOM, G_UNICODE_SCRIPT_ANATOLIAN_HIEROGLYPHS, G_UNICODE_SCRIPT_HATRAN, G_UNICODE_SCRIPT_MULTANI, G_UNICODE_SCRIPT_OLD_HUNGARIAN, G_UNICODE_SCRIPT_SIGNWRITING, G_UNICODE_SCRIPT_ADLAM, G_UNICODE_SCRIPT_BHAIKSUKI, G_UNICODE_SCRIPT_MARCHEN, G_UNICODE_SCRIPT_NEWA, G_UNICODE_SCRIPT_OSAGE, G_UNICODE_SCRIPT_TANGUT, G_UNICODE_SCRIPT_MASARAM_GONDI, G_UNICODE_SCRIPT_NUSHU, G_UNICODE_SCRIPT_SOYOMBO, G_UNICODE_SCRIPT_ZANABAZAR_SQUARE, G_UNICODE_SCRIPT_DOGRA, G_UNICODE_SCRIPT_GUNJALA_GONDI, G_UNICODE_SCRIPT_HANIFI_ROHINGYA, G_UNICODE_SCRIPT_MAKASAR, G_UNICODE_SCRIPT_MEDEFAIDRIN, G_UNICODE_SCRIPT_OLD_SOGDIAN, G_UNICODE_SCRIPT_SOGDIAN, G_UNICODE_SCRIPT_ELYMAIC, G_UNICODE_SCRIPT_NANDINAGARI, G_UNICODE_SCRIPT_NYIAKENG_PUACHUE_HMONG, G_UNICODE_SCRIPT_WANCHO, G_UNICODE_SCRIPT_CHORASMIAN, G_UNICODE_SCRIPT_DIVES_AKURU, G_UNICODE_SCRIPT_KHITAN_SMALL_SCRIPT, G_UNICODE_SCRIPT_YEZIDI, G_UNICODE_SCRIPT_CYPRO_MINOAN, G_UNICODE_SCRIPT_OLD_UYGHUR, G_UNICODE_SCRIPT_TANGSA, G_UNICODE_SCRIPT_TOTO, G_UNICODE_SCRIPT_VITHKUQI, G_UNICODE_SCRIPT_MATH, G_UNICODE_SCRIPT_KAWI , G_UNICODE_SCRIPT_NAG_MUNDARI , } GUnicodeScript; extern guint32 g_unicode_script_to_iso15924 (GUnicodeScript script); extern GUnicodeScript g_unicode_script_from_iso15924 (guint32 iso15924); extern gboolean g_unichar_isalnum (gunichar c) __attribute__ ((__const__)); extern gboolean g_unichar_isalpha (gunichar c) __attribute__ ((__const__)); extern gboolean g_unichar_iscntrl (gunichar c) __attribute__ ((__const__)); extern gboolean g_unichar_isdigit (gunichar c) __attribute__ ((__const__)); extern gboolean g_unichar_isgraph (gunichar c) __attribute__ ((__const__)); extern gboolean g_unichar_islower (gunichar c) __attribute__ ((__const__)); extern gboolean g_unichar_isprint (gunichar c) __attribute__ ((__const__)); extern gboolean g_unichar_ispunct (gunichar c) __attribute__ ((__const__)); extern gboolean g_unichar_isspace (gunichar c) __attribute__ ((__const__)); extern gboolean g_unichar_isupper (gunichar c) __attribute__ ((__const__)); extern gboolean g_unichar_isxdigit (gunichar c) __attribute__ ((__const__)); extern gboolean g_unichar_istitle (gunichar c) __attribute__ ((__const__)); extern gboolean g_unichar_isdefined (gunichar c) __attribute__ ((__const__)); extern gboolean g_unichar_iswide (gunichar c) __attribute__ ((__const__)); extern gboolean g_unichar_iswide_cjk(gunichar c) __attribute__ ((__const__)); extern gboolean g_unichar_iszerowidth(gunichar c) __attribute__ ((__const__)); extern gboolean g_unichar_ismark (gunichar c) __attribute__ ((__const__)); extern gunichar g_unichar_toupper (gunichar c) __attribute__ ((__const__)); extern gunichar g_unichar_tolower (gunichar c) __attribute__ ((__const__)); extern gunichar g_unichar_totitle (gunichar c) __attribute__ ((__const__)); extern gint g_unichar_digit_value (gunichar c) __attribute__ ((__const__)); extern gint g_unichar_xdigit_value (gunichar c) __attribute__ ((__const__)); extern GUnicodeType g_unichar_type (gunichar c) __attribute__ ((__const__)); extern GUnicodeBreakType g_unichar_break_type (gunichar c) __attribute__ ((__const__)); extern gint g_unichar_combining_class (gunichar uc) __attribute__ ((__const__)); extern gboolean g_unichar_get_mirror_char (gunichar ch, gunichar *mirrored_ch); extern GUnicodeScript g_unichar_get_script (gunichar ch) __attribute__ ((__const__)); extern gboolean g_unichar_validate (gunichar ch) __attribute__ ((__const__)); extern gboolean g_unichar_compose (gunichar a, gunichar b, gunichar *ch); extern gboolean g_unichar_decompose (gunichar ch, gunichar *a, gunichar *b); extern gsize g_unichar_fully_decompose (gunichar ch, gboolean compat, gunichar *result, gsize result_len); # 765 "/usr/include/glib-2.0/glib/gunicode.h" #define G_UNICHAR_MAX_DECOMPOSITION_LENGTH 18 extern void g_unicode_canonical_ordering (gunichar *string, gsize len); __attribute__((__deprecated__)) extern gunichar *g_unicode_canonical_decomposition (gunichar ch, gsize *result_len) __attribute__ ((__malloc__)); extern const gchar * const g_utf8_skip; # 799 "/usr/include/glib-2.0/glib/gunicode.h" #define g_utf8_next_char(p) (char *)((p) + g_utf8_skip[*(const guchar *)(p)]) extern gunichar g_utf8_get_char (const gchar *p) __attribute__((__pure__)); extern gunichar g_utf8_get_char_validated (const gchar *p, gssize max_len) __attribute__((__pure__)); extern gchar* g_utf8_offset_to_pointer (const gchar *str, glong offset) __attribute__((__pure__)); extern glong g_utf8_pointer_to_offset (const gchar *str, const gchar *pos) __attribute__((__pure__)); extern gchar* g_utf8_prev_char (const gchar *p) __attribute__((__pure__)); extern gchar* g_utf8_find_next_char (const gchar *p, const gchar *end) __attribute__((__pure__)); extern gchar* g_utf8_find_prev_char (const gchar *str, const gchar *p) __attribute__((__pure__)); extern glong g_utf8_strlen (const gchar *p, gssize max) __attribute__((__pure__)); extern gchar *g_utf8_substring (const gchar *str, glong start_pos, glong end_pos) __attribute__ ((__malloc__)); extern gchar *g_utf8_strncpy (gchar *dest, const gchar *src, gsize n); extern gchar *g_utf8_truncate_middle (const gchar *string, gsize truncate_length); extern gchar* g_utf8_strchr (const gchar *p, gssize len, gunichar c); extern gchar* g_utf8_strrchr (const gchar *p, gssize len, gunichar c); extern gchar* g_utf8_strreverse (const gchar *str, gssize len); extern gunichar2 *g_utf8_to_utf16 (const gchar *str, glong len, glong *items_read, glong *items_written, GError **error) __attribute__ ((__malloc__)); extern gunichar * g_utf8_to_ucs4 (const gchar *str, glong len, glong *items_read, glong *items_written, GError **error) __attribute__ ((__malloc__)); extern gunichar * g_utf8_to_ucs4_fast (const gchar *str, glong len, glong *items_written) __attribute__ ((__malloc__)); extern gunichar * g_utf16_to_ucs4 (const gunichar2 *str, glong len, glong *items_read, glong *items_written, GError **error) __attribute__ ((__malloc__)); extern gchar* g_utf16_to_utf8 (const gunichar2 *str, glong len, glong *items_read, glong *items_written, GError **error) __attribute__ ((__malloc__)); extern gunichar2 *g_ucs4_to_utf16 (const gunichar *str, glong len, glong *items_read, glong *items_written, GError **error) __attribute__ ((__malloc__)); extern gchar* g_ucs4_to_utf8 (const gunichar *str, glong len, glong *items_read, glong *items_written, GError **error) __attribute__ ((__malloc__)); extern gint g_unichar_to_utf8 (gunichar c, gchar *outbuf); extern gboolean g_utf8_validate (const gchar *str, gssize max_len, const gchar **end); extern gboolean g_utf8_validate_len (const gchar *str, gsize max_len, const gchar **end); extern gchar *g_utf8_strup (const gchar *str, gssize len) __attribute__ ((__malloc__)); extern gchar *g_utf8_strdown (const gchar *str, gssize len) __attribute__ ((__malloc__)); extern gchar *g_utf8_casefold (const gchar *str, gssize len) __attribute__ ((__malloc__)); # 942 "/usr/include/glib-2.0/glib/gunicode.h" typedef enum { G_NORMALIZE_DEFAULT, G_NORMALIZE_NFD = G_NORMALIZE_DEFAULT, G_NORMALIZE_DEFAULT_COMPOSE, G_NORMALIZE_NFC = G_NORMALIZE_DEFAULT_COMPOSE, G_NORMALIZE_ALL, G_NORMALIZE_NFKD = G_NORMALIZE_ALL, G_NORMALIZE_ALL_COMPOSE, G_NORMALIZE_NFKC = G_NORMALIZE_ALL_COMPOSE } GNormalizeMode; extern gchar *g_utf8_normalize (const gchar *str, gssize len, GNormalizeMode mode) __attribute__ ((__malloc__)); extern gint g_utf8_collate (const gchar *str1, const gchar *str2) __attribute__((__pure__)); extern gchar *g_utf8_collate_key (const gchar *str, gssize len) __attribute__ ((__malloc__)); extern gchar *g_utf8_collate_key_for_filename (const gchar *str, gssize len) __attribute__ ((__malloc__)); extern gchar *g_utf8_make_valid (const gchar *str, gssize len) __attribute__ ((__malloc__)); # 36 "/usr/include/glib-2.0/glib/gstring.h" 2 # 1 "/usr/include/glib-2.0/glib/gstrfuncs.h" 1 # 28 "/usr/include/glib-2.0/glib/gstrfuncs.h" #define __G_STRFUNCS_H__ # 42 "/usr/include/glib-2.0/glib/gstrfuncs.h" typedef enum { G_ASCII_ALNUM = 1 << 0, G_ASCII_ALPHA = 1 << 1, G_ASCII_CNTRL = 1 << 2, G_ASCII_DIGIT = 1 << 3, G_ASCII_GRAPH = 1 << 4, G_ASCII_LOWER = 1 << 5, G_ASCII_PRINT = 1 << 6, G_ASCII_PUNCT = 1 << 7, G_ASCII_SPACE = 1 << 8, G_ASCII_UPPER = 1 << 9, G_ASCII_XDIGIT = 1 << 10 } GAsciiType; extern const guint16 * const g_ascii_table; #define g_ascii_isalnum(c) ((g_ascii_table[(guchar) (c)] & G_ASCII_ALNUM) != 0) #define g_ascii_isalpha(c) ((g_ascii_table[(guchar) (c)] & G_ASCII_ALPHA) != 0) #define g_ascii_iscntrl(c) ((g_ascii_table[(guchar) (c)] & G_ASCII_CNTRL) != 0) #define g_ascii_isdigit(c) ((g_ascii_table[(guchar) (c)] & G_ASCII_DIGIT) != 0) #define g_ascii_isgraph(c) ((g_ascii_table[(guchar) (c)] & G_ASCII_GRAPH) != 0) #define g_ascii_islower(c) ((g_ascii_table[(guchar) (c)] & G_ASCII_LOWER) != 0) #define g_ascii_isprint(c) ((g_ascii_table[(guchar) (c)] & G_ASCII_PRINT) != 0) #define g_ascii_ispunct(c) ((g_ascii_table[(guchar) (c)] & G_ASCII_PUNCT) != 0) #define g_ascii_isspace(c) ((g_ascii_table[(guchar) (c)] & G_ASCII_SPACE) != 0) #define g_ascii_isupper(c) ((g_ascii_table[(guchar) (c)] & G_ASCII_UPPER) != 0) #define g_ascii_isxdigit(c) ((g_ascii_table[(guchar) (c)] & G_ASCII_XDIGIT) != 0) extern gchar g_ascii_tolower (gchar c) __attribute__ ((__const__)); extern gchar g_ascii_toupper (gchar c) __attribute__ ((__const__)); extern gint g_ascii_digit_value (gchar c) __attribute__ ((__const__)); extern gint g_ascii_xdigit_value (gchar c) __attribute__ ((__const__)); #define G_STR_DELIMITERS "_-|> <." extern gchar* g_strdelimit (gchar *string, const gchar *delimiters, gchar new_delimiter); extern gchar* g_strcanon (gchar *string, const gchar *valid_chars, gchar substitutor); extern const gchar * g_strerror (gint errnum) __attribute__ ((__const__)); extern const gchar * g_strsignal (gint signum) __attribute__ ((__const__)); extern gchar * g_strreverse (gchar *string); extern gsize g_strlcpy (gchar *dest, const gchar *src, gsize dest_size); extern gsize g_strlcat (gchar *dest, const gchar *src, gsize dest_size); extern gchar * g_strstr_len (const gchar *haystack, gssize haystack_len, const gchar *needle); extern gchar * g_strrstr (const gchar *haystack, const gchar *needle); extern gchar * g_strrstr_len (const gchar *haystack, gssize haystack_len, const gchar *needle); extern gboolean (g_str_has_suffix) (const gchar *str, const gchar *suffix); extern gboolean (g_str_has_prefix) (const gchar *str, const gchar *prefix); # 157 "/usr/include/glib-2.0/glib/gstrfuncs.h" #define _G_STR_NONNULL(x) ((x) + !(x)) #define g_str_has_prefix(STR,PREFIX) (__builtin_constant_p (PREFIX)? G_GNUC_EXTENSION ({ const char * const __str = (STR); const char * const __prefix = (PREFIX); gboolean __result = FALSE; if G_UNLIKELY (__str == NULL || __prefix == NULL) __result = (g_str_has_prefix) (__str, __prefix); else { const size_t __str_len = strlen (_G_STR_NONNULL (__str)); const size_t __prefix_len = strlen (_G_STR_NONNULL (__prefix)); if (__str_len >= __prefix_len) __result = memcmp (_G_STR_NONNULL (__str), _G_STR_NONNULL (__prefix), __prefix_len) == 0; } __result; }) : (g_str_has_prefix) (STR, PREFIX) ) # 183 "/usr/include/glib-2.0/glib/gstrfuncs.h" #define g_str_has_suffix(STR,SUFFIX) (__builtin_constant_p (SUFFIX)? G_GNUC_EXTENSION ({ const char * const __str = (STR); const char * const __suffix = (SUFFIX); gboolean __result = FALSE; if G_UNLIKELY (__str == NULL || __suffix == NULL) __result = (g_str_has_suffix) (__str, __suffix); else { const size_t __str_len = strlen (_G_STR_NONNULL (__str)); const size_t __suffix_len = strlen (_G_STR_NONNULL (__suffix)); if (__str_len >= __suffix_len) __result = memcmp (__str + __str_len - __suffix_len, _G_STR_NONNULL (__suffix), __suffix_len) == 0; } __result; }) : (g_str_has_suffix) (STR, SUFFIX) ) # 213 "/usr/include/glib-2.0/glib/gstrfuncs.h" extern gdouble g_strtod (const gchar *nptr, gchar **endptr); extern gdouble g_ascii_strtod (const gchar *nptr, gchar **endptr); extern guint64 g_ascii_strtoull (const gchar *nptr, gchar **endptr, guint base); extern gint64 g_ascii_strtoll (const gchar *nptr, gchar **endptr, guint base); #define G_ASCII_DTOSTR_BUF_SIZE (29 + 10) extern gchar * g_ascii_dtostr (gchar *buffer, gint buf_len, gdouble d); extern gchar * g_ascii_formatd (gchar *buffer, gint buf_len, const gchar *format, gdouble d); extern gchar* g_strchug (gchar *string); extern gchar* g_strchomp (gchar *string); #define g_strstrip(string) g_strchomp (g_strchug (string)) extern gint g_ascii_strcasecmp (const gchar *s1, const gchar *s2); extern gint g_ascii_strncasecmp (const gchar *s1, const gchar *s2, gsize n); extern gchar* g_ascii_strdown (const gchar *str, gssize len) __attribute__ ((__malloc__)); extern gchar* g_ascii_strup (const gchar *str, gssize len) __attribute__ ((__malloc__)); extern gboolean g_str_is_ascii (const gchar *str); __attribute__((__deprecated__)) extern gint g_strcasecmp (const gchar *s1, const gchar *s2); __attribute__((__deprecated__)) extern gint g_strncasecmp (const gchar *s1, const gchar *s2, guint n); __attribute__((__deprecated__)) extern gchar* g_strdown (gchar *string); __attribute__((__deprecated__)) extern gchar* g_strup (gchar *string); extern gchar* (g_strdup) (const gchar *str) __attribute__ ((__malloc__)); extern gchar* g_strdup_printf (const gchar *format, ...) __attribute__((__format__ (gnu_printf, 1, 2))) __attribute__ ((__malloc__)); extern gchar* g_strdup_vprintf (const gchar *format, va_list args) __attribute__((__format__ (gnu_printf, 1, 0))) __attribute__ ((__malloc__)); extern gchar* g_strndup (const gchar *str, gsize n) __attribute__ ((__malloc__)); extern gchar* g_strnfill (gsize length, gchar fill_char) __attribute__ ((__malloc__)); extern gchar* g_strconcat (const gchar *string1, ...) __attribute__ ((__malloc__)) __attribute__((__sentinel__)); extern gchar* g_strjoin (const gchar *separator, ...) __attribute__ ((__malloc__)) __attribute__((__sentinel__)); __attribute__ ((__always_inline__)) static inline char * g_strdup_inline (const char *str) { if (__builtin_constant_p (!str) && !str) return # 312 "/usr/include/glib-2.0/glib/gstrfuncs.h" 3 4 ((void *)0) # 312 "/usr/include/glib-2.0/glib/gstrfuncs.h" ; if (__builtin_constant_p (!!str) && !!str && __builtin_constant_p (strlen (str))) { const size_t len = strlen (str) + 1; char *dup_str = (char *) g_malloc (len); return (char *) memcpy (dup_str, str, len); } return g_strdup (str); } #define g_strdup(x) g_strdup_inline (x) # 334 "/usr/include/glib-2.0/glib/gstrfuncs.h" extern gchar* g_strcompress (const gchar *source) __attribute__ ((__malloc__)); # 345 "/usr/include/glib-2.0/glib/gstrfuncs.h" extern gchar* g_strescape (const gchar *source, const gchar *exceptions) __attribute__ ((__malloc__)); __attribute__((__deprecated__("Use '" "g_memdup2" "' instead"))) extern gpointer g_memdup (gconstpointer mem, guint byte_size) __attribute__((__alloc_size__(2))); extern gpointer g_memdup2 (gconstpointer mem, gsize byte_size) __attribute__((__alloc_size__(2))); # 366 "/usr/include/glib-2.0/glib/gstrfuncs.h" typedef gchar** GStrv; extern gchar** g_strsplit (const gchar *string, const gchar *delimiter, gint max_tokens); extern gchar ** g_strsplit_set (const gchar *string, const gchar *delimiters, gint max_tokens); extern gchar* g_strjoinv (const gchar *separator, gchar **str_array) __attribute__ ((__malloc__)); extern void g_strfreev (gchar **str_array); extern gchar** g_strdupv (gchar **str_array); extern guint g_strv_length (gchar **str_array); extern gchar* g_stpcpy (gchar *dest, const char *src); extern gchar * g_str_to_ascii (const gchar *str, const gchar *from_locale); extern gchar ** g_str_tokenize_and_fold (const gchar *string, const gchar *translit_locale, gchar ***ascii_alternates); extern gboolean g_str_match_string (const gchar *search_term, const gchar *potential_hit, gboolean accept_alternates); extern gboolean g_strv_contains (const gchar * const *strv, const gchar *str); extern gboolean g_strv_equal (const gchar * const *strv1, const gchar * const *strv2); # 422 "/usr/include/glib-2.0/glib/gstrfuncs.h" typedef enum { G_NUMBER_PARSER_ERROR_INVALID, G_NUMBER_PARSER_ERROR_OUT_OF_BOUNDS, } GNumberParserError; # 436 "/usr/include/glib-2.0/glib/gstrfuncs.h" #define G_NUMBER_PARSER_ERROR (g_number_parser_error_quark ()) extern GQuark g_number_parser_error_quark (void); extern gboolean g_ascii_string_to_signed (const gchar *str, guint base, gint64 min, gint64 max, gint64 *out_num, GError **error); extern gboolean g_ascii_string_to_unsigned (const gchar *str, guint base, guint64 min, guint64 max, guint64 *out_num, GError **error); # 484 "/usr/include/glib-2.0/glib/gstrfuncs.h" static inline gboolean g_set_str (char **str_pointer, const char *new_str) { char *copy; if (*str_pointer == new_str || (*str_pointer && new_str && strcmp (*str_pointer, new_str) == 0)) return (0); copy = g_strdup_inline (new_str); g_free (*str_pointer); *str_pointer = copy; return (!(0)); } # 38 "/usr/include/glib-2.0/glib/gstring.h" 2 typedef struct _GString GString; struct _GString { gchar *str; gsize len; gsize allocated_len; }; extern GString* g_string_new (const gchar *init); extern GString* g_string_new_take (gchar *init); extern GString* g_string_new_len (const gchar *init, gssize len); extern GString* g_string_sized_new (gsize dfl_size); extern gchar* (g_string_free) (GString *string, gboolean free_segment); extern gchar* g_string_free_and_steal (GString *string) __attribute__((warn_unused_result)); #define g_string_free(str,free_segment) (__builtin_constant_p (free_segment) ? ((free_segment) ? (g_string_free) ((str), (free_segment)) : g_string_free_and_steal (str)) : (g_string_free) ((str), (free_segment))) # 79 "/usr/include/glib-2.0/glib/gstring.h" extern GBytes* g_string_free_to_bytes (GString *string); extern gboolean g_string_equal (const GString *v, const GString *v2); extern guint g_string_hash (const GString *str); extern GString* g_string_assign (GString *string, const gchar *rval); extern GString* g_string_truncate (GString *string, gsize len); extern GString* g_string_set_size (GString *string, gsize len); extern GString* g_string_insert_len (GString *string, gssize pos, const gchar *val, gssize len); extern GString* g_string_append (GString *string, const gchar *val); extern GString* g_string_append_len (GString *string, const gchar *val, gssize len); extern GString* g_string_append_c (GString *string, gchar c); extern GString* g_string_append_unichar (GString *string, gunichar wc); extern GString* g_string_prepend (GString *string, const gchar *val); extern GString* g_string_prepend_c (GString *string, gchar c); extern GString* g_string_prepend_unichar (GString *string, gunichar wc); extern GString* g_string_prepend_len (GString *string, const gchar *val, gssize len); extern GString* g_string_insert (GString *string, gssize pos, const gchar *val); extern GString* g_string_insert_c (GString *string, gssize pos, gchar c); extern GString* g_string_insert_unichar (GString *string, gssize pos, gunichar wc); extern GString* g_string_overwrite (GString *string, gsize pos, const gchar *val); extern GString* g_string_overwrite_len (GString *string, gsize pos, const gchar *val, gssize len); extern GString* g_string_erase (GString *string, gssize pos, gssize len); extern guint g_string_replace (GString *string, const gchar *find, const gchar *replace, guint limit); extern GString* g_string_ascii_down (GString *string); extern GString* g_string_ascii_up (GString *string); extern void g_string_vprintf (GString *string, const gchar *format, va_list args) __attribute__((__format__ (gnu_printf, 2, 0))); extern void g_string_printf (GString *string, const gchar *format, ...) __attribute__((__format__ (gnu_printf, 2, 3))); extern void g_string_append_vprintf (GString *string, const gchar *format, va_list args) __attribute__((__format__ (gnu_printf, 2, 0))); extern void g_string_append_printf (GString *string, const gchar *format, ...) __attribute__((__format__ (gnu_printf, 2, 3))); extern GString* g_string_append_uri_escaped (GString *string, const gchar *unescaped, const gchar *reserved_chars_allowed, gboolean allow_utf8); # 193 "/usr/include/glib-2.0/glib/gstring.h" __attribute__ ((__always_inline__)) static inline GString* g_string_append_c_inline (GString *gstring, gchar c) { if ((__builtin_expect (__extension__ ({ int _g_boolean_var_3; if (gstring != # 198 "/usr/include/glib-2.0/glib/gstring.h" 3 4 ((void *)0) # 198 "/usr/include/glib-2.0/glib/gstring.h" && gstring->len + 1 < gstring->allocated_len) _g_boolean_var_3 = 1; else _g_boolean_var_3 = 0; _g_boolean_var_3; }), 1)) ) { gstring->str[gstring->len++] = c; gstring->str[gstring->len] = 0; } else g_string_insert_c (gstring, -1, c); return gstring; } #define g_string_append_c(gstr,c) g_string_append_c_inline (gstr, c) __attribute__ ((__always_inline__)) static inline GString * g_string_append_len_inline (GString *gstring, const char *val, gssize len) { gsize len_unsigned; if (__builtin_expect (__extension__ ({ int _g_boolean_var_4; if (gstring == # 220 "/usr/include/glib-2.0/glib/gstring.h" 3 4 ((void *)0) # 220 "/usr/include/glib-2.0/glib/gstring.h" ) _g_boolean_var_4 = 1; else _g_boolean_var_4 = 0; _g_boolean_var_4; }), 0)) return g_string_append_len (gstring, val, len); if (__builtin_expect (__extension__ ({ int _g_boolean_var_5; if (val == # 223 "/usr/include/glib-2.0/glib/gstring.h" 3 4 ((void *)0) # 223 "/usr/include/glib-2.0/glib/gstring.h" ) _g_boolean_var_5 = 1; else _g_boolean_var_5 = 0; _g_boolean_var_5; }), 0)) return (len != 0) ? g_string_append_len (gstring, val, len) : gstring; if (len < 0) len_unsigned = strlen (val); else len_unsigned = (gsize) len; if ((__builtin_expect (__extension__ ({ int _g_boolean_var_6; if (gstring->len + len_unsigned < gstring->allocated_len) _g_boolean_var_6 = 1; else _g_boolean_var_6 = 0; _g_boolean_var_6; }), 1))) { char *end = gstring->str + gstring->len; if ((__builtin_expect (__extension__ ({ int _g_boolean_var_7; if (val + len_unsigned <= end || val > end + len_unsigned) _g_boolean_var_7 = 1; else _g_boolean_var_7 = 0; _g_boolean_var_7; }), 1))) memcpy (end, val, len_unsigned); else memmove (end, val, len_unsigned); gstring->len += len_unsigned; gstring->str[gstring->len] = 0; return gstring; } else return g_string_insert_len (gstring, -1, val, len); } #define g_string_append_len(gstr,val,len) g_string_append_len_inline (gstr, val, len) __attribute__ ((__always_inline__)) static inline GString * g_string_truncate_inline (GString *gstring, gsize len) { gstring->len = (((len) < (gstring->len)) ? (len) : (gstring->len)); gstring->str[gstring->len] = '\0'; return gstring; } #define g_string_truncate(gstr,len) g_string_truncate_inline (gstr, len) #define g_string_append(gstr,val) (__builtin_constant_p (val) ? G_GNUC_EXTENSION ({ const char * const __val = (val); g_string_append_len (gstr, __val, G_LIKELY (__val != NULL) ? (gssize) strlen (_G_STR_NONNULL (__val)) : (gssize) -1); }) : g_string_append_len (gstr, val, (gssize) -1)) # 286 "/usr/include/glib-2.0/glib/gstring.h" __attribute__((__deprecated__)) extern GString *g_string_down (GString *string); __attribute__((__deprecated__)) extern GString *g_string_up (GString *string); #define g_string_sprintf g_string_printf GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_string_printf) #define g_string_sprintfa g_string_append_printf GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_string_append_printf) # 37 "/usr/include/glib-2.0/glib/giochannel.h" 2 typedef struct _GIOChannel GIOChannel; typedef struct _GIOFuncs GIOFuncs; typedef enum { G_IO_ERROR_NONE, G_IO_ERROR_AGAIN, G_IO_ERROR_INVAL, G_IO_ERROR_UNKNOWN } GIOError; #define G_IO_CHANNEL_ERROR g_io_channel_error_quark() typedef enum { G_IO_CHANNEL_ERROR_FBIG, G_IO_CHANNEL_ERROR_INVAL, G_IO_CHANNEL_ERROR_IO, G_IO_CHANNEL_ERROR_ISDIR, G_IO_CHANNEL_ERROR_NOSPC, G_IO_CHANNEL_ERROR_NXIO, G_IO_CHANNEL_ERROR_OVERFLOW, G_IO_CHANNEL_ERROR_PIPE, G_IO_CHANNEL_ERROR_FAILED } GIOChannelError; typedef enum { G_IO_STATUS_ERROR, G_IO_STATUS_NORMAL, G_IO_STATUS_EOF, G_IO_STATUS_AGAIN } GIOStatus; typedef enum { G_SEEK_CUR, G_SEEK_SET, G_SEEK_END } GSeekType; typedef enum { G_IO_FLAG_NONE = 0, G_IO_FLAG_APPEND = 1 << 0, G_IO_FLAG_NONBLOCK = 1 << 1, G_IO_FLAG_IS_READABLE = 1 << 2, G_IO_FLAG_IS_WRITABLE = 1 << 3, G_IO_FLAG_IS_WRITEABLE = 1 << 3, G_IO_FLAG_IS_SEEKABLE = 1 << 4, G_IO_FLAG_MASK = (1 << 5) - 1, G_IO_FLAG_GET_MASK = G_IO_FLAG_MASK, G_IO_FLAG_SET_MASK = G_IO_FLAG_APPEND | G_IO_FLAG_NONBLOCK } GIOFlags; struct _GIOChannel { gint ref_count; GIOFuncs *funcs; gchar *encoding; GIConv read_cd; GIConv write_cd; gchar *line_term; guint line_term_len; gsize buf_size; GString *read_buf; GString *encoded_read_buf; GString *write_buf; gchar partial_write_buf[6]; guint use_buffer : 1; guint do_encode : 1; guint close_on_unref : 1; guint is_readable : 1; guint is_writeable : 1; guint is_seekable : 1; gpointer reserved1; gpointer reserved2; }; typedef gboolean (*GIOFunc) (GIOChannel *source, GIOCondition condition, gpointer data); struct _GIOFuncs { GIOStatus (*io_read) (GIOChannel *channel, gchar *buf, gsize count, gsize *bytes_read, GError **err); GIOStatus (*io_write) (GIOChannel *channel, const gchar *buf, gsize count, gsize *bytes_written, GError **err); GIOStatus (*io_seek) (GIOChannel *channel, gint64 offset, GSeekType type, GError **err); GIOStatus (*io_close) (GIOChannel *channel, GError **err); GSource* (*io_create_watch) (GIOChannel *channel, GIOCondition condition); void (*io_free) (GIOChannel *channel); GIOStatus (*io_set_flags) (GIOChannel *channel, GIOFlags flags, GError **err); GIOFlags (*io_get_flags) (GIOChannel *channel); }; extern void g_io_channel_init (GIOChannel *channel); extern GIOChannel *g_io_channel_ref (GIOChannel *channel); extern void g_io_channel_unref (GIOChannel *channel); __attribute__((__deprecated__("Use '" "g_io_channel_read_chars" "' instead"))) extern GIOError g_io_channel_read (GIOChannel *channel, gchar *buf, gsize count, gsize *bytes_read); __attribute__((__deprecated__("Use '" "g_io_channel_write_chars" "' instead"))) extern GIOError g_io_channel_write (GIOChannel *channel, const gchar *buf, gsize count, gsize *bytes_written); __attribute__((__deprecated__("Use '" "g_io_channel_seek_position" "' instead"))) extern GIOError g_io_channel_seek (GIOChannel *channel, gint64 offset, GSeekType type); __attribute__((__deprecated__("Use '" "g_io_channel_shutdown" "' instead"))) extern void g_io_channel_close (GIOChannel *channel); extern GIOStatus g_io_channel_shutdown (GIOChannel *channel, gboolean flush, GError **err); extern guint g_io_add_watch_full (GIOChannel *channel, gint priority, GIOCondition condition, GIOFunc func, gpointer user_data, GDestroyNotify notify); extern GSource * g_io_create_watch (GIOChannel *channel, GIOCondition condition); extern guint g_io_add_watch (GIOChannel *channel, GIOCondition condition, GIOFunc func, gpointer user_data); extern void g_io_channel_set_buffer_size (GIOChannel *channel, gsize size); extern gsize g_io_channel_get_buffer_size (GIOChannel *channel); extern GIOCondition g_io_channel_get_buffer_condition (GIOChannel *channel); extern GIOStatus g_io_channel_set_flags (GIOChannel *channel, GIOFlags flags, GError **error); extern GIOFlags g_io_channel_get_flags (GIOChannel *channel); extern void g_io_channel_set_line_term (GIOChannel *channel, const gchar *line_term, gint length); extern const gchar * g_io_channel_get_line_term (GIOChannel *channel, gint *length); extern void g_io_channel_set_buffered (GIOChannel *channel, gboolean buffered); extern gboolean g_io_channel_get_buffered (GIOChannel *channel); extern GIOStatus g_io_channel_set_encoding (GIOChannel *channel, const gchar *encoding, GError **error); extern const gchar * g_io_channel_get_encoding (GIOChannel *channel); extern void g_io_channel_set_close_on_unref (GIOChannel *channel, gboolean do_close); extern gboolean g_io_channel_get_close_on_unref (GIOChannel *channel); extern GIOStatus g_io_channel_flush (GIOChannel *channel, GError **error); extern GIOStatus g_io_channel_read_line (GIOChannel *channel, gchar **str_return, gsize *length, gsize *terminator_pos, GError **error); extern GIOStatus g_io_channel_read_line_string (GIOChannel *channel, GString *buffer, gsize *terminator_pos, GError **error); extern GIOStatus g_io_channel_read_to_end (GIOChannel *channel, gchar **str_return, gsize *length, GError **error); extern GIOStatus g_io_channel_read_chars (GIOChannel *channel, gchar *buf, gsize count, gsize *bytes_read, GError **error); extern GIOStatus g_io_channel_read_unichar (GIOChannel *channel, gunichar *thechar, GError **error); extern GIOStatus g_io_channel_write_chars (GIOChannel *channel, const gchar *buf, gssize count, gsize *bytes_written, GError **error); extern GIOStatus g_io_channel_write_unichar (GIOChannel *channel, gunichar thechar, GError **error); extern GIOStatus g_io_channel_seek_position (GIOChannel *channel, gint64 offset, GSeekType type, GError **error); extern GIOChannel* g_io_channel_new_file (const gchar *filename, const gchar *mode, GError **error); extern GQuark g_io_channel_error_quark (void); extern GIOChannelError g_io_channel_error_from_errno (gint en); # 323 "/usr/include/glib-2.0/glib/giochannel.h" extern GIOChannel* g_io_channel_unix_new (int fd); extern gint g_io_channel_unix_get_fd (GIOChannel *channel); extern GSourceFuncs g_io_watch_funcs; # 405 "/usr/include/glib-2.0/glib/giochannel.h" # 57 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gkeyfile.h" 1 # 24 "/usr/include/glib-2.0/glib/gkeyfile.h" #define __G_KEY_FILE_H__ # 33 "/usr/include/glib-2.0/glib/gkeyfile.h" typedef enum { G_KEY_FILE_ERROR_UNKNOWN_ENCODING, G_KEY_FILE_ERROR_PARSE, G_KEY_FILE_ERROR_NOT_FOUND, G_KEY_FILE_ERROR_KEY_NOT_FOUND, G_KEY_FILE_ERROR_GROUP_NOT_FOUND, G_KEY_FILE_ERROR_INVALID_VALUE } GKeyFileError; #define G_KEY_FILE_ERROR g_key_file_error_quark() extern GQuark g_key_file_error_quark (void); typedef struct _GKeyFile GKeyFile; typedef enum { G_KEY_FILE_NONE = 0, G_KEY_FILE_KEEP_COMMENTS = 1 << 0, G_KEY_FILE_KEEP_TRANSLATIONS = 1 << 1 } GKeyFileFlags; extern GKeyFile *g_key_file_new (void); extern GKeyFile *g_key_file_ref (GKeyFile *key_file); extern void g_key_file_unref (GKeyFile *key_file); extern void g_key_file_free (GKeyFile *key_file); extern void g_key_file_set_list_separator (GKeyFile *key_file, gchar separator); extern gboolean g_key_file_load_from_file (GKeyFile *key_file, const gchar *file, GKeyFileFlags flags, GError **error); extern gboolean g_key_file_load_from_data (GKeyFile *key_file, const gchar *data, gsize length, GKeyFileFlags flags, GError **error); extern gboolean g_key_file_load_from_bytes (GKeyFile *key_file, GBytes *bytes, GKeyFileFlags flags, GError **error); extern gboolean g_key_file_load_from_dirs (GKeyFile *key_file, const gchar *file, const gchar **search_dirs, gchar **full_path, GKeyFileFlags flags, GError **error); extern gboolean g_key_file_load_from_data_dirs (GKeyFile *key_file, const gchar *file, gchar **full_path, GKeyFileFlags flags, GError **error); extern gchar *g_key_file_to_data (GKeyFile *key_file, gsize *length, GError **error) __attribute__ ((__malloc__)); extern gboolean g_key_file_save_to_file (GKeyFile *key_file, const gchar *filename, GError **error); extern gchar *g_key_file_get_start_group (GKeyFile *key_file) __attribute__ ((__malloc__)); extern gchar **g_key_file_get_groups (GKeyFile *key_file, gsize *length); extern gchar **g_key_file_get_keys (GKeyFile *key_file, const gchar *group_name, gsize *length, GError **error); extern gboolean g_key_file_has_group (GKeyFile *key_file, const gchar *group_name); extern gboolean g_key_file_has_key (GKeyFile *key_file, const gchar *group_name, const gchar *key, GError **error); extern gchar *g_key_file_get_value (GKeyFile *key_file, const gchar *group_name, const gchar *key, GError **error) __attribute__ ((__malloc__)); extern void g_key_file_set_value (GKeyFile *key_file, const gchar *group_name, const gchar *key, const gchar *value); extern gchar *g_key_file_get_string (GKeyFile *key_file, const gchar *group_name, const gchar *key, GError **error) __attribute__ ((__malloc__)); extern void g_key_file_set_string (GKeyFile *key_file, const gchar *group_name, const gchar *key, const gchar *string); extern gchar *g_key_file_get_locale_string (GKeyFile *key_file, const gchar *group_name, const gchar *key, const gchar *locale, GError **error) __attribute__ ((__malloc__)); extern gchar *g_key_file_get_locale_for_key (GKeyFile *key_file, const gchar *group_name, const gchar *key, const gchar *locale) __attribute__ ((__malloc__)); extern void g_key_file_set_locale_string (GKeyFile *key_file, const gchar *group_name, const gchar *key, const gchar *locale, const gchar *string); extern gboolean g_key_file_get_boolean (GKeyFile *key_file, const gchar *group_name, const gchar *key, GError **error); extern void g_key_file_set_boolean (GKeyFile *key_file, const gchar *group_name, const gchar *key, gboolean value); extern gint g_key_file_get_integer (GKeyFile *key_file, const gchar *group_name, const gchar *key, GError **error); extern void g_key_file_set_integer (GKeyFile *key_file, const gchar *group_name, const gchar *key, gint value); extern gint64 g_key_file_get_int64 (GKeyFile *key_file, const gchar *group_name, const gchar *key, GError **error); extern void g_key_file_set_int64 (GKeyFile *key_file, const gchar *group_name, const gchar *key, gint64 value); extern guint64 g_key_file_get_uint64 (GKeyFile *key_file, const gchar *group_name, const gchar *key, GError **error); extern void g_key_file_set_uint64 (GKeyFile *key_file, const gchar *group_name, const gchar *key, guint64 value); extern gdouble g_key_file_get_double (GKeyFile *key_file, const gchar *group_name, const gchar *key, GError **error); extern void g_key_file_set_double (GKeyFile *key_file, const gchar *group_name, const gchar *key, gdouble value); extern gchar **g_key_file_get_string_list (GKeyFile *key_file, const gchar *group_name, const gchar *key, gsize *length, GError **error); extern void g_key_file_set_string_list (GKeyFile *key_file, const gchar *group_name, const gchar *key, const gchar * const list[], gsize length); extern gchar **g_key_file_get_locale_string_list (GKeyFile *key_file, const gchar *group_name, const gchar *key, const gchar *locale, gsize *length, GError **error); extern void g_key_file_set_locale_string_list (GKeyFile *key_file, const gchar *group_name, const gchar *key, const gchar *locale, const gchar * const list[], gsize length); extern gboolean *g_key_file_get_boolean_list (GKeyFile *key_file, const gchar *group_name, const gchar *key, gsize *length, GError **error) __attribute__ ((__malloc__)); extern void g_key_file_set_boolean_list (GKeyFile *key_file, const gchar *group_name, const gchar *key, gboolean list[], gsize length); extern gint *g_key_file_get_integer_list (GKeyFile *key_file, const gchar *group_name, const gchar *key, gsize *length, GError **error) __attribute__ ((__malloc__)); extern void g_key_file_set_double_list (GKeyFile *key_file, const gchar *group_name, const gchar *key, gdouble list[], gsize length); extern gdouble *g_key_file_get_double_list (GKeyFile *key_file, const gchar *group_name, const gchar *key, gsize *length, GError **error) __attribute__ ((__malloc__)); extern void g_key_file_set_integer_list (GKeyFile *key_file, const gchar *group_name, const gchar *key, gint list[], gsize length); extern gboolean g_key_file_set_comment (GKeyFile *key_file, const gchar *group_name, const gchar *key, const gchar *comment, GError **error); extern gchar *g_key_file_get_comment (GKeyFile *key_file, const gchar *group_name, const gchar *key, GError **error) __attribute__ ((__malloc__)); extern gboolean g_key_file_remove_comment (GKeyFile *key_file, const gchar *group_name, const gchar *key, GError **error); extern gboolean g_key_file_remove_key (GKeyFile *key_file, const gchar *group_name, const gchar *key, GError **error); extern gboolean g_key_file_remove_group (GKeyFile *key_file, const gchar *group_name, GError **error); #define G_KEY_FILE_DESKTOP_GROUP "Desktop Entry" #define G_KEY_FILE_DESKTOP_KEY_TYPE "Type" #define G_KEY_FILE_DESKTOP_KEY_VERSION "Version" #define G_KEY_FILE_DESKTOP_KEY_NAME "Name" #define G_KEY_FILE_DESKTOP_KEY_GENERIC_NAME "GenericName" #define G_KEY_FILE_DESKTOP_KEY_NO_DISPLAY "NoDisplay" #define G_KEY_FILE_DESKTOP_KEY_COMMENT "Comment" #define G_KEY_FILE_DESKTOP_KEY_ICON "Icon" #define G_KEY_FILE_DESKTOP_KEY_HIDDEN "Hidden" #define G_KEY_FILE_DESKTOP_KEY_ONLY_SHOW_IN "OnlyShowIn" #define G_KEY_FILE_DESKTOP_KEY_NOT_SHOW_IN "NotShowIn" #define G_KEY_FILE_DESKTOP_KEY_TRY_EXEC "TryExec" #define G_KEY_FILE_DESKTOP_KEY_EXEC "Exec" #define G_KEY_FILE_DESKTOP_KEY_PATH "Path" #define G_KEY_FILE_DESKTOP_KEY_TERMINAL "Terminal" #define G_KEY_FILE_DESKTOP_KEY_MIME_TYPE "MimeType" #define G_KEY_FILE_DESKTOP_KEY_CATEGORIES "Categories" #define G_KEY_FILE_DESKTOP_KEY_STARTUP_NOTIFY "StartupNotify" #define G_KEY_FILE_DESKTOP_KEY_STARTUP_WM_CLASS "StartupWMClass" #define G_KEY_FILE_DESKTOP_KEY_URL "URL" #define G_KEY_FILE_DESKTOP_KEY_DBUS_ACTIVATABLE "DBusActivatable" #define G_KEY_FILE_DESKTOP_KEY_ACTIONS "Actions" #define G_KEY_FILE_DESKTOP_TYPE_APPLICATION "Application" #define G_KEY_FILE_DESKTOP_TYPE_LINK "Link" #define G_KEY_FILE_DESKTOP_TYPE_DIRECTORY "Directory" # 58 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gmappedfile.h" 1 # 23 "/usr/include/glib-2.0/glib/gmappedfile.h" #define __G_MAPPED_FILE_H__ # 32 "/usr/include/glib-2.0/glib/gmappedfile.h" typedef struct _GMappedFile GMappedFile; extern GMappedFile *g_mapped_file_new (const gchar *filename, gboolean writable, GError **error); extern GMappedFile *g_mapped_file_new_from_fd (gint fd, gboolean writable, GError **error); extern gsize g_mapped_file_get_length (GMappedFile *file); extern gchar *g_mapped_file_get_contents (GMappedFile *file); extern GBytes * g_mapped_file_get_bytes (GMappedFile *file); extern GMappedFile *g_mapped_file_ref (GMappedFile *file); extern void g_mapped_file_unref (GMappedFile *file); __attribute__((__deprecated__("Use '" "g_mapped_file_unref" "' instead"))) extern void g_mapped_file_free (GMappedFile *file); # 62 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gmarkup.h" 1 # 22 "/usr/include/glib-2.0/glib/gmarkup.h" #define __G_MARKUP_H__ # 33 "/usr/include/glib-2.0/glib/gmarkup.h" # 51 "/usr/include/glib-2.0/glib/gmarkup.h" typedef enum { G_MARKUP_ERROR_BAD_UTF8, G_MARKUP_ERROR_EMPTY, G_MARKUP_ERROR_PARSE, G_MARKUP_ERROR_UNKNOWN_ELEMENT, G_MARKUP_ERROR_UNKNOWN_ATTRIBUTE, G_MARKUP_ERROR_INVALID_CONTENT, G_MARKUP_ERROR_MISSING_ATTRIBUTE } GMarkupError; # 72 "/usr/include/glib-2.0/glib/gmarkup.h" #define G_MARKUP_ERROR g_markup_error_quark () extern GQuark g_markup_error_quark (void); # 98 "/usr/include/glib-2.0/glib/gmarkup.h" typedef enum { G_MARKUP_DEFAULT_FLAGS = 0, G_MARKUP_DO_NOT_USE_THIS_UNSUPPORTED_FLAG = 1 << 0, G_MARKUP_TREAT_CDATA_AS_TEXT = 1 << 1, G_MARKUP_PREFIX_ERROR_POSITION = 1 << 2, G_MARKUP_IGNORE_QUALIFIED = 1 << 3 } GMarkupParseFlags; # 116 "/usr/include/glib-2.0/glib/gmarkup.h" typedef struct _GMarkupParseContext GMarkupParseContext; typedef struct _GMarkupParser GMarkupParser; # 147 "/usr/include/glib-2.0/glib/gmarkup.h" struct _GMarkupParser { void (*start_element) (GMarkupParseContext *context, const gchar *element_name, const gchar **attribute_names, const gchar **attribute_values, gpointer user_data, GError **error); void (*end_element) (GMarkupParseContext *context, const gchar *element_name, gpointer user_data, GError **error); void (*text) (GMarkupParseContext *context, const gchar *text, gsize text_len, gpointer user_data, GError **error); void (*passthrough) (GMarkupParseContext *context, const gchar *passthrough_text, gsize text_len, gpointer user_data, GError **error); void (*error) (GMarkupParseContext *context, GError *error, gpointer user_data); }; extern GMarkupParseContext *g_markup_parse_context_new (const GMarkupParser *parser, GMarkupParseFlags flags, gpointer user_data, GDestroyNotify user_data_dnotify); extern GMarkupParseContext *g_markup_parse_context_ref (GMarkupParseContext *context); extern void g_markup_parse_context_unref (GMarkupParseContext *context); extern void g_markup_parse_context_free (GMarkupParseContext *context); extern gboolean g_markup_parse_context_parse (GMarkupParseContext *context, const gchar *text, gssize text_len, GError **error); extern void g_markup_parse_context_push (GMarkupParseContext *context, const GMarkupParser *parser, gpointer user_data); extern gpointer g_markup_parse_context_pop (GMarkupParseContext *context); extern gboolean g_markup_parse_context_end_parse (GMarkupParseContext *context, GError **error); extern const gchar * g_markup_parse_context_get_element (GMarkupParseContext *context); extern const GSList * g_markup_parse_context_get_element_stack (GMarkupParseContext *context); extern void g_markup_parse_context_get_position (GMarkupParseContext *context, gint *line_number, gint *char_number); extern gpointer g_markup_parse_context_get_user_data (GMarkupParseContext *context); extern gchar* g_markup_escape_text (const gchar *text, gssize length); extern gchar *g_markup_printf_escaped (const char *format, ...) __attribute__((__format__ (gnu_printf, 1, 2))); extern gchar *g_markup_vprintf_escaped (const char *format, va_list args) __attribute__((__format__ (gnu_printf, 1, 0))); typedef enum { G_MARKUP_COLLECT_INVALID, G_MARKUP_COLLECT_STRING, G_MARKUP_COLLECT_STRDUP, G_MARKUP_COLLECT_BOOLEAN, G_MARKUP_COLLECT_TRISTATE, G_MARKUP_COLLECT_OPTIONAL = (1 << 16) } GMarkupCollectType; extern gboolean g_markup_collect_attributes (const gchar *element_name, const gchar **attribute_names, const gchar **attribute_values, GError **error, GMarkupCollectType first_type, const gchar *first_attr, ...); # 63 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gmessages.h" 1 # 28 "/usr/include/glib-2.0/glib/gmessages.h" #define __G_MESSAGES_H__ # 38 "/usr/include/glib-2.0/glib/gmessages.h" # 1 "/usr/include/glib-2.0/glib/gvariant.h" 1 # 24 "/usr/include/glib-2.0/glib/gvariant.h" #define __G_VARIANT_H__ # 1 "/usr/include/glib-2.0/glib/gvarianttype.h" 1 # 24 "/usr/include/glib-2.0/glib/gvarianttype.h" #define __G_VARIANT_TYPE_H__ # 43 "/usr/include/glib-2.0/glib/gvarianttype.h" typedef struct _GVariantType GVariantType; #define G_VARIANT_TYPE_BOOLEAN ((const GVariantType *) "b") #define G_VARIANT_TYPE_BYTE ((const GVariantType *) "y") #define G_VARIANT_TYPE_INT16 ((const GVariantType *) "n") #define G_VARIANT_TYPE_UINT16 ((const GVariantType *) "q") #define G_VARIANT_TYPE_INT32 ((const GVariantType *) "i") #define G_VARIANT_TYPE_UINT32 ((const GVariantType *) "u") #define G_VARIANT_TYPE_INT64 ((const GVariantType *) "x") # 106 "/usr/include/glib-2.0/glib/gvarianttype.h" #define G_VARIANT_TYPE_UINT64 ((const GVariantType *) "t") # 117 "/usr/include/glib-2.0/glib/gvarianttype.h" #define G_VARIANT_TYPE_DOUBLE ((const GVariantType *) "d") #define G_VARIANT_TYPE_STRING ((const GVariantType *) "s") # 137 "/usr/include/glib-2.0/glib/gvarianttype.h" #define G_VARIANT_TYPE_OBJECT_PATH ((const GVariantType *) "o") # 149 "/usr/include/glib-2.0/glib/gvarianttype.h" #define G_VARIANT_TYPE_SIGNATURE ((const GVariantType *) "g") #define G_VARIANT_TYPE_VARIANT ((const GVariantType *) "v") # 169 "/usr/include/glib-2.0/glib/gvarianttype.h" #define G_VARIANT_TYPE_HANDLE ((const GVariantType *) "h") #define G_VARIANT_TYPE_UNIT ((const GVariantType *) "()") #define G_VARIANT_TYPE_ANY ((const GVariantType *) "*") #define G_VARIANT_TYPE_BASIC ((const GVariantType *) "?") #define G_VARIANT_TYPE_MAYBE ((const GVariantType *) "m*") #define G_VARIANT_TYPE_ARRAY ((const GVariantType *) "a*") #define G_VARIANT_TYPE_TUPLE ((const GVariantType *) "r") #define G_VARIANT_TYPE_DICT_ENTRY ((const GVariantType *) "{?*}") # 232 "/usr/include/glib-2.0/glib/gvarianttype.h" #define G_VARIANT_TYPE_DICTIONARY ((const GVariantType *) "a{?*}") #define G_VARIANT_TYPE_STRING_ARRAY ((const GVariantType *) "as") #define G_VARIANT_TYPE_OBJECT_PATH_ARRAY ((const GVariantType *) "ao") # 256 "/usr/include/glib-2.0/glib/gvarianttype.h" #define G_VARIANT_TYPE_BYTESTRING ((const GVariantType *) "ay") #define G_VARIANT_TYPE_BYTESTRING_ARRAY ((const GVariantType *) "aay") # 273 "/usr/include/glib-2.0/glib/gvarianttype.h" #define G_VARIANT_TYPE_VARDICT ((const GVariantType *) "a{sv}") # 291 "/usr/include/glib-2.0/glib/gvarianttype.h" #define G_VARIANT_TYPE(type_string) (g_variant_type_checked_ ((type_string))) extern gboolean g_variant_type_string_is_valid (const gchar *type_string); extern gboolean g_variant_type_string_scan (const gchar *string, const gchar *limit, const gchar **endptr); extern void g_variant_type_free (GVariantType *type); extern GVariantType * g_variant_type_copy (const GVariantType *type); extern GVariantType * g_variant_type_new (const gchar *type_string); extern gsize g_variant_type_get_string_length (const GVariantType *type); extern const gchar * g_variant_type_peek_string (const GVariantType *type); extern gchar * g_variant_type_dup_string (const GVariantType *type); extern gboolean g_variant_type_is_definite (const GVariantType *type); extern gboolean g_variant_type_is_container (const GVariantType *type); extern gboolean g_variant_type_is_basic (const GVariantType *type); extern gboolean g_variant_type_is_maybe (const GVariantType *type); extern gboolean g_variant_type_is_array (const GVariantType *type); extern gboolean g_variant_type_is_tuple (const GVariantType *type); extern gboolean g_variant_type_is_dict_entry (const GVariantType *type); extern gboolean g_variant_type_is_variant (const GVariantType *type); extern guint g_variant_type_hash (gconstpointer type); extern gboolean g_variant_type_equal (gconstpointer type1, gconstpointer type2); extern gboolean g_variant_type_is_subtype_of (const GVariantType *type, const GVariantType *supertype); extern const GVariantType * g_variant_type_element (const GVariantType *type); extern const GVariantType * g_variant_type_first (const GVariantType *type); extern const GVariantType * g_variant_type_next (const GVariantType *type); extern gsize g_variant_type_n_items (const GVariantType *type); extern const GVariantType * g_variant_type_key (const GVariantType *type); extern const GVariantType * g_variant_type_value (const GVariantType *type); extern GVariantType * g_variant_type_new_array (const GVariantType *element); extern GVariantType * g_variant_type_new_maybe (const GVariantType *element); extern GVariantType * g_variant_type_new_tuple (const GVariantType * const *items, gint length); extern GVariantType * g_variant_type_new_dict_entry (const GVariantType *key, const GVariantType *value); extern const GVariantType * g_variant_type_checked_ (const gchar *); extern gsize g_variant_type_string_get_depth_ (const gchar *type_string); # 31 "/usr/include/glib-2.0/glib/gvariant.h" 2 typedef struct _GVariant GVariant; typedef enum { G_VARIANT_CLASS_BOOLEAN = 'b', G_VARIANT_CLASS_BYTE = 'y', G_VARIANT_CLASS_INT16 = 'n', G_VARIANT_CLASS_UINT16 = 'q', G_VARIANT_CLASS_INT32 = 'i', G_VARIANT_CLASS_UINT32 = 'u', G_VARIANT_CLASS_INT64 = 'x', G_VARIANT_CLASS_UINT64 = 't', G_VARIANT_CLASS_HANDLE = 'h', G_VARIANT_CLASS_DOUBLE = 'd', G_VARIANT_CLASS_STRING = 's', G_VARIANT_CLASS_OBJECT_PATH = 'o', G_VARIANT_CLASS_SIGNATURE = 'g', G_VARIANT_CLASS_VARIANT = 'v', G_VARIANT_CLASS_MAYBE = 'm', G_VARIANT_CLASS_ARRAY = 'a', G_VARIANT_CLASS_TUPLE = '(', G_VARIANT_CLASS_DICT_ENTRY = '{' } GVariantClass; extern void g_variant_unref (GVariant *value); extern GVariant * g_variant_ref (GVariant *value); extern GVariant * g_variant_ref_sink (GVariant *value); extern gboolean g_variant_is_floating (GVariant *value); extern GVariant * g_variant_take_ref (GVariant *value); extern const GVariantType * g_variant_get_type (GVariant *value); extern const gchar * g_variant_get_type_string (GVariant *value); extern gboolean g_variant_is_of_type (GVariant *value, const GVariantType *type); extern gboolean g_variant_is_container (GVariant *value); extern GVariantClass g_variant_classify (GVariant *value); extern GVariant * g_variant_new_boolean (gboolean value); extern GVariant * g_variant_new_byte (guint8 value); extern GVariant * g_variant_new_int16 (gint16 value); extern GVariant * g_variant_new_uint16 (guint16 value); extern GVariant * g_variant_new_int32 (gint32 value); extern GVariant * g_variant_new_uint32 (guint32 value); extern GVariant * g_variant_new_int64 (gint64 value); extern GVariant * g_variant_new_uint64 (guint64 value); extern GVariant * g_variant_new_handle (gint32 value); extern GVariant * g_variant_new_double (gdouble value); extern GVariant * g_variant_new_string (const gchar *string); extern GVariant * g_variant_new_take_string (gchar *string); extern GVariant * g_variant_new_printf (const gchar *format_string, ...) __attribute__((__format__ (gnu_printf, 1, 2))); extern GVariant * g_variant_new_object_path (const gchar *object_path); extern gboolean g_variant_is_object_path (const gchar *string); extern GVariant * g_variant_new_signature (const gchar *signature); extern gboolean g_variant_is_signature (const gchar *string); extern GVariant * g_variant_new_variant (GVariant *value); extern GVariant * g_variant_new_strv (const gchar * const *strv, gssize length); extern GVariant * g_variant_new_objv (const gchar * const *strv, gssize length); extern GVariant * g_variant_new_bytestring (const gchar *string); extern GVariant * g_variant_new_bytestring_array (const gchar * const *strv, gssize length); extern GVariant * g_variant_new_fixed_array (const GVariantType *element_type, gconstpointer elements, gsize n_elements, gsize element_size); extern gboolean g_variant_get_boolean (GVariant *value); extern guint8 g_variant_get_byte (GVariant *value); extern gint16 g_variant_get_int16 (GVariant *value); extern guint16 g_variant_get_uint16 (GVariant *value); extern gint32 g_variant_get_int32 (GVariant *value); extern guint32 g_variant_get_uint32 (GVariant *value); extern gint64 g_variant_get_int64 (GVariant *value); extern guint64 g_variant_get_uint64 (GVariant *value); extern gint32 g_variant_get_handle (GVariant *value); extern gdouble g_variant_get_double (GVariant *value); extern GVariant * g_variant_get_variant (GVariant *value); extern const gchar * g_variant_get_string (GVariant *value, gsize *length); extern gchar * g_variant_dup_string (GVariant *value, gsize *length); extern const gchar ** g_variant_get_strv (GVariant *value, gsize *length); extern gchar ** g_variant_dup_strv (GVariant *value, gsize *length); extern const gchar ** g_variant_get_objv (GVariant *value, gsize *length); extern gchar ** g_variant_dup_objv (GVariant *value, gsize *length); extern const gchar * g_variant_get_bytestring (GVariant *value); extern gchar * g_variant_dup_bytestring (GVariant *value, gsize *length); extern const gchar ** g_variant_get_bytestring_array (GVariant *value, gsize *length); extern gchar ** g_variant_dup_bytestring_array (GVariant *value, gsize *length); extern GVariant * g_variant_new_maybe (const GVariantType *child_type, GVariant *child); extern GVariant * g_variant_new_array (const GVariantType *child_type, GVariant * const *children, gsize n_children); extern GVariant * g_variant_new_tuple (GVariant * const *children, gsize n_children); extern GVariant * g_variant_new_dict_entry (GVariant *key, GVariant *value); extern GVariant * g_variant_get_maybe (GVariant *value); extern gsize g_variant_n_children (GVariant *value); extern void g_variant_get_child (GVariant *value, gsize index_, const gchar *format_string, ...); extern GVariant * g_variant_get_child_value (GVariant *value, gsize index_); extern gboolean g_variant_lookup (GVariant *dictionary, const gchar *key, const gchar *format_string, ...); extern GVariant * g_variant_lookup_value (GVariant *dictionary, const gchar *key, const GVariantType *expected_type); extern gconstpointer g_variant_get_fixed_array (GVariant *value, gsize *n_elements, gsize element_size); extern gsize g_variant_get_size (GVariant *value); extern gconstpointer g_variant_get_data (GVariant *value); extern GBytes * g_variant_get_data_as_bytes (GVariant *value); extern void g_variant_store (GVariant *value, gpointer data); extern gchar * g_variant_print (GVariant *value, gboolean type_annotate); extern GString * g_variant_print_string (GVariant *value, GString *string, gboolean type_annotate); extern guint g_variant_hash (gconstpointer value); extern gboolean g_variant_equal (gconstpointer one, gconstpointer two); extern GVariant * g_variant_get_normal_form (GVariant *value); extern gboolean g_variant_is_normal_form (GVariant *value); extern GVariant * g_variant_byteswap (GVariant *value); extern GVariant * g_variant_new_from_bytes (const GVariantType *type, GBytes *bytes, gboolean trusted); extern GVariant * g_variant_new_from_data (const GVariantType *type, gconstpointer data, gsize size, gboolean trusted, GDestroyNotify notify, gpointer user_data); typedef struct _GVariantIter GVariantIter; struct _GVariantIter { guintptr x[16]; }; extern GVariantIter * g_variant_iter_new (GVariant *value); extern gsize g_variant_iter_init (GVariantIter *iter, GVariant *value); extern GVariantIter * g_variant_iter_copy (GVariantIter *iter); extern gsize g_variant_iter_n_children (GVariantIter *iter); extern void g_variant_iter_free (GVariantIter *iter); extern GVariant * g_variant_iter_next_value (GVariantIter *iter); extern gboolean g_variant_iter_next (GVariantIter *iter, const gchar *format_string, ...); extern gboolean g_variant_iter_loop (GVariantIter *iter, const gchar *format_string, ...); typedef struct _GVariantBuilder GVariantBuilder; struct _GVariantBuilder { union { struct { gsize partial_magic; const GVariantType *type; guintptr y[14]; } s; guintptr x[16]; } u; }; typedef enum { G_VARIANT_PARSE_ERROR_FAILED, G_VARIANT_PARSE_ERROR_BASIC_TYPE_EXPECTED, G_VARIANT_PARSE_ERROR_CANNOT_INFER_TYPE, G_VARIANT_PARSE_ERROR_DEFINITE_TYPE_EXPECTED, G_VARIANT_PARSE_ERROR_INPUT_NOT_AT_END, G_VARIANT_PARSE_ERROR_INVALID_CHARACTER, G_VARIANT_PARSE_ERROR_INVALID_FORMAT_STRING, G_VARIANT_PARSE_ERROR_INVALID_OBJECT_PATH, G_VARIANT_PARSE_ERROR_INVALID_SIGNATURE, G_VARIANT_PARSE_ERROR_INVALID_TYPE_STRING, G_VARIANT_PARSE_ERROR_NO_COMMON_TYPE, G_VARIANT_PARSE_ERROR_NUMBER_OUT_OF_RANGE, G_VARIANT_PARSE_ERROR_NUMBER_TOO_BIG, G_VARIANT_PARSE_ERROR_TYPE_ERROR, G_VARIANT_PARSE_ERROR_UNEXPECTED_TOKEN, G_VARIANT_PARSE_ERROR_UNKNOWN_KEYWORD, G_VARIANT_PARSE_ERROR_UNTERMINATED_STRING_CONSTANT, G_VARIANT_PARSE_ERROR_VALUE_EXPECTED, G_VARIANT_PARSE_ERROR_RECURSION } GVariantParseError; #define G_VARIANT_PARSE_ERROR (g_variant_parse_error_quark ()) __attribute__((__deprecated__("Use '" "g_variant_parse_error_quark" "' instead"))) extern GQuark g_variant_parser_get_error_quark (void); extern GQuark g_variant_parse_error_quark (void); # 367 "/usr/include/glib-2.0/glib/gvariant.h" #define G_VARIANT_BUILDER_INIT(variant_type) { { { 2942751021u , variant_type, { 0, } } } } # 376 "/usr/include/glib-2.0/glib/gvariant.h" extern GVariantBuilder * g_variant_builder_new (const GVariantType *type); extern void g_variant_builder_unref (GVariantBuilder *builder); extern GVariantBuilder * g_variant_builder_ref (GVariantBuilder *builder); extern void g_variant_builder_init (GVariantBuilder *builder, const GVariantType *type); extern GVariant * g_variant_builder_end (GVariantBuilder *builder); extern void g_variant_builder_clear (GVariantBuilder *builder); extern void g_variant_builder_open (GVariantBuilder *builder, const GVariantType *type); extern void g_variant_builder_close (GVariantBuilder *builder); extern void g_variant_builder_add_value (GVariantBuilder *builder, GVariant *value); extern void g_variant_builder_add (GVariantBuilder *builder, const gchar *format_string, ...); extern void g_variant_builder_add_parsed (GVariantBuilder *builder, const gchar *format, ...); extern GVariant * g_variant_new (const gchar *format_string, ...); extern void g_variant_get (GVariant *value, const gchar *format_string, ...); extern GVariant * g_variant_new_va (const gchar *format_string, const gchar **endptr, va_list *app); extern void g_variant_get_va (GVariant *value, const gchar *format_string, const gchar **endptr, va_list *app); extern gboolean g_variant_check_format_string (GVariant *value, const gchar *format_string, gboolean copy_only); extern GVariant * g_variant_parse (const GVariantType *type, const gchar *text, const gchar *limit, const gchar **endptr, GError **error); extern GVariant * g_variant_new_parsed (const gchar *format, ...); extern GVariant * g_variant_new_parsed_va (const gchar *format, va_list *app); extern gchar * g_variant_parse_error_print_context (GError *error, const gchar *source_str); extern gint g_variant_compare (gconstpointer one, gconstpointer two); typedef struct _GVariantDict GVariantDict; struct _GVariantDict { union { struct { GVariant *asv; gsize partial_magic; guintptr y[14]; } s; guintptr x[16]; } u; }; # 490 "/usr/include/glib-2.0/glib/gvariant.h" #define G_VARIANT_DICT_INIT(asv) { { { asv, 3488698669u , { 0, } } } } # 499 "/usr/include/glib-2.0/glib/gvariant.h" extern GVariantDict * g_variant_dict_new (GVariant *from_asv); extern void g_variant_dict_init (GVariantDict *dict, GVariant *from_asv); extern gboolean g_variant_dict_lookup (GVariantDict *dict, const gchar *key, const gchar *format_string, ...); extern GVariant * g_variant_dict_lookup_value (GVariantDict *dict, const gchar *key, const GVariantType *expected_type); extern gboolean g_variant_dict_contains (GVariantDict *dict, const gchar *key); extern void g_variant_dict_insert (GVariantDict *dict, const gchar *key, const gchar *format_string, ...); extern void g_variant_dict_insert_value (GVariantDict *dict, const gchar *key, GVariant *value); extern gboolean g_variant_dict_remove (GVariantDict *dict, const gchar *key); extern void g_variant_dict_clear (GVariantDict *dict); extern GVariant * g_variant_dict_end (GVariantDict *dict); extern GVariantDict * g_variant_dict_ref (GVariantDict *dict); extern void g_variant_dict_unref (GVariantDict *dict); # 39 "/usr/include/glib-2.0/glib/gmessages.h" 2 extern gsize g_printf_string_upper_bound (const gchar* format, va_list args) __attribute__((__format__ (gnu_printf, 1, 0))); #define G_LOG_LEVEL_USER_SHIFT (8) typedef enum { G_LOG_FLAG_RECURSION = 1 << 0, G_LOG_FLAG_FATAL = 1 << 1, G_LOG_LEVEL_ERROR = 1 << 2, G_LOG_LEVEL_CRITICAL = 1 << 3, G_LOG_LEVEL_WARNING = 1 << 4, G_LOG_LEVEL_MESSAGE = 1 << 5, G_LOG_LEVEL_INFO = 1 << 6, G_LOG_LEVEL_DEBUG = 1 << 7, G_LOG_LEVEL_MASK = ~(G_LOG_FLAG_RECURSION | G_LOG_FLAG_FATAL) } GLogLevelFlags; #define G_LOG_FATAL_MASK (G_LOG_FLAG_RECURSION | G_LOG_LEVEL_ERROR) typedef void (*GLogFunc) (const gchar *log_domain, GLogLevelFlags log_level, const gchar *message, gpointer user_data); extern guint g_log_set_handler (const gchar *log_domain, GLogLevelFlags log_levels, GLogFunc log_func, gpointer user_data); extern guint g_log_set_handler_full (const gchar *log_domain, GLogLevelFlags log_levels, GLogFunc log_func, gpointer user_data, GDestroyNotify destroy); extern void g_log_remove_handler (const gchar *log_domain, guint handler_id); extern void g_log_default_handler (const gchar *log_domain, GLogLevelFlags log_level, const gchar *message, gpointer unused_data); extern GLogFunc g_log_set_default_handler (GLogFunc log_func, gpointer user_data); extern void g_log (const gchar *log_domain, GLogLevelFlags log_level, const gchar *format, ...) __attribute__((__format__ (gnu_printf, 3, 4))); extern void g_logv (const gchar *log_domain, GLogLevelFlags log_level, const gchar *format, va_list args) __attribute__((__format__ (gnu_printf, 3, 0))); extern GLogLevelFlags g_log_set_fatal_mask (const gchar *log_domain, GLogLevelFlags fatal_mask); extern GLogLevelFlags g_log_set_always_fatal (GLogLevelFlags fatal_mask); # 136 "/usr/include/glib-2.0/glib/gmessages.h" typedef enum { G_LOG_WRITER_HANDLED = 1, G_LOG_WRITER_UNHANDLED = 0, } GLogWriterOutput; # 158 "/usr/include/glib-2.0/glib/gmessages.h" typedef struct _GLogField GLogField; struct _GLogField { const gchar *key; gconstpointer value; gssize length; }; # 197 "/usr/include/glib-2.0/glib/gmessages.h" typedef GLogWriterOutput (*GLogWriterFunc) (GLogLevelFlags log_level, const GLogField *fields, gsize n_fields, gpointer user_data); extern void g_log_structured (const gchar *log_domain, GLogLevelFlags log_level, ...); extern void g_log_structured_array (GLogLevelFlags log_level, const GLogField *fields, gsize n_fields); extern void g_log_variant (const gchar *log_domain, GLogLevelFlags log_level, GVariant *fields); extern void g_log_set_writer_func (GLogWriterFunc func, gpointer user_data, GDestroyNotify user_data_free); extern gboolean g_log_writer_supports_color (gint output_fd); extern gboolean g_log_writer_is_journald (gint output_fd); extern gchar *g_log_writer_format_fields (GLogLevelFlags log_level, const GLogField *fields, gsize n_fields, gboolean use_color); extern GLogWriterOutput g_log_writer_journald (GLogLevelFlags log_level, const GLogField *fields, gsize n_fields, gpointer user_data); extern GLogWriterOutput g_log_writer_standard_streams (GLogLevelFlags log_level, const GLogField *fields, gsize n_fields, gpointer user_data); extern GLogWriterOutput g_log_writer_default (GLogLevelFlags log_level, const GLogField *fields, gsize n_fields, gpointer user_data); extern void g_log_writer_default_set_use_stderr (gboolean use_stderr); extern gboolean g_log_writer_default_would_drop (GLogLevelFlags log_level, const char *log_domain); extern gboolean g_log_get_debug_enabled (void); extern void g_log_set_debug_enabled (gboolean enabled); # 269 "/usr/include/glib-2.0/glib/gmessages.h" #define G_DEBUG_HERE() g_log_structured (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "CODE_FILE", __FILE__, "CODE_LINE", G_STRINGIFY (__LINE__), "CODE_FUNC", G_STRFUNC, "MESSAGE", "%" G_GINT64_FORMAT ": %s", g_get_monotonic_time (), G_STRLOC) # 278 "/usr/include/glib-2.0/glib/gmessages.h" void _g_log_fallback_handler (const gchar *log_domain, GLogLevelFlags log_level, const gchar *message, gpointer unused_data); extern void g_return_if_fail_warning (const char *log_domain, const char *pretty_function, const char *expression) ; extern void g_warn_message (const char *domain, const char *file, int line, const char *func, const char *warnexpr) ; __attribute__ ((__noreturn__)) __attribute__((__deprecated__)) extern void g_assert_warning (const char *log_domain, const char *file, const int line, const char *pretty_function, const char *expression); extern void g_log_structured_standard (const gchar *log_domain, GLogLevelFlags log_level, const gchar *file, const gchar *line, const gchar *func, const gchar *message_format, ...) __attribute__((__format__ (gnu_printf, 6, 7))); #define G_LOG_DOMAIN ((gchar*) 0) # 342 "/usr/include/glib-2.0/glib/gmessages.h" #define g_error(...) G_STMT_START { g_log (G_LOG_DOMAIN, G_LOG_LEVEL_ERROR, __VA_ARGS__); for (;;) ; } G_STMT_END #define g_message(...) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_MESSAGE, __VA_ARGS__) #define g_critical(...) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_CRITICAL, __VA_ARGS__) #define g_warning(...) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_WARNING, __VA_ARGS__) #define g_info(...) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_INFO, __VA_ARGS__) #define g_debug(...) g_log (G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, __VA_ARGS__) # 489 "/usr/include/glib-2.0/glib/gmessages.h" #define g_warning_once(...) G_STMT_START { static int G_PASTE (_GWarningOnceBoolean, __LINE__) = 0; if (g_atomic_int_compare_and_exchange (&G_PASTE (_GWarningOnceBoolean, __LINE__), 0, 1)) g_warning (__VA_ARGS__); } G_STMT_END GLIB_AVAILABLE_MACRO_IN_2_64 # 517 "/usr/include/glib-2.0/glib/gmessages.h" typedef void (*GPrintFunc) (const gchar *string); extern void g_print (const gchar *format, ...) __attribute__((__format__ (gnu_printf, 1, 2))); extern GPrintFunc g_set_print_handler (GPrintFunc func); extern void g_printerr (const gchar *format, ...) __attribute__((__format__ (gnu_printf, 1, 2))); extern GPrintFunc g_set_printerr_handler (GPrintFunc func); # 536 "/usr/include/glib-2.0/glib/gmessages.h" #define g_warn_if_reached() do { g_warn_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, NULL); } while (0) # 549 "/usr/include/glib-2.0/glib/gmessages.h" #define g_warn_if_fail(expr) do { if G_LIKELY (expr) ; else g_warn_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, #expr); } while (0) # 638 "/usr/include/glib-2.0/glib/gmessages.h" #define g_return_if_fail(expr) G_STMT_START { if (G_LIKELY (expr)) { } else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, #expr); return; } } G_STMT_END # 651 "/usr/include/glib-2.0/glib/gmessages.h" #define g_return_val_if_fail(expr,val) G_STMT_START { if (G_LIKELY (expr)) { } else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, #expr); return (val); } } G_STMT_END # 664 "/usr/include/glib-2.0/glib/gmessages.h" #define g_return_if_reached() G_STMT_START { g_log (G_LOG_DOMAIN, G_LOG_LEVEL_CRITICAL, "file %s: line %d (%s): should not be reached", __FILE__, __LINE__, G_STRFUNC); return; } G_STMT_END # 675 "/usr/include/glib-2.0/glib/gmessages.h" #define g_return_val_if_reached(val) G_STMT_START { g_log (G_LOG_DOMAIN, G_LOG_LEVEL_CRITICAL, "file %s: line %d (%s): should not be reached", __FILE__, __LINE__, G_STRFUNC); return (val); } G_STMT_END # 688 "/usr/include/glib-2.0/glib/gmessages.h" # 65 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/goption.h" 1 # 22 "/usr/include/glib-2.0/glib/goption.h" #define __G_OPTION_H__ # 31 "/usr/include/glib-2.0/glib/goption.h" # 40 "/usr/include/glib-2.0/glib/goption.h" typedef struct _GOptionContext GOptionContext; # 53 "/usr/include/glib-2.0/glib/goption.h" typedef struct _GOptionGroup GOptionGroup; typedef struct _GOptionEntry GOptionEntry; # 84 "/usr/include/glib-2.0/glib/goption.h" typedef enum { G_OPTION_FLAG_NONE = 0, G_OPTION_FLAG_HIDDEN = 1 << 0, G_OPTION_FLAG_IN_MAIN = 1 << 1, G_OPTION_FLAG_REVERSE = 1 << 2, G_OPTION_FLAG_NO_ARG = 1 << 3, G_OPTION_FLAG_FILENAME = 1 << 4, G_OPTION_FLAG_OPTIONAL_ARG = 1 << 5, G_OPTION_FLAG_NOALIAS = 1 << 6 } GOptionFlags; # 122 "/usr/include/glib-2.0/glib/goption.h" typedef enum { G_OPTION_ARG_NONE, G_OPTION_ARG_STRING, G_OPTION_ARG_INT, G_OPTION_ARG_CALLBACK, G_OPTION_ARG_FILENAME, G_OPTION_ARG_STRING_ARRAY, G_OPTION_ARG_FILENAME_ARRAY, G_OPTION_ARG_DOUBLE, G_OPTION_ARG_INT64 } GOptionArg; # 152 "/usr/include/glib-2.0/glib/goption.h" typedef gboolean (*GOptionArgFunc) (const gchar *option_name, const gchar *value, gpointer data, GError **error); # 170 "/usr/include/glib-2.0/glib/goption.h" typedef gboolean (*GOptionParseFunc) (GOptionContext *context, GOptionGroup *group, gpointer data, GError **error); # 185 "/usr/include/glib-2.0/glib/goption.h" typedef void (*GOptionErrorFunc) (GOptionContext *context, GOptionGroup *group, gpointer data, GError **error); # 197 "/usr/include/glib-2.0/glib/goption.h" #define G_OPTION_ERROR (g_option_error_quark ()) # 209 "/usr/include/glib-2.0/glib/goption.h" typedef enum { G_OPTION_ERROR_UNKNOWN_OPTION, G_OPTION_ERROR_BAD_VALUE, G_OPTION_ERROR_FAILED } GOptionError; extern GQuark g_option_error_quark (void); # 261 "/usr/include/glib-2.0/glib/goption.h" struct _GOptionEntry { const gchar *long_name; gchar short_name; gint flags; GOptionArg arg; gpointer arg_data; const gchar *description; const gchar *arg_description; }; # 290 "/usr/include/glib-2.0/glib/goption.h" #define G_OPTION_REMAINING "" # 305 "/usr/include/glib-2.0/glib/goption.h" #define G_OPTION_ENTRY_NULL GLIB_AVAILABLE_MACRO_IN_2_70 { NULL, 0, 0, 0, NULL, NULL, NULL } extern GOptionContext *g_option_context_new (const gchar *parameter_string); extern void g_option_context_set_summary (GOptionContext *context, const gchar *summary); extern const gchar * g_option_context_get_summary (GOptionContext *context); extern void g_option_context_set_description (GOptionContext *context, const gchar *description); extern const gchar * g_option_context_get_description (GOptionContext *context); extern void g_option_context_free (GOptionContext *context); extern void g_option_context_set_help_enabled (GOptionContext *context, gboolean help_enabled); extern gboolean g_option_context_get_help_enabled (GOptionContext *context); extern void g_option_context_set_ignore_unknown_options (GOptionContext *context, gboolean ignore_unknown); extern gboolean g_option_context_get_ignore_unknown_options (GOptionContext *context); extern void g_option_context_set_strict_posix (GOptionContext *context, gboolean strict_posix); extern gboolean g_option_context_get_strict_posix (GOptionContext *context); extern void g_option_context_add_main_entries (GOptionContext *context, const GOptionEntry *entries, const gchar *translation_domain); extern gboolean g_option_context_parse (GOptionContext *context, gint *argc, gchar ***argv, GError **error); extern gboolean g_option_context_parse_strv (GOptionContext *context, gchar ***arguments, GError **error); extern void g_option_context_set_translate_func (GOptionContext *context, GTranslateFunc func, gpointer data, GDestroyNotify destroy_notify); extern void g_option_context_set_translation_domain (GOptionContext *context, const gchar *domain); extern void g_option_context_add_group (GOptionContext *context, GOptionGroup *group); extern void g_option_context_set_main_group (GOptionContext *context, GOptionGroup *group); extern GOptionGroup *g_option_context_get_main_group (GOptionContext *context); extern gchar *g_option_context_get_help (GOptionContext *context, gboolean main_help, GOptionGroup *group); extern GOptionGroup *g_option_group_new (const gchar *name, const gchar *description, const gchar *help_description, gpointer user_data, GDestroyNotify destroy); extern void g_option_group_set_parse_hooks (GOptionGroup *group, GOptionParseFunc pre_parse_func, GOptionParseFunc post_parse_func); extern void g_option_group_set_error_hook (GOptionGroup *group, GOptionErrorFunc error_func); __attribute__((__deprecated__)) extern void g_option_group_free (GOptionGroup *group); extern GOptionGroup *g_option_group_ref (GOptionGroup *group); extern void g_option_group_unref (GOptionGroup *group); extern void g_option_group_add_entries (GOptionGroup *group, const GOptionEntry *entries); extern void g_option_group_set_translate_func (GOptionGroup *group, GTranslateFunc func, gpointer data, GDestroyNotify destroy_notify); extern void g_option_group_set_translation_domain (GOptionGroup *group, const gchar *domain); # 67 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gpathbuf.h" 1 typedef struct _GPathBuf GPathBuf; # 26 "/usr/include/glib-2.0/glib/gpathbuf.h" struct _GPathBuf { gpointer dummy[8]; }; # 47 "/usr/include/glib-2.0/glib/gpathbuf.h" #define G_PATH_BUF_INIT { { NULL, } } GLIB_AVAILABLE_MACRO_IN_2_76 extern GPathBuf * g_path_buf_new (void); extern GPathBuf * g_path_buf_new_from_path (const char *path); extern GPathBuf * g_path_buf_init (GPathBuf *buf); extern GPathBuf * g_path_buf_init_from_path (GPathBuf *buf, const char *path); extern void g_path_buf_clear (GPathBuf *buf); extern char * g_path_buf_clear_to_path (GPathBuf *buf) __attribute__((warn_unused_result)); extern void g_path_buf_free (GPathBuf *buf); extern char * g_path_buf_free_to_path (GPathBuf *buf) __attribute__((warn_unused_result)); extern GPathBuf * g_path_buf_copy (GPathBuf *buf); extern GPathBuf * g_path_buf_push (GPathBuf *buf, const char *path); extern gboolean g_path_buf_pop (GPathBuf *buf); extern gboolean g_path_buf_set_filename (GPathBuf *buf, const char *file_name); extern gboolean g_path_buf_set_extension (GPathBuf *buf, const char *extension); extern char * g_path_buf_to_path (GPathBuf *buf) __attribute__((warn_unused_result)); extern gboolean g_path_buf_equal (gconstpointer v1, gconstpointer v2); # 68 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gpattern.h" 1 # 21 "/usr/include/glib-2.0/glib/gpattern.h" #define __G_PATTERN_H__ typedef struct _GPatternSpec GPatternSpec; extern GPatternSpec* g_pattern_spec_new (const gchar *pattern); extern void g_pattern_spec_free (GPatternSpec *pspec); extern GPatternSpec *g_pattern_spec_copy (GPatternSpec *pspec); extern gboolean g_pattern_spec_equal (GPatternSpec *pspec1, GPatternSpec *pspec2); extern gboolean g_pattern_spec_match (GPatternSpec *pspec, gsize string_length, const gchar *string, const gchar *string_reversed); extern gboolean g_pattern_spec_match_string (GPatternSpec *pspec, const gchar *string); __attribute__((__deprecated__("Use '" "g_pattern_spec_match" "' instead"))) extern gboolean g_pattern_match (GPatternSpec *pspec, guint string_length, const gchar *string, const gchar *string_reversed); __attribute__((__deprecated__("Use '" "g_pattern_spec_match_string" "' instead"))) extern gboolean g_pattern_match_string (GPatternSpec *pspec, const gchar *string); extern gboolean g_pattern_match_simple (const gchar *pattern, const gchar *string); # 69 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gprimes.h" 1 # 28 "/usr/include/glib-2.0/glib/gprimes.h" #define __G_PRIMES_H__ # 47 "/usr/include/glib-2.0/glib/gprimes.h" extern guint g_spaced_primes_closest (guint num) __attribute__ ((__const__)); # 71 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gqsort.h" 1 # 28 "/usr/include/glib-2.0/glib/gqsort.h" #define __G_QSORT_H__ extern void g_qsort_with_data (gconstpointer pbase, gint total_elems, gsize size, GCompareDataFunc compare_func, gpointer user_data); # 72 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gqueue.h" 1 # 28 "/usr/include/glib-2.0/glib/gqueue.h" #define __G_QUEUE_H__ typedef struct _GQueue GQueue; # 49 "/usr/include/glib-2.0/glib/gqueue.h" struct _GQueue { GList *head; GList *tail; guint length; }; # 70 "/usr/include/glib-2.0/glib/gqueue.h" #define G_QUEUE_INIT { NULL, NULL, 0 } extern GQueue* g_queue_new (void); extern void g_queue_free (GQueue *queue); extern void g_queue_free_full (GQueue *queue, GDestroyNotify free_func); extern void g_queue_init (GQueue *queue); extern void g_queue_clear (GQueue *queue); extern gboolean g_queue_is_empty (GQueue *queue); extern void g_queue_clear_full (GQueue *queue, GDestroyNotify free_func); extern guint g_queue_get_length (GQueue *queue); extern void g_queue_reverse (GQueue *queue); extern GQueue * g_queue_copy (GQueue *queue); extern void g_queue_foreach (GQueue *queue, GFunc func, gpointer user_data); extern GList * g_queue_find (GQueue *queue, gconstpointer data); extern GList * g_queue_find_custom (GQueue *queue, gconstpointer data, GCompareFunc func); extern void g_queue_sort (GQueue *queue, GCompareDataFunc compare_func, gpointer user_data); extern void g_queue_push_head (GQueue *queue, gpointer data); extern void g_queue_push_tail (GQueue *queue, gpointer data); extern void g_queue_push_nth (GQueue *queue, gpointer data, gint n); extern gpointer g_queue_pop_head (GQueue *queue); extern gpointer g_queue_pop_tail (GQueue *queue); extern gpointer g_queue_pop_nth (GQueue *queue, guint n); extern gpointer g_queue_peek_head (GQueue *queue); extern gpointer g_queue_peek_tail (GQueue *queue); extern gpointer g_queue_peek_nth (GQueue *queue, guint n); extern gint g_queue_index (GQueue *queue, gconstpointer data); extern gboolean g_queue_remove (GQueue *queue, gconstpointer data); extern guint g_queue_remove_all (GQueue *queue, gconstpointer data); extern void g_queue_insert_before (GQueue *queue, GList *sibling, gpointer data); extern void g_queue_insert_before_link (GQueue *queue, GList *sibling, GList *link_); extern void g_queue_insert_after (GQueue *queue, GList *sibling, gpointer data); extern void g_queue_insert_after_link (GQueue *queue, GList *sibling, GList *link_); extern void g_queue_insert_sorted (GQueue *queue, gpointer data, GCompareDataFunc func, gpointer user_data); extern void g_queue_push_head_link (GQueue *queue, GList *link_); extern void g_queue_push_tail_link (GQueue *queue, GList *link_); extern void g_queue_push_nth_link (GQueue *queue, gint n, GList *link_); extern GList* g_queue_pop_head_link (GQueue *queue); extern GList* g_queue_pop_tail_link (GQueue *queue); extern GList* g_queue_pop_nth_link (GQueue *queue, guint n); extern GList* g_queue_peek_head_link (GQueue *queue); extern GList* g_queue_peek_tail_link (GQueue *queue); extern GList* g_queue_peek_nth_link (GQueue *queue, guint n); extern gint g_queue_link_index (GQueue *queue, GList *link_); extern void g_queue_unlink (GQueue *queue, GList *link_); extern void g_queue_delete_link (GQueue *queue, GList *link_); # 74 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/grand.h" 1 # 28 "/usr/include/glib-2.0/glib/grand.h" #define __G_RAND_H__ typedef struct _GRand GRand; # 49 "/usr/include/glib-2.0/glib/grand.h" extern GRand* g_rand_new_with_seed (guint32 seed); extern GRand* g_rand_new_with_seed_array (const guint32 *seed, guint seed_length); extern GRand* g_rand_new (void); extern void g_rand_free (GRand *rand_); extern GRand* g_rand_copy (GRand *rand_); extern void g_rand_set_seed (GRand *rand_, guint32 seed); extern void g_rand_set_seed_array (GRand *rand_, const guint32 *seed, guint seed_length); #define g_rand_boolean(rand_) ((g_rand_int (rand_) & (1 << 15)) != 0) extern guint32 g_rand_int (GRand *rand_); extern gint32 g_rand_int_range (GRand *rand_, gint32 begin, gint32 end); extern gdouble g_rand_double (GRand *rand_); extern gdouble g_rand_double_range (GRand *rand_, gdouble begin, gdouble end); extern void g_random_set_seed (guint32 seed); #define g_random_boolean() ((g_random_int () & (1 << 15)) != 0) extern guint32 g_random_int (void); extern gint32 g_random_int_range (gint32 begin, gint32 end); extern gdouble g_random_double (void); extern gdouble g_random_double_range (gdouble begin, gdouble end); # 75 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/grcbox.h" 1 # 21 "/usr/include/glib-2.0/glib/grcbox.h" # 30 "/usr/include/glib-2.0/glib/grcbox.h" extern gpointer g_rc_box_alloc (gsize block_size) __attribute__ ((__malloc__)) __attribute__((__alloc_size__(1))); extern gpointer g_rc_box_alloc0 (gsize block_size) __attribute__ ((__malloc__)) __attribute__((__alloc_size__(1))); extern gpointer g_rc_box_dup (gsize block_size, gconstpointer mem_block) __attribute__((__alloc_size__(1))); extern gpointer g_rc_box_acquire (gpointer mem_block); extern void g_rc_box_release (gpointer mem_block); extern void g_rc_box_release_full (gpointer mem_block, GDestroyNotify clear_func); extern gsize g_rc_box_get_size (gpointer mem_block); extern gpointer g_atomic_rc_box_alloc (gsize block_size) __attribute__ ((__malloc__)) __attribute__((__alloc_size__(1))); extern gpointer g_atomic_rc_box_alloc0 (gsize block_size) __attribute__ ((__malloc__)) __attribute__((__alloc_size__(1))); extern gpointer g_atomic_rc_box_dup (gsize block_size, gconstpointer mem_block) __attribute__((__alloc_size__(1))); extern gpointer g_atomic_rc_box_acquire (gpointer mem_block); extern void g_atomic_rc_box_release (gpointer mem_block); extern void g_atomic_rc_box_release_full (gpointer mem_block, GDestroyNotify clear_func); extern gsize g_atomic_rc_box_get_size (gpointer mem_block); #define g_rc_box_new(type) ((type *) g_rc_box_alloc (sizeof (type))) #define g_rc_box_new0(type) ((type *) g_rc_box_alloc0 (sizeof (type))) #define g_atomic_rc_box_new(type) ((type *) g_atomic_rc_box_alloc (sizeof (type))) #define g_atomic_rc_box_new0(type) ((type *) g_atomic_rc_box_alloc0 (sizeof (type))) #define g_rc_box_acquire(mem_block) ((glib_typeof (mem_block)) (g_rc_box_acquire) (mem_block)) #define g_atomic_rc_box_acquire(mem_block) ((glib_typeof (mem_block)) (g_atomic_rc_box_acquire) (mem_block)) #define g_rc_box_dup(block_size,mem_block) ((glib_typeof (mem_block)) (g_rc_box_dup) (block_size, mem_block)) #define g_atomic_rc_box_dup(block_size,mem_block) ((glib_typeof (mem_block)) (g_atomic_rc_box_dup) (block_size, mem_block)) # 76 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/grefcount.h" 1 # 22 "/usr/include/glib-2.0/glib/grefcount.h" #define __GREFCOUNT_H__ # 31 "/usr/include/glib-2.0/glib/grefcount.h" extern void g_ref_count_init (grefcount *rc); extern void g_ref_count_inc (grefcount *rc); extern gboolean g_ref_count_dec (grefcount *rc); extern gboolean g_ref_count_compare (grefcount *rc, gint val); extern void g_atomic_ref_count_init (gatomicrefcount *arc); extern void g_atomic_ref_count_inc (gatomicrefcount *arc); extern gboolean g_atomic_ref_count_dec (gatomicrefcount *arc); extern gboolean g_atomic_ref_count_compare (gatomicrefcount *arc, gint val); # 77 "/usr/include/glib-2.0/glib/grefcount.h" #define G_REF_COUNT_INIT -1 GLIB_AVAILABLE_MACRO_IN_2_78 # 104 "/usr/include/glib-2.0/glib/grefcount.h" #define G_ATOMIC_REF_COUNT_INIT 1 GLIB_AVAILABLE_MACRO_IN_2_78 # 177 "/usr/include/glib-2.0/glib/grefcount.h" # 77 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/grefstring.h" 1 # 21 "/usr/include/glib-2.0/glib/grefstring.h" # 1 "/usr/include/glib-2.0/glib/gmem.h" 1 # 24 "/usr/include/glib-2.0/glib/grefstring.h" 2 # 1 "/usr/include/glib-2.0/glib/gmacros.h" 1 # 25 "/usr/include/glib-2.0/glib/grefstring.h" 2 extern char * g_ref_string_new (const char *str); extern char * g_ref_string_new_len (const char *str, gssize len); extern char * g_ref_string_new_intern (const char *str); extern char * g_ref_string_acquire (char *str); extern void g_ref_string_release (char *str); extern gsize g_ref_string_length (char *str); # 57 "/usr/include/glib-2.0/glib/grefstring.h" typedef char GRefString; # 78 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gregex.h" 1 # 24 "/usr/include/glib-2.0/glib/gregex.h" #define __G_REGEX_H__ # 33 "/usr/include/glib-2.0/glib/gregex.h" # 142 "/usr/include/glib-2.0/glib/gregex.h" typedef enum { G_REGEX_ERROR_COMPILE, G_REGEX_ERROR_OPTIMIZE, G_REGEX_ERROR_REPLACE, G_REGEX_ERROR_MATCH, G_REGEX_ERROR_INTERNAL, G_REGEX_ERROR_STRAY_BACKSLASH = 101, G_REGEX_ERROR_MISSING_CONTROL_CHAR = 102, G_REGEX_ERROR_UNRECOGNIZED_ESCAPE = 103, G_REGEX_ERROR_QUANTIFIERS_OUT_OF_ORDER = 104, G_REGEX_ERROR_QUANTIFIER_TOO_BIG = 105, G_REGEX_ERROR_UNTERMINATED_CHARACTER_CLASS = 106, G_REGEX_ERROR_INVALID_ESCAPE_IN_CHARACTER_CLASS = 107, G_REGEX_ERROR_RANGE_OUT_OF_ORDER = 108, G_REGEX_ERROR_NOTHING_TO_REPEAT = 109, G_REGEX_ERROR_UNRECOGNIZED_CHARACTER = 112, G_REGEX_ERROR_POSIX_NAMED_CLASS_OUTSIDE_CLASS = 113, G_REGEX_ERROR_UNMATCHED_PARENTHESIS = 114, G_REGEX_ERROR_INEXISTENT_SUBPATTERN_REFERENCE = 115, G_REGEX_ERROR_UNTERMINATED_COMMENT = 118, G_REGEX_ERROR_EXPRESSION_TOO_LARGE = 120, G_REGEX_ERROR_MEMORY_ERROR = 121, G_REGEX_ERROR_VARIABLE_LENGTH_LOOKBEHIND = 125, G_REGEX_ERROR_MALFORMED_CONDITION = 126, G_REGEX_ERROR_TOO_MANY_CONDITIONAL_BRANCHES = 127, G_REGEX_ERROR_ASSERTION_EXPECTED = 128, G_REGEX_ERROR_UNKNOWN_POSIX_CLASS_NAME = 130, G_REGEX_ERROR_POSIX_COLLATING_ELEMENTS_NOT_SUPPORTED = 131, G_REGEX_ERROR_HEX_CODE_TOO_LARGE = 134, G_REGEX_ERROR_INVALID_CONDITION = 135, G_REGEX_ERROR_SINGLE_BYTE_MATCH_IN_LOOKBEHIND = 136, G_REGEX_ERROR_INFINITE_LOOP = 140, G_REGEX_ERROR_MISSING_SUBPATTERN_NAME_TERMINATOR = 142, G_REGEX_ERROR_DUPLICATE_SUBPATTERN_NAME = 143, G_REGEX_ERROR_MALFORMED_PROPERTY = 146, G_REGEX_ERROR_UNKNOWN_PROPERTY = 147, G_REGEX_ERROR_SUBPATTERN_NAME_TOO_LONG = 148, G_REGEX_ERROR_TOO_MANY_SUBPATTERNS = 149, G_REGEX_ERROR_INVALID_OCTAL_VALUE = 151, G_REGEX_ERROR_TOO_MANY_BRANCHES_IN_DEFINE = 154, G_REGEX_ERROR_DEFINE_REPETION = 155, G_REGEX_ERROR_INCONSISTENT_NEWLINE_OPTIONS = 156, G_REGEX_ERROR_MISSING_BACK_REFERENCE = 157, G_REGEX_ERROR_INVALID_RELATIVE_REFERENCE = 158, G_REGEX_ERROR_BACKTRACKING_CONTROL_VERB_ARGUMENT_FORBIDDEN = 159, G_REGEX_ERROR_UNKNOWN_BACKTRACKING_CONTROL_VERB = 160, G_REGEX_ERROR_NUMBER_TOO_BIG = 161, G_REGEX_ERROR_MISSING_SUBPATTERN_NAME = 162, G_REGEX_ERROR_MISSING_DIGIT = 163, G_REGEX_ERROR_INVALID_DATA_CHARACTER = 164, G_REGEX_ERROR_EXTRA_SUBPATTERN_NAME = 165, G_REGEX_ERROR_BACKTRACKING_CONTROL_VERB_ARGUMENT_REQUIRED = 166, G_REGEX_ERROR_INVALID_CONTROL_CHAR = 168, G_REGEX_ERROR_MISSING_NAME = 169, G_REGEX_ERROR_NOT_SUPPORTED_IN_CLASS = 171, G_REGEX_ERROR_TOO_MANY_FORWARD_REFERENCES = 172, G_REGEX_ERROR_NAME_TOO_LONG = 175, G_REGEX_ERROR_CHARACTER_VALUE_TOO_LARGE = 176 } GRegexError; # 214 "/usr/include/glib-2.0/glib/gregex.h" #define G_REGEX_ERROR g_regex_error_quark () extern GQuark g_regex_error_quark (void); # 304 "/usr/include/glib-2.0/glib/gregex.h" typedef enum { G_REGEX_DEFAULT = 0, G_REGEX_CASELESS = 1 << 0, G_REGEX_MULTILINE = 1 << 1, G_REGEX_DOTALL = 1 << 2, G_REGEX_EXTENDED = 1 << 3, G_REGEX_ANCHORED = 1 << 4, G_REGEX_DOLLAR_ENDONLY = 1 << 5, G_REGEX_UNGREEDY = 1 << 9, G_REGEX_RAW = 1 << 11, G_REGEX_NO_AUTO_CAPTURE = 1 << 12, G_REGEX_OPTIMIZE = 1 << 13, G_REGEX_FIRSTLINE = 1 << 18, G_REGEX_DUPNAMES = 1 << 19, G_REGEX_NEWLINE_CR = 1 << 20, G_REGEX_NEWLINE_LF = 1 << 21, G_REGEX_NEWLINE_CRLF = G_REGEX_NEWLINE_CR | G_REGEX_NEWLINE_LF, G_REGEX_NEWLINE_ANYCRLF = G_REGEX_NEWLINE_CR | 1 << 22, G_REGEX_BSR_ANYCRLF = 1 << 23, G_REGEX_JAVASCRIPT_COMPAT __attribute__((__deprecated__)) = 1 << 25 } GRegexCompileFlags; # 396 "/usr/include/glib-2.0/glib/gregex.h" typedef enum { G_REGEX_MATCH_DEFAULT = 0, G_REGEX_MATCH_ANCHORED = 1 << 4, G_REGEX_MATCH_NOTBOL = 1 << 7, G_REGEX_MATCH_NOTEOL = 1 << 8, G_REGEX_MATCH_NOTEMPTY = 1 << 10, G_REGEX_MATCH_PARTIAL = 1 << 15, G_REGEX_MATCH_NEWLINE_CR = 1 << 20, G_REGEX_MATCH_NEWLINE_LF = 1 << 21, G_REGEX_MATCH_NEWLINE_CRLF = G_REGEX_MATCH_NEWLINE_CR | G_REGEX_MATCH_NEWLINE_LF, G_REGEX_MATCH_NEWLINE_ANY = 1 << 22, G_REGEX_MATCH_NEWLINE_ANYCRLF = G_REGEX_MATCH_NEWLINE_CR | G_REGEX_MATCH_NEWLINE_ANY, G_REGEX_MATCH_BSR_ANYCRLF = 1 << 23, G_REGEX_MATCH_BSR_ANY = 1 << 24, G_REGEX_MATCH_PARTIAL_SOFT = G_REGEX_MATCH_PARTIAL, G_REGEX_MATCH_PARTIAL_HARD = 1 << 27, G_REGEX_MATCH_NOTEMPTY_ATSTART = 1 << 28 } GRegexMatchFlags; # 424 "/usr/include/glib-2.0/glib/gregex.h" typedef struct _GRegex GRegex; # 433 "/usr/include/glib-2.0/glib/gregex.h" typedef struct _GMatchInfo GMatchInfo; # 452 "/usr/include/glib-2.0/glib/gregex.h" typedef gboolean (*GRegexEvalCallback) (const GMatchInfo *match_info, GString *result, gpointer user_data); extern GRegex *g_regex_new (const gchar *pattern, GRegexCompileFlags compile_options, GRegexMatchFlags match_options, GError **error); extern GRegex *g_regex_ref (GRegex *regex); extern void g_regex_unref (GRegex *regex); extern const gchar *g_regex_get_pattern (const GRegex *regex); extern gint g_regex_get_max_backref (const GRegex *regex); extern gint g_regex_get_capture_count (const GRegex *regex); extern gboolean g_regex_get_has_cr_or_lf (const GRegex *regex); extern gint g_regex_get_max_lookbehind (const GRegex *regex); extern gint g_regex_get_string_number (const GRegex *regex, const gchar *name); extern gchar *g_regex_escape_string (const gchar *string, gint length); extern gchar *g_regex_escape_nul (const gchar *string, gint length); extern GRegexCompileFlags g_regex_get_compile_flags (const GRegex *regex); extern GRegexMatchFlags g_regex_get_match_flags (const GRegex *regex); extern gboolean g_regex_match_simple (const gchar *pattern, const gchar *string, GRegexCompileFlags compile_options, GRegexMatchFlags match_options); extern gboolean g_regex_match (const GRegex *regex, const gchar *string, GRegexMatchFlags match_options, GMatchInfo **match_info); extern gboolean g_regex_match_full (const GRegex *regex, const gchar *string, gssize string_len, gint start_position, GRegexMatchFlags match_options, GMatchInfo **match_info, GError **error); extern gboolean g_regex_match_all (const GRegex *regex, const gchar *string, GRegexMatchFlags match_options, GMatchInfo **match_info); extern gboolean g_regex_match_all_full (const GRegex *regex, const gchar *string, gssize string_len, gint start_position, GRegexMatchFlags match_options, GMatchInfo **match_info, GError **error); extern gchar **g_regex_split_simple (const gchar *pattern, const gchar *string, GRegexCompileFlags compile_options, GRegexMatchFlags match_options); extern gchar **g_regex_split (const GRegex *regex, const gchar *string, GRegexMatchFlags match_options); extern gchar **g_regex_split_full (const GRegex *regex, const gchar *string, gssize string_len, gint start_position, GRegexMatchFlags match_options, gint max_tokens, GError **error); extern gchar *g_regex_replace (const GRegex *regex, const gchar *string, gssize string_len, gint start_position, const gchar *replacement, GRegexMatchFlags match_options, GError **error); extern gchar *g_regex_replace_literal (const GRegex *regex, const gchar *string, gssize string_len, gint start_position, const gchar *replacement, GRegexMatchFlags match_options, GError **error); extern gchar *g_regex_replace_eval (const GRegex *regex, const gchar *string, gssize string_len, gint start_position, GRegexMatchFlags match_options, GRegexEvalCallback eval, gpointer user_data, GError **error); extern gboolean g_regex_check_replacement (const gchar *replacement, gboolean *has_references, GError **error); extern GRegex *g_match_info_get_regex (const GMatchInfo *match_info); extern const gchar *g_match_info_get_string (const GMatchInfo *match_info); extern GMatchInfo *g_match_info_ref (GMatchInfo *match_info); extern void g_match_info_unref (GMatchInfo *match_info); extern void g_match_info_free (GMatchInfo *match_info); extern gboolean g_match_info_next (GMatchInfo *match_info, GError **error); extern gboolean g_match_info_matches (const GMatchInfo *match_info); extern gint g_match_info_get_match_count (const GMatchInfo *match_info); extern gboolean g_match_info_is_partial_match (const GMatchInfo *match_info); extern gchar *g_match_info_expand_references(const GMatchInfo *match_info, const gchar *string_to_expand, GError **error); extern gchar *g_match_info_fetch (const GMatchInfo *match_info, gint match_num); extern gboolean g_match_info_fetch_pos (const GMatchInfo *match_info, gint match_num, gint *start_pos, gint *end_pos); extern gchar *g_match_info_fetch_named (const GMatchInfo *match_info, const gchar *name); extern gboolean g_match_info_fetch_named_pos (const GMatchInfo *match_info, const gchar *name, gint *start_pos, gint *end_pos); extern gchar **g_match_info_fetch_all (const GMatchInfo *match_info); # 79 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gscanner.h" 1 # 28 "/usr/include/glib-2.0/glib/gscanner.h" #define __G_SCANNER_H__ # 37 "/usr/include/glib-2.0/glib/gscanner.h" typedef struct _GScanner GScanner; typedef struct _GScannerConfig GScannerConfig; typedef union _GTokenValue GTokenValue; typedef void (*GScannerMsgFunc) (GScanner *scanner, gchar *message, gboolean error); #define G_CSET_A_2_Z "ABCDEFGHIJKLMNOPQRSTUVWXYZ" #define G_CSET_a_2_z "abcdefghijklmnopqrstuvwxyz" #define G_CSET_DIGITS "0123456789" #define G_CSET_LATINC "\300\301\302\303\304\305\306" "\307\310\311\312\313\314\315\316\317\320" "\321\322\323\324\325\326" "\330\331\332\333\334\335\336" #define G_CSET_LATINS "\337\340\341\342\343\344\345\346" "\347\350\351\352\353\354\355\356\357\360" "\361\362\363\364\365\366" "\370\371\372\373\374\375\376\377" typedef enum { G_ERR_UNKNOWN, G_ERR_UNEXP_EOF, G_ERR_UNEXP_EOF_IN_STRING, G_ERR_UNEXP_EOF_IN_COMMENT, G_ERR_NON_DIGIT_IN_CONST, G_ERR_DIGIT_RADIX, G_ERR_FLOAT_RADIX, G_ERR_FLOAT_MALFORMED } GErrorType; typedef enum { G_TOKEN_EOF = 0, G_TOKEN_LEFT_PAREN = '(', G_TOKEN_RIGHT_PAREN = ')', G_TOKEN_LEFT_CURLY = '{', G_TOKEN_RIGHT_CURLY = '}', G_TOKEN_LEFT_BRACE = '[', G_TOKEN_RIGHT_BRACE = ']', G_TOKEN_EQUAL_SIGN = '=', G_TOKEN_COMMA = ',', G_TOKEN_NONE = 256, G_TOKEN_ERROR, G_TOKEN_CHAR, G_TOKEN_BINARY, G_TOKEN_OCTAL, G_TOKEN_INT, G_TOKEN_HEX, G_TOKEN_FLOAT, G_TOKEN_STRING, G_TOKEN_SYMBOL, G_TOKEN_IDENTIFIER, G_TOKEN_IDENTIFIER_NULL, G_TOKEN_COMMENT_SINGLE, G_TOKEN_COMMENT_MULTI, G_TOKEN_LAST } GTokenType; union _GTokenValue { gpointer v_symbol; gchar *v_identifier; gulong v_binary; gulong v_octal; gulong v_int; guint64 v_int64; gdouble v_float; gulong v_hex; gchar *v_string; gchar *v_comment; guchar v_char; guint v_error; }; struct _GScannerConfig { gchar *cset_skip_characters; gchar *cset_identifier_first; gchar *cset_identifier_nth; gchar *cpair_comment_single; guint case_sensitive : 1; guint skip_comment_multi : 1; guint skip_comment_single : 1; guint scan_comment_multi : 1; guint scan_identifier : 1; guint scan_identifier_1char : 1; guint scan_identifier_NULL : 1; guint scan_symbols : 1; guint scan_binary : 1; guint scan_octal : 1; guint scan_float : 1; guint scan_hex : 1; guint scan_hex_dollar : 1; guint scan_string_sq : 1; guint scan_string_dq : 1; guint numbers_2_int : 1; guint int_2_float : 1; guint identifier_2_string : 1; guint char_2_token : 1; guint symbol_2_token : 1; guint scope_0_fallback : 1; guint store_int64 : 1; guint padding_dummy; }; struct _GScanner { gpointer user_data; guint max_parse_errors; guint parse_errors; const gchar *input_name; GData *qdata; GScannerConfig *config; GTokenType token; GTokenValue value; guint line; guint position; GTokenType next_token; GTokenValue next_value; guint next_line; guint next_position; GHashTable *symbol_table; gint input_fd; const gchar *text; const gchar *text_end; gchar *buffer; guint scope_id; GScannerMsgFunc msg_handler; }; extern GScanner* g_scanner_new (const GScannerConfig *config_templ); extern void g_scanner_destroy (GScanner *scanner); extern void g_scanner_input_file (GScanner *scanner, gint input_fd); extern void g_scanner_sync_file_offset (GScanner *scanner); extern void g_scanner_input_text (GScanner *scanner, const gchar *text, guint text_len); extern GTokenType g_scanner_get_next_token (GScanner *scanner); extern GTokenType g_scanner_peek_next_token (GScanner *scanner); extern GTokenType g_scanner_cur_token (GScanner *scanner); extern GTokenValue g_scanner_cur_value (GScanner *scanner); extern guint g_scanner_cur_line (GScanner *scanner); extern guint g_scanner_cur_position (GScanner *scanner); extern gboolean g_scanner_eof (GScanner *scanner); extern guint g_scanner_set_scope (GScanner *scanner, guint scope_id); extern void g_scanner_scope_add_symbol (GScanner *scanner, guint scope_id, const gchar *symbol, gpointer value); extern void g_scanner_scope_remove_symbol (GScanner *scanner, guint scope_id, const gchar *symbol); extern gpointer g_scanner_scope_lookup_symbol (GScanner *scanner, guint scope_id, const gchar *symbol); extern void g_scanner_scope_foreach_symbol (GScanner *scanner, guint scope_id, GHFunc func, gpointer user_data); extern gpointer g_scanner_lookup_symbol (GScanner *scanner, const gchar *symbol); extern void g_scanner_unexp_token (GScanner *scanner, GTokenType expected_token, const gchar *identifier_spec, const gchar *symbol_spec, const gchar *symbol_name, const gchar *message, gint is_error); extern void g_scanner_error (GScanner *scanner, const gchar *format, ...) __attribute__((__format__ (gnu_printf, 2, 3))); extern void g_scanner_warn (GScanner *scanner, const gchar *format, ...) __attribute__((__format__ (gnu_printf, 2, 3))); #define g_scanner_add_symbol(scanner,symbol,value) G_STMT_START { g_scanner_scope_add_symbol ((scanner), 0, (symbol), (value)); } G_STMT_END GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_scanner_scope_add_symbol) #define g_scanner_remove_symbol(scanner,symbol) G_STMT_START { g_scanner_scope_remove_symbol ((scanner), 0, (symbol)); } G_STMT_END GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_scanner_scope_remove_symbol) #define g_scanner_foreach_symbol(scanner,func,data) G_STMT_START { g_scanner_scope_foreach_symbol ((scanner), 0, (func), (data)); } G_STMT_END GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_scanner_scope_foreach_symbol) #define g_scanner_freeze_symbol_table(scanner) ((void)0) GLIB_DEPRECATED_MACRO_IN_2_26 #define g_scanner_thaw_symbol_table(scanner) ((void)0) GLIB_DEPRECATED_MACRO_IN_2_26 # 80 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gsequence.h" 1 # 22 "/usr/include/glib-2.0/glib/gsequence.h" #define __G_SEQUENCE_H__ typedef struct _GSequence GSequence; typedef struct _GSequenceNode GSequenceIter; typedef gint (* GSequenceIterCompareFunc) (GSequenceIter *a, GSequenceIter *b, gpointer data); extern GSequence * g_sequence_new (GDestroyNotify data_destroy); extern void g_sequence_free (GSequence *seq); extern gint g_sequence_get_length (GSequence *seq); extern void g_sequence_foreach (GSequence *seq, GFunc func, gpointer user_data); extern void g_sequence_foreach_range (GSequenceIter *begin, GSequenceIter *end, GFunc func, gpointer user_data); extern void g_sequence_sort (GSequence *seq, GCompareDataFunc cmp_func, gpointer cmp_data); extern void g_sequence_sort_iter (GSequence *seq, GSequenceIterCompareFunc cmp_func, gpointer cmp_data); extern gboolean g_sequence_is_empty (GSequence *seq); extern GSequenceIter *g_sequence_get_begin_iter (GSequence *seq); extern GSequenceIter *g_sequence_get_end_iter (GSequence *seq); extern GSequenceIter *g_sequence_get_iter_at_pos (GSequence *seq, gint pos); extern GSequenceIter *g_sequence_append (GSequence *seq, gpointer data); extern GSequenceIter *g_sequence_prepend (GSequence *seq, gpointer data); extern GSequenceIter *g_sequence_insert_before (GSequenceIter *iter, gpointer data); extern void g_sequence_move (GSequenceIter *src, GSequenceIter *dest); extern void g_sequence_swap (GSequenceIter *a, GSequenceIter *b); extern GSequenceIter *g_sequence_insert_sorted (GSequence *seq, gpointer data, GCompareDataFunc cmp_func, gpointer cmp_data); extern GSequenceIter *g_sequence_insert_sorted_iter (GSequence *seq, gpointer data, GSequenceIterCompareFunc iter_cmp, gpointer cmp_data); extern void g_sequence_sort_changed (GSequenceIter *iter, GCompareDataFunc cmp_func, gpointer cmp_data); extern void g_sequence_sort_changed_iter (GSequenceIter *iter, GSequenceIterCompareFunc iter_cmp, gpointer cmp_data); extern void g_sequence_remove (GSequenceIter *iter); extern void g_sequence_remove_range (GSequenceIter *begin, GSequenceIter *end); extern void g_sequence_move_range (GSequenceIter *dest, GSequenceIter *begin, GSequenceIter *end); extern GSequenceIter *g_sequence_search (GSequence *seq, gpointer data, GCompareDataFunc cmp_func, gpointer cmp_data); extern GSequenceIter *g_sequence_search_iter (GSequence *seq, gpointer data, GSequenceIterCompareFunc iter_cmp, gpointer cmp_data); extern GSequenceIter *g_sequence_lookup (GSequence *seq, gpointer data, GCompareDataFunc cmp_func, gpointer cmp_data); extern GSequenceIter *g_sequence_lookup_iter (GSequence *seq, gpointer data, GSequenceIterCompareFunc iter_cmp, gpointer cmp_data); extern gpointer g_sequence_get (GSequenceIter *iter); extern void g_sequence_set (GSequenceIter *iter, gpointer data); extern gboolean g_sequence_iter_is_begin (GSequenceIter *iter); extern gboolean g_sequence_iter_is_end (GSequenceIter *iter); extern GSequenceIter *g_sequence_iter_next (GSequenceIter *iter); extern GSequenceIter *g_sequence_iter_prev (GSequenceIter *iter); extern gint g_sequence_iter_get_position (GSequenceIter *iter); extern GSequenceIter *g_sequence_iter_move (GSequenceIter *iter, gint delta); extern GSequence * g_sequence_iter_get_sequence (GSequenceIter *iter); extern gint g_sequence_iter_compare (GSequenceIter *a, GSequenceIter *b); extern GSequenceIter *g_sequence_range_get_midpoint (GSequenceIter *begin, GSequenceIter *end); # 81 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gshell.h" 1 # 22 "/usr/include/glib-2.0/glib/gshell.h" #define __G_SHELL_H__ #define G_SHELL_ERROR g_shell_error_quark () typedef enum { G_SHELL_ERROR_BAD_QUOTING, G_SHELL_ERROR_EMPTY_STRING, G_SHELL_ERROR_FAILED } GShellError; extern GQuark g_shell_error_quark (void); extern gchar* g_shell_quote (const gchar *unquoted_string); extern gchar* g_shell_unquote (const gchar *quoted_string, GError **error); extern gboolean g_shell_parse_argv (const gchar *command_line, gint *argcp, gchar ***argvp, GError **error); # 82 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gslice.h" 1 # 21 "/usr/include/glib-2.0/glib/gslice.h" #define __G_SLICE_H__ # 30 "/usr/include/glib-2.0/glib/gslice.h" extern gpointer g_slice_alloc (gsize block_size) __attribute__ ((__malloc__)) __attribute__((__alloc_size__(1))); extern gpointer g_slice_alloc0 (gsize block_size) __attribute__ ((__malloc__)) __attribute__((__alloc_size__(1))); extern gpointer g_slice_copy (gsize block_size, gconstpointer mem_block) __attribute__((__alloc_size__(1))); extern void g_slice_free1 (gsize block_size, gpointer mem_block); extern void g_slice_free_chain_with_offset (gsize block_size, gpointer mem_chain, gsize next_offset); #define g_slice_new(type) ((type*) g_slice_alloc (sizeof (type))) #define g_slice_new0(type) (type *) (G_GNUC_EXTENSION ({ gsize __s = sizeof (type); gpointer __p; __p = g_slice_alloc (__s); memset (__p, 0, __s); __p; })) # 78 "/usr/include/glib-2.0/glib/gslice.h" #define g_slice_dup(type,mem) (1 ? (type*) g_slice_copy (sizeof (type), (mem)) : ((void) ((type*) 0 == (mem)), (type*) 0)) #define g_slice_free(type,mem) G_STMT_START { if (1) g_slice_free1 (sizeof (type), (mem)); else (void) ((type*) 0 == (mem)); } G_STMT_END #define g_slice_free_chain(type,mem_chain,next) G_STMT_START { if (1) g_slice_free_chain_with_offset (sizeof (type), (mem_chain), G_STRUCT_OFFSET (type, next)); else (void) ((type*) 0 == (mem_chain)); } G_STMT_END typedef enum { G_SLICE_CONFIG_ALWAYS_MALLOC = 1, G_SLICE_CONFIG_BYPASS_MAGAZINES, G_SLICE_CONFIG_WORKING_SET_MSECS, G_SLICE_CONFIG_COLOR_INCREMENT, G_SLICE_CONFIG_CHUNK_SIZES, G_SLICE_CONFIG_CONTENTION_COUNTER } GSliceConfig; __attribute__((__deprecated__)) extern void g_slice_set_config (GSliceConfig ckey, gint64 value); __attribute__((__deprecated__)) extern gint64 g_slice_get_config (GSliceConfig ckey); __attribute__((__deprecated__)) extern gint64* g_slice_get_config_state (GSliceConfig ckey, gint64 address, guint *n_values); # 83 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gspawn.h" 1 # 22 "/usr/include/glib-2.0/glib/gspawn.h" #define __G_SPAWN_H__ # 41 "/usr/include/glib-2.0/glib/gspawn.h" #define G_SPAWN_ERROR g_spawn_error_quark () # 70 "/usr/include/glib-2.0/glib/gspawn.h" typedef enum { G_SPAWN_ERROR_FORK, G_SPAWN_ERROR_READ, G_SPAWN_ERROR_CHDIR, G_SPAWN_ERROR_ACCES, G_SPAWN_ERROR_PERM, G_SPAWN_ERROR_TOO_BIG, G_SPAWN_ERROR_2BIG __attribute__((__deprecated__("Use '" "G_SPAWN_ERROR_TOO_BIG" "' instead"))) = G_SPAWN_ERROR_TOO_BIG, G_SPAWN_ERROR_NOEXEC, G_SPAWN_ERROR_NAMETOOLONG, G_SPAWN_ERROR_NOENT, G_SPAWN_ERROR_NOMEM, G_SPAWN_ERROR_NOTDIR, G_SPAWN_ERROR_LOOP, G_SPAWN_ERROR_TXTBUSY, G_SPAWN_ERROR_IO, G_SPAWN_ERROR_NFILE, G_SPAWN_ERROR_MFILE, G_SPAWN_ERROR_INVAL, G_SPAWN_ERROR_ISDIR, G_SPAWN_ERROR_LIBBAD, G_SPAWN_ERROR_FAILED } GSpawnError; #define G_SPAWN_EXIT_ERROR g_spawn_exit_error_quark () # 140 "/usr/include/glib-2.0/glib/gspawn.h" typedef void (* GSpawnChildSetupFunc) (gpointer data); # 176 "/usr/include/glib-2.0/glib/gspawn.h" typedef enum { G_SPAWN_DEFAULT = 0, G_SPAWN_LEAVE_DESCRIPTORS_OPEN = 1 << 0, G_SPAWN_DO_NOT_REAP_CHILD = 1 << 1, G_SPAWN_SEARCH_PATH = 1 << 2, G_SPAWN_STDOUT_TO_DEV_NULL = 1 << 3, G_SPAWN_STDERR_TO_DEV_NULL = 1 << 4, G_SPAWN_CHILD_INHERITS_STDIN = 1 << 5, G_SPAWN_FILE_AND_ARGV_ZERO = 1 << 6, G_SPAWN_SEARCH_PATH_FROM_ENVP = 1 << 7, G_SPAWN_CLOEXEC_PIPES = 1 << 8, # 198 "/usr/include/glib-2.0/glib/gspawn.h" G_SPAWN_CHILD_INHERITS_STDOUT = 1 << 9, # 207 "/usr/include/glib-2.0/glib/gspawn.h" G_SPAWN_CHILD_INHERITS_STDERR = 1 << 10, # 216 "/usr/include/glib-2.0/glib/gspawn.h" G_SPAWN_STDIN_FROM_DEV_NULL = 1 << 11 } GSpawnFlags; extern GQuark g_spawn_error_quark (void); extern GQuark g_spawn_exit_error_quark (void); extern gboolean g_spawn_async (const gchar *working_directory, gchar **argv, gchar **envp, GSpawnFlags flags, GSpawnChildSetupFunc child_setup, gpointer user_data, GPid *child_pid, GError **error); extern gboolean g_spawn_async_with_pipes (const gchar *working_directory, gchar **argv, gchar **envp, GSpawnFlags flags, GSpawnChildSetupFunc child_setup, gpointer user_data, GPid *child_pid, gint *standard_input, gint *standard_output, gint *standard_error, GError **error); extern gboolean g_spawn_async_with_pipes_and_fds (const gchar *working_directory, const gchar * const *argv, const gchar * const *envp, GSpawnFlags flags, GSpawnChildSetupFunc child_setup, gpointer user_data, gint stdin_fd, gint stdout_fd, gint stderr_fd, const gint *source_fds, const gint *target_fds, gsize n_fds, GPid *child_pid_out, gint *stdin_pipe_out, gint *stdout_pipe_out, gint *stderr_pipe_out, GError **error); extern gboolean g_spawn_async_with_fds (const gchar *working_directory, gchar **argv, gchar **envp, GSpawnFlags flags, GSpawnChildSetupFunc child_setup, gpointer user_data, GPid *child_pid, gint stdin_fd, gint stdout_fd, gint stderr_fd, GError **error); extern gboolean g_spawn_sync (const gchar *working_directory, gchar **argv, gchar **envp, GSpawnFlags flags, GSpawnChildSetupFunc child_setup, gpointer user_data, gchar **standard_output, gchar **standard_error, gint *wait_status, GError **error); extern gboolean g_spawn_command_line_sync (const gchar *command_line, gchar **standard_output, gchar **standard_error, gint *wait_status, GError **error); extern gboolean g_spawn_command_line_async (const gchar *command_line, GError **error); extern gboolean g_spawn_check_wait_status (gint wait_status, GError **error); __attribute__((__deprecated__("Use '" "g_spawn_check_wait_status" "' instead"))) extern gboolean g_spawn_check_exit_status (gint wait_status, GError **error); extern void g_spawn_close_pid (GPid pid); # 85 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gstringchunk.h" 1 # 28 "/usr/include/glib-2.0/glib/gstringchunk.h" #define __G_STRINGCHUNK_H__ typedef struct _GStringChunk GStringChunk; extern GStringChunk* g_string_chunk_new (gsize size); extern void g_string_chunk_free (GStringChunk *chunk); extern void g_string_chunk_clear (GStringChunk *chunk); extern gchar* g_string_chunk_insert (GStringChunk *chunk, const gchar *string); extern gchar* g_string_chunk_insert_len (GStringChunk *chunk, const gchar *string, gssize len); extern gchar* g_string_chunk_insert_const (GStringChunk *chunk, const gchar *string); # 87 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gstrvbuilder.h" 1 # 22 "/usr/include/glib-2.0/glib/gstrvbuilder.h" #define __G_STRVBUILDER_H__ # 31 "/usr/include/glib-2.0/glib/gstrvbuilder.h" # 41 "/usr/include/glib-2.0/glib/gstrvbuilder.h" typedef struct _GStrvBuilder GStrvBuilder; extern GStrvBuilder *g_strv_builder_new (void); extern void g_strv_builder_unref (GStrvBuilder *builder); extern GStrvBuilder *g_strv_builder_ref (GStrvBuilder *builder); extern void g_strv_builder_add (GStrvBuilder *builder, const char *value); extern void g_strv_builder_addv (GStrvBuilder *builder, const char **value); extern void g_strv_builder_add_many (GStrvBuilder *builder, ...) __attribute__((__sentinel__)); extern GStrv g_strv_builder_end (GStrvBuilder *builder); # 89 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gtestutils.h" 1 # 22 "/usr/include/glib-2.0/glib/gtestutils.h" #define __G_TEST_UTILS_H__ # 32 "/usr/include/glib-2.0/glib/gtestutils.h" # 1 "/usr/include/errno.h" 1 3 4 # 23 "/usr/include/errno.h" 3 4 #define _ERRNO_H 1 # 1 "/usr/include/bits/errno.h" 1 3 4 # 20 "/usr/include/bits/errno.h" 3 4 #define _BITS_ERRNO_H 1 # 1 "/usr/include/linux/errno.h" 1 3 4 # 1 "/usr/include/asm/errno.h" 1 3 4 # 1 "/usr/include/asm-generic/errno.h" 1 3 4 #define _ASM_GENERIC_ERRNO_H # 1 "/usr/include/asm-generic/errno-base.h" 1 3 4 #define _ASM_GENERIC_ERRNO_BASE_H #define EPERM 1 #define ENOENT 2 #define ESRCH 3 #define EINTR 4 #define EIO 5 #define ENXIO 6 #define E2BIG 7 #define ENOEXEC 8 #define EBADF 9 #define ECHILD 10 #define EAGAIN 11 #define ENOMEM 12 #define EACCES 13 #define EFAULT 14 #define ENOTBLK 15 #define EBUSY 16 #define EEXIST 17 #define EXDEV 18 #define ENODEV 19 #define ENOTDIR 20 #define EISDIR 21 #define EINVAL 22 #define ENFILE 23 #define EMFILE 24 #define ENOTTY 25 #define ETXTBSY 26 #define EFBIG 27 #define ENOSPC 28 #define ESPIPE 29 #define EROFS 30 #define EMLINK 31 #define EPIPE 32 #define EDOM 33 #define ERANGE 34 # 6 "/usr/include/asm-generic/errno.h" 2 3 4 #define EDEADLK 35 #define ENAMETOOLONG 36 #define ENOLCK 37 # 18 "/usr/include/asm-generic/errno.h" 3 4 #define ENOSYS 38 #define ENOTEMPTY 39 #define ELOOP 40 #define EWOULDBLOCK EAGAIN #define ENOMSG 42 #define EIDRM 43 #define ECHRNG 44 #define EL2NSYNC 45 #define EL3HLT 46 #define EL3RST 47 #define ELNRNG 48 #define EUNATCH 49 #define ENOCSI 50 #define EL2HLT 51 #define EBADE 52 #define EBADR 53 #define EXFULL 54 #define ENOANO 55 #define EBADRQC 56 #define EBADSLT 57 #define EDEADLOCK EDEADLK #define EBFONT 59 #define ENOSTR 60 #define ENODATA 61 #define ETIME 62 #define ENOSR 63 #define ENONET 64 #define ENOPKG 65 #define EREMOTE 66 #define ENOLINK 67 #define EADV 68 #define ESRMNT 69 #define ECOMM 70 #define EPROTO 71 #define EMULTIHOP 72 #define EDOTDOT 73 #define EBADMSG 74 #define EOVERFLOW 75 #define ENOTUNIQ 76 #define EBADFD 77 #define EREMCHG 78 #define ELIBACC 79 #define ELIBBAD 80 #define ELIBSCN 81 #define ELIBMAX 82 #define ELIBEXEC 83 #define EILSEQ 84 #define ERESTART 85 #define ESTRPIPE 86 #define EUSERS 87 #define ENOTSOCK 88 #define EDESTADDRREQ 89 #define EMSGSIZE 90 #define EPROTOTYPE 91 #define ENOPROTOOPT 92 #define EPROTONOSUPPORT 93 #define ESOCKTNOSUPPORT 94 #define EOPNOTSUPP 95 #define EPFNOSUPPORT 96 #define EAFNOSUPPORT 97 #define EADDRINUSE 98 #define EADDRNOTAVAIL 99 #define ENETDOWN 100 #define ENETUNREACH 101 #define ENETRESET 102 #define ECONNABORTED 103 #define ECONNRESET 104 #define ENOBUFS 105 #define EISCONN 106 #define ENOTCONN 107 #define ESHUTDOWN 108 #define ETOOMANYREFS 109 #define ETIMEDOUT 110 #define ECONNREFUSED 111 #define EHOSTDOWN 112 #define EHOSTUNREACH 113 #define EALREADY 114 #define EINPROGRESS 115 #define ESTALE 116 #define EUCLEAN 117 #define ENOTNAM 118 #define ENAVAIL 119 #define EISNAM 120 #define EREMOTEIO 121 #define EDQUOT 122 #define ENOMEDIUM 123 #define EMEDIUMTYPE 124 #define ECANCELED 125 #define ENOKEY 126 #define EKEYEXPIRED 127 #define EKEYREVOKED 128 #define EKEYREJECTED 129 #define EOWNERDEAD 130 #define ENOTRECOVERABLE 131 #define ERFKILL 132 #define EHWPOISON 133 # 2 "/usr/include/asm/errno.h" 2 3 4 # 2 "/usr/include/linux/errno.h" 2 3 4 # 27 "/usr/include/bits/errno.h" 2 3 4 #define ENOTSUP EOPNOTSUPP # 29 "/usr/include/errno.h" 2 3 4 # 37 "/usr/include/errno.h" 3 4 extern int *__errno_location (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); #define errno (*__errno_location ()) # 52 "/usr/include/errno.h" 3 4 # 33 "/usr/include/glib-2.0/glib/gtestutils.h" 2 # 38 "/usr/include/glib-2.0/glib/gtestutils.h" typedef struct GTestCase GTestCase; typedef struct GTestSuite GTestSuite; typedef void (*GTestFunc) (void); typedef void (*GTestDataFunc) (gconstpointer user_data); typedef void (*GTestFixtureFunc) (gpointer fixture, gconstpointer user_data); #define g_assert_cmpstr(s1,cmp,s2) G_STMT_START { const char *__s1 = (s1), *__s2 = (s2); if (g_strcmp0 (__s1, __s2) cmp 0) ; else g_assertion_message_cmpstr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, #s1 " " #cmp " " #s2, __s1, #cmp, __s2); } G_STMT_END #define g_assert_cmpint(n1,cmp,n2) G_STMT_START { gint64 __n1 = (n1), __n2 = (n2); if (__n1 cmp __n2) ; else g_assertion_message_cmpint (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, #n1 " " #cmp " " #n2, (guint64)__n1, #cmp, (guint64)__n2, 'i'); } G_STMT_END #define g_assert_cmpuint(n1,cmp,n2) G_STMT_START { guint64 __n1 = (n1), __n2 = (n2); if (__n1 cmp __n2) ; else g_assertion_message_cmpint (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, #n1 " " #cmp " " #n2, __n1, #cmp, __n2, 'u'); } G_STMT_END #define g_assert_cmphex(n1,cmp,n2) G_STMT_START { guint64 __n1 = (n1), __n2 = (n2); if (__n1 cmp __n2) ; else g_assertion_message_cmpint (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, #n1 " " #cmp " " #n2, __n1, #cmp, __n2, 'x'); } G_STMT_END # 91 "/usr/include/glib-2.0/glib/gtestutils.h" #define g_assert_cmpfloat(n1,cmp,n2) G_STMT_START { long double __n1 = (long double) (n1), __n2 = (long double) (n2); if (__n1 cmp __n2) ; else g_assertion_message_cmpnum (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, #n1 " " #cmp " " #n2, (long double) __n1, #cmp, (long double) __n2, 'f'); } G_STMT_END #define g_assert_cmpfloat_with_epsilon(n1,n2,epsilon) G_STMT_START { double __n1 = (n1), __n2 = (n2), __epsilon = (epsilon); if (G_APPROX_VALUE (__n1, __n2, __epsilon)) ; else g_assertion_message_cmpnum (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, #n1 " == " #n2 " (+/- " #epsilon ")", __n1, "==", __n2, 'f'); } G_STMT_END #define g_assert_cmpmem(m1,l1,m2,l2) G_STMT_START { gconstpointer __m1 = m1, __m2 = m2; size_t __l1 = (size_t) l1, __l2 = (size_t) l2; if (__l1 != 0 && __m1 == NULL) g_assertion_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, "assertion failed (" #l1 " == 0 || " #m1 " != NULL)"); else if (__l2 != 0 && __m2 == NULL) g_assertion_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, "assertion failed (" #l2 " == 0 || " #m2 " != NULL)"); else if (__l1 != __l2) g_assertion_message_cmpint (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, #l1 " (len(" #m1 ")) == " #l2 " (len(" #m2 "))", __l1, "==", __l2, 'u'); else if (__l1 != 0 && __m2 != NULL && memcmp (__m1, __m2, __l1) != 0) g_assertion_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, "assertion failed (" #m1 " == " #m2 ")"); } G_STMT_END # 141 "/usr/include/glib-2.0/glib/gtestutils.h" #define g_assert_cmpvariant(v1,v2) G_STMT_START { GVariant *__v1 = (v1), *__v2 = (v2); if (!g_variant_equal (__v1, __v2)) { gchar *__s1, *__s2, *__msg; __s1 = g_variant_print (__v1, TRUE); __s2 = g_variant_print (__v2, TRUE); __msg = g_strdup_printf ("assertion failed (" #v1 " == " #v2 "): %s does not equal %s", __s1, __s2); g_assertion_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, __msg); g_free (__s1); g_free (__s2); g_free (__msg); } } G_STMT_END # 158 "/usr/include/glib-2.0/glib/gtestutils.h" #define g_assert_cmpstrv(strv1,strv2) G_STMT_START { const char * const *__strv1 = (const char * const *) (strv1); const char * const *__strv2 = (const char * const *) (strv2); if (!__strv1 || !__strv2) { if (__strv1) { g_assertion_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, "assertion failed (" #strv1 " == " #strv2 "): " #strv2 " is NULL, but " #strv1 " is not"); } else if (__strv2) { g_assertion_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, "assertion failed (" #strv1 " == " #strv2 "): " #strv1 " is NULL, but " #strv2 " is not"); } } else { guint __l1 = g_strv_length ((char **) __strv1); guint __l2 = g_strv_length ((char **) __strv2); if (__l1 != __l2) { char *__msg; __msg = g_strdup_printf ("assertion failed (" #strv1 " == " #strv2 "): length %u does not equal length %u", __l1, __l2); g_assertion_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, __msg); g_free (__msg); } else { guint __i; for (__i = 0; __i < __l1; __i++) { if (g_strcmp0 (__strv1[__i], __strv2[__i]) != 0) { g_assertion_message_cmpstrv (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, #strv1 " == " #strv2, __strv1, __strv2, __i); } } } } } G_STMT_END # 203 "/usr/include/glib-2.0/glib/gtestutils.h" #define g_assert_no_errno(expr) G_STMT_START { int __ret, __errsv; errno = 0; __ret = expr; __errsv = errno; if (__ret < 0) { gchar *__msg; __msg = g_strdup_printf ("assertion failed (" #expr " >= 0): errno %i: %s", __errsv, g_strerror (__errsv)); g_assertion_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, __msg); g_free (__msg); } } G_STMT_END GLIB_AVAILABLE_MACRO_IN_2_66 # 217 "/usr/include/glib-2.0/glib/gtestutils.h" #define g_assert_no_error(err) G_STMT_START { if (err) g_assertion_message_error (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, #err, err, 0, 0); } G_STMT_END #define g_assert_error(err,dom,c) G_STMT_START { if (!err || (err)->domain != dom || (err)->code != c) g_assertion_message_error (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, #err, err, dom, c); } G_STMT_END #define g_assert_true(expr) G_STMT_START { if G_LIKELY (expr) ; else g_assertion_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, "'" #expr "' should be TRUE"); } G_STMT_END #define g_assert_false(expr) G_STMT_START { if G_LIKELY (!(expr)) ; else g_assertion_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, "'" #expr "' should be FALSE"); } G_STMT_END # 250 "/usr/include/glib-2.0/glib/gtestutils.h" #define g_assert_null(expr) G_STMT_START { if G_LIKELY ((expr) == NULL) ; else g_assertion_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, "'" #expr "' should be NULL"); } G_STMT_END #define g_assert_nonnull(expr) G_STMT_START { if G_LIKELY ((expr) != NULL) ; else g_assertion_message (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, "'" #expr "' should not be NULL"); } G_STMT_END # 274 "/usr/include/glib-2.0/glib/gtestutils.h" #define g_assert_not_reached() G_STMT_START { g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, NULL); } G_STMT_END #define g_assert(expr) G_STMT_START { if G_LIKELY (expr) ; else g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, #expr); } G_STMT_END extern int g_strcmp0 (const char *str1, const char *str2); extern void g_test_minimized_result (double minimized_quantity, const char *format, ...) __attribute__((__format__ (gnu_printf, 2, 3))); extern void g_test_maximized_result (double maximized_quantity, const char *format, ...) __attribute__((__format__ (gnu_printf, 2, 3))); extern void g_test_init (int *argc, char ***argv, ...) __attribute__((__sentinel__)); # 331 "/usr/include/glib-2.0/glib/gtestutils.h" #define G_TEST_OPTION_ISOLATE_DIRS "isolate_dirs" # 356 "/usr/include/glib-2.0/glib/gtestutils.h" #define g_test_initialized() (g_test_config_vars->test_initialized) #define g_test_quick() (g_test_config_vars->test_quick) #define g_test_slow() (!g_test_config_vars->test_quick) #define g_test_thorough() (!g_test_config_vars->test_quick) #define g_test_perf() (g_test_config_vars->test_perf) #define g_test_verbose() (g_test_config_vars->test_verbose) #define g_test_quiet() (g_test_config_vars->test_quiet) #define g_test_undefined() (g_test_config_vars->test_undefined) extern gboolean g_test_subprocess (void); extern int g_test_run (void); extern void g_test_add_func (const char *testpath, GTestFunc test_func); extern void g_test_add_data_func (const char *testpath, gconstpointer test_data, GTestDataFunc test_func); extern void g_test_add_data_func_full (const char *testpath, gpointer test_data, GTestDataFunc test_func, GDestroyNotify data_free_func); extern const char * g_test_get_path (void); extern void g_test_fail (void); extern void g_test_fail_printf (const char *format, ...) __attribute__((__format__ (gnu_printf, 1, 2))); extern void g_test_incomplete (const gchar *msg); extern void g_test_incomplete_printf (const char *format, ...) __attribute__((__format__ (gnu_printf, 1, 2))); extern void g_test_skip (const gchar *msg); extern void g_test_skip_printf (const char *format, ...) __attribute__((__format__ (gnu_printf, 1, 2))); extern gboolean g_test_failed (void); extern void g_test_set_nonfatal_assertions (void); extern void g_test_disable_crash_reporting (void); # 432 "/usr/include/glib-2.0/glib/gtestutils.h" #define g_test_add(testpath,Fixture,tdata,fsetup,ftest,fteardown) G_STMT_START { void (*add_vtable) (const char*, gsize, gconstpointer, void (*) (Fixture*, gconstpointer), void (*) (Fixture*, gconstpointer), void (*) (Fixture*, gconstpointer)) = (void (*) (const gchar *, gsize, gconstpointer, void (*) (Fixture*, gconstpointer), void (*) (Fixture*, gconstpointer), void (*) (Fixture*, gconstpointer))) g_test_add_vtable; add_vtable (testpath, sizeof (Fixture), tdata, fsetup, ftest, fteardown); } G_STMT_END # 445 "/usr/include/glib-2.0/glib/gtestutils.h" extern void g_test_message (const char *format, ...) __attribute__((__format__ (gnu_printf, 1, 2))); extern void g_test_bug_base (const char *uri_pattern); extern void g_test_bug (const char *bug_uri_snippet); extern void g_test_summary (const char *summary); extern void g_test_timer_start (void); extern double g_test_timer_elapsed (void); extern double g_test_timer_last (void); extern void g_test_queue_free (gpointer gfree_pointer); extern void g_test_queue_destroy (GDestroyNotify destroy_func, gpointer destroy_data); #define g_test_queue_unref(gobject) g_test_queue_destroy (g_object_unref, gobject) # 492 "/usr/include/glib-2.0/glib/gtestutils.h" typedef enum { G_TEST_TRAP_DEFAULT = 0, G_TEST_TRAP_SILENCE_STDOUT = 1 << 7, G_TEST_TRAP_SILENCE_STDERR = 1 << 8, G_TEST_TRAP_INHERIT_STDIN = 1 << 9 } GTestTrapFlags __attribute__((__deprecated__("Use '" "GTestSubprocessFlags" "' instead"))); # 499 "/usr/include/glib-2.0/glib/gtestutils.h" #pragma GCC diagnostic push # 499 "/usr/include/glib-2.0/glib/gtestutils.h" # 499 "/usr/include/glib-2.0/glib/gtestutils.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" __attribute__((__deprecated__("Use '" "g_test_trap_subprocess" "' instead"))) extern gboolean g_test_trap_fork (guint64 usec_timeout, GTestTrapFlags test_trap_flags); # 505 "/usr/include/glib-2.0/glib/gtestutils.h" #pragma GCC diagnostic pop typedef enum { G_TEST_SUBPROCESS_DEFAULT = 0, G_TEST_SUBPROCESS_INHERIT_STDIN = 1 << 0, G_TEST_SUBPROCESS_INHERIT_STDOUT = 1 << 1, G_TEST_SUBPROCESS_INHERIT_STDERR = 1 << 2 } GTestSubprocessFlags; extern void g_test_trap_subprocess (const char *test_path, guint64 usec_timeout, GTestSubprocessFlags test_flags); extern gboolean g_test_trap_has_passed (void); extern gboolean g_test_trap_reached_timeout (void); #define g_test_trap_assert_passed() g_test_trap_assertions (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, 0, 0) #define g_test_trap_assert_failed() g_test_trap_assertions (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, 1, 0) #define g_test_trap_assert_stdout(soutpattern) g_test_trap_assertions (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, 2, soutpattern) #define g_test_trap_assert_stdout_unmatched(soutpattern) g_test_trap_assertions (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, 3, soutpattern) #define g_test_trap_assert_stderr(serrpattern) g_test_trap_assertions (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, 4, serrpattern) #define g_test_trap_assert_stderr_unmatched(serrpattern) g_test_trap_assertions (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, 5, serrpattern) #define g_test_rand_bit() (0 != (g_test_rand_int() & (1 << 15))) extern gint32 g_test_rand_int (void); extern gint32 g_test_rand_int_range (gint32 begin, gint32 end); extern double g_test_rand_double (void); extern double g_test_rand_double_range (double range_start, double range_end); extern GTestCase* g_test_create_case (const char *test_name, gsize data_size, gconstpointer test_data, GTestFixtureFunc data_setup, GTestFixtureFunc data_test, GTestFixtureFunc data_teardown); extern GTestSuite* g_test_create_suite (const char *suite_name); extern GTestSuite* g_test_get_root (void); extern void g_test_suite_add (GTestSuite *suite, GTestCase *test_case); extern void g_test_suite_add_suite (GTestSuite *suite, GTestSuite *nestedsuite); extern int g_test_run_suite (GTestSuite *suite); extern void g_test_case_free (GTestCase *test_case); extern void g_test_suite_free (GTestSuite *suite); extern void g_test_trap_assertions (const char *domain, const char *file, int line, const char *func, guint64 assertion_flags, const char *pattern); extern void g_assertion_message (const char *domain, const char *file, int line, const char *func, const char *message) ; __attribute__ ((__noreturn__)) extern void g_assertion_message_expr (const char *domain, const char *file, int line, const char *func, const char *expr); extern void g_assertion_message_cmpstr (const char *domain, const char *file, int line, const char *func, const char *expr, const char *arg1, const char *cmp, const char *arg2) ; extern void g_assertion_message_cmpstrv (const char *domain, const char *file, int line, const char *func, const char *expr, const char * const *arg1, const char * const *arg2, gsize first_wrong_idx) ; extern void g_assertion_message_cmpint (const char *domain, const char *file, int line, const char *func, const char *expr, guint64 arg1, const char *cmp, guint64 arg2, char numtype) ; extern void g_assertion_message_cmpnum (const char *domain, const char *file, int line, const char *func, const char *expr, long double arg1, const char *cmp, long double arg2, char numtype) ; extern void g_assertion_message_error (const char *domain, const char *file, int line, const char *func, const char *expr, const GError *error, GQuark error_domain, int error_code) ; extern void g_test_add_vtable (const char *testpath, gsize data_size, gconstpointer test_data, GTestFixtureFunc data_setup, GTestFixtureFunc data_test, GTestFixtureFunc data_teardown); typedef struct { gboolean test_initialized; gboolean test_quick; gboolean test_perf; gboolean test_verbose; gboolean test_quiet; gboolean test_undefined; } GTestConfig; extern const GTestConfig * const g_test_config_vars; typedef enum { G_TEST_RUN_SUCCESS, G_TEST_RUN_SKIPPED, G_TEST_RUN_FAILURE, G_TEST_RUN_INCOMPLETE } GTestResult; typedef enum { G_TEST_LOG_NONE, G_TEST_LOG_ERROR, G_TEST_LOG_START_BINARY, G_TEST_LOG_LIST_CASE, G_TEST_LOG_SKIP_CASE, G_TEST_LOG_START_CASE, G_TEST_LOG_STOP_CASE, G_TEST_LOG_MIN_RESULT, G_TEST_LOG_MAX_RESULT, G_TEST_LOG_MESSAGE, G_TEST_LOG_START_SUITE, G_TEST_LOG_STOP_SUITE } GTestLogType; typedef struct { GTestLogType log_type; guint n_strings; gchar **strings; guint n_nums; long double *nums; } GTestLogMsg; typedef struct { GString *data; GSList *msgs; } GTestLogBuffer; extern const char* g_test_log_type_name (GTestLogType log_type); extern GTestLogBuffer* g_test_log_buffer_new (void); extern void g_test_log_buffer_free (GTestLogBuffer *tbuffer); extern void g_test_log_buffer_push (GTestLogBuffer *tbuffer, guint n_bytes, const guint8 *bytes); extern GTestLogMsg* g_test_log_buffer_pop (GTestLogBuffer *tbuffer); extern void g_test_log_msg_free (GTestLogMsg *tmsg); # 723 "/usr/include/glib-2.0/glib/gtestutils.h" typedef gboolean (*GTestLogFatalFunc) (const gchar *log_domain, GLogLevelFlags log_level, const gchar *message, gpointer user_data); extern void g_test_log_set_fatal_handler (GTestLogFatalFunc log_func, gpointer user_data); extern void g_test_expect_message (const gchar *log_domain, GLogLevelFlags log_level, const gchar *pattern); extern void g_test_assert_expected_messages_internal (const char *domain, const char *file, int line, const char *func); typedef enum { G_TEST_DIST, G_TEST_BUILT } GTestFileType; extern gchar * g_test_build_filename (GTestFileType file_type, const gchar *first_path, ...) __attribute__((__sentinel__)); extern const gchar *g_test_get_dir (GTestFileType file_type); extern const gchar *g_test_get_filename (GTestFileType file_type, const gchar *first_path, ...) __attribute__((__sentinel__)); #define g_test_assert_expected_messages() g_test_assert_expected_messages_internal (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC) # 90 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gthreadpool.h" 1 # 28 "/usr/include/glib-2.0/glib/gthreadpool.h" #define __G_THREADPOOL_H__ typedef struct _GThreadPool GThreadPool; struct _GThreadPool { GFunc func; gpointer user_data; gboolean exclusive; }; extern GThreadPool * g_thread_pool_new (GFunc func, gpointer user_data, gint max_threads, gboolean exclusive, GError **error); extern GThreadPool * g_thread_pool_new_full (GFunc func, gpointer user_data, GDestroyNotify item_free_func, gint max_threads, gboolean exclusive, GError **error); extern void g_thread_pool_free (GThreadPool *pool, gboolean immediate, gboolean wait_); extern gboolean g_thread_pool_push (GThreadPool *pool, gpointer data, GError **error); extern guint g_thread_pool_unprocessed (GThreadPool *pool); extern void g_thread_pool_set_sort_function (GThreadPool *pool, GCompareDataFunc func, gpointer user_data); extern gboolean g_thread_pool_move_to_front (GThreadPool *pool, gpointer data); extern gboolean g_thread_pool_set_max_threads (GThreadPool *pool, gint max_threads, GError **error); extern gint g_thread_pool_get_max_threads (GThreadPool *pool); extern guint g_thread_pool_get_num_threads (GThreadPool *pool); extern void g_thread_pool_set_max_unused_threads (gint max_threads); extern gint g_thread_pool_get_max_unused_threads (void); extern guint g_thread_pool_get_num_unused_threads (void); extern void g_thread_pool_stop_unused_threads (void); extern void g_thread_pool_set_max_idle_time (guint interval); extern guint g_thread_pool_get_max_idle_time (void); # 92 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gtimer.h" 1 # 28 "/usr/include/glib-2.0/glib/gtimer.h" #define __G_TIMER_H__ typedef struct _GTimer GTimer; #define G_USEC_PER_SEC 1000000 extern GTimer* g_timer_new (void); extern void g_timer_destroy (GTimer *timer); extern void g_timer_start (GTimer *timer); extern void g_timer_stop (GTimer *timer); extern void g_timer_reset (GTimer *timer); extern void g_timer_continue (GTimer *timer); extern gdouble g_timer_elapsed (GTimer *timer, gulong *microseconds); extern gboolean g_timer_is_active (GTimer *timer); extern void g_usleep (gulong microseconds); # 67 "/usr/include/glib-2.0/glib/gtimer.h" #pragma GCC diagnostic push # 67 "/usr/include/glib-2.0/glib/gtimer.h" # 67 "/usr/include/glib-2.0/glib/gtimer.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" __attribute__((__deprecated__)) extern void g_time_val_add (GTimeVal *time_, glong microseconds); __attribute__((__deprecated__("Use '" "g_date_time_new_from_iso8601" "' instead"))) extern gboolean g_time_val_from_iso8601 (const gchar *iso_date, GTimeVal *time_); __attribute__((__deprecated__("Use '" "g_date_time_format" "' instead"))) extern gchar* g_time_val_to_iso8601 (GTimeVal *time_) __attribute__ ((__malloc__)); # 76 "/usr/include/glib-2.0/glib/gtimer.h" #pragma GCC diagnostic pop # 93 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gtrashstack.h" 1 # 28 "/usr/include/glib-2.0/glib/gtrashstack.h" #define __G_TRASH_STACK_H__ # 38 "/usr/include/glib-2.0/glib/gtrashstack.h" #pragma GCC diagnostic push # 38 "/usr/include/glib-2.0/glib/gtrashstack.h" # 38 "/usr/include/glib-2.0/glib/gtrashstack.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" typedef struct _GTrashStack GTrashStack __attribute__((__deprecated__)); struct _GTrashStack { GTrashStack *next; } __attribute__((__deprecated__)); __attribute__((__deprecated__)) extern void g_trash_stack_push (GTrashStack **stack_p, gpointer data_p); __attribute__((__deprecated__)) extern gpointer g_trash_stack_pop (GTrashStack **stack_p); __attribute__((__deprecated__)) extern gpointer g_trash_stack_peek (GTrashStack **stack_p); __attribute__((__deprecated__)) extern guint g_trash_stack_height (GTrashStack **stack_p); # 56 "/usr/include/glib-2.0/glib/gtrashstack.h" #pragma GCC diagnostic pop # 95 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gtree.h" 1 # 28 "/usr/include/glib-2.0/glib/gtree.h" #define __G_TREE_H__ #undef G_TREE_DEBUG typedef struct _GTree GTree; # 49 "/usr/include/glib-2.0/glib/gtree.h" typedef struct _GTreeNode GTreeNode; typedef gboolean (*GTraverseFunc) (gpointer key, gpointer value, gpointer data); # 68 "/usr/include/glib-2.0/glib/gtree.h" typedef gboolean (*GTraverseNodeFunc) (GTreeNode *node, gpointer data); extern GTree* g_tree_new (GCompareFunc key_compare_func); extern GTree* g_tree_new_with_data (GCompareDataFunc key_compare_func, gpointer key_compare_data); extern GTree* g_tree_new_full (GCompareDataFunc key_compare_func, gpointer key_compare_data, GDestroyNotify key_destroy_func, GDestroyNotify value_destroy_func); extern GTreeNode *g_tree_node_first (GTree *tree); extern GTreeNode *g_tree_node_last (GTree *tree); extern GTreeNode *g_tree_node_previous (GTreeNode *node); extern GTreeNode *g_tree_node_next (GTreeNode *node); extern GTree* g_tree_ref (GTree *tree); extern void g_tree_unref (GTree *tree); extern void g_tree_destroy (GTree *tree); extern GTreeNode *g_tree_insert_node (GTree *tree, gpointer key, gpointer value); extern void g_tree_insert (GTree *tree, gpointer key, gpointer value); extern GTreeNode *g_tree_replace_node (GTree *tree, gpointer key, gpointer value); extern void g_tree_replace (GTree *tree, gpointer key, gpointer value); extern gboolean g_tree_remove (GTree *tree, gconstpointer key); extern void g_tree_remove_all (GTree *tree); extern gboolean g_tree_steal (GTree *tree, gconstpointer key); extern gpointer g_tree_node_key (GTreeNode *node); extern gpointer g_tree_node_value (GTreeNode *node); extern GTreeNode *g_tree_lookup_node (GTree *tree, gconstpointer key); extern gpointer g_tree_lookup (GTree *tree, gconstpointer key); extern gboolean g_tree_lookup_extended (GTree *tree, gconstpointer lookup_key, gpointer *orig_key, gpointer *value); extern void g_tree_foreach (GTree *tree, GTraverseFunc func, gpointer user_data); extern void g_tree_foreach_node (GTree *tree, GTraverseNodeFunc func, gpointer user_data); __attribute__((__deprecated__)) extern void g_tree_traverse (GTree *tree, GTraverseFunc traverse_func, GTraverseType traverse_type, gpointer user_data); extern GTreeNode *g_tree_search_node (GTree *tree, GCompareFunc search_func, gconstpointer user_data); extern gpointer g_tree_search (GTree *tree, GCompareFunc search_func, gconstpointer user_data); extern GTreeNode *g_tree_lower_bound (GTree *tree, gconstpointer key); extern GTreeNode *g_tree_upper_bound (GTree *tree, gconstpointer key); extern gint g_tree_height (GTree *tree); extern gint g_tree_nnodes (GTree *tree); # 179 "/usr/include/glib-2.0/glib/gtree.h" # 96 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/guri.h" 1 # 21 "/usr/include/glib-2.0/glib/guri.h" # 31 "/usr/include/glib-2.0/glib/guri.h" #pragma GCC diagnostic push # 31 "/usr/include/glib-2.0/glib/guri.h" # 31 "/usr/include/glib-2.0/glib/guri.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" typedef struct _GUri GUri; extern GUri * g_uri_ref (GUri *uri); extern void g_uri_unref (GUri *uri); # 81 "/usr/include/glib-2.0/glib/guri.h" typedef enum { G_URI_FLAGS_NONE = 0, G_URI_FLAGS_PARSE_RELAXED = 1 << 0, G_URI_FLAGS_HAS_PASSWORD = 1 << 1, G_URI_FLAGS_HAS_AUTH_PARAMS = 1 << 2, G_URI_FLAGS_ENCODED = 1 << 3, G_URI_FLAGS_NON_DNS = 1 << 4, G_URI_FLAGS_ENCODED_QUERY = 1 << 5, G_URI_FLAGS_ENCODED_PATH = 1 << 6, G_URI_FLAGS_ENCODED_FRAGMENT = 1 << 7, G_URI_FLAGS_SCHEME_NORMALIZE = 1 << 8, } GUriFlags; extern gboolean g_uri_split (const gchar *uri_ref, GUriFlags flags, gchar **scheme, gchar **userinfo, gchar **host, gint *port, gchar **path, gchar **query, gchar **fragment, GError **error); extern gboolean g_uri_split_with_user (const gchar *uri_ref, GUriFlags flags, gchar **scheme, gchar **user, gchar **password, gchar **auth_params, gchar **host, gint *port, gchar **path, gchar **query, gchar **fragment, GError **error); extern gboolean g_uri_split_network (const gchar *uri_string, GUriFlags flags, gchar **scheme, gchar **host, gint *port, GError **error); extern gboolean g_uri_is_valid (const gchar *uri_string, GUriFlags flags, GError **error); extern gchar * g_uri_join (GUriFlags flags, const gchar *scheme, const gchar *userinfo, const gchar *host, gint port, const gchar *path, const gchar *query, const gchar *fragment); extern gchar * g_uri_join_with_user (GUriFlags flags, const gchar *scheme, const gchar *user, const gchar *password, const gchar *auth_params, const gchar *host, gint port, const gchar *path, const gchar *query, const gchar *fragment); extern GUri * g_uri_parse (const gchar *uri_string, GUriFlags flags, GError **error); extern GUri * g_uri_parse_relative (GUri *base_uri, const gchar *uri_ref, GUriFlags flags, GError **error); extern gchar * g_uri_resolve_relative (const gchar *base_uri_string, const gchar *uri_ref, GUriFlags flags, GError **error); extern GUri * g_uri_build (GUriFlags flags, const gchar *scheme, const gchar *userinfo, const gchar *host, gint port, const gchar *path, const gchar *query, const gchar *fragment); extern GUri * g_uri_build_with_user (GUriFlags flags, const gchar *scheme, const gchar *user, const gchar *password, const gchar *auth_params, const gchar *host, gint port, const gchar *path, const gchar *query, const gchar *fragment); # 206 "/usr/include/glib-2.0/glib/guri.h" typedef enum { G_URI_HIDE_NONE = 0, G_URI_HIDE_USERINFO = 1 << 0, G_URI_HIDE_PASSWORD = 1 << 1, G_URI_HIDE_AUTH_PARAMS = 1 << 2, G_URI_HIDE_QUERY = 1 << 3, G_URI_HIDE_FRAGMENT = 1 << 4, } GUriHideFlags; extern char * g_uri_to_string (GUri *uri); extern char * g_uri_to_string_partial (GUri *uri, GUriHideFlags flags); extern const gchar *g_uri_get_scheme (GUri *uri); extern const gchar *g_uri_get_userinfo (GUri *uri); extern const gchar *g_uri_get_user (GUri *uri); extern const gchar *g_uri_get_password (GUri *uri); extern const gchar *g_uri_get_auth_params (GUri *uri); extern const gchar *g_uri_get_host (GUri *uri); extern gint g_uri_get_port (GUri *uri); extern const gchar *g_uri_get_path (GUri *uri); extern const gchar *g_uri_get_query (GUri *uri); extern const gchar *g_uri_get_fragment (GUri *uri); extern GUriFlags g_uri_get_flags (GUri *uri); # 258 "/usr/include/glib-2.0/glib/guri.h" typedef enum { G_URI_PARAMS_NONE = 0, G_URI_PARAMS_CASE_INSENSITIVE = 1 << 0, G_URI_PARAMS_WWW_FORM = 1 << 1, G_URI_PARAMS_PARSE_RELAXED = 1 << 2, } GUriParamsFlags; extern GHashTable *g_uri_parse_params (const gchar *params, gssize length, const gchar *separators, GUriParamsFlags flags, GError **error); typedef struct _GUriParamsIter GUriParamsIter; struct _GUriParamsIter { gint dummy0; gpointer dummy1; gpointer dummy2; guint8 dummy3[256]; }; extern void g_uri_params_iter_init (GUriParamsIter *iter, const gchar *params, gssize length, const gchar *separators, GUriParamsFlags flags); extern gboolean g_uri_params_iter_next (GUriParamsIter *iter, gchar **attribute, gchar **value, GError **error); # 306 "/usr/include/glib-2.0/glib/guri.h" #define G_URI_ERROR (g_uri_error_quark ()) GLIB_AVAILABLE_MACRO_IN_2_66 extern GQuark g_uri_error_quark (void); # 328 "/usr/include/glib-2.0/glib/guri.h" typedef enum { G_URI_ERROR_FAILED, G_URI_ERROR_BAD_SCHEME, G_URI_ERROR_BAD_USER, G_URI_ERROR_BAD_PASSWORD, G_URI_ERROR_BAD_AUTH_PARAMS, G_URI_ERROR_BAD_HOST, G_URI_ERROR_BAD_PORT, G_URI_ERROR_BAD_PATH, G_URI_ERROR_BAD_QUERY, G_URI_ERROR_BAD_FRAGMENT, } GUriError; # 349 "/usr/include/glib-2.0/glib/guri.h" #define G_URI_RESERVED_CHARS_GENERIC_DELIMITERS ":/?#[]@" # 359 "/usr/include/glib-2.0/glib/guri.h" #define G_URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS "!$&'()*+,;=" # 368 "/usr/include/glib-2.0/glib/guri.h" #define G_URI_RESERVED_CHARS_ALLOWED_IN_PATH_ELEMENT G_URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS ":@" # 377 "/usr/include/glib-2.0/glib/guri.h" #define G_URI_RESERVED_CHARS_ALLOWED_IN_PATH G_URI_RESERVED_CHARS_ALLOWED_IN_PATH_ELEMENT "/" # 387 "/usr/include/glib-2.0/glib/guri.h" #define G_URI_RESERVED_CHARS_ALLOWED_IN_USERINFO G_URI_RESERVED_CHARS_SUBCOMPONENT_DELIMITERS ":" extern char * g_uri_unescape_string (const char *escaped_string, const char *illegal_characters); extern char * g_uri_unescape_segment (const char *escaped_string, const char *escaped_string_end, const char *illegal_characters); extern char * g_uri_parse_scheme (const char *uri); extern const char *g_uri_peek_scheme (const char *uri); extern char * g_uri_escape_string (const char *unescaped, const char *reserved_chars_allowed, gboolean allow_utf8); extern GBytes * g_uri_unescape_bytes (const char *escaped_string, gssize length, const char *illegal_characters, GError **error); extern char * g_uri_escape_bytes (const guint8 *unescaped, gsize length, const char *reserved_chars_allowed); # 418 "/usr/include/glib-2.0/glib/guri.h" #pragma GCC diagnostic pop # 99 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/guuid.h" 1 # 24 "/usr/include/glib-2.0/glib/guuid.h" #define __G_UUID_H__ extern gboolean g_uuid_string_is_valid (const gchar *str); extern gchar * g_uuid_string_random (void); # 101 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/gversion.h" 1 # 28 "/usr/include/glib-2.0/glib/gversion.h" #define __G_VERSION_H__ extern const guint glib_major_version; extern const guint glib_minor_version; extern const guint glib_micro_version; extern const guint glib_interface_age; extern const guint glib_binary_age; extern const gchar * glib_check_version (guint required_major, guint required_minor, guint required_micro); #define GLIB_CHECK_VERSION(major,minor,micro) (GLIB_MAJOR_VERSION > (major) || (GLIB_MAJOR_VERSION == (major) && GLIB_MINOR_VERSION > (minor)) || (GLIB_MAJOR_VERSION == (major) && GLIB_MINOR_VERSION == (minor) && GLIB_MICRO_VERSION >= (micro))) # 104 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/deprecated/gallocator.h" 1 # 17 "/usr/include/glib-2.0/glib/deprecated/gallocator.h" #define __G_ALLOCATOR_H__ typedef struct _GAllocator GAllocator; typedef struct _GMemChunk GMemChunk; #define G_ALLOC_ONLY 1 #define G_ALLOC_AND_FREE 2 #define G_ALLOCATOR_LIST 1 #define G_ALLOCATOR_SLIST 2 #define G_ALLOCATOR_NODE 3 #define g_chunk_new(type,chunk) ((type *) g_mem_chunk_alloc (chunk)) #define g_chunk_new0(type,chunk) ((type *) g_mem_chunk_alloc0 (chunk)) #define g_chunk_free(mem,mem_chunk) (g_mem_chunk_free (mem_chunk, mem)) #define g_mem_chunk_create(type,x,y) (g_mem_chunk_new (NULL, sizeof (type), 0, 0)) __attribute__((__deprecated__)) extern GMemChunk * g_mem_chunk_new (const gchar *name, gint atom_size, gsize area_size, gint type); __attribute__((__deprecated__)) extern void g_mem_chunk_destroy (GMemChunk *mem_chunk); __attribute__((__deprecated__)) extern gpointer g_mem_chunk_alloc (GMemChunk *mem_chunk); __attribute__((__deprecated__)) extern gpointer g_mem_chunk_alloc0 (GMemChunk *mem_chunk); __attribute__((__deprecated__)) extern void g_mem_chunk_free (GMemChunk *mem_chunk, gpointer mem); __attribute__((__deprecated__)) extern void g_mem_chunk_clean (GMemChunk *mem_chunk); __attribute__((__deprecated__)) extern void g_mem_chunk_reset (GMemChunk *mem_chunk); __attribute__((__deprecated__)) extern void g_mem_chunk_print (GMemChunk *mem_chunk); __attribute__((__deprecated__)) extern void g_mem_chunk_info (void); __attribute__((__deprecated__)) extern void g_blow_chunks (void); __attribute__((__deprecated__)) extern GAllocator * g_allocator_new (const gchar *name, guint n_preallocs); __attribute__((__deprecated__)) extern void g_allocator_free (GAllocator *allocator); __attribute__((__deprecated__)) extern void g_list_push_allocator (GAllocator *allocator); __attribute__((__deprecated__)) extern void g_list_pop_allocator (void); __attribute__((__deprecated__)) extern void g_slist_push_allocator (GAllocator *allocator); __attribute__((__deprecated__)) extern void g_slist_pop_allocator (void); __attribute__((__deprecated__)) extern void g_node_push_allocator (GAllocator *allocator); __attribute__((__deprecated__)) extern void g_node_pop_allocator (void); # 111 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/deprecated/gcache.h" 1 # 28 "/usr/include/glib-2.0/glib/deprecated/gcache.h" #define __G_CACHE_H__ typedef struct _GCache GCache __attribute__((__deprecated__("Use '" "GHashTable" "' instead"))); typedef gpointer (*GCacheNewFunc) (gpointer key) __attribute__((__deprecated__)); typedef gpointer (*GCacheDupFunc) (gpointer value) __attribute__((__deprecated__)); typedef void (*GCacheDestroyFunc) (gpointer value) __attribute__((__deprecated__)); # 44 "/usr/include/glib-2.0/glib/deprecated/gcache.h" #pragma GCC diagnostic push # 44 "/usr/include/glib-2.0/glib/deprecated/gcache.h" # 44 "/usr/include/glib-2.0/glib/deprecated/gcache.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" __attribute__((__deprecated__)) extern GCache* g_cache_new (GCacheNewFunc value_new_func, GCacheDestroyFunc value_destroy_func, GCacheDupFunc key_dup_func, GCacheDestroyFunc key_destroy_func, GHashFunc hash_key_func, GHashFunc hash_value_func, GEqualFunc key_equal_func); __attribute__((__deprecated__)) extern void g_cache_destroy (GCache *cache); __attribute__((__deprecated__)) extern gpointer g_cache_insert (GCache *cache, gpointer key); __attribute__((__deprecated__)) extern void g_cache_remove (GCache *cache, gconstpointer value); __attribute__((__deprecated__)) extern void g_cache_key_foreach (GCache *cache, GHFunc func, gpointer user_data); __attribute__((__deprecated__)) extern void g_cache_value_foreach (GCache *cache, GHFunc func, gpointer user_data); # 73 "/usr/include/glib-2.0/glib/deprecated/gcache.h" #pragma GCC diagnostic pop # 112 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/deprecated/gcompletion.h" 1 # 28 "/usr/include/glib-2.0/glib/deprecated/gcompletion.h" #define __G_COMPLETION_H__ typedef struct _GCompletion GCompletion; typedef gchar* (*GCompletionFunc) (gpointer); typedef gint (*GCompletionStrncmpFunc) (const gchar *s1, const gchar *s2, gsize n); struct _GCompletion { GList* items; GCompletionFunc func; gchar* prefix; GList* cache; GCompletionStrncmpFunc strncmp_func; }; __attribute__((__deprecated__)) extern GCompletion* g_completion_new (GCompletionFunc func); __attribute__((__deprecated__)) extern void g_completion_add_items (GCompletion* cmp, GList* items); __attribute__((__deprecated__)) extern void g_completion_remove_items (GCompletion* cmp, GList* items); __attribute__((__deprecated__)) extern void g_completion_clear_items (GCompletion* cmp); __attribute__((__deprecated__)) extern GList* g_completion_complete (GCompletion* cmp, const gchar* prefix, gchar** new_prefix); __attribute__((__deprecated__)) extern GList* g_completion_complete_utf8 (GCompletion *cmp, const gchar* prefix, gchar** new_prefix); __attribute__((__deprecated__)) extern void g_completion_set_compare (GCompletion *cmp, GCompletionStrncmpFunc strncmp_func); __attribute__((__deprecated__)) extern void g_completion_free (GCompletion* cmp); # 113 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/deprecated/gmain.h" 1 # 28 "/usr/include/glib-2.0/glib/deprecated/gmain.h" #define __G_DEPRECATED_MAIN_H__ # 52 "/usr/include/glib-2.0/glib/deprecated/gmain.h" #define g_main_new(is_running) g_main_loop_new (NULL, is_running) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_new) # 62 "/usr/include/glib-2.0/glib/deprecated/gmain.h" #define g_main_run(loop) g_main_loop_run(loop) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_run) # 73 "/usr/include/glib-2.0/glib/deprecated/gmain.h" #define g_main_quit(loop) g_main_loop_quit(loop) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_quit) # 83 "/usr/include/glib-2.0/glib/deprecated/gmain.h" #define g_main_destroy(loop) g_main_loop_unref(loop) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_unref) # 95 "/usr/include/glib-2.0/glib/deprecated/gmain.h" #define g_main_is_running(loop) g_main_loop_is_running(loop) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_loop_is_running) # 110 "/usr/include/glib-2.0/glib/deprecated/gmain.h" #define g_main_iteration(may_block) g_main_context_iteration (NULL, may_block) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_context_iteration) # 122 "/usr/include/glib-2.0/glib/deprecated/gmain.h" #define g_main_pending() g_main_context_pending (NULL) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_context_pending) # 133 "/usr/include/glib-2.0/glib/deprecated/gmain.h" #define g_main_set_poll_func(func) g_main_context_set_poll_func (NULL, func) GLIB_DEPRECATED_MACRO_IN_2_26_FOR(g_main_context_set_poll_func) # 114 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/deprecated/grel.h" 1 # 28 "/usr/include/glib-2.0/glib/deprecated/grel.h" #define __G_REL_H__ typedef struct _GRelation GRelation; typedef struct _GTuples GTuples; struct _GTuples { guint len; }; # 69 "/usr/include/glib-2.0/glib/deprecated/grel.h" __attribute__((__deprecated__)) extern GRelation* g_relation_new (gint fields); __attribute__((__deprecated__)) extern void g_relation_destroy (GRelation *relation); __attribute__((__deprecated__)) extern void g_relation_index (GRelation *relation, gint field, GHashFunc hash_func, GEqualFunc key_equal_func); __attribute__((__deprecated__)) extern void g_relation_insert (GRelation *relation, ...); __attribute__((__deprecated__)) extern gint g_relation_delete (GRelation *relation, gconstpointer key, gint field); __attribute__((__deprecated__)) extern GTuples* g_relation_select (GRelation *relation, gconstpointer key, gint field); __attribute__((__deprecated__)) extern gint g_relation_count (GRelation *relation, gconstpointer key, gint field); __attribute__((__deprecated__)) extern gboolean g_relation_exists (GRelation *relation, ...); __attribute__((__deprecated__)) extern void g_relation_print (GRelation *relation); __attribute__((__deprecated__)) extern void g_tuples_destroy (GTuples *tuples); __attribute__((__deprecated__)) extern gpointer g_tuples_index (GTuples *tuples, gint index_, gint field); # 115 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/deprecated/gthread.h" 1 # 28 "/usr/include/glib-2.0/glib/deprecated/gthread.h" #define __G_DEPRECATED_THREAD_H__ # 38 "/usr/include/glib-2.0/glib/deprecated/gthread.h" #pragma GCC diagnostic push # 38 "/usr/include/glib-2.0/glib/deprecated/gthread.h" # 38 "/usr/include/glib-2.0/glib/deprecated/gthread.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" typedef enum { G_THREAD_PRIORITY_LOW, G_THREAD_PRIORITY_NORMAL, G_THREAD_PRIORITY_HIGH, G_THREAD_PRIORITY_URGENT } GThreadPriority __attribute__((__deprecated__)); struct _GThread { GThreadFunc func; gpointer data; gboolean joinable; GThreadPriority priority; }; typedef struct _GThreadFunctions GThreadFunctions __attribute__((__deprecated__)); struct _GThreadFunctions { GMutex* (*mutex_new) (void); void (*mutex_lock) (GMutex *mutex); gboolean (*mutex_trylock) (GMutex *mutex); void (*mutex_unlock) (GMutex *mutex); void (*mutex_free) (GMutex *mutex); GCond* (*cond_new) (void); void (*cond_signal) (GCond *cond); void (*cond_broadcast) (GCond *cond); void (*cond_wait) (GCond *cond, GMutex *mutex); gboolean (*cond_timed_wait) (GCond *cond, GMutex *mutex, GTimeVal *end_time); void (*cond_free) (GCond *cond); GPrivate* (*private_new) (GDestroyNotify destructor); gpointer (*private_get) (GPrivate *private_key); void (*private_set) (GPrivate *private_key, gpointer data); void (*thread_create) (GThreadFunc func, gpointer data, gulong stack_size, gboolean joinable, gboolean bound, GThreadPriority priority, gpointer thread, GError **error); void (*thread_yield) (void); void (*thread_join) (gpointer thread); void (*thread_exit) (void); void (*thread_set_priority)(gpointer thread, GThreadPriority priority); void (*thread_self) (gpointer thread); gboolean (*thread_equal) (gpointer thread1, gpointer thread2); } __attribute__((__deprecated__)); extern GThreadFunctions g_thread_functions_for_glib_use; extern gboolean g_thread_use_default_impl; extern guint64 (*g_thread_gettime) (void); __attribute__((__deprecated__("Use '" "g_thread_new" "' instead"))) extern GThread *g_thread_create (GThreadFunc func, gpointer data, gboolean joinable, GError **error); __attribute__((__deprecated__("Use '" "g_thread_new" "' instead"))) extern GThread *g_thread_create_full (GThreadFunc func, gpointer data, gulong stack_size, gboolean joinable, gboolean bound, GThreadPriority priority, GError **error); __attribute__((__deprecated__)) extern void g_thread_set_priority (GThread *thread, GThreadPriority priority); __attribute__((__deprecated__)) extern void g_thread_foreach (GFunc thread_func, gpointer user_data); # 1 "/usr/include/pthread.h" 1 3 4 # 19 "/usr/include/pthread.h" 3 4 #define _PTHREAD_H 1 # 1 "/usr/include/sched.h" 1 3 4 # 20 "/usr/include/sched.h" 3 4 #define _SCHED_H 1 #define __need_size_t #define __need_NULL # 1 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 1 3 4 # 158 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 #undef __need_ptrdiff_t # 237 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 #undef __need_size_t # 349 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 #undef __need_wchar_t # 399 "/usr/lib/gcc/riscv64-unknown-linux-gnu/13/include/stddef.h" 3 4 #undef NULL #define NULL ((void *)0) #undef __need_NULL #undef offsetof #define offsetof(TYPE,MEMBER) __builtin_offsetof (TYPE, MEMBER) # 30 "/usr/include/sched.h" 2 3 4 # 43 "/usr/include/sched.h" 3 4 # 1 "/usr/include/bits/sched.h" 1 3 4 # 21 "/usr/include/bits/sched.h" 3 4 #define _BITS_SCHED_H 1 #define SCHED_OTHER 0 #define SCHED_FIFO 1 #define SCHED_RR 2 # 80 "/usr/include/bits/sched.h" 3 4 # 1 "/usr/include/bits/types/struct_sched_param.h" 1 3 4 # 20 "/usr/include/bits/types/struct_sched_param.h" 3 4 #define _BITS_TYPES_STRUCT_SCHED_PARAM 1 # 23 "/usr/include/bits/types/struct_sched_param.h" 3 4 struct sched_param { int sched_priority; }; # 81 "/usr/include/bits/sched.h" 2 3 4 # 102 "/usr/include/bits/sched.h" 3 4 # 44 "/usr/include/sched.h" 2 3 4 # 1 "/usr/include/bits/cpu-set.h" 1 3 4 # 21 "/usr/include/bits/cpu-set.h" 3 4 #define _BITS_CPU_SET_H 1 #define __CPU_SETSIZE 1024 #define __NCPUBITS (8 * sizeof (__cpu_mask)) typedef unsigned long int __cpu_mask; #define __CPUELT(cpu) ((cpu) / __NCPUBITS) #define __CPUMASK(cpu) ((__cpu_mask) 1 << ((cpu) % __NCPUBITS)) typedef struct { __cpu_mask __bits[1024 / (8 * sizeof (__cpu_mask))]; } cpu_set_t; #define __CPU_ZERO_S(setsize,cpusetp) do __builtin_memset (cpusetp, '\0', setsize); while (0) # 58 "/usr/include/bits/cpu-set.h" 3 4 #define __CPU_SET_S(cpu,setsize,cpusetp) (__extension__ ({ size_t __cpu = (cpu); __cpu / 8 < (setsize) ? (((__cpu_mask *) ((cpusetp)->__bits))[__CPUELT (__cpu)] |= __CPUMASK (__cpu)) : 0; })) #define __CPU_CLR_S(cpu,setsize,cpusetp) (__extension__ ({ size_t __cpu = (cpu); __cpu / 8 < (setsize) ? (((__cpu_mask *) ((cpusetp)->__bits))[__CPUELT (__cpu)] &= ~__CPUMASK (__cpu)) : 0; })) #define __CPU_ISSET_S(cpu,setsize,cpusetp) (__extension__ ({ size_t __cpu = (cpu); __cpu / 8 < (setsize) ? ((((const __cpu_mask *) ((cpusetp)->__bits))[__CPUELT (__cpu)] & __CPUMASK (__cpu))) != 0 : 0; })) #define __CPU_COUNT_S(setsize,cpusetp) __sched_cpucount (setsize, cpusetp) #define __CPU_EQUAL_S(setsize,cpusetp1,cpusetp2) (__builtin_memcmp (cpusetp1, cpusetp2, setsize) == 0) # 99 "/usr/include/bits/cpu-set.h" 3 4 #define __CPU_OP_S(setsize,destset,srcset1,srcset2,op) (__extension__ ({ cpu_set_t *__dest = (destset); const __cpu_mask *__arr1 = (srcset1)->__bits; const __cpu_mask *__arr2 = (srcset2)->__bits; size_t __imax = (setsize) / sizeof (__cpu_mask); size_t __i; for (__i = 0; __i < __imax; ++__i) ((__cpu_mask *) __dest->__bits)[__i] = __arr1[__i] op __arr2[__i]; __dest; })) # 110 "/usr/include/bits/cpu-set.h" 3 4 #define __CPU_ALLOC_SIZE(count) ((((count) + __NCPUBITS - 1) / __NCPUBITS) * sizeof (__cpu_mask)) #define __CPU_ALLOC(count) __sched_cpualloc (count) #define __CPU_FREE(cpuset) __sched_cpufree (cpuset) extern int __sched_cpucount (size_t __setsize, const cpu_set_t *__setp) __attribute__ ((__nothrow__ , __leaf__)); extern cpu_set_t *__sched_cpualloc (size_t __count) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__)); extern void __sched_cpufree (cpu_set_t *__set) __attribute__ ((__nothrow__ , __leaf__)); # 45 "/usr/include/sched.h" 2 3 4 #define sched_priority sched_priority #define __sched_priority sched_priority extern int sched_setparam (__pid_t __pid, const struct sched_param *__param) __attribute__ ((__nothrow__ , __leaf__)); extern int sched_getparam (__pid_t __pid, struct sched_param *__param) __attribute__ ((__nothrow__ , __leaf__)); extern int sched_setscheduler (__pid_t __pid, int __policy, const struct sched_param *__param) __attribute__ ((__nothrow__ , __leaf__)); extern int sched_getscheduler (__pid_t __pid) __attribute__ ((__nothrow__ , __leaf__)); extern int sched_yield (void) __attribute__ ((__nothrow__ , __leaf__)); extern int sched_get_priority_max (int __algorithm) __attribute__ ((__nothrow__ , __leaf__)); extern int sched_get_priority_min (int __algorithm) __attribute__ ((__nothrow__ , __leaf__)); extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) __attribute__ ((__nothrow__ , __leaf__)); # 138 "/usr/include/sched.h" 3 4 # 23 "/usr/include/pthread.h" 2 3 4 # 1 "/usr/include/bits/setjmp.h" 1 3 4 # 20 "/usr/include/bits/setjmp.h" 3 4 #define _RISCV_BITS_SETJMP_H typedef struct __jmp_buf_internal_tag { long int __pc; long int __regs[12]; long int __sp; double __fpregs[12]; } __jmp_buf[1]; # 28 "/usr/include/pthread.h" 2 3 4 # 1 "/usr/include/bits/wordsize.h" 1 3 4 # 20 "/usr/include/bits/wordsize.h" 3 4 #define __WORDSIZE __riscv_xlen #define __WORDSIZE_TIME64_COMPAT32 1 # 29 "/usr/include/pthread.h" 2 3 4 # 1 "/usr/include/bits/types/struct___jmp_buf_tag.h" 1 3 4 # 20 "/usr/include/bits/types/struct___jmp_buf_tag.h" 3 4 #define __jmp_buf_tag_defined 1 struct __jmp_buf_tag { __jmp_buf __jmpbuf; int __mask_was_saved; __sigset_t __saved_mask; }; # 32 "/usr/include/pthread.h" 2 3 4 enum { PTHREAD_CREATE_JOINABLE, #define PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_DETACHED #define PTHREAD_CREATE_DETACHED PTHREAD_CREATE_DETACHED }; enum { PTHREAD_MUTEX_TIMED_NP, PTHREAD_MUTEX_RECURSIVE_NP, PTHREAD_MUTEX_ERRORCHECK_NP, PTHREAD_MUTEX_ADAPTIVE_NP , PTHREAD_MUTEX_NORMAL = PTHREAD_MUTEX_TIMED_NP, PTHREAD_MUTEX_RECURSIVE = PTHREAD_MUTEX_RECURSIVE_NP, PTHREAD_MUTEX_ERRORCHECK = PTHREAD_MUTEX_ERRORCHECK_NP, PTHREAD_MUTEX_DEFAULT = PTHREAD_MUTEX_NORMAL }; enum { PTHREAD_MUTEX_STALLED, PTHREAD_MUTEX_STALLED_NP = PTHREAD_MUTEX_STALLED, PTHREAD_MUTEX_ROBUST, PTHREAD_MUTEX_ROBUST_NP = PTHREAD_MUTEX_ROBUST }; enum { PTHREAD_PRIO_NONE, PTHREAD_PRIO_INHERIT, PTHREAD_PRIO_PROTECT }; #define PTHREAD_MUTEX_INITIALIZER { { __PTHREAD_MUTEX_INITIALIZER (PTHREAD_MUTEX_TIMED_NP) } } # 104 "/usr/include/pthread.h" 3 4 enum { PTHREAD_RWLOCK_PREFER_READER_NP, PTHREAD_RWLOCK_PREFER_WRITER_NP, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP, PTHREAD_RWLOCK_DEFAULT_NP = PTHREAD_RWLOCK_PREFER_READER_NP }; #define PTHREAD_RWLOCK_INITIALIZER { { __PTHREAD_RWLOCK_INITIALIZER (PTHREAD_RWLOCK_DEFAULT_NP) } } # 124 "/usr/include/pthread.h" 3 4 enum { PTHREAD_INHERIT_SCHED, #define PTHREAD_INHERIT_SCHED PTHREAD_INHERIT_SCHED PTHREAD_EXPLICIT_SCHED #define PTHREAD_EXPLICIT_SCHED PTHREAD_EXPLICIT_SCHED }; enum { PTHREAD_SCOPE_SYSTEM, #define PTHREAD_SCOPE_SYSTEM PTHREAD_SCOPE_SYSTEM PTHREAD_SCOPE_PROCESS #define PTHREAD_SCOPE_PROCESS PTHREAD_SCOPE_PROCESS }; enum { PTHREAD_PROCESS_PRIVATE, #define PTHREAD_PROCESS_PRIVATE PTHREAD_PROCESS_PRIVATE PTHREAD_PROCESS_SHARED #define PTHREAD_PROCESS_SHARED PTHREAD_PROCESS_SHARED }; #define PTHREAD_COND_INITIALIZER { { {0}, {0}, {0, 0}, {0, 0}, 0, 0, {0, 0} } } struct _pthread_cleanup_buffer { void (*__routine) (void *); void *__arg; int __canceltype; struct _pthread_cleanup_buffer *__prev; }; enum { PTHREAD_CANCEL_ENABLE, #define PTHREAD_CANCEL_ENABLE PTHREAD_CANCEL_ENABLE PTHREAD_CANCEL_DISABLE #define PTHREAD_CANCEL_DISABLE PTHREAD_CANCEL_DISABLE }; enum { PTHREAD_CANCEL_DEFERRED, #define PTHREAD_CANCEL_DEFERRED PTHREAD_CANCEL_DEFERRED PTHREAD_CANCEL_ASYNCHRONOUS #define PTHREAD_CANCEL_ASYNCHRONOUS PTHREAD_CANCEL_ASYNCHRONOUS }; #define PTHREAD_CANCELED ((void *) -1) #define PTHREAD_ONCE_INIT 0 #define PTHREAD_BARRIER_SERIAL_THREAD -1 extern int pthread_create (pthread_t *__restrict __newthread, const pthread_attr_t *__restrict __attr, void *(*__start_routine) (void *), void *__restrict __arg) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))); extern void pthread_exit (void *__retval) __attribute__ ((__noreturn__)); extern int pthread_join (pthread_t __th, void **__thread_return); # 269 "/usr/include/pthread.h" 3 4 extern int pthread_detach (pthread_t __th) __attribute__ ((__nothrow__ , __leaf__)); extern pthread_t pthread_self (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int pthread_equal (pthread_t __thread1, pthread_t __thread2) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int pthread_attr_init (pthread_attr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_destroy (pthread_attr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getdetachstate (const pthread_attr_t *__attr, int *__detachstate) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setdetachstate (pthread_attr_t *__attr, int __detachstate) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getguardsize (const pthread_attr_t *__attr, size_t *__guardsize) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setguardsize (pthread_attr_t *__attr, size_t __guardsize) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getschedparam (const pthread_attr_t *__restrict __attr, struct sched_param *__restrict __param) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setschedparam (pthread_attr_t *__restrict __attr, const struct sched_param *__restrict __param) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_getschedpolicy (const pthread_attr_t *__restrict __attr, int *__restrict __policy) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setschedpolicy (pthread_attr_t *__attr, int __policy) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getinheritsched (const pthread_attr_t *__restrict __attr, int *__restrict __inherit) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setinheritsched (pthread_attr_t *__attr, int __inherit) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getscope (const pthread_attr_t *__restrict __attr, int *__restrict __scope) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setscope (pthread_attr_t *__attr, int __scope) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getstackaddr (const pthread_attr_t *__restrict __attr, void **__restrict __stackaddr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__deprecated__)); extern int pthread_attr_setstackaddr (pthread_attr_t *__attr, void *__stackaddr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)); extern int pthread_attr_getstacksize (const pthread_attr_t *__restrict __attr, size_t *__restrict __stacksize) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_attr_setstacksize (pthread_attr_t *__attr, size_t __stacksize) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_attr_getstack (const pthread_attr_t *__restrict __attr, void **__restrict __stackaddr, size_t *__restrict __stacksize) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2, 3))); extern int pthread_attr_setstack (pthread_attr_t *__attr, void *__stackaddr, size_t __stacksize) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 441 "/usr/include/pthread.h" 3 4 extern int pthread_setschedparam (pthread_t __target_thread, int __policy, const struct sched_param *__param) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))); extern int pthread_getschedparam (pthread_t __target_thread, int *__restrict __policy, struct sched_param *__restrict __param) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 3))); extern int pthread_setschedprio (pthread_t __target_thread, int __prio) __attribute__ ((__nothrow__ , __leaf__)); # 509 "/usr/include/pthread.h" 3 4 extern int pthread_once (pthread_once_t *__once_control, void (*__init_routine) (void)) __attribute__ ((__nonnull__ (1, 2))); # 521 "/usr/include/pthread.h" 3 4 extern int pthread_setcancelstate (int __state, int *__oldstate); extern int pthread_setcanceltype (int __type, int *__oldtype); extern int pthread_cancel (pthread_t __th); extern void pthread_testcancel (void); struct __cancel_jmp_buf_tag { __jmp_buf __cancel_jmp_buf; int __mask_was_saved; }; typedef struct { struct __cancel_jmp_buf_tag __cancel_jmp_buf[1]; void *__pad[4]; } __pthread_unwind_buf_t __attribute__ ((__aligned__)); #define __cleanup_fct_attribute struct __pthread_cleanup_frame { void (*__cancel_routine) (void *); void *__cancel_arg; int __do_it; int __cancel_type; }; # 681 "/usr/include/pthread.h" 3 4 #define pthread_cleanup_push(routine,arg) do { __pthread_unwind_buf_t __cancel_buf; void (*__cancel_routine) (void *) = (routine); void *__cancel_arg = (arg); int __not_first_call = __sigsetjmp_cancel (__cancel_buf.__cancel_jmp_buf, 0); if (__glibc_unlikely (__not_first_call)) { __cancel_routine (__cancel_arg); __pthread_unwind_next (&__cancel_buf); } __pthread_register_cancel (&__cancel_buf); do { # 697 "/usr/include/pthread.h" 3 4 extern void __pthread_register_cancel (__pthread_unwind_buf_t *__buf) ; #define pthread_cleanup_pop(execute) do { } while (0); } while (0); __pthread_unregister_cancel (&__cancel_buf); if (execute) __cancel_routine (__cancel_arg); } while (0) extern void __pthread_unregister_cancel (__pthread_unwind_buf_t *__buf) ; # 750 "/usr/include/pthread.h" 3 4 extern void __pthread_unwind_next (__pthread_unwind_buf_t *__buf) __attribute__ ((__noreturn__)) __attribute__ ((__weak__)) ; # 766 "/usr/include/pthread.h" 3 4 extern int __sigsetjmp_cancel (struct __cancel_jmp_buf_tag __env[1], int __savemask) __asm__ ("" "__sigsetjmp") __attribute__ ((__nothrow__)) __attribute__ ((__returns_twice__)); # 781 "/usr/include/pthread.h" 3 4 extern int pthread_mutex_init (pthread_mutex_t *__mutex, const pthread_mutexattr_t *__mutexattr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_destroy (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_trylock (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_lock (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_timedlock (pthread_mutex_t *__restrict __mutex, const struct timespec *__restrict __abstime) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); # 835 "/usr/include/pthread.h" 3 4 extern int pthread_mutex_unlock (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutex_getprioceiling (const pthread_mutex_t * __restrict __mutex, int *__restrict __prioceiling) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutex_setprioceiling (pthread_mutex_t *__restrict __mutex, int __prioceiling, int *__restrict __old_ceiling) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 3))); extern int pthread_mutex_consistent (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 874 "/usr/include/pthread.h" 3 4 extern int pthread_mutexattr_init (pthread_mutexattr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_destroy (pthread_mutexattr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_getpshared (const pthread_mutexattr_t * __restrict __attr, int *__restrict __pshared) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_setpshared (pthread_mutexattr_t *__attr, int __pshared) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_gettype (const pthread_mutexattr_t *__restrict __attr, int *__restrict __kind) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_settype (pthread_mutexattr_t *__attr, int __kind) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_getprotocol (const pthread_mutexattr_t * __restrict __attr, int *__restrict __protocol) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_setprotocol (pthread_mutexattr_t *__attr, int __protocol) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_getprioceiling (const pthread_mutexattr_t * __restrict __attr, int *__restrict __prioceiling) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_mutexattr_setprioceiling (pthread_mutexattr_t *__attr, int __prioceiling) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_mutexattr_getrobust (const pthread_mutexattr_t *__attr, int *__robustness) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); # 946 "/usr/include/pthread.h" 3 4 extern int pthread_mutexattr_setrobust (pthread_mutexattr_t *__attr, int __robustness) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 967 "/usr/include/pthread.h" 3 4 extern int pthread_rwlock_init (pthread_rwlock_t *__restrict __rwlock, const pthread_rwlockattr_t *__restrict __attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_destroy (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_rdlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_tryrdlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_timedrdlock (pthread_rwlock_t *__restrict __rwlock, const struct timespec *__restrict __abstime) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); # 1023 "/usr/include/pthread.h" 3 4 extern int pthread_rwlock_wrlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_trywrlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlock_timedwrlock (pthread_rwlock_t *__restrict __rwlock, const struct timespec *__restrict __abstime) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))); # 1071 "/usr/include/pthread.h" 3 4 extern int pthread_rwlock_unlock (pthread_rwlock_t *__rwlock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlockattr_init (pthread_rwlockattr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlockattr_destroy (pthread_rwlockattr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlockattr_getpshared (const pthread_rwlockattr_t * __restrict __attr, int *__restrict __pshared) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_rwlockattr_setpshared (pthread_rwlockattr_t *__attr, int __pshared) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_rwlockattr_getkind_np (const pthread_rwlockattr_t * __restrict __attr, int *__restrict __pref) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_rwlockattr_setkind_np (pthread_rwlockattr_t *__attr, int __pref) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_cond_init (pthread_cond_t *__restrict __cond, const pthread_condattr_t *__restrict __cond_attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_cond_destroy (pthread_cond_t *__cond) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_cond_signal (pthread_cond_t *__cond) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_cond_broadcast (pthread_cond_t *__cond) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_cond_wait (pthread_cond_t *__restrict __cond, pthread_mutex_t *__restrict __mutex) __attribute__ ((__nonnull__ (1, 2))); # 1145 "/usr/include/pthread.h" 3 4 extern int pthread_cond_timedwait (pthread_cond_t *__restrict __cond, pthread_mutex_t *__restrict __mutex, const struct timespec *__restrict __abstime) __attribute__ ((__nonnull__ (1, 2, 3))); # 1194 "/usr/include/pthread.h" 3 4 extern int pthread_condattr_init (pthread_condattr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_condattr_destroy (pthread_condattr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_condattr_getpshared (const pthread_condattr_t * __restrict __attr, int *__restrict __pshared) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_condattr_setpshared (pthread_condattr_t *__attr, int __pshared) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_condattr_getclock (const pthread_condattr_t * __restrict __attr, __clockid_t *__restrict __clock_id) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_condattr_setclock (pthread_condattr_t *__attr, __clockid_t __clock_id) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 1230 "/usr/include/pthread.h" 3 4 extern int pthread_spin_init (pthread_spinlock_t *__lock, int __pshared) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_spin_destroy (pthread_spinlock_t *__lock) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_spin_lock (pthread_spinlock_t *__lock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_spin_trylock (pthread_spinlock_t *__lock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_spin_unlock (pthread_spinlock_t *__lock) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_barrier_init (pthread_barrier_t *__restrict __barrier, const pthread_barrierattr_t *__restrict __attr, unsigned int __count) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_barrier_destroy (pthread_barrier_t *__barrier) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_barrier_wait (pthread_barrier_t *__barrier) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern int pthread_barrierattr_init (pthread_barrierattr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_barrierattr_destroy (pthread_barrierattr_t *__attr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_barrierattr_getpshared (const pthread_barrierattr_t * __restrict __attr, int *__restrict __pshared) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2))); extern int pthread_barrierattr_setpshared (pthread_barrierattr_t *__attr, int __pshared) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); # 1297 "/usr/include/pthread.h" 3 4 extern int pthread_key_create (pthread_key_t *__key, void (*__destr_function) (void *)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))); extern int pthread_key_delete (pthread_key_t __key) __attribute__ ((__nothrow__ , __leaf__)); extern void *pthread_getspecific (pthread_key_t __key) __attribute__ ((__nothrow__ , __leaf__)); extern int pthread_setspecific (pthread_key_t __key, const void *__pointer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__access__ (__none__, 2))); extern int pthread_getcpuclockid (pthread_t __thread_id, __clockid_t *__clock_id) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); # 1332 "/usr/include/pthread.h" 3 4 extern int pthread_atfork (void (*__prepare) (void), void (*__parent) (void), void (*__child) (void)) __attribute__ ((__nothrow__ , __leaf__)); extern __inline __attribute__ ((__gnu_inline__)) int __attribute__ ((__nothrow__ , __leaf__)) pthread_equal (pthread_t __thread1, pthread_t __thread2) { return __thread1 == __thread2; } # 127 "/usr/include/glib-2.0/glib/deprecated/gthread.h" 2 #define g_static_mutex_get_mutex g_static_mutex_get_mutex_impl GLIB_DEPRECATED_MACRO_IN_2_32 #define G_STATIC_MUTEX_INIT { NULL, PTHREAD_MUTEX_INITIALIZER } GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_init) # 135 "/usr/include/glib-2.0/glib/deprecated/gthread.h" typedef struct { GMutex *mutex; pthread_mutex_t unused; } GStaticMutex __attribute__((__deprecated__("Use '" "GMutex" "' instead"))); #define g_static_mutex_lock(mutex) g_mutex_lock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_lock) #define g_static_mutex_trylock(mutex) g_mutex_trylock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_trylock) #define g_static_mutex_unlock(mutex) g_mutex_unlock (g_static_mutex_get_mutex (mutex)) GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_mutex_unlock) __attribute__((__deprecated__("Use '" "g_mutex_init" "' instead"))) extern void g_static_mutex_init (GStaticMutex *mutex); __attribute__((__deprecated__("Use '" "g_mutex_clear" "' instead"))) extern void g_static_mutex_free (GStaticMutex *mutex); __attribute__((__deprecated__("Use '" "GMutex" "' instead"))) extern GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); typedef struct _GStaticRecMutex GStaticRecMutex __attribute__((__deprecated__("Use '" "GRecMutex" "' instead"))); struct _GStaticRecMutex { GStaticMutex mutex; guint depth; union { pthread_t owner; gdouble dummy; } unused; } __attribute__((__deprecated__("Use '" "GRecMutex" "' instead"))); #define G_STATIC_REC_MUTEX_INIT { G_STATIC_MUTEX_INIT, 0, { 0 } } GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_rec_mutex_init) __attribute__((__deprecated__("Use '" "g_rec_mutex_init" "' instead"))) extern void g_static_rec_mutex_init (GStaticRecMutex *mutex); __attribute__((__deprecated__("Use '" "g_rec_mutex_lock" "' instead"))) extern void g_static_rec_mutex_lock (GStaticRecMutex *mutex); __attribute__((__deprecated__("Use '" "g_rec_mutex_try_lock" "' instead"))) extern gboolean g_static_rec_mutex_trylock (GStaticRecMutex *mutex); __attribute__((__deprecated__("Use '" "g_rec_mutex_unlock" "' instead"))) extern void g_static_rec_mutex_unlock (GStaticRecMutex *mutex); __attribute__((__deprecated__)) extern void g_static_rec_mutex_lock_full (GStaticRecMutex *mutex, guint depth); __attribute__((__deprecated__)) extern guint g_static_rec_mutex_unlock_full (GStaticRecMutex *mutex); __attribute__((__deprecated__("Use '" "g_rec_mutex_free" "' instead"))) extern void g_static_rec_mutex_free (GStaticRecMutex *mutex); typedef struct _GStaticRWLock GStaticRWLock __attribute__((__deprecated__("Use '" "GRWLock" "' instead"))); struct _GStaticRWLock { GStaticMutex mutex; GCond *read_cond; GCond *write_cond; guint read_counter; gboolean have_writer; guint want_to_read; guint want_to_write; } __attribute__((__deprecated__("Use '" "GRWLock" "' instead"))); #define G_STATIC_RW_LOCK_INIT { G_STATIC_MUTEX_INIT, NULL, NULL, 0, FALSE, 0, 0 } GLIB_DEPRECATED_MACRO_IN_2_32_FOR(g_rw_lock_init) __attribute__((__deprecated__("Use '" "g_rw_lock_init" "' instead"))) extern void g_static_rw_lock_init (GStaticRWLock *lock); __attribute__((__deprecated__("Use '" "g_rw_lock_reader_lock" "' instead"))) extern void g_static_rw_lock_reader_lock (GStaticRWLock *lock); __attribute__((__deprecated__("Use '" "g_rw_lock_reader_trylock" "' instead"))) extern gboolean g_static_rw_lock_reader_trylock (GStaticRWLock *lock); __attribute__((__deprecated__("Use '" "g_rw_lock_reader_unlock" "' instead"))) extern void g_static_rw_lock_reader_unlock (GStaticRWLock *lock); __attribute__((__deprecated__("Use '" "g_rw_lock_writer_lock" "' instead"))) extern void g_static_rw_lock_writer_lock (GStaticRWLock *lock); __attribute__((__deprecated__("Use '" "g_rw_lock_writer_trylock" "' instead"))) extern gboolean g_static_rw_lock_writer_trylock (GStaticRWLock *lock); __attribute__((__deprecated__("Use '" "g_rw_lock_writer_unlock" "' instead"))) extern void g_static_rw_lock_writer_unlock (GStaticRWLock *lock); __attribute__((__deprecated__("Use '" "g_rw_lock_free" "' instead"))) extern void g_static_rw_lock_free (GStaticRWLock *lock); __attribute__((__deprecated__)) extern GPrivate * g_private_new (GDestroyNotify notify); typedef struct _GStaticPrivate GStaticPrivate __attribute__((__deprecated__("Use '" "GPrivate" "' instead"))); struct _GStaticPrivate { guint index; } __attribute__((__deprecated__("Use '" "GPrivate" "' instead"))); #define G_STATIC_PRIVATE_INIT { 0 } GLIB_DEPRECATED_MACRO_IN_2_32_FOR(G_PRIVATE_INIT) __attribute__((__deprecated__)) extern void g_static_private_init (GStaticPrivate *private_key); __attribute__((__deprecated__("Use '" "g_private_get" "' instead"))) extern gpointer g_static_private_get (GStaticPrivate *private_key); __attribute__((__deprecated__("Use '" "g_private_set" "' instead"))) extern void g_static_private_set (GStaticPrivate *private_key, gpointer data, GDestroyNotify notify); __attribute__((__deprecated__)) extern void g_static_private_free (GStaticPrivate *private_key); __attribute__((__deprecated__)) extern gboolean g_once_init_enter_impl (volatile gsize *location); __attribute__((__deprecated__)) extern void g_thread_init (gpointer vtable); __attribute__((__deprecated__)) extern void g_thread_init_with_errorcheck_mutexes (gpointer vtable); __attribute__((__deprecated__)) extern gboolean g_thread_get_initialized (void); extern gboolean g_threads_got_initialized; #define g_thread_supported() (1) GLIB_DEPRECATED_MACRO_IN_2_32 __attribute__((__deprecated__)) extern GMutex * g_mutex_new (void); __attribute__((__deprecated__)) extern void g_mutex_free (GMutex *mutex); __attribute__((__deprecated__)) extern GCond * g_cond_new (void); __attribute__((__deprecated__)) extern void g_cond_free (GCond *cond); __attribute__((__deprecated__)) extern gboolean g_cond_timed_wait (GCond *cond, GMutex *mutex, GTimeVal *timeval); # 291 "/usr/include/glib-2.0/glib/deprecated/gthread.h" #pragma GCC diagnostic pop # 116 "/usr/include/glib-2.0/glib.h" 2 # 1 "/usr/include/glib-2.0/glib/glib-autocleanups.h" 1 # 26 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static inline void g_autoptr_cleanup_generic_gfree (void *p) { void **pp = (void**)p; g_free (*pp); } static inline void g_autoptr_cleanup_gstring_free (GString *string) { if (string) (__builtin_constant_p ((!(0))) ? (((!(0))) ? (g_string_free) ((string), ((!(0)))) : g_string_free_and_steal (string)) : (g_string_free) ((string), ((!(0))))); } # 42 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 42 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 42 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" typedef GAsyncQueue *GAsyncQueue_autoptr; typedef GList *GAsyncQueue_listautoptr; typedef GSList *GAsyncQueue_slistautoptr; typedef GQueue *GAsyncQueue_queueautoptr; # 47 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 47 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 47 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 47 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GAsyncQueue (GAsyncQueue *_ptr) { if (_ptr) (g_async_queue_unref) ((GAsyncQueue *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GAsyncQueue (GAsyncQueue **_ptr) { glib_autoptr_clear_GAsyncQueue (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GAsyncQueue (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_async_queue_unref); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GAsyncQueue (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_async_queue_unref); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GAsyncQueue (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_async_queue_unref); } # 47 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GBookmarkFile *GBookmarkFile_autoptr; typedef GList *GBookmarkFile_listautoptr; typedef GSList *GBookmarkFile_slistautoptr; typedef GQueue *GBookmarkFile_queueautoptr; # 48 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 48 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 48 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 48 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GBookmarkFile (GBookmarkFile *_ptr) { if (_ptr) (g_bookmark_file_free) ((GBookmarkFile *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GBookmarkFile (GBookmarkFile **_ptr) { glib_autoptr_clear_GBookmarkFile (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GBookmarkFile (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_bookmark_file_free); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GBookmarkFile (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_bookmark_file_free); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GBookmarkFile (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_bookmark_file_free); } # 48 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GBytes *GBytes_autoptr; typedef GList *GBytes_listautoptr; typedef GSList *GBytes_slistautoptr; typedef GQueue *GBytes_queueautoptr; # 49 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 49 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 49 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 49 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GBytes (GBytes *_ptr) { if (_ptr) (g_bytes_unref) ((GBytes *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GBytes (GBytes **_ptr) { glib_autoptr_clear_GBytes (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GBytes (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_bytes_unref); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GBytes (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_bytes_unref); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GBytes (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_bytes_unref); } # 49 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GChecksum *GChecksum_autoptr; typedef GList *GChecksum_listautoptr; typedef GSList *GChecksum_slistautoptr; typedef GQueue *GChecksum_queueautoptr; # 50 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 50 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 50 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 50 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GChecksum (GChecksum *_ptr) { if (_ptr) (g_checksum_free) ((GChecksum *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GChecksum (GChecksum **_ptr) { glib_autoptr_clear_GChecksum (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GChecksum (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_checksum_free); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GChecksum (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_checksum_free); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GChecksum (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_checksum_free); } # 50 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GDateTime *GDateTime_autoptr; typedef GList *GDateTime_listautoptr; typedef GSList *GDateTime_slistautoptr; typedef GQueue *GDateTime_queueautoptr; # 51 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 51 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 51 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 51 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GDateTime (GDateTime *_ptr) { if (_ptr) (g_date_time_unref) ((GDateTime *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GDateTime (GDateTime **_ptr) { glib_autoptr_clear_GDateTime (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GDateTime (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_date_time_unref); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GDateTime (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_date_time_unref); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GDateTime (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_date_time_unref); } # 51 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GDate *GDate_autoptr; typedef GList *GDate_listautoptr; typedef GSList *GDate_slistautoptr; typedef GQueue *GDate_queueautoptr; # 52 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 52 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 52 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 52 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GDate (GDate *_ptr) { if (_ptr) (g_date_free) ((GDate *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GDate (GDate **_ptr) { glib_autoptr_clear_GDate (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GDate (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_date_free); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GDate (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_date_free); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GDate (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_date_free); } # 52 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GDir *GDir_autoptr; typedef GList *GDir_listautoptr; typedef GSList *GDir_slistautoptr; typedef GQueue *GDir_queueautoptr; # 53 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 53 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 53 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 53 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GDir (GDir *_ptr) { if (_ptr) (g_dir_close) ((GDir *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GDir (GDir **_ptr) { glib_autoptr_clear_GDir (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GDir (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_dir_close); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GDir (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_dir_close); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GDir (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_dir_close); } # 53 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GError *GError_autoptr; typedef GList *GError_listautoptr; typedef GSList *GError_slistautoptr; typedef GQueue *GError_queueautoptr; # 54 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 54 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 54 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 54 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GError (GError *_ptr) { if (_ptr) (g_error_free) ((GError *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GError (GError **_ptr) { glib_autoptr_clear_GError (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GError (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_error_free); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GError (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_error_free); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GError (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_error_free); } # 54 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GHashTable *GHashTable_autoptr; typedef GList *GHashTable_listautoptr; typedef GSList *GHashTable_slistautoptr; typedef GQueue *GHashTable_queueautoptr; # 55 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 55 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 55 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 55 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GHashTable (GHashTable *_ptr) { if (_ptr) (g_hash_table_unref) ((GHashTable *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GHashTable (GHashTable **_ptr) { glib_autoptr_clear_GHashTable (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GHashTable (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_hash_table_unref); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GHashTable (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_hash_table_unref); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GHashTable (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_hash_table_unref); } # 55 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GHmac *GHmac_autoptr; typedef GList *GHmac_listautoptr; typedef GSList *GHmac_slistautoptr; typedef GQueue *GHmac_queueautoptr; # 56 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 56 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 56 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 56 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GHmac (GHmac *_ptr) { if (_ptr) (g_hmac_unref) ((GHmac *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GHmac (GHmac **_ptr) { glib_autoptr_clear_GHmac (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GHmac (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_hmac_unref); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GHmac (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_hmac_unref); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GHmac (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_hmac_unref); } # 56 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GIOChannel *GIOChannel_autoptr; typedef GList *GIOChannel_listautoptr; typedef GSList *GIOChannel_slistautoptr; typedef GQueue *GIOChannel_queueautoptr; # 57 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 57 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 57 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 57 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GIOChannel (GIOChannel *_ptr) { if (_ptr) (g_io_channel_unref) ((GIOChannel *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GIOChannel (GIOChannel **_ptr) { glib_autoptr_clear_GIOChannel (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GIOChannel (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_io_channel_unref); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GIOChannel (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_io_channel_unref); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GIOChannel (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_io_channel_unref); } # 57 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GKeyFile *GKeyFile_autoptr; typedef GList *GKeyFile_listautoptr; typedef GSList *GKeyFile_slistautoptr; typedef GQueue *GKeyFile_queueautoptr; # 58 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 58 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 58 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 58 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GKeyFile (GKeyFile *_ptr) { if (_ptr) (g_key_file_unref) ((GKeyFile *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GKeyFile (GKeyFile **_ptr) { glib_autoptr_clear_GKeyFile (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GKeyFile (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_key_file_unref); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GKeyFile (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_key_file_unref); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GKeyFile (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_key_file_unref); } # 58 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GList *GList_autoptr; typedef GList *GList_listautoptr; typedef GSList *GList_slistautoptr; typedef GQueue *GList_queueautoptr; # 59 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 59 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 59 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 59 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GList (GList *_ptr) { if (_ptr) (g_list_free) ((GList *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GList (GList **_ptr) { glib_autoptr_clear_GList (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GList (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_list_free); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GList (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_list_free); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GList (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_list_free); } # 59 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GArray *GArray_autoptr; typedef GList *GArray_listautoptr; typedef GSList *GArray_slistautoptr; typedef GQueue *GArray_queueautoptr; # 60 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 60 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 60 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 60 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GArray (GArray *_ptr) { if (_ptr) (g_array_unref) ((GArray *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GArray (GArray **_ptr) { glib_autoptr_clear_GArray (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GArray (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_array_unref); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GArray (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_array_unref); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GArray (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_array_unref); } # 60 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GPtrArray *GPtrArray_autoptr; typedef GList *GPtrArray_listautoptr; typedef GSList *GPtrArray_slistautoptr; typedef GQueue *GPtrArray_queueautoptr; # 61 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 61 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 61 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 61 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GPtrArray (GPtrArray *_ptr) { if (_ptr) (g_ptr_array_unref) ((GPtrArray *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GPtrArray (GPtrArray **_ptr) { glib_autoptr_clear_GPtrArray (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GPtrArray (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_ptr_array_unref); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GPtrArray (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_ptr_array_unref); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GPtrArray (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_ptr_array_unref); } # 61 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GByteArray *GByteArray_autoptr; typedef GList *GByteArray_listautoptr; typedef GSList *GByteArray_slistautoptr; typedef GQueue *GByteArray_queueautoptr; # 62 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 62 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 62 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 62 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GByteArray (GByteArray *_ptr) { if (_ptr) (g_byte_array_unref) ((GByteArray *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GByteArray (GByteArray **_ptr) { glib_autoptr_clear_GByteArray (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GByteArray (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_byte_array_unref); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GByteArray (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_byte_array_unref); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GByteArray (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_byte_array_unref); } # 62 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GMainContext *GMainContext_autoptr; typedef GList *GMainContext_listautoptr; typedef GSList *GMainContext_slistautoptr; typedef GQueue *GMainContext_queueautoptr; # 63 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 63 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 63 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 63 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GMainContext (GMainContext *_ptr) { if (_ptr) (g_main_context_unref) ((GMainContext *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GMainContext (GMainContext **_ptr) { glib_autoptr_clear_GMainContext (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GMainContext (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_main_context_unref); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GMainContext (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_main_context_unref); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GMainContext (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_main_context_unref); } # 63 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GMainContextPusher *GMainContextPusher_autoptr; typedef GList *GMainContextPusher_listautoptr; typedef GSList *GMainContextPusher_slistautoptr; typedef GQueue *GMainContextPusher_queueautoptr; # 64 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 64 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 64 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 64 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GMainContextPusher (GMainContextPusher *_ptr) { if (_ptr) (g_main_context_pusher_free) ((GMainContextPusher *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GMainContextPusher (GMainContextPusher **_ptr) { glib_autoptr_clear_GMainContextPusher (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GMainContextPusher (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_main_context_pusher_free); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GMainContextPusher (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_main_context_pusher_free); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GMainContextPusher (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_main_context_pusher_free); } # 64 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GMainLoop *GMainLoop_autoptr; typedef GList *GMainLoop_listautoptr; typedef GSList *GMainLoop_slistautoptr; typedef GQueue *GMainLoop_queueautoptr; # 65 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 65 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 65 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 65 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GMainLoop (GMainLoop *_ptr) { if (_ptr) (g_main_loop_unref) ((GMainLoop *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GMainLoop (GMainLoop **_ptr) { glib_autoptr_clear_GMainLoop (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GMainLoop (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_main_loop_unref); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GMainLoop (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_main_loop_unref); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GMainLoop (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_main_loop_unref); } # 65 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GSource *GSource_autoptr; typedef GList *GSource_listautoptr; typedef GSList *GSource_slistautoptr; typedef GQueue *GSource_queueautoptr; # 66 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 66 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 66 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 66 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GSource (GSource *_ptr) { if (_ptr) (g_source_unref) ((GSource *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GSource (GSource **_ptr) { glib_autoptr_clear_GSource (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GSource (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_source_unref); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GSource (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_source_unref); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GSource (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_source_unref); } # 66 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GMappedFile *GMappedFile_autoptr; typedef GList *GMappedFile_listautoptr; typedef GSList *GMappedFile_slistautoptr; typedef GQueue *GMappedFile_queueautoptr; # 67 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 67 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 67 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 67 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GMappedFile (GMappedFile *_ptr) { if (_ptr) (g_mapped_file_unref) ((GMappedFile *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GMappedFile (GMappedFile **_ptr) { glib_autoptr_clear_GMappedFile (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GMappedFile (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_mapped_file_unref); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GMappedFile (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_mapped_file_unref); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GMappedFile (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_mapped_file_unref); } # 67 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GMarkupParseContext *GMarkupParseContext_autoptr; typedef GList *GMarkupParseContext_listautoptr; typedef GSList *GMarkupParseContext_slistautoptr; typedef GQueue *GMarkupParseContext_queueautoptr; # 68 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 68 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 68 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 68 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GMarkupParseContext (GMarkupParseContext *_ptr) { if (_ptr) (g_markup_parse_context_unref) ((GMarkupParseContext *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GMarkupParseContext (GMarkupParseContext **_ptr) { glib_autoptr_clear_GMarkupParseContext (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GMarkupParseContext (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_markup_parse_context_unref); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GMarkupParseContext (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_markup_parse_context_unref); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GMarkupParseContext (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_markup_parse_context_unref); } # 68 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GNode *GNode_autoptr; typedef GList *GNode_listautoptr; typedef GSList *GNode_slistautoptr; typedef GQueue *GNode_queueautoptr; # 69 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 69 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 69 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 69 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GNode (GNode *_ptr) { if (_ptr) (g_node_destroy) ((GNode *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GNode (GNode **_ptr) { glib_autoptr_clear_GNode (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GNode (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_node_destroy); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GNode (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_node_destroy); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GNode (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_node_destroy); } # 69 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GOptionContext *GOptionContext_autoptr; typedef GList *GOptionContext_listautoptr; typedef GSList *GOptionContext_slistautoptr; typedef GQueue *GOptionContext_queueautoptr; # 70 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 70 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 70 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 70 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GOptionContext (GOptionContext *_ptr) { if (_ptr) (g_option_context_free) ((GOptionContext *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GOptionContext (GOptionContext **_ptr) { glib_autoptr_clear_GOptionContext (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GOptionContext (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_option_context_free); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GOptionContext (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_option_context_free); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GOptionContext (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_option_context_free); } # 70 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GOptionGroup *GOptionGroup_autoptr; typedef GList *GOptionGroup_listautoptr; typedef GSList *GOptionGroup_slistautoptr; typedef GQueue *GOptionGroup_queueautoptr; # 71 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 71 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 71 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 71 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GOptionGroup (GOptionGroup *_ptr) { if (_ptr) (g_option_group_unref) ((GOptionGroup *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GOptionGroup (GOptionGroup **_ptr) { glib_autoptr_clear_GOptionGroup (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GOptionGroup (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_option_group_unref); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GOptionGroup (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_option_group_unref); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GOptionGroup (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_option_group_unref); } # 71 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GPatternSpec *GPatternSpec_autoptr; typedef GList *GPatternSpec_listautoptr; typedef GSList *GPatternSpec_slistautoptr; typedef GQueue *GPatternSpec_queueautoptr; # 72 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 72 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 72 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 72 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GPatternSpec (GPatternSpec *_ptr) { if (_ptr) (g_pattern_spec_free) ((GPatternSpec *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GPatternSpec (GPatternSpec **_ptr) { glib_autoptr_clear_GPatternSpec (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GPatternSpec (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_pattern_spec_free); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GPatternSpec (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_pattern_spec_free); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GPatternSpec (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_pattern_spec_free); } # 72 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GQueue *GQueue_autoptr; typedef GList *GQueue_listautoptr; typedef GSList *GQueue_slistautoptr; typedef GQueue *GQueue_queueautoptr; # 73 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 73 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 73 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 73 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GQueue (GQueue *_ptr) { if (_ptr) (g_queue_free) ((GQueue *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GQueue (GQueue **_ptr) { glib_autoptr_clear_GQueue (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GQueue (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_queue_free); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GQueue (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_queue_free); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GQueue (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_queue_free); } # 73 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop # 74 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 74 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 74 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 74 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_auto_cleanup_GQueue (GQueue *_ptr) { (g_queue_clear) (_ptr); } # 74 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GRand *GRand_autoptr; typedef GList *GRand_listautoptr; typedef GSList *GRand_slistautoptr; typedef GQueue *GRand_queueautoptr; # 75 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 75 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 75 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 75 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GRand (GRand *_ptr) { if (_ptr) (g_rand_free) ((GRand *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GRand (GRand **_ptr) { glib_autoptr_clear_GRand (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GRand (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_rand_free); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GRand (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_rand_free); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GRand (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_rand_free); } # 75 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GRegex *GRegex_autoptr; typedef GList *GRegex_listautoptr; typedef GSList *GRegex_slistautoptr; typedef GQueue *GRegex_queueautoptr; # 76 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 76 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 76 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 76 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GRegex (GRegex *_ptr) { if (_ptr) (g_regex_unref) ((GRegex *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GRegex (GRegex **_ptr) { glib_autoptr_clear_GRegex (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GRegex (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_regex_unref); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GRegex (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_regex_unref); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GRegex (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_regex_unref); } # 76 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GMatchInfo *GMatchInfo_autoptr; typedef GList *GMatchInfo_listautoptr; typedef GSList *GMatchInfo_slistautoptr; typedef GQueue *GMatchInfo_queueautoptr; # 77 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 77 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 77 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 77 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GMatchInfo (GMatchInfo *_ptr) { if (_ptr) (g_match_info_unref) ((GMatchInfo *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GMatchInfo (GMatchInfo **_ptr) { glib_autoptr_clear_GMatchInfo (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GMatchInfo (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_match_info_unref); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GMatchInfo (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_match_info_unref); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GMatchInfo (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_match_info_unref); } # 77 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GScanner *GScanner_autoptr; typedef GList *GScanner_listautoptr; typedef GSList *GScanner_slistautoptr; typedef GQueue *GScanner_queueautoptr; # 78 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 78 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 78 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 78 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GScanner (GScanner *_ptr) { if (_ptr) (g_scanner_destroy) ((GScanner *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GScanner (GScanner **_ptr) { glib_autoptr_clear_GScanner (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GScanner (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_scanner_destroy); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GScanner (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_scanner_destroy); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GScanner (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_scanner_destroy); } # 78 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GSequence *GSequence_autoptr; typedef GList *GSequence_listautoptr; typedef GSList *GSequence_slistautoptr; typedef GQueue *GSequence_queueautoptr; # 79 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 79 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 79 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 79 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GSequence (GSequence *_ptr) { if (_ptr) (g_sequence_free) ((GSequence *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GSequence (GSequence **_ptr) { glib_autoptr_clear_GSequence (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GSequence (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_sequence_free); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GSequence (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_sequence_free); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GSequence (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_sequence_free); } # 79 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GSList *GSList_autoptr; typedef GList *GSList_listautoptr; typedef GSList *GSList_slistautoptr; typedef GQueue *GSList_queueautoptr; # 80 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 80 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 80 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 80 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GSList (GSList *_ptr) { if (_ptr) (g_slist_free) ((GSList *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GSList (GSList **_ptr) { glib_autoptr_clear_GSList (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GSList (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_slist_free); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GSList (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_slist_free); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GSList (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_slist_free); } # 80 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GString *GString_autoptr; typedef GList *GString_listautoptr; typedef GSList *GString_slistautoptr; typedef GQueue *GString_queueautoptr; # 81 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 81 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 81 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 81 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GString (GString *_ptr) { if (_ptr) (g_autoptr_cleanup_gstring_free) ((GString *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GString (GString **_ptr) { glib_autoptr_clear_GString (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GString (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_autoptr_cleanup_gstring_free); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GString (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_autoptr_cleanup_gstring_free); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GString (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_autoptr_cleanup_gstring_free); } # 81 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GStringChunk *GStringChunk_autoptr; typedef GList *GStringChunk_listautoptr; typedef GSList *GStringChunk_slistautoptr; typedef GQueue *GStringChunk_queueautoptr; # 82 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 82 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 82 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 82 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GStringChunk (GStringChunk *_ptr) { if (_ptr) (g_string_chunk_free) ((GStringChunk *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GStringChunk (GStringChunk **_ptr) { glib_autoptr_clear_GStringChunk (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GStringChunk (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_string_chunk_free); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GStringChunk (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_string_chunk_free); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GStringChunk (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_string_chunk_free); } # 82 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GStrvBuilder *GStrvBuilder_autoptr; typedef GList *GStrvBuilder_listautoptr; typedef GSList *GStrvBuilder_slistautoptr; typedef GQueue *GStrvBuilder_queueautoptr; # 83 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 83 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 83 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 83 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GStrvBuilder (GStrvBuilder *_ptr) { if (_ptr) (g_strv_builder_unref) ((GStrvBuilder *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GStrvBuilder (GStrvBuilder **_ptr) { glib_autoptr_clear_GStrvBuilder (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GStrvBuilder (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_strv_builder_unref); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GStrvBuilder (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_strv_builder_unref); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GStrvBuilder (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_strv_builder_unref); } # 83 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GThread *GThread_autoptr; typedef GList *GThread_listautoptr; typedef GSList *GThread_slistautoptr; typedef GQueue *GThread_queueautoptr; # 84 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 84 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 84 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 84 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GThread (GThread *_ptr) { if (_ptr) (g_thread_unref) ((GThread *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GThread (GThread **_ptr) { glib_autoptr_clear_GThread (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GThread (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_thread_unref); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GThread (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_thread_unref); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GThread (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_thread_unref); } # 84 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop # 85 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 85 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 85 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 85 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_auto_cleanup_GMutex (GMutex *_ptr) { (g_mutex_clear) (_ptr); } # 85 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GMutexLocker *GMutexLocker_autoptr; typedef GList *GMutexLocker_listautoptr; typedef GSList *GMutexLocker_slistautoptr; typedef GQueue *GMutexLocker_queueautoptr; # 86 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 86 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 86 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 86 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GMutexLocker (GMutexLocker *_ptr) { if (_ptr) (g_mutex_locker_free) ((GMutexLocker *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GMutexLocker (GMutexLocker **_ptr) { glib_autoptr_clear_GMutexLocker (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GMutexLocker (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_mutex_locker_free); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GMutexLocker (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_mutex_locker_free); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GMutexLocker (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_mutex_locker_free); } # 86 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GRecMutexLocker *GRecMutexLocker_autoptr; typedef GList *GRecMutexLocker_listautoptr; typedef GSList *GRecMutexLocker_slistautoptr; typedef GQueue *GRecMutexLocker_queueautoptr; # 87 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 87 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 87 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 87 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GRecMutexLocker (GRecMutexLocker *_ptr) { if (_ptr) (g_rec_mutex_locker_free) ((GRecMutexLocker *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GRecMutexLocker (GRecMutexLocker **_ptr) { glib_autoptr_clear_GRecMutexLocker (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GRecMutexLocker (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_rec_mutex_locker_free); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GRecMutexLocker (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_rec_mutex_locker_free); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GRecMutexLocker (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_rec_mutex_locker_free); } # 87 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GRWLockWriterLocker *GRWLockWriterLocker_autoptr; typedef GList *GRWLockWriterLocker_listautoptr; typedef GSList *GRWLockWriterLocker_slistautoptr; typedef GQueue *GRWLockWriterLocker_queueautoptr; # 88 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 88 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 88 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 88 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GRWLockWriterLocker (GRWLockWriterLocker *_ptr) { if (_ptr) (g_rw_lock_writer_locker_free) ((GRWLockWriterLocker *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GRWLockWriterLocker (GRWLockWriterLocker **_ptr) { glib_autoptr_clear_GRWLockWriterLocker (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GRWLockWriterLocker (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_rw_lock_writer_locker_free); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GRWLockWriterLocker (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_rw_lock_writer_locker_free); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GRWLockWriterLocker (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_rw_lock_writer_locker_free); } # 88 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GRWLockReaderLocker *GRWLockReaderLocker_autoptr; typedef GList *GRWLockReaderLocker_listautoptr; typedef GSList *GRWLockReaderLocker_slistautoptr; typedef GQueue *GRWLockReaderLocker_queueautoptr; # 89 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 89 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 89 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 89 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GRWLockReaderLocker (GRWLockReaderLocker *_ptr) { if (_ptr) (g_rw_lock_reader_locker_free) ((GRWLockReaderLocker *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GRWLockReaderLocker (GRWLockReaderLocker **_ptr) { glib_autoptr_clear_GRWLockReaderLocker (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GRWLockReaderLocker (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_rw_lock_reader_locker_free); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GRWLockReaderLocker (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_rw_lock_reader_locker_free); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GRWLockReaderLocker (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_rw_lock_reader_locker_free); } # 89 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop # 90 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 90 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 90 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 90 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_auto_cleanup_GCond (GCond *_ptr) { (g_cond_clear) (_ptr); } # 90 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GTimer *GTimer_autoptr; typedef GList *GTimer_listautoptr; typedef GSList *GTimer_slistautoptr; typedef GQueue *GTimer_queueautoptr; # 91 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 91 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 91 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 91 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GTimer (GTimer *_ptr) { if (_ptr) (g_timer_destroy) ((GTimer *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GTimer (GTimer **_ptr) { glib_autoptr_clear_GTimer (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GTimer (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_timer_destroy); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GTimer (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_timer_destroy); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GTimer (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_timer_destroy); } # 91 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GTimeZone *GTimeZone_autoptr; typedef GList *GTimeZone_listautoptr; typedef GSList *GTimeZone_slistautoptr; typedef GQueue *GTimeZone_queueautoptr; # 92 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 92 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 92 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 92 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GTimeZone (GTimeZone *_ptr) { if (_ptr) (g_time_zone_unref) ((GTimeZone *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GTimeZone (GTimeZone **_ptr) { glib_autoptr_clear_GTimeZone (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GTimeZone (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_time_zone_unref); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GTimeZone (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_time_zone_unref); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GTimeZone (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_time_zone_unref); } # 92 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GTree *GTree_autoptr; typedef GList *GTree_listautoptr; typedef GSList *GTree_slistautoptr; typedef GQueue *GTree_queueautoptr; # 93 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 93 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 93 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 93 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GTree (GTree *_ptr) { if (_ptr) (g_tree_unref) ((GTree *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GTree (GTree **_ptr) { glib_autoptr_clear_GTree (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GTree (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_tree_unref); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GTree (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_tree_unref); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GTree (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_tree_unref); } # 93 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GVariant *GVariant_autoptr; typedef GList *GVariant_listautoptr; typedef GSList *GVariant_slistautoptr; typedef GQueue *GVariant_queueautoptr; # 94 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 94 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 94 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 94 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GVariant (GVariant *_ptr) { if (_ptr) (g_variant_unref) ((GVariant *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GVariant (GVariant **_ptr) { glib_autoptr_clear_GVariant (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GVariant (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_variant_unref); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GVariant (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_variant_unref); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GVariant (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_variant_unref); } # 94 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GVariantBuilder *GVariantBuilder_autoptr; typedef GList *GVariantBuilder_listautoptr; typedef GSList *GVariantBuilder_slistautoptr; typedef GQueue *GVariantBuilder_queueautoptr; # 95 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 95 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 95 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 95 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GVariantBuilder (GVariantBuilder *_ptr) { if (_ptr) (g_variant_builder_unref) ((GVariantBuilder *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GVariantBuilder (GVariantBuilder **_ptr) { glib_autoptr_clear_GVariantBuilder (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GVariantBuilder (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_variant_builder_unref); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GVariantBuilder (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_variant_builder_unref); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GVariantBuilder (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_variant_builder_unref); } # 95 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop # 96 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 96 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 96 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 96 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_auto_cleanup_GVariantBuilder (GVariantBuilder *_ptr) { (g_variant_builder_clear) (_ptr); } # 96 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GVariantIter *GVariantIter_autoptr; typedef GList *GVariantIter_listautoptr; typedef GSList *GVariantIter_slistautoptr; typedef GQueue *GVariantIter_queueautoptr; # 97 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 97 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 97 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 97 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GVariantIter (GVariantIter *_ptr) { if (_ptr) (g_variant_iter_free) ((GVariantIter *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GVariantIter (GVariantIter **_ptr) { glib_autoptr_clear_GVariantIter (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GVariantIter (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_variant_iter_free); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GVariantIter (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_variant_iter_free); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GVariantIter (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_variant_iter_free); } # 97 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GVariantDict *GVariantDict_autoptr; typedef GList *GVariantDict_listautoptr; typedef GSList *GVariantDict_slistautoptr; typedef GQueue *GVariantDict_queueautoptr; # 98 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 98 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 98 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 98 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GVariantDict (GVariantDict *_ptr) { if (_ptr) (g_variant_dict_unref) ((GVariantDict *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GVariantDict (GVariantDict **_ptr) { glib_autoptr_clear_GVariantDict (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GVariantDict (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_variant_dict_unref); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GVariantDict (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_variant_dict_unref); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GVariantDict (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_variant_dict_unref); } # 98 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop # 99 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 99 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 99 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 99 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_auto_cleanup_GVariantDict (GVariantDict *_ptr) { (g_variant_dict_clear) (_ptr); } # 99 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GVariantType *GVariantType_autoptr; typedef GList *GVariantType_listautoptr; typedef GSList *GVariantType_slistautoptr; typedef GQueue *GVariantType_queueautoptr; # 100 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 100 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 100 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 100 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GVariantType (GVariantType *_ptr) { if (_ptr) (g_variant_type_free) ((GVariantType *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GVariantType (GVariantType **_ptr) { glib_autoptr_clear_GVariantType (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GVariantType (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_variant_type_free); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GVariantType (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_variant_type_free); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GVariantType (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_variant_type_free); } # 100 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop # 101 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 101 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 101 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 101 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_auto_cleanup_GStrv (GStrv *_ptr) { if (*_ptr != # 101 "/usr/include/glib-2.0/glib/glib-autocleanups.h" 3 4 ((void *)0) # 101 "/usr/include/glib-2.0/glib/glib-autocleanups.h" ) (g_strfreev) (*_ptr); } # 101 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GRefString *GRefString_autoptr; typedef GList *GRefString_listautoptr; typedef GSList *GRefString_slistautoptr; typedef GQueue *GRefString_queueautoptr; # 102 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 102 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 102 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 102 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GRefString (GRefString *_ptr) { if (_ptr) (g_ref_string_release) ((GRefString *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GRefString (GRefString **_ptr) { glib_autoptr_clear_GRefString (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GRefString (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_ref_string_release); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GRefString (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_ref_string_release); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GRefString (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_ref_string_release); } # 102 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GUri *GUri_autoptr; typedef GList *GUri_listautoptr; typedef GSList *GUri_slistautoptr; typedef GQueue *GUri_queueautoptr; # 103 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 103 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 103 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 103 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GUri (GUri *_ptr) { if (_ptr) (g_uri_unref) ((GUri *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GUri (GUri **_ptr) { glib_autoptr_clear_GUri (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GUri (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_uri_unref); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GUri (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_uri_unref); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GUri (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_uri_unref); } # 103 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop typedef GPathBuf *GPathBuf_autoptr; typedef GList *GPathBuf_listautoptr; typedef GSList *GPathBuf_slistautoptr; typedef GQueue *GPathBuf_queueautoptr; # 104 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 104 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 104 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 104 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_autoptr_clear_GPathBuf (GPathBuf *_ptr) { if (_ptr) (g_path_buf_free) ((GPathBuf *) _ptr); } static __attribute__ ((__unused__)) inline void glib_autoptr_cleanup_GPathBuf (GPathBuf **_ptr) { glib_autoptr_clear_GPathBuf (*_ptr); } static __attribute__ ((__unused__)) inline void glib_listautoptr_cleanup_GPathBuf (GList **_l) { g_list_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_path_buf_free); } static __attribute__ ((__unused__)) inline void glib_slistautoptr_cleanup_GPathBuf (GSList **_l) { g_slist_free_full (*_l, (GDestroyNotify) (void(*)(void)) g_path_buf_free); } static __attribute__ ((__unused__)) inline void glib_queueautoptr_cleanup_GPathBuf (GQueue **_q) { if (*_q) g_queue_free_full (*_q, (GDestroyNotify) (void(*)(void)) g_path_buf_free); } # 104 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop # 105 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic push # 105 "/usr/include/glib-2.0/glib/glib-autocleanups.h" # 105 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic ignored "-Wdeprecated-declarations" # 105 "/usr/include/glib-2.0/glib/glib-autocleanups.h" static __attribute__ ((__unused__)) inline void glib_auto_cleanup_GPathBuf (GPathBuf *_ptr) { (g_path_buf_clear) (_ptr); } # 105 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop # 107 "/usr/include/glib-2.0/glib/glib-autocleanups.h" #pragma GCC diagnostic pop # 118 "/usr/include/glib-2.0/glib.h" 2 #undef __GLIB_H_INSIDE__ # 29 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.h" 2 typedef struct liq_attr liq_attr; typedef struct liq_image liq_image; typedef struct liq_result liq_result; typedef struct liq_color { unsigned char r, g, b, a; } liq_color; typedef struct liq_palette { unsigned int count; liq_color entries[256]; } liq_palette; typedef enum liq_error { LIQ_OK = 0, LIQ_QUALITY_TOO_LOW = 99, LIQ_VALUE_OUT_OF_RANGE = 100, LIQ_OUT_OF_MEMORY, LIQ_NOT_READY, LIQ_BITMAP_NOT_AVAILABLE, LIQ_BUFFER_TOO_SMALL, LIQ_INVALID_POINTER, } liq_error; enum liq_ownership {LIQ_OWN_ROWS=4, LIQ_OWN_PIXELS=8}; extern liq_attr* liq_attr_create(void); extern liq_attr* liq_attr_create_with_allocator(void* (*malloc)(size_t), void (*free)(void*)); extern liq_attr* liq_attr_copy(liq_attr *orig); extern void liq_attr_destroy(liq_attr *attr); extern liq_error liq_set_max_colors(liq_attr* attr, int colors); extern int liq_get_max_colors(const liq_attr* attr); extern liq_error liq_set_speed(liq_attr* attr, int speed); extern int liq_get_speed(const liq_attr* attr); extern liq_error liq_set_min_opacity(liq_attr* attr, int min); extern int liq_get_min_opacity(const liq_attr* attr); extern liq_error liq_set_min_posterization(liq_attr* attr, int bits); extern int liq_get_min_posterization(const liq_attr* attr); extern liq_error liq_set_quality(liq_attr* attr, int minimum, int maximum); extern int liq_get_min_quality(const liq_attr* attr); extern int liq_get_max_quality(const liq_attr* attr); extern void liq_set_last_index_transparent(liq_attr* attr, int is_last); typedef void liq_log_callback_function(const liq_attr*, const char *message, void* user_info); typedef void liq_log_flush_callback_function(const liq_attr*, void* user_info); extern void liq_set_log_callback(liq_attr*, liq_log_callback_function*, void* user_info); extern void liq_set_log_flush_callback(liq_attr*, liq_log_flush_callback_function*, void* user_info); extern liq_image *liq_image_create_rgba_rows(liq_attr *attr, void* rows[], int width, int height, double gamma); extern liq_image *liq_image_create_rgba(liq_attr *attr, void* bitmap, int width, int height, double gamma); typedef void liq_image_get_rgba_row_callback(liq_color row_out[], int row, int width, void* user_info); extern liq_image *liq_image_create_custom(liq_attr *attr, liq_image_get_rgba_row_callback *row_callback, void* user_info, int width, int height, double gamma); extern liq_error liq_image_set_memory_ownership(liq_image *image, int ownership_flags); extern liq_error liq_image_add_fixed_color(liq_image *img, liq_color color); extern int liq_image_get_width(const liq_image *img); extern int liq_image_get_height(const liq_image *img); extern void liq_image_destroy(liq_image *img); extern liq_result *liq_quantize_image(liq_attr *options, liq_image *input_image); extern liq_error liq_set_dithering_level(liq_result *res, float dither_level); extern liq_error liq_set_output_gamma(liq_result* res, double gamma); extern double liq_get_output_gamma(const liq_result *result); extern const liq_palette *liq_get_palette(liq_result *result); extern liq_error liq_write_remapped_image(liq_result *result, liq_image *input_image, void *buffer, size_t buffer_size); extern liq_error liq_write_remapped_image_rows(liq_result *result, liq_image *input_image, unsigned char **row_pointers); extern double liq_get_quantization_error(liq_result *result); extern int liq_get_quantization_quality(liq_result *result); extern void liq_result_destroy(liq_result *); extern int liq_version(void); # 37 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 2 # 1 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/pam.h" 1 # 17 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/pam.h" #define PAM_H # 1 "/usr/include/math.h" 1 3 4 # 24 "/usr/include/math.h" 3 4 #define _MATH_H 1 #define __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION # 1 "/usr/include/bits/libc-header-start.h" 1 3 4 # 31 "/usr/include/bits/libc-header-start.h" 3 4 #undef __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION #undef __GLIBC_USE_LIB_EXT2 #define __GLIBC_USE_LIB_EXT2 0 # 67 "/usr/include/bits/libc-header-start.h" 3 4 #undef __GLIBC_USE_IEC_60559_BFP_EXT #define __GLIBC_USE_IEC_60559_BFP_EXT 0 #undef __GLIBC_USE_IEC_60559_BFP_EXT_C2X #define __GLIBC_USE_IEC_60559_BFP_EXT_C2X 0 #undef __GLIBC_USE_IEC_60559_EXT #define __GLIBC_USE_IEC_60559_EXT 0 #undef __GLIBC_USE_IEC_60559_FUNCS_EXT #define __GLIBC_USE_IEC_60559_FUNCS_EXT 0 #undef __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X #define __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X 0 #undef __GLIBC_USE_IEC_60559_TYPES_EXT #define __GLIBC_USE_IEC_60559_TYPES_EXT 0 # 28 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/bits/math-vector.h" 1 3 4 # 27 "/usr/include/bits/math-vector.h" 3 4 # 1 "/usr/include/bits/libm-simd-decl-stubs.h" 1 3 4 # 34 "/usr/include/bits/libm-simd-decl-stubs.h" 3 4 #define _BITS_LIBM_SIMD_DECL_STUBS_H 1 #define __DECL_SIMD_cos #define __DECL_SIMD_cosf #define __DECL_SIMD_cosl #define __DECL_SIMD_cosf16 #define __DECL_SIMD_cosf32 #define __DECL_SIMD_cosf64 #define __DECL_SIMD_cosf128 #define __DECL_SIMD_cosf32x #define __DECL_SIMD_cosf64x #define __DECL_SIMD_cosf128x #define __DECL_SIMD_sin #define __DECL_SIMD_sinf #define __DECL_SIMD_sinl #define __DECL_SIMD_sinf16 #define __DECL_SIMD_sinf32 #define __DECL_SIMD_sinf64 #define __DECL_SIMD_sinf128 #define __DECL_SIMD_sinf32x #define __DECL_SIMD_sinf64x #define __DECL_SIMD_sinf128x #define __DECL_SIMD_sincos #define __DECL_SIMD_sincosf #define __DECL_SIMD_sincosl #define __DECL_SIMD_sincosf16 #define __DECL_SIMD_sincosf32 #define __DECL_SIMD_sincosf64 #define __DECL_SIMD_sincosf128 #define __DECL_SIMD_sincosf32x #define __DECL_SIMD_sincosf64x #define __DECL_SIMD_sincosf128x #define __DECL_SIMD_log #define __DECL_SIMD_logf #define __DECL_SIMD_logl #define __DECL_SIMD_logf16 #define __DECL_SIMD_logf32 #define __DECL_SIMD_logf64 #define __DECL_SIMD_logf128 #define __DECL_SIMD_logf32x #define __DECL_SIMD_logf64x #define __DECL_SIMD_logf128x #define __DECL_SIMD_exp #define __DECL_SIMD_expf #define __DECL_SIMD_expl #define __DECL_SIMD_expf16 #define __DECL_SIMD_expf32 #define __DECL_SIMD_expf64 #define __DECL_SIMD_expf128 #define __DECL_SIMD_expf32x #define __DECL_SIMD_expf64x #define __DECL_SIMD_expf128x #define __DECL_SIMD_pow #define __DECL_SIMD_powf #define __DECL_SIMD_powl #define __DECL_SIMD_powf16 #define __DECL_SIMD_powf32 #define __DECL_SIMD_powf64 #define __DECL_SIMD_powf128 #define __DECL_SIMD_powf32x #define __DECL_SIMD_powf64x #define __DECL_SIMD_powf128x #define __DECL_SIMD_acos #define __DECL_SIMD_acosf #define __DECL_SIMD_acosl #define __DECL_SIMD_acosf16 #define __DECL_SIMD_acosf32 #define __DECL_SIMD_acosf64 #define __DECL_SIMD_acosf128 #define __DECL_SIMD_acosf32x #define __DECL_SIMD_acosf64x #define __DECL_SIMD_acosf128x #define __DECL_SIMD_atan #define __DECL_SIMD_atanf #define __DECL_SIMD_atanl #define __DECL_SIMD_atanf16 #define __DECL_SIMD_atanf32 #define __DECL_SIMD_atanf64 #define __DECL_SIMD_atanf128 #define __DECL_SIMD_atanf32x #define __DECL_SIMD_atanf64x #define __DECL_SIMD_atanf128x #define __DECL_SIMD_asin #define __DECL_SIMD_asinf #define __DECL_SIMD_asinl #define __DECL_SIMD_asinf16 #define __DECL_SIMD_asinf32 #define __DECL_SIMD_asinf64 #define __DECL_SIMD_asinf128 #define __DECL_SIMD_asinf32x #define __DECL_SIMD_asinf64x #define __DECL_SIMD_asinf128x #define __DECL_SIMD_hypot #define __DECL_SIMD_hypotf #define __DECL_SIMD_hypotl #define __DECL_SIMD_hypotf16 #define __DECL_SIMD_hypotf32 #define __DECL_SIMD_hypotf64 #define __DECL_SIMD_hypotf128 #define __DECL_SIMD_hypotf32x #define __DECL_SIMD_hypotf64x #define __DECL_SIMD_hypotf128x #define __DECL_SIMD_exp2 #define __DECL_SIMD_exp2f #define __DECL_SIMD_exp2l #define __DECL_SIMD_exp2f16 #define __DECL_SIMD_exp2f32 #define __DECL_SIMD_exp2f64 #define __DECL_SIMD_exp2f128 #define __DECL_SIMD_exp2f32x #define __DECL_SIMD_exp2f64x #define __DECL_SIMD_exp2f128x #define __DECL_SIMD_exp10 #define __DECL_SIMD_exp10f #define __DECL_SIMD_exp10l #define __DECL_SIMD_exp10f16 #define __DECL_SIMD_exp10f32 #define __DECL_SIMD_exp10f64 #define __DECL_SIMD_exp10f128 #define __DECL_SIMD_exp10f32x #define __DECL_SIMD_exp10f64x #define __DECL_SIMD_exp10f128x #define __DECL_SIMD_cosh #define __DECL_SIMD_coshf #define __DECL_SIMD_coshl #define __DECL_SIMD_coshf16 #define __DECL_SIMD_coshf32 #define __DECL_SIMD_coshf64 #define __DECL_SIMD_coshf128 #define __DECL_SIMD_coshf32x #define __DECL_SIMD_coshf64x #define __DECL_SIMD_coshf128x #define __DECL_SIMD_expm1 #define __DECL_SIMD_expm1f #define __DECL_SIMD_expm1l #define __DECL_SIMD_expm1f16 #define __DECL_SIMD_expm1f32 #define __DECL_SIMD_expm1f64 #define __DECL_SIMD_expm1f128 #define __DECL_SIMD_expm1f32x #define __DECL_SIMD_expm1f64x #define __DECL_SIMD_expm1f128x #define __DECL_SIMD_sinh #define __DECL_SIMD_sinhf #define __DECL_SIMD_sinhl #define __DECL_SIMD_sinhf16 #define __DECL_SIMD_sinhf32 #define __DECL_SIMD_sinhf64 #define __DECL_SIMD_sinhf128 #define __DECL_SIMD_sinhf32x #define __DECL_SIMD_sinhf64x #define __DECL_SIMD_sinhf128x #define __DECL_SIMD_cbrt #define __DECL_SIMD_cbrtf #define __DECL_SIMD_cbrtl #define __DECL_SIMD_cbrtf16 #define __DECL_SIMD_cbrtf32 #define __DECL_SIMD_cbrtf64 #define __DECL_SIMD_cbrtf128 #define __DECL_SIMD_cbrtf32x #define __DECL_SIMD_cbrtf64x #define __DECL_SIMD_cbrtf128x #define __DECL_SIMD_atan2 #define __DECL_SIMD_atan2f #define __DECL_SIMD_atan2l #define __DECL_SIMD_atan2f16 #define __DECL_SIMD_atan2f32 #define __DECL_SIMD_atan2f64 #define __DECL_SIMD_atan2f128 #define __DECL_SIMD_atan2f32x #define __DECL_SIMD_atan2f64x #define __DECL_SIMD_atan2f128x #define __DECL_SIMD_log10 #define __DECL_SIMD_log10f #define __DECL_SIMD_log10l #define __DECL_SIMD_log10f16 #define __DECL_SIMD_log10f32 #define __DECL_SIMD_log10f64 #define __DECL_SIMD_log10f128 #define __DECL_SIMD_log10f32x #define __DECL_SIMD_log10f64x #define __DECL_SIMD_log10f128x #define __DECL_SIMD_log2 #define __DECL_SIMD_log2f #define __DECL_SIMD_log2l #define __DECL_SIMD_log2f16 #define __DECL_SIMD_log2f32 #define __DECL_SIMD_log2f64 #define __DECL_SIMD_log2f128 #define __DECL_SIMD_log2f32x #define __DECL_SIMD_log2f64x #define __DECL_SIMD_log2f128x #define __DECL_SIMD_log1p #define __DECL_SIMD_log1pf #define __DECL_SIMD_log1pl #define __DECL_SIMD_log1pf16 #define __DECL_SIMD_log1pf32 #define __DECL_SIMD_log1pf64 #define __DECL_SIMD_log1pf128 #define __DECL_SIMD_log1pf32x #define __DECL_SIMD_log1pf64x #define __DECL_SIMD_log1pf128x #define __DECL_SIMD_atanh #define __DECL_SIMD_atanhf #define __DECL_SIMD_atanhl #define __DECL_SIMD_atanhf16 #define __DECL_SIMD_atanhf32 #define __DECL_SIMD_atanhf64 #define __DECL_SIMD_atanhf128 #define __DECL_SIMD_atanhf32x #define __DECL_SIMD_atanhf64x #define __DECL_SIMD_atanhf128x #define __DECL_SIMD_acosh #define __DECL_SIMD_acoshf #define __DECL_SIMD_acoshl #define __DECL_SIMD_acoshf16 #define __DECL_SIMD_acoshf32 #define __DECL_SIMD_acoshf64 #define __DECL_SIMD_acoshf128 #define __DECL_SIMD_acoshf32x #define __DECL_SIMD_acoshf64x #define __DECL_SIMD_acoshf128x #define __DECL_SIMD_erf #define __DECL_SIMD_erff #define __DECL_SIMD_erfl #define __DECL_SIMD_erff16 #define __DECL_SIMD_erff32 #define __DECL_SIMD_erff64 #define __DECL_SIMD_erff128 #define __DECL_SIMD_erff32x #define __DECL_SIMD_erff64x #define __DECL_SIMD_erff128x #define __DECL_SIMD_tanh #define __DECL_SIMD_tanhf #define __DECL_SIMD_tanhl #define __DECL_SIMD_tanhf16 #define __DECL_SIMD_tanhf32 #define __DECL_SIMD_tanhf64 #define __DECL_SIMD_tanhf128 #define __DECL_SIMD_tanhf32x #define __DECL_SIMD_tanhf64x #define __DECL_SIMD_tanhf128x #define __DECL_SIMD_asinh #define __DECL_SIMD_asinhf #define __DECL_SIMD_asinhl #define __DECL_SIMD_asinhf16 #define __DECL_SIMD_asinhf32 #define __DECL_SIMD_asinhf64 #define __DECL_SIMD_asinhf128 #define __DECL_SIMD_asinhf32x #define __DECL_SIMD_asinhf64x #define __DECL_SIMD_asinhf128x #define __DECL_SIMD_erfc #define __DECL_SIMD_erfcf #define __DECL_SIMD_erfcl #define __DECL_SIMD_erfcf16 #define __DECL_SIMD_erfcf32 #define __DECL_SIMD_erfcf64 #define __DECL_SIMD_erfcf128 #define __DECL_SIMD_erfcf32x #define __DECL_SIMD_erfcf64x #define __DECL_SIMD_erfcf128x #define __DECL_SIMD_tan #define __DECL_SIMD_tanf #define __DECL_SIMD_tanl #define __DECL_SIMD_tanf16 #define __DECL_SIMD_tanf32 #define __DECL_SIMD_tanf64 #define __DECL_SIMD_tanf128 #define __DECL_SIMD_tanf32x #define __DECL_SIMD_tanf64x #define __DECL_SIMD_tanf128x # 28 "/usr/include/bits/math-vector.h" 2 3 4 # 41 "/usr/include/math.h" 2 3 4 #define HUGE_VAL (__builtin_huge_val ()) # 59 "/usr/include/math.h" 3 4 #define HUGE_VALF (__builtin_huge_valf ()) #define HUGE_VALL (__builtin_huge_vall ()) # 91 "/usr/include/math.h" 3 4 #define INFINITY (__builtin_inff ()) #define NAN (__builtin_nanf ("")) # 152 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/flt-eval-method.h" 1 3 4 # 36 "/usr/include/bits/flt-eval-method.h" 3 4 #define __GLIBC_FLT_EVAL_METHOD __FLT_EVAL_METHOD__ # 153 "/usr/include/math.h" 2 3 4 # 163 "/usr/include/math.h" 3 4 # 163 "/usr/include/math.h" 3 4 typedef float float_t; typedef double double_t; # 204 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/fp-logb.h" 1 3 4 # 27 "/usr/include/bits/fp-logb.h" 3 4 #define __FP_LOGB0_IS_MIN 0 #define __FP_LOGBNAN_IS_MIN 0 # 205 "/usr/include/math.h" 2 3 4 #define FP_ILOGB0 (-2147483647) #define FP_ILOGBNAN 2147483647 # 247 "/usr/include/math.h" 3 4 # 1 "/usr/include/bits/fp-fast.h" 1 3 4 # 28 "/usr/include/bits/fp-fast.h" 3 4 #define FP_FAST_FMA 1 #define FP_FAST_FMAF 1 # 248 "/usr/include/math.h" 2 3 4 # 276 "/usr/include/math.h" 3 4 #define __SIMD_DECL(function) __CONCAT (__DECL_SIMD_, function) #define __MATHCALL_VEC(function,suffix,args) __SIMD_DECL (__MATH_PRECNAME (function, suffix)) __MATHCALL (function, suffix, args) #define __MATHDECL_VEC(type,function,suffix,args) __SIMD_DECL (__MATH_PRECNAME (function, suffix)) __MATHDECL(type, function,suffix, args) #define __MATHCALL(function,suffix,args) __MATHDECL (_Mdouble_,function,suffix, args) #define __MATHDECL(type,function,suffix,args) __MATHDECL_1(type, function,suffix, args); __MATHDECL_1(type, __CONCAT(__,function),suffix, args) #define __MATHCALLX(function,suffix,args,attrib) __MATHDECLX (_Mdouble_,function,suffix, args, attrib) #define __MATHDECLX(type,function,suffix,args,attrib) __MATHDECL_1(type, function,suffix, args) __attribute__ (attrib); __MATHDECL_1(type, __CONCAT(__,function),suffix, args) __attribute__ (attrib) #define __MATHDECL_1_IMPL(type,function,suffix,args) extern type __MATH_PRECNAME(function,suffix) args __THROW #define __MATHDECL_1(type,function,suffix,args) __MATHDECL_1_IMPL(type, function, suffix, args) #define __MATHDECL_ALIAS(type,function,suffix,args,alias) __MATHDECL_1(type, function, suffix, args) #define __MATHREDIR(type,function,suffix,args,to) extern type __REDIRECT_NTH (__MATH_PRECNAME (function, suffix), args, to) #define _Mdouble_ double #define __MATH_PRECNAME(name,r) __CONCAT(name,r) #define __MATH_DECLARING_DOUBLE 1 #define __MATH_DECLARING_FLOATN 0 # 1 "/usr/include/bits/mathcalls-helper-functions.h" 1 3 4 # 20 "/usr/include/bits/mathcalls-helper-functions.h" 3 4 extern int __fpclassify (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __signbit (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __isinf (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __finite (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __isnan (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __iseqsig (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern int __issignaling (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); # 313 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/bits/mathcalls.h" 1 3 4 # 53 "/usr/include/bits/mathcalls.h" 3 4 extern double acos (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __acos (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double asin (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __asin (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double atan (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __atan (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double atan2 (double __y, double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __atan2 (double __y, double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double cos (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __cos (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double sin (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __sin (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double tan (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __tan (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double cosh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __cosh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double sinh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __sinh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double tanh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __tanh (double __x) __attribute__ ((__nothrow__ , __leaf__)); # 85 "/usr/include/bits/mathcalls.h" 3 4 extern double acosh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __acosh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double asinh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __asinh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double atanh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __atanh (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double exp (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __exp (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double frexp (double __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); extern double __frexp (double __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); extern double ldexp (double __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); extern double __ldexp (double __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); extern double log (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __log (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double log10 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __log10 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double modf (double __x, double *__iptr) __attribute__ ((__nothrow__ , __leaf__)); extern double __modf (double __x, double *__iptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); # 119 "/usr/include/bits/mathcalls.h" 3 4 extern double expm1 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __expm1 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double log1p (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __log1p (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double logb (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __logb (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double exp2 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __exp2 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double log2 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __log2 (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double pow (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __pow (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double sqrt (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __sqrt (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double hypot (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __hypot (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double cbrt (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __cbrt (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double ceil (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __ceil (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double fabs (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __fabs (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double floor (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __floor (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double fmod (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __fmod (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); # 177 "/usr/include/bits/mathcalls.h" 3 4 extern int isinf (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int finite (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double drem (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __drem (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double significand (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __significand (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double copysign (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __copysign (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double nan (const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)); extern double __nan (const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)); # 213 "/usr/include/bits/mathcalls.h" 3 4 extern int isnan (double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double j0 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __j0 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double j1 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __j1 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double jn (int, double) __attribute__ ((__nothrow__ , __leaf__)); extern double __jn (int, double) __attribute__ ((__nothrow__ , __leaf__)); extern double y0 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __y0 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double y1 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __y1 (double) __attribute__ ((__nothrow__ , __leaf__)); extern double yn (int, double) __attribute__ ((__nothrow__ , __leaf__)); extern double __yn (int, double) __attribute__ ((__nothrow__ , __leaf__)); extern double erf (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __erf (double) __attribute__ ((__nothrow__ , __leaf__)); extern double erfc (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __erfc (double) __attribute__ ((__nothrow__ , __leaf__)); extern double lgamma (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __lgamma (double) __attribute__ ((__nothrow__ , __leaf__)); extern double tgamma (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __tgamma (double) __attribute__ ((__nothrow__ , __leaf__)); extern double gamma (double) __attribute__ ((__nothrow__ , __leaf__)); extern double __gamma (double) __attribute__ ((__nothrow__ , __leaf__)); extern double lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); extern double __lgamma_r (double, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); extern double rint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __rint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double nextafter (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __nextafter (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double nexttoward (double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __nexttoward (double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); # 275 "/usr/include/bits/mathcalls.h" 3 4 extern double remainder (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __remainder (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double scalbn (double __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern double __scalbn (double __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern int ilogb (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern int __ilogb (double __x) __attribute__ ((__nothrow__ , __leaf__)); # 293 "/usr/include/bits/mathcalls.h" 3 4 extern double scalbln (double __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); extern double __scalbln (double __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); extern double nearbyint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double __nearbyint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double round (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __round (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double trunc (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __trunc (double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double remquo (double __x, double __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); extern double __remquo (double __x, double __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); extern long int lrint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lrint (double __x) __attribute__ ((__nothrow__ , __leaf__)); __extension__ extern long long int llrint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llrint (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int lround (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lround (double __x) __attribute__ ((__nothrow__ , __leaf__)); __extension__ extern long long int llround (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llround (double __x) __attribute__ ((__nothrow__ , __leaf__)); extern double fdim (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double __fdim (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)); extern double fmax (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __fmax (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double fmin (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double __fmin (double __x, double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern double fma (double __x, double __y, double __z) __attribute__ ((__nothrow__ , __leaf__)); extern double __fma (double __x, double __y, double __z) __attribute__ ((__nothrow__ , __leaf__)); # 435 "/usr/include/bits/mathcalls.h" 3 4 extern double scalb (double __x, double __n) __attribute__ ((__nothrow__ , __leaf__)); extern double __scalb (double __x, double __n) __attribute__ ((__nothrow__ , __leaf__)); # 314 "/usr/include/math.h" 2 3 4 #undef _Mdouble_ #undef __MATH_PRECNAME #undef __MATH_DECLARING_DOUBLE #undef __MATH_DECLARING_FLOATN #define _Mdouble_ float #define __MATH_PRECNAME(name,r) name ##f ##r #define __MATH_DECLARING_DOUBLE 0 #define __MATH_DECLARING_FLOATN 0 # 1 "/usr/include/bits/mathcalls-helper-functions.h" 1 3 4 # 20 "/usr/include/bits/mathcalls-helper-functions.h" 3 4 extern int __fpclassifyf (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __signbitf (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __isinff (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __finitef (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __isnanf (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __iseqsigf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern int __issignalingf (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); # 330 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/bits/mathcalls.h" 1 3 4 # 53 "/usr/include/bits/mathcalls.h" 3 4 extern float acosf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __acosf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float asinf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __asinf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float atanf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __atanf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float atan2f (float __y, float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __atan2f (float __y, float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float cosf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __cosf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float sinf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __sinf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float tanf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __tanf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float coshf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __coshf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float sinhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __sinhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float tanhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __tanhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); # 85 "/usr/include/bits/mathcalls.h" 3 4 extern float acoshf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __acoshf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float asinhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __asinhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float atanhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __atanhf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float expf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __expf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); extern float __frexpf (float __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); extern float ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); extern float __ldexpf (float __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); extern float logf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __logf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float log10f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __log10f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float modff (float __x, float *__iptr) __attribute__ ((__nothrow__ , __leaf__)); extern float __modff (float __x, float *__iptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); # 119 "/usr/include/bits/mathcalls.h" 3 4 extern float expm1f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __expm1f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float log1pf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __log1pf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float logbf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __logbf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float exp2f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __exp2f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float log2f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __log2f (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float powf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __powf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float sqrtf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __sqrtf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float hypotf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __hypotf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float cbrtf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __cbrtf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float ceilf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __ceilf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float fabsf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __fabsf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float floorf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __floorf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float fmodf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __fmodf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); # 177 "/usr/include/bits/mathcalls.h" 3 4 extern int isinff (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int finitef (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float dremf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __dremf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float significandf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __significandf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float copysignf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __copysignf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float nanf (const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)); extern float __nanf (const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)); # 213 "/usr/include/bits/mathcalls.h" 3 4 extern int isnanf (float __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float j0f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __j0f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float j1f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __j1f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float jnf (int, float) __attribute__ ((__nothrow__ , __leaf__)); extern float __jnf (int, float) __attribute__ ((__nothrow__ , __leaf__)); extern float y0f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __y0f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float y1f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __y1f (float) __attribute__ ((__nothrow__ , __leaf__)); extern float ynf (int, float) __attribute__ ((__nothrow__ , __leaf__)); extern float __ynf (int, float) __attribute__ ((__nothrow__ , __leaf__)); extern float erff (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __erff (float) __attribute__ ((__nothrow__ , __leaf__)); extern float erfcf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __erfcf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float lgammaf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __lgammaf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float tgammaf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __tgammaf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float gammaf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float __gammaf (float) __attribute__ ((__nothrow__ , __leaf__)); extern float lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); extern float __lgammaf_r (float, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); extern float rintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __rintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float nextafterf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __nextafterf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float nexttowardf (float __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __nexttowardf (float __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); # 275 "/usr/include/bits/mathcalls.h" 3 4 extern float remainderf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __remainderf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float scalbnf (float __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern float __scalbnf (float __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern int ilogbf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern int __ilogbf (float __x) __attribute__ ((__nothrow__ , __leaf__)); # 293 "/usr/include/bits/mathcalls.h" 3 4 extern float scalblnf (float __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); extern float __scalblnf (float __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); extern float nearbyintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float __nearbyintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float roundf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __roundf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float truncf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __truncf (float __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float remquof (float __x, float __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); extern float __remquof (float __x, float __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); extern long int lrintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lrintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); __extension__ extern long long int llrintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llrintf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int lroundf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lroundf (float __x) __attribute__ ((__nothrow__ , __leaf__)); __extension__ extern long long int llroundf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llroundf (float __x) __attribute__ ((__nothrow__ , __leaf__)); extern float fdimf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float __fdimf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)); extern float fmaxf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __fmaxf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float fminf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float __fminf (float __x, float __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern float fmaf (float __x, float __y, float __z) __attribute__ ((__nothrow__ , __leaf__)); extern float __fmaf (float __x, float __y, float __z) __attribute__ ((__nothrow__ , __leaf__)); # 435 "/usr/include/bits/mathcalls.h" 3 4 extern float scalbf (float __x, float __n) __attribute__ ((__nothrow__ , __leaf__)); extern float __scalbf (float __x, float __n) __attribute__ ((__nothrow__ , __leaf__)); # 331 "/usr/include/math.h" 2 3 4 #undef _Mdouble_ #undef __MATH_PRECNAME #undef __MATH_DECLARING_DOUBLE #undef __MATH_DECLARING_FLOATN # 393 "/usr/include/math.h" 3 4 #define _Mdouble_ long double #define __MATH_PRECNAME(name,r) name ##l ##r #define __MATH_DECLARING_DOUBLE 0 #define __MATH_DECLARING_FLOATN 0 #define __MATH_DECLARE_LDOUBLE 1 # 1 "/usr/include/bits/mathcalls-helper-functions.h" 1 3 4 # 20 "/usr/include/bits/mathcalls-helper-functions.h" 3 4 extern int __fpclassifyl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __signbitl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __isinfl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __finitel (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __isnanl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int __iseqsigl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern int __issignalingl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); # 399 "/usr/include/math.h" 2 3 4 # 1 "/usr/include/bits/mathcalls.h" 1 3 4 # 53 "/usr/include/bits/mathcalls.h" 3 4 extern long double acosl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __acosl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double asinl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __asinl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double atanl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __atanl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double atan2l (long double __y, long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __atan2l (long double __y, long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double cosl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __cosl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double sinl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __sinl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double tanl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __tanl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double coshl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __coshl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double sinhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __sinhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double tanhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __tanhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); # 85 "/usr/include/bits/mathcalls.h" 3 4 extern long double acoshl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __acoshl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double asinhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __asinhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double atanhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __atanhl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double expl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __expl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); extern long double __frexpl (long double __x, int *__exponent) __attribute__ ((__nothrow__ , __leaf__)); extern long double ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); extern long double __ldexpl (long double __x, int __exponent) __attribute__ ((__nothrow__ , __leaf__)); extern long double logl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __logl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double log10l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __log10l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__ , __leaf__)); extern long double __modfl (long double __x, long double *__iptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2))); # 119 "/usr/include/bits/mathcalls.h" 3 4 extern long double expm1l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __expm1l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double log1pl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __log1pl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double logbl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __logbl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double exp2l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __exp2l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double log2l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __log2l (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double powl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __powl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double sqrtl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __sqrtl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double hypotl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __hypotl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double cbrtl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __cbrtl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double ceill (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __ceill (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double fabsl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __fabsl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double floorl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __floorl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double fmodl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __fmodl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); # 177 "/usr/include/bits/mathcalls.h" 3 4 extern int isinfl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern int finitel (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double dreml (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __dreml (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double significandl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __significandl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double copysignl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __copysignl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double nanl (const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)); extern long double __nanl (const char *__tagb) __attribute__ ((__nothrow__ , __leaf__)); # 213 "/usr/include/bits/mathcalls.h" 3 4 extern int isnanl (long double __value) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double j0l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __j0l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double j1l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __j1l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double jnl (int, long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __jnl (int, long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double y0l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __y0l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double y1l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __y1l (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double ynl (int, long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __ynl (int, long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double erfl (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __erfl (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double erfcl (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __erfcl (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double lgammal (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __lgammal (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double tgammal (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __tgammal (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double gammal (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double __gammal (long double) __attribute__ ((__nothrow__ , __leaf__)); extern long double lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); extern long double __lgammal_r (long double, int *__signgamp) __attribute__ ((__nothrow__ , __leaf__)); extern long double rintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __rintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double nextafterl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __nextafterl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double nexttowardl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __nexttowardl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); # 275 "/usr/include/bits/mathcalls.h" 3 4 extern long double remainderl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __remainderl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double scalbnl (long double __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern long double __scalbnl (long double __x, int __n) __attribute__ ((__nothrow__ , __leaf__)); extern int ilogbl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern int __ilogbl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); # 293 "/usr/include/bits/mathcalls.h" 3 4 extern long double scalblnl (long double __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); extern long double __scalblnl (long double __x, long int __n) __attribute__ ((__nothrow__ , __leaf__)); extern long double nearbyintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double __nearbyintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double roundl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __roundl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double truncl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __truncl (long double __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double remquol (long double __x, long double __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); extern long double __remquol (long double __x, long double __y, int *__quo) __attribute__ ((__nothrow__ , __leaf__)); extern long int lrintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lrintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); __extension__ extern long long int llrintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llrintl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int lroundl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long int __lroundl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); __extension__ extern long long int llroundl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long long int __llroundl (long double __x) __attribute__ ((__nothrow__ , __leaf__)); extern long double fdiml (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double __fdiml (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)); extern long double fmaxl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __fmaxl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double fminl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double __fminl (long double __x, long double __y) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)); extern long double fmal (long double __x, long double __y, long double __z) __attribute__ ((__nothrow__ , __leaf__)); extern long double __fmal (long double __x, long double __y, long double __z) __attribute__ ((__nothrow__ , __leaf__)); # 435 "/usr/include/bits/mathcalls.h" 3 4 extern long double scalbl (long double __x, long double __n) __attribute__ ((__nothrow__ , __leaf__)); extern long double __scalbl (long double __x, long double __n) __attribute__ ((__nothrow__ , __leaf__)); # 400 "/usr/include/math.h" 2 3 4 #undef _Mdouble_ #undef __MATH_PRECNAME #undef __MATH_DECLARING_DOUBLE #undef __MATH_DECLARING_FLOATN # 442 "/usr/include/math.h" 3 4 #define _Mdouble_ _Float32 #define __MATH_PRECNAME(name,r) name ##f32 ##r #define __MATH_DECLARING_DOUBLE 0 #define __MATH_DECLARING_FLOATN 1 #undef _Mdouble_ #undef __MATH_PRECNAME #undef __MATH_DECLARING_DOUBLE #undef __MATH_DECLARING_FLOATN #define _Mdouble_ _Float64 #define __MATH_PRECNAME(name,r) name ##f64 ##r #define __MATH_DECLARING_DOUBLE 0 #define __MATH_DECLARING_FLOATN 1 #undef _Mdouble_ #undef __MATH_PRECNAME #undef __MATH_DECLARING_DOUBLE #undef __MATH_DECLARING_FLOATN #define _Mdouble_ _Float128 #define __MATH_PRECNAME(name,r) name ##f128 ##r #define __MATH_DECLARING_DOUBLE 0 #define __MATH_DECLARING_FLOATN 1 #undef _Mdouble_ #undef __MATH_PRECNAME #undef __MATH_DECLARING_DOUBLE #undef __MATH_DECLARING_FLOATN #define _Mdouble_ _Float32x #define __MATH_PRECNAME(name,r) name ##f32x ##r #define __MATH_DECLARING_DOUBLE 0 #define __MATH_DECLARING_FLOATN 1 #undef _Mdouble_ #undef __MATH_PRECNAME #undef __MATH_DECLARING_DOUBLE #undef __MATH_DECLARING_FLOATN #define _Mdouble_ _Float64x #define __MATH_PRECNAME(name,r) name ##f64x ##r #define __MATH_DECLARING_DOUBLE 0 #define __MATH_DECLARING_FLOATN 1 #undef _Mdouble_ #undef __MATH_PRECNAME #undef __MATH_DECLARING_DOUBLE #undef __MATH_DECLARING_FLOATN # 543 "/usr/include/math.h" 3 4 #undef __MATHDECL_1_IMPL #undef __MATHDECL_1 #undef __MATHDECL_ALIAS #undef __MATHDECL #undef __MATHCALL #define __MATHCALL_NARROW_ARGS_1 (_Marg_ __x) #define __MATHCALL_NARROW_ARGS_2 (_Marg_ __x, _Marg_ __y) #define __MATHCALL_NARROW_ARGS_3 (_Marg_ __x, _Marg_ __y, _Marg_ __z) #define __MATHCALL_NARROW_NORMAL(func,nargs) extern _Mret_ func __MATHCALL_NARROW_ARGS_ ## nargs __THROW #define __MATHCALL_NARROW_REDIR(func,redir,nargs) extern _Mret_ __REDIRECT_NTH (func, __MATHCALL_NARROW_ARGS_ ## nargs, redir) #define __MATHCALL_NARROW(func,redir,nargs) __MATHCALL_NARROW_NORMAL (func, nargs) # 845 "/usr/include/math.h" 3 4 #undef __MATHCALL_NARROW_ARGS_1 #undef __MATHCALL_NARROW_ARGS_2 #undef __MATHCALL_NARROW_ARGS_3 #undef __MATHCALL_NARROW_NORMAL #undef __MATHCALL_NARROW_REDIR #undef __MATHCALL_NARROW extern int signgam; # 922 "/usr/include/math.h" 3 4 #define __MATH_TG(TG_ARG,FUNC,ARGS) (sizeof (TG_ARG) == sizeof (float) ? FUNC ## f ARGS : sizeof (TG_ARG) == sizeof (double) ? FUNC ARGS : FUNC ## l ARGS) # 934 "/usr/include/math.h" 3 4 enum { FP_NAN = #define FP_NAN 0 0, FP_INFINITE = #define FP_INFINITE 1 1, FP_ZERO = #define FP_ZERO 2 2, FP_SUBNORMAL = #define FP_SUBNORMAL 3 3, FP_NORMAL = #define FP_NORMAL 4 4 }; # 967 "/usr/include/math.h" 3 4 #define fpclassify(x) __builtin_fpclassify (FP_NAN, FP_INFINITE, FP_NORMAL, FP_SUBNORMAL, FP_ZERO, x) #define signbit(x) __builtin_signbit (x) # 994 "/usr/include/math.h" 3 4 #define isfinite(x) __builtin_isfinite (x) #define isnormal(x) __builtin_isnormal (x) # 1011 "/usr/include/math.h" 3 4 #define isnan(x) __builtin_isnan (x) # 1030 "/usr/include/math.h" 3 4 #define isinf(x) __builtin_isinf_sign (x) #define MATH_ERRNO 1 #define MATH_ERREXCEPT 2 # 1049 "/usr/include/math.h" 3 4 #define math_errhandling (MATH_ERRNO | MATH_ERREXCEPT) # 1147 "/usr/include/math.h" 3 4 #define M_E 2.7182818284590452354 #define M_LOG2E 1.4426950408889634074 #define M_LOG10E 0.43429448190325182765 #define M_LN2 0.69314718055994530942 #define M_LN10 2.30258509299404568402 #define M_PI 3.14159265358979323846 #define M_PI_2 1.57079632679489661923 #define M_PI_4 0.78539816339744830962 #define M_1_PI 0.31830988618379067154 #define M_2_PI 0.63661977236758134308 #define M_2_SQRTPI 1.12837916709551257390 #define M_SQRT2 1.41421356237309504880 #define M_SQRT1_2 0.70710678118654752440 # 1306 "/usr/include/math.h" 3 4 #define isgreater(x,y) __builtin_isgreater(x, y) #define isgreaterequal(x,y) __builtin_isgreaterequal(x, y) #define isless(x,y) __builtin_isless(x, y) #define islessequal(x,y) __builtin_islessequal(x, y) #define islessgreater(x,y) __builtin_islessgreater(x, y) #define isunordered(x,y) __builtin_isunordered(x, y) # 1472 "/usr/include/math.h" 3 4 # 20 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/pam.h" 2 # 1 "/usr/include/assert.h" 1 3 4 # 34 "/usr/include/assert.h" 3 4 #define _ASSERT_H 1 #define __ASSERT_VOID_CAST (void) # 64 "/usr/include/assert.h" 3 4 extern void __assert_fail (const char *__assertion, const char *__file, unsigned int __line, const char *__function) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern void __assert_perror_fail (int __errnum, const char *__file, unsigned int __line, const char *__function) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); extern void __assert (const char *__assertion, const char *__file, int __line) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__)); # 115 "/usr/include/assert.h" 3 4 #define assert(expr) ((void) sizeof ((expr) ? 1 : 0), __extension__ ({ if (expr) ; else __assert_fail (#expr, __FILE__, __LINE__, __ASSERT_FUNCTION); })) # 137 "/usr/include/assert.h" 3 4 #define __ASSERT_FUNCTION __extension__ __PRETTY_FUNCTION__ # 154 "/usr/include/assert.h" 3 4 #undef static_assert #define static_assert _Static_assert # 21 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/pam.h" 2 # 29 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/pam.h" #define MAX_DIFF 1e20 #define USE_SSE 0 # 62 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/pam.h" #define SSE_ALIGN #define ALWAYS_INLINE __attribute__((always_inline)) inline #define NEVER_INLINE __attribute__ ((noinline)) # 80 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/pam.h" # 80 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/pam.h" typedef struct { unsigned char r, g, b, a; } rgba_pixel; typedef struct { float a, r, g, b; } f_pixel; static const double internal_gamma = 0.5499; void to_f_set_gamma(float gamma_lut[], const double gamma); __attribute__((always_inline)) inline static f_pixel to_f(const float gamma_lut[], const rgba_pixel px); inline static f_pixel to_f(const float gamma_lut[], const rgba_pixel px) { float a = px.a/255.f; return (f_pixel) { .a = a, .r = gamma_lut[px.r]*a, .g = gamma_lut[px.g]*a, .b = gamma_lut[px.b]*a, }; } inline static rgba_pixel to_rgb(const float gamma, const f_pixel px) { float r, g, b, a; if (px.a < 1.f/256.f) { return (rgba_pixel){0,0,0,0}; } r = px.r / px.a, g = px.g / px.a, b = px.b / px.a, a = px.a; r = powf(r, gamma/internal_gamma); g = powf(g, gamma/internal_gamma); b = powf(b, gamma/internal_gamma); r *= 256.f; g *= 256.f; b *= 256.f; a *= 256.f; return (rgba_pixel){ .r = r>=255.f ? 255 : r, .g = g>=255.f ? 255 : g, .b = b>=255.f ? 255 : b, .a = a>=255.f ? 255 : a, }; } __attribute__((always_inline)) inline static double colordifference_ch(const double x, const double y, const double alphas); inline static double colordifference_ch(const double x, const double y, const double alphas) { const double black = x-y, white = black+alphas; return black*black + white*white; } __attribute__((always_inline)) inline static float colordifference_stdc(const f_pixel px, const f_pixel py); inline static float colordifference_stdc(const f_pixel px, const f_pixel py) { # 165 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/pam.h" const double alphas = py.a-px.a; return colordifference_ch(px.r, py.r, alphas) + colordifference_ch(px.g, py.g, alphas) + colordifference_ch(px.b, py.b, alphas); } __attribute__((always_inline)) inline static double min_colordifference_ch(const double x, const double y, const double alphas); inline static double min_colordifference_ch(const double x, const double y, const double alphas) { const double black = x-y, white = black+alphas; return (((black*black) < (white*white)) ? (black*black) : (white*white)) * 2.f; } __attribute__((always_inline)) inline static float min_colordifference(const f_pixel px, const f_pixel py); inline static float min_colordifference(const f_pixel px, const f_pixel py) { const double alphas = py.a-px.a; return min_colordifference_ch(px.r, py.r, alphas) + min_colordifference_ch(px.g, py.g, alphas) + min_colordifference_ch(px.b, py.b, alphas); } __attribute__((always_inline)) inline static float colordifference(f_pixel px, f_pixel py); inline static float colordifference(f_pixel px, f_pixel py) { # 220 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/pam.h" return colordifference_stdc(px,py); } union rgba_as_int { rgba_pixel rgba; unsigned int l; }; typedef struct { f_pixel acolor; float adjusted_weight, perceptual_weight; float color_weight; union { unsigned int sort_value; unsigned char likely_colormap_index; } tmp; } hist_item; typedef struct { hist_item *achv; void (*free)(void*); double total_perceptual_weight; unsigned int size; unsigned int ignorebits; } histogram; typedef struct { f_pixel acolor; float popularity; # 253 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/pam.h" 3 4 _Bool # 253 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/pam.h" fixed; } colormap_item; typedef struct colormap { unsigned int colors; void* (*malloc)(size_t); void (*free)(void*); struct colormap *subset_palette; colormap_item palette[]; } colormap; struct acolorhist_arr_item { union rgba_as_int color; float perceptual_weight; }; struct acolorhist_arr_head { unsigned int used, capacity; struct { union rgba_as_int color; float perceptual_weight; } inline1, inline2; struct acolorhist_arr_item *other_items; }; struct acolorhash_table { struct mempool *mempool; unsigned int ignorebits, maxcolors, colors, cols, rows; unsigned int hash_size; unsigned int freestackp; struct acolorhist_arr_item *freestack[512]; struct acolorhist_arr_head buckets[]; }; void pam_freeacolorhash(struct acolorhash_table *acht); struct acolorhash_table *pam_allocacolorhash(unsigned int maxcolors, unsigned int surface, unsigned int ignorebits, void* (*malloc)(size_t), void (*free)(void*)); histogram *pam_acolorhashtoacolorhist(const struct acolorhash_table *acht, const double gamma, void* (*malloc)(size_t), void (*free)(void*)); # 290 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/pam.h" 3 4 _Bool # 290 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/pam.h" pam_computeacolorhash(struct acolorhash_table *acht, const rgba_pixel *const pixels[], unsigned int cols, unsigned int rows, const unsigned char *importance_map); void pam_freeacolorhist(histogram *h); colormap *pam_colormap(unsigned int colors, void* (*malloc)(size_t), void (*free)(void*)); colormap *pam_duplicate_colormap(colormap *map); void pam_freecolormap(colormap *c); # 39 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 2 # 1 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/mediancut.h" 1 colormap *mediancut(histogram *hist, const float min_opaque_val, unsigned int newcolors, const double target_mse, const double max_mse, void* (*malloc)(size_t), void (*free)(void*)); # 40 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 2 # 1 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/nearest.h" 1 struct nearest_map; struct nearest_map *nearest_init(const colormap *palette, const # 6 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/nearest.h" 3 4 _Bool # 6 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/nearest.h" fast); unsigned int nearest_search(const struct nearest_map *map, const f_pixel px, const int palette_index_guess, const float min_opaque, float *diff); void nearest_free(struct nearest_map *map); # 41 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 2 # 1 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/blur.h" 1 void liq_blur(unsigned char *src, unsigned char *tmp, unsigned char *dst, unsigned int width, unsigned int height, unsigned int size); void liq_max3(unsigned char *src, unsigned char *dst, unsigned int width, unsigned int height); void liq_min3(unsigned char *src, unsigned char *dst, unsigned int width, unsigned int height); # 42 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 2 # 1 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/viter.h" 1 #define VITER_H #define VITER_CACHE_LINE_GAP ((64+sizeof(viter_state)-1)/sizeof(viter_state)) typedef struct { double a, r, g, b, total; } viter_state; typedef void (*viter_callback)(hist_item *item, float diff); void viter_init(const colormap *map, const unsigned int max_threads, viter_state state[]); void viter_update_color(const f_pixel acolor, const float value, const colormap *map, unsigned int match, const unsigned int thread, viter_state average_color[]); void viter_finalize(colormap *map, const unsigned int max_threads, const viter_state state[]); double viter_do_iteration(histogram *hist, colormap *const map, const float min_opaque_val, viter_callback callback, const # 17 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/viter.h" 3 4 _Bool # 17 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/viter.h" fast_palette); # 43 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 2 #define LIQ_HIGH_MEMORY_LIMIT (1<<26) static const char *const liq_attr_magic = "liq_attr", *const liq_image_magic = "liq_image", *const liq_result_magic = "liq_result", *const liq_remapping_result_magic = "liq_remapping_result", *const liq_freed_magic = "free"; #define CHECK_STRUCT_TYPE(attr,kind) liq_crash_if_invalid_handle_pointer_given((const liq_attr*)attr, kind ## _magic) #define CHECK_USER_POINTER(ptr) liq_crash_if_invalid_pointer_given(ptr) struct liq_attr { const char *magic_header; void *(*malloc) (size_t); void (*free) (void *); double target_mse, max_mse, voronoi_iteration_limit; float min_opaque_val; unsigned int max_colors, max_histogram_entries; unsigned int min_posterization_output , min_posterization_input ; unsigned int voronoi_iterations, feedback_loop_trials; # 66 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 _Bool # 66 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" last_index_transparent, use_contrast_maps, use_dither_map, fast_palette; unsigned int speed; liq_log_callback_function *log_callback; void *log_callback_user_info; liq_log_flush_callback_function *log_flush_callback; void *log_flush_callback_user_info; }; struct liq_image { const char *magic_header; void *(*malloc) (size_t); void (*free) (void *); f_pixel *f_pixels; rgba_pixel **rows; double gamma; unsigned int width, height; unsigned char *noise, *edges, *dither_map; rgba_pixel *pixels, *temp_row; f_pixel *temp_f_row; liq_image_get_rgba_row_callback *row_callback; void *row_callback_user_info; float min_opaque_val; f_pixel fixed_colors[256]; unsigned short fixed_colors_count; # 92 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 _Bool # 92 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" free_pixels, free_rows, free_rows_internal; }; typedef struct liq_remapping_result { const char *magic_header; void *(*malloc) (size_t); void (*free) (void *); unsigned char *pixels; colormap *palette; liq_palette int_palette; double gamma, palette_error; float dither_level; # 106 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 _Bool # 106 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" use_dither_map; } liq_remapping_result; struct liq_result { const char *magic_header; void *(*malloc) (size_t); void (*free) (void *); liq_remapping_result *remapping; colormap *palette; liq_palette int_palette; float dither_level; double gamma, palette_error; int min_posterization_output; # 121 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 _Bool # 121 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" use_dither_map, fast_palette; }; static liq_result *pngquant_quantize (histogram * hist, const liq_attr * options, const liq_image * img); static void modify_alpha (liq_image * input_image, rgba_pixel * const row_pixels); static void contrast_maps (liq_image * image); static histogram *get_histogram (liq_image * input_image, const liq_attr * options); static const rgba_pixel *liq_image_get_row_rgba (liq_image * input_image, unsigned int row); static const f_pixel *liq_image_get_row_f (liq_image * input_image, unsigned int row); static void liq_remapping_result_destroy (liq_remapping_result * result); static void liq_verbose_printf (const liq_attr * context, const char *fmt, ...) { if (context->log_callback) { va_list va; int required_space; char *buf; # 145 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 __builtin_va_start( # 145 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" va # 145 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 , # 145 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" fmt # 145 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ) # 145 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; required_space = vsnprintf ( # 146 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 146 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" , 0, fmt, va) + 1; # 147 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 __builtin_va_end( # 147 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" va # 147 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ) # 147 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; buf = __builtin_alloca (required_space); # 151 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 __builtin_va_start( # 151 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" va # 151 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 , # 151 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" fmt # 151 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ) # 151 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; vsnprintf (buf, required_space, fmt, va); # 153 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 __builtin_va_end( # 153 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" va # 153 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ) # 153 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; context->log_callback (context, buf, context->log_callback_user_info); } } inline static void verbose_print (const liq_attr * attr, const char *msg) { if (attr->log_callback) { attr->log_callback (attr, msg, attr->log_callback_user_info); } } static void liq_verbose_printf_flush (liq_attr * attr) { if (attr->log_flush_callback) { attr->log_flush_callback (attr, attr->log_flush_callback_user_info); } } # 190 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" __attribute__ ((noinline)) extern # 190 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 _Bool # 190 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" liq_crash_if_invalid_handle_pointer_given (const liq_attr * user_supplied_pointer, const char *const expected_magic_header); extern # 192 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 _Bool # 193 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" liq_crash_if_invalid_handle_pointer_given (const liq_attr * user_supplied_pointer, const char *const expected_magic_header) { if (!user_supplied_pointer) { return # 197 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 0 # 197 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; } if (user_supplied_pointer->magic_header == liq_freed_magic) { fprintf ( # 201 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 stderr # 201 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" , "%s used after being freed", expected_magic_header); abort (); } return user_supplied_pointer->magic_header == expected_magic_header; } __attribute__ ((noinline)) extern # 211 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 _Bool # 211 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" liq_crash_if_invalid_pointer_given (void *pointer); extern # 212 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 _Bool # 213 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" liq_crash_if_invalid_pointer_given (void *pointer) { char test_access; if (!pointer) { return # 218 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 0 # 218 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; } test_access = *((volatile char *) pointer); return test_access || # 223 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 1 # 223 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; } static void liq_log_error (const liq_attr * attr, const char *msg) { if (!liq_crash_if_invalid_handle_pointer_given((const liq_attr*)attr, liq_attr_magic)) return; liq_verbose_printf (attr, " error: %s", msg); } static double quality_to_mse (long quality) { const double extra_low_quality_fudge = (((0) > (0.016 / (0.001 + quality) - 0.001)) ? (0) : (0.016 / (0.001 + quality) - 0.001)); if (quality == 0) { return 1e20; } if (quality == 100) { return 0; } return extra_low_quality_fudge + 2.5 / pow (210.0 + quality, 1.2) * (100.1 - quality) / 100.0; } static unsigned int mse_to_quality (double mse) { int i; for (i = 100; i > 0; i--) { if (mse <= quality_to_mse (i) + 0.000001) { return i; } } return 0; } extern liq_error liq_set_quality (liq_attr * attr, int minimum, int target) { if (!liq_crash_if_invalid_handle_pointer_given((const liq_attr*)attr, liq_attr_magic)) return LIQ_INVALID_POINTER; if (target < 0 || target > 100 || target < minimum || minimum < 0) return LIQ_VALUE_OUT_OF_RANGE; attr->target_mse = quality_to_mse (target); attr->max_mse = quality_to_mse (minimum); return LIQ_OK; } extern int liq_get_min_quality (const liq_attr * attr) { if (!liq_crash_if_invalid_handle_pointer_given((const liq_attr*)attr, liq_attr_magic)) return -1; return mse_to_quality (attr->max_mse); } extern int liq_get_max_quality (const liq_attr * attr) { if (!liq_crash_if_invalid_handle_pointer_given((const liq_attr*)attr, liq_attr_magic)) return -1; return mse_to_quality (attr->target_mse); } extern liq_error liq_set_max_colors (liq_attr * attr, int colors) { if (!liq_crash_if_invalid_handle_pointer_given((const liq_attr*)attr, liq_attr_magic)) return LIQ_INVALID_POINTER; if (colors < 2 || colors > 256) return LIQ_VALUE_OUT_OF_RANGE; attr->max_colors = colors; return LIQ_OK; } extern int liq_get_max_colors (const liq_attr * attr) { if (!liq_crash_if_invalid_handle_pointer_given((const liq_attr*)attr, liq_attr_magic)) return -1; return attr->max_colors; } extern liq_error liq_set_min_posterization (liq_attr * attr, int bits) { if (!liq_crash_if_invalid_handle_pointer_given((const liq_attr*)attr, liq_attr_magic)) return LIQ_INVALID_POINTER; if (bits < 0 || bits > 4) return LIQ_VALUE_OUT_OF_RANGE; attr->min_posterization_output = bits; return LIQ_OK; } extern int liq_get_min_posterization (const liq_attr * attr) { if (!liq_crash_if_invalid_handle_pointer_given((const liq_attr*)attr, liq_attr_magic)) return -1; return attr->min_posterization_output; } extern liq_error liq_set_speed (liq_attr * attr, int speed) { int iterations; if (!liq_crash_if_invalid_handle_pointer_given((const liq_attr*)attr, liq_attr_magic)) return LIQ_INVALID_POINTER; if (speed < 1 || speed > 10) return LIQ_VALUE_OUT_OF_RANGE; iterations = (((8 - speed) > (0)) ? (8 - speed) : (0)); iterations += iterations * iterations / 2; attr->voronoi_iterations = iterations; attr->voronoi_iteration_limit = 1.0 / (double) (1 << (23 - speed)); attr->feedback_loop_trials = (((56 - 9 * speed) > (0)) ? (56 - 9 * speed) : (0)); attr->max_histogram_entries = (1 << 17) + (1 << 18) * (10 - speed); attr->min_posterization_input = (speed >= 8) ? 1 : 0; attr->fast_palette = (speed >= 7); attr->use_dither_map = (speed <= (1 > 1 ? 7 : 5)); attr->use_contrast_maps = (speed <= 7) || attr->use_dither_map; attr->speed = speed; return LIQ_OK; } extern int liq_get_speed (const liq_attr * attr) { if (!liq_crash_if_invalid_handle_pointer_given((const liq_attr*)attr, liq_attr_magic)) return -1; return attr->speed; } extern liq_error liq_set_output_gamma (liq_result * res, double gamma) { if (!liq_crash_if_invalid_handle_pointer_given((const liq_attr*)res, liq_result_magic)) return LIQ_INVALID_POINTER; if (gamma <= 0 || gamma >= 1.0) return LIQ_VALUE_OUT_OF_RANGE; if (res->remapping) { liq_remapping_result_destroy (res->remapping); res->remapping = # 379 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 379 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; } res->gamma = gamma; return LIQ_OK; } extern liq_error liq_set_min_opacity (liq_attr * attr, int min) { if (!liq_crash_if_invalid_handle_pointer_given((const liq_attr*)attr, liq_attr_magic)) return LIQ_INVALID_POINTER; if (min < 0 || min > 255) return LIQ_VALUE_OUT_OF_RANGE; attr->min_opaque_val = (double) min / 255.0; return LIQ_OK; } extern int liq_get_min_opacity (const liq_attr * attr) { if (!liq_crash_if_invalid_handle_pointer_given((const liq_attr*)attr, liq_attr_magic)) return -1; return (((255) < (256.0 * attr->min_opaque_val)) ? (255) : (256.0 * attr->min_opaque_val)); } extern void liq_set_last_index_transparent (liq_attr * attr, int is_last) { if (!liq_crash_if_invalid_handle_pointer_given((const liq_attr*)attr, liq_attr_magic)) return; attr->last_index_transparent = ! !is_last; } extern void liq_set_log_callback (liq_attr * attr, liq_log_callback_function * callback, void *user_info) { if (!liq_crash_if_invalid_handle_pointer_given((const liq_attr*)attr, liq_attr_magic)) return; liq_verbose_printf_flush (attr); attr->log_callback = callback; attr->log_callback_user_info = user_info; } extern void liq_set_log_flush_callback (liq_attr * attr, liq_log_flush_callback_function * callback, void *user_info) { if (!liq_crash_if_invalid_handle_pointer_given((const liq_attr*)attr, liq_attr_magic)) return; attr->log_flush_callback = callback; attr->log_flush_callback_user_info = user_info; } extern liq_attr * liq_attr_create (void) { return liq_attr_create_with_allocator ( # 442 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 442 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" , # 442 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 442 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ); } extern void liq_attr_destroy (liq_attr * attr) { if (!liq_crash_if_invalid_handle_pointer_given((const liq_attr*)attr, liq_attr_magic)) { return; } liq_verbose_printf_flush (attr); attr->magic_header = liq_freed_magic; attr->free (attr); } extern liq_attr * liq_attr_copy (liq_attr * orig) { liq_attr *attr; if (!liq_crash_if_invalid_handle_pointer_given((const liq_attr*)orig, liq_attr_magic)) { return # 463 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 463 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; } attr = orig->malloc (sizeof (liq_attr)); if (!attr) return # 468 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 468 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; *attr = *orig; return attr; } static void * liq_aligned_malloc (size_t size) { unsigned char *ptr = malloc (size + 16); uintptr_t offset; if (!ptr) { return # 479 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 479 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; } offset = 16 - ((uintptr_t) ptr & 15); ptr += offset; # 484 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void) sizeof (( # 484 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 0 == (((uintptr_t) ptr) & 15) # 484 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ) ? 1 : 0), __extension__ ({ if ( # 484 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 0 == (((uintptr_t) ptr) & 15) # 484 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ) ; else __assert_fail ( # 484 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" "0 == (((uintptr_t) ptr) & 15)" # 484 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 , "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c", 484, __extension__ __PRETTY_FUNCTION__); })) # 484 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; ptr[-1] = offset ^ 0x59; return ptr; } static void liq_aligned_free (void *inptr) { unsigned char *ptr = inptr; size_t offset = ptr[-1] ^ 0x59; # 494 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void) sizeof (( # 494 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" offset > 0 && offset <= 16 # 494 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ) ? 1 : 0), __extension__ ({ if ( # 494 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" offset > 0 && offset <= 16 # 494 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ) ; else __assert_fail ( # 494 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" "offset > 0 && offset <= 16" # 494 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 , "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c", 494, __extension__ __PRETTY_FUNCTION__); })) # 494 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; free (ptr - offset); } extern liq_attr * liq_attr_create_with_allocator (void *(*custom_malloc) (size_t), void (*custom_free) (void *)) { liq_attr *attr; if (!custom_malloc && !custom_free) { custom_malloc = liq_aligned_malloc; custom_free = liq_aligned_free; } else if (!custom_malloc != !custom_free) { return # 512 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 512 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; } attr = custom_malloc (sizeof (liq_attr)); if (!attr) return # 517 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 517 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; *attr = (liq_attr) { .magic_header = liq_attr_magic,.malloc = custom_malloc,.free = custom_free,.max_colors = 256,.min_opaque_val = 1, .last_index_transparent = # 520 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 0 # 520 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" , .target_mse = 0,.max_mse = 1e20,}; liq_set_speed (attr, 3); return attr; } extern liq_error liq_image_add_fixed_color (liq_image * img, liq_color color) { float gamma_lut[256]; rgba_pixel pix = (rgba_pixel) { .r = color.r, .g = color.g, .b = color.b, .a = color.a }; if (!liq_crash_if_invalid_handle_pointer_given((const liq_attr*)img, liq_image_magic)) return LIQ_INVALID_POINTER; if (img->fixed_colors_count > 255) return LIQ_BUFFER_TOO_SMALL; to_f_set_gamma (gamma_lut, img->gamma); img->fixed_colors[img->fixed_colors_count++] = to_f (gamma_lut, pix); return LIQ_OK; } static # 547 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 _Bool # 548 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" liq_image_use_low_memory (liq_image * img) { img->temp_f_row = img->malloc (sizeof (img->f_pixels[0]) * img->width * 1); return img->temp_f_row != # 553 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 553 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; } static # 556 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 _Bool # 557 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" liq_image_should_use_low_memory (liq_image * img, const # 557 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 _Bool # 557 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" low_memory_hint) { return img->width * img->height > (low_memory_hint ? (1<<26) / 8 : (1<<26)) / sizeof (f_pixel); } static liq_image * liq_image_create_internal (liq_attr * attr, rgba_pixel * rows[], liq_image_get_rgba_row_callback * row_callback, void *row_callback_user_info, int width, int height, double gamma) { liq_image *img; if (gamma < 0 || gamma > 1.0) { liq_log_error (attr, "gamma must be >= 0 and <= 1 (try 1/gamma instead)"); return # 570 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 570 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; } if (!rows && !row_callback) { liq_log_error (attr, "missing row data"); return # 575 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 575 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; } img = attr->malloc (sizeof (liq_image)); if (!img) return # 580 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 580 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; *img = (liq_image) { .magic_header = liq_image_magic,.malloc = attr->malloc,.free = attr->free,.width = width,.height = height,.gamma = gamma ? gamma : 0.45455,.rows = rows,.row_callback = row_callback,.row_callback_user_info = row_callback_user_info,.min_opaque_val = attr->min_opaque_val,}; if (!rows || attr->min_opaque_val < 1.f) { img->temp_row = attr->malloc (sizeof (img->temp_row[0]) * width * 1); if (!img->temp_row) return # 593 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 593 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; } if (liq_image_should_use_low_memory (img, !img->temp_row && !attr->use_contrast_maps && !attr->use_dither_map)) { verbose_print (attr, " conserving memory"); if (!liq_image_use_low_memory (img)) return # 600 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 600 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; } if (img->min_opaque_val < 1.f) { verbose_print (attr, " Working around IE6 bug by making image less transparent..."); } return img; } extern liq_error liq_image_set_memory_ownership (liq_image * img, int ownership_flags) { if (!liq_crash_if_invalid_handle_pointer_given((const liq_attr*)img, liq_image_magic)) return LIQ_INVALID_POINTER; if (!img->rows || !ownership_flags || (ownership_flags & ~(LIQ_OWN_ROWS | LIQ_OWN_PIXELS))) { return LIQ_VALUE_OUT_OF_RANGE; } if (ownership_flags & LIQ_OWN_ROWS) { if (img->free_rows_internal) return LIQ_VALUE_OUT_OF_RANGE; img->free_rows = # 624 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 1 # 624 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; } if (ownership_flags & LIQ_OWN_PIXELS) { img->free_pixels = # 628 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 1 # 628 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; if (!img->pixels) { img->pixels = img->rows[0]; for (unsigned int i = 1; i < img->height; i++) { img->pixels = (((img->pixels) < (img->rows[i])) ? (img->pixels) : (img->rows[i])); } } } return LIQ_OK; } static # 642 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 _Bool # 643 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" check_image_size (const liq_attr * attr, const int width, const int height) { if (!liq_crash_if_invalid_handle_pointer_given((const liq_attr*)attr, liq_attr_magic)) { return # 646 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 0 # 646 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; } if (width <= 0 || height <= 0) { liq_log_error (attr, "width and height must be > 0"); return # 651 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 0 # 651 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; } if (width > 0x7fffffff # 653 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" / height) { liq_log_error (attr, "image too large"); return # 655 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 0 # 655 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; } return # 657 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 1 # 657 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; } extern liq_image * liq_image_create_custom (liq_attr * attr, liq_image_get_rgba_row_callback * row_callback, void *user_info, int width, int height, double gamma) { if (!check_image_size (attr, width, height)) { return # 666 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 666 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; } return liq_image_create_internal (attr, # 668 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 668 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" , row_callback, user_info, width, height, gamma); } extern liq_image * liq_image_create_rgba_rows (liq_attr * attr, void *rows[], int width, int height, double gamma) { if (!check_image_size (attr, width, height)) { return # 677 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 677 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; } for (int i = 0; i < height; i++) { if (!liq_crash_if_invalid_pointer_given(rows + i) || !liq_crash_if_invalid_pointer_given(rows[i])) { liq_log_error (attr, "invalid row pointers"); return # 683 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 683 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; } } return liq_image_create_internal (attr, (rgba_pixel **) rows, # 686 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 686 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" , # 686 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 686 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" , width, height, gamma); } extern liq_image * liq_image_create_rgba (liq_attr * attr, void *bitmap, int width, int height, double gamma) { rgba_pixel *pixels; rgba_pixel **rows; liq_image *image; if (!check_image_size (attr, width, height)) { return # 699 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 699 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; } if (!liq_crash_if_invalid_pointer_given(bitmap)) { liq_log_error (attr, "invalid bitmap pointer"); return # 703 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 703 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; } pixels = bitmap; rows = attr->malloc (sizeof (rows[0]) * height); if (!rows) return # 709 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 709 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; for (int i = 0; i < height; i++) { rows[i] = pixels + width * i; } image = liq_image_create_internal (attr, rows, # 716 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 716 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" , # 716 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 716 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" , width, height, gamma); image->free_rows = # 717 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 1 # 717 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; image->free_rows_internal = # 718 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 1 # 718 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; return image; } __attribute__ ((noinline)) extern void liq_executing_user_callback (liq_image_get_rgba_row_callback * callback, liq_color * temp_row, int row, int width, void *user_info); extern void liq_executing_user_callback (liq_image_get_rgba_row_callback * callback, liq_color * temp_row, int row, int width, void *user_info) { # 729 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void) sizeof (( # 729 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" callback # 729 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ) ? 1 : 0), __extension__ ({ if ( # 729 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" callback # 729 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ) ; else __assert_fail ( # 729 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" "callback" # 729 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 , "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c", 729, __extension__ __PRETTY_FUNCTION__); })) # 729 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; # 730 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void) sizeof (( # 730 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" temp_row # 730 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ) ? 1 : 0), __extension__ ({ if ( # 730 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" temp_row # 730 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ) ; else __assert_fail ( # 730 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" "temp_row" # 730 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 , "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c", 730, __extension__ __PRETTY_FUNCTION__); })) # 730 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; callback (temp_row, row, width, user_info); } inline static # 734 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 _Bool # 735 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" liq_image_can_use_rows (liq_image * img) { const # 737 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 _Bool # 737 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" iebug = img->min_opaque_val < 1.f; return (img->rows && !iebug); } static const rgba_pixel * liq_image_get_row_rgba (liq_image * img, unsigned int row) { rgba_pixel *temp_row; if (liq_image_can_use_rows (img)) { return img->rows[row]; } # 749 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void) sizeof (( # 749 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" img->temp_row # 749 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ) ? 1 : 0), __extension__ ({ if ( # 749 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" img->temp_row # 749 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ) ; else __assert_fail ( # 749 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" "img->temp_row" # 749 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 , "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c", 749, __extension__ __PRETTY_FUNCTION__); })) # 749 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; temp_row = img->temp_row + img->width * 0; if (img->rows) { memcpy (temp_row, img->rows[row], img->width * sizeof (temp_row[0])); } else { liq_executing_user_callback (img->row_callback, (liq_color *) temp_row, row, img->width, img->row_callback_user_info); } if (img->min_opaque_val < 1.f) modify_alpha (img, temp_row); return temp_row; } static void convert_row_to_f (liq_image * img, f_pixel * row_f_pixels, const unsigned int row, const float gamma_lut[]) { # 767 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void) sizeof (( # 767 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" row_f_pixels # 767 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ) ? 1 : 0), __extension__ ({ if ( # 767 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" row_f_pixels # 767 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ) ; else __assert_fail ( # 767 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" "row_f_pixels" # 767 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 , "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c", 767, __extension__ __PRETTY_FUNCTION__); })) # 767 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; # 768 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void) sizeof (( # 768 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" !0 || 0 == ((uintptr_t) row_f_pixels & 15) # 768 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ) ? 1 : 0), __extension__ ({ if ( # 768 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" !0 || 0 == ((uintptr_t) row_f_pixels & 15) # 768 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ) ; else __assert_fail ( # 768 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" "!USE_SSE || 0 == ((uintptr_t) row_f_pixels & 15)" # 768 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 , "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c", 768, __extension__ __PRETTY_FUNCTION__); })) # 768 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; { const rgba_pixel *const row_pixels = liq_image_get_row_rgba (img, row); unsigned int col; for (col = 0; col < img->width; col++) { row_f_pixels[col] = to_f (gamma_lut, row_pixels[col]); } } } static const f_pixel * liq_image_get_row_f (liq_image * img, unsigned int row) { if (!img->f_pixels) { if (img->temp_f_row) { float gamma_lut[256]; f_pixel *row_for_thread; to_f_set_gamma (gamma_lut, img->gamma); row_for_thread = img->temp_f_row + img->width * 0; convert_row_to_f (img, row_for_thread, row, gamma_lut); return row_for_thread; } # 795 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void) sizeof (( # 795 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 0 == 0 # 795 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ) ? 1 : 0), __extension__ ({ if ( # 795 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 0 == 0 # 795 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ) ; else __assert_fail ( # 795 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" "omp_get_thread_num () == 0" # 795 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 , "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c", 795, __extension__ __PRETTY_FUNCTION__); })) # 795 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; if (!liq_image_should_use_low_memory (img, # 796 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 0 # 796 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" )) { img->f_pixels = img->malloc (sizeof (img->f_pixels[0]) * img->width * img->height); } if (!img->f_pixels) { if (!liq_image_use_low_memory (img)) return # 802 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 802 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; return liq_image_get_row_f (img, row); } { float gamma_lut[256]; to_f_set_gamma (gamma_lut, img->gamma); for (unsigned int i = 0; i < img->height; i++) { convert_row_to_f (img, &img->f_pixels[i * img->width], i, gamma_lut); } } } return img->f_pixels + img->width * row; } extern int liq_image_get_width (const liq_image * input_image) { if (!liq_crash_if_invalid_handle_pointer_given((const liq_attr*)input_image, liq_image_magic)) return -1; return input_image->width; } extern int liq_image_get_height (const liq_image * input_image) { if (!liq_crash_if_invalid_handle_pointer_given((const liq_attr*)input_image, liq_image_magic)) return -1; return input_image->height; } typedef void free_func (void *); static free_func * get_default_free_func (liq_image * img) { if (img->free_rows_internal || img->free != liq_aligned_free) { return img->free; } return free; } static void liq_image_free_rgba_source (liq_image * input_image) { if (input_image->free_pixels && input_image->pixels) { get_default_free_func (input_image) (input_image->pixels); input_image->pixels = # 850 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 850 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; } if (input_image->free_rows && input_image->rows) { get_default_free_func (input_image) (input_image->rows); input_image->rows = # 855 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 855 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; } } extern void liq_image_destroy (liq_image * input_image) { if (!liq_crash_if_invalid_handle_pointer_given((const liq_attr*)input_image, liq_image_magic)) return; liq_image_free_rgba_source (input_image); if (input_image->noise) { input_image->free (input_image->noise); } if (input_image->edges) { input_image->free (input_image->edges); } if (input_image->dither_map) { input_image->free (input_image->dither_map); } if (input_image->f_pixels) { input_image->free (input_image->f_pixels); } if (input_image->temp_row) { input_image->free (input_image->temp_row); } if (input_image->temp_f_row) { input_image->free (input_image->temp_f_row); } input_image->magic_header = liq_freed_magic; input_image->free (input_image); } extern liq_result * liq_quantize_image (liq_attr * attr, liq_image * img) { histogram *hist; liq_result *result; if (!liq_crash_if_invalid_handle_pointer_given((const liq_attr*)attr, liq_attr_magic)) return # 902 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 902 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; if (!liq_crash_if_invalid_handle_pointer_given((const liq_attr*)img, liq_image_magic)) { liq_log_error (attr, "invalid image pointer"); return # 905 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 905 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; } hist = get_histogram (img, attr); if (!hist) { return # 910 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 910 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; } result = pngquant_quantize (hist, attr, img); pam_freeacolorhist (hist); return result; } extern liq_error liq_set_dithering_level (liq_result * res, float dither_level) { if (!liq_crash_if_invalid_handle_pointer_given((const liq_attr*)res, liq_result_magic)) return LIQ_INVALID_POINTER; if (res->remapping) { liq_remapping_result_destroy (res->remapping); res->remapping = # 927 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 927 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; } if (res->dither_level < 0 || res->dither_level > 1.0f) return LIQ_VALUE_OUT_OF_RANGE; res->dither_level = dither_level; return LIQ_OK; } static liq_remapping_result * liq_remapping_result_create (liq_result * result) { liq_remapping_result *res; if (!liq_crash_if_invalid_handle_pointer_given((const liq_attr*)result, liq_result_magic)) { return # 942 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 942 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; } res = result->malloc (sizeof (liq_remapping_result)); if (!res) return # 947 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 947 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; *res = (liq_remapping_result) { .magic_header = liq_remapping_result_magic,.malloc = result->malloc,.free = result->free,.dither_level = result->dither_level,.use_dither_map = result->use_dither_map,.palette_error = result->palette_error,.gamma = result->gamma,.palette = pam_duplicate_colormap (result->palette),}; return res; } extern double liq_get_output_gamma (const liq_result * result) { if (!liq_crash_if_invalid_handle_pointer_given((const liq_attr*)result, liq_result_magic)) return -1; return result->gamma; } static void liq_remapping_result_destroy (liq_remapping_result * result) { if (!liq_crash_if_invalid_handle_pointer_given((const liq_attr*)result, liq_remapping_result_magic)) return; if (result->palette) pam_freecolormap (result->palette); if (result->pixels) result->free (result->pixels); result->magic_header = liq_freed_magic; result->free (result); } extern void liq_result_destroy (liq_result * res) { if (!liq_crash_if_invalid_handle_pointer_given((const liq_attr*)res, liq_result_magic)) return; memset (&res->int_palette, 0, sizeof (liq_palette)); if (res->remapping) { memset (&res->remapping->int_palette, 0, sizeof (liq_palette)); liq_remapping_result_destroy (res->remapping); } pam_freecolormap (res->palette); res->magic_header = liq_freed_magic; res->free (res); } extern double liq_get_quantization_error (liq_result * result) { if (!liq_crash_if_invalid_handle_pointer_given((const liq_attr*)result, liq_result_magic)) return -1; if (result->palette_error >= 0) { return result->palette_error * 65536.0 / 6.0; } if (result->remapping && result->remapping->palette_error >= 0) { return result->remapping->palette_error * 65536.0 / 6.0; } return result->palette_error; } extern int liq_get_quantization_quality (liq_result * result) { if (!liq_crash_if_invalid_handle_pointer_given((const liq_attr*)result, liq_result_magic)) return -1; if (result->palette_error >= 0) { return mse_to_quality (result->palette_error); } if (result->remapping && result->remapping->palette_error >= 0) { return mse_to_quality (result->remapping->palette_error); } return result->palette_error; } static int compare_popularity (const void *ch1, const void *ch2) { const float v1 = ((const colormap_item *) ch1)->popularity; const float v2 = ((const colormap_item *) ch2)->popularity; return v1 > v2 ? -1 : 1; } static void sort_palette_qsort (colormap * map, int start, int nelem) { qsort (map->palette + start, nelem, sizeof (map->palette[0]), compare_popularity); } #define SWAP_PALETTE(map,a,b) { const colormap_item tmp = (map)->palette[(a)]; (map)->palette[(a)] = (map)->palette[(b)]; (map)->palette[(b)] = tmp; } static void sort_palette (colormap * map, const liq_attr * options) { unsigned int i; unsigned int num_transparent; if (options->last_index_transparent) { for (i = 0; i < map->colors; i++) { if (map->palette[i].acolor.a < 1.0 / 256.0) { const unsigned int old = i, transparent_dest = map->colors - 1; { const colormap_item tmp = (map)->palette[(transparent_dest)]; (map)->palette[(transparent_dest)] = (map)->palette[(old)]; (map)->palette[(old)] = tmp; }; sort_palette_qsort (map, 0, map->colors - 1); return; } } } num_transparent = 0; for (i = 0; i < map->colors; i++) { if (map->palette[i].acolor.a < 255.0 / 256.0) { if (i != num_transparent) { { const colormap_item tmp = (map)->palette[(num_transparent)]; (map)->palette[(num_transparent)] = (map)->palette[(i)]; (map)->palette[(i)] = tmp; }; i--; } num_transparent++; } } liq_verbose_printf (options, " eliminated opaque tRNS-chunk entries...%d entr%s transparent", num_transparent, (num_transparent == 1) ? "y" : "ies"); sort_palette_qsort (map, 0, num_transparent); sort_palette_qsort (map, num_transparent, map->colors - num_transparent); if (map->colors > 16) { { const colormap_item tmp = (map)->palette[(7)]; (map)->palette[(7)] = (map)->palette[(1)]; (map)->palette[(1)] = tmp; }; { const colormap_item tmp = (map)->palette[(8)]; (map)->palette[(8)] = (map)->palette[(2)]; (map)->palette[(2)] = tmp; }; { const colormap_item tmp = (map)->palette[(9)]; (map)->palette[(9)] = (map)->palette[(3)]; (map)->palette[(3)] = tmp; }; } } inline static unsigned int posterize_channel (unsigned int color, unsigned int bits) { return (color & ~((1 << bits) - 1)) | (color >> (8 - bits)); } static void set_rounded_palette (liq_palette * const dest, colormap * const map, const double gamma, unsigned int posterize) { float gamma_lut[256]; to_f_set_gamma (gamma_lut, gamma); dest->count = map->colors; for (unsigned int x = 0; x < map->colors; ++x) { rgba_pixel px = to_rgb (gamma, map->palette[x].acolor); px.r = posterize_channel (px.r, posterize); px.g = posterize_channel (px.g, posterize); px.b = posterize_channel (px.b, posterize); px.a = posterize_channel (px.a, posterize); map->palette[x].acolor = to_f (gamma_lut, px); if (!px.a) { px.r = 'L'; px.g = 'i'; px.b = 'q'; } dest->entries[x] = (liq_color) { .r = px.r,.g = px.g,.b = px.b,.a = px.a}; } } extern const liq_palette * liq_get_palette (liq_result * result) { if (!liq_crash_if_invalid_handle_pointer_given((const liq_attr*)result, liq_result_magic)) return # 1146 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 1146 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; if (result->remapping && result->remapping->int_palette.count) { return &result->remapping->int_palette; } if (!result->int_palette.count) { set_rounded_palette (&result->int_palette, result->palette, result->gamma, result->min_posterization_output); } return &result->int_palette; } #define MAX_THREADS 8 static float remap_to_palette (liq_image * const input_image, unsigned char *const *const output_pixels, colormap * const map, const # 1164 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 _Bool # 1164 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" fast) { const int rows = input_image->height; const unsigned int cols = input_image->width; const float min_opaque_val = input_image->min_opaque_val; double remapping_error = 0; if (!liq_image_get_row_f (input_image, 0)) { return -1; } { struct nearest_map *const n = nearest_init (map, fast); const unsigned int max_threads = (((8) < (1)) ? (8) : (1)); viter_state *average_color = __builtin_alloca (sizeof (viter_state) * (((64+sizeof(viter_state)-1)/sizeof(viter_state)) + map->colors) * 8) ; unsigned int row, col; viter_init (map, max_threads, average_color); #pragma omp parallel for if (rows*cols > 3000) schedule(static) default(none) shared(average_color) reduction(+:remapping_error) for (row = 0; row < rows; ++row) { const f_pixel *const row_pixels = liq_image_get_row_f (input_image, row); unsigned int last_match = 0; for (col = 0; col < cols; ++col) { f_pixel px = row_pixels[col]; float diff; output_pixels[row][col] = last_match = nearest_search (n, px, last_match, min_opaque_val, &diff); remapping_error += diff; viter_update_color (px, 1.0, map, last_match, 0, average_color); } } viter_finalize (map, max_threads, average_color); nearest_free (n); } return remapping_error / (input_image->width * input_image->height); } inline static f_pixel get_dithered_pixel (const float dither_level, const float max_dither_error, const f_pixel thiserr, const f_pixel px) { const float sr = thiserr.r * dither_level, sg = thiserr.g * dither_level, sb = thiserr.b * dither_level, sa = thiserr.a * dither_level; float a; float ratio = 1.0; float dither_error; if (px.r + sr > 1.03) ratio = (((ratio) < ((1.03 - px.r) / sr)) ? (ratio) : ((1.03 - px.r) / sr)); else if (px.r + sr < 0) ratio = (((ratio) < (px.r / -sr)) ? (ratio) : (px.r / -sr)); if (px.g + sg > 1.03) ratio = (((ratio) < ((1.03 - px.g) / sg)) ? (ratio) : ((1.03 - px.g) / sg)); else if (px.g + sg < 0) ratio = (((ratio) < (px.g / -sg)) ? (ratio) : (px.g / -sg)); if (px.b + sb > 1.03) ratio = (((ratio) < ((1.03 - px.b) / sb)) ? (ratio) : ((1.03 - px.b) / sb)); else if (px.b + sb < 0) ratio = (((ratio) < (px.b / -sb)) ? (ratio) : (px.b / -sb)); a = px.a + sa; if (a > 1.0) { a = 1.0; } else if (a < 0) { a = 0; } dither_error = sr * sr + sg * sg + sb * sb + sa * sa; if (dither_error > max_dither_error) { ratio *= 0.8; } else if (dither_error < 2.f / 256.f / 256.f) { return px; } return (f_pixel) { .r = px.r + sr * ratio,.g = px.g + sg * ratio,.b = px.b + sb * ratio,.a = a,}; } static void remap_to_palette_floyd (liq_image * input_image, unsigned char *const output_pixels[], const colormap * map, const float max_dither_error, const # 1266 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 _Bool # 1266 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" use_dither_map, const # 1267 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 _Bool # 1267 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" output_image_is_remapped, float base_dithering_level) { const unsigned int rows = input_image->height, cols = input_image->width; const unsigned char *dither_map = use_dither_map ? (input_image-> dither_map ? input_image->dither_map : input_image->edges) : # 1272 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 1272 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; const float min_opaque_val = input_image->min_opaque_val; const colormap_item *acolormap = map->palette; struct nearest_map *const n = nearest_init (map, # 1277 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 0 # 1277 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ); unsigned int col; f_pixel *restrict thiserr, *restrict nexterr; thiserr = input_image->malloc ((cols + 2) * sizeof (*thiserr) * 2); nexterr = thiserr + (cols + 2); srand (12345); if (!thiserr) return; for (col = 0; col < cols + 2; ++col) { const double rand_max = # 1289 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 2147483647 # 1289 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; thiserr[col].r = ((double) rand () - rand_max / 2.0) / rand_max / 255.0; thiserr[col].g = ((double) rand () - rand_max / 2.0) / rand_max / 255.0; thiserr[col].b = ((double) rand () - rand_max / 2.0) / rand_max / 255.0; thiserr[col].a = ((double) rand () - rand_max / 2.0) / rand_max / 255.0; } base_dithering_level = 1.0 - (1.0 - base_dithering_level) * (1.0 - base_dithering_level) * (1.0 - base_dithering_level); if (dither_map) { base_dithering_level *= 1.0 / 255.0; } base_dithering_level *= 15.0 / 16.0; { # 1307 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 _Bool # 1307 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" fs_direction = # 1307 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 1 # 1307 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; unsigned int last_match = 0; for (unsigned int row = 0; row < rows; ++row) { unsigned int col = (fs_direction) ? 0 : (cols - 1); const f_pixel *const row_pixels = liq_image_get_row_f (input_image, row); memset (nexterr, 0, (cols + 2) * sizeof (*nexterr)); do { float dither_level = base_dithering_level; f_pixel spx, xp, err; unsigned int guessed_match; if (dither_map) { dither_level *= dither_map[row * cols + col]; } spx = get_dithered_pixel (dither_level, max_dither_error, thiserr[col + 1], row_pixels[col]); guessed_match = output_image_is_remapped ? output_pixels[row][col] : last_match; output_pixels[row][col] = last_match = nearest_search (n, spx, guessed_match, min_opaque_val, # 1331 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 1331 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ); xp = acolormap[last_match].acolor; err.r = spx.r - xp.r; err.g = spx.r - xp.g; err.b = spx.r - xp.b; err.a = spx.r - xp.a; if (err.r * err.r + err.g * err.g + err.b * err.b + err.a * err.a > max_dither_error) { dither_level *= 0.75; } { const float colorimp = (3.0f + acolormap[last_match].acolor.a) / 4.0f * dither_level; err.r *= colorimp; err.g *= colorimp; err.b *= colorimp; err.a *= dither_level; } if (fs_direction) { thiserr[col + 2].a += err.a * (7.f / 16.f); thiserr[col + 2].r += err.r * (7.f / 16.f); thiserr[col + 2].g += err.g * (7.f / 16.f); thiserr[col + 2].b += err.b * (7.f / 16.f); nexterr[col + 2].a = err.a * (1.f / 16.f); nexterr[col + 2].r = err.r * (1.f / 16.f); nexterr[col + 2].g = err.g * (1.f / 16.f); nexterr[col + 2].b = err.b * (1.f / 16.f); nexterr[col + 1].a += err.a * (5.f / 16.f); nexterr[col + 1].r += err.r * (5.f / 16.f); nexterr[col + 1].g += err.g * (5.f / 16.f); nexterr[col + 1].b += err.b * (5.f / 16.f); nexterr[col].a += err.a * (3.f / 16.f); nexterr[col].r += err.r * (3.f / 16.f); nexterr[col].g += err.g * (3.f / 16.f); nexterr[col].b += err.b * (3.f / 16.f); } else { thiserr[col].a += err.a * (7.f / 16.f); thiserr[col].r += err.r * (7.f / 16.f); thiserr[col].g += err.g * (7.f / 16.f); thiserr[col].b += err.b * (7.f / 16.f); nexterr[col].a = err.a * (1.f / 16.f); nexterr[col].r = err.r * (1.f / 16.f); nexterr[col].g = err.g * (1.f / 16.f); nexterr[col].b = err.b * (1.f / 16.f); nexterr[col + 1].a += err.a * (5.f / 16.f); nexterr[col + 1].r += err.r * (5.f / 16.f); nexterr[col + 1].g += err.g * (5.f / 16.f); nexterr[col + 1].b += err.b * (5.f / 16.f); nexterr[col + 2].a += err.a * (3.f / 16.f); nexterr[col + 2].r += err.r * (3.f / 16.f); nexterr[col + 2].g += err.g * (3.f / 16.f); nexterr[col + 2].b += err.b * (3.f / 16.f); } if (fs_direction) { ++col; if (col >= cols) break; } else { if (col <= 0) break; --col; } } while (1); { f_pixel *const temperr = thiserr; thiserr = nexterr; nexterr = temperr; } fs_direction = !fs_direction; } } input_image->free ((((thiserr) < (nexterr)) ? (thiserr) : (nexterr))); nearest_free (n); } static void remove_fixed_colors_from_histogram (histogram * hist, const liq_image * input_image, const float target_mse) { const float max_difference = (((target_mse / 2.0) > (2.0 / 256.0 / 256.0)) ? (target_mse / 2.0) : (2.0 / 256.0 / 256.0)); if (input_image->fixed_colors_count) { for (int j = 0; j < hist->size; j++) { for (unsigned int i = 0; i < input_image->fixed_colors_count; i++) { if (colordifference (hist->achv[j].acolor, input_image->fixed_colors[i]) < max_difference) { hist->achv[j] = hist->achv[--hist->size]; j--; break; } } } } } static histogram * get_histogram (liq_image * input_image, const liq_attr * options) { unsigned int ignorebits = (((options->min_posterization_output) > (options->min_posterization_input)) ? (options->min_posterization_output) : (options->min_posterization_input)); const unsigned int cols = input_image->width, rows = input_image->height; if (!input_image->noise && options->use_contrast_maps) { contrast_maps (input_image); } { unsigned int maxcolors = options->max_histogram_entries; struct acolorhash_table *acht; const # 1467 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 _Bool # 1467 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" all_rows_at_once = liq_image_can_use_rows (input_image); histogram *hist; do { acht = pam_allocacolorhash (maxcolors, rows * cols, ignorebits, options->malloc, options->free); if (!acht) return # 1475 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 1475 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; for (unsigned int row = 0; row < rows; row++) { # 1480 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 _Bool # 1480 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" added_ok; if (all_rows_at_once) { added_ok = pam_computeacolorhash (acht, (const rgba_pixel * const *) input_image->rows, cols, rows, input_image->noise); if (added_ok) break; } else { const rgba_pixel *rows_p[1] = { liq_image_get_row_rgba (input_image, row) }; added_ok = pam_computeacolorhash (acht, rows_p, cols, 1, input_image->noise ? &input_image->noise[row * cols] : # 1493 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 1493 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ); } if (!added_ok) { ignorebits++; liq_verbose_printf (options, " too many colors! Scaling colors to improve clustering... %d", ignorebits); pam_freeacolorhash (acht); acht = # 1501 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 1501 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; break; } } } while (!acht); if (input_image->noise) { input_image->free (input_image->noise); input_image->noise = # 1509 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 1509 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; } if (input_image->free_pixels && input_image->f_pixels) { liq_image_free_rgba_source (input_image); } hist = pam_acolorhashtoacolorhist (acht, input_image->gamma, options->malloc, options->free); pam_freeacolorhash (acht); if (hist) { liq_verbose_printf (options, " made histogram...%d colors found", hist->size); remove_fixed_colors_from_histogram (hist, input_image, options->target_mse); } return hist; } } static void modify_alpha (liq_image * input_image, rgba_pixel * const row_pixels) { const float min_opaque_val = input_image->min_opaque_val; const float almost_opaque_val = min_opaque_val * 169.f / 256.f; const unsigned int almost_opaque_val_int = (min_opaque_val * 169.f / 256.f) * 255.f; for (unsigned int col = 0; col < input_image->width; col++) { const rgba_pixel px = row_pixels[col]; if (px.a >= almost_opaque_val_int) { float al = px.a / 255.f; al = almost_opaque_val + (al - almost_opaque_val) * (1.f - almost_opaque_val) / (min_opaque_val - almost_opaque_val); al *= 256.f; row_pixels[col].a = al >= 255.f ? 255 : al; } } } static void contrast_maps (liq_image * image) { const int cols = image->width, rows = image->height; unsigned char *restrict noise, *restrict edges, *restrict tmp; const f_pixel *curr_row, *prev_row, *next_row; int i, j; if (cols < 4 || rows < 4 || (3 * cols * rows) > (1<<26)) { return; } noise = image->malloc (cols * rows); edges = image->malloc (cols * rows); tmp = image->malloc (cols * rows); if (!noise || !edges || !tmp) { return; } curr_row = prev_row = next_row = liq_image_get_row_f (image, 0); for (j = 0; j < rows; j++) { f_pixel prev, curr, next; prev_row = curr_row; curr_row = next_row; next_row = liq_image_get_row_f (image, (((rows - 1) < (j + 1)) ? (rows - 1) : (j + 1))); curr = curr_row[0]; next = curr; for (i = 0; i < cols; i++) { prev = curr; curr = next; next = curr_row[(((cols - 1) < (i + 1)) ? (cols - 1) : (i + 1))]; { const float a = fabsf (prev.a + next.a - curr.a * 2.f), r = fabsf (prev.r + next.r - curr.r * 2.f), g = fabsf (prev.g + next.g - curr.g * 2.f), b = fabsf (prev.b + next.b - curr.b * 2.f); const f_pixel prevl = prev_row[i]; const f_pixel nextl = next_row[i]; const float a1 = fabsf (prevl.a + nextl.a - curr.a * 2.f), r1 = fabsf (prevl.r + nextl.r - curr.r * 2.f), g1 = fabsf (prevl.g + nextl.g - curr.g * 2.f), b1 = fabsf (prevl.b + nextl.b - curr.b * 2.f); const float horiz = ((((((a) > (r)) ? (a) : (r))) > ((((g) > (b)) ? (g) : (b)))) ? ((((a) > (r)) ? (a) : (r))) : ((((g) > (b)) ? (g) : (b)))); const float vert = ((((((a1) > (r1)) ? (a1) : (r1))) > ((((g1) > (b1)) ? (g1) : (b1)))) ? ((((a1) > (r1)) ? (a1) : (r1))) : ((((g1) > (b1)) ? (g1) : (b1)))); const float edge = (((horiz) > (vert)) ? (horiz) : (vert)); float z = edge - fabsf (horiz - vert) * .5f; z = 1.f - (((z) > ((((horiz) < (vert)) ? (horiz) : (vert)))) ? (z) : ((((horiz) < (vert)) ? (horiz) : (vert)))); z *= z; z *= z; z *= 256.f; noise[j * cols + i] = z < 256 ? z : 255; z = (1.f - edge) * 256.f; edges[j * cols + i] = z < 256 ? z : 255; } } } liq_max3 (noise, tmp, cols, rows); liq_max3 (tmp, noise, cols, rows); liq_blur (noise, tmp, noise, cols, rows, 3); liq_max3 (noise, tmp, cols, rows); liq_min3 (tmp, noise, cols, rows); liq_min3 (noise, tmp, cols, rows); liq_min3 (tmp, noise, cols, rows); liq_min3 (edges, tmp, cols, rows); liq_max3 (tmp, edges, cols, rows); for (int i = 0; i < cols * rows; i++) edges[i] = (((noise[i]) < (edges[i])) ? (noise[i]) : (edges[i])); image->free (tmp); image->noise = noise; image->edges = edges; } # 1659 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" static void update_dither_map (unsigned char *const *const row_pointers, liq_image * input_image) { const unsigned int width = input_image->width; const unsigned int height = input_image->height; unsigned char *const edges = input_image->edges; for (unsigned int row = 0; row < height; row++) { unsigned char lastpixel = row_pointers[row][0]; unsigned int lastcol = 0; for (unsigned int col = 1; col < width; col++) { const unsigned char px = row_pointers[row][col]; if (px != lastpixel || col == width - 1) { float neighbor_count = 2.5f + col - lastcol; unsigned int i = lastcol; while (i < col) { if (row > 0) { unsigned char pixelabove = row_pointers[row - 1][i]; if (pixelabove == lastpixel) neighbor_count += 1.f; } if (row < height - 1) { unsigned char pixelbelow = row_pointers[row + 1][i]; if (pixelbelow == lastpixel) neighbor_count += 1.f; } i++; } while (lastcol <= col) { float e = edges[row * width + lastcol] / 255.f; e *= 1.f - 2.5f / neighbor_count; edges[row * width + lastcol++] = e * 255.f; } lastpixel = px; } } } input_image->dither_map = input_image->edges; input_image->edges = # 1702 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 1702 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; } static colormap * add_fixed_colors_to_palette (colormap * palette, const int max_colors, const f_pixel fixed_colors[], const int fixed_colors_count, void *(*malloc) (size_t), void (*free) (void *)) { colormap *newpal; unsigned int i, palette_max; int j; if (!fixed_colors_count) return palette; newpal = pam_colormap ((((max_colors) < ((palette ? palette->colors : 0) + fixed_colors_count)) ? (max_colors) : ((palette ? palette->colors : 0) + fixed_colors_count)) , malloc, free); i = 0; if (palette && fixed_colors_count < max_colors) { palette_max = (((palette->colors) < (max_colors - fixed_colors_count)) ? (palette->colors) : (max_colors - fixed_colors_count)); for (; i < palette_max; i++) { newpal->palette[i] = palette->palette[i]; } } for (j = 0; j < (((max_colors) < (fixed_colors_count)) ? (max_colors) : (fixed_colors_count)); j++) { newpal->palette[i++] = (colormap_item) { .acolor = fixed_colors[j],.fixed = # 1730 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 1 # 1730 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ,}; } if (palette) pam_freecolormap (palette); return newpal; } static void adjust_histogram_callback (hist_item * item, float diff) { item->adjusted_weight = (item->perceptual_weight + item->adjusted_weight) * (sqrtf (1.f + diff)); } static colormap * find_best_palette (histogram * hist, const liq_attr * options, const double max_mse, const f_pixel fixed_colors[], const unsigned int fixed_colors_count, double *palette_error_p) { unsigned int max_colors = options->max_colors; const double target_mse = (((max_mse) < ((((options->target_mse) > (pow ((1 << options->min_posterization_output) / 1024.0, 2))) ? (options->target_mse) : (pow ((1 << options->min_posterization_output) / 1024.0, 2))))) ? (max_mse) : ((((options->target_mse) > (pow ((1 << options->min_posterization_output) / 1024.0, 2))) ? (options->target_mse) : (pow ((1 << options->min_posterization_output) / 1024.0, 2))))) ; int feedback_loop_trials = options->feedback_loop_trials; colormap *acolormap = # 1761 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 1761 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; double least_error = 1e20; double target_mse_overshoot = feedback_loop_trials > 0 ? 1.05 : 1.0; const double percent = (double) (feedback_loop_trials > 0 ? feedback_loop_trials : 1) / 100.0; do { colormap *newmap; double total_error; if (hist->size && fixed_colors_count < max_colors) { newmap = mediancut (hist, options->min_opaque_val, max_colors - fixed_colors_count, target_mse * target_mse_overshoot, ((((((90.0 / 65536.0) > (target_mse)) ? (90.0 / 65536.0) : (target_mse))) > (least_error)) ? ((((90.0 / 65536.0) > (target_mse)) ? (90.0 / 65536.0) : (target_mse))) : (least_error)) * 1.2, options->malloc, options->free); } else { feedback_loop_trials = 0; newmap = # 1779 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 1779 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; } newmap = add_fixed_colors_to_palette (newmap, max_colors, fixed_colors, fixed_colors_count, options->malloc, options->free); if (!newmap) { return # 1785 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 1785 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; } if (feedback_loop_trials <= 0) { return newmap; } { const # 1796 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 _Bool # 1796 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" first_run_of_target_mse = !acolormap && target_mse > 0; total_error = viter_do_iteration (hist, newmap, options->min_opaque_val, first_run_of_target_mse ? # 1799 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 1799 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" : adjust_histogram_callback, !acolormap || options->fast_palette); } if (!acolormap || total_error < least_error || (total_error <= target_mse && newmap->colors < max_colors)) { if (acolormap) pam_freecolormap (acolormap); acolormap = newmap; if (total_error < target_mse && total_error > 0) { target_mse_overshoot = (((target_mse_overshoot * 1.25) < (target_mse / total_error)) ? (target_mse_overshoot * 1.25) : (target_mse / total_error)); } least_error = total_error; max_colors = (((newmap->colors + 1) < (max_colors)) ? (newmap->colors + 1) : (max_colors)); feedback_loop_trials -= 1; } else { for (unsigned int j = 0; j < hist->size; j++) { hist->achv[j].adjusted_weight = (hist->achv[j].perceptual_weight + hist->achv[j].adjusted_weight) / 2.0; } target_mse_overshoot = 1.0; feedback_loop_trials -= 6; if (total_error > least_error * 4) feedback_loop_trials -= 3; pam_freecolormap (newmap); } liq_verbose_printf (options, " selecting colors...%d%%", 100 - (((0) > ((int) (feedback_loop_trials / percent))) ? (0) : ((int) (feedback_loop_trials / percent))) ); } while (feedback_loop_trials > 0); *palette_error_p = least_error; return acolormap; } static liq_result * pngquant_quantize (histogram * hist, const liq_attr * options, const liq_image * img) { colormap *acolormap; double palette_error = -1; const # 1856 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 _Bool # 1856 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" fast_palette = options->fast_palette || hist->ignorebits > 0; const # 1857 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 _Bool # 1857 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" few_input_colors = hist->size + img->fixed_colors_count <= options->max_colors; liq_result *result; if (few_input_colors && options->target_mse == 0) { acolormap = pam_colormap (hist->size, options->malloc, options->free); for (unsigned int i = 0; i < hist->size; i++) { acolormap->palette[i].acolor = hist->achv[i].acolor; acolormap->palette[i].popularity = hist->achv[i].perceptual_weight; } acolormap = add_fixed_colors_to_palette (acolormap, options->max_colors, img->fixed_colors, img->fixed_colors_count, options->malloc, options->free); palette_error = 0; } else { const double max_mse = options->max_mse * (few_input_colors ? 0.33 : 1.0); const double iteration_limit = options->voronoi_iteration_limit; unsigned int iterations = options->voronoi_iterations; acolormap = find_best_palette (hist, options, max_mse, img->fixed_colors, img->fixed_colors_count, &palette_error); if (!acolormap) { return # 1883 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 1883 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; } if (!iterations && palette_error < 0 && max_mse < 1e20) iterations = 1; if (iterations) { double previous_palette_error = 1e20; unsigned int i; if (acolormap->colors < 256) for (unsigned int j = 0; j < hist->size; j++) { if (hist->achv[j].tmp.likely_colormap_index >= acolormap->colors) { hist->achv[j].tmp.likely_colormap_index = 0; } } verbose_print (options, " moving colormap towards local minimum"); for (i = 0; i < iterations; i++) { palette_error = viter_do_iteration (hist, acolormap, options->min_opaque_val, # 1905 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 1905 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" , i == 0 || options->fast_palette); if (fabs (previous_palette_error - palette_error) < iteration_limit) { break; } if (palette_error > max_mse * 1.5) { if (palette_error > max_mse * 3.0) break; i++; } previous_palette_error = palette_error; } } if (palette_error > max_mse) { liq_verbose_printf (options, " image degradation MSE=%.3f (Q=%d) exceeded limit of %.3f (%d)", palette_error * 65536.0 / 6.0, mse_to_quality (palette_error), max_mse * 65536.0 / 6.0, mse_to_quality (max_mse)); pam_freecolormap (acolormap); return # 1928 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 1928 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; } } sort_palette (acolormap, options); result = options->malloc (sizeof (liq_result)); if (!result) return # 1936 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 ((void *)0) # 1936 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" ; *result = (liq_result) { .magic_header = liq_result_magic,.malloc = options->malloc,.free = options->free,.palette = acolormap,.palette_error = palette_error,.fast_palette = fast_palette,.use_dither_map = options->use_dither_map,.gamma = img->gamma,.min_posterization_output = options->min_posterization_output,}; return result; } extern liq_error liq_write_remapped_image (liq_result * result, liq_image * input_image, void *buffer, size_t buffer_size) { size_t required_size; unsigned char **rows; unsigned char *buffer_bytes; unsigned i; if (!liq_crash_if_invalid_handle_pointer_given((const liq_attr*)result, liq_result_magic)) { return LIQ_INVALID_POINTER; } if (!liq_crash_if_invalid_handle_pointer_given((const liq_attr*)input_image, liq_image_magic)) { return LIQ_INVALID_POINTER; } if (!liq_crash_if_invalid_pointer_given(buffer)) { return LIQ_INVALID_POINTER; } required_size = input_image->width * input_image->height; if (buffer_size < required_size) { return LIQ_BUFFER_TOO_SMALL; } rows = __builtin_alloca (sizeof (unsigned char *) * input_image->height); buffer_bytes = buffer; for (i = 0; i < input_image->height; i++) { rows[i] = &buffer_bytes[input_image->width * i]; } return liq_write_remapped_image_rows (result, input_image, rows); } extern liq_error liq_write_remapped_image_rows (liq_result * quant, liq_image * input_image, unsigned char **row_pointers) { unsigned int i; liq_remapping_result *result; float remapping_error; if (!liq_crash_if_invalid_handle_pointer_given((const liq_attr*)quant, liq_result_magic)) return LIQ_INVALID_POINTER; if (!liq_crash_if_invalid_handle_pointer_given((const liq_attr*)input_image, liq_image_magic)) return LIQ_INVALID_POINTER; for (i = 0; i < input_image->height; i++) { if (!liq_crash_if_invalid_pointer_given(row_pointers + i) || !liq_crash_if_invalid_pointer_given(row_pointers[i])) return LIQ_INVALID_POINTER; } if (quant->remapping) { liq_remapping_result_destroy (quant->remapping); } result = quant->remapping = liq_remapping_result_create (quant); if (!result) return LIQ_OUT_OF_MEMORY; if (!input_image->edges && !input_image->dither_map && quant->use_dither_map) { contrast_maps (input_image); } remapping_error = result->palette_error; if (result->dither_level == 0) { set_rounded_palette (&result->int_palette, result->palette, result->gamma, quant->min_posterization_output); remapping_error = remap_to_palette (input_image, row_pointers, result->palette, quant->fast_palette); } else { const # 2022 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" 3 4 _Bool # 2022 "../gst-plugins-bad-1.22.3/gst/dvbsubenc/libimagequant/libimagequant.c" generate_dither_map = result->use_dither_map && (input_image->edges && !input_image->dither_map); if (generate_dither_map) { remapping_error = remap_to_palette (input_image, row_pointers, result->palette, quant->fast_palette); update_dither_map (row_pointers, input_image); } set_rounded_palette (&result->int_palette, result->palette, result->gamma, quant->min_posterization_output); remap_to_palette_floyd (input_image, row_pointers, result->palette, (((remapping_error * 2.4) > (16.f / 256.f)) ? (remapping_error * 2.4) : (16.f / 256.f)), result->use_dither_map, generate_dither_map, result->dither_level); } if (result->palette_error < 0) { result->palette_error = remapping_error; } return LIQ_OK; } extern int liq_version (void) { return 20401; }