w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

hb.hh File Reference
#include "hb-config.hh"
#include "hb.h"
#include "hb-ot.h"
#include "hb-aat.h"
#include <limits.h>
#include <math.h>
#include <float.h>
#include <stdlib.h>
#include <stddef.h>
#include <string.h>
#include <assert.h>
#include <stdio.h>
#include <stdarg.h>
#include <errno.h>
#include "hb-meta.hh"
#include "hb-mutex.hh"
#include "hb-number.hh"
#include "hb-atomic.hh"
#include "hb-null.hh"
#include "hb-algs.hh"
#include "hb-iter.hh"
#include "hb-debug.hh"
#include "hb-array.hh"
#include "hb-vector.hh"
#include "hb-object.hh"
Include dependency graph for hb.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  hb_assert_constant_t< 1 >
 
struct  BEInt< Type, 1 >
 
struct  BEInt< Type, 2 >
 
struct  BEInt< Type, 3 >
 
struct  BEInt< Type, 4 >
 

Macros

#define _ALL_SOURCE   1
 
#define _GNU_SOURCE   1
 
#define _POSIX_PTHREAD_SEMANTICS   1
 
#define _TANDEM_SOURCE   1
 
#define __EXTENSIONS__   1
 
#define HB_H_IN
 
#define HB_OT_H_IN
 
#define HB_AAT_H_IN
 
#define HB_PASTE1(a, b)   a##b
 
#define HB_PASTE(a, b)   HB_PASTE1(a,b)
 
#define likely(expr)   (expr)
 
#define unlikely(expr)   (expr)
 
#define __attribute__(x)
 
#define HB_PURE_FUNC
 
#define HB_CONST_FUNC
 
#define HB_PRINTF_FUNC(format_idx, arg_idx)
 
#define HB_UNUSED
 
#define HB_INTERNAL   __attribute__((__visibility__("hidden")))
 
#define static_const   static const
 
#define HB_FUNC   __func__
 
#define HB_FALLTHROUGH   /* FALLTHROUGH */
 
#define HB_NODISCARD
 
#define hb_success_t   HB_NODISCARD bool
 
#define HB_NO_SANITIZE_SIGNED_INTEGER_OVERFLOW
 
#define HB_USE_ATEXIT   0
 
#define HB_STMT_START   do
 
#define HB_STMT_END   while (0)
 
#define ASSERT_STATIC_EXPR_ZERO(_cond)   (0 * (unsigned int) sizeof (hb_assert_constant_t<_cond>))
 
#define HB_DELETE_COPY_ASSIGN(TypeName)
 
#define HB_DELETE_CREATE_COPY_ASSIGN(TypeName)
 
#define HB_MARK_AS_FLAG_T(T)
 
#define FLAG(x)   (ASSERT_STATIC_EXPR_ZERO ((unsigned)(x) < 32) + (((uint32_t) 1U) << (unsigned)(x)))
 
#define FLAG_UNSAFE(x)   ((unsigned)(x) < 32 ? (((uint32_t) 1U) << (unsigned)(x)) : 0)
 
#define FLAG_RANGE(x, y)   (ASSERT_STATIC_EXPR_ZERO ((x) < (y)) + FLAG(y+1) - FLAG(x))
 
#define FLAG64(x)   (ASSERT_STATIC_EXPR_ZERO ((unsigned)(x) < 64) + (((uint64_t) 1ULL) << (unsigned)(x)))
 
#define FLAG64_UNSAFE(x)   ((unsigned)(x) < 64 ? (((uint64_t) 1ULL) << (unsigned)(x)) : 0)
 
#define HB_VAR_ARRAY   1
 
#define roundf(x)   _hb_roundf(x)
 
#define HB_SCRIPT_MYANMAR_ZAWGYI   ((hb_script_t) HB_TAG ('Q','a','a','g'))
 

Functions

static float _hb_roundf (float x)
 
static uint16_t hb_uint16_swap (const uint16_t v)
 
static uint32_t hb_uint32_swap (const uint32_t v)
 

Macro Definition Documentation

◆ __attribute__

#define __attribute__ (   x)

Definition at line 243 of file hb.hh.

◆ __EXTENSIONS__

