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

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

?? cyg_ass.h

?? 該工程是從ecos嵌入式系統下移植過來的一個小型的fat16文件系統
?? H
?? 第 1 頁 / 共 2 頁
字號:
#ifndef CYGONCE_INFRA_CYG_ASS_H#define CYGONCE_INFRA_CYG_ASS_H//==========================================================================////      assert.h////      Macros and prototypes for the assert system////==========================================================================//####ECOSGPLCOPYRIGHTBEGIN####// -------------------------------------------// This file is part of eCos, the Embedded Configurable Operating System.// Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.//// eCos is free software; you can redistribute it and/or modify it under// the terms of the GNU General Public License as published by the Free// Software Foundation; either version 2 or (at your option) any later version.//// eCos is distributed in the hope that it will be useful, but WITHOUT ANY// WARRANTY; without even the implied warranty of MERCHANTABILITY or// FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License// for more details.//// You should have received a copy of the GNU General Public License along// with eCos; if not, write to the Free Software Foundation, Inc.,// 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.//// As a special exception, if other files instantiate templates or use macros// or inline functions from this file, or you compile this file and link it// with other works to produce a work based on this file, this file does not// by itself cause the resulting work to be covered by the GNU General Public// License. However the source code for this file must still be made available// in accordance with section (3) of the GNU General Public License.//// This exception does not invalidate any other reasons why a work based on// this file might be covered by the GNU General Public License.//// Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.// at http://sources.redhat.com/ecos/ecos-license/// -------------------------------------------//####ECOSGPLCOPYRIGHTEND####//==========================================================================//#####DESCRIPTIONBEGIN####//// Author(s):   nickg from an original by hmt// Contributors:        nickg// Date:        1997-09-08// Purpose:     Use asserts to avoid writing duff code.// Description: Runtime tests that compile to nothing in//              release versions of the code, to allow//              as-you-go testing of alternate builds.// Usage:       #include <cyg/infra/cyg_ass.h>//              ...//              CYG_ASSERT( pcount > 0, "Number of probes should be > 0!" );////      which can result, for example, in a message of the form://      ASSERT FAILED: probemgr.cxx:1340, scan_probes() ://                     number of probes should be > 0!//      if the boolean "pcount > 0" is false.////####DESCRIPTIONEND####////==========================================================================#include "cyg_type.h"         // for CYGBLD_ATTRIB_NORET// -------------------------------------------------------------------------// If we do not have a function name macro, define it ourselves#ifndef CYGDBG_INFRA_DEBUG_FUNCTION_PSEUDOMACRO                                        // __PRETTY_FUNCTION__ does not work# ifndef __PRETTY_FUNCTION__            // And it is not already defined#  define __PRETTY_FUNCTION__ NULL# endif#endif// -------------------------------------------------------------------------// This is executed to deal with failure - breakpoint it first!// It is declared as a weak symbol to allow user code to override the// definition.externC voidcyg_assert_fail( const char* /* psz_func */, const char* /* psz_file */,                 cyg_uint32 /* linenum */, const char* /* psz_msg */ )  __THROW    CYGBLD_ATTRIB_NORET CYGBLD_ATTRIB_WEAK;externC voidcyg_assert_msg( const char *psz_func, const char *psz_file,                cyg_uint32 linenum, const char *psz_msg ) __THROW;// -------------------------------------------------------------------------#ifdef CYGDBG_USE_ASSERTS// -------------------------------------------------------------------------// We define macros and appropriate prototypes for the assert/fail// system.  These are://      CYG_FAIL        - unconditional panic//      CYG_ASSERT      - panic if boolean expression is false//      CYG_ASSERTC     - compact version of CYG_ASSERT# ifdef CYGDBG_INFRA_DEBUG_ASSERT_MESSAGE#  define CYG_ASSERT_DOCALL( _msg_ )                                      \        CYG_MACRO_START                                                   \        /* Make sure we always get a pretty-printed message */            \        cyg_assert_msg( __PRETTY_FUNCTION__, __FILE__, __LINE__, _msg_ ); \        cyg_assert_fail( __PRETTY_FUNCTION__, __FILE__, __LINE__, _msg_ );\        CYG_MACRO_END# else#   define CYG_ASSERT_DOCALL( _msg_ )    \        CYG_MACRO_START                 \        const char* _tmp1_ = _msg_;     \        _tmp1_ = _tmp1_;                \        cyg_assert_fail( __PRETTY_FUNCTION__, __FILE__, __LINE__, NULL ); \        CYG_MACRO_END# endif// unconditional failure; use like panic(), coredump() &c.# define CYG_FAIL( _msg_ )              \        CYG_MACRO_START                 \        CYG_ASSERT_DOCALL( _msg_ );      \        CYG_MACRO_END// conditioned assert; if the condition is false, fail.# define CYG_ASSERT( _bool_, _msg_ )    \        CYG_MACRO_START                 \        if ( ! ( _bool_ ) )             \            CYG_ASSERT_DOCALL( _msg_ );  \        CYG_MACRO_END# define CYG_ASSERTC( _bool_ )          \       CYG_MACRO_START                  \       if ( ! ( _bool_ ) )              \           CYG_ASSERT_DOCALL( #_bool_ );\       CYG_MACRO_END#else // ! CYGDBG_USE_ASSERTS// -------------------------------------------------------------------------// No asserts: we define empty statements for assert & fail.# define CYG_FAIL( _msg_ )           CYG_EMPTY_STATEMENT# define CYG_ASSERT( _bool_, _msg_ ) CYG_EMPTY_STATEMENT# define CYG_ASSERTC( _bool_ )       CYG_EMPTY_STATEMENT#endif // ! CYGDBG_USE_ASSERTS// -------------------------------------------------------------------------// Pointer integrity checks.// These check not only for NULL pointer, but can also check for pointers// that are outside to defined memory areas of the platform or executable.// We differentiate between data and function pointers, so that we can cope// with different formats, and so we can check them against different memory// regions.externC cyg_bool cyg_check_data_ptr(const void *ptr);externC cyg_bool cyg_check_func_ptr(const void (*ptr)(void));#ifdef CYGDBG_USE_ASSERTS# define CYG_CHECK_DATA_PTR( _ptr_, _msg_ )             \        CYG_MACRO_START                                 \        if( !cyg_check_data_ptr((const void *)(_ptr_)))       \           CYG_ASSERT_DOCALL( _msg_ );                   \        CYG_MACRO_END# define CYG_CHECK_FUNC_PTR( _ptr_, _msg_ )             \        CYG_MACRO_START                                 \        if( !cyg_check_func_ptr((const void (*)(void))(_ptr_))) \           CYG_ASSERT_DOCALL( _msg_ );                   \        CYG_MACRO_END        # define CYG_CHECK_DATA_PTRC( _ptr_ )                   \         CYG_MACRO_START                                \         if ( !cyg_check_data_ptr((const void *)(_ptr_)))     \             CYG_ASSERT_DOCALL("data pointer (" #_ptr_ ") is valid");\         CYG_MACRO_END# define CYG_CHECK_FUNC_PTRC( _ptr_ )                       \         CYG_MACRO_START                                    \         if ( !cyg_check_func_ptr((const void (*)(void))(_ptr_))) \             CYG_ASSERT_DOCALL("function pointer (" #_ptr_ ") is valid"); \         CYG_MACRO_END#else // CYGDBG_USE_ASSERTS# define CYG_CHECK_DATA_PTR( _ptr_, _msg_ ) CYG_EMPTY_STATEMENT# define CYG_CHECK_FUNC_PTR( _ptr_, _msg_ ) CYG_EMPTY_STATEMENT# define CYG_CHECK_DATA_PTRC( _ptr_ )       CYG_EMPTY_STATEMENT# define CYG_CHECK_FUNC_PTRC( _ptr_ )       CYG_EMPTY_STATEMENT#endif // CYGDBG_USE_ASSERTS            // -------------------------------------------------------------------------// Unconditional definitions:// Check an object for validity by calling its own checker.// Usage://   ClassThing *p = &classobject;//   CYG_ASSERTCLASS( p, "Object at p is broken!" );// this enum gives some options as to how keenly to test; avoids cluttering// the member function declaration if the implementor wants to do more// zealous tests themselves.enum cyg_assert_class_zeal {  cyg_system_test       = -1,  cyg_none              = 0,  cyg_trivial,  cyg_quick,  cyg_thorough,  cyg_extreme};// -------------------------------------------------------------------------// Define macros for checking classes:////      CYG_ASSERT_CLASS        - do proforma check on a class pointer//      CYG_ASSERT_CLASSO       - do proforma check on a class object//      CYG_ASSERT_ZERO_OR_CLASS- a class pointer is NULL or valid//      CYG_ASSERT_THIS         - "this" is valid//      + 3 compact variants and two aliases for backwards compatibility.//// All of these end up going via CYG_ASSERT(), which will be an empty// statement if CYGDBG_USE_ASSERTS is disabled. There is no need to// test CYGDBG_USE_ASSERTS again here.//// The idiom required is that a class have a member function called// "bool check_this( cyg_assert_class_zeal ) const" that returns true// iff the object is OK.  This need not be conditionally compiled against// CYGDBG_USE_ASSERTS but it can be if only this macro is used to// invoke it.  Alternatively it can be invoked by hand with other// choices from the above enum.// Assert the checker function of an object by pointer, or in hand.#ifdef __cplusplus# ifndef CYG_ASSERT_CLASS_ZEAL#  define CYG_ASSERT_CLASS_ZEAL (cyg_quick) // can be redefined locally# endif# define CYG_ASSERT_CLASS( _pobj_, _msg_ ) \    CYG_ASSERT( ((0 != (_pobj_)) &&        \                 (_pobj_)->check_this( CYG_ASSERT_CLASS_ZEAL )), _msg_ )# define CYG_ASSERTCLASS( _pobj_,_msg_) \    CYG_ASSERT_CLASS( (_pobj_), _msg_ )# define CYG_ASSERT_CLASSO( _obj_, _msg_ ) \    CYG_ASSERT( (_obj_).check_this( CYG_ASSERT_CLASS_ZEAL ), _msg_ )# define CYG_ASSERTCLASSO( _obj_, _msg_ ) \    CYG_ASSERT_CLASSO( (_obj_), _msg_ )# define CYG_ASSERT_ZERO_OR_CLASS( _pobj_, _msg_ ) \    CYG_ASSERT( ((0 == (_pobj_)) ||                \                 (_pobj_)->check_this( CYG_ASSERT_CLASS_ZEAL )), _msg_ )# define CYG_ASSERT_THIS( _msg_ ) \    CYG_ASSERT( this->check_this( CYG_ASSERT_CLASS_ZEAL ), _msg_ )# define CYG_ASSERT_CLASSC( _pobj_ ) \    CYG_ASSERT_CLASS( (_pobj_), "class pointer (" #_pobj_ ") is valid" )# define CYG_ASSERT_CLASSOC( _obj_ ) \    CYG_ASSERT_CLASSO( (_obj_), "object (" #_obj_ ") is valid" )# define CYG_ASSERT_ZERO_OR_CLASSC( _pobj_ ) \    CYG_ASSERT_ZERO_OR_CLASS((_pobj_),       \        "class pointer (" #_pobj_ ") is zero or valid")# define CYG_ASSERT_THISC( ) \    CYG_ASSERT_THIS( "\"this\" pointer is valid" )    #define CYGDBG_DEFINE_CHECK_THIS \    cyg_bool check_this( cyg_assert_class_zeal zeal ) const;#endif // __cplusplus// -------------------------------------------------------------------------// Some alternative names for basic assertions that we can disable// individually.////      CYG_PRECONDITION        - argument checking etc//      CYG_POSTCONDITION       - results etc//      CYG_LOOP_INVARIANT      - for putting in loops//// C++ programmers have class-related variants of all of these.#ifdef CYGDBG_INFRA_DEBUG_PRECONDITIONS# define CYG_PRECONDITION( _bool_ , _msg_ ) CYG_ASSERT( _bool_, _msg_ )# define CYG_PRECONDITIONC( _bool_ ) \    CYG_ASSERT( _bool_, "precondition " #_bool_)#else# define CYG_PRECONDITION( _bool_ , _msg_ ) CYG_EMPTY_STATEMENT# define CYG_PRECONDITIONC( _bool_ )        CYG_EMPTY_STATEMENT#endif#ifdef CYGDBG_INFRA_DEBUG_POSTCONDITIONS# define CYG_POSTCONDITION( _bool_ , _msg_ ) CYG_ASSERT( _bool_, _msg_ )# define CYG_POSTCONDITIONC( _bool_ ) \    CYG_ASSERT( _bool_, "postcondition " #_bool_)#else# define CYG_POSTCONDITION( _bool_ , _msg_ ) CYG_EMPTY_STATEMENT# define CYG_POSTCONDITIONC( _bool_ )        CYG_EMPTY_STATEMENT#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91精品福利在线一区二区三区| 国产精品网曝门| 国产午夜精品一区二区三区嫩草 | 欧美va天堂va视频va在线| 欧美激情一区二区三区四区| 亚洲午夜私人影院| av男人天堂一区| 久久久99精品久久| 美女视频黄a大片欧美| 欧美影院午夜播放| 亚洲人成影院在线观看| 国产又粗又猛又爽又黄91精品| 黄一区二区三区| 日本午夜精品一区二区三区电影| 国产乱码字幕精品高清av | 国产91精品一区二区麻豆亚洲| 欧美日韩色一区| 亚洲伦在线观看| 成人影视亚洲图片在线| 精品粉嫩aⅴ一区二区三区四区| 亚洲午夜av在线| 欧美性受极品xxxx喷水| 亚洲视频1区2区| 91麻豆免费看片| 亚洲色图一区二区| 色综合一个色综合亚洲| 国产精品美女久久久久久久网站| 国产精品夜夜嗨| 久久久美女毛片| 国产乱码精品一品二品| 久久天天做天天爱综合色| 国产综合色在线视频区| 精品国精品国产| 国产精品1区2区3区| 中文字幕精品一区二区精品绿巨人| 国产在线精品免费| 中文字幕成人网| 91视频xxxx| 亚洲国产欧美在线| 日韩亚洲欧美成人一区| 久久电影国产免费久久电影| 精品国产乱子伦一区| 国产中文一区二区三区| 欧美国产日韩一二三区| eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 91精品在线一区二区| 日本欧美在线观看| 久久精品亚洲国产奇米99| 国产成人综合网| 亚洲视频免费观看| 欧美日韩夫妻久久| 黄页视频在线91| 亚洲美女在线国产| 91.麻豆视频| 国产盗摄一区二区三区| 一区二区三区在线高清| 7777精品伊人久久久大香线蕉完整版 | 久久精品国产99国产| 国产欧美视频在线观看| 91在线一区二区三区| 日韩影院精彩在线| 国产欧美日本一区视频| 91日韩在线专区| 蜜桃一区二区三区四区| 亚洲欧洲精品一区二区三区| 欧美人xxxx| 粗大黑人巨茎大战欧美成人| 亚洲成人激情自拍| 日本一区二区三区久久久久久久久不| 日本高清成人免费播放| 美女一区二区在线观看| 亚洲欧美日韩小说| 2020国产精品久久精品美国| 91免费在线看| 国产精品正在播放| 日一区二区三区| 亚洲视频免费看| 精品久久久久久久久久久院品网 | 国内精品伊人久久久久av一坑| 亚洲视频综合在线| 久久综合五月天婷婷伊人| 在线免费观看日韩欧美| 高潮精品一区videoshd| 久久精品国产精品青草| 亚洲一卡二卡三卡四卡五卡| 国产精品久久久久久亚洲伦| 日韩一区二区精品葵司在线| 一本一道综合狠狠老| 国产黄人亚洲片| 免费av网站大全久久| 亚洲午夜激情av| 伊人性伊人情综合网| 国产片一区二区三区| 欧美成人在线直播| 91精品国产91热久久久做人人| 色婷婷精品大视频在线蜜桃视频 | 欧美伊人精品成人久久综合97| 国产成人av福利| 韩国在线一区二区| 麻豆成人av在线| 美国一区二区三区在线播放| 视频一区视频二区中文| 亚洲一区二区三区在线看| 亚洲欧美日韩在线不卡| 亚洲欧美日韩成人高清在线一区| 久久久精品中文字幕麻豆发布| 日韩亚洲欧美在线| 日韩欧美久久一区| 欧美一区二区精品在线| 337p亚洲精品色噜噜噜| 3atv在线一区二区三区| 在线成人午夜影院| 欧美一区二区三区在线视频| 91精品婷婷国产综合久久| 欧美精品在线观看一区二区| 欧美精品123区| 日韩一区二区电影网| 日韩欧美高清在线| 欧美精品一区二区高清在线观看| 日韩精品在线看片z| 久久综合给合久久狠狠狠97色69| 欧美大白屁股肥臀xxxxxx| 26uuu亚洲综合色欧美| 久久精品夜色噜噜亚洲a∨| 欧美激情在线一区二区三区| 国产精品国产a| 亚洲综合区在线| 日韩影视精彩在线| 国产乱子伦视频一区二区三区 | 理论电影国产精品| 国产一区视频网站| av中文字幕不卡| 欧美午夜电影网| 欧美电影免费观看高清完整版在 | 99视频一区二区三区| 91丨九色丨黑人外教| 欧美三日本三级三级在线播放| 欧美精品三级在线观看| xnxx国产精品| ●精品国产综合乱码久久久久| 一区二区三区成人在线视频| 日韩精品五月天| 国产91高潮流白浆在线麻豆| 欧美专区在线观看一区| 日韩美女视频在线| 中文字幕在线不卡一区二区三区| 亚洲国产一区视频| 国产麻豆成人精品| 精品视频免费看| 国产日韩欧美在线一区| 亚洲一区二区美女| 国产伦精品一区二区三区免费| 色偷偷一区二区三区| 精品黑人一区二区三区久久| 综合欧美亚洲日本| 美洲天堂一区二卡三卡四卡视频| 成人动漫av在线| 欧美精品99久久久**| 国产精品国产三级国产普通话蜜臀| 日日夜夜精品视频免费| 成人的网站免费观看| 日韩欧美国产一二三区| 亚洲欧美日韩系列| 国产suv精品一区二区6| 欧美精品免费视频| 亚洲免费观看在线观看| 国产一区二区三区在线观看精品| 欧美最猛性xxxxx直播| 国产精品每日更新| 久草精品在线观看| 欧美日韩国产经典色站一区二区三区| 国产亚洲视频系列| 老司机免费视频一区二区| 在线观看国产91| 1024成人网色www| 国产不卡免费视频| 久久久综合九色合综国产精品| 性久久久久久久| 色av成人天堂桃色av| 日本一区二区久久| 国产精品综合久久| 日韩美女在线视频| 免费成人深夜小野草| 欧美日韩高清一区二区不卡| 亚洲精品日韩专区silk| 成人高清视频在线观看| 久久久www成人免费无遮挡大片| 免费不卡在线视频| 欧美一级在线视频| 视频一区欧美日韩| 3d成人h动漫网站入口| 偷拍亚洲欧洲综合| 91.com在线观看| 日韩专区在线视频| 欧美高清你懂得| 奇米精品一区二区三区在线观看一| 欧美日韩精品一区二区三区| 亚洲影院在线观看| 欧美日韩一区三区| 日韩国产精品久久久久久亚洲|