void CRYPTO_library_init(void) { /* TODO(davidben): It would be tidier if this build knob could be replaced * with an internal lazy-init mechanism that would handle things correctly * in-library. */ #if defined(BORINGSSL_NO_STATIC_INITIALIZER) do_library_init(); #endif }
FreetypeFont::FreetypeFont(const char *font_file, FT_Long index) { if (library == NULL) { do_library_init( ); } _h = 0; face = NULL; FTCHK(FT_New_Face(library, font_file, index, &face)); rb = gb = bb = ab = 0; rf = gf = bf = af = 255; }