#define __EXTENSIONS__   1

Definition at line 164 of file hb.hh.

◆ _ALL_SOURCE

#define _ALL_SOURCE   1

Definition at line 148 of file hb.hh.

◆ _GNU_SOURCE

#define _GNU_SOURCE   1

Definition at line 152 of file hb.hh.

◆ _POSIX_PTHREAD_SEMANTICS

#define _POSIX_PTHREAD_SEMANTICS   1

Definition at line 156 of file hb.hh.

◆ _TANDEM_SOURCE

#define _TANDEM_SOURCE   1

Definition at line 160 of file hb.hh.

◆ ASSERT_STATIC_EXPR_ZERO

#define ASSERT_STATIC_EXPR_ZERO (   _cond)    (0 * (unsigned int) sizeof (hb_assert_constant_t<_cond>))

Definition at line 446 of file hb.hh.

◆ FLAG

#define FLAG (   x)    (ASSERT_STATIC_EXPR_ZERO ((unsigned)(x) < 32) + (((uint32_t) 1U) << (unsigned)(x)))

Definition at line 500 of file hb.hh.

◆ FLAG64

#define FLAG64 (   x)    (ASSERT_STATIC_EXPR_ZERO ((unsigned)(x) < 64) + (((uint64_t) 1ULL) << (unsigned)(x)))

Definition at line 503 of file hb.hh.

◆ FLAG64_UNSAFE

#define FLAG64_UNSAFE (   x)    ((unsigned)(x) < 64 ? (((uint64_t) 1ULL) << (unsigned)(x)) : 0)

Definition at line 504 of file hb.hh.

◆ FLAG_RANGE

#define FLAG_RANGE (   x,
  y 
)    (ASSERT_STATIC_EXPR_ZERO ((x) < (y)) + FLAG(y+1) - FLAG(x))

Definition at line 502 of file hb.hh.

◆ FLAG_UNSAFE

#define FLAG_UNSAFE (   x)    ((unsigned)(x) < 32 ? (((uint32_t) 1U) << (unsigned)(x)) : 0)

Definition at line 501 of file hb.hh.

◆ HB_AAT_H_IN

#define HB_AAT_H_IN

Definition at line 176 of file hb.hh.

◆ HB_CONST_FUNC

#define HB_CONST_FUNC

Definition at line 252 of file hb.hh.

◆ HB_DELETE_COPY_ASSIGN

#define HB_DELETE_COPY_ASSIGN (   TypeName)
Value:
TypeName(const TypeName&) = delete; \
void operator=(const TypeName&) = delete

Definition at line 462 of file hb.hh.

◆ HB_DELETE_CREATE_COPY_ASSIGN

#define HB_DELETE_CREATE_COPY_ASSIGN (   TypeName)
Value:
TypeName() = delete; \
TypeName(const TypeName&) = delete; \
void operator=(const TypeName&) = delete

Definition at line 465 of file hb.hh.

◆ HB_FALLTHROUGH

#define HB_FALLTHROUGH   /* FALLTHROUGH */

Definition at line 328 of file hb.hh.

◆ HB_FUNC

#define HB_FUNC   __func__

Definition at line 290 of file hb.hh.

◆ HB_H_IN

#define HB_H_IN

Definition at line 172 of file hb.hh.

◆ HB_INTERNAL

#define HB_INTERNAL   __attribute__((__visibility__("hidden")))

Definition at line 265 of file hb.hh.

◆ HB_MARK_AS_FLAG_T

#define HB_MARK_AS_FLAG_T (   T)
Value:
extern "C++" { \
static inline T operator | (T l, T r) { return T ((unsigned) l | (unsigned) r); } \
static inline T operator & (T l, T r) { return T ((unsigned) l & (unsigned) r); } \
static inline T operator ^ (T l, T r) { return T ((unsigned) l ^ (unsigned) r); } \
static inline T operator ~ (T r) { return T (~(unsigned int) r); } \
static inline T& operator |= (T &l, T r) { l = l | r; return l; } \
static inline T& operator &= (T& l, T r) { l = l & r; return l; } \
static inline T& operator ^= (T& l, T r) { l = l ^ r; return l; } \
} \
static_assert (true, "")
mp_limb_t operator^(mp_limb_t lhs, const mp_limb_t &rhs)
Definition: asl.h:125
mp_limb_t operator|(mp_limb_t lhs, const mp_limb_t &rhs)
Definition: asl.h:124
mp_limb_t operator&(mp_limb_t lhs, const mp_limb_t &rhs)
Definition: asl.h:123
#define T
Definition: fmt.h:20
__gmp_expr< mpz_t, __gmp_unary_expr< __gmp_expr< mpz_t, U >, __gmp_unary_com > > operator~(const __gmp_expr< mpz_t, U > &expr)
Definition: gmpxx.h:3316
int r
Definition: ppmqvga.c:68
static hb_buffer_flags_t & operator&=(hb_buffer_flags_t &l, hb_buffer_flags_t r)
Definition: hb-buffer.hh:60
static hb_buffer_flags_t & operator|=(hb_buffer_flags_t &l, hb_buffer_flags_t r)
Definition: hb-buffer.hh:60
static hb_buffer_flags_t & operator^=(hb_buffer_flags_t &l, hb_buffer_flags_t r)
Definition: hb-buffer.hh:60

Definition at line 484 of file hb.hh.

◆ HB_NO_SANITIZE_SIGNED_INTEGER_OVERFLOW

#define HB_NO_SANITIZE_SIGNED_INTEGER_OVERFLOW

Definition at line 349 of file hb.hh.

◆ HB_NODISCARD

#define HB_NODISCARD

Definition at line 339 of file hb.hh.

◆ HB_OT_H_IN

#define HB_OT_H_IN

Definition at line 174 of file hb.hh.

◆ HB_PASTE

#define HB_PASTE (   a,
  b 
)    HB_PASTE1(a,b)

Definition at line 204 of file hb.hh.

◆ HB_PASTE1

#define HB_PASTE1 (   a,
  b 
)    a##b

Definition at line 203 of file hb.hh.

◆ HB_PRINTF_FUNC

#define HB_PRINTF_FUNC (   format_idx,
  arg_idx 
)

Definition at line 253 of file hb.hh.

◆ HB_PURE_FUNC

#define HB_PURE_FUNC

Definition at line 251 of file hb.hh.

◆ HB_SCRIPT_MYANMAR_ZAWGYI

#define HB_SCRIPT_MYANMAR_ZAWGYI   ((hb_script_t) HB_TAG ('Q','a','a','g'))

Definition at line 616 of file hb.hh.

◆ HB_STMT_END

#define HB_STMT_END   while (0)

Definition at line 441 of file hb.hh.

◆ HB_STMT_START

#define HB_STMT_START   do

Definition at line 440 of file hb.hh.

◆ hb_success_t

#define hb_success_t   HB_NODISCARD bool

Definition at line 341 of file hb.hh.

◆ HB_UNUSED

#define HB_UNUSED

Definition at line 260 of file hb.hh.

◆ HB_USE_ATEXIT

#define HB_USE_ATEXIT   0

Definition at line 437 of file hb.hh.

◆ HB_VAR_ARRAY

#define HB_VAR_ARRAY   1

Definition at line 509 of file hb.hh.

◆ likely

#define likely (   expr)    (expr)

Definition at line 237 of file hb.hh.

◆ roundf

#define roundf (   x)    _hb_roundf(x)

Definition at line 514 of file hb.hh.

◆ static_const

#define static_const   static const

Definition at line 282 of file hb.hh.

◆ unlikely

#define unlikely (   expr)    (expr)

Definition at line 238 of file hb.hh.

Function Documentation

◆ _hb_roundf()

static float _hb_roundf ( float  x)
inlinestatic

Definition at line 513 of file hb.hh.

References floorf(), and cordic::x.

◆ hb_uint16_swap()

static uint16_t hb_uint16_swap ( const uint16_t  v)
inlinestatic

Definition at line 517 of file hb.hh.

References v.

Referenced by hb_uint32_swap().

◆ hb_uint32_swap()

static uint32_t hb_uint32_swap ( const uint32_t  v)
inlinestatic

Definition at line 519 of file hb.hh.

References hb_uint16_swap(), and v.