Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
du
android_prebuilts_ndk
Commits
c1194f0c
Commit
c1194f0c
authored
10 years ago
by
Andrew Hsieh
Committed by
Android Git Automerger
10 years ago
Browse files
Options
Download
Plain Diff
am
42ce4994
: Merge "Add mips32r6 STL binaries"
* commit '
42ce4994
': Add mips32r6 STL binaries
parents
b438fd33
42ce4994
m-caf-dtc
No related merge requests found
Changes
39
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
2532 additions
and
0 deletions
+2532
-0
8/sources/cxx-stl/gabi++/libs/mipsr6/libgabi++_shared.so
8/sources/cxx-stl/gabi++/libs/mipsr6/libgabi++_shared.so
+0
-0
8/sources/cxx-stl/gabi++/libs/mipsr6/libgabi++_static.a
8/sources/cxx-stl/gabi++/libs/mipsr6/libgabi++_static.a
+0
-0
8/sources/cxx-stl/stlport/libs/mipsr6/libstlport_shared.so
8/sources/cxx-stl/stlport/libs/mipsr6/libstlport_shared.so
+0
-0
8/sources/cxx-stl/stlport/libs/mipsr6/libstlport_static.a
8/sources/cxx-stl/stlport/libs/mipsr6/libstlport_static.a
+0
-0
9/sources/cxx-stl/EH/gabi++/libs/mipsr6/libgabi++_shared.so
9/sources/cxx-stl/EH/gabi++/libs/mipsr6/libgabi++_shared.so
+0
-0
9/sources/cxx-stl/EH/gabi++/libs/mipsr6/libgabi++_static.a
9/sources/cxx-stl/EH/gabi++/libs/mipsr6/libgabi++_static.a
+0
-0
9/sources/cxx-stl/EH/stlport/libs/mipsr6/libstlport_shared.so
...urces/cxx-stl/EH/stlport/libs/mipsr6/libstlport_shared.so
+0
-0
9/sources/cxx-stl/EH/stlport/libs/mipsr6/libstlport_static.a
9/sources/cxx-stl/EH/stlport/libs/mipsr6/libstlport_static.a
+0
-0
9/sources/cxx-stl/gnu-libstdc++/4.9/libs/mipsr6/include/bits/atomic_word.h
.../gnu-libstdc++/4.9/libs/mipsr6/include/bits/atomic_word.h
+47
-0
9/sources/cxx-stl/gnu-libstdc++/4.9/libs/mipsr6/include/bits/basic_file.h
...l/gnu-libstdc++/4.9/libs/mipsr6/include/bits/basic_file.h
+110
-0
9/sources/cxx-stl/gnu-libstdc++/4.9/libs/mipsr6/include/bits/c++allocator.h
...gnu-libstdc++/4.9/libs/mipsr6/include/bits/c++allocator.h
+55
-0
9/sources/cxx-stl/gnu-libstdc++/4.9/libs/mipsr6/include/bits/c++config.h
...tl/gnu-libstdc++/4.9/libs/mipsr6/include/bits/c++config.h
+1680
-0
9/sources/cxx-stl/gnu-libstdc++/4.9/libs/mipsr6/include/bits/c++io.h
...xx-stl/gnu-libstdc++/4.9/libs/mipsr6/include/bits/c++io.h
+50
-0
9/sources/cxx-stl/gnu-libstdc++/4.9/libs/mipsr6/include/bits/c++locale.h
...tl/gnu-libstdc++/4.9/libs/mipsr6/include/bits/c++locale.h
+99
-0
9/sources/cxx-stl/gnu-libstdc++/4.9/libs/mipsr6/include/bits/cpu_defines.h
.../gnu-libstdc++/4.9/libs/mipsr6/include/bits/cpu_defines.h
+33
-0
9/sources/cxx-stl/gnu-libstdc++/4.9/libs/mipsr6/include/bits/ctype_base.h
...l/gnu-libstdc++/4.9/libs/mipsr6/include/bits/ctype_base.h
+76
-0
9/sources/cxx-stl/gnu-libstdc++/4.9/libs/mipsr6/include/bits/ctype_inline.h
...gnu-libstdc++/4.9/libs/mipsr6/include/bits/ctype_inline.h
+74
-0
9/sources/cxx-stl/gnu-libstdc++/4.9/libs/mipsr6/include/bits/cxxabi_tweaks.h
...nu-libstdc++/4.9/libs/mipsr6/include/bits/cxxabi_tweaks.h
+59
-0
9/sources/cxx-stl/gnu-libstdc++/4.9/libs/mipsr6/include/bits/error_constants.h
...-libstdc++/4.9/libs/mipsr6/include/bits/error_constants.h
+178
-0
9/sources/cxx-stl/gnu-libstdc++/4.9/libs/mipsr6/include/bits/extc++.h
...x-stl/gnu-libstdc++/4.9/libs/mipsr6/include/bits/extc++.h
+71
-0
No files found.
8/sources/cxx-stl/gabi++/libs/mipsr6/libgabi++_shared.so
0 → 100755
View file @
c1194f0c
File added
This diff is collapsed.
Click to expand it.
8/sources/cxx-stl/gabi++/libs/mipsr6/libgabi++_static.a
0 → 100644
View file @
c1194f0c
File added
This diff is collapsed.
Click to expand it.
8/sources/cxx-stl/stlport/libs/mipsr6/libstlport_shared.so
0 → 100755
View file @
c1194f0c
File added
This diff is collapsed.
Click to expand it.
8/sources/cxx-stl/stlport/libs/mipsr6/libstlport_static.a
0 → 100644
View file @
c1194f0c
File added
This diff is collapsed.
Click to expand it.
9/sources/cxx-stl/EH/gabi++/libs/mipsr6/libgabi++_shared.so
0 → 100755
View file @
c1194f0c
File added
This diff is collapsed.
Click to expand it.
9/sources/cxx-stl/EH/gabi++/libs/mipsr6/libgabi++_static.a
0 → 100644
View file @
c1194f0c
File added
This diff is collapsed.
Click to expand it.
9/sources/cxx-stl/EH/stlport/libs/mipsr6/libstlport_shared.so
0 → 100755
View file @
c1194f0c
File added
This diff is collapsed.
Click to expand it.
9/sources/cxx-stl/EH/stlport/libs/mipsr6/libstlport_static.a
0 → 100644
View file @
c1194f0c
File added
This diff is collapsed.
Click to expand it.
9/sources/cxx-stl/gnu-libstdc++/4.9/libs/mipsr6/include/bits/atomic_word.h
0 → 100644
View file @
c1194f0c
// Low-level type for atomic operations -*- C++ -*-
// Copyright (C) 2004-2014 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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 3, or (at your option)
// any later version.
// This library 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.
// Under Section 7 of GPL version 3, you are granted additional
// permissions described in the GCC Runtime Library Exception, version
// 3.1, as published by the Free Software Foundation.
// You should have received a copy of the GNU General Public License and
// a copy of the GCC Runtime Library Exception along with this program;
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>.
/** @file atomic_word.h
* This file is a GNU extension to the Standard C++ Library.
*/
#ifndef _GLIBCXX_ATOMIC_WORD_H
#define _GLIBCXX_ATOMIC_WORD_H 1
typedef
int
_Atomic_word
;
// Define these two macros using the appropriate memory barrier for the target.
// The commented out versions below are the defaults.
// See ia64/atomic_word.h for an alternative approach.
// This one prevents loads from being hoisted across the barrier;
// in other words, this is a Load-Load acquire barrier.
// This is necessary iff TARGET_RELAXED_ORDERING is defined in tm.h.
// #define _GLIBCXX_READ_MEM_BARRIER __asm __volatile ("":::"memory")
// This one prevents stores from being sunk across the barrier; in other
// words, a Store-Store release barrier.
// #define _GLIBCXX_WRITE_MEM_BARRIER __asm __volatile ("":::"memory")
#endif
This diff is collapsed.
Click to expand it.
9/sources/cxx-stl/gnu-libstdc++/4.9/libs/mipsr6/include/bits/basic_file.h
0 → 100644
View file @
c1194f0c
// Wrapper of C-language FILE struct -*- C++ -*-
// Copyright (C) 2000-2014 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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 3, or (at your option)
// any later version.
// This library 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.
// Under Section 7 of GPL version 3, you are granted additional
// permissions described in the GCC Runtime Library Exception, version
// 3.1, as published by the Free Software Foundation.
// You should have received a copy of the GNU General Public License and
// a copy of the GCC Runtime Library Exception along with this program;
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>.
//
// ISO C++ 14882: 27.8 File-based streams
//
/** @file bits/basic_file.h
* This is an internal header file, included by other library headers.
* Do not attempt to use it directly. @headername{ios}
*/
#ifndef _GLIBCXX_BASIC_FILE_STDIO_H
#define _GLIBCXX_BASIC_FILE_STDIO_H 1
#pragma GCC system_header
#include <bits/c++config.h>
#include <bits/c++io.h> // for __c_lock and __c_file
#include <ios>
namespace
std
_GLIBCXX_VISIBILITY
(
default
)
{
_GLIBCXX_BEGIN_NAMESPACE_VERSION
// Generic declaration.
template
<
typename
_CharT
>
class
__basic_file
;
// Specialization.
template
<
>
class
__basic_file
<
char
>
{
// Underlying data source/sink.
__c_file
*
_M_cfile
;
// True iff we opened _M_cfile, and thus must close it ourselves.
bool
_M_cfile_created
;
public:
__basic_file
(
__c_lock
*
__lock
=
0
)
throw
();
__basic_file
*
open
(
const
char
*
__name
,
ios_base
::
openmode
__mode
,
int
__prot
=
0664
);
__basic_file
*
sys_open
(
__c_file
*
__file
,
ios_base
::
openmode
);
__basic_file
*
sys_open
(
int
__fd
,
ios_base
::
openmode
__mode
)
throw
();
__basic_file
*
close
();
_GLIBCXX_PURE
bool
is_open
()
const
throw
();
_GLIBCXX_PURE
int
fd
()
throw
();
_GLIBCXX_PURE
__c_file
*
file
()
throw
();
~
__basic_file
();
streamsize
xsputn
(
const
char
*
__s
,
streamsize
__n
);
streamsize
xsputn_2
(
const
char
*
__s1
,
streamsize
__n1
,
const
char
*
__s2
,
streamsize
__n2
);
streamsize
xsgetn
(
char
*
__s
,
streamsize
__n
);
streamoff
seekoff
(
streamoff
__off
,
ios_base
::
seekdir
__way
)
throw
();
int
sync
();
streamsize
showmanyc
();
};
_GLIBCXX_END_NAMESPACE_VERSION
}
// namespace
#endif
This diff is collapsed.
Click to expand it.
9/sources/cxx-stl/gnu-libstdc++/4.9/libs/mipsr6/include/bits/c++allocator.h
0 → 100644
View file @
c1194f0c
// Base to std::allocator -*- C++ -*-
// Copyright (C) 2004-2014 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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 3, or (at your option)
// any later version.
// This library 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.
// Under Section 7 of GPL version 3, you are granted additional
// permissions described in the GCC Runtime Library Exception, version
// 3.1, as published by the Free Software Foundation.
// You should have received a copy of the GNU General Public License and
// a copy of the GCC Runtime Library Exception along with this program;
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>.
/** @file bits/c++allocator.h
* This is an internal header file, included by other library headers.
* Do not attempt to use it directly. @headername{memory}
*/
#ifndef _GLIBCXX_CXX_ALLOCATOR_H
#define _GLIBCXX_CXX_ALLOCATOR_H 1
#include <ext/new_allocator.h>
#if __cplusplus >= 201103L
namespace
std
{
/**
* @brief An alias to the base class for std::allocator.
* @ingroup allocators
*
* Used to set the std::allocator base class to
* __gnu_cxx::new_allocator.
*
* @tparam _Tp Type of allocated object.
*/
template
<
typename
_Tp
>
using
__allocator_base
=
__gnu_cxx
::
new_allocator
<
_Tp
>
;
}
#else
// Define new_allocator as the base class to std::allocator.
# define __allocator_base __gnu_cxx::new_allocator
#endif
#endif
This diff is collapsed.
Click to expand it.
9/sources/cxx-stl/gnu-libstdc++/4.9/libs/mipsr6/include/bits/c++config.h
0 → 100644
View file @
c1194f0c
This diff is collapsed.
Click to expand it.
9/sources/cxx-stl/gnu-libstdc++/4.9/libs/mipsr6/include/bits/c++io.h
0 → 100644
View file @
c1194f0c
// Underlying io library details -*- C++ -*-
// Copyright (C) 2000-2014 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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 3, or (at your option)
// any later version.
// This library 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.
// Under Section 7 of GPL version 3, you are granted additional
// permissions described in the GCC Runtime Library Exception, version
// 3.1, as published by the Free Software Foundation.
// You should have received a copy of the GNU General Public License and
// a copy of the GCC Runtime Library Exception along with this program;
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>.
/** @file bits/c++io.h
* This is an internal header file, included by other library headers.
* Do not attempt to use it directly. @headername{ios}
*/
// c_io_stdio.h - Defines for using "C" stdio.h
#ifndef _GLIBCXX_CXX_IO_H
#define _GLIBCXX_CXX_IO_H 1
#include <cstdio>
#include <bits/gthr.h>
namespace
std
_GLIBCXX_VISIBILITY
(
default
)
{
_GLIBCXX_BEGIN_NAMESPACE_VERSION
typedef
__gthread_mutex_t
__c_lock
;
// for basic_file.h
typedef
FILE
__c_file
;
_GLIBCXX_END_NAMESPACE_VERSION
}
// namespace
#endif
This diff is collapsed.
Click to expand it.
9/sources/cxx-stl/gnu-libstdc++/4.9/libs/mipsr6/include/bits/c++locale.h
0 → 100644
View file @
c1194f0c
// Wrapper for underlying C-language localization -*- C++ -*-
// Copyright (C) 2001-2014 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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 3, or (at your option)
// any later version.
// This library 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.
// Under Section 7 of GPL version 3, you are granted additional
// permissions described in the GCC Runtime Library Exception, version
// 3.1, as published by the Free Software Foundation.
// You should have received a copy of the GNU General Public License and
// a copy of the GCC Runtime Library Exception along with this program;
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>.
/** @file bits/c++locale.h
* This is an internal header file, included by other library headers.
* Do not attempt to use it directly. @headername{locale}
*/
//
// ISO C++ 14882: 22.8 Standard locale categories.
//
// Written by Benjamin Kosnik <bkoz@redhat.com>
#ifndef _GLIBCXX_CXX_LOCALE_H
#define _GLIBCXX_CXX_LOCALE_H 1
#pragma GCC system_header
#include <clocale>
#define _GLIBCXX_NUM_CATEGORIES 0
namespace
std
_GLIBCXX_VISIBILITY
(
default
)
{
_GLIBCXX_BEGIN_NAMESPACE_VERSION
typedef
int
*
__c_locale
;
// Convert numeric value of type double and long double to string and
// return length of string. If vsnprintf is available use it, otherwise
// fall back to the unsafe vsprintf which, in general, can be dangerous
// and should be avoided.
inline
int
__convert_from_v
(
const
__c_locale
&
,
char
*
__out
,
const
int
__size
__attribute__
((
__unused__
)),
const
char
*
__fmt
,
...)
{
char
*
__old
=
std
::
setlocale
(
LC_NUMERIC
,
0
);
char
*
__sav
=
0
;
#if defined (__ANDROID__)
if
(
__old
)
{
#endif
if
(
__builtin_strcmp
(
__old
,
"C"
))
{
const
size_t
__len
=
__builtin_strlen
(
__old
)
+
1
;
__sav
=
new
char
[
__len
];
__builtin_memcpy
(
__sav
,
__old
,
__len
);
std
::
setlocale
(
LC_NUMERIC
,
"C"
);
}
#if defined (__ANDROID__)
}
#endif
__builtin_va_list
__args
;
__builtin_va_start
(
__args
,
__fmt
);
#ifdef _GLIBCXX_USE_C99
const
int
__ret
=
__builtin_vsnprintf
(
__out
,
__size
,
__fmt
,
__args
);
#else
const
int
__ret
=
__builtin_vsprintf
(
__out
,
__fmt
,
__args
);
#endif
__builtin_va_end
(
__args
);
if
(
__sav
)
{
std
::
setlocale
(
LC_NUMERIC
,
__sav
);
delete
[]
__sav
;
}
return
__ret
;
}
_GLIBCXX_END_NAMESPACE_VERSION
}
// namespace
#endif
This diff is collapsed.
Click to expand it.
9/sources/cxx-stl/gnu-libstdc++/4.9/libs/mipsr6/include/bits/cpu_defines.h
0 → 100644
View file @
c1194f0c
// Specific definitions for generic platforms -*- C++ -*-
// Copyright (C) 2005-2014 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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 3, or (at your option)
// any later version.
// This library 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.
// Under Section 7 of GPL version 3, you are granted additional
// permissions described in the GCC Runtime Library Exception, version
// 3.1, as published by the Free Software Foundation.
// You should have received a copy of the GNU General Public License and
// a copy of the GCC Runtime Library Exception along with this program;
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>.
/** @file bits/cpu_defines.h
* This is an internal header file, included by other library headers.
* Do not attempt to use it directly. @headername{iosfwd}
*/
#ifndef _GLIBCXX_CPU_DEFINES
#define _GLIBCXX_CPU_DEFINES 1
#endif
This diff is collapsed.
Click to expand it.
9/sources/cxx-stl/gnu-libstdc++/4.9/libs/mipsr6/include/bits/ctype_base.h
0 → 100644
View file @
c1194f0c
// Locale support -*- C++ -*-
// Copyright (C) 2010-2014 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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 3, or (at your option)
// any later version.
// This library 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.
// Under Section 7 of GPL version 3, you are granted additional
// permissions described in the GCC Runtime Library Exception, version
// 3.1, as published by the Free Software Foundation.
// You should have received a copy of the GNU General Public License and
// a copy of the GCC Runtime Library Exception along with this program;
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>.
//
// ISO C++ 14882: 22.1 Locales
//
// Information as gleaned from /usr/include/ctype.h, for solaris2.5.1
// Support for Solaris 2.5.1
#if defined (__ANDROID__)
#if !defined(_U)
#if !defined(_CTYPE_U)
#error Bionic header ctype.h does not define either _U nor _CTYPE_U
#endif
#define _U _CTYPE_U
#define _L _CTYPE_L
#define _N _CTYPE_N
#define _S _CTYPE_S
#define _P _CTYPE_P
#define _C _CTYPE_C
#define _X _CTYPE_X
#define _B _CTYPE_B
#endif
#endif
/* __ANDROID__ */
namespace
std
_GLIBCXX_VISIBILITY
(
default
)
{
_GLIBCXX_BEGIN_NAMESPACE_VERSION
/// @brief Base class for ctype.
struct
ctype_base
{
// Non-standard typedefs.
typedef
const
int
*
__to_type
;
// NB: Offsets into ctype<char>::_M_table force a particular size
// on the mask type. Because of this, we don't use an enum.
typedef
char
mask
;
static
const
mask
upper
=
_U
;
static
const
mask
lower
=
_L
;
static
const
mask
alpha
=
_U
|
_L
;
static
const
mask
digit
=
_N
;
static
const
mask
xdigit
=
_X
|
_N
;
static
const
mask
space
=
_S
;
static
const
mask
print
=
_P
|
_U
|
_L
|
_N
|
_B
;
static
const
mask
graph
=
_P
|
_U
|
_L
|
_N
;
static
const
mask
cntrl
=
_C
;
static
const
mask
punct
=
_P
;
static
const
mask
alnum
=
_U
|
_L
|
_N
;
};
_GLIBCXX_END_NAMESPACE_VERSION
}
// namespace
This diff is collapsed.
Click to expand it.
9/sources/cxx-stl/gnu-libstdc++/4.9/libs/mipsr6/include/bits/ctype_inline.h
0 → 100644
View file @
c1194f0c
// Locale support -*- C++ -*-
// Copyright (C) 2010-2014 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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 3, or (at your option)
// any later version.
// This library 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.
// Under Section 7 of GPL version 3, you are granted additional
// permissions described in the GCC Runtime Library Exception, version
// 3.1, as published by the Free Software Foundation.
// You should have received a copy of the GNU General Public License and
// a copy of the GCC Runtime Library Exception along with this program;
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>.
/** @file bits/ctype_inline.h
* This is an internal header file, included by other library headers.
* Do not attempt to use it directly. @headername{locale}
*/
//
// ISO C++ 14882: 22.1 Locales
//
// ctype bits to be inlined go here. Non-inlinable (ie virtual do_*)
// functions go in ctype.cc
namespace
std
_GLIBCXX_VISIBILITY
(
default
)
{
_GLIBCXX_BEGIN_NAMESPACE_VERSION
bool
ctype
<
char
>::
is
(
mask
__m
,
char
__c
)
const
{
return
_M_table
[
static_cast
<
unsigned
char
>
(
__c
)]
&
__m
;
}
const
char
*
ctype
<
char
>::
is
(
const
char
*
__low
,
const
char
*
__high
,
mask
*
__vec
)
const
{
while
(
__low
<
__high
)
*
__vec
++
=
_M_table
[
static_cast
<
unsigned
char
>
(
*
__low
++
)];
return
__high
;
}
const
char
*
ctype
<
char
>::
scan_is
(
mask
__m
,
const
char
*
__low
,
const
char
*
__high
)
const
{
while
(
__low
<
__high
&&
!
this
->
is
(
__m
,
*
__low
))
++
__low
;
return
__low
;
}
const
char
*
ctype
<
char
>::
scan_not
(
mask
__m
,
const
char
*
__low
,
const
char
*
__high
)
const
{
while
(
__low
<
__high
&&
this
->
is
(
__m
,
*
__low
)
!=
0
)
++
__low
;
return
__low
;
}
_GLIBCXX_END_NAMESPACE_VERSION
}
// namespace
This diff is collapsed.
Click to expand it.
9/sources/cxx-stl/gnu-libstdc++/4.9/libs/mipsr6/include/bits/cxxabi_tweaks.h
0 → 100644
View file @
c1194f0c
// Control various target specific ABI tweaks. Generic version.
// Copyright (C) 2004-2014 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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 3, or (at your option)
// any later version.
// This library 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.
// Under Section 7 of GPL version 3, you are granted additional
// permissions described in the GCC Runtime Library Exception, version
// 3.1, as published by the Free Software Foundation.
// You should have received a copy of the GNU General Public License and
// a copy of the GCC Runtime Library Exception along with this program;
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>.
/** @file bits/cxxabi_tweaks.h
* This is an internal header file, included by other library headers.
* Do not attempt to use it directly. @headername{cxxabi.h}
*/
#ifndef _CXXABI_TWEAKS_H
#define _CXXABI_TWEAKS_H 1
#ifdef __cplusplus
namespace
__cxxabiv1
{
extern
"C"
{
#endif
// The generic ABI uses the first byte of a 64-bit guard variable.
#define _GLIBCXX_GUARD_TEST(x) (*(char *) (x) != 0)
#define _GLIBCXX_GUARD_SET(x) *(char *) (x) = 1
#define _GLIBCXX_GUARD_BIT __guard_test_bit (0, 1)
#define _GLIBCXX_GUARD_PENDING_BIT __guard_test_bit (1, 1)
#define _GLIBCXX_GUARD_WAITING_BIT __guard_test_bit (2, 1)
__extension__
typedef
int
__guard
__attribute__
((
mode
(
__DI__
)));
// __cxa_vec_ctor has void return type.
typedef
void
__cxa_vec_ctor_return_type
;
#define _GLIBCXX_CXA_VEC_CTOR_RETURN(x) return
// Constructors and destructors do not return a value.
typedef
void
__cxa_cdtor_return_type
;
#ifdef __cplusplus
}
}
// namespace __cxxabiv1
#endif
#endif
This diff is collapsed.
Click to expand it.
9/sources/cxx-stl/gnu-libstdc++/4.9/libs/mipsr6/include/bits/error_constants.h
0 → 100644
View file @
c1194f0c
// Specific definitions for generic platforms -*- C++ -*-
// Copyright (C) 2007-2014 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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 3, or (at your option)
// any later version.
// This library 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.
// Under Section 7 of GPL version 3, you are granted additional
// permissions described in the GCC Runtime Library Exception, version
// 3.1, as published by the Free Software Foundation.
// You should have received a copy of the GNU General Public License and
// a copy of the GCC Runtime Library Exception along with this program;
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>.
/** @file bits/error_constants.h
* This is an internal header file, included by other library headers.
* Do not attempt to use it directly. @headername{system_error}
*/
#ifndef _GLIBCXX_ERROR_CONSTANTS
#define _GLIBCXX_ERROR_CONSTANTS 1
#include <bits/c++config.h>
#include <cerrno>
namespace
std
_GLIBCXX_VISIBILITY
(
default
)
{
_GLIBCXX_BEGIN_NAMESPACE_VERSION
enum
class
errc
{
address_family_not_supported
=
EAFNOSUPPORT
,
address_in_use
=
EADDRINUSE
,
address_not_available
=
EADDRNOTAVAIL
,
already_connected
=
EISCONN
,
argument_list_too_long
=
E2BIG
,
argument_out_of_domain
=
EDOM
,
bad_address
=
EFAULT
,
bad_file_descriptor
=
EBADF
,
#ifdef _GLIBCXX_HAVE_EBADMSG
bad_message
=
EBADMSG
,
#endif
broken_pipe
=
EPIPE
,
connection_aborted
=
ECONNABORTED
,
connection_already_in_progress
=
EALREADY
,
connection_refused
=
ECONNREFUSED
,
connection_reset
=
ECONNRESET
,
cross_device_link
=
EXDEV
,
destination_address_required
=
EDESTADDRREQ
,
device_or_resource_busy
=
EBUSY
,
directory_not_empty
=
ENOTEMPTY
,
executable_format_error
=
ENOEXEC
,
file_exists
=
EEXIST
,
file_too_large
=
EFBIG
,
filename_too_long
=
ENAMETOOLONG
,
function_not_supported
=
ENOSYS
,
host_unreachable
=
EHOSTUNREACH
,
#ifdef _GLIBCXX_HAVE_EIDRM
identifier_removed
=
EIDRM
,
#endif
illegal_byte_sequence
=
EILSEQ
,
inappropriate_io_control_operation
=
ENOTTY
,
interrupted
=
EINTR
,
invalid_argument
=
EINVAL
,
invalid_seek
=
ESPIPE
,
io_error
=
EIO
,
is_a_directory
=
EISDIR
,
message_size
=
EMSGSIZE
,
network_down
=
ENETDOWN
,
network_reset
=
ENETRESET
,
network_unreachable
=
ENETUNREACH
,
no_buffer_space
=
ENOBUFS
,
no_child_process
=
ECHILD
,
#ifdef _GLIBCXX_HAVE_ENOLINK
no_link
=
ENOLINK
,
#endif
no_lock_available
=
ENOLCK
,
#ifdef _GLIBCXX_HAVE_ENODATA
no_message_available
=
ENODATA
,
#endif
no_message
=
ENOMSG
,
no_protocol_option
=
ENOPROTOOPT
,
no_space_on_device
=
ENOSPC
,
#ifdef _GLIBCXX_HAVE_ENOSR
no_stream_resources
=
ENOSR
,
#endif
no_such_device_or_address
=
ENXIO
,
no_such_device
=
ENODEV
,
no_such_file_or_directory
=
ENOENT
,
no_such_process
=
ESRCH
,
not_a_directory
=
ENOTDIR
,
not_a_socket
=
ENOTSOCK
,
#ifdef _GLIBCXX_HAVE_ENOSTR
not_a_stream
=
ENOSTR
,
#endif
not_connected
=
ENOTCONN
,
not_enough_memory
=
ENOMEM
,
#ifdef _GLIBCXX_HAVE_ENOTSUP
not_supported
=
ENOTSUP
,
#endif
#ifdef _GLIBCXX_HAVE_ECANCELED
operation_canceled
=
ECANCELED
,
#endif
operation_in_progress
=
EINPROGRESS
,
operation_not_permitted
=
EPERM
,
operation_not_supported
=
EOPNOTSUPP
,
operation_would_block
=
EWOULDBLOCK
,
#ifdef _GLIBCXX_HAVE_EOWNERDEAD
owner_dead
=
EOWNERDEAD
,
#endif
permission_denied
=
EACCES
,
#ifdef _GLIBCXX_HAVE_EPROTO
protocol_error
=
EPROTO
,
#endif
protocol_not_supported
=
EPROTONOSUPPORT
,
read_only_file_system
=
EROFS
,
resource_deadlock_would_occur
=
EDEADLK
,
resource_unavailable_try_again
=
EAGAIN
,
result_out_of_range
=
ERANGE
,
#ifdef _GLIBCXX_HAVE_ENOTRECOVERABLE
state_not_recoverable
=
ENOTRECOVERABLE
,
#endif
#ifdef _GLIBCXX_HAVE_ETIME
stream_timeout
=
ETIME
,
#endif
#ifdef _GLIBCXX_HAVE_ETXTBSY
text_file_busy
=
ETXTBSY
,
#endif
timed_out
=
ETIMEDOUT
,
too_many_files_open_in_system
=
ENFILE
,
too_many_files_open
=
EMFILE
,
too_many_links
=
EMLINK
,
too_many_symbolic_link_levels
=
ELOOP
,
#ifdef _GLIBCXX_HAVE_EOVERFLOW
value_too_large
=
EOVERFLOW
,
#endif
wrong_protocol_type
=
EPROTOTYPE
};
_GLIBCXX_END_NAMESPACE_VERSION
}
// namespace
#endif
This diff is collapsed.
Click to expand it.
9/sources/cxx-stl/gnu-libstdc++/4.9/libs/mipsr6/include/bits/extc++.h
0 → 100644
View file @
c1194f0c
// C++ includes used for precompiling extensions -*- C++ -*-
// Copyright (C) 2006-2014 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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 3, or (at your option)
// any later version.
// This library 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.
// Under Section 7 of GPL version 3, you are granted additional
// permissions described in the GCC Runtime Library Exception, version
// 3.1, as published by the Free Software Foundation.
// You should have received a copy of the GNU General Public License and
// a copy of the GCC Runtime Library Exception along with this program;
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <http://www.gnu.org/licenses/>.
/** @file extc++.h
* This is an implementation file for a precompiled header.
*/
#if __cplusplus < 201103L
#include <bits/stdtr1c++.h>
#endif
#include <ext/algorithm>
#include <ext/array_allocator.h>
#include <ext/atomicity.h>
#include <ext/bitmap_allocator.h>
#include <ext/cast.h>
#include <ext/concurrence.h>
#include <ext/debug_allocator.h>
#include <ext/extptr_allocator.h>
#include <ext/functional>
#include <ext/iterator>
#include <ext/malloc_allocator.h>
#include <ext/memory>
#include <ext/mt_allocator.h>
#include <ext/new_allocator.h>
#include <ext/numeric>
#include <ext/pod_char_traits.h>
#include <ext/pointer.h>
#include <ext/pool_allocator.h>
#include <ext/rb_tree>
#include <ext/rope>
#include <ext/slist>
#include <ext/stdio_filebuf.h>
#include <ext/stdio_sync_filebuf.h>
#include <ext/throw_allocator.h>
#include <ext/typelist.h>
#include <ext/type_traits.h>
#include <ext/vstring.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/priority_queue.hpp>
#include <ext/pb_ds/exception.hpp>
#include <ext/pb_ds/hash_policy.hpp>
#include <ext/pb_ds/list_update_policy.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#include <ext/pb_ds/trie_policy.hpp>
#ifdef _GLIBCXX_HAVE_ICONV
#include <ext/codecvt_specializations.h>
#include <ext/enc_filebuf.h>
#endif
This diff is collapsed.
Click to expand it.
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment