⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fcov.h

📁 au1200 linux2.6.11 硬件解码mae驱动和maiplayer播放器源码
💻 H
字号:
/* <LIC_AMD_STD> * Copyright (C) 2003-2005 Advanced Micro Devices, Inc.  All Rights Reserved. *  * Unless otherwise designated in writing, this software and any related  * documentation are the confidential proprietary information of AMD.  * THESE MATERIALS ARE PROVIDED "AS IS" WITHOUT ANY * UNLESS OTHERWISE NOTED IN WRITING, EXPRESS OR IMPLIED WARRANTY OF ANY  * KIND, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY,  * NONINFRINGEMENT, TITLE, FITNESS FOR ANY PARTICULAR PURPOSE AND IN NO  * EVENT SHALL AMD OR ITS LICENSORS BE LIABLE FOR ANY DAMAGES WHATSOEVER.  *  * AMD does not assume any responsibility for any errors which may appear  * in the Materials nor any responsibility to support or update the * Materials.  AMD retains the right to modify the Materials at any time,  * without notice, and is not obligated to provide such modified  * Materials to you. AMD is not obligated to furnish, support, or make * any further information available to you. * </LIC_AMD_STD>  *//* <CTL_AMD_STD> * </CTL_AMD_STD>  *//* <DOC_AMD_STD> * </DOC_AMD_STD>  */#ifndef __fcov_h__#define __fcov_h__#ifndef HAVE_MAE#define fcov_coverage_point_hit(x)#else#include <glib.h>#define FCOV_NOP                       0#define FCOV_EQUAL_TO                  1#define FCOV_NOT_EQUAL_TO              2#define FCOV_GREATER_THAN              3#define FCOV_GREATER_THAN_OR_EQUAL     4#define FCOV_LESS_THAN                 5#define FCOV_LESS_THAN_OR_EQUAL        6typedef struct {  int   type;  int   value;  void* next_check;} fcov_check;typedef struct {  char*         key;  unsigned int  count;  fcov_check*   fcov_checks;} fcov_data; void fcov_init_hash();void fcov_coverage_point_hit(char* coverage_point);void fcov_print_coverage(gpointer key, gpointer value, gpointer user_data);void fcov_fprint_coverage(gpointer key, gpointer value, gpointer user_data);void fcov_print_all_coverage();void fcov_write_coverage_file();void fcov_add_coverage_check(char* coverage_point, int type, int value);void fcov_check_coverage_point(fcov_data* fdata,int type,int expected, int exit_on_error);void fcov_check_all_coverage_points_for_cov_point(gpointer key, gpointer value, gpointer user_data);void fcov_check_all_coverage_points();void fcov_add_coverage_check_task();void fcov_coverage_point_hit_task();#endif#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -