diff options
Diffstat (limited to 'rep/usr/include/c++/4.3/new.gcov.html')
| -rw-r--r-- | rep/usr/include/c++/4.3/new.gcov.html | 183 |
1 files changed, 0 insertions, 183 deletions
diff --git a/rep/usr/include/c++/4.3/new.gcov.html b/rep/usr/include/c++/4.3/new.gcov.html deleted file mode 100644 index 991b58e..0000000 --- a/rep/usr/include/c++/4.3/new.gcov.html +++ /dev/null @@ -1,183 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> - -<html lang="en"> - -<head> - <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> - <title>LCOV - lcov.info - /usr/include/c++/4.3/new</title> - <link rel="stylesheet" type="text/css" href="../../../../gcov.css"> -</head> - -<body> - - <table width="100%" border=0 cellspacing=0 cellpadding=0> - <tr><td class="title">LTP GCOV extension - code coverage report</td></tr> - <tr><td class="ruler"><img src="../../../../glass.png" width=3 height=3 alt=""></td></tr> - - <tr> - <td width="100%"> - <table cellpadding=1 border=0 width="100%"> - <tr> - <td class="headerItem" width="20%">Current view:</td> - <td class="headerValue" width="80%" colspan=4><a href="../../../../index.html">directory</a> - <a href="index.html">usr/include/c++/4.3</a> - new</td> - </tr> - <tr> - <td class="headerItem" width="20%">Test:</td> - <td class="headerValue" width="80%" colspan=4>lcov.info</td> - </tr> - <tr> - <td class="headerItem" width="20%">Date:</td> - <td class="headerValue" width="20%">2008-08-14</td> - <td width="20%"></td> - <td class="headerItem" width="20%">Instrumented lines:</td> - <td class="headerValue" width="20%">2</td> - </tr> - <tr> - <td class="headerItem" width="20%">Code covered:</td> - <td class="headerValue" width="20%">50.0 %</td> - <td width="20%"></td> - <td class="headerItem" width="20%">Executed lines:</td> - <td class="headerValue" width="20%">1</td> - </tr> - </table> - </td> - </tr> - <tr><td class="ruler"><img src="../../../../glass.png" width=3 height=3 alt=""></td></tr> - </table> - - <table cellpadding=0 cellspacing=0 border=0> - <tr> - <td><br></td> - </tr> - <tr> - <td><pre class="source"> -<span class="lineNum"> 1 </span> : // The -*- C++ -*- dynamic memory management header. -<span class="lineNum"> 2 </span> : -<span class="lineNum"> 3 </span> : // Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, -<span class="lineNum"> 4 </span> : // 2003, 2004, 2005, 2006, 2007 -<span class="lineNum"> 5 </span> : // Free Software Foundation -<span class="lineNum"> 6 </span> : -<span class="lineNum"> 7 </span> : // This file is part of GCC. -<span class="lineNum"> 8 </span> : // -<span class="lineNum"> 9 </span> : // GCC is free software; you can redistribute it and/or modify -<span class="lineNum"> 10 </span> : // it under the terms of the GNU General Public License as published by -<span class="lineNum"> 11 </span> : // the Free Software Foundation; either version 2, or (at your option) -<span class="lineNum"> 12 </span> : // any later version. -<span class="lineNum"> 13 </span> : // -<span class="lineNum"> 14 </span> : // GCC is distributed in the hope that it will be useful, -<span class="lineNum"> 15 </span> : // but WITHOUT ANY WARRANTY; without even the implied warranty of -<span class="lineNum"> 16 </span> : // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -<span class="lineNum"> 17 </span> : // GNU General Public License for more details. -<span class="lineNum"> 18 </span> : // -<span class="lineNum"> 19 </span> : // You should have received a copy of the GNU General Public License -<span class="lineNum"> 20 </span> : // along with GCC; see the file COPYING. If not, write to -<span class="lineNum"> 21 </span> : // the Free Software Foundation, 51 Franklin Street, Fifth Floor, -<span class="lineNum"> 22 </span> : // Boston, MA 02110-1301, USA. -<span class="lineNum"> 23 </span> : -<span class="lineNum"> 24 </span> : // As a special exception, you may use this file as part of a free software -<span class="lineNum"> 25 </span> : // library without restriction. Specifically, if other files instantiate -<span class="lineNum"> 26 </span> : // templates or use macros or inline functions from this file, or you compile -<span class="lineNum"> 27 </span> : // this file and link it with other files to produce an executable, this -<span class="lineNum"> 28 </span> : // file does not by itself cause the resulting executable to be covered by -<span class="lineNum"> 29 </span> : // the GNU General Public License. This exception does not however -<span class="lineNum"> 30 </span> : // invalidate any other reasons why the executable file might be covered by -<span class="lineNum"> 31 </span> : // the GNU General Public License. -<span class="lineNum"> 32 </span> : -<span class="lineNum"> 33 </span> : /** @file new -<span class="lineNum"> 34 </span> : * This is a Standard C++ Library header. -<span class="lineNum"> 35 </span> : * -<span class="lineNum"> 36 </span> : * The header @c new defines several functions to manage dynamic memory and -<span class="lineNum"> 37 </span> : * handling memory allocation errors; see -<span class="lineNum"> 38 </span> : * http://gcc.gnu.org/onlinedocs/libstdc++/18_support/howto.html#4 for more. -<span class="lineNum"> 39 </span> : */ -<span class="lineNum"> 40 </span> : -<span class="lineNum"> 41 </span> : #ifndef _NEW -<span class="lineNum"> 42 </span> : #define _NEW -<span class="lineNum"> 43 </span> : -<span class="lineNum"> 44 </span> : #include <cstddef> -<span class="lineNum"> 45 </span> : #include <exception> -<span class="lineNum"> 46 </span> : -<span class="lineNum"> 47 </span> : #pragma GCC visibility push(default) -<span class="lineNum"> 48 </span> : -<span class="lineNum"> 49 </span> : extern "C++" { -<span class="lineNum"> 50 </span> : -<span class="lineNum"> 51 </span> : namespace std -<span class="lineNum"> 52 </span> : { -<span class="lineNum"> 53 </span> : /** -<span class="lineNum"> 54 </span> : * @brief Exception possibly thrown by @c new. -<span class="lineNum"> 55 </span> : * -<span class="lineNum"> 56 </span> : * @c bad_alloc (or classes derived from it) is used to report allocation -<span class="lineNum"> 57 </span> : * errors from the throwing forms of @c new. */ -<span class="lineNum"> 58 </span> : class bad_alloc : public exception -<span class="lineNum"> 59 </span> : { -<span class="lineNum"> 60 </span> : public: -<span class="lineNum"> 61 </span> : bad_alloc() throw() { } -<span class="lineNum"> 62 </span> : -<span class="lineNum"> 63 </span> : // This declaration is not useless: -<span class="lineNum"> 64 </span> : // http://gcc.gnu.org/onlinedocs/gcc-3.0.2/gcc_6.html#SEC118 -<span class="lineNum"> 65 </span> : virtual ~bad_alloc() throw(); -<span class="lineNum"> 66 </span> : -<span class="lineNum"> 67 </span> : // See comment in eh_exception.cc. -<span class="lineNum"> 68 </span> : virtual const char* what() const throw(); -<span class="lineNum"> 69 </span> : }; -<span class="lineNum"> 70 </span> : -<span class="lineNum"> 71 </span> : struct nothrow_t { }; -<span class="lineNum"> 72 </span> : -<span class="lineNum"> 73 </span> : extern const nothrow_t nothrow; -<span class="lineNum"> 74 </span> : -<span class="lineNum"> 75 </span> : /** If you write your own error handler to be called by @c new, it must -<span class="lineNum"> 76 </span> : * be of this type. */ -<span class="lineNum"> 77 </span> : typedef void (*new_handler)(); -<span class="lineNum"> 78 </span> : -<span class="lineNum"> 79 </span> : /// Takes a replacement handler as the argument, returns the -<span class="lineNum"> 80 </span> : /// previous handler. -<span class="lineNum"> 81 </span> : new_handler set_new_handler(new_handler) throw(); -<span class="lineNum"> 82 </span> : } // namespace std -<span class="lineNum"> 83 </span> : -<span class="lineNum"> 84 </span> : //@{ -<span class="lineNum"> 85 </span> : /** These are replaceable signatures: -<span class="lineNum"> 86 </span> : * - normal single new and delete (no arguments, throw @c bad_alloc on error) -<span class="lineNum"> 87 </span> : * - normal array new and delete (same) -<span class="lineNum"> 88 </span> : * - @c nothrow single new and delete (take a @c nothrow argument, return -<span class="lineNum"> 89 </span> : * @c NULL on error) -<span class="lineNum"> 90 </span> : * - @c nothrow array new and delete (same) -<span class="lineNum"> 91 </span> : * -<span class="lineNum"> 92 </span> : * Placement new and delete signatures (take a memory address argument, -<span class="lineNum"> 93 </span> : * does nothing) may not be replaced by a user's program. -<span class="lineNum"> 94 </span> : */ -<span class="lineNum"> 95 </span> : void* operator new(std::size_t) throw (std::bad_alloc); -<span class="lineNum"> 96 </span> : void* operator new[](std::size_t) throw (std::bad_alloc); -<span class="lineNum"> 97 </span> : void operator delete(void*) throw(); -<span class="lineNum"> 98 </span> : void operator delete[](void*) throw(); -<span class="lineNum"> 99 </span> : void* operator new(std::size_t, const std::nothrow_t&) throw(); -<span class="lineNum"> 100 </span> : void* operator new[](std::size_t, const std::nothrow_t&) throw(); -<span class="lineNum"> 101 </span> : void operator delete(void*, const std::nothrow_t&) throw(); -<span class="lineNum"> 102 </span> : void operator delete[](void*, const std::nothrow_t&) throw(); -<span class="lineNum"> 103 </span> : -<span class="lineNum"> 104 </span> : // Default placement versions of operator new. -<span class="lineNum"> 105 </span><span class="lineCov"> 5858225 : inline void* operator new(std::size_t, void* __p) throw() { return __p; }</span> -<span class="lineNum"> 106 </span> : inline void* operator new[](std::size_t, void* __p) throw() { return __p; } -<span class="lineNum"> 107 </span> : -<span class="lineNum"> 108 </span> : // Default placement versions of operator delete. -<span class="lineNum"> 109 </span><span class="lineNoCov"> 0 : inline void operator delete (void*, void*) throw() { }</span> -<span class="lineNum"> 110 </span> : inline void operator delete[](void*, void*) throw() { } -<span class="lineNum"> 111 </span> : //@} -<span class="lineNum"> 112 </span> : } // extern "C++" -<span class="lineNum"> 113 </span> : -<span class="lineNum"> 114 </span> : #pragma GCC visibility pop -<span class="lineNum"> 115 </span> : -<span class="lineNum"> 116 </span> : #endif -</pre> - </td> - </tr> - </table> - <br> - - <table width="100%" border=0 cellspacing=0 cellpadding=0> - <tr><td class="ruler"><img src="../../../../glass.png" width=3 height=3 alt=""></td></tr> - <tr><td class="versionInfo">Generated by: <a href="http://ltp.sourceforge.net/coverage/lcov.php" target="_parent">LTP GCOV extension version 1.6</a></td></tr> - </table> - <br> - -</body> -</html> |
