亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? ftsystem.c

?? a very goog book
?? C
字號:
/***************************************************************************//*                                                                         *//*  ftsystem.c                                                             *//*                                                                         *//*    ANSI-specific FreeType low-level system interface (body).            *//*                                                                         *//*  Copyright 1996-2001, 2002 by                                           *//*  David Turner, Robert Wilhelm, and Werner Lemberg.                      *//*                                                                         *//*  This file is part of the FreeType project, and may only be used,       *//*  modified, and distributed under the terms of the FreeType project      *//*  license, LICENSE.TXT.  By continuing to use, modify, or distribute     *//*  this file you indicate that you have read the license and              *//*  understand and accept it fully.                                        *//*                                                                         *//***************************************************************************/  /*************************************************************************/  /*                                                                       */  /* This file contains the default interface used by FreeType to access   */  /* low-level, i.e. memory management, i/o access as well as thread       */  /* synchronisation.  It can be replaced by user-specific routines if     */  /* necessary.                                                            */  /*                                                                       */  /*************************************************************************/#include <ft2build.h>#include FT_CONFIG_CONFIG_H#include FT_INTERNAL_DEBUG_H#include FT_SYSTEM_H#include FT_ERRORS_H#include FT_TYPES_H#include <stdio.h>#include <stdlib.h>  /*************************************************************************/  /*                                                                       */  /*                       MEMORY MANAGEMENT INTERFACE                     */  /*                                                                       */  /*************************************************************************/  /*************************************************************************/  /*                                                                       */  /* It is not necessary to do any error checking for the                  */  /* allocation-related functions.  This will be done by the higher level  */  /* routines like FT_Alloc() or FT_Realloc().                             */  /*                                                                       */  /*************************************************************************/  /*************************************************************************/  /*                                                                       */  /* <Function>                                                            */  /*    ft_alloc                                                           */  /*                                                                       */  /* <Description>                                                         */  /*    The memory allocation function.                                    */  /*                                                                       */  /* <Input>                                                               */  /*    memory :: A pointer to the memory object.                          */  /*                                                                       */  /*    size   :: The requested size in bytes.                             */  /*                                                                       */  /* <Return>                                                              */  /*    The address of newly allocated block.                              */  /*                                                                       */  FT_CALLBACK_DEF( void* )  ft_alloc( FT_Memory  memory,            long       size )  {    FT_UNUSED( memory );    return malloc( size );  }  /*************************************************************************/  /*                                                                       */  /* <Function>                                                            */  /*    ft_realloc                                                         */  /*                                                                       */  /* <Description>                                                         */  /*    The memory reallocation function.                                  */  /*                                                                       */  /* <Input>                                                               */  /*    memory   :: A pointer to the memory object.                        */  /*                                                                       */  /*    cur_size :: The current size of the allocated memory block.        */  /*                                                                       */  /*    new_size :: The newly requested size in bytes.                     */  /*                                                                       */  /*    block    :: The current address of the block in memory.            */  /*                                                                       */  /* <Return>                                                              */  /*    The address of the reallocated memory block.                       */  /*                                                                       */  FT_CALLBACK_DEF( void* )  ft_realloc( FT_Memory  memory,              long       cur_size,              long       new_size,              void*      block )  {    FT_UNUSED( memory );    FT_UNUSED( cur_size );    return realloc( block, new_size );  }  /*************************************************************************/  /*                                                                       */  /* <Function>                                                            */  /*    ft_free                                                            */  /*                                                                       */  /* <Description>                                                         */  /*    The memory release function.                                       */  /*                                                                       */  /* <Input>                                                               */  /*    memory  :: A pointer to the memory object.                         */  /*                                                                       */  /*    block   :: The address of block in memory to be freed.             */  /*                                                                       */  FT_CALLBACK_DEF( void )  ft_free( FT_Memory  memory,           void*      block )  {    FT_UNUSED( memory );    free( block );  }  /*************************************************************************/  /*                                                                       */  /*                     RESOURCE MANAGEMENT INTERFACE                     */  /*                                                                       */  /*************************************************************************/  /*************************************************************************/  /*                                                                       */  /* The macro FT_COMPONENT is used in trace mode.  It is an implicit      */  /* parameter of the FT_TRACE() and FT_ERROR() macros, used to print/log  */  /* messages during execution.                                            */  /*                                                                       */#undef  FT_COMPONENT#define FT_COMPONENT  trace_io  /* We use the macro STREAM_FILE for convenience to extract the       */  /* system-specific stream handle from a given FreeType stream object */#define STREAM_FILE( stream )  ( (FILE*)stream->descriptor.pointer )  /*************************************************************************/  /*                                                                       */  /* <Function>                                                            */  /*    ft_ansi_stream_close                                               */  /*                                                                       */  /* <Description>                                                         */  /*    The function to close a stream.                                    */  /*                                                                       */  /* <Input>                                                               */  /*    stream :: A pointer to the stream object.                          */  /*                                                                       */  FT_CALLBACK_DEF( void )  ft_ansi_stream_close( FT_Stream  stream )  {    fclose( STREAM_FILE( stream ) );    stream->descriptor.pointer = NULL;    stream->size               = 0;    stream->base               = 0;  }  /*************************************************************************/  /*                                                                       */  /* <Function>                                                            */  /*    ft_ansi_stream_io                                                  */  /*                                                                       */  /* <Description>                                                         */  /*    The function to open a stream.                                     */  /*                                                                       */  /* <Input>                                                               */  /*    stream :: A pointer to the stream object.                          */  /*                                                                       */  /*    offset :: The position in the data stream to start reading.        */  /*                                                                       */  /*    buffer :: The address of buffer to store the read data.            */  /*                                                                       */  /*    count  :: The number of bytes to read from the stream.             */  /*                                                                       */  /* <Return>                                                              */  /*    The number of bytes actually read.                                 */  /*                                                                       */  FT_CALLBACK_DEF( unsigned long )  ft_ansi_stream_io( FT_Stream       stream,                     unsigned long   offset,                     unsigned char*  buffer,                     unsigned long   count )  {    FILE*  file;    file = STREAM_FILE( stream );    fseek( file, offset, SEEK_SET );    return (unsigned long)fread( buffer, 1, count, file );  }  /* documentation is in ftobjs.h */  FT_EXPORT_DEF( FT_Error )  FT_Stream_Open( FT_Stream    stream,                  const char*  filepathname )  {    FILE*  file;    if ( !stream )      return FT_Err_Invalid_Stream_Handle;    file = fopen( filepathname, "rb" );    if ( !file )    {      FT_ERROR(( "FT_Stream_Open:" ));      FT_ERROR(( " could not open `%s'\n", filepathname ));      return FT_Err_Cannot_Open_Resource;    }    fseek( file, 0, SEEK_END );    stream->size = ftell( file );    fseek( file, 0, SEEK_SET );    stream->descriptor.pointer = file;    stream->pathname.pointer   = (char*)filepathname;    stream->pos                = 0;    stream->read  = ft_ansi_stream_io;    stream->close = ft_ansi_stream_close;    FT_TRACE1(( "FT_Stream_Open:" ));    FT_TRACE1(( " opened `%s' (%d bytes) successfully\n",                filepathname, stream->size ));    return FT_Err_Ok;  }#ifdef FT_DEBUG_MEMORY  extern FT_Int  ft_mem_debug_init( FT_Memory  memory );  extern void  ft_mem_debug_done( FT_Memory  memory );#endif  /* documentation is in ftobjs.h */  FT_EXPORT_DEF( FT_Memory )  FT_New_Memory( void )  {    FT_Memory  memory;    memory = (FT_Memory)malloc( sizeof ( *memory ) );    if ( memory )    {      memory->user    = 0;      memory->alloc   = ft_alloc;      memory->realloc = ft_realloc;      memory->free    = ft_free;#ifdef FT_DEBUG_MEMORY      ft_mem_debug_init( memory );#endif    }    return memory;  }  /* documentation is in ftobjs.h */  FT_EXPORT_DEF( void )  FT_Done_Memory( FT_Memory  memory )  {#ifdef FT_DEBUG_MEMORY    ft_mem_debug_done( memory );#endif    memory->free( memory, memory );  }/* END */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色婷婷亚洲一区二区三区| 亚洲男人的天堂在线观看| 欧美日韩一区二区电影| 91亚洲精品久久久蜜桃| av不卡免费在线观看| 成人黄色综合网站| 成人黄色a**站在线观看| 国产精品99久久久久久有的能看| 美女被吸乳得到大胸91| 日本成人在线不卡视频| 免费视频最近日韩| 国产在线视频精品一区| 激情图区综合网| 国产精品中文有码| 国产成人鲁色资源国产91色综| 国产精品一区二区在线看| 国产精品综合av一区二区国产馆| 国产精品911| av亚洲精华国产精华| 色婷婷久久综合| 欧美日韩精品福利| 欧美电视剧在线看免费| 国产欧美日韩麻豆91| 国产精品毛片高清在线完整版| 亚洲天堂2016| 日韩国产高清在线| 国产精品影音先锋| 91网上在线视频| 在线免费不卡电影| 日韩午夜小视频| 国产欧美一区二区精品性色超碰| 国产精品伦理一区二区| 亚洲一区二区三区美女| 老汉av免费一区二区三区| 欧美日韩一区不卡| 日韩区在线观看| 国产精品久久久久影院亚瑟| 亚洲自拍偷拍综合| 国产一区二区不卡老阿姨| 色香蕉成人二区免费| 日韩无一区二区| 日韩一区有码在线| 国模一区二区三区白浆| 亚洲一区二区在线视频| 欧美又粗又大又爽| 中文字幕一区av| 欧美亚洲国产一区二区三区 | 成人国产在线观看| 国产精品久久久久婷婷| 色播五月激情综合网| 日本成人在线看| 亚洲婷婷综合久久一本伊一区 | 9191久久久久久久久久久| 久久精品国产一区二区| 亚洲欧洲日产国码二区| 91精品国产美女浴室洗澡无遮挡| 韩国毛片一区二区三区| 毛片av一区二区三区| 欧美日韩国产a| 国产精品99久久久久久久女警| 欧美精品一区二区三区在线播放| 日本不卡视频在线观看| 国产欧美一区二区三区沐欲| 日本中文一区二区三区| 91高清视频免费看| 国产精品久久久久久久久免费相片 | 99免费精品视频| 欧美www视频| 青青草原综合久久大伊人精品优势| 欧美日韩一区精品| 国产精品久久久久久妇女6080| 美女视频免费一区| 欧美高清精品3d| 亚洲伊人伊色伊影伊综合网| 91蜜桃传媒精品久久久一区二区| 国产精品毛片高清在线完整版| 国产精品88888| 国产欧美日本一区视频| 极品少妇一区二区三区精品视频| 日韩欧美成人一区二区| 老司机精品视频一区二区三区| 69精品人人人人| 日韩国产欧美在线观看| 欧美色图12p| 午夜婷婷国产麻豆精品| 欧美日韩三级视频| 亚洲a一区二区| 日韩免费性生活视频播放| 久久国产精品免费| 精品黑人一区二区三区久久| 国产suv精品一区二区6| ...中文天堂在线一区| 色悠悠亚洲一区二区| 亚洲国产精品久久一线不卡| 欧美精品在线观看播放| 日韩成人av影视| 久久亚洲精华国产精华液 | 国产欧美精品在线观看| 成人午夜av在线| 亚洲欧美日韩系列| 精品视频色一区| 日本 国产 欧美色综合| 国产亚洲视频系列| 色综合天天综合网天天狠天天| 亚洲男同性恋视频| 欧美一区二区三区四区高清 | 中日韩免费视频中文字幕| a级精品国产片在线观看| 亚洲午夜免费电影| 久久只精品国产| 色综合久久中文字幕综合网| 首页欧美精品中文字幕| 国产亚洲欧洲997久久综合 | 久久久精品免费网站| 91麻豆国产在线观看| 美日韩黄色大片| 国产精品国产三级国产| 欧美群妇大交群中文字幕| 国产成人三级在线观看| 亚洲一区免费观看| 国产精品天干天干在线综合| 欧美日韩国产综合一区二区三区| 国产99久久久国产精品免费看 | 国产日韩一级二级三级| 在线观看国产91| 国产米奇在线777精品观看| 亚洲综合色网站| 亚洲电影一区二区| 久久久久久久久久久电影| 欧美亚洲国产一区二区三区 | 中文在线一区二区| 3atv在线一区二区三区| 91论坛在线播放| 丁香婷婷综合激情五月色| 日韩高清不卡在线| 亚洲三级在线看| 欧美激情综合五月色丁香 | 精品国产乱码久久久久久蜜臀| 色婷婷久久久综合中文字幕| 国产69精品久久久久毛片 | 中文字幕免费在线观看视频一区| 欧美日产在线观看| 日本精品一区二区三区高清| 国产精品12区| 国产综合久久久久影院| 午夜精品久久久久久久| 夜夜夜精品看看| 亚洲欧美一区二区在线观看| 国产丝袜美腿一区二区三区| 久久久久久电影| 欧美精品一区二区精品网| 日韩一区二区三区高清免费看看| 欧美日韩高清影院| 337p亚洲精品色噜噜| 91精品欧美综合在线观看最新| 欧洲色大大久久| 精品视频一区二区三区免费| 欧美日韩国产系列| 日韩一区二区精品葵司在线| 在线综合视频播放| 日韩精品一区二区三区在线观看| 欧美一区二区三区免费视频 | 欧美在线|欧美| 欧美日韩一区二区欧美激情| 欧美群妇大交群中文字幕| 正在播放亚洲一区| 日韩欧美区一区二| 久久久美女艺术照精彩视频福利播放| 久久综合久久99| 中文字幕巨乱亚洲| 亚洲最快最全在线视频| 亚洲成人免费视| 奇米影视一区二区三区小说| 国产中文一区二区三区| proumb性欧美在线观看| 色婷婷综合在线| 欧美一区二区在线看| 国产欧美精品一区二区色综合 | 久久你懂得1024| 中文字幕国产精品一区二区| 欧美一区二区在线看| 久久久久久久久久久99999| 日韩欧美123| 欧美一区二区三区四区高清| 亚洲欧洲日本在线| 一区二区三区精品| 国产精品色噜噜| 国产精品视频观看| 国产精品一区二区男女羞羞无遮挡| 国产精品资源在线| 91性感美女视频| 日韩一区二区三区在线| 日本一区二区视频在线| 尤物视频一区二区| 另类小说图片综合网| 99国产精品国产精品久久| 5月丁香婷婷综合| 欧美激情一区二区三区四区| 午夜国产不卡在线观看视频| 国产一区二区不卡老阿姨|