osprey/be/cg/gcov-io.h File Reference

#include "mempool.h"
#include <stdio.h>
#include <sys/types.h>

Include dependency graph for gcov-io.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define GCOV_GRAPH_SUFFIX   ".bbg"
#define PARAMS(P)   P
#define ATTRIBUTE_UNUSED

Typedefs

typedef long long gcov_type

Functions/Subroutines

static int __fetch_long PARAMS ((long *, char *, size_t)) ATTRIBUTE_UNUSED
static int __read_long PARAMS ((long *, FILE *, size_t)) ATTRIBUTE_UNUSED
static int __write_long PARAMS ((long, FILE *, size_t)) ATTRIBUTE_UNUSED
static int __fetch_gcov_type PARAMS ((gcov_type *, char *, size_t)) ATTRIBUTE_UNUSED
static int __store_gcov_type PARAMS ((gcov_type, char *, size_t)) ATTRIBUTE_UNUSED
static int __read_gcov_type PARAMS ((gcov_type *, FILE *, size_t)) ATTRIBUTE_UNUSED
static int __write_gcov_type PARAMS ((gcov_type, FILE *, size_t)) ATTRIBUTE_UNUSED
static int __write_gcov_string PARAMS ((const char *, size_t, FILE *, long)) ATTRIBUTE_UNUSED
static int __read_gcov_string PARAMS ((char *, size_t, FILE *, long)) ATTRIBUTE_UNUSED
static int __store_gcov_type (gcov_type value, char *dest, size_t bytes)
static int __fetch_gcov_type (gcov_type *dest, char *source, size_t bytes)
static int __fetch_long (long *dest, char *source, size_t bytes)
static int __write_gcov_type (gcov_type value, FILE *file, size_t bytes)
static int __write_long (long value, FILE *file, size_t bytes)
static int __read_gcov_type (gcov_type *dest, FILE *file, size_t bytes)
static int __read_long (long *dest, FILE *file, size_t bytes)
static int __write_gcov_string (const char *string, size_t length, FILE *file, long delim)
static int __read_gcov_string (char *string, size_t max_length, FILE *file, long delim)

Variables

MEM_POOLname_pool_ptr


Define Documentation

static const CGEN_IFMT ifmt_decgr ATTRIBUTE_UNUSED [read]

#define GCOV_GRAPH_SUFFIX   ".bbg"

Definition at line 162 of file gcov-io.h.

Referenced by CG_Init_Gcov().

#define PARAMS ( P   )     P


Typedef Documentation

typedef long long gcov_type

Definition at line 597 of file gcov-io.h.


Function Documentation

static int __fetch_gcov_type ( gcov_type dest,
char *  source,
size_t  bytes 
) [static]

Definition at line 658 of file gcov-io.h.

References size_t.

Referenced by __read_gcov_type().

static int __fetch_long ( long dest,
char *  source,
size_t  bytes 
) [static]

Definition at line 682 of file gcov-io.h.

References size_t.

Referenced by __read_long(), init_line_info(), and scan_for_source_files().

static int __read_gcov_string ( char *  string,
size_t  max_length,
FILE file,
long  delim 
) [static]

Definition at line 826 of file gcov-io.h.

References __read_long(), fread, fseek, SEEK_CUR, and tmp.

Referenced by get_exec_counts(), and read_profile().

static int __read_gcov_type ( gcov_type dest,
FILE file,
size_t  bytes 
) [static]

Definition at line 754 of file gcov-io.h.

References __fetch_gcov_type(), c, and fread.

Referenced by get_exec_counts(), and read_profile().

static int __read_long ( long dest,
FILE file,
size_t  bytes 
) [static]

Definition at line 768 of file gcov-io.h.

References __fetch_long(), c, and fread.

Referenced by __read_gcov_string(), create_program_flow_graph(), get_exec_counts(), and read_profile().

static int __store_gcov_type ( gcov_type  value,
char *  dest,
size_t  bytes 
) [static]

Definition at line 623 of file gcov-io.h.

Referenced by __write_gcov_type(), and __write_long().

static int __write_gcov_string ( const char *  string,
size_t  length,
FILE file,
long  delim 
) [static]

Definition at line 785 of file gcov-io.h.

References __write_long(), c, and fwrite.

Referenced by branch_prob(), and CG_Gcov_Generation().

static int __write_gcov_type ( gcov_type  value,
FILE file,
size_t  bytes 
) [static]

Definition at line 715 of file gcov-io.h.

References __store_gcov_type(), c, and fwrite.

static int __write_long ( long  value,
FILE file,
size_t  bytes 
) [static]

Definition at line 729 of file gcov-io.h.

References __store_gcov_type(), c, and fwrite.

Referenced by __write_gcov_string(), branch_prob(), CG_Gcov_Generation(), and output_gcov_string().

static int __read_gcov_string PARAMS ( (char *, size_t, FILE *, long  )  [static]

static int __write_gcov_string PARAMS ( (const char *, size_t, FILE *, long  )  [static]

static int __write_gcov_type PARAMS ( (gcov_type, FILE *, size_t  )  [static]

static int __read_gcov_type PARAMS ( (gcov_type *, FILE *, size_t  )  [static]

static int __store_gcov_type PARAMS ( (gcov_type, char *, size_t  )  [static]

static int __fetch_gcov_type PARAMS ( (gcov_type *, char *, size_t  )  [static]

static int __write_long PARAMS ( (long, FILE *, size_t  )  [static]

static int __read_long PARAMS ( (long *, FILE *, size_t  )  [static]

static int __fetch_long PARAMS ( (long *, char *, size_t  )  [static]


Variable Documentation

Definition at line 72 of file cg_gcov.cxx.


Generated on Wed Apr 8 14:26:07 2009 for Open64 by  doxygen 1.5.6