5 # 1 "./boost/format.hpp" 1
6 # 17 "./boost/format.hpp"
7 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/vector" 1 3
8 # 63 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/vector" 3
10 # 64 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/vector" 3
12 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/functexcept.h" 1 3
13 # 41 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/functexcept.h" 3
14 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/exception_defines.h" 1 3
15 # 42 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/functexcept.h" 2 3
21 __throw_bad_exception(void) __attribute__((__noreturn__));
25 __throw_bad_alloc(void) __attribute__((__noreturn__));
29 __throw_bad_cast(void) __attribute__((__noreturn__));
32 __throw_bad_typeid(void) __attribute__((__noreturn__));
36 __throw_logic_error(const char*) __attribute__((__noreturn__));
39 __throw_domain_error(const char*) __attribute__((__noreturn__));
42 __throw_invalid_argument(const char*) __attribute__((__noreturn__));
45 __throw_length_error(const char*) __attribute__((__noreturn__));
48 __throw_out_of_range(const char*) __attribute__((__noreturn__));
51 __throw_runtime_error(const char*) __attribute__((__noreturn__));
54 __throw_range_error(const char*) __attribute__((__noreturn__));
57 __throw_overflow_error(const char*) __attribute__((__noreturn__));
60 __throw_underflow_error(const char*) __attribute__((__noreturn__));
64 __throw_ios_failure(const char*) __attribute__((__noreturn__));
66 # 66 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/vector" 2 3
67 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algobase.h" 1 3
68 # 64 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algobase.h" 3
69 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bfin-linux-uclibc/bits/c++config.h" 1 3
70 # 35 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bfin-linux-uclibc/bits/c++config.h" 3
71 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bfin-linux-uclibc/bits/os_defines.h" 1 3
72 # 39 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bfin-linux-uclibc/bits/os_defines.h" 3
73 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/features.h" 1 3 4
74 # 35 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/features.h" 3 4
75 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/uClibc_config.h" 1 3 4
76 # 36 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/features.h" 2 3 4
78 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/uClibc_arch_features.h" 1 3 4
79 # 38 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/features.h" 2 3 4
80 # 356 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/features.h" 3 4
81 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/cdefs.h" 1 3 4
82 # 357 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/features.h" 2 3 4
83 # 40 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bfin-linux-uclibc/bits/os_defines.h" 2 3
84 # 36 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bfin-linux-uclibc/bits/c++config.h" 2 3
87 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bfin-linux-uclibc/bits/cpu_defines.h" 1 3
88 # 39 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bfin-linux-uclibc/bits/c++config.h" 2 3
93 namespace __gnu_debug_def { }
97 using namespace __gnu_debug_def;
99 # 65 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algobase.h" 2 3
100 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/cstring" 1 3
101 # 48 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/cstring" 3
103 # 49 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/cstring" 3
105 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/cstddef" 1 3
106 # 48 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/cstddef" 3
108 # 49 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/cstddef" 3
110 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/stddef.h" 1 3 4
111 # 152 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/stddef.h" 3 4
112 typedef long int ptrdiff_t;
113 # 214 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/stddef.h" 3 4
114 typedef long unsigned int size_t;
115 # 51 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/cstddef" 2 3
122 # 51 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/cstring" 2 3
124 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 1 3 4
125 # 28 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 3 4
131 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/stddef.h" 1 3 4
132 # 34 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 2 3 4
137 extern void *memcpy (void *__restrict __dest,
138 __const void *__restrict __src, size_t __n)
139 throw () __attribute__ ((__nonnull__ (1, 2)));
142 extern void *memmove (void *__dest, __const void *__src, size_t __n)
143 throw () __attribute__ ((__nonnull__ (1, 2)));
150 extern void *memccpy (void *__restrict __dest, __const void *__restrict __src,
152 throw () __attribute__ ((__nonnull__ (1, 2)));
158 extern void *memset (void *__s, int __c, size_t __n) throw () __attribute__ ((__nonnull__ (1)));
161 extern int memcmp (__const void *__s1, __const void *__s2, size_t __n)
162 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
165 extern void *memchr (__const void *__s, int __c, size_t __n)
166 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
172 extern void *rawmemchr (__const void *__s, int __c)
173 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
176 extern void *memrchr (__const void *__s, int __c, size_t __n)
177 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
183 extern char *strcpy (char *__restrict __dest, __const char *__restrict __src)
184 throw () __attribute__ ((__nonnull__ (1, 2)));
186 extern char *strncpy (char *__restrict __dest,
187 __const char *__restrict __src, size_t __n)
188 throw () __attribute__ ((__nonnull__ (1, 2)));
191 extern char *strcat (char *__restrict __dest, __const char *__restrict __src)
192 throw () __attribute__ ((__nonnull__ (1, 2)));
194 extern char *strncat (char *__restrict __dest, __const char *__restrict __src,
195 size_t __n) throw () __attribute__ ((__nonnull__ (1, 2)));
198 extern int strcmp (__const char *__s1, __const char *__s2)
199 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
201 extern int strncmp (__const char *__s1, __const char *__s2, size_t __n)
202 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
205 extern int strcoll (__const char *__s1, __const char *__s2)
206 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
208 extern size_t strxfrm (char *__restrict __dest,
209 __const char *__restrict __src, size_t __n)
210 throw () __attribute__ ((__nonnull__ (2)));
212 # 130 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 3 4
213 extern char *strdup (__const char *__s)
214 throw () __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
221 extern char *strndup (__const char *__string, size_t __n)
222 throw () __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
223 # 165 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 3 4
226 extern char *strchr (__const char *__s, int __c)
227 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
229 extern char *strrchr (__const char *__s, int __c)
230 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
236 extern char *strchrnul (__const char *__s, int __c)
237 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
243 extern size_t strcspn (__const char *__s, __const char *__reject)
244 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
247 extern size_t strspn (__const char *__s, __const char *__accept)
248 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
250 extern char *strpbrk (__const char *__s, __const char *__accept)
251 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
253 extern char *strstr (__const char *__haystack, __const char *__needle)
254 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
258 extern char *strtok (char *__restrict __s, __const char *__restrict __delim)
259 throw () __attribute__ ((__nonnull__ (2)));
261 # 212 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 3 4
262 extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim,
263 char **__restrict __save_ptr)
264 throw () __attribute__ ((__nonnull__ (2, 3)));
269 extern char *strcasestr (__const char *__haystack, __const char *__needle)
270 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
277 extern void *memmem (__const void *__haystack, size_t __haystacklen,
278 __const void *__needle, size_t __needlelen)
279 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 3)));
280 # 238 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 3 4
281 extern void *mempcpy (void *__restrict __dest,
282 __const void *__restrict __src, size_t __n)
283 throw () __attribute__ ((__nonnull__ (1, 2)));
289 extern size_t strlen (__const char *__s)
290 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
296 extern size_t strnlen (__const char *__string, size_t __maxlen)
297 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
303 extern char *strerror (int __errnum) throw ();
305 # 285 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 3 4
306 extern char *__glibc_strerror_r (int __errnum, char *__buf, size_t __buflen)
307 throw () __attribute__ ((__nonnull__ (2)));
309 extern char * strerror_r (int __errnum, char *__buf, size_t __buflen) throw () __asm__ ("_" "__glibc_strerror_r") __attribute__ ((__nonnull__ (2)));
310 # 306 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 3 4
311 extern void bcopy (__const void *__src, void *__dest, size_t __n)
312 throw () __attribute__ ((__nonnull__ (1, 2)));
315 extern void bzero (void *__s, size_t __n) throw () __attribute__ ((__nonnull__ (1)));
318 extern int bcmp (__const void *__s1, __const void *__s2, size_t __n)
319 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
322 extern char *index (__const char *__s, int __c)
323 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
326 extern char *rindex (__const char *__s, int __c)
327 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
328 # 339 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 3 4
329 extern int ffs (int __i) throw () __attribute__ ((__const__));
330 # 352 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 3 4
331 extern int strcasecmp (__const char *__s1, __const char *__s2)
332 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
335 extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n)
336 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
337 # 375 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 3 4
338 extern char *strsep (char **__restrict __stringp,
339 __const char *__restrict __delim)
340 throw () __attribute__ ((__nonnull__ (1, 2)));
341 # 388 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 3 4
342 extern char *strsignal (int __sig) throw ();
349 extern char *stpcpy (char *__restrict __dest, __const char *__restrict __src)
350 throw () __attribute__ ((__nonnull__ (1, 2)));
351 # 405 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 3 4
352 extern char *stpncpy (char *__restrict __dest,
353 __const char *__restrict __src, size_t __n)
354 throw () __attribute__ ((__nonnull__ (1, 2)));
355 # 422 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/string.h" 3 4
356 extern char *basename (__const char *__filename) throw () __attribute__ ((__nonnull__ (1)));
363 extern size_t strlcat(char *__restrict dst, const char *__restrict src,
364 size_t n) throw () __attribute__ ((__nonnull__ (1, 2)));
365 extern size_t strlcpy(char *__restrict dst, const char *__restrict src,
366 size_t n) throw () __attribute__ ((__nonnull__ (1, 2)));
370 # 53 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/cstring" 2 3
371 # 78 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/cstring" 3
395 memchr(void* __p, int __c, size_t __n)
396 { return memchr(const_cast<const void*>(__p), __c, __n); }
401 strchr(char* __s1, int __n)
402 { return __builtin_strchr(const_cast<const char*>(__s1), __n); }
407 strpbrk(char* __s1, const char* __s2)
408 { return __builtin_strpbrk(const_cast<const char*>(__s1), __s2); }
413 strrchr(char* __s1, int __n)
414 { return __builtin_strrchr(const_cast<const char*>(__s1), __n); }
419 strstr(char* __s1, const char* __s2)
420 { return __builtin_strstr(const_cast<const char*>(__s1), __s2); }
422 # 66 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algobase.h" 2 3
423 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/climits" 1 3
424 # 48 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/climits" 3
426 # 49 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/climits" 3
428 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/limits.h" 1 3 4
429 # 11 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/limits.h" 3 4
430 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/syslimits.h" 1 3 4
437 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/limits.h" 1 3 4
438 # 122 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/limits.h" 3 4
439 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/limits.h" 1 3 4
440 # 144 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/limits.h" 3 4
441 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/posix1_lim.h" 1 3 4
442 # 153 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/posix1_lim.h" 3 4
443 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/local_lim.h" 1 3 4
444 # 36 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/local_lim.h" 3 4
445 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/linux/limits.h" 1 3 4
446 # 37 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/local_lim.h" 2 3 4
447 # 154 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/posix1_lim.h" 2 3 4
448 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/uClibc_local_lim.h" 1 3 4
449 # 155 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/posix1_lim.h" 2 3 4
450 # 145 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/limits.h" 2 3 4
454 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/posix2_lim.h" 1 3 4
455 # 149 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/limits.h" 2 3 4
459 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/xopen_lim.h" 1 3 4
460 # 34 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/xopen_lim.h" 3 4
461 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/stdio_lim.h" 1 3 4
462 # 35 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/xopen_lim.h" 2 3 4
463 # 153 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/limits.h" 2 3 4
464 # 123 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/limits.h" 2 3 4
465 # 8 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/syslimits.h" 2 3 4
466 # 12 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/limits.h" 2 3 4
467 # 51 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/climits" 2 3
468 # 67 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algobase.h" 2 3
469 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/cstdlib" 1 3
470 # 48 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/cstdlib" 3
472 # 49 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/cstdlib" 3
473 # 71 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/cstdlib" 3
474 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 1 3 4
475 # 35 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4
476 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/stddef.h" 1 3 4
477 # 36 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 2 3 4
486 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/waitflags.h" 1 3 4
487 # 45 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 2 3 4
488 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/waitstatus.h" 1 3 4
489 # 65 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/waitstatus.h" 3 4
490 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/endian.h" 1 3 4
491 # 37 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/endian.h" 3 4
492 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/endian.h" 1 3 4
493 # 38 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/endian.h" 2 3 4
494 # 66 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/waitstatus.h" 2 3 4
502 unsigned int __w_termsig:7;
503 unsigned int __w_coredump:1;
504 unsigned int __w_retcode:8;
517 unsigned int __w_stopval:8;
518 unsigned int __w_stopsig:8;
528 # 46 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 2 3 4
529 # 98 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4
552 __extension__ typedef struct
559 # 151 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4
563 extern double atof (__const char *__nptr)
564 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
567 extern int atoi (__const char *__nptr)
568 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
570 extern long int atol (__const char *__nptr)
571 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
577 __extension__ extern long long int atoll (__const char *__nptr)
578 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
585 extern double strtod (__const char *__restrict __nptr,
586 char **__restrict __endptr)
587 throw () __attribute__ ((__nonnull__ (1))) ;
593 extern float strtof (__const char *__restrict __nptr,
594 char **__restrict __endptr) throw () __attribute__ ((__nonnull__ (1))) ;
596 extern long double strtold (__const char *__restrict __nptr,
597 char **__restrict __endptr)
598 throw () __attribute__ ((__nonnull__ (1))) ;
605 extern long int strtol (__const char *__restrict __nptr,
606 char **__restrict __endptr, int __base)
607 throw () __attribute__ ((__nonnull__ (1))) ;
609 extern unsigned long int strtoul (__const char *__restrict __nptr,
610 char **__restrict __endptr, int __base)
611 throw () __attribute__ ((__nonnull__ (1))) ;
617 extern long long int strtoq (__const char *__restrict __nptr,
618 char **__restrict __endptr, int __base)
619 throw () __attribute__ ((__nonnull__ (1))) ;
622 extern unsigned long long int strtouq (__const char *__restrict __nptr,
623 char **__restrict __endptr, int __base)
624 throw () __attribute__ ((__nonnull__ (1))) ;
631 extern long long int strtoll (__const char *__restrict __nptr,
632 char **__restrict __endptr, int __base)
633 throw () __attribute__ ((__nonnull__ (1))) ;
636 extern unsigned long long int strtoull (__const char *__restrict __nptr,
637 char **__restrict __endptr, int __base)
638 throw () __attribute__ ((__nonnull__ (1))) ;
640 # 297 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4
641 extern char *l64a (long int __n) throw () ;
644 extern long int a64l (__const char *__s)
645 throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
650 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 1 3 4
651 # 29 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 3 4
654 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/types.h" 1 3 4
655 # 28 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/types.h" 3 4
656 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/wordsize.h" 1 3 4
657 # 29 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/types.h" 2 3 4
660 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/stddef.h" 1 3 4
661 # 32 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/types.h" 2 3 4
662 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/kernel_types.h" 1 3 4
663 # 10 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/kernel_types.h" 3 4
664 typedef unsigned short __kernel_dev_t;
665 typedef unsigned long __kernel_ino_t;
666 typedef unsigned short __kernel_mode_t;
667 typedef unsigned short __kernel_nlink_t;
668 typedef long __kernel_off_t;
669 typedef int __kernel_pid_t;
670 typedef unsigned int __kernel_ipc_pid_t;
671 typedef unsigned int __kernel_uid_t;
672 typedef unsigned int __kernel_gid_t;
673 typedef unsigned int __kernel_size_t;
674 typedef int __kernel_ssize_t;
675 typedef int __kernel_ptrdiff_t;
676 typedef long __kernel_time_t;
677 typedef long __kernel_suseconds_t;
678 typedef long __kernel_clock_t;
679 typedef int __kernel_daddr_t;
680 typedef char * __kernel_caddr_t;
681 typedef unsigned short __kernel_uid16_t;
682 typedef unsigned short __kernel_gid16_t;
683 typedef unsigned int __kernel_uid32_t;
684 typedef unsigned int __kernel_gid32_t;
685 typedef unsigned short __kernel_old_uid_t;
686 typedef unsigned short __kernel_old_gid_t;
687 typedef long long __kernel_loff_t;
688 typedef __kernel_dev_t __kernel_old_dev_t;
697 # 33 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/types.h" 2 3 4
700 typedef unsigned char __u_char;
701 typedef unsigned short int __u_short;
702 typedef unsigned int __u_int;
703 typedef unsigned long int __u_long;
706 typedef signed char __int8_t;
707 typedef unsigned char __uint8_t;
708 typedef signed short int __int16_t;
709 typedef unsigned short int __uint16_t;
710 typedef signed int __int32_t;
711 typedef unsigned int __uint32_t;
716 __extension__ typedef signed long long int __int64_t;
717 __extension__ typedef unsigned long long int __uint64_t;
725 __extension__ typedef long long int __quad_t;
726 __extension__ typedef unsigned long long int __u_quad_t;
727 # 135 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/types.h" 3 4
728 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/typesizes.h" 1 3 4
729 # 136 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/types.h" 2 3 4
732 __extension__ typedef __u_quad_t __dev_t;
733 __extension__ typedef unsigned int __uid_t;
734 __extension__ typedef unsigned int __gid_t;
735 __extension__ typedef unsigned long int __ino_t;
736 __extension__ typedef __u_quad_t __ino64_t;
737 __extension__ typedef unsigned int __mode_t;
738 __extension__ typedef unsigned int __nlink_t;
739 __extension__ typedef long int __off_t;
740 __extension__ typedef __quad_t __off64_t;
741 __extension__ typedef int __pid_t;
742 __extension__ typedef struct { int __val[2]; } __fsid_t;
743 __extension__ typedef long int __clock_t;
744 __extension__ typedef unsigned long int __rlim_t;
745 __extension__ typedef __u_quad_t __rlim64_t;
746 __extension__ typedef unsigned int __id_t;
747 __extension__ typedef long int __time_t;
748 __extension__ typedef unsigned int __useconds_t;
749 __extension__ typedef long int __suseconds_t;
751 __extension__ typedef int __daddr_t;
752 __extension__ typedef long int __swblk_t;
753 __extension__ typedef int __key_t;
756 __extension__ typedef int __clockid_t;
759 __extension__ typedef void * __timer_t;
762 __extension__ typedef long int __blksize_t;
767 __extension__ typedef long int __blkcnt_t;
768 __extension__ typedef __quad_t __blkcnt64_t;
771 __extension__ typedef unsigned long int __fsblkcnt_t;
772 __extension__ typedef __u_quad_t __fsblkcnt64_t;
775 __extension__ typedef unsigned long int __fsfilcnt_t;
776 __extension__ typedef __u_quad_t __fsfilcnt64_t;
778 __extension__ typedef long int __ssize_t;
782 typedef __off64_t __loff_t;
783 typedef __quad_t *__qaddr_t;
784 typedef char *__caddr_t;
787 __extension__ typedef int __intptr_t;
790 __extension__ typedef unsigned int __socklen_t;
796 typedef __kernel_ipc_pid_t __ipc_pid_t;
800 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/pthreadtypes.h" 1 3 4
801 # 23 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/pthreadtypes.h" 3 4
802 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/sched.h" 1 3 4
803 # 91 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/sched.h" 3 4
806 int __sched_priority;
808 # 24 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/pthreadtypes.h" 2 3 4
811 struct _pthread_fastlock
820 typedef struct _pthread_descr_struct *_pthread_descr;
826 typedef struct __pthread_attr_s
830 struct __sched_param __schedparam;
843 struct _pthread_fastlock __c_lock;
844 _pthread_descr __c_waiting;
852 } pthread_condattr_t;
855 typedef unsigned int pthread_key_t;
865 _pthread_descr __m_owner;
867 struct _pthread_fastlock __m_lock;
875 } pthread_mutexattr_t;
879 typedef int pthread_once_t;
884 typedef struct _pthread_rwlock_t
886 struct _pthread_fastlock __rw_lock;
888 _pthread_descr __rw_writer;
889 _pthread_descr __rw_read_waiting;
890 _pthread_descr __rw_write_waiting;
901 } pthread_rwlockattr_t;
906 typedef volatile int pthread_spinlock_t;
910 struct _pthread_fastlock __ba_lock;
913 _pthread_descr __ba_waiting;
919 } pthread_barrierattr_t;
925 typedef unsigned long int pthread_t;
926 # 207 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/types.h" 2 3 4
927 # 32 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 2 3 4
931 typedef __u_char u_char;
932 typedef __u_short u_short;
933 typedef __u_int u_int;
934 typedef __u_long u_long;
935 typedef __quad_t quad_t;
936 typedef __u_quad_t u_quad_t;
937 typedef __fsid_t fsid_t;
942 typedef __loff_t loff_t;
946 typedef __ino_t ino_t;
953 typedef __ino64_t ino64_t;
958 typedef __dev_t dev_t;
963 typedef __gid_t gid_t;
968 typedef __mode_t mode_t;
973 typedef __nlink_t nlink_t;
978 typedef __uid_t uid_t;
984 typedef __off_t off_t;
991 typedef __off64_t off64_t;
996 typedef __pid_t pid_t;
1001 typedef __id_t id_t;
1006 typedef __ssize_t ssize_t;
1012 typedef __daddr_t daddr_t;
1013 typedef __caddr_t caddr_t;
1019 typedef __key_t key_t;
1020 # 133 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 3 4
1021 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 1 3 4
1022 # 59 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 3 4
1025 typedef __clock_t clock_t;
1029 # 75 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 3 4
1032 typedef __time_t time_t;
1036 # 93 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 3 4
1037 typedef __clockid_t clockid_t;
1038 # 105 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 3 4
1039 typedef __timer_t timer_t;
1040 # 134 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 2 3 4
1044 typedef __useconds_t useconds_t;
1048 typedef __suseconds_t suseconds_t;
1054 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/stddef.h" 1 3 4
1055 # 148 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 2 3 4
1059 typedef unsigned long int ulong;
1060 typedef unsigned short int ushort;
1061 typedef unsigned int uint;
1062 # 195 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 3 4
1063 typedef int int8_t __attribute__ ((__mode__ (__QI__)));
1064 typedef int int16_t __attribute__ ((__mode__ (__HI__)));
1065 typedef int int32_t __attribute__ ((__mode__ (__SI__)));
1066 typedef int int64_t __attribute__ ((__mode__ (__DI__)));
1069 typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__)));
1070 typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__)));
1071 typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__)));
1072 typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__)));
1074 typedef int register_t __attribute__ ((__mode__ (__word__)));
1075 # 220 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 3 4
1076 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/select.h" 1 3 4
1077 # 31 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/select.h" 3 4
1078 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/select.h" 1 3 4
1079 # 32 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/select.h" 2 3 4
1082 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/sigset.h" 1 3 4
1083 # 23 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/sigset.h" 3 4
1084 typedef int __sig_atomic_t;
1091 unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))];
1093 # 35 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/select.h" 2 3 4
1097 typedef __sigset_t sigset_t;
1103 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 1 3 4
1104 # 121 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 3 4
1110 # 45 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/select.h" 2 3 4
1112 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/time.h" 1 3 4
1113 # 73 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/time.h" 3 4
1117 __suseconds_t tv_usec;
1119 # 47 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/select.h" 2 3 4
1120 # 55 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/select.h" 3 4
1121 typedef long int __fd_mask;
1122 # 67 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/select.h" 3 4
1128 __fd_mask fds_bits[1024 / (8 * sizeof (__fd_mask))];
1141 typedef __fd_mask fd_mask;
1142 # 99 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/select.h" 3 4
1144 # 109 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/select.h" 3 4
1145 extern int select (int __nfds, fd_set *__restrict __readfds,
1146 fd_set *__restrict __writefds,
1147 fd_set *__restrict __exceptfds,
1148 struct timeval *__restrict __timeout);
1149 # 121 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/select.h" 3 4
1150 extern int pselect (int __nfds, fd_set *__restrict __readfds,
1151 fd_set *__restrict __writefds,
1152 fd_set *__restrict __exceptfds,
1153 const struct timespec *__restrict __timeout,
1154 const __sigset_t *__restrict __sigmask);
1158 # 221 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 2 3 4
1161 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/sysmacros.h" 1 3 4
1162 # 29 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/sysmacros.h" 3 4
1164 static __inline unsigned int gnu_dev_major (unsigned long long int __dev)
1167 static __inline unsigned int gnu_dev_minor (unsigned long long int __dev)
1170 static __inline unsigned long long int gnu_dev_makedev (unsigned int __major,
1171 unsigned int __minor)
1175 __extension__ static __inline unsigned int
1176 gnu_dev_major (unsigned long long int __dev) throw ()
1178 return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff);
1181 __extension__ static __inline unsigned int
1182 gnu_dev_minor (unsigned long long int __dev) throw ()
1184 return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff);
1187 __extension__ static __inline unsigned long long int
1188 gnu_dev_makedev (unsigned int __major, unsigned int __minor) throw ()
1190 return ((__minor & 0xff) | ((__major & 0xfff) << 8)
1191 | (((unsigned long long int) (__minor & ~0xff)) << 12)
1192 | (((unsigned long long int) (__major & ~0xfff)) << 32));
1194 # 224 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 2 3 4
1199 typedef __blksize_t blksize_t;
1206 typedef __blkcnt_t blkcnt_t;
1210 typedef __fsblkcnt_t fsblkcnt_t;
1214 typedef __fsfilcnt_t fsfilcnt_t;
1215 # 262 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 3 4
1216 typedef __blkcnt64_t blkcnt64_t;
1217 typedef __fsblkcnt64_t fsblkcnt64_t;
1218 typedef __fsfilcnt64_t fsfilcnt64_t;
1224 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/pthreadtypes.h" 1 3 4
1225 # 271 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/types.h" 2 3 4
1229 # 307 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 2 3 4
1236 extern long int random (void) throw ();
1239 extern void srandom (unsigned int __seed) throw ();
1245 extern char *initstate (unsigned int __seed, char *__statebuf,
1246 size_t __statelen) throw () __attribute__ ((__nonnull__ (2)));
1250 extern char *setstate (char *__statebuf) throw () __attribute__ ((__nonnull__ (1)));
1269 extern int random_r (struct random_data *__restrict __buf,
1270 int32_t *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2)));
1272 extern int srandom_r (unsigned int __seed, struct random_data *__buf)
1273 throw () __attribute__ ((__nonnull__ (2)));
1275 extern int initstate_r (unsigned int __seed, char *__restrict __statebuf,
1277 struct random_data *__restrict __buf)
1278 throw () __attribute__ ((__nonnull__ (2, 4)));
1280 extern int setstate_r (char *__restrict __statebuf,
1281 struct random_data *__restrict __buf)
1282 throw () __attribute__ ((__nonnull__ (1, 2)));
1289 extern int rand (void) throw ();
1291 extern void srand (unsigned int __seed) throw ();
1296 extern int rand_r (unsigned int *__seed) throw ();
1297 # 382 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4
1298 extern double drand48 (void) throw ();
1299 extern double erand48 (unsigned short int __xsubi[3]) throw () __attribute__ ((__nonnull__ (1)));
1303 extern long int lrand48 (void) throw ();
1304 extern long int nrand48 (unsigned short int __xsubi[3])
1305 throw () __attribute__ ((__nonnull__ (1)));
1308 extern long int mrand48 (void) throw ();
1309 extern long int jrand48 (unsigned short int __xsubi[3])
1310 throw () __attribute__ ((__nonnull__ (1)));
1313 extern void srand48 (long int __seedval) throw ();
1314 extern unsigned short int *seed48 (unsigned short int __seed16v[3])
1315 throw () __attribute__ ((__nonnull__ (1)));
1316 extern void lcong48 (unsigned short int __param[7]) throw () __attribute__ ((__nonnull__ (1)));
1324 unsigned short int __x[3];
1325 unsigned short int __old_x[3];
1326 unsigned short int __c;
1327 unsigned short int __init;
1328 unsigned long long int __a;
1333 extern int drand48_r (struct drand48_data *__restrict __buffer,
1334 double *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2)));
1335 extern int erand48_r (unsigned short int __xsubi[3],
1336 struct drand48_data *__restrict __buffer,
1337 double *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2)));
1341 extern int lrand48_r (struct drand48_data *__restrict __buffer,
1342 long int *__restrict __result)
1343 throw () __attribute__ ((__nonnull__ (1, 2)));
1344 extern int nrand48_r (unsigned short int __xsubi[3],
1345 struct drand48_data *__restrict __buffer,
1346 long int *__restrict __result)
1347 throw () __attribute__ ((__nonnull__ (1, 2)));
1350 extern int mrand48_r (struct drand48_data *__restrict __buffer,
1351 long int *__restrict __result)
1352 throw () __attribute__ ((__nonnull__ (1, 2)));
1353 extern int jrand48_r (unsigned short int __xsubi[3],
1354 struct drand48_data *__restrict __buffer,
1355 long int *__restrict __result)
1356 throw () __attribute__ ((__nonnull__ (1, 2)));
1359 extern int srand48_r (long int __seedval, struct drand48_data *__buffer)
1360 throw () __attribute__ ((__nonnull__ (2)));
1362 extern int seed48_r (unsigned short int __seed16v[3],
1363 struct drand48_data *__buffer) throw () __attribute__ ((__nonnull__ (1, 2)));
1365 extern int lcong48_r (unsigned short int __param[7],
1366 struct drand48_data *__buffer)
1367 throw () __attribute__ ((__nonnull__ (1, 2)));
1377 extern void *malloc (size_t __size) throw () __attribute__ ((__malloc__)) ;
1379 extern void *calloc (size_t __nmemb, size_t __size)
1380 throw () __attribute__ ((__malloc__)) ;
1388 extern void *realloc (void *__ptr, size_t __size)
1389 throw () __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__));
1391 extern void free (void *__ptr) throw ();
1396 extern void cfree (void *__ptr) throw ();
1400 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/alloca.h" 1 3 4
1401 # 25 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/alloca.h" 3 4
1402 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/stddef.h" 1 3 4
1403 # 26 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/alloca.h" 2 3 4
1411 extern void *alloca (size_t __size) throw ();
1420 # 485 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 2 3 4
1425 extern void *valloc (size_t __size) throw () __attribute__ ((__malloc__)) ;
1430 extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
1431 throw () __attribute__ ((__nonnull__ (1))) ;
1436 extern void abort (void) throw () __attribute__ ((__noreturn__));
1440 extern int atexit (void (*__func) (void)) throw () __attribute__ ((__nonnull__ (1)));
1446 extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg)
1447 throw () __attribute__ ((__nonnull__ (1)));
1454 extern void exit (int __status) throw () __attribute__ ((__noreturn__));
1461 extern void _Exit (int __status) throw () __attribute__ ((__noreturn__));
1468 extern char *getenv (__const char *__name) throw () __attribute__ ((__nonnull__ (1))) ;
1473 extern char *__secure_getenv (__const char *__name)
1474 throw () __attribute__ ((__nonnull__ (1))) ;
1480 extern int putenv (char *__string) throw () __attribute__ ((__nonnull__ (1)));
1486 extern int setenv (__const char *__name, __const char *__value, int __replace)
1487 throw () __attribute__ ((__nonnull__ (2)));
1490 extern int unsetenv (__const char *__name) throw ();
1491 # 570 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4
1492 extern int clearenv (void) throw ();
1493 # 579 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4
1494 extern char *mktemp (char *__template) throw () __attribute__ ((__nonnull__ (1))) ;
1495 # 590 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4
1496 extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ;
1497 # 600 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4
1498 extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))) ;
1499 # 610 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4
1500 extern char *mkdtemp (char *__template) throw () __attribute__ ((__nonnull__ (1))) ;
1509 extern int system (__const char *__command) ;
1511 # 639 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4
1512 extern char *realpath (__const char *__restrict __name,
1513 char *__restrict __resolved) throw () __attribute__ ((__nonnull__ (2)));
1520 typedef int (*__compar_fn_t) (__const void *, __const void *);
1523 typedef __compar_fn_t comparison_fn_t;
1530 extern void *bsearch (__const void *__key, __const void *__base,
1531 size_t __nmemb, size_t __size, __compar_fn_t __compar)
1532 __attribute__ ((__nonnull__ (1, 2, 5))) ;
1536 extern void qsort (void *__base, size_t __nmemb, size_t __size,
1537 __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4)));
1541 extern int abs (int __x) throw () __attribute__ ((__const__)) ;
1542 extern long int labs (long int __x) throw () __attribute__ ((__const__)) ;
1546 __extension__ extern long long int llabs (long long int __x)
1547 throw () __attribute__ ((__const__)) ;
1555 extern div_t div (int __numer, int __denom)
1556 throw () __attribute__ ((__const__)) ;
1557 extern ldiv_t ldiv (long int __numer, long int __denom)
1558 throw () __attribute__ ((__const__)) ;
1563 __extension__ extern lldiv_t lldiv (long long int __numer,
1564 long long int __denom)
1565 throw () __attribute__ ((__const__)) ;
1567 # 720 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4
1568 extern char *gcvt (double __value, int __ndigit, char *__buf)
1569 throw () __attribute__ ((__nonnull__ (3))) ;
1570 # 786 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4
1571 extern int rpmatch (__const char *__response) throw () __attribute__ ((__nonnull__ (1))) ;
1572 # 797 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4
1573 extern int getsubopt (char **__restrict __optionp,
1574 char *__const *__restrict __tokens,
1575 char **__restrict __valuep)
1576 throw () __attribute__ ((__nonnull__ (1, 2, 3))) ;
1582 extern void setkey (__const char *__key) throw () __attribute__ ((__nonnull__ (1)));
1590 extern int posix_openpt (int __oflag) ;
1598 extern int grantpt (int __fd) throw ();
1602 extern int unlockpt (int __fd) throw ();
1607 extern char *ptsname (int __fd) throw () ;
1614 extern int ptsname_r (int __fd, char *__buf, size_t __buflen)
1615 throw () __attribute__ ((__nonnull__ (2)));
1618 extern int getpt (void);
1619 # 863 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdlib.h" 3 4
1621 # 72 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/cstdlib" 2 3
1622 # 103 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/cstdlib" 3
1662 abs(long __i) { return labs(__i); }
1665 div(long __i, long __j) { return ldiv(__i, __j); }
1667 # 68 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algobase.h" 2 3
1669 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/iosfwd" 1 3
1670 # 42 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/iosfwd" 3
1672 # 43 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/iosfwd" 3
1675 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bfin-linux-uclibc/bits/c++locale.h" 1 3
1676 # 39 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bfin-linux-uclibc/bits/c++locale.h" 3
1678 # 40 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bfin-linux-uclibc/bits/c++locale.h" 3
1680 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/clocale" 1 3
1681 # 48 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/clocale" 3
1683 # 49 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/clocale" 3
1685 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/locale.h" 1 3 4
1686 # 29 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/locale.h" 3 4
1687 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/stddef.h" 1 3 4
1688 # 30 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/locale.h" 2 3 4
1689 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/uClibc_locale.h" 1 3 4
1690 # 31 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/locale.h" 2 3 4
1693 # 54 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/locale.h" 3 4
1698 char *decimal_point;
1699 char *thousands_sep;
1711 char *int_curr_symbol;
1712 char *currency_symbol;
1713 char *mon_decimal_point;
1714 char *mon_thousands_sep;
1716 char *positive_sign;
1717 char *negative_sign;
1718 char int_frac_digits;
1723 char p_sep_by_space;
1727 char n_sep_by_space;
1738 char int_p_cs_precedes;
1740 char int_p_sep_by_space;
1742 char int_n_cs_precedes;
1744 char int_n_sep_by_space;
1751 char int_p_sign_posn;
1752 char int_n_sign_posn;
1753 # 121 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/locale.h" 3 4
1760 extern char *setlocale (int __category, __const char *__locale) throw ();
1763 extern struct lconv *localeconv (void) throw ();
1766 # 223 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/locale.h" 3 4
1768 # 51 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/clocale" 2 3
1780 # 42 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bfin-linux-uclibc/bits/c++locale.h" 2 3
1782 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/cstdio" 1 3
1783 # 48 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/cstdio" 3
1785 # 49 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/cstdio" 3
1790 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 1 3 4
1791 # 30 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
1796 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/stddef.h" 1 3 4
1797 # 35 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 2 3 4
1798 # 44 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
1801 typedef struct __STDIO_FILE_STRUCT FILE;
1807 # 62 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
1808 typedef struct __STDIO_FILE_STRUCT __FILE;
1809 # 72 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
1810 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/uClibc_stdio.h" 1 3 4
1811 # 119 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/uClibc_stdio.h" 3 4
1812 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/uClibc_mutex.h" 1 3 4
1813 # 15 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/uClibc_mutex.h" 3 4
1814 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/pthread.h" 1 3 4
1815 # 20 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/pthread.h" 3 4
1816 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sched.h" 1 3 4
1817 # 29 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sched.h" 3 4
1818 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 1 3 4
1819 # 30 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sched.h" 2 3 4
1822 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/sched.h" 1 3 4
1823 # 65 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/sched.h" 3 4
1826 int __sched_priority;
1833 extern int clone (int (*__fn) (void *__arg), void *__child_stack,
1834 int __flags, void *__arg, ...) throw ();
1843 # 106 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/sched.h" 3 4
1844 typedef unsigned long int __cpu_mask;
1853 __cpu_mask __bits[1024 / (8 * sizeof (__cpu_mask))];
1855 # 33 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sched.h" 2 3 4
1863 extern int sched_setparam (__pid_t __pid, __const struct sched_param *__param)
1867 extern int sched_getparam (__pid_t __pid, struct sched_param *__param) throw ();
1870 extern int sched_setscheduler (__pid_t __pid, int __policy,
1871 __const struct sched_param *__param) throw ();
1874 extern int sched_getscheduler (__pid_t __pid) throw ();
1877 extern int sched_yield (void) throw ();
1880 extern int sched_get_priority_max (int __algorithm) throw ();
1883 extern int sched_get_priority_min (int __algorithm) throw ();
1886 extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) throw ();
1887 # 76 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sched.h" 3 4
1888 extern int sched_setaffinity (__pid_t __pid, size_t __cpusetsize,
1889 __const cpu_set_t *__cpuset) throw ();
1892 extern int sched_getaffinity (__pid_t __pid, size_t __cpusetsize,
1893 cpu_set_t *__cpuset) throw ();
1897 # 21 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/pthread.h" 2 3 4
1898 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 1 3 4
1899 # 31 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 3 4
1908 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/stddef.h" 1 3 4
1909 # 40 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 2 3 4
1913 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/time.h" 1 3 4
1914 # 38 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/time.h" 3 4
1915 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/uClibc_clk_tck.h" 1 3 4
1916 # 39 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/time.h" 2 3 4
1917 # 44 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 2 3 4
1918 # 132 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 3 4
1936 __const char *tm_zone;
1953 struct timespec it_interval;
1954 struct timespec it_value;
1959 # 183 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 3 4
1963 extern clock_t clock (void) throw ();
1966 extern time_t time (time_t *__timer) throw ();
1970 extern double difftime (time_t __time1, time_t __time0)
1971 throw () __attribute__ ((__const__));
1975 extern time_t mktime (struct tm *__tp) throw ();
1981 extern size_t strftime (char *__restrict __s, size_t __maxsize,
1982 __const char *__restrict __format,
1983 __const struct tm *__restrict __tp) throw ();
1989 extern char *strptime (__const char *__restrict __s,
1990 __const char *__restrict __fmt, struct tm *__tp)
1992 # 235 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 3 4
1996 extern struct tm *gmtime (__const time_t *__timer) throw ();
2000 extern struct tm *localtime (__const time_t *__timer) throw ();
2006 extern struct tm *gmtime_r (__const time_t *__restrict __timer,
2007 struct tm *__restrict __tp) throw ();
2011 extern struct tm *localtime_r (__const time_t *__restrict __timer,
2012 struct tm *__restrict __tp) throw ();
2018 extern char *asctime (__const struct tm *__tp) throw ();
2021 extern char *ctime (__const time_t *__timer) throw ();
2029 extern char *asctime_r (__const struct tm *__restrict __tp,
2030 char *__restrict __buf) throw ();
2033 extern char *ctime_r (__const time_t *__restrict __timer,
2034 char *__restrict __buf) throw ();
2035 # 291 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 3 4
2036 extern char *tzname[2];
2040 extern void tzset (void) throw ();
2044 extern int daylight;
2045 extern long int timezone;
2051 extern int stime (__const time_t *__when) throw ();
2052 # 321 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 3 4
2053 extern time_t timegm (struct tm *__tp) throw ();
2056 extern time_t timelocal (struct tm *__tp) throw ();
2059 extern int dysize (int __year) throw () __attribute__ ((__const__));
2060 # 336 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 3 4
2061 extern int nanosleep (__const struct timespec *__requested_time,
2062 struct timespec *__remaining);
2066 extern int clock_getres (clockid_t __clock_id, struct timespec *__res) throw ();
2069 extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) throw ();
2072 extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp)
2074 # 368 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 3 4
2075 extern int timer_create (clockid_t __clock_id,
2076 struct sigevent *__restrict __evp,
2077 timer_t *__restrict __timerid) throw ();
2080 extern int timer_delete (timer_t __timerid) throw ();
2083 extern int timer_settime (timer_t __timerid, int __flags,
2084 __const struct itimerspec *__restrict __value,
2085 struct itimerspec *__restrict __ovalue) throw ();
2088 extern int timer_gettime (timer_t __timerid, struct itimerspec *__value)
2092 extern int timer_getoverrun (timer_t __timerid) throw ();
2093 # 431 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 3 4
2095 # 22 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/pthread.h" 2 3 4
2098 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/signal.h" 1 3 4
2099 # 31 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/signal.h" 3 4
2102 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/sigset.h" 1 3 4
2103 # 34 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/signal.h" 2 3 4
2104 # 399 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/signal.h" 3 4
2106 # 25 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/pthread.h" 2 3 4
2107 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/pthreadtypes.h" 1 3 4
2108 # 26 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/pthread.h" 2 3 4
2109 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/initspin.h" 1 3 4
2110 # 27 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/pthread.h" 2 3 4
2114 # 59 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/pthread.h" 3 4
2117 PTHREAD_CREATE_JOINABLE,
2119 PTHREAD_CREATE_DETACHED
2125 PTHREAD_INHERIT_SCHED,
2127 PTHREAD_EXPLICIT_SCHED
2133 PTHREAD_SCOPE_SYSTEM,
2135 PTHREAD_SCOPE_PROCESS
2141 PTHREAD_MUTEX_ADAPTIVE_NP,
2142 PTHREAD_MUTEX_RECURSIVE_NP,
2143 PTHREAD_MUTEX_ERRORCHECK_NP,
2144 PTHREAD_MUTEX_TIMED_NP
2147 PTHREAD_MUTEX_NORMAL = PTHREAD_MUTEX_ADAPTIVE_NP,
2148 PTHREAD_MUTEX_RECURSIVE = PTHREAD_MUTEX_RECURSIVE_NP,
2149 PTHREAD_MUTEX_ERRORCHECK = PTHREAD_MUTEX_ERRORCHECK_NP,
2150 PTHREAD_MUTEX_DEFAULT = PTHREAD_MUTEX_NORMAL
2154 , PTHREAD_MUTEX_FAST_NP = PTHREAD_MUTEX_ADAPTIVE_NP
2160 PTHREAD_PROCESS_PRIVATE,
2162 PTHREAD_PROCESS_SHARED
2169 PTHREAD_RWLOCK_PREFER_READER_NP,
2170 PTHREAD_RWLOCK_PREFER_WRITER_NP,
2171 PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP,
2172 PTHREAD_RWLOCK_DEFAULT_NP = PTHREAD_RWLOCK_PREFER_WRITER_NP
2174 # 131 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/pthread.h" 3 4
2175 struct _pthread_cleanup_buffer
2177 void (*__routine) (void *);
2180 struct _pthread_cleanup_buffer *__prev;
2187 PTHREAD_CANCEL_ENABLE,
2189 PTHREAD_CANCEL_DISABLE
2194 PTHREAD_CANCEL_DEFERRED,
2196 PTHREAD_CANCEL_ASYNCHRONOUS
2199 # 163 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/pthread.h" 3 4
2200 extern int pthread_create (pthread_t *__restrict __threadp,
2201 __const pthread_attr_t *__restrict __attr,
2202 void *(*__start_routine) (void *),
2203 void *__restrict __arg) throw ();
2206 extern pthread_t pthread_self (void) throw ();
2209 extern int pthread_equal (pthread_t __thread1, pthread_t __thread2) throw ();
2212 extern void pthread_exit (void *__retval) __attribute__ ((__noreturn__));
2217 extern int pthread_join (pthread_t __th, void **__thread_return);
2223 extern int pthread_detach (pthread_t __th) throw ();
2231 extern int pthread_attr_init (pthread_attr_t *__attr) throw ();
2234 extern int pthread_attr_destroy (pthread_attr_t *__attr) throw ();
2237 extern int pthread_attr_setdetachstate (pthread_attr_t *__attr,
2238 int __detachstate) throw ();
2241 extern int pthread_attr_getdetachstate (__const pthread_attr_t *__attr,
2242 int *__detachstate) throw ();
2245 extern int pthread_attr_setschedparam (pthread_attr_t *__restrict __attr,
2246 __const struct sched_param *__restrict
2250 extern int pthread_attr_getschedparam (__const pthread_attr_t *__restrict
2252 struct sched_param *__restrict __param)
2256 extern int pthread_attr_setschedpolicy (pthread_attr_t *__attr, int __policy)
2260 extern int pthread_attr_getschedpolicy (__const pthread_attr_t *__restrict
2261 __attr, int *__restrict __policy)
2265 extern int pthread_attr_setinheritsched (pthread_attr_t *__attr,
2266 int __inherit) throw ();
2269 extern int pthread_attr_getinheritsched (__const pthread_attr_t *__restrict
2270 __attr, int *__restrict __inherit)
2274 extern int pthread_attr_setscope (pthread_attr_t *__attr, int __scope)
2278 extern int pthread_attr_getscope (__const pthread_attr_t *__restrict __attr,
2279 int *__restrict __scope) throw ();
2283 extern int pthread_attr_setguardsize (pthread_attr_t *__attr,
2284 size_t __guardsize) throw ();
2287 extern int pthread_attr_getguardsize (__const pthread_attr_t *__restrict
2288 __attr, size_t *__restrict __guardsize)
2296 extern int pthread_attr_setstackaddr (pthread_attr_t *__attr,
2297 void *__stackaddr) throw ();
2300 extern int pthread_attr_getstackaddr (__const pthread_attr_t *__restrict
2301 __attr, void **__restrict __stackaddr)
2308 extern int pthread_attr_setstack (pthread_attr_t *__attr, void *__stackaddr,
2309 size_t __stacksize) throw ();
2312 extern int pthread_attr_getstack (__const pthread_attr_t *__restrict __attr,
2313 void **__restrict __stackaddr,
2314 size_t *__restrict __stacksize) throw ();
2320 extern int pthread_attr_setstacksize (pthread_attr_t *__attr,
2321 size_t __stacksize) throw ();
2324 extern int pthread_attr_getstacksize (__const pthread_attr_t *__restrict
2325 __attr, size_t *__restrict __stacksize)
2327 # 306 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/pthread.h" 3 4
2328 extern int pthread_setschedparam (pthread_t __target_thread, int __policy,
2329 __const struct sched_param *__param)
2333 extern int pthread_getschedparam (pthread_t __target_thread,
2334 int *__restrict __policy,
2335 struct sched_param *__restrict __param)
2340 extern int pthread_getconcurrency (void) throw ();
2343 extern int pthread_setconcurrency (int __level) throw ();
2350 extern int pthread_mutex_init (pthread_mutex_t *__restrict __mutex,
2351 __const pthread_mutexattr_t *__restrict
2352 __mutex_attr) throw ();
2355 extern int pthread_mutex_destroy (pthread_mutex_t *__mutex) throw ();
2358 extern int pthread_mutex_trylock (pthread_mutex_t *__mutex) throw ();
2361 extern int pthread_mutex_lock (pthread_mutex_t *__mutex) throw ();
2365 extern int pthread_mutex_timedlock (pthread_mutex_t *__restrict __mutex,
2366 __const struct timespec *__restrict
2367 __abstime) throw ();
2371 extern int pthread_mutex_unlock (pthread_mutex_t *__mutex) throw ();
2378 extern int pthread_mutexattr_init (pthread_mutexattr_t *__attr) throw ();
2381 extern int pthread_mutexattr_destroy (pthread_mutexattr_t *__attr) throw ();
2384 extern int pthread_mutexattr_getpshared (__const pthread_mutexattr_t *
2386 int *__restrict __pshared) throw ();
2389 extern int pthread_mutexattr_setpshared (pthread_mutexattr_t *__attr,
2390 int __pshared) throw ();
2396 extern int pthread_mutexattr_settype (pthread_mutexattr_t *__attr, int __kind)
2400 extern int pthread_mutexattr_gettype (__const pthread_mutexattr_t *__restrict
2401 __attr, int *__restrict __kind) throw ();
2409 extern int pthread_cond_init (pthread_cond_t *__restrict __cond,
2410 __const pthread_condattr_t *__restrict
2411 __cond_attr) throw ();
2414 extern int pthread_cond_destroy (pthread_cond_t *__cond) throw ();
2417 extern int pthread_cond_signal (pthread_cond_t *__cond) throw ();
2420 extern int pthread_cond_broadcast (pthread_cond_t *__cond) throw ();
2424 extern int pthread_cond_wait (pthread_cond_t *__restrict __cond,
2425 pthread_mutex_t *__restrict __mutex);
2431 extern int pthread_cond_timedwait (pthread_cond_t *__restrict __cond,
2432 pthread_mutex_t *__restrict __mutex,
2433 __const struct timespec *__restrict
2439 extern int pthread_condattr_init (pthread_condattr_t *__attr) throw ();
2442 extern int pthread_condattr_destroy (pthread_condattr_t *__attr) throw ();
2445 extern int pthread_condattr_getpshared (__const pthread_condattr_t *
2447 int *__restrict __pshared) throw ();
2450 extern int pthread_condattr_setpshared (pthread_condattr_t *__attr,
2451 int __pshared) throw ();
2459 extern int pthread_rwlock_init (pthread_rwlock_t *__restrict __rwlock,
2460 __const pthread_rwlockattr_t *__restrict
2464 extern int pthread_rwlock_destroy (pthread_rwlock_t *__rwlock) throw ();
2467 extern int pthread_rwlock_rdlock (pthread_rwlock_t *__rwlock) throw ();
2470 extern int pthread_rwlock_tryrdlock (pthread_rwlock_t *__rwlock) throw ();
2474 extern int pthread_rwlock_timedrdlock (pthread_rwlock_t *__restrict __rwlock,
2475 __const struct timespec *__restrict
2476 __abstime) throw ();
2480 extern int pthread_rwlock_wrlock (pthread_rwlock_t *__rwlock) throw ();
2483 extern int pthread_rwlock_trywrlock (pthread_rwlock_t *__rwlock) throw ();
2487 extern int pthread_rwlock_timedwrlock (pthread_rwlock_t *__restrict __rwlock,
2488 __const struct timespec *__restrict
2489 __abstime) throw ();
2493 extern int pthread_rwlock_unlock (pthread_rwlock_t *__rwlock) throw ();
2499 extern int pthread_rwlockattr_init (pthread_rwlockattr_t *__attr) throw ();
2502 extern int pthread_rwlockattr_destroy (pthread_rwlockattr_t *__attr) throw ();
2505 extern int pthread_rwlockattr_getpshared (__const pthread_rwlockattr_t *
2507 int *__restrict __pshared) throw ();
2510 extern int pthread_rwlockattr_setpshared (pthread_rwlockattr_t *__attr,
2511 int __pshared) throw ();
2514 extern int pthread_rwlockattr_getkind_np (__const pthread_rwlockattr_t *__attr,
2515 int *__pref) throw ();
2518 extern int pthread_rwlockattr_setkind_np (pthread_rwlockattr_t *__attr,
2519 int __pref) throw ();
2520 # 557 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/pthread.h" 3 4
2521 extern int pthread_key_create (pthread_key_t *__key,
2522 void (*__destr_function) (void *)) throw ();
2525 extern int pthread_key_delete (pthread_key_t __key) throw ();
2528 extern int pthread_setspecific (pthread_key_t __key,
2529 __const void *__pointer) throw ();
2532 extern void *pthread_getspecific (pthread_key_t __key) throw ();
2533 # 580 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/pthread.h" 3 4
2534 extern int pthread_once (pthread_once_t *__once_control,
2535 void (*__init_routine) (void));
2542 extern int pthread_setcancelstate (int __state, int *__oldstate);
2546 extern int pthread_setcanceltype (int __type, int *__oldtype);
2549 extern int pthread_cancel (pthread_t __cancelthread);
2554 extern void pthread_testcancel (void);
2555 # 614 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/pthread.h" 3 4
2556 extern void _pthread_cleanup_push (struct _pthread_cleanup_buffer *__buffer,
2557 void (*__routine) (void *),
2558 void *__arg) throw ();
2566 extern void _pthread_cleanup_pop (struct _pthread_cleanup_buffer *__buffer,
2567 int __execute) throw ();
2568 # 635 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/pthread.h" 3 4
2569 extern void _pthread_cleanup_push_defer (struct _pthread_cleanup_buffer *__buffer,
2570 void (*__routine) (void *),
2571 void *__arg) throw ();
2572 extern void __pthread_cleanup_push_defer (struct _pthread_cleanup_buffer *__buffer,
2573 void (*__routine) (void *),
2574 void *__arg) throw ();
2575 # 649 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/pthread.h" 3 4
2576 extern void _pthread_cleanup_pop_restore (struct _pthread_cleanup_buffer *__buffer,
2577 int __execute) throw ();
2578 extern void __pthread_cleanup_pop_restore (struct _pthread_cleanup_buffer *__buffer,
2579 int __execute) throw ();
2580 # 668 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/pthread.h" 3 4
2581 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/sigthread.h" 1 3 4
2582 # 31 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/sigthread.h" 3 4
2583 extern int pthread_sigmask (int __how,
2584 __const __sigset_t *__restrict __newmask,
2585 __sigset_t *__restrict __oldmask)throw ();
2588 extern int pthread_kill (pthread_t __threadid, int __signo) throw ();
2589 # 669 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/pthread.h" 2 3 4
2590 # 684 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/pthread.h" 3 4
2591 extern int pthread_atfork (void (*__prepare) (void),
2592 void (*__parent) (void),
2593 void (*__child) (void)) throw ();
2598 extern void pthread_kill_other_threads_np (void) throw ();
2601 # 16 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/uClibc_mutex.h" 2 3 4
2602 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/uClibc_pthread.h" 1 3 4
2603 # 17 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/uClibc_mutex.h" 2 3 4
2604 # 120 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/uClibc_stdio.h" 2 3 4
2605 # 170 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/uClibc_stdio.h" 3 4
2630 typedef __off64_t __offmax_t;
2631 # 233 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/uClibc_stdio.h" 3 4
2632 struct __STDIO_FILE_STRUCT {
2633 unsigned short __modeflags;
2641 unsigned char __ungot[2];
2645 unsigned char *__bufstart;
2646 unsigned char *__bufend;
2647 unsigned char *__bufpos;
2648 unsigned char *__bufread;
2651 unsigned char *__bufgetc_u;
2654 unsigned char *__bufputc_u;
2660 struct __STDIO_FILE_STRUCT *__nextopen;
2661 # 277 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/uClibc_stdio.h" 3 4
2663 pthread_mutex_t __lock;
2670 # 384 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/uClibc_stdio.h" 3 4
2671 extern int __fgetc_unlocked(FILE *__stream);
2672 extern int __fputc_unlocked(int __c, FILE *__stream);
2673 # 404 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/uClibc_stdio.h" 3 4
2674 extern FILE *__stdin;
2675 # 463 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/uClibc_stdio.h" 3 4
2676 extern FILE *__stdout;
2677 # 73 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 2 3 4
2681 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/stdarg.h" 1 3 4
2682 # 43 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/stdarg.h" 3 4
2683 typedef __builtin_va_list __gnuc_va_list;
2684 # 77 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 2 3 4
2689 typedef __STDIO_fpos_t fpos_t;
2695 typedef __STDIO_fpos64_t fpos64_t;
2696 # 131 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
2697 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/stdio_lim.h" 1 3 4
2698 # 132 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 2 3 4
2703 extern FILE *stdout;
2704 extern FILE *stderr;
2712 extern int remove (__const char *__filename) throw ();
2714 extern int rename (__const char *__old, __const char *__new) throw ();
2724 extern FILE *tmpfile (void);
2725 # 167 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
2726 extern FILE *tmpfile64 (void);
2730 extern char *tmpnam (char *__s) throw ();
2736 extern char *tmpnam_r (char *__s) throw ();
2737 # 189 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
2738 extern char *tempnam (__const char *__dir, __const char *__pfx)
2739 throw () __attribute__ ((__malloc__));
2748 extern int fclose (FILE *__stream);
2753 extern int fflush (FILE *__stream);
2755 # 214 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
2756 extern int fflush_unlocked (FILE *__stream);
2757 # 224 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
2758 extern int fcloseall (void);
2768 extern FILE *fopen (__const char *__restrict __filename,
2769 __const char *__restrict __modes);
2774 extern FILE *freopen (__const char *__restrict __filename,
2775 __const char *__restrict __modes,
2776 FILE *__restrict __stream);
2777 # 255 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
2780 extern FILE *fopen64 (__const char *__restrict __filename,
2781 __const char *__restrict __modes);
2782 extern FILE *freopen64 (__const char *__restrict __filename,
2783 __const char *__restrict __modes,
2784 FILE *__restrict __stream);
2789 extern FILE *fdopen (int __fd, __const char *__modes) throw ();
2790 # 289 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
2794 extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) throw ();
2798 extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
2799 int __modes, size_t __n) throw ();
2805 extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
2806 size_t __size) throw ();
2809 extern void setlinebuf (FILE *__stream) throw ();
2818 extern int fprintf (FILE *__restrict __stream,
2819 __const char *__restrict __format, ...);
2824 extern int printf (__const char *__restrict __format, ...);
2826 extern int sprintf (char *__restrict __s,
2827 __const char *__restrict __format, ...) throw ();
2833 extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format,
2834 __gnuc_va_list __arg);
2839 extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg);
2841 extern int vsprintf (char *__restrict __s, __const char *__restrict __format,
2842 __gnuc_va_list __arg) throw ();
2848 extern int snprintf (char *__restrict __s, size_t __maxlen,
2849 __const char *__restrict __format, ...)
2850 throw () __attribute__ ((__format__ (__printf__, 3, 4)));
2852 extern int vsnprintf (char *__restrict __s, size_t __maxlen,
2853 __const char *__restrict __format, __gnuc_va_list __arg)
2854 throw () __attribute__ ((__format__ (__printf__, 3, 0)));
2861 extern int vasprintf (char **__restrict __ptr, __const char *__restrict __f,
2862 __gnuc_va_list __arg)
2863 throw () __attribute__ ((__format__ (__printf__, 2, 0)));
2869 extern int asprintf (char **__restrict __ptr,
2870 __const char *__restrict __fmt, ...)
2871 throw () __attribute__ ((__format__ (__printf__, 2, 3)));
2879 extern int vdprintf (int __fd, __const char *__restrict __fmt,
2880 __gnuc_va_list __arg)
2881 __attribute__ ((__format__ (__printf__, 2, 0)));
2882 extern int dprintf (int __fd, __const char *__restrict __fmt, ...)
2883 __attribute__ ((__format__ (__printf__, 2, 3)));
2892 extern int fscanf (FILE *__restrict __stream,
2893 __const char *__restrict __format, ...);
2898 extern int scanf (__const char *__restrict __format, ...);
2900 extern int sscanf (__const char *__restrict __s,
2901 __const char *__restrict __format, ...) throw ();
2910 extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format,
2911 __gnuc_va_list __arg)
2912 __attribute__ ((__format__ (__scanf__, 2, 0)));
2918 extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg)
2919 __attribute__ ((__format__ (__scanf__, 1, 0)));
2922 extern int vsscanf (__const char *__restrict __s,
2923 __const char *__restrict __format, __gnuc_va_list __arg)
2924 throw () __attribute__ ((__format__ (__scanf__, 2, 0)));
2934 extern int fgetc (FILE *__stream);
2935 extern int getc (FILE *__stream);
2941 extern int getchar (void);
2943 # 451 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
2944 extern int getc_unlocked (FILE *__stream);
2945 extern int getchar_unlocked (void);
2946 # 465 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
2947 extern int fgetc_unlocked (FILE *__stream);
2959 extern int fputc (int __c, FILE *__stream);
2960 extern int putc (int __c, FILE *__stream);
2966 extern int putchar (int __c);
2968 # 498 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
2969 extern int fputc_unlocked (int __c, FILE *__stream);
2977 extern int putc_unlocked (int __c, FILE *__stream);
2978 extern int putchar_unlocked (int __c);
2979 # 517 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
2980 extern int getw (FILE *__stream);
2983 extern int putw (int __w, FILE *__stream);
2992 extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream);
2999 extern char *gets (char *__s);
3001 # 546 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
3002 extern char *fgets_unlocked (char *__restrict __s, int __n,
3003 FILE *__restrict __stream);
3004 # 567 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
3005 extern __ssize_t getdelim (char **__restrict __lineptr,
3006 size_t *__restrict __n, int __delimiter,
3007 FILE *__restrict __stream);
3015 extern __ssize_t getline (char **__restrict __lineptr,
3016 size_t *__restrict __n,
3017 FILE *__restrict __stream);
3026 extern int fputs (__const char *__restrict __s, FILE *__restrict __stream);
3032 extern int puts (__const char *__s);
3039 extern int ungetc (int __c, FILE *__stream);
3046 extern size_t fread (void *__restrict __ptr, size_t __size,
3047 size_t __n, FILE *__restrict __stream);
3052 extern size_t fwrite (__const void *__restrict __ptr, size_t __size,
3053 size_t __n, FILE *__restrict __s);
3055 # 625 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
3056 extern int fputs_unlocked (__const char *__restrict __s,
3057 FILE *__restrict __stream);
3058 # 636 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
3059 extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
3060 size_t __n, FILE *__restrict __stream);
3061 extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size,
3062 size_t __n, FILE *__restrict __stream);
3071 extern int fseek (FILE *__stream, long int __off, int __whence);
3076 extern long int ftell (FILE *__stream);
3081 extern void rewind (FILE *__stream);
3083 # 672 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
3084 extern int fseeko (FILE *__stream, __off_t __off, int __whence);
3089 extern __off_t ftello (FILE *__stream);
3090 # 691 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
3097 extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos);
3102 extern int fsetpos (FILE *__stream, __const fpos_t *__pos);
3103 # 714 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
3107 extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence);
3108 extern __off64_t ftello64 (FILE *__stream);
3109 extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos);
3110 extern int fsetpos64 (FILE *__stream, __const fpos64_t *__pos);
3115 extern void clearerr (FILE *__stream) throw ();
3117 extern int feof (FILE *__stream) throw ();
3119 extern int ferror (FILE *__stream) throw ();
3124 extern void clearerr_unlocked (FILE *__stream) throw ();
3125 extern int feof_unlocked (FILE *__stream) throw ();
3126 extern int ferror_unlocked (FILE *__stream) throw ();
3135 extern void perror (__const char *__s);
3137 # 760 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
3138 extern int fileno (FILE *__stream) throw ();
3143 extern int fileno_unlocked (FILE *__stream) throw ();
3144 # 775 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
3145 extern FILE *popen (__const char *__command, __const char *__modes);
3151 extern int pclose (FILE *__stream);
3157 extern char *ctermid (char *__s) throw ();
3163 extern char *cuserid (char *__s);
3164 # 815 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
3165 extern void flockfile (FILE *__stream) throw ();
3169 extern int ftrylockfile (FILE *__stream) throw ();
3172 extern void funlockfile (FILE *__stream) throw ();
3173 # 869 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
3175 # 54 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/cstdio" 2 3
3176 # 98 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/cstdio" 3
3224 # 154 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/cstdio" 3
3227 # 169 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/cstdio" 3
3238 using __gnu_cxx::snprintf;
3239 using __gnu_cxx::vfscanf;
3240 using __gnu_cxx::vscanf;
3241 using __gnu_cxx::vsnprintf;
3242 using __gnu_cxx::vsscanf;
3244 # 44 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bfin-linux-uclibc/bits/c++locale.h" 2 3
3250 typedef int* __c_locale;
3256 template<typename _Tv>
3258 __convert_from_v(char* __out,
3259 const int __size __attribute__((__unused__)),
3261 _Tv __v, const __c_locale&, int __prec)
3263 char* __old = std::setlocale(1, __null);
3264 char* __sav = __null;
3265 if (std::strcmp(__old, "C"))
3267 __sav = new char[std::strlen(__old) + 1];
3268 std::strcpy(__sav, __old);
3269 std::setlocale(1, "C");
3275 const int __ret = std::sprintf(__out, __fmt, __prec, __v);
3280 std::setlocale(1, __sav);
3286 # 46 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/iosfwd" 2 3
3287 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bfin-linux-uclibc/bits/c++io.h" 1 3
3288 # 38 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bfin-linux-uclibc/bits/c++io.h" 3
3289 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bfin-linux-uclibc/bits/gthr.h" 1 3
3290 # 33 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bfin-linux-uclibc/bits/gthr.h" 3
3291 #pragma GCC visibility push(default)
3292 # 114 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bfin-linux-uclibc/bits/gthr.h" 3
3293 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bfin-linux-uclibc/bits/gthr-default.h" 1 3
3294 # 44 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bfin-linux-uclibc/bits/gthr-default.h" 3
3295 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 1 3 4
3296 # 28 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 3 4
3298 # 171 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 3 4
3299 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/posix_opt.h" 1 3 4
3300 # 172 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 2 3 4
3304 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/environments.h" 1 3 4
3305 # 23 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/environments.h" 3 4
3306 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/wordsize.h" 1 3 4
3307 # 24 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/environments.h" 2 3 4
3308 # 176 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 2 3 4
3309 # 195 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 3 4
3310 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/stddef.h" 1 3 4
3311 # 196 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 2 3 4
3312 # 236 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 3 4
3313 typedef __intptr_t intptr_t;
3320 typedef __socklen_t socklen_t;
3321 # 256 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 3 4
3322 extern int access (__const char *__name, int __type) throw () __attribute__ ((__nonnull__ (1)));
3323 # 299 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 3 4
3324 extern __off_t lseek (int __fd, __off_t __offset, int __whence) throw ();
3325 # 310 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 3 4
3326 extern __off64_t lseek64 (int __fd, __off64_t __offset, int __whence)
3334 extern int close (int __fd);
3341 extern ssize_t read (int __fd, void *__buf, size_t __nbytes) ;
3347 extern ssize_t write (int __fd, __const void *__buf, size_t __n) ;
3348 # 341 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 3 4
3349 extern ssize_t pread (int __fd, void *__buf, size_t __nbytes,
3357 extern ssize_t pwrite (int __fd, __const void *__buf, size_t __n,
3359 # 369 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 3 4
3360 extern ssize_t pread64 (int __fd, void *__buf, size_t __nbytes,
3361 __off64_t __offset) ;
3364 extern ssize_t pwrite64 (int __fd, __const void *__buf, size_t __n,
3365 __off64_t __offset) ;
3373 extern int pipe (int __pipedes[2]) throw () ;
3374 # 391 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 3 4
3375 extern unsigned int alarm (unsigned int __seconds) throw ();
3376 # 403 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 3 4
3377 extern unsigned int sleep (unsigned int __seconds);
3384 extern __useconds_t ualarm (__useconds_t __value, __useconds_t __interval)
3392 extern int usleep (__useconds_t __useconds);
3393 # 427 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 3 4
3394 extern int pause (void);
3398 extern int chown (__const char *__file, __uid_t __owner, __gid_t __group)
3399 throw () __attribute__ ((__nonnull__ (1))) ;
3403 extern int fchown (int __fd, __uid_t __owner, __gid_t __group) throw () ;
3408 extern int lchown (__const char *__file, __uid_t __owner, __gid_t __group)
3409 throw () __attribute__ ((__nonnull__ (1))) ;
3410 # 455 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 3 4
3411 extern int chdir (__const char *__path) throw () __attribute__ ((__nonnull__ (1))) ;
3415 extern int fchdir (int __fd) throw () ;
3416 # 469 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 3 4
3417 extern char *getcwd (char *__buf, size_t __size) throw () ;
3423 extern char *get_current_dir_name (void) throw ();
3424 # 488 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 3 4
3425 extern int dup (int __fd) throw () ;
3428 extern int dup2 (int __fd, int __fd2) throw ();
3431 extern char **__environ;
3433 extern char **environ;
3439 extern int execve (__const char *__path, char *__const __argv[],
3440 char *__const __envp[]) throw () __attribute__ ((__nonnull__ (1)));
3441 # 514 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 3 4
3442 extern int execv (__const char *__path, char *__const __argv[])
3443 throw () __attribute__ ((__nonnull__ (1)));
3447 extern int execle (__const char *__path, __const char *__arg, ...)
3448 throw () __attribute__ ((__nonnull__ (1)));
3452 extern int execl (__const char *__path, __const char *__arg, ...)
3453 throw () __attribute__ ((__nonnull__ (1)));
3457 extern int execvp (__const char *__file, char *__const __argv[])
3458 throw () __attribute__ ((__nonnull__ (1)));
3463 extern int execlp (__const char *__file, __const char *__arg, ...)
3464 throw () __attribute__ ((__nonnull__ (1)));
3469 extern int nice (int __inc) throw () ;
3474 extern void _exit (int __status) __attribute__ ((__noreturn__));
3480 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/confname.h" 1 3 4
3481 # 26 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/confname.h" 3 4
3496 _PC_CHOWN_RESTRICTED,
3512 _PC_REC_INCR_XFER_SIZE,
3514 _PC_REC_MAX_XFER_SIZE,
3516 _PC_REC_MIN_XFER_SIZE,
3549 _SC_REALTIME_SIGNALS,
3551 _SC_PRIORITY_SCHEDULING,
3555 _SC_ASYNCHRONOUS_IO,
3559 _SC_SYNCHRONIZED_IO,
3569 _SC_MEMORY_PROTECTION,
3571 _SC_MESSAGE_PASSING,
3575 _SC_SHARED_MEMORY_OBJECTS,
3581 _SC_AIO_PRIO_DELTA_MAX,
3615 _SC_COLL_WEIGHTS_MAX,
3617 _SC_EQUIV_CLASS_MAX,
3625 _SC_CHARCLASS_NAME_MAX,
3659 _SC_IOV_MAX = _SC_UIO_MAXIOV,
3661 _SC_PII_INTERNET_STREAM,
3663 _SC_PII_INTERNET_DGRAM,
3677 _SC_THREAD_SAFE_FUNCTIONS,
3679 _SC_GETGR_R_SIZE_MAX,
3681 _SC_GETPW_R_SIZE_MAX,
3687 _SC_THREAD_DESTRUCTOR_ITERATIONS,
3689 _SC_THREAD_KEYS_MAX,
3691 _SC_THREAD_STACK_MIN,
3693 _SC_THREAD_THREADS_MAX,
3695 _SC_THREAD_ATTR_STACKADDR,
3697 _SC_THREAD_ATTR_STACKSIZE,
3699 _SC_THREAD_PRIORITY_SCHEDULING,
3701 _SC_THREAD_PRIO_INHERIT,
3703 _SC_THREAD_PRIO_PROTECT,
3705 _SC_THREAD_PROCESS_SHARED,
3708 _SC_NPROCESSORS_CONF,
3710 _SC_NPROCESSORS_ONLN,
3723 _SC_XOPEN_XCU_VERSION,
3798 _SC_XBS5_ILP32_OFF32,
3800 _SC_XBS5_ILP32_OFFBIG,
3802 _SC_XBS5_LP64_OFF64,
3804 _SC_XBS5_LPBIG_OFFBIG,
3811 _SC_XOPEN_REALTIME_THREADS,
3822 _SC_C_LANG_SUPPORT_R,
3824 _SC_CLOCK_SELECTION,
3832 _SC_DEVICE_SPECIFIC,
3834 _SC_DEVICE_SPECIFIC_R,
3842 _SC_FILE_ATTRIBUTES,
3848 _SC_MONOTONIC_CLOCK,
3856 _SC_READER_WRITER_LOCKS,
3870 _SC_SPORADIC_SERVER,
3872 _SC_THREAD_SPORADIC_SERVER,
3874 _SC_SYSTEM_DATABASE,
3876 _SC_SYSTEM_DATABASE_R,
3880 _SC_TYPED_MEMORY_OBJECTS,
3888 _SC_2_PBS_ACCOUNTING,
3900 _SC_2_PBS_CHECKPOINT,
3905 _SC_V6_ILP32_OFFBIG,
3909 _SC_V6_LPBIG_OFFBIG,
3916 _SC_TRACE_EVENT_FILTER,
3923 _SC_LEVEL1_ICACHE_SIZE,
3925 _SC_LEVEL1_ICACHE_ASSOC,
3927 _SC_LEVEL1_ICACHE_LINESIZE,
3929 _SC_LEVEL1_DCACHE_SIZE,
3931 _SC_LEVEL1_DCACHE_ASSOC,
3933 _SC_LEVEL1_DCACHE_LINESIZE,
3935 _SC_LEVEL2_CACHE_SIZE,
3937 _SC_LEVEL2_CACHE_ASSOC,
3939 _SC_LEVEL2_CACHE_LINESIZE,
3941 _SC_LEVEL3_CACHE_SIZE,
3943 _SC_LEVEL3_CACHE_ASSOC,
3945 _SC_LEVEL3_CACHE_LINESIZE,
3947 _SC_LEVEL4_CACHE_SIZE,
3949 _SC_LEVEL4_CACHE_ASSOC,
3951 _SC_LEVEL4_CACHE_LINESIZE,
3955 _SC_IPV6 = _SC_LEVEL1_ICACHE_SIZE + 50,
3970 _CS_V6_WIDTH_RESTRICTED_ENVS,
3975 _CS_LFS_CFLAGS = 1000,
3989 _CS_LFS64_LINTFLAGS,
3994 _CS_XBS5_ILP32_OFF32_CFLAGS = 1100,
3996 _CS_XBS5_ILP32_OFF32_LDFLAGS,
3998 _CS_XBS5_ILP32_OFF32_LIBS,
4000 _CS_XBS5_ILP32_OFF32_LINTFLAGS,
4002 _CS_XBS5_ILP32_OFFBIG_CFLAGS,
4004 _CS_XBS5_ILP32_OFFBIG_LDFLAGS,
4006 _CS_XBS5_ILP32_OFFBIG_LIBS,
4008 _CS_XBS5_ILP32_OFFBIG_LINTFLAGS,
4010 _CS_XBS5_LP64_OFF64_CFLAGS,
4012 _CS_XBS5_LP64_OFF64_LDFLAGS,
4014 _CS_XBS5_LP64_OFF64_LIBS,
4016 _CS_XBS5_LP64_OFF64_LINTFLAGS,
4018 _CS_XBS5_LPBIG_OFFBIG_CFLAGS,
4020 _CS_XBS5_LPBIG_OFFBIG_LDFLAGS,
4022 _CS_XBS5_LPBIG_OFFBIG_LIBS,
4024 _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS,
4028 _CS_POSIX_V6_ILP32_OFF32_CFLAGS,
4030 _CS_POSIX_V6_ILP32_OFF32_LDFLAGS,
4032 _CS_POSIX_V6_ILP32_OFF32_LIBS,
4034 _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS,
4036 _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS,
4038 _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS,
4040 _CS_POSIX_V6_ILP32_OFFBIG_LIBS,
4042 _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS,
4044 _CS_POSIX_V6_LP64_OFF64_CFLAGS,
4046 _CS_POSIX_V6_LP64_OFF64_LDFLAGS,
4048 _CS_POSIX_V6_LP64_OFF64_LIBS,
4050 _CS_POSIX_V6_LP64_OFF64_LINTFLAGS,
4052 _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS,
4054 _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS,
4056 _CS_POSIX_V6_LPBIG_OFFBIG_LIBS,
4058 _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS
4062 # 553 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 2 3 4
4065 extern long int pathconf (__const char *__path, int __name)
4066 throw () __attribute__ ((__nonnull__ (1)));
4069 extern long int fpathconf (int __fd, int __name) throw ();
4072 extern long int sysconf (int __name) throw ();
4076 extern size_t confstr (int __name, char *__buf, size_t __len) throw ();
4081 extern __pid_t getpid (void) throw ();
4084 extern __pid_t getppid (void) throw ();
4089 extern __pid_t getpgrp (void) throw ();
4090 # 589 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 3 4
4091 extern __pid_t __getpgid (__pid_t __pid) throw ();
4093 extern __pid_t getpgid (__pid_t __pid) throw ();
4100 extern int setpgid (__pid_t __pid, __pid_t __pgid) throw ();
4101 # 615 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 3 4
4102 extern int setpgrp (void) throw ();
4103 # 632 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 3 4
4104 extern __pid_t setsid (void) throw ();
4108 extern __pid_t getsid (__pid_t __pid) throw ();
4112 extern __uid_t getuid (void) throw ();
4115 extern __uid_t geteuid (void) throw ();
4118 extern __gid_t getgid (void) throw ();
4121 extern __gid_t getegid (void) throw ();
4126 extern int getgroups (int __size, __gid_t __list[]) throw () ;
4127 # 665 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 3 4
4128 extern int setuid (__uid_t __uid) throw ();
4133 extern int setreuid (__uid_t __ruid, __uid_t __euid) throw ();
4138 extern int seteuid (__uid_t __uid) throw ();
4145 extern int setgid (__gid_t __gid) throw ();
4150 extern int setregid (__gid_t __rgid, __gid_t __egid) throw ();
4155 extern int setegid (__gid_t __gid) throw ();
4161 extern int getresuid (__uid_t *__ruid, __uid_t *__euid, __uid_t *__suid)
4166 extern int getresgid (__gid_t *__rgid, __gid_t *__egid, __gid_t *__sgid)
4171 extern int setresuid (__uid_t __ruid, __uid_t __euid, __uid_t __suid)
4176 extern int setresgid (__gid_t __rgid, __gid_t __egid, __gid_t __sgid)
4185 extern __pid_t fork (void) throw ();
4193 extern __pid_t vfork (void) throw ();
4199 extern char *ttyname (int __fd) throw ();
4203 extern int ttyname_r (int __fd, char *__buf, size_t __buflen)
4204 throw () __attribute__ ((__nonnull__ (2))) ;
4208 extern int isatty (int __fd) throw ();
4209 # 756 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 3 4
4210 extern int link (__const char *__from, __const char *__to)
4211 throw () __attribute__ ((__nonnull__ (1, 2))) ;
4212 # 769 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 3 4
4213 extern int symlink (__const char *__from, __const char *__to)
4214 throw () __attribute__ ((__nonnull__ (1, 2))) ;
4219 extern ssize_t readlink (__const char *__restrict __path,
4220 char *__restrict __buf, size_t __len)
4221 throw () __attribute__ ((__nonnull__ (1, 2))) ;
4222 # 792 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 3 4
4223 extern int unlink (__const char *__name) throw () __attribute__ ((__nonnull__ (1)));
4224 # 801 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 3 4
4225 extern int rmdir (__const char *__path) throw () __attribute__ ((__nonnull__ (1)));
4229 extern __pid_t tcgetpgrp (int __fd) throw ();
4232 extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) throw ();
4239 extern char *getlogin (void);
4247 extern int getlogin_r (char *__name, size_t __name_len) __attribute__ ((__nonnull__ (1)));
4248 # 838 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 3 4
4249 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/getopt.h" 1 3 4
4250 # 52 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/getopt.h" 3 4
4252 # 61 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/getopt.h" 3 4
4253 extern char *optarg;
4254 # 75 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/getopt.h" 3 4
4265 # 154 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/getopt.h" 3 4
4266 extern int getopt (int ___argc, char *const *___argv, const char *__shortopts)
4268 # 175 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/getopt.h" 3 4
4270 # 839 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 2 3 4
4278 extern int gethostname (char *__name, size_t __len) throw () __attribute__ ((__nonnull__ (1)));
4285 extern int sethostname (__const char *__name, size_t __len)
4286 throw () __attribute__ ((__nonnull__ (1))) ;
4290 extern int sethostid (long int __id) throw () ;
4296 extern int getdomainname (char *__name, size_t __len)
4297 throw () __attribute__ ((__nonnull__ (1))) ;
4298 extern int setdomainname (__const char *__name, size_t __len)
4299 throw () __attribute__ ((__nonnull__ (1))) ;
4305 extern int vhangup (void) throw ();
4306 # 894 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 3 4
4307 extern int acct (__const char *__name) throw ();
4311 extern char *getusershell (void) throw ();
4312 extern void endusershell (void) throw ();
4313 extern void setusershell (void) throw ();
4314 # 915 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 3 4
4315 extern int chroot (__const char *__path) throw () __attribute__ ((__nonnull__ (1))) ;
4319 extern char *getpass (__const char *__prompt) __attribute__ ((__nonnull__ (1)));
4320 # 928 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 3 4
4321 extern int fsync (int __fd);
4328 extern long int gethostid (void);
4331 extern void sync (void) throw ();
4336 extern int getpagesize (void) throw () __attribute__ ((__const__));
4341 extern int getdtablesize (void) throw ();
4346 extern int truncate (__const char *__file, __off_t __length)
4347 throw () __attribute__ ((__nonnull__ (1))) ;
4348 # 965 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 3 4
4349 extern int truncate64 (__const char *__file, __off64_t __length)
4350 throw () __attribute__ ((__nonnull__ (1))) ;
4351 # 975 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 3 4
4352 extern int ftruncate (int __fd, __off_t __length) throw () ;
4353 # 985 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 3 4
4354 extern int ftruncate64 (int __fd, __off64_t __length) throw () ;
4355 # 995 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 3 4
4356 extern int brk (void *__addr) throw () ;
4362 extern void *sbrk (intptr_t __delta) throw ();
4363 # 1016 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 3 4
4364 extern long int syscall (long int __sysno, ...) throw ();
4365 # 1039 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 3 4
4366 extern int lockf (int __fd, int __cmd, __off_t __len) ;
4367 # 1049 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 3 4
4368 extern int lockf64 (int __fd, int __cmd, __off64_t __len) ;
4369 # 1070 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 3 4
4370 extern int fdatasync (int __fildes) throw ();
4378 extern char *crypt (__const char *__key, __const char *__salt)
4379 throw () __attribute__ ((__nonnull__ (1, 2)));
4383 extern void encrypt (char *__block, int __edflag) throw () __attribute__ ((__nonnull__ (1)));
4390 extern void swab (__const void *__restrict __from, void *__restrict __to,
4391 ssize_t __n) throw () __attribute__ ((__nonnull__ (1, 2)));
4399 extern char *ctermid (char *__s) throw ();
4400 # 1108 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/unistd.h" 3 4
4402 # 45 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bfin-linux-uclibc/bits/gthr-default.h" 2 3
4404 typedef pthread_key_t __gthread_key_t;
4405 typedef pthread_once_t __gthread_once_t;
4406 typedef pthread_mutex_t __gthread_mutex_t;
4407 typedef pthread_mutex_t __gthread_recursive_mutex_t;
4408 # 88 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bfin-linux-uclibc/bits/gthr-default.h" 3
4409 extern __typeof(pthread_once) __gthrw_pthread_once __attribute__ ((__weakref__("pthread_once")));
4410 extern __typeof(pthread_getspecific) __gthrw_pthread_getspecific __attribute__ ((__weakref__("pthread_getspecific")));
4411 extern __typeof(pthread_setspecific) __gthrw_pthread_setspecific __attribute__ ((__weakref__("pthread_setspecific")));
4412 extern __typeof(pthread_create) __gthrw_pthread_create __attribute__ ((__weakref__("pthread_create")));
4413 extern __typeof(pthread_cancel) __gthrw_pthread_cancel __attribute__ ((__weakref__("pthread_cancel")));
4414 extern __typeof(pthread_mutex_lock) __gthrw_pthread_mutex_lock __attribute__ ((__weakref__("pthread_mutex_lock")));
4415 extern __typeof(pthread_mutex_trylock) __gthrw_pthread_mutex_trylock __attribute__ ((__weakref__("pthread_mutex_trylock")));
4416 extern __typeof(pthread_mutex_unlock) __gthrw_pthread_mutex_unlock __attribute__ ((__weakref__("pthread_mutex_unlock")));
4417 extern __typeof(pthread_mutex_init) __gthrw_pthread_mutex_init __attribute__ ((__weakref__("pthread_mutex_init")));
4420 extern __typeof(pthread_key_create) __gthrw_pthread_key_create __attribute__ ((__weakref__("pthread_key_create")));
4421 extern __typeof(pthread_key_delete) __gthrw_pthread_key_delete __attribute__ ((__weakref__("pthread_key_delete")));
4422 extern __typeof(pthread_mutexattr_init) __gthrw_pthread_mutexattr_init __attribute__ ((__weakref__("pthread_mutexattr_init")));
4423 extern __typeof(pthread_mutexattr_settype) __gthrw_pthread_mutexattr_settype __attribute__ ((__weakref__("pthread_mutexattr_settype")));
4424 extern __typeof(pthread_mutexattr_destroy) __gthrw_pthread_mutexattr_destroy __attribute__ ((__weakref__("pthread_mutexattr_destroy")));
4425 # 145 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bfin-linux-uclibc/bits/gthr-default.h" 3
4427 __gthread_active_p (void)
4429 static void *const __gthread_active_ptr
4430 = __extension__ (void *) &__gthrw_pthread_cancel;
4431 return __gthread_active_ptr != 0;
4433 # 512 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bfin-linux-uclibc/bits/gthr-default.h" 3
4435 __gthread_once (__gthread_once_t *once, void (*func) (void))
4437 if (__gthread_active_p ())
4438 return __gthrw_pthread_once (once, func);
4444 __gthread_key_create (__gthread_key_t *key, void (*dtor) (void *))
4446 return __gthrw_pthread_key_create (key, dtor);
4450 __gthread_key_delete (__gthread_key_t key)
4452 return __gthrw_pthread_key_delete (key);
4455 static inline void *
4456 __gthread_getspecific (__gthread_key_t key)
4458 return __gthrw_pthread_getspecific (key);
4462 __gthread_setspecific (__gthread_key_t key, const void *ptr)
4464 return __gthrw_pthread_setspecific (key, ptr);
4468 __gthread_mutex_lock (__gthread_mutex_t *mutex)
4470 if (__gthread_active_p ())
4471 return __gthrw_pthread_mutex_lock (mutex);
4477 __gthread_mutex_trylock (__gthread_mutex_t *mutex)
4479 if (__gthread_active_p ())
4480 return __gthrw_pthread_mutex_trylock (mutex);
4486 __gthread_mutex_unlock (__gthread_mutex_t *mutex)
4488 if (__gthread_active_p ())
4489 return __gthrw_pthread_mutex_unlock (mutex);
4493 # 594 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bfin-linux-uclibc/bits/gthr-default.h" 3
4495 __gthread_recursive_mutex_lock (__gthread_recursive_mutex_t *mutex)
4497 return __gthread_mutex_lock (mutex);
4501 __gthread_recursive_mutex_trylock (__gthread_recursive_mutex_t *mutex)
4503 return __gthread_mutex_trylock (mutex);
4507 __gthread_recursive_mutex_unlock (__gthread_recursive_mutex_t *mutex)
4509 return __gthread_mutex_unlock (mutex);
4511 # 115 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bfin-linux-uclibc/bits/gthr.h" 2 3
4519 #pragma GCC visibility pop
4520 # 39 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bfin-linux-uclibc/bits/c++io.h" 2 3
4524 typedef __gthread_mutex_t __c_lock;
4527 typedef FILE __c_file;
4529 # 47 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/iosfwd" 2 3
4530 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/cctype" 1 3
4531 # 48 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/cctype" 3
4533 # 49 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/cctype" 3
4536 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/ctype.h" 1 3 4
4537 # 32 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/ctype.h" 3 4
4539 # 41 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/ctype.h" 3 4
4542 _ISupper = (1 << (0)),
4543 _ISlower = (1 << (1)),
4544 _ISalpha = (1 << (2)),
4545 _ISdigit = (1 << (3)),
4546 _ISxdigit = (1 << (4)),
4547 _ISspace = (1 << (5)),
4548 _ISprint = (1 << (6)),
4549 _ISgraph = (1 << (7)),
4550 _ISblank = (1 << (8)),
4551 _IScntrl = (1 << (9)),
4552 _ISpunct = (1 << (10)),
4553 _ISalnum = (1 << (11))
4559 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/uClibc_touplow.h" 1 3 4
4560 # 38 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/uClibc_touplow.h" 3 4
4561 typedef __uint16_t __ctype_mask_t;
4565 typedef __int16_t __ctype_touplow_t;
4566 # 61 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/ctype.h" 2 3 4
4567 # 103 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/ctype.h" 3 4
4568 extern const __ctype_mask_t *__C_ctype_b;
4569 extern const __ctype_touplow_t *__C_ctype_toupper;
4570 extern const __ctype_touplow_t *__C_ctype_tolower;
4571 # 123 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/ctype.h" 3 4
4572 extern const __ctype_mask_t *__ctype_b;
4573 extern const __ctype_touplow_t *__ctype_toupper;
4574 extern const __ctype_touplow_t *__ctype_tolower;
4575 # 148 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/ctype.h" 3 4
4582 extern int isalnum (int) throw ();
4583 extern int isalpha (int) throw ();
4584 extern int iscntrl (int) throw ();
4585 extern int isdigit (int) throw ();
4586 extern int islower (int) throw ();
4587 extern int isgraph (int) throw ();
4588 extern int isprint (int) throw ();
4589 extern int ispunct (int) throw ();
4590 extern int isspace (int) throw ();
4591 extern int isupper (int) throw ();
4592 extern int isxdigit (int) throw ();
4596 extern int tolower (int __c) throw ();
4599 extern int toupper (int __c) throw ();
4608 extern int isblank (int) throw ();
4615 extern int isctype (int __c, int __mask) throw ();
4622 extern int isascii (int __c) throw ();
4626 extern int toascii (int __c) throw ();
4630 extern int _toupper (int) throw ();
4631 extern int _tolower (int) throw ();
4632 # 375 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/ctype.h" 3 4
4634 # 52 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/cctype" 2 3
4635 # 68 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/cctype" 3
4652 # 48 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/iosfwd" 2 3
4653 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stringfwd.h" 1 3
4654 # 42 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stringfwd.h" 3
4656 # 43 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stringfwd.h" 3
4662 template<typename _Alloc>
4665 template<class _CharT>
4668 template<typename _CharT, typename _Traits = char_traits<_CharT>,
4669 typename _Alloc = allocator<_CharT> >
4672 template<> struct char_traits<char>;
4674 typedef basic_string<char> string;
4682 # 49 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/iosfwd" 2 3
4683 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/postypes.h" 1 3
4684 # 44 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/postypes.h" 3
4686 # 45 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/postypes.h" 3
4688 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/cwchar" 1 3
4689 # 48 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/cwchar" 3
4691 # 49 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/cwchar" 3
4695 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/ctime" 1 3
4696 # 48 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/ctime" 3
4698 # 49 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/ctime" 3
4699 # 65 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/ctime" 3
4716 # 53 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/cwchar" 2 3
4717 # 61 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/cwchar" 3
4731 # 47 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/postypes.h" 2 3
4734 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdint.h" 1 3 4
4735 # 30 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdint.h" 3 4
4736 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/wordsize.h" 1 3 4
4737 # 31 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdint.h" 2 3 4
4738 # 51 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdint.h" 3 4
4739 typedef unsigned char uint8_t;
4740 typedef unsigned short int uint16_t;
4742 typedef unsigned int uint32_t;
4749 typedef unsigned long long int uint64_t;
4756 typedef signed char int_least8_t;
4757 typedef short int int_least16_t;
4758 typedef int int_least32_t;
4763 typedef long long int int_least64_t;
4767 typedef unsigned char uint_least8_t;
4768 typedef unsigned short int uint_least16_t;
4769 typedef unsigned int uint_least32_t;
4774 typedef unsigned long long int uint_least64_t;
4781 typedef signed char int_fast8_t;
4787 typedef int int_fast16_t;
4788 typedef int int_fast32_t;
4790 typedef long long int int_fast64_t;
4794 typedef unsigned char uint_fast8_t;
4800 typedef unsigned int uint_fast16_t;
4801 typedef unsigned int uint_fast32_t;
4803 typedef unsigned long long int uint_fast64_t;
4804 # 131 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdint.h" 3 4
4805 typedef unsigned int uintptr_t;
4806 # 140 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdint.h" 3 4
4808 typedef long long int intmax_t;
4810 typedef unsigned long long int uintmax_t;
4811 # 50 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/postypes.h" 2 3
4816 # 72 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/postypes.h" 3
4817 typedef int64_t streamoff;
4823 typedef ptrdiff_t streamsize;
4825 template<typename _StateT>
4827 # 94 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/postypes.h" 3
4828 template<typename _StateT>
4841 : _M_off(0), _M_state() { }
4842 # 116 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/postypes.h" 3
4843 fpos(streamoff __off)
4844 : _M_off(__off), _M_state() { }
4847 operator streamoff() const { return _M_off; }
4852 { _M_state = __st; }
4857 { return _M_state; }
4865 operator==(const fpos& __other) const
4866 { return _M_off == __other._M_off; }
4870 operator!=(const fpos& __other) const
4871 { return _M_off != __other._M_off; }
4878 operator+=(streamoff __off)
4889 operator-=(streamoff __off)
4902 operator+(streamoff __off) const
4916 operator-(streamoff __off) const
4929 operator-(const fpos& __other) const
4930 { return _M_off - __other._M_off; }
4937 typedef fpos<mbstate_t> streampos;
4939 typedef fpos<mbstate_t> wstreampos;
4941 # 50 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/iosfwd" 2 3
4946 template<typename _CharT, typename _Traits = char_traits<_CharT> >
4949 template<typename _CharT, typename _Traits = char_traits<_CharT> >
4950 class basic_streambuf;
4952 template<typename _CharT, typename _Traits = char_traits<_CharT> >
4953 class basic_istream;
4955 template<typename _CharT, typename _Traits = char_traits<_CharT> >
4956 class basic_ostream;
4958 template<typename _CharT, typename _Traits = char_traits<_CharT> >
4959 class basic_iostream;
4961 template<typename _CharT, typename _Traits = char_traits<_CharT>,
4962 typename _Alloc = allocator<_CharT> >
4963 class basic_stringbuf;
4965 template<typename _CharT, typename _Traits = char_traits<_CharT>,
4966 typename _Alloc = allocator<_CharT> >
4967 class basic_istringstream;
4969 template<typename _CharT, typename _Traits = char_traits<_CharT>,
4970 typename _Alloc = allocator<_CharT> >
4971 class basic_ostringstream;
4973 template<typename _CharT, typename _Traits = char_traits<_CharT>,
4974 typename _Alloc = allocator<_CharT> >
4975 class basic_stringstream;
4977 template<typename _CharT, typename _Traits = char_traits<_CharT> >
4978 class basic_filebuf;
4980 template<typename _CharT, typename _Traits = char_traits<_CharT> >
4981 class basic_ifstream;
4983 template<typename _CharT, typename _Traits = char_traits<_CharT> >
4984 class basic_ofstream;
4986 template<typename _CharT, typename _Traits = char_traits<_CharT> >
4987 class basic_fstream;
4989 template<typename _CharT, typename _Traits = char_traits<_CharT> >
4990 class istreambuf_iterator;
4992 template<typename _CharT, typename _Traits = char_traits<_CharT> >
4993 class ostreambuf_iterator;
4998 # 135 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/iosfwd" 3
4999 typedef basic_ios<char> ios;
5000 typedef basic_streambuf<char> streambuf;
5001 typedef basic_istream<char> istream;
5002 typedef basic_ostream<char> ostream;
5003 typedef basic_iostream<char> iostream;
5004 typedef basic_stringbuf<char> stringbuf;
5005 typedef basic_istringstream<char> istringstream;
5006 typedef basic_ostringstream<char> ostringstream;
5007 typedef basic_stringstream<char> stringstream;
5008 typedef basic_filebuf<char> filebuf;
5009 typedef basic_ifstream<char> ifstream;
5010 typedef basic_ofstream<char> ofstream;
5011 typedef basic_fstream<char> fstream;
5012 # 165 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/iosfwd" 3
5014 # 70 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algobase.h" 2 3
5015 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_pair.h" 1 3
5016 # 64 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_pair.h" 3
5020 template<class _T1, class _T2>
5023 typedef _T1 first_type;
5024 typedef _T2 second_type;
5034 : first(), second() { }
5037 pair(const _T1& __a, const _T2& __b)
5038 : first(__a), second(__b) { }
5041 template<class _U1, class _U2>
5042 pair(const pair<_U1, _U2>& __p)
5043 : first(__p.first), second(__p.second) { }
5047 template<class _T1, class _T2>
5049 operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
5050 { return __x.first == __y.first && __x.second == __y.second; }
5053 template<class _T1, class _T2>
5055 operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
5056 { return __x.first < __y.first
5057 || (!(__y.first < __x.first) && __x.second < __y.second); }
5060 template<class _T1, class _T2>
5062 operator!=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
5063 { return !(__x == __y); }
5066 template<class _T1, class _T2>
5068 operator>(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
5069 { return __y < __x; }
5072 template<class _T1, class _T2>
5074 operator<=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
5075 { return !(__y < __x); }
5078 template<class _T1, class _T2>
5080 operator>=(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
5081 { return !(__x < __y); }
5082 # 142 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_pair.h" 3
5083 template<class _T1, class _T2>
5084 inline pair<_T1, _T2>
5085 make_pair(_T1 __x, _T2 __y)
5086 { return pair<_T1, _T2>(__x, __y); }
5088 # 71 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algobase.h" 2 3
5089 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/cpp_type_traits.h" 1 3
5090 # 41 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/cpp_type_traits.h" 3
5092 # 42 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/cpp_type_traits.h" 3
5093 # 75 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/cpp_type_traits.h" 3
5094 namespace __gnu_internal
5097 typedef char __two[2];
5099 template<typename _Tp>
5100 __one __test_type(int _Tp::*);
5101 template<typename _Tp>
5102 __two& __test_type(...);
5108 template<typename _Iterator, typename _Container>
5109 class __normal_iterator;
5112 struct __true_type { };
5113 struct __false_type { };
5119 { typedef __false_type __type; };
5122 struct __truth_type<true>
5123 { typedef __true_type __type; };
5127 template<class _Sp, class _Tp>
5130 enum { __value = bool(_Sp::__value) || bool(_Tp::__value) };
5131 typedef typename __truth_type<__value>::__type __type;
5135 template<typename, typename>
5138 enum { __value = 0 };
5139 typedef __false_type __type;
5142 template<typename _Tp>
5143 struct __are_same<_Tp, _Tp>
5145 enum { __value = 1 };
5146 typedef __true_type __type;
5150 template<typename, bool>
5155 template<typename _Tp>
5156 struct __enable_if<_Tp, true>
5162 template<typename _Tp>
5165 enum { __value = 0 };
5166 typedef __false_type __type;
5170 struct __is_void<void>
5172 enum { __value = 1 };
5173 typedef __true_type __type;
5179 template<typename _Tp>
5182 enum { __value = 0 };
5183 typedef __false_type __type;
5190 struct __is_integer<bool>
5192 enum { __value = 1 };
5193 typedef __true_type __type;
5197 struct __is_integer<char>
5199 enum { __value = 1 };
5200 typedef __true_type __type;
5204 struct __is_integer<signed char>
5206 enum { __value = 1 };
5207 typedef __true_type __type;
5211 struct __is_integer<unsigned char>
5213 enum { __value = 1 };
5214 typedef __true_type __type;
5216 # 207 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/cpp_type_traits.h" 3
5218 struct __is_integer<short>
5220 enum { __value = 1 };
5221 typedef __true_type __type;
5225 struct __is_integer<unsigned short>
5227 enum { __value = 1 };
5228 typedef __true_type __type;
5232 struct __is_integer<int>
5234 enum { __value = 1 };
5235 typedef __true_type __type;
5239 struct __is_integer<unsigned int>
5241 enum { __value = 1 };
5242 typedef __true_type __type;
5246 struct __is_integer<long>
5248 enum { __value = 1 };
5249 typedef __true_type __type;
5253 struct __is_integer<unsigned long>
5255 enum { __value = 1 };
5256 typedef __true_type __type;
5260 struct __is_integer<long long>
5262 enum { __value = 1 };
5263 typedef __true_type __type;
5267 struct __is_integer<unsigned long long>
5269 enum { __value = 1 };
5270 typedef __true_type __type;
5276 template<typename _Tp>
5277 struct __is_floating
5279 enum { __value = 0 };
5280 typedef __false_type __type;
5285 struct __is_floating<float>
5287 enum { __value = 1 };
5288 typedef __true_type __type;
5292 struct __is_floating<double>
5294 enum { __value = 1 };
5295 typedef __true_type __type;
5299 struct __is_floating<long double>
5301 enum { __value = 1 };
5302 typedef __true_type __type;
5308 template<typename _Tp>
5311 enum { __value = 0 };
5312 typedef __false_type __type;
5315 template<typename _Tp>
5316 struct __is_pointer<_Tp*>
5318 enum { __value = 1 };
5319 typedef __true_type __type;
5325 template<typename _Tp>
5326 struct __is_normal_iterator
5328 enum { __value = 0 };
5329 typedef __false_type __type;
5332 template<typename _Iterator, typename _Container>
5333 struct __is_normal_iterator< __gnu_cxx::__normal_iterator<_Iterator,
5336 enum { __value = 1 };
5337 typedef __true_type __type;
5343 template<typename _Tp>
5344 struct __is_arithmetic
5345 : public __traitor<__is_integer<_Tp>, __is_floating<_Tp> >
5351 template<typename _Tp>
5352 struct __is_fundamental
5353 : public __traitor<__is_void<_Tp>, __is_arithmetic<_Tp> >
5359 template<typename _Tp>
5361 : public __traitor<__is_arithmetic<_Tp>, __is_pointer<_Tp> >
5367 template<typename _Tp>
5372 __value = (sizeof(__gnu_internal::__test_type<_Tp>(0))
5373 != sizeof(__gnu_internal::__one))
5380 template<typename _Tp>
5386 template<typename _Up>
5393 __value = sizeof(__first<_Tp>) == sizeof(__second<_Tp>)
5398 # 72 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algobase.h" 2 3
5399 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_iterator_base_types.h" 1 3
5400 # 67 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_iterator_base_types.h" 3
5402 # 68 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_iterator_base_types.h" 3
5406 # 80 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_iterator_base_types.h" 3
5407 struct input_iterator_tag {};
5409 struct output_iterator_tag {};
5411 struct forward_iterator_tag : public input_iterator_tag {};
5414 struct bidirectional_iterator_tag : public forward_iterator_tag {};
5417 struct random_access_iterator_tag : public bidirectional_iterator_tag {};
5418 # 104 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_iterator_base_types.h" 3
5419 template<typename _Category, typename _Tp, typename _Distance = ptrdiff_t,
5420 typename _Pointer = _Tp*, typename _Reference = _Tp&>
5424 typedef _Category iterator_category;
5426 typedef _Tp value_type;
5428 typedef _Distance difference_type;
5430 typedef _Pointer pointer;
5432 typedef _Reference reference;
5441 template<typename _Iterator>
5442 struct iterator_traits
5444 typedef typename _Iterator::iterator_category iterator_category;
5445 typedef typename _Iterator::value_type value_type;
5446 typedef typename _Iterator::difference_type difference_type;
5447 typedef typename _Iterator::pointer pointer;
5448 typedef typename _Iterator::reference reference;
5451 template<typename _Tp>
5452 struct iterator_traits<_Tp*>
5454 typedef random_access_iterator_tag iterator_category;
5455 typedef _Tp value_type;
5456 typedef ptrdiff_t difference_type;
5457 typedef _Tp* pointer;
5458 typedef _Tp& reference;
5461 template<typename _Tp>
5462 struct iterator_traits<const _Tp*>
5464 typedef random_access_iterator_tag iterator_category;
5465 typedef _Tp value_type;
5466 typedef ptrdiff_t difference_type;
5467 typedef const _Tp* pointer;
5468 typedef const _Tp& reference;
5477 template<typename _Iter>
5478 inline typename iterator_traits<_Iter>::iterator_category
5479 __iterator_category(const _Iter&)
5480 { return typename iterator_traits<_Iter>::iterator_category(); }
5483 # 73 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algobase.h" 2 3
5484 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_iterator_base_funcs.h" 1 3
5485 # 67 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_iterator_base_funcs.h" 3
5487 # 68 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_iterator_base_funcs.h" 3
5488 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/concept_check.h" 1 3
5489 # 38 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/concept_check.h" 3
5491 # 39 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/concept_check.h" 3
5492 # 69 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_iterator_base_funcs.h" 2 3
5496 template<typename _InputIterator>
5497 inline typename iterator_traits<_InputIterator>::difference_type
5498 __distance(_InputIterator __first, _InputIterator __last,
5504 typename iterator_traits<_InputIterator>::difference_type __n = 0;
5505 while (__first != __last)
5513 template<typename _RandomAccessIterator>
5514 inline typename iterator_traits<_RandomAccessIterator>::difference_type
5515 __distance(_RandomAccessIterator __first, _RandomAccessIterator __last,
5516 random_access_iterator_tag)
5521 return __last - __first;
5523 # 112 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_iterator_base_funcs.h" 3
5524 template<typename _InputIterator>
5525 inline typename iterator_traits<_InputIterator>::difference_type
5526 distance(_InputIterator __first, _InputIterator __last)
5529 return std::__distance(__first, __last,
5530 std::__iterator_category(__first));
5533 template<typename _InputIterator, typename _Distance>
5535 __advance(_InputIterator& __i, _Distance __n, input_iterator_tag)
5543 template<typename _BidirectionalIterator, typename _Distance>
5545 __advance(_BidirectionalIterator& __i, _Distance __n,
5546 bidirectional_iterator_tag)
5559 template<typename _RandomAccessIterator, typename _Distance>
5561 __advance(_RandomAccessIterator& __i, _Distance __n,
5562 random_access_iterator_tag)
5569 # 170 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_iterator_base_funcs.h" 3
5570 template<typename _InputIterator, typename _Distance>
5572 advance(_InputIterator& __i, _Distance __n)
5575 std::__advance(__i, __n, std::__iterator_category(__i));
5578 # 74 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algobase.h" 2 3
5579 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_iterator.h" 1 3
5580 # 70 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_iterator.h" 3
5583 # 91 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_iterator.h" 3
5584 template<typename _Iterator>
5585 class reverse_iterator
5586 : public iterator<typename iterator_traits<_Iterator>::iterator_category,
5587 typename iterator_traits<_Iterator>::value_type,
5588 typename iterator_traits<_Iterator>::difference_type,
5589 typename iterator_traits<_Iterator>::pointer,
5590 typename iterator_traits<_Iterator>::reference>
5596 typedef _Iterator iterator_type;
5597 typedef typename iterator_traits<_Iterator>::difference_type
5599 typedef typename iterator_traits<_Iterator>::reference reference;
5600 typedef typename iterator_traits<_Iterator>::pointer pointer;
5609 reverse_iterator() : current() { }
5615 reverse_iterator(iterator_type __x) : current(__x) { }
5620 reverse_iterator(const reverse_iterator& __x)
5621 : current(__x.current) { }
5627 template<typename _Iter>
5628 reverse_iterator(const reverse_iterator<_Iter>& __x)
5629 : current(__x.base()) { }
5646 _Iterator __tmp = current;
5657 { return &(operator*()); }
5679 reverse_iterator __tmp = *this;
5704 reverse_iterator __tmp = *this;
5715 operator+(difference_type __n) const
5716 { return reverse_iterator(current - __n); }
5724 operator+=(difference_type __n)
5736 operator-(difference_type __n) const
5737 { return reverse_iterator(current + __n); }
5745 operator-=(difference_type __n)
5757 operator[](difference_type __n) const
5758 { return *(*this + __n); }
5760 # 278 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_iterator.h" 3
5761 template<typename _Iterator>
5763 operator==(const reverse_iterator<_Iterator>& __x,
5764 const reverse_iterator<_Iterator>& __y)
5765 { return __x.base() == __y.base(); }
5767 template<typename _Iterator>
5769 operator<(const reverse_iterator<_Iterator>& __x,
5770 const reverse_iterator<_Iterator>& __y)
5771 { return __y.base() < __x.base(); }
5773 template<typename _Iterator>
5775 operator!=(const reverse_iterator<_Iterator>& __x,
5776 const reverse_iterator<_Iterator>& __y)
5777 { return !(__x == __y); }
5779 template<typename _Iterator>
5781 operator>(const reverse_iterator<_Iterator>& __x,
5782 const reverse_iterator<_Iterator>& __y)
5783 { return __y < __x; }
5785 template<typename _Iterator>
5787 operator<=(const reverse_iterator<_Iterator>& __x,
5788 const reverse_iterator<_Iterator>& __y)
5789 { return !(__y < __x); }
5791 template<typename _Iterator>
5793 operator>=(const reverse_iterator<_Iterator>& __x,
5794 const reverse_iterator<_Iterator>& __y)
5795 { return !(__x < __y); }
5797 template<typename _Iterator>
5798 inline typename reverse_iterator<_Iterator>::difference_type
5799 operator-(const reverse_iterator<_Iterator>& __x,
5800 const reverse_iterator<_Iterator>& __y)
5801 { return __y.base() - __x.base(); }
5803 template<typename _Iterator>
5804 inline reverse_iterator<_Iterator>
5805 operator+(typename reverse_iterator<_Iterator>::difference_type __n,
5806 const reverse_iterator<_Iterator>& __x)
5807 { return reverse_iterator<_Iterator>(__x.base() - __n); }
5811 template<typename _IteratorL, typename _IteratorR>
5813 operator==(const reverse_iterator<_IteratorL>& __x,
5814 const reverse_iterator<_IteratorR>& __y)
5815 { return __x.base() == __y.base(); }
5817 template<typename _IteratorL, typename _IteratorR>
5819 operator<(const reverse_iterator<_IteratorL>& __x,
5820 const reverse_iterator<_IteratorR>& __y)
5821 { return __y.base() < __x.base(); }
5823 template<typename _IteratorL, typename _IteratorR>
5825 operator!=(const reverse_iterator<_IteratorL>& __x,
5826 const reverse_iterator<_IteratorR>& __y)
5827 { return !(__x == __y); }
5829 template<typename _IteratorL, typename _IteratorR>
5831 operator>(const reverse_iterator<_IteratorL>& __x,
5832 const reverse_iterator<_IteratorR>& __y)
5833 { return __y < __x; }
5835 template<typename _IteratorL, typename _IteratorR>
5837 operator<=(const reverse_iterator<_IteratorL>& __x,
5838 const reverse_iterator<_IteratorR>& __y)
5839 { return !(__y < __x); }
5841 template<typename _IteratorL, typename _IteratorR>
5843 operator>=(const reverse_iterator<_IteratorL>& __x,
5844 const reverse_iterator<_IteratorR>& __y)
5845 { return !(__x < __y); }
5847 template<typename _IteratorL, typename _IteratorR>
5848 inline typename reverse_iterator<_IteratorL>::difference_type
5849 operator-(const reverse_iterator<_IteratorL>& __x,
5850 const reverse_iterator<_IteratorR>& __y)
5851 { return __y.base() - __x.base(); }
5852 # 382 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_iterator.h" 3
5853 template<typename _Container>
5854 class back_insert_iterator
5855 : public iterator<output_iterator_tag, void, void, void, void>
5858 _Container* container;
5862 typedef _Container container_type;
5866 back_insert_iterator(_Container& __x) : container(&__x) { }
5867 # 408 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_iterator.h" 3
5868 back_insert_iterator&
5869 operator=(typename _Container::const_reference __value)
5871 container->push_back(__value);
5876 back_insert_iterator&
5881 back_insert_iterator&
5886 back_insert_iterator
5890 # 442 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_iterator.h" 3
5891 template<typename _Container>
5892 inline back_insert_iterator<_Container>
5893 back_inserter(_Container& __x)
5894 { return back_insert_iterator<_Container>(__x); }
5895 # 457 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_iterator.h" 3
5896 template<typename _Container>
5897 class front_insert_iterator
5898 : public iterator<output_iterator_tag, void, void, void, void>
5901 _Container* container;
5905 typedef _Container container_type;
5908 explicit front_insert_iterator(_Container& __x) : container(&__x) { }
5909 # 482 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_iterator.h" 3
5910 front_insert_iterator&
5911 operator=(typename _Container::const_reference __value)
5913 container->push_front(__value);
5918 front_insert_iterator&
5923 front_insert_iterator&
5928 front_insert_iterator
5932 # 516 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_iterator.h" 3
5933 template<typename _Container>
5934 inline front_insert_iterator<_Container>
5935 front_inserter(_Container& __x)
5936 { return front_insert_iterator<_Container>(__x); }
5937 # 535 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_iterator.h" 3
5938 template<typename _Container>
5939 class insert_iterator
5940 : public iterator<output_iterator_tag, void, void, void, void>
5943 _Container* container;
5944 typename _Container::iterator iter;
5948 typedef _Container container_type;
5954 insert_iterator(_Container& __x, typename _Container::iterator __i)
5955 : container(&__x), iter(__i) {}
5956 # 577 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_iterator.h" 3
5958 operator=(const typename _Container::const_reference __value)
5960 iter = container->insert(iter, __value);
5980 # 612 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_iterator.h" 3
5981 template<typename _Container, typename _Iterator>
5982 inline insert_iterator<_Container>
5983 inserter(_Container& __x, _Iterator __i)
5985 return insert_iterator<_Container>(__x,
5986 typename _Container::iterator(__i));
5999 using std::iterator_traits;
6000 using std::iterator;
6001 template<typename _Iterator, typename _Container>
6002 class __normal_iterator
6005 _Iterator _M_current;
6008 typedef typename iterator_traits<_Iterator>::iterator_category
6010 typedef typename iterator_traits<_Iterator>::value_type value_type;
6011 typedef typename iterator_traits<_Iterator>::difference_type
6013 typedef typename iterator_traits<_Iterator>::reference reference;
6014 typedef typename iterator_traits<_Iterator>::pointer pointer;
6016 __normal_iterator() : _M_current(_Iterator()) { }
6019 __normal_iterator(const _Iterator& __i) : _M_current(__i) { }
6022 template<typename _Iter>
6023 __normal_iterator(const __normal_iterator<_Iter,
6024 typename std::__enable_if<_Container,
6025 (std::__are_same<_Iter,
6026 typename _Container::pointer>::__value)
6028 : _M_current(__i.base()) { }
6033 { return *_M_current; }
6037 { return _M_current; }
6048 { return __normal_iterator(_M_current++); }
6060 { return __normal_iterator(_M_current--); }
6064 operator[](const difference_type& __n) const
6065 { return _M_current[__n]; }
6068 operator+=(const difference_type& __n)
6069 { _M_current += __n; return *this; }
6072 operator+(const difference_type& __n) const
6073 { return __normal_iterator(_M_current + __n); }
6076 operator-=(const difference_type& __n)
6077 { _M_current -= __n; return *this; }
6080 operator-(const difference_type& __n) const
6081 { return __normal_iterator(_M_current - __n); }
6085 { return _M_current; }
6087 # 728 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_iterator.h" 3
6088 template<typename _IteratorL, typename _IteratorR, typename _Container>
6090 operator==(const __normal_iterator<_IteratorL, _Container>& __lhs,
6091 const __normal_iterator<_IteratorR, _Container>& __rhs)
6092 { return __lhs.base() == __rhs.base(); }
6094 template<typename _Iterator, typename _Container>
6096 operator==(const __normal_iterator<_Iterator, _Container>& __lhs,
6097 const __normal_iterator<_Iterator, _Container>& __rhs)
6098 { return __lhs.base() == __rhs.base(); }
6100 template<typename _IteratorL, typename _IteratorR, typename _Container>
6102 operator!=(const __normal_iterator<_IteratorL, _Container>& __lhs,
6103 const __normal_iterator<_IteratorR, _Container>& __rhs)
6104 { return __lhs.base() != __rhs.base(); }
6106 template<typename _Iterator, typename _Container>
6108 operator!=(const __normal_iterator<_Iterator, _Container>& __lhs,
6109 const __normal_iterator<_Iterator, _Container>& __rhs)
6110 { return __lhs.base() != __rhs.base(); }
6113 template<typename _IteratorL, typename _IteratorR, typename _Container>
6115 operator<(const __normal_iterator<_IteratorL, _Container>& __lhs,
6116 const __normal_iterator<_IteratorR, _Container>& __rhs)
6117 { return __lhs.base() < __rhs.base(); }
6119 template<typename _Iterator, typename _Container>
6121 operator<(const __normal_iterator<_Iterator, _Container>& __lhs,
6122 const __normal_iterator<_Iterator, _Container>& __rhs)
6123 { return __lhs.base() < __rhs.base(); }
6125 template<typename _IteratorL, typename _IteratorR, typename _Container>
6127 operator>(const __normal_iterator<_IteratorL, _Container>& __lhs,
6128 const __normal_iterator<_IteratorR, _Container>& __rhs)
6129 { return __lhs.base() > __rhs.base(); }
6131 template<typename _Iterator, typename _Container>
6133 operator>(const __normal_iterator<_Iterator, _Container>& __lhs,
6134 const __normal_iterator<_Iterator, _Container>& __rhs)
6135 { return __lhs.base() > __rhs.base(); }
6137 template<typename _IteratorL, typename _IteratorR, typename _Container>
6139 operator<=(const __normal_iterator<_IteratorL, _Container>& __lhs,
6140 const __normal_iterator<_IteratorR, _Container>& __rhs)
6141 { return __lhs.base() <= __rhs.base(); }
6143 template<typename _Iterator, typename _Container>
6145 operator<=(const __normal_iterator<_Iterator, _Container>& __lhs,
6146 const __normal_iterator<_Iterator, _Container>& __rhs)
6147 { return __lhs.base() <= __rhs.base(); }
6149 template<typename _IteratorL, typename _IteratorR, typename _Container>
6151 operator>=(const __normal_iterator<_IteratorL, _Container>& __lhs,
6152 const __normal_iterator<_IteratorR, _Container>& __rhs)
6153 { return __lhs.base() >= __rhs.base(); }
6155 template<typename _Iterator, typename _Container>
6157 operator>=(const __normal_iterator<_Iterator, _Container>& __lhs,
6158 const __normal_iterator<_Iterator, _Container>& __rhs)
6159 { return __lhs.base() >= __rhs.base(); }
6165 template<typename _IteratorL, typename _IteratorR, typename _Container>
6166 inline typename __normal_iterator<_IteratorL, _Container>::difference_type
6167 operator-(const __normal_iterator<_IteratorL, _Container>& __lhs,
6168 const __normal_iterator<_IteratorR, _Container>& __rhs)
6169 { return __lhs.base() - __rhs.base(); }
6171 template<typename _Iterator, typename _Container>
6172 inline __normal_iterator<_Iterator, _Container>
6173 operator+(typename __normal_iterator<_Iterator, _Container>::difference_type
6174 __n, const __normal_iterator<_Iterator, _Container>& __i)
6175 { return __normal_iterator<_Iterator, _Container>(__i.base() + __n); }
6177 # 75 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algobase.h" 2 3
6179 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/debug/debug.h" 1 3
6180 # 77 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algobase.h" 2 3
6184 # 90 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algobase.h" 3
6185 template<typename _Tp>
6187 swap(_Tp& __a, _Tp& __b)
6200 template<bool _BoolType>
6203 template<typename _ForwardIterator1, typename _ForwardIterator2>
6205 iter_swap(_ForwardIterator1 __a, _ForwardIterator2 __b)
6207 typedef typename iterator_traits<_ForwardIterator1>::value_type
6209 _ValueType1 __tmp = *__a;
6216 struct __iter_swap<true>
6218 template<typename _ForwardIterator1, typename _ForwardIterator2>
6220 iter_swap(_ForwardIterator1 __a, _ForwardIterator2 __b)
6225 # 140 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algobase.h" 3
6226 template<typename _ForwardIterator1, typename _ForwardIterator2>
6228 iter_swap(_ForwardIterator1 __a, _ForwardIterator2 __b)
6230 typedef typename iterator_traits<_ForwardIterator1>::value_type
6232 typedef typename iterator_traits<_ForwardIterator2>::value_type
6245 typedef typename iterator_traits<_ForwardIterator1>::reference
6247 typedef typename iterator_traits<_ForwardIterator2>::reference
6249 std::__iter_swap<__are_same<_ValueType1, _ValueType2>::__value &&
6250 __are_same<_ValueType1 &, _ReferenceType1>::__value &&
6251 __are_same<_ValueType2 &, _ReferenceType2>::__value>::
6252 iter_swap(__a, __b);
6254 # 182 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algobase.h" 3
6255 template<typename _Tp>
6257 min(const _Tp& __a, const _Tp& __b)
6266 # 204 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algobase.h" 3
6267 template<typename _Tp>
6269 max(const _Tp& __a, const _Tp& __b)
6278 # 226 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algobase.h" 3
6279 template<typename _Tp, typename _Compare>
6281 min(const _Tp& __a, const _Tp& __b, _Compare __comp)
6284 if (__comp(__b, __a))
6288 # 246 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algobase.h" 3
6289 template<typename _Tp, typename _Compare>
6291 max(const _Tp& __a, const _Tp& __b, _Compare __comp)
6294 if (__comp(__a, __b))
6305 template<bool, typename>
6308 template<typename _II, typename _OI>
6310 copy(_II __first, _II __last, _OI __result)
6312 for (; __first != __last; ++__result, ++__first)
6313 *__result = *__first;
6318 template<bool _BoolType>
6319 struct __copy<_BoolType, random_access_iterator_tag>
6321 template<typename _II, typename _OI>
6323 copy(_II __first, _II __last, _OI __result)
6325 typedef typename iterator_traits<_II>::difference_type _Distance;
6326 for(_Distance __n = __last - __first; __n > 0; --__n)
6328 *__result = *__first;
6337 struct __copy<true, random_access_iterator_tag>
6339 template<typename _Tp>
6341 copy(const _Tp* __first, const _Tp* __last, _Tp* __result)
6343 std::memmove(__result, __first, sizeof(_Tp) * (__last - __first));
6344 return __result + (__last - __first);
6348 template<typename _II, typename _OI>
6350 __copy_aux(_II __first, _II __last, _OI __result)
6352 typedef typename iterator_traits<_II>::value_type _ValueTypeI;
6353 typedef typename iterator_traits<_OI>::value_type _ValueTypeO;
6354 typedef typename iterator_traits<_II>::iterator_category _Category;
6355 const bool __simple = (__is_scalar<_ValueTypeI>::__value
6356 && __is_pointer<_II>::__value
6357 && __is_pointer<_OI>::__value
6358 && __are_same<_ValueTypeI, _ValueTypeO>::__value);
6360 return std::__copy<__simple, _Category>::copy(__first, __last, __result);
6363 template<bool, bool>
6364 struct __copy_normal
6366 template<typename _II, typename _OI>
6368 copy_n(_II __first, _II __last, _OI __result)
6369 { return std::__copy_aux(__first, __last, __result); }
6373 struct __copy_normal<true, false>
6375 template<typename _II, typename _OI>
6377 copy_n(_II __first, _II __last, _OI __result)
6378 { return std::__copy_aux(__first.base(), __last.base(), __result); }
6382 struct __copy_normal<false, true>
6384 template<typename _II, typename _OI>
6386 copy_n(_II __first, _II __last, _OI __result)
6387 { return _OI(std::__copy_aux(__first, __last, __result.base())); }
6391 struct __copy_normal<true, true>
6393 template<typename _II, typename _OI>
6395 copy_n(_II __first, _II __last, _OI __result)
6396 { return _OI(std::__copy_aux(__first.base(), __last.base(),
6397 __result.base())); }
6399 # 373 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algobase.h" 3
6400 template<typename _InputIterator, typename _OutputIterator>
6401 inline _OutputIterator
6402 copy(_InputIterator __first, _InputIterator __last,
6403 _OutputIterator __result)
6411 const bool __in = __is_normal_iterator<_InputIterator>::__value;
6412 const bool __out = __is_normal_iterator<_OutputIterator>::__value;
6413 return std::__copy_normal<__in, __out>::copy_n(__first, __last,
6417 template<bool, typename>
6418 struct __copy_backward
6420 template<typename _BI1, typename _BI2>
6422 copy_b(_BI1 __first, _BI1 __last, _BI2 __result)
6424 while (__first != __last)
6425 *--__result = *--__last;
6430 template<bool _BoolType>
6431 struct __copy_backward<_BoolType, random_access_iterator_tag>
6433 template<typename _BI1, typename _BI2>
6435 copy_b(_BI1 __first, _BI1 __last, _BI2 __result)
6437 typename iterator_traits<_BI1>::difference_type __n;
6438 for (__n = __last - __first; __n > 0; --__n)
6439 *--__result = *--__last;
6445 struct __copy_backward<true, random_access_iterator_tag>
6447 template<typename _Tp>
6449 copy_b(const _Tp* __first, const _Tp* __last, _Tp* __result)
6451 const ptrdiff_t _Num = __last - __first;
6452 std::memmove(__result - _Num, __first, sizeof(_Tp) * _Num);
6453 return __result - _Num;
6457 template<typename _BI1, typename _BI2>
6459 __copy_backward_aux(_BI1 __first, _BI1 __last, _BI2 __result)
6461 typedef typename iterator_traits<_BI1>::value_type _ValueType1;
6462 typedef typename iterator_traits<_BI2>::value_type _ValueType2;
6463 typedef typename iterator_traits<_BI1>::iterator_category _Category;
6464 const bool __simple = (__is_scalar<_ValueType1>::__value
6465 && __is_pointer<_BI1>::__value
6466 && __is_pointer<_BI2>::__value
6467 && __are_same<_ValueType1, _ValueType2>::__value);
6469 return std::__copy_backward<__simple, _Category>::copy_b(__first, __last,
6473 template<bool, bool>
6474 struct __copy_backward_normal
6476 template<typename _BI1, typename _BI2>
6478 copy_b_n(_BI1 __first, _BI1 __last, _BI2 __result)
6479 { return std::__copy_backward_aux(__first, __last, __result); }
6483 struct __copy_backward_normal<true, false>
6485 template<typename _BI1, typename _BI2>
6487 copy_b_n(_BI1 __first, _BI1 __last, _BI2 __result)
6488 { return std::__copy_backward_aux(__first.base(), __last.base(),
6493 struct __copy_backward_normal<false, true>
6495 template<typename _BI1, typename _BI2>
6497 copy_b_n(_BI1 __first, _BI1 __last, _BI2 __result)
6498 { return _BI2(std::__copy_backward_aux(__first, __last,
6499 __result.base())); }
6503 struct __copy_backward_normal<true, true>
6505 template<typename _BI1, typename _BI2>
6507 copy_b_n(_BI1 __first, _BI1 __last, _BI2 __result)
6508 { return _BI2(std::__copy_backward_aux(__first.base(), __last.base(),
6509 __result.base())); }
6511 # 502 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algobase.h" 3
6512 template <typename _BI1, typename _BI2>
6514 copy_backward(_BI1 __first, _BI1 __last, _BI2 __result)
6524 const bool __bi1 = __is_normal_iterator<_BI1>::__value;
6525 const bool __bi2 = __is_normal_iterator<_BI2>::__value;
6526 return std::__copy_backward_normal<__bi1, __bi2>::copy_b_n(__first, __last,
6533 template<typename _ForwardIterator, typename _Tp>
6535 fill(_ForwardIterator __first, _ForwardIterator __last,
6538 for (; __first != __last; ++__first)
6546 template<typename _ForwardIterator, typename _Tp>
6548 fill(_ForwardIterator __first, _ForwardIterator __last,
6551 const _Tp __tmp = __value;
6552 for (; __first != __last; ++__first)
6556 # 558 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algobase.h" 3
6557 template<typename _ForwardIterator, typename _Tp>
6559 fill(_ForwardIterator __first, _ForwardIterator __last, const _Tp& __value)
6566 const bool __scalar = __is_scalar<_Tp>::__value;
6567 std::__fill<__scalar>::fill(__first, __last, __value);
6572 fill(unsigned char* __first, unsigned char* __last, const unsigned char& __c)
6575 const unsigned char __tmp = __c;
6576 std::memset(__first, __tmp, __last - __first);
6580 fill(signed char* __first, signed char* __last, const signed char& __c)
6583 const signed char __tmp = __c;
6584 std::memset(__first, static_cast<unsigned char>(__tmp), __last - __first);
6588 fill(char* __first, char* __last, const char& __c)
6591 const char __tmp = __c;
6592 std::memset(__first, static_cast<unsigned char>(__tmp), __last - __first);
6598 template<typename _OutputIterator, typename _Size, typename _Tp>
6599 static _OutputIterator
6600 fill_n(_OutputIterator __first, _Size __n, const _Tp& __value)
6602 for (; __n > 0; --__n, ++__first)
6609 struct __fill_n<true>
6611 template<typename _OutputIterator, typename _Size, typename _Tp>
6612 static _OutputIterator
6613 fill_n(_OutputIterator __first, _Size __n, const _Tp& __value)
6615 const _Tp __tmp = __value;
6616 for (; __n > 0; --__n, ++__first)
6621 # 634 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algobase.h" 3
6622 template<typename _OutputIterator, typename _Size, typename _Tp>
6624 fill_n(_OutputIterator __first, _Size __n, const _Tp& __value)
6629 const bool __scalar = __is_scalar<_Tp>::__value;
6630 return std::__fill_n<__scalar>::fill_n(__first, __n, __value);
6633 template<typename _Size>
6634 inline unsigned char*
6635 fill_n(unsigned char* __first, _Size __n, const unsigned char& __c)
6637 std::fill(__first, __first + __n, __c);
6638 return __first + __n;
6641 template<typename _Size>
6643 fill_n(char* __first, _Size __n, const signed char& __c)
6645 std::fill(__first, __first + __n, __c);
6646 return __first + __n;
6649 template<typename _Size>
6651 fill_n(char* __first, _Size __n, const char& __c)
6653 std::fill(__first, __first + __n, __c);
6654 return __first + __n;
6656 # 681 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algobase.h" 3
6657 template<typename _InputIterator1, typename _InputIterator2>
6658 pair<_InputIterator1, _InputIterator2>
6659 mismatch(_InputIterator1 __first1, _InputIterator1 __last1,
6660 _InputIterator2 __first2)
6670 while (__first1 != __last1 && *__first1 == *__first2)
6675 return pair<_InputIterator1, _InputIterator2>(__first1, __first2);
6677 # 716 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algobase.h" 3
6678 template<typename _InputIterator1, typename _InputIterator2,
6679 typename _BinaryPredicate>
6680 pair<_InputIterator1, _InputIterator2>
6681 mismatch(_InputIterator1 __first1, _InputIterator1 __last1,
6682 _InputIterator2 __first2, _BinaryPredicate __binary_pred)
6689 while (__first1 != __last1 && __binary_pred(*__first1, *__first2))
6694 return pair<_InputIterator1, _InputIterator2>(__first1, __first2);
6696 # 746 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algobase.h" 3
6697 template<typename _InputIterator1, typename _InputIterator2>
6699 equal(_InputIterator1 __first1, _InputIterator1 __last1,
6700 _InputIterator2 __first2)
6710 for (; __first1 != __last1; ++__first1, ++__first2)
6711 if (!(*__first1 == *__first2))
6715 # 778 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algobase.h" 3
6716 template<typename _InputIterator1, typename _InputIterator2,
6717 typename _BinaryPredicate>
6719 equal(_InputIterator1 __first1, _InputIterator1 __last1,
6720 _InputIterator2 __first2,
6721 _BinaryPredicate __binary_pred)
6728 for (; __first1 != __last1; ++__first1, ++__first2)
6729 if (!__binary_pred(*__first1, *__first2))
6733 # 810 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algobase.h" 3
6734 template<typename _InputIterator1, typename _InputIterator2>
6736 lexicographical_compare(_InputIterator1 __first1, _InputIterator1 __last1,
6737 _InputIterator2 __first2, _InputIterator2 __last2)
6751 for (; __first1 != __last1 && __first2 != __last2;
6752 ++__first1, ++__first2)
6754 if (*__first1 < *__first2)
6756 if (*__first2 < *__first1)
6759 return __first1 == __last1 && __first2 != __last2;
6761 # 850 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algobase.h" 3
6762 template<typename _InputIterator1, typename _InputIterator2,
6765 lexicographical_compare(_InputIterator1 __first1, _InputIterator1 __last1,
6766 _InputIterator2 __first2, _InputIterator2 __last2,
6775 for (; __first1 != __last1 && __first2 != __last2;
6776 ++__first1, ++__first2)
6778 if (__comp(*__first1, *__first2))
6780 if (__comp(*__first2, *__first1))
6783 return __first1 == __last1 && __first2 != __last2;
6787 lexicographical_compare(const unsigned char* __first1,
6788 const unsigned char* __last1,
6789 const unsigned char* __first2,
6790 const unsigned char* __last2)
6795 const size_t __len1 = __last1 - __first1;
6796 const size_t __len2 = __last2 - __first2;
6797 const int __result = std::memcmp(__first1, __first2,
6798 std::min(__len1, __len2));
6799 return __result != 0 ? __result < 0 : __len1 < __len2;
6803 lexicographical_compare(const char* __first1, const char* __last1,
6804 const char* __first2, const char* __last2)
6810 return std::lexicographical_compare((const signed char*) __first1,
6811 (const signed char*) __last1,
6812 (const signed char*) __first2,
6813 (const signed char*) __last2);
6823 # 67 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/vector" 2 3
6824 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/allocator.h" 1 3
6825 # 52 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/allocator.h" 3
6826 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bfin-linux-uclibc/bits/c++allocator.h" 1 3
6827 # 34 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bfin-linux-uclibc/bits/c++allocator.h" 3
6828 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/ext/new_allocator.h" 1 3
6829 # 37 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/ext/new_allocator.h" 3
6830 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/new" 1 3
6831 # 42 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/new" 3
6832 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/exception" 1 3
6833 # 40 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/exception" 3
6834 #pragma GCC visibility push(default)
6840 # 54 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/exception" 3
6844 exception() throw() { }
6845 virtual ~exception() throw();
6848 virtual const char* what() const throw();
6853 class bad_exception : public exception
6856 bad_exception() throw() { }
6859 virtual ~bad_exception() throw();
6863 typedef void (*terminate_handler) ();
6865 typedef void (*unexpected_handler) ();
6868 terminate_handler set_terminate(terminate_handler) throw();
6871 void terminate() __attribute__ ((__noreturn__));
6874 unexpected_handler set_unexpected(unexpected_handler) throw();
6877 void unexpected() __attribute__ ((__noreturn__));
6878 # 102 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/exception" 3
6879 bool uncaught_exception() throw();
6884 # 117 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/exception" 3
6885 void __verbose_terminate_handler ();
6890 #pragma GCC visibility pop
6891 # 43 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/new" 2 3
6893 #pragma GCC visibility push(default)
6904 class bad_alloc : public exception
6907 bad_alloc() throw() { }
6910 virtual ~bad_alloc() throw();
6913 struct nothrow_t { };
6914 extern const nothrow_t nothrow;
6917 typedef void (*new_handler)();
6919 new_handler set_new_handler(new_handler) throw();
6921 # 84 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/new" 3
6922 void* operator new(std::size_t) throw (std::bad_alloc);
6923 void* operator new[](std::size_t) throw (std::bad_alloc);
6924 void operator delete(void*) throw();
6925 void operator delete[](void*) throw();
6926 void* operator new(std::size_t, const std::nothrow_t&) throw();
6927 void* operator new[](std::size_t, const std::nothrow_t&) throw();
6928 void operator delete(void*, const std::nothrow_t&) throw();
6929 void operator delete[](void*, const std::nothrow_t&) throw();
6932 inline void* operator new(std::size_t, void* __p) throw() { return __p; }
6933 inline void* operator new[](std::size_t, void* __p) throw() { return __p; }
6936 inline void operator delete (void*, void*) throw() { }
6937 inline void operator delete[](void*, void*) throw() { }
6941 #pragma GCC visibility pop
6942 # 38 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/ext/new_allocator.h" 2 3
6954 template<typename _Tp>
6958 typedef size_t size_type;
6959 typedef ptrdiff_t difference_type;
6960 typedef _Tp* pointer;
6961 typedef const _Tp* const_pointer;
6962 typedef _Tp& reference;
6963 typedef const _Tp& const_reference;
6964 typedef _Tp value_type;
6966 template<typename _Tp1>
6968 { typedef new_allocator<_Tp1> other; };
6970 new_allocator() throw() { }
6972 new_allocator(const new_allocator&) throw() { }
6974 template<typename _Tp1>
6975 new_allocator(const new_allocator<_Tp1>&) throw() { }
6977 ~new_allocator() throw() { }
6980 address(reference __x) const { return &__x; }
6983 address(const_reference __x) const { return &__x; }
6988 allocate(size_type __n, const void* = 0)
6990 if (__builtin_expect(__n > this->max_size(), false))
6991 std::__throw_bad_alloc();
6993 return static_cast<_Tp*>(::operator new(__n * sizeof(_Tp)));
6998 deallocate(pointer __p, size_type)
6999 { ::operator delete(__p); }
7002 max_size() const throw()
7003 { return size_t(-1) / sizeof(_Tp); }
7008 construct(pointer __p, const _Tp& __val)
7009 { ::new(__p) _Tp(__val); }
7012 destroy(pointer __p) { __p->~_Tp(); }
7015 template<typename _Tp>
7017 operator==(const new_allocator<_Tp>&, const new_allocator<_Tp>&)
7020 template<typename _Tp>
7022 operator!=(const new_allocator<_Tp>&, const new_allocator<_Tp>&)
7025 # 35 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bfin-linux-uclibc/bits/c++allocator.h" 2 3
7026 # 53 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/allocator.h" 2 3
7030 template<typename _Tp>
7035 class allocator<void>
7038 typedef size_t size_type;
7039 typedef ptrdiff_t difference_type;
7040 typedef void* pointer;
7041 typedef const void* const_pointer;
7042 typedef void value_type;
7044 template<typename _Tp1>
7046 { typedef allocator<_Tp1> other; };
7055 template<typename _Tp>
7056 class allocator: public __gnu_cxx::new_allocator<_Tp>
7059 typedef size_t size_type;
7060 typedef ptrdiff_t difference_type;
7061 typedef _Tp* pointer;
7062 typedef const _Tp* const_pointer;
7063 typedef _Tp& reference;
7064 typedef const _Tp& const_reference;
7065 typedef _Tp value_type;
7067 template<typename _Tp1>
7069 { typedef allocator<_Tp1> other; };
7071 allocator() throw() { }
7073 allocator(const allocator& __a) throw()
7074 : __gnu_cxx::new_allocator<_Tp>(__a) { }
7076 template<typename _Tp1>
7077 allocator(const allocator<_Tp1>&) throw() { }
7079 ~allocator() throw() { }
7084 template<typename _T1, typename _T2>
7086 operator==(const allocator<_T1>&, const allocator<_T2>&)
7089 template<typename _T1, typename _T2>
7091 operator!=(const allocator<_T1>&, const allocator<_T2>&)
7098 extern template class allocator<char>;
7099 extern template class allocator<wchar_t>;
7105 # 68 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/vector" 2 3
7106 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_construct.h" 1 3
7107 # 67 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_construct.h" 3
7116 template<typename _T1, typename _T2>
7118 _Construct(_T1* __p, const _T2& __value)
7122 ::new(static_cast<void*>(__p)) _T1(__value);
7131 template<typename _T1>
7133 _Construct(_T1* __p)
7137 ::new(static_cast<void*>(__p)) _T1();
7145 template<typename _Tp>
7147 _Destroy(_Tp* __pointer)
7148 { __pointer->~_Tp(); }
7149 # 116 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_construct.h" 3
7150 template<typename _ForwardIterator>
7152 __destroy_aux(_ForwardIterator __first, _ForwardIterator __last,
7155 for (; __first != __last; ++__first)
7156 std::_Destroy(&*__first);
7158 # 134 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_construct.h" 3
7159 template<typename _ForwardIterator>
7161 __destroy_aux(_ForwardIterator, _ForwardIterator, __true_type)
7163 # 146 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_construct.h" 3
7164 template<typename _ForwardIterator>
7166 _Destroy(_ForwardIterator __first, _ForwardIterator __last)
7168 typedef typename iterator_traits<_ForwardIterator>::value_type
7170 typedef typename std::__is_scalar<_Value_type>::__type
7171 _Has_trivial_destructor;
7173 std::__destroy_aux(__first, __last, _Has_trivial_destructor());
7175 # 166 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_construct.h" 3
7176 template <typename _Tp> class allocator;
7178 template<typename _ForwardIterator, typename _Allocator>
7180 _Destroy(_ForwardIterator __first, _ForwardIterator __last,
7183 for (; __first != __last; ++__first)
7184 __alloc.destroy(&*__first);
7187 template<typename _ForwardIterator, typename _Tp>
7189 _Destroy(_ForwardIterator __first, _ForwardIterator __last,
7192 _Destroy(__first, __last);
7197 # 69 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/vector" 2 3
7198 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_uninitialized.h" 1 3
7199 # 66 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_uninitialized.h" 3
7203 template<typename _InputIterator, typename _ForwardIterator>
7204 inline _ForwardIterator
7205 __uninitialized_copy_aux(_InputIterator __first, _InputIterator __last,
7206 _ForwardIterator __result,
7208 { return std::copy(__first, __last, __result); }
7210 template<typename _InputIterator, typename _ForwardIterator>
7211 inline _ForwardIterator
7212 __uninitialized_copy_aux(_InputIterator __first, _InputIterator __last,
7213 _ForwardIterator __result,
7216 _ForwardIterator __cur = __result;
7219 for (; __first != __last; ++__first, ++__cur)
7220 std::_Construct(&*__cur, *__first);
7225 std::_Destroy(__result, __cur);
7229 # 105 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_uninitialized.h" 3
7230 template<typename _InputIterator, typename _ForwardIterator>
7231 inline _ForwardIterator
7232 uninitialized_copy(_InputIterator __first, _InputIterator __last,
7233 _ForwardIterator __result)
7235 typedef typename iterator_traits<_ForwardIterator>::value_type _ValueType;
7236 typedef typename std::__is_scalar<_ValueType>::__type _Is_POD;
7237 return std::__uninitialized_copy_aux(__first, __last, __result,
7242 uninitialized_copy(const char* __first, const char* __last, char* __result)
7244 std::memmove(__result, __first, __last - __first);
7245 return __result + (__last - __first);
7249 uninitialized_copy(const wchar_t* __first, const wchar_t* __last,
7252 std::memmove(__result, __first, sizeof(wchar_t) * (__last - __first));
7253 return __result + (__last - __first);
7258 template<typename _ForwardIterator, typename _Tp>
7260 __uninitialized_fill_aux(_ForwardIterator __first,
7261 _ForwardIterator __last,
7262 const _Tp& __x, __true_type)
7263 { std::fill(__first, __last, __x); }
7265 template<typename _ForwardIterator, typename _Tp>
7267 __uninitialized_fill_aux(_ForwardIterator __first, _ForwardIterator __last,
7268 const _Tp& __x, __false_type)
7270 _ForwardIterator __cur = __first;
7273 for (; __cur != __last; ++__cur)
7274 std::_Construct(&*__cur, __x);
7278 std::_Destroy(__first, __cur);
7282 # 167 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_uninitialized.h" 3
7283 template<typename _ForwardIterator, typename _Tp>
7285 uninitialized_fill(_ForwardIterator __first, _ForwardIterator __last,
7288 typedef typename iterator_traits<_ForwardIterator>::value_type _ValueType;
7289 typedef typename std::__is_scalar<_ValueType>::__type _Is_POD;
7290 std::__uninitialized_fill_aux(__first, __last, __x, _Is_POD());
7295 template<typename _ForwardIterator, typename _Size, typename _Tp>
7297 __uninitialized_fill_n_aux(_ForwardIterator __first, _Size __n,
7298 const _Tp& __x, __true_type)
7299 { std::fill_n(__first, __n, __x); }
7301 template<typename _ForwardIterator, typename _Size, typename _Tp>
7303 __uninitialized_fill_n_aux(_ForwardIterator __first, _Size __n,
7304 const _Tp& __x, __false_type)
7306 _ForwardIterator __cur = __first;
7309 for (; __n > 0; --__n, ++__cur)
7310 std::_Construct(&*__cur, __x);
7314 std::_Destroy(__first, __cur);
7318 # 212 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_uninitialized.h" 3
7319 template<typename _ForwardIterator, typename _Size, typename _Tp>
7321 uninitialized_fill_n(_ForwardIterator __first, _Size __n, const _Tp& __x)
7323 typedef typename iterator_traits<_ForwardIterator>::value_type _ValueType;
7324 typedef typename std::__is_scalar<_ValueType>::__type _Is_POD;
7325 std::__uninitialized_fill_n_aux(__first, __n, __x, _Is_POD());
7334 template<typename _InputIterator, typename _ForwardIterator,
7335 typename _Allocator>
7337 __uninitialized_copy_a(_InputIterator __first, _InputIterator __last,
7338 _ForwardIterator __result,
7341 _ForwardIterator __cur = __result;
7344 for (; __first != __last; ++__first, ++__cur)
7345 __alloc.construct(&*__cur, *__first);
7350 std::_Destroy(__result, __cur, __alloc);
7355 template<typename _InputIterator, typename _ForwardIterator, typename _Tp>
7356 inline _ForwardIterator
7357 __uninitialized_copy_a(_InputIterator __first, _InputIterator __last,
7358 _ForwardIterator __result,
7361 return std::uninitialized_copy(__first, __last, __result);
7364 template<typename _ForwardIterator, typename _Tp, typename _Allocator>
7366 __uninitialized_fill_a(_ForwardIterator __first, _ForwardIterator __last,
7367 const _Tp& __x, _Allocator __alloc)
7369 _ForwardIterator __cur = __first;
7372 for (; __cur != __last; ++__cur)
7373 __alloc.construct(&*__cur, __x);
7377 std::_Destroy(__first, __cur, __alloc);
7382 template<typename _ForwardIterator, typename _Tp, typename _Tp2>
7384 __uninitialized_fill_a(_ForwardIterator __first, _ForwardIterator __last,
7385 const _Tp& __x, allocator<_Tp2>)
7387 std::uninitialized_fill(__first, __last, __x);
7390 template<typename _ForwardIterator, typename _Size, typename _Tp,
7391 typename _Allocator>
7393 __uninitialized_fill_n_a(_ForwardIterator __first, _Size __n,
7397 _ForwardIterator __cur = __first;
7400 for (; __n > 0; --__n, ++__cur)
7401 __alloc.construct(&*__cur, __x);
7405 std::_Destroy(__first, __cur, __alloc);
7410 template<typename _ForwardIterator, typename _Size, typename _Tp,
7413 __uninitialized_fill_n_a(_ForwardIterator __first, _Size __n,
7417 std::uninitialized_fill_n(__first, __n, __x);
7419 # 323 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_uninitialized.h" 3
7420 template<typename _InputIterator1, typename _InputIterator2,
7421 typename _ForwardIterator, typename _Allocator>
7422 inline _ForwardIterator
7423 __uninitialized_copy_copy(_InputIterator1 __first1,
7424 _InputIterator1 __last1,
7425 _InputIterator2 __first2,
7426 _InputIterator2 __last2,
7427 _ForwardIterator __result,
7430 _ForwardIterator __mid = std::__uninitialized_copy_a(__first1, __last1,
7435 return std::__uninitialized_copy_a(__first2, __last2, __mid, __alloc);
7439 std::_Destroy(__result, __mid, __alloc);
7447 template<typename _ForwardIterator, typename _Tp, typename _InputIterator,
7448 typename _Allocator>
7449 inline _ForwardIterator
7450 __uninitialized_fill_copy(_ForwardIterator __result, _ForwardIterator __mid,
7451 const _Tp& __x, _InputIterator __first,
7452 _InputIterator __last,
7455 std::__uninitialized_fill_a(__result, __mid, __x, __alloc);
7458 return std::__uninitialized_copy_a(__first, __last, __mid, __alloc);
7462 std::_Destroy(__result, __mid, __alloc);
7470 template<typename _InputIterator, typename _ForwardIterator, typename _Tp,
7471 typename _Allocator>
7473 __uninitialized_copy_fill(_InputIterator __first1, _InputIterator __last1,
7474 _ForwardIterator __first2,
7475 _ForwardIterator __last2, const _Tp& __x,
7478 _ForwardIterator __mid2 = std::__uninitialized_copy_a(__first1, __last1,
7483 std::__uninitialized_fill_a(__mid2, __last2, __x, __alloc);
7487 std::_Destroy(__first2, __mid2, __alloc);
7493 # 70 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/vector" 2 3
7494 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_vector.h" 1 3
7495 # 68 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_vector.h" 3
7503 template<typename _Tp, typename _Alloc>
7506 typedef typename _Alloc::template rebind<_Tp>::other _Tp_alloc_type;
7509 : public _Tp_alloc_type
7513 _Tp* _M_end_of_storage;
7514 _Vector_impl(_Tp_alloc_type const& __a)
7515 : _Tp_alloc_type(__a), _M_start(0), _M_finish(0), _M_end_of_storage(0)
7520 typedef _Alloc allocator_type;
7523 _M_get_Tp_allocator()
7524 { return *static_cast<_Tp_alloc_type*>(&this->_M_impl); }
7526 const _Tp_alloc_type&
7527 _M_get_Tp_allocator() const
7528 { return *static_cast<const _Tp_alloc_type*>(&this->_M_impl); }
7531 get_allocator() const
7532 { return _M_get_Tp_allocator(); }
7534 _Vector_base(const allocator_type& __a)
7538 _Vector_base(size_t __n, const allocator_type& __a)
7541 this->_M_impl._M_start = this->_M_allocate(__n);
7542 this->_M_impl._M_finish = this->_M_impl._M_start;
7543 this->_M_impl._M_end_of_storage = this->_M_impl._M_start + __n;
7547 { _M_deallocate(this->_M_impl._M_start, this->_M_impl._M_end_of_storage
7548 - this->_M_impl._M_start); }
7551 _Vector_impl _M_impl;
7554 _M_allocate(size_t __n)
7555 { return _M_impl.allocate(__n); }
7558 _M_deallocate(_Tp* __p, size_t __n)
7561 _M_impl.deallocate(__p, __n);
7564 # 157 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_vector.h" 3
7565 template<typename _Tp, typename _Alloc = std::allocator<_Tp> >
7566 class vector : protected _Vector_base<_Tp, _Alloc>
7569 typedef typename _Alloc::value_type _Alloc_value_type;
7573 typedef _Vector_base<_Tp, _Alloc> _Base;
7574 typedef vector<_Tp, _Alloc> vector_type;
7575 typedef typename _Base::_Tp_alloc_type _Tp_alloc_type;
7578 typedef _Tp value_type;
7579 typedef typename _Tp_alloc_type::pointer pointer;
7580 typedef typename _Tp_alloc_type::const_pointer const_pointer;
7581 typedef typename _Tp_alloc_type::reference reference;
7582 typedef typename _Tp_alloc_type::const_reference const_reference;
7583 typedef __gnu_cxx::__normal_iterator<pointer, vector_type> iterator;
7584 typedef __gnu_cxx::__normal_iterator<const_pointer, vector_type>
7586 typedef std::reverse_iterator<const_iterator> const_reverse_iterator;
7587 typedef std::reverse_iterator<iterator> reverse_iterator;
7588 typedef size_t size_type;
7589 typedef ptrdiff_t difference_type;
7590 typedef _Alloc allocator_type;
7598 using _Base::_M_allocate;
7599 using _Base::_M_deallocate;
7600 using _Base::_M_impl;
7601 using _Base::_M_get_Tp_allocator;
7610 vector(const allocator_type& __a = allocator_type())
7613 # 213 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_vector.h" 3
7615 vector(size_type __n, const value_type& __value = value_type(),
7616 const allocator_type& __a = allocator_type())
7619 std::__uninitialized_fill_n_a(this->_M_impl._M_start, __n, __value,
7620 _M_get_Tp_allocator());
7621 this->_M_impl._M_finish = this->_M_impl._M_start + __n;
7623 # 232 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_vector.h" 3
7624 vector(const vector& __x)
7625 : _Base(__x.size(), __x.get_allocator())
7626 { this->_M_impl._M_finish =
7627 std::__uninitialized_copy_a(__x.begin(), __x.end(),
7628 this->_M_impl._M_start,
7629 _M_get_Tp_allocator());
7631 # 255 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_vector.h" 3
7632 template<typename _InputIterator>
7633 vector(_InputIterator __first, _InputIterator __last,
7634 const allocator_type& __a = allocator_type())
7638 typedef typename std::__is_integer<_InputIterator>::__type _Integral;
7639 _M_initialize_dispatch(__first, __last, _Integral());
7649 { std::_Destroy(this->_M_impl._M_start, this->_M_impl._M_finish,
7650 _M_get_Tp_allocator());
7652 # 284 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_vector.h" 3
7654 operator=(const vector& __x);
7655 # 297 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_vector.h" 3
7657 assign(size_type __n, const value_type& __val)
7658 { _M_fill_assign(__n, __val); }
7659 # 313 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_vector.h" 3
7660 template<typename _InputIterator>
7662 assign(_InputIterator __first, _InputIterator __last)
7665 typedef typename std::__is_integer<_InputIterator>::__type _Integral;
7666 _M_assign_dispatch(__first, __last, _Integral());
7670 using _Base::get_allocator;
7680 { return iterator (this->_M_impl._M_start); }
7689 { return const_iterator (this->_M_impl._M_start); }
7698 { return iterator (this->_M_impl._M_finish); }
7707 { return const_iterator (this->_M_impl._M_finish); }
7716 { return reverse_iterator(end()); }
7723 const_reverse_iterator
7725 { return const_reverse_iterator(end()); }
7734 { return reverse_iterator(begin()); }
7741 const_reverse_iterator
7743 { return const_reverse_iterator(begin()); }
7749 { return size_type(end() - begin()); }
7754 { return size_type(-1) / sizeof(value_type); }
7755 # 420 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_vector.h" 3
7757 resize(size_type __new_size, value_type __x = value_type())
7759 if (__new_size < size())
7760 erase(begin() + __new_size, end());
7762 insert(end(), __new_size - size(), __x);
7771 { return size_type(const_iterator(this->_M_impl._M_end_of_storage)
7780 { return begin() == end(); }
7781 # 463 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_vector.h" 3
7783 reserve(size_type __n);
7784 # 478 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_vector.h" 3
7786 operator[](size_type __n)
7787 { return *(begin() + __n); }
7788 # 493 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_vector.h" 3
7790 operator[](size_type __n) const
7791 { return *(begin() + __n); }
7796 _M_range_check(size_type __n) const
7798 if (__n >= this->size())
7799 __throw_out_of_range(("vector::_M_range_check"));
7803 # 518 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_vector.h" 3
7807 _M_range_check(__n);
7808 return (*this)[__n];
7810 # 536 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_vector.h" 3
7812 at(size_type __n) const
7814 _M_range_check(__n);
7815 return (*this)[__n];
7824 { return *begin(); }
7832 { return *begin(); }
7840 { return *(end() - 1); }
7848 { return *(end() - 1); }
7849 # 582 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_vector.h" 3
7852 { return pointer(this->_M_impl._M_start); }
7856 { return const_pointer(this->_M_impl._M_start); }
7857 # 601 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_vector.h" 3
7859 push_back(const value_type& __x)
7861 if (this->_M_impl._M_finish != this->_M_impl._M_end_of_storage)
7863 this->_M_impl.construct(this->_M_impl._M_finish, __x);
7864 ++this->_M_impl._M_finish;
7867 _M_insert_aux(end(), __x);
7869 # 622 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_vector.h" 3
7873 --this->_M_impl._M_finish;
7874 this->_M_impl.destroy(this->_M_impl._M_finish);
7876 # 640 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_vector.h" 3
7878 insert(iterator __position, const value_type& __x);
7879 # 656 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_vector.h" 3
7881 insert(iterator __position, size_type __n, const value_type& __x)
7882 { _M_fill_insert(__position, __n, __x); }
7883 # 674 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_vector.h" 3
7884 template<typename _InputIterator>
7886 insert(iterator __position, _InputIterator __first,
7887 _InputIterator __last)
7890 typedef typename std::__is_integer<_InputIterator>::__type _Integral;
7891 _M_insert_dispatch(__position, __first, __last, _Integral());
7893 # 699 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_vector.h" 3
7895 erase(iterator __position);
7896 # 720 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_vector.h" 3
7898 erase(iterator __first, iterator __last);
7899 # 732 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_vector.h" 3
7903 std::swap(this->_M_impl._M_start, __x._M_impl._M_start);
7904 std::swap(this->_M_impl._M_finish, __x._M_impl._M_finish);
7905 std::swap(this->_M_impl._M_end_of_storage,
7906 __x._M_impl._M_end_of_storage);
7918 std::_Destroy(this->_M_impl._M_start, this->_M_impl._M_finish,
7919 _M_get_Tp_allocator());
7920 this->_M_impl._M_finish = this->_M_impl._M_start;
7930 template<typename _ForwardIterator>
7932 _M_allocate_and_copy(size_type __n,
7933 _ForwardIterator __first, _ForwardIterator __last)
7935 pointer __result = this->_M_allocate(__n);
7938 std::__uninitialized_copy_a(__first, __last, __result,
7939 _M_get_Tp_allocator());
7944 _M_deallocate(__result, __n);
7953 template<typename _Integer>
7955 _M_initialize_dispatch(_Integer __n, _Integer __value, __true_type)
7957 this->_M_impl._M_start = _M_allocate(__n);
7958 this->_M_impl._M_end_of_storage = this->_M_impl._M_start + __n;
7959 std::__uninitialized_fill_n_a(this->_M_impl._M_start, __n, __value,
7960 _M_get_Tp_allocator());
7961 this->_M_impl._M_finish = this->_M_impl._M_end_of_storage;
7965 template<typename _InputIterator>
7967 _M_initialize_dispatch(_InputIterator __first, _InputIterator __last,
7970 typedef typename std::iterator_traits<_InputIterator>::
7971 iterator_category _IterCategory;
7972 _M_range_initialize(__first, __last, _IterCategory());
7976 template<typename _InputIterator>
7978 _M_range_initialize(_InputIterator __first,
7979 _InputIterator __last, std::input_iterator_tag)
7981 for (; __first != __last; ++__first)
7982 push_back(*__first);
7986 template<typename _ForwardIterator>
7988 _M_range_initialize(_ForwardIterator __first,
7989 _ForwardIterator __last, std::forward_iterator_tag)
7991 const size_type __n = std::distance(__first, __last);
7992 this->_M_impl._M_start = this->_M_allocate(__n);
7993 this->_M_impl._M_end_of_storage = this->_M_impl._M_start + __n;
7994 this->_M_impl._M_finish =
7995 std::__uninitialized_copy_a(__first, __last,
7996 this->_M_impl._M_start,
7997 _M_get_Tp_allocator());
8005 template<typename _Integer>
8007 _M_assign_dispatch(_Integer __n, _Integer __val, __true_type)
8009 _M_fill_assign(static_cast<size_type>(__n),
8010 static_cast<value_type>(__val));
8014 template<typename _InputIterator>
8016 _M_assign_dispatch(_InputIterator __first, _InputIterator __last,
8019 typedef typename std::iterator_traits<_InputIterator>::
8020 iterator_category _IterCategory;
8021 _M_assign_aux(__first, __last, _IterCategory());
8025 template<typename _InputIterator>
8027 _M_assign_aux(_InputIterator __first, _InputIterator __last,
8028 std::input_iterator_tag);
8031 template<typename _ForwardIterator>
8033 _M_assign_aux(_ForwardIterator __first, _ForwardIterator __last,
8034 std::forward_iterator_tag);
8039 _M_fill_assign(size_type __n, const value_type& __val);
8045 template<typename _Integer>
8047 _M_insert_dispatch(iterator __pos, _Integer __n, _Integer __val,
8050 _M_fill_insert(__pos, static_cast<size_type>(__n),
8051 static_cast<value_type>(__val));
8055 template<typename _InputIterator>
8057 _M_insert_dispatch(iterator __pos, _InputIterator __first,
8058 _InputIterator __last, __false_type)
8060 typedef typename std::iterator_traits<_InputIterator>::
8061 iterator_category _IterCategory;
8062 _M_range_insert(__pos, __first, __last, _IterCategory());
8066 template<typename _InputIterator>
8068 _M_range_insert(iterator __pos, _InputIterator __first,
8069 _InputIterator __last, std::input_iterator_tag);
8072 template<typename _ForwardIterator>
8074 _M_range_insert(iterator __pos, _ForwardIterator __first,
8075 _ForwardIterator __last, std::forward_iterator_tag);
8080 _M_fill_insert(iterator __pos, size_type __n, const value_type& __x);
8084 _M_insert_aux(iterator __position, const value_type& __x);
8086 # 930 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_vector.h" 3
8087 template<typename _Tp, typename _Alloc>
8089 operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
8090 { return (__x.size() == __y.size()
8091 && std::equal(__x.begin(), __x.end(), __y.begin())); }
8092 # 947 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_vector.h" 3
8093 template<typename _Tp, typename _Alloc>
8095 operator<(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
8096 { return std::lexicographical_compare(__x.begin(), __x.end(),
8097 __y.begin(), __y.end()); }
8100 template<typename _Tp, typename _Alloc>
8102 operator!=(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
8103 { return !(__x == __y); }
8106 template<typename _Tp, typename _Alloc>
8108 operator>(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
8109 { return __y < __x; }
8112 template<typename _Tp, typename _Alloc>
8114 operator<=(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
8115 { return !(__y < __x); }
8118 template<typename _Tp, typename _Alloc>
8120 operator>=(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
8121 { return !(__x < __y); }
8124 template<typename _Tp, typename _Alloc>
8126 swap(vector<_Tp, _Alloc>& __x, vector<_Tp, _Alloc>& __y)
8129 # 71 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/vector" 2 3
8130 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_bvector.h" 1 3
8131 # 64 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_bvector.h" 3
8134 typedef unsigned long _Bit_type;
8135 enum { _S_word_bit = int(8 * sizeof(_Bit_type)) };
8137 struct _Bit_reference
8142 _Bit_reference(_Bit_type * __x, _Bit_type __y)
8143 : _M_p(__x), _M_mask(__y) { }
8145 _Bit_reference() : _M_p(0), _M_mask(0) { }
8147 operator bool() const
8148 { return !!(*_M_p & _M_mask); }
8161 operator=(const _Bit_reference& __x)
8162 { return *this = bool(__x); }
8165 operator==(const _Bit_reference& __x) const
8166 { return bool(*this) == bool(__x); }
8169 operator<(const _Bit_reference& __x) const
8170 { return !bool(*this) && bool(__x); }
8174 { *_M_p ^= _M_mask; }
8177 struct _Bit_iterator_base
8178 : public std::iterator<std::random_access_iterator_tag, bool>
8181 unsigned int _M_offset;
8183 _Bit_iterator_base(_Bit_type * __x, unsigned int __y)
8184 : _M_p(__x), _M_offset(__y) { }
8189 if (_M_offset++ == int(_S_word_bit) - 1)
8199 if (_M_offset-- == 0)
8201 _M_offset = int(_S_word_bit) - 1;
8207 _M_incr(ptrdiff_t __i)
8209 difference_type __n = __i + _M_offset;
8210 _M_p += __n / int(_S_word_bit);
8211 __n = __n % int(_S_word_bit);
8214 _M_offset = static_cast<unsigned int>(__n + int(_S_word_bit));
8218 _M_offset = static_cast<unsigned int>(__n);
8222 operator==(const _Bit_iterator_base& __i) const
8223 { return _M_p == __i._M_p && _M_offset == __i._M_offset; }
8226 operator<(const _Bit_iterator_base& __i) const
8228 return _M_p < __i._M_p
8229 || (_M_p == __i._M_p && _M_offset < __i._M_offset);
8233 operator!=(const _Bit_iterator_base& __i) const
8234 { return !(*this == __i); }
8237 operator>(const _Bit_iterator_base& __i) const
8238 { return __i < *this; }
8241 operator<=(const _Bit_iterator_base& __i) const
8242 { return !(__i < *this); }
8245 operator>=(const _Bit_iterator_base& __i) const
8246 { return !(*this < __i); }
8250 operator-(const _Bit_iterator_base& __x, const _Bit_iterator_base& __y)
8252 return (int(_S_word_bit) * (__x._M_p - __y._M_p)
8253 + __x._M_offset - __y._M_offset);
8256 struct _Bit_iterator : public _Bit_iterator_base
8258 typedef _Bit_reference reference;
8259 typedef _Bit_reference* pointer;
8260 typedef _Bit_iterator iterator;
8262 _Bit_iterator() : _Bit_iterator_base(0, 0) { }
8264 _Bit_iterator(_Bit_type * __x, unsigned int __y)
8265 : _Bit_iterator_base(__x, __y) { }
8269 { return reference(_M_p, 1UL << _M_offset); }
8281 iterator __tmp = *this;
8296 iterator __tmp = *this;
8302 operator+=(difference_type __i)
8309 operator-=(difference_type __i)
8316 operator+(difference_type __i) const
8318 iterator __tmp = *this;
8319 return __tmp += __i;
8323 operator-(difference_type __i) const
8325 iterator __tmp = *this;
8326 return __tmp -= __i;
8330 operator[](difference_type __i) const
8331 { return *(*this + __i); }
8334 inline _Bit_iterator
8335 operator+(ptrdiff_t __n, const _Bit_iterator& __x)
8336 { return __x + __n; }
8338 struct _Bit_const_iterator : public _Bit_iterator_base
8340 typedef bool reference;
8341 typedef bool const_reference;
8342 typedef const bool* pointer;
8343 typedef _Bit_const_iterator const_iterator;
8345 _Bit_const_iterator() : _Bit_iterator_base(0, 0) { }
8347 _Bit_const_iterator(_Bit_type * __x, unsigned int __y)
8348 : _Bit_iterator_base(__x, __y) { }
8350 _Bit_const_iterator(const _Bit_iterator& __x)
8351 : _Bit_iterator_base(__x._M_p, __x._M_offset) { }
8355 { return _Bit_reference(_M_p, 1UL << _M_offset); }
8367 const_iterator __tmp = *this;
8382 const_iterator __tmp = *this;
8388 operator+=(difference_type __i)
8395 operator-=(difference_type __i)
8402 operator+(difference_type __i) const
8404 const_iterator __tmp = *this;
8405 return __tmp += __i;
8409 operator-(difference_type __i) const
8411 const_iterator __tmp = *this;
8412 return __tmp -= __i;
8416 operator[](difference_type __i) const
8417 { return *(*this + __i); }
8420 inline _Bit_const_iterator
8421 operator+(ptrdiff_t __n, const _Bit_const_iterator& __x)
8422 { return __x + __n; }
8424 template<class _Alloc>
8427 typedef typename _Alloc::template rebind<_Bit_type>::other
8430 struct _Bvector_impl : public _Bit_alloc_type
8432 _Bit_iterator _M_start;
8433 _Bit_iterator _M_finish;
8434 _Bit_type* _M_end_of_storage;
8435 _Bvector_impl(const _Bit_alloc_type& __a)
8436 : _Bit_alloc_type(__a), _M_start(), _M_finish(), _M_end_of_storage(0)
8441 typedef _Alloc allocator_type;
8444 get_allocator() const
8445 { return *static_cast<const _Bit_alloc_type*>(&this->_M_impl); }
8447 _Bvector_base(const allocator_type& __a) : _M_impl(__a) { }
8450 { this->_M_deallocate(); }
8453 _Bvector_impl _M_impl;
8456 _M_allocate(size_t __n)
8457 { return _M_impl.allocate((__n + int(_S_word_bit) - 1)
8458 / int(_S_word_bit)); }
8463 if (_M_impl._M_start._M_p)
8464 _M_impl.deallocate(_M_impl._M_start._M_p,
8465 _M_impl._M_end_of_storage - _M_impl._M_start._M_p);
8475 # 425 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_bvector.h" 3
8476 template<typename _Alloc>
8477 class vector<bool, _Alloc> : public _Bvector_base<_Alloc>
8480 typedef bool value_type;
8481 typedef size_t size_type;
8482 typedef ptrdiff_t difference_type;
8483 typedef _Bit_reference reference;
8484 typedef bool const_reference;
8485 typedef _Bit_reference* pointer;
8486 typedef const bool* const_pointer;
8488 typedef _Bit_iterator iterator;
8489 typedef _Bit_const_iterator const_iterator;
8491 typedef std::reverse_iterator<const_iterator> const_reverse_iterator;
8492 typedef std::reverse_iterator<iterator> reverse_iterator;
8494 typedef typename _Bvector_base<_Alloc>::allocator_type allocator_type;
8496 allocator_type get_allocator() const
8497 { return _Bvector_base<_Alloc>::get_allocator(); }
8500 using _Bvector_base<_Alloc>::_M_allocate;
8501 using _Bvector_base<_Alloc>::_M_deallocate;
8505 _M_initialize(size_type __n)
8507 _Bit_type* __q = this->_M_allocate(__n);
8508 this->_M_impl._M_end_of_storage = (__q
8509 + ((__n + int(_S_word_bit) - 1)
8510 / int(_S_word_bit)));
8511 this->_M_impl._M_start = iterator(__q, 0);
8512 this->_M_impl._M_finish = this->_M_impl._M_start + difference_type(__n);
8516 _M_insert_aux(iterator __position, bool __x)
8518 if (this->_M_impl._M_finish._M_p != this->_M_impl._M_end_of_storage)
8520 std::copy_backward(__position, this->_M_impl._M_finish,
8521 this->_M_impl._M_finish + 1);
8523 ++this->_M_impl._M_finish;
8527 const size_type __len = size() ? 2 * size()
8528 : static_cast<size_type>(_S_word_bit);
8529 _Bit_type * __q = this->_M_allocate(__len);
8530 iterator __i = std::copy(begin(), __position, iterator(__q, 0));
8532 this->_M_impl._M_finish = std::copy(__position, end(), __i);
8533 this->_M_deallocate();
8534 this->_M_impl._M_end_of_storage = (__q + ((__len
8535 + int(_S_word_bit) - 1)
8536 / int(_S_word_bit)));
8537 this->_M_impl._M_start = iterator(__q, 0);
8541 template<class _InputIterator>
8543 _M_initialize_range(_InputIterator __first, _InputIterator __last,
8544 std::input_iterator_tag)
8546 this->_M_impl._M_start = iterator();
8547 this->_M_impl._M_finish = iterator();
8548 this->_M_impl._M_end_of_storage = 0;
8549 for (; __first != __last; ++__first)
8550 push_back(*__first);
8553 template<class _ForwardIterator>
8555 _M_initialize_range(_ForwardIterator __first, _ForwardIterator __last,
8556 std::forward_iterator_tag)
8558 const size_type __n = std::distance(__first, __last);
8560 std::copy(__first, __last, this->_M_impl._M_start);
8563 template<class _InputIterator>
8565 _M_insert_range(iterator __pos, _InputIterator __first,
8566 _InputIterator __last, std::input_iterator_tag)
8568 for (; __first != __last; ++__first)
8570 __pos = insert(__pos, *__first);
8575 template<class _ForwardIterator>
8577 _M_insert_range(iterator __position, _ForwardIterator __first,
8578 _ForwardIterator __last, std::forward_iterator_tag)
8580 if (__first != __last)
8582 size_type __n = std::distance(__first, __last);
8583 if (capacity() - size() >= __n)
8585 std::copy_backward(__position, end(),
8586 this->_M_impl._M_finish
8587 + difference_type(__n));
8588 std::copy(__first, __last, __position);
8589 this->_M_impl._M_finish += difference_type(__n);
8593 const size_type __len = size() + std::max(size(), __n);
8594 _Bit_type * __q = this->_M_allocate(__len);
8595 iterator __i = std::copy(begin(), __position,
8597 __i = std::copy(__first, __last, __i);
8598 this->_M_impl._M_finish = std::copy(__position, end(), __i);
8599 this->_M_deallocate();
8600 this->_M_impl._M_end_of_storage = (__q
8602 + int(_S_word_bit) - 1)
8603 / int(_S_word_bit)));
8604 this->_M_impl._M_start = iterator(__q, 0);
8612 { return this->_M_impl._M_start; }
8616 { return this->_M_impl._M_start; }
8620 { return this->_M_impl._M_finish; }
8624 { return this->_M_impl._M_finish; }
8628 { return reverse_iterator(end()); }
8630 const_reverse_iterator
8632 { return const_reverse_iterator(end()); }
8636 { return reverse_iterator(begin()); }
8638 const_reverse_iterator
8640 { return const_reverse_iterator(begin()); }
8644 { return size_type(end() - begin()); }
8648 { return size_type(-1); }
8652 { return size_type(const_iterator(this->_M_impl._M_end_of_storage, 0)
8656 { return begin() == end(); }
8659 operator[](size_type __n)
8660 { return *(begin() + difference_type(__n)); }
8663 operator[](size_type __n) const
8664 { return *(begin() + difference_type(__n)); }
8667 _M_range_check(size_type __n) const
8669 if (__n >= this->size())
8670 __throw_out_of_range(("vector<bool>::_M_range_check"));
8675 { _M_range_check(__n); return (*this)[__n]; }
8678 at(size_type __n) const
8679 { _M_range_check(__n); return (*this)[__n]; }
8682 vector(const allocator_type& __a = allocator_type())
8683 : _Bvector_base<_Alloc>(__a) { }
8685 vector(size_type __n, bool __value,
8686 const allocator_type& __a = allocator_type())
8687 : _Bvector_base<_Alloc>(__a)
8690 std::fill(this->_M_impl._M_start._M_p, this->_M_impl._M_end_of_storage,
8695 vector(size_type __n)
8696 : _Bvector_base<_Alloc>(allocator_type())
8699 std::fill(this->_M_impl._M_start._M_p,
8700 this->_M_impl._M_end_of_storage, 0);
8703 vector(const vector& __x)
8704 : _Bvector_base<_Alloc>(__x.get_allocator())
8706 _M_initialize(__x.size());
8707 std::copy(__x.begin(), __x.end(), this->_M_impl._M_start);
8711 template<class _Integer>
8713 _M_initialize_dispatch(_Integer __n, _Integer __x, __true_type)
8716 std::fill(this->_M_impl._M_start._M_p,
8717 this->_M_impl._M_end_of_storage, __x ? ~0 : 0);
8720 template<class _InputIterator>
8722 _M_initialize_dispatch(_InputIterator __first, _InputIterator __last,
8724 { _M_initialize_range(__first, __last,
8725 std::__iterator_category(__first)); }
8727 template<class _InputIterator>
8728 vector(_InputIterator __first, _InputIterator __last,
8729 const allocator_type& __a = allocator_type())
8730 : _Bvector_base<_Alloc>(__a)
8732 typedef typename std::__is_integer<_InputIterator>::__type _Integral;
8733 _M_initialize_dispatch(__first, __last, _Integral());
8739 operator=(const vector& __x)
8743 if (__x.size() > capacity())
8745 this->_M_deallocate();
8746 _M_initialize(__x.size());
8748 std::copy(__x.begin(), __x.end(), begin());
8749 this->_M_impl._M_finish = begin() + difference_type(__x.size());
8759 _M_fill_assign(size_t __n, bool __x)
8763 std::fill(this->_M_impl._M_start._M_p,
8764 this->_M_impl._M_end_of_storage, __x ? ~0 : 0);
8765 insert(end(), __n - size(), __x);
8769 erase(begin() + __n, end());
8770 std::fill(this->_M_impl._M_start._M_p,
8771 this->_M_impl._M_end_of_storage, __x ? ~0 : 0);
8776 assign(size_t __n, bool __x)
8777 { _M_fill_assign(__n, __x); }
8779 template<class _InputIterator>
8781 assign(_InputIterator __first, _InputIterator __last)
8783 typedef typename std::__is_integer<_InputIterator>::__type _Integral;
8784 _M_assign_dispatch(__first, __last, _Integral());
8787 template<class _Integer>
8789 _M_assign_dispatch(_Integer __n, _Integer __val, __true_type)
8790 { _M_fill_assign((size_t) __n, (bool) __val); }
8792 template<class _InputIterator>
8794 _M_assign_dispatch(_InputIterator __first, _InputIterator __last,
8796 { _M_assign_aux(__first, __last, std::__iterator_category(__first)); }
8798 template<class _InputIterator>
8800 _M_assign_aux(_InputIterator __first, _InputIterator __last,
8801 std::input_iterator_tag)
8803 iterator __cur = begin();
8804 for (; __first != __last && __cur != end(); ++__cur, ++__first)
8806 if (__first == __last)
8807 erase(__cur, end());
8809 insert(end(), __first, __last);
8812 template<class _ForwardIterator>
8814 _M_assign_aux(_ForwardIterator __first, _ForwardIterator __last,
8815 std::forward_iterator_tag)
8817 const size_type __len = std::distance(__first, __last);
8819 erase(std::copy(__first, __last, begin()), end());
8822 _ForwardIterator __mid = __first;
8823 std::advance(__mid, size());
8824 std::copy(__first, __mid, begin());
8825 insert(end(), __mid, __last);
8830 reserve(size_type __n)
8832 if (__n > this->max_size())
8833 __throw_length_error(("vector::reserve"));
8834 if (this->capacity() < __n)
8836 _Bit_type* __q = this->_M_allocate(__n);
8837 this->_M_impl._M_finish = std::copy(begin(), end(),
8839 this->_M_deallocate();
8840 this->_M_impl._M_start = iterator(__q, 0);
8841 this->_M_impl._M_end_of_storage = (__q + (__n + int(_S_word_bit) - 1)
8842 / int(_S_word_bit));
8848 { return *begin(); }
8852 { return *begin(); }
8856 { return *(end() - 1); }
8860 { return *(end() - 1); }
8873 if (this->_M_impl._M_finish._M_p != this->_M_impl._M_end_of_storage)
8874 *this->_M_impl._M_finish++ = __x;
8876 _M_insert_aux(end(), __x);
8880 swap(vector<bool, _Alloc>& __x)
8882 std::swap(this->_M_impl._M_start, __x._M_impl._M_start);
8883 std::swap(this->_M_impl._M_finish, __x._M_impl._M_finish);
8884 std::swap(this->_M_impl._M_end_of_storage,
8885 __x._M_impl._M_end_of_storage);
8890 swap(reference __x, reference __y)
8898 insert(iterator __position, bool __x = bool())
8900 const difference_type __n = __position - begin();
8901 if (this->_M_impl._M_finish._M_p != this->_M_impl._M_end_of_storage
8902 && __position == end())
8903 *this->_M_impl._M_finish++ = __x;
8905 _M_insert_aux(__position, __x);
8906 return begin() + __n;
8911 template<class _Integer>
8913 _M_insert_dispatch(iterator __pos, _Integer __n, _Integer __x,
8915 { _M_fill_insert(__pos, __n, __x); }
8917 template<class _InputIterator>
8919 _M_insert_dispatch(iterator __pos,
8920 _InputIterator __first, _InputIterator __last,
8922 { _M_insert_range(__pos, __first, __last,
8923 std::__iterator_category(__first)); }
8925 template<class _InputIterator>
8927 insert(iterator __position,
8928 _InputIterator __first, _InputIterator __last)
8930 typedef typename std::__is_integer<_InputIterator>::__type _Integral;
8931 _M_insert_dispatch(__position, __first, __last, _Integral());
8935 _M_fill_insert(iterator __position, size_type __n, bool __x)
8939 if (capacity() - size() >= __n)
8941 std::copy_backward(__position, end(),
8942 this->_M_impl._M_finish + difference_type(__n));
8943 std::fill(__position, __position + difference_type(__n), __x);
8944 this->_M_impl._M_finish += difference_type(__n);
8948 const size_type __len = size() + std::max(size(), __n);
8949 _Bit_type * __q = this->_M_allocate(__len);
8950 iterator __i = std::copy(begin(), __position, iterator(__q, 0));
8951 std::fill_n(__i, __n, __x);
8952 this->_M_impl._M_finish = std::copy(__position, end(),
8953 __i + difference_type(__n));
8954 this->_M_deallocate();
8955 this->_M_impl._M_end_of_storage = (__q + ((__len
8956 + int(_S_word_bit) - 1)
8957 / int(_S_word_bit)));
8958 this->_M_impl._M_start = iterator(__q, 0);
8963 insert(iterator __position, size_type __n, bool __x)
8964 { _M_fill_insert(__position, __n, __x); }
8968 { --this->_M_impl._M_finish; }
8971 erase(iterator __position)
8973 if (__position + 1 != end())
8974 std::copy(__position + 1, end(), __position);
8975 --this->_M_impl._M_finish;
8980 erase(iterator __first, iterator __last)
8982 this->_M_impl._M_finish = std::copy(__last, end(), __first);
8987 resize(size_type __new_size, bool __x = bool())
8989 if (__new_size < size())
8990 erase(begin() + difference_type(__new_size), end());
8992 insert(end(), __new_size - size(), __x);
8998 for (_Bit_type * __p = this->_M_impl._M_start._M_p;
8999 __p != this->_M_impl._M_end_of_storage; ++__p)
9005 { erase(begin(), end()); }
9008 # 72 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/vector" 2 3
9011 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/vector.tcc" 1 3
9012 # 64 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/vector.tcc" 3
9015 template<typename _Tp, typename _Alloc>
9017 vector<_Tp, _Alloc>::
9018 reserve(size_type __n)
9020 if (__n > this->max_size())
9021 __throw_length_error(("vector::reserve"));
9022 if (this->capacity() < __n)
9024 const size_type __old_size = size();
9025 pointer __tmp = _M_allocate_and_copy(__n,
9026 this->_M_impl._M_start,
9027 this->_M_impl._M_finish);
9028 std::_Destroy(this->_M_impl._M_start, this->_M_impl._M_finish,
9029 _M_get_Tp_allocator());
9030 _M_deallocate(this->_M_impl._M_start,
9031 this->_M_impl._M_end_of_storage
9032 - this->_M_impl._M_start);
9033 this->_M_impl._M_start = __tmp;
9034 this->_M_impl._M_finish = __tmp + __old_size;
9035 this->_M_impl._M_end_of_storage = this->_M_impl._M_start + __n;
9039 template<typename _Tp, typename _Alloc>
9040 typename vector<_Tp, _Alloc>::iterator
9041 vector<_Tp, _Alloc>::
9042 insert(iterator __position, const value_type& __x)
9044 const size_type __n = __position - begin();
9045 if (this->_M_impl._M_finish != this->_M_impl._M_end_of_storage
9046 && __position == end())
9048 this->_M_impl.construct(this->_M_impl._M_finish, __x);
9049 ++this->_M_impl._M_finish;
9052 _M_insert_aux(__position, __x);
9053 return begin() + __n;
9056 template<typename _Tp, typename _Alloc>
9057 typename vector<_Tp, _Alloc>::iterator
9058 vector<_Tp, _Alloc>::
9059 erase(iterator __position)
9061 if (__position + 1 != end())
9062 std::copy(__position + 1, end(), __position);
9063 --this->_M_impl._M_finish;
9064 this->_M_impl.destroy(this->_M_impl._M_finish);
9068 template<typename _Tp, typename _Alloc>
9069 typename vector<_Tp, _Alloc>::iterator
9070 vector<_Tp, _Alloc>::
9071 erase(iterator __first, iterator __last)
9073 iterator __i(std::copy(__last, end(), __first));
9074 std::_Destroy(__i, end(), _M_get_Tp_allocator());
9075 this->_M_impl._M_finish = this->_M_impl._M_finish - (__last - __first);
9079 template<typename _Tp, typename _Alloc>
9080 vector<_Tp, _Alloc>&
9081 vector<_Tp, _Alloc>::
9082 operator=(const vector<_Tp, _Alloc>& __x)
9086 const size_type __xlen = __x.size();
9087 if (__xlen > capacity())
9089 pointer __tmp = _M_allocate_and_copy(__xlen, __x.begin(),
9091 std::_Destroy(this->_M_impl._M_start, this->_M_impl._M_finish,
9092 _M_get_Tp_allocator());
9093 _M_deallocate(this->_M_impl._M_start,
9094 this->_M_impl._M_end_of_storage
9095 - this->_M_impl._M_start);
9096 this->_M_impl._M_start = __tmp;
9097 this->_M_impl._M_end_of_storage = this->_M_impl._M_start + __xlen;
9099 else if (size() >= __xlen)
9101 iterator __i(std::copy(__x.begin(), __x.end(), begin()));
9102 std::_Destroy(__i, end(), _M_get_Tp_allocator());
9106 std::copy(__x.begin(), __x.begin() + size(),
9107 this->_M_impl._M_start);
9108 std::__uninitialized_copy_a(__x.begin() + size(),
9109 __x.end(), this->_M_impl._M_finish,
9110 _M_get_Tp_allocator());
9112 this->_M_impl._M_finish = this->_M_impl._M_start + __xlen;
9117 template<typename _Tp, typename _Alloc>
9119 vector<_Tp, _Alloc>::
9120 _M_fill_assign(size_t __n, const value_type& __val)
9122 if (__n > capacity())
9124 vector __tmp(__n, __val, _M_get_Tp_allocator());
9127 else if (__n > size())
9129 std::fill(begin(), end(), __val);
9130 std::__uninitialized_fill_n_a(this->_M_impl._M_finish,
9131 __n - size(), __val,
9132 _M_get_Tp_allocator());
9133 this->_M_impl._M_finish += __n - size();
9136 erase(std::fill_n(begin(), __n, __val), end());
9139 template<typename _Tp, typename _Alloc>
9140 template<typename _InputIterator>
9142 vector<_Tp, _Alloc>::
9143 _M_assign_aux(_InputIterator __first, _InputIterator __last,
9144 std::input_iterator_tag)
9146 iterator __cur(begin());
9147 for (; __first != __last && __cur != end(); ++__cur, ++__first)
9149 if (__first == __last)
9150 erase(__cur, end());
9152 insert(end(), __first, __last);
9155 template<typename _Tp, typename _Alloc>
9156 template<typename _ForwardIterator>
9158 vector<_Tp, _Alloc>::
9159 _M_assign_aux(_ForwardIterator __first, _ForwardIterator __last,
9160 std::forward_iterator_tag)
9162 const size_type __len = std::distance(__first, __last);
9164 if (__len > capacity())
9166 pointer __tmp(_M_allocate_and_copy(__len, __first, __last));
9167 std::_Destroy(this->_M_impl._M_start, this->_M_impl._M_finish,
9168 _M_get_Tp_allocator());
9169 _M_deallocate(this->_M_impl._M_start,
9170 this->_M_impl._M_end_of_storage
9171 - this->_M_impl._M_start);
9172 this->_M_impl._M_start = __tmp;
9173 this->_M_impl._M_finish = this->_M_impl._M_start + __len;
9174 this->_M_impl._M_end_of_storage = this->_M_impl._M_finish;
9176 else if (size() >= __len)
9178 iterator __new_finish(std::copy(__first, __last,
9179 this->_M_impl._M_start));
9180 std::_Destroy(__new_finish, end(), _M_get_Tp_allocator());
9181 this->_M_impl._M_finish = __new_finish.base();
9185 _ForwardIterator __mid = __first;
9186 std::advance(__mid, size());
9187 std::copy(__first, __mid, this->_M_impl._M_start);
9188 this->_M_impl._M_finish =
9189 std::__uninitialized_copy_a(__mid, __last,
9190 this->_M_impl._M_finish,
9191 _M_get_Tp_allocator());
9195 template<typename _Tp, typename _Alloc>
9197 vector<_Tp, _Alloc>::
9198 _M_insert_aux(iterator __position, const _Tp& __x)
9200 if (this->_M_impl._M_finish != this->_M_impl._M_end_of_storage)
9202 this->_M_impl.construct(this->_M_impl._M_finish,
9203 *(this->_M_impl._M_finish - 1));
9204 ++this->_M_impl._M_finish;
9206 std::copy_backward(__position,
9207 iterator(this->_M_impl._M_finish-2),
9208 iterator(this->_M_impl._M_finish-1));
9209 *__position = __x_copy;
9213 const size_type __old_size = size();
9214 if (__old_size == this->max_size())
9215 __throw_length_error(("vector::_M_insert_aux"));
9220 size_type __len = __old_size != 0 ? 2 * __old_size : 1;
9221 if (__len < __old_size)
9222 __len = this->max_size();
9224 iterator __new_start(this->_M_allocate(__len));
9225 iterator __new_finish(__new_start);
9229 std::__uninitialized_copy_a(iterator(this->_M_impl._M_start),
9232 _M_get_Tp_allocator());
9233 this->_M_impl.construct(__new_finish.base(), __x);
9236 std::__uninitialized_copy_a(__position,
9237 iterator(this->_M_impl._M_finish),
9239 _M_get_Tp_allocator());
9243 std::_Destroy(__new_start, __new_finish, _M_get_Tp_allocator());
9244 _M_deallocate(__new_start.base(),__len);
9247 std::_Destroy(begin(), end(), _M_get_Tp_allocator());
9248 _M_deallocate(this->_M_impl._M_start,
9249 this->_M_impl._M_end_of_storage
9250 - this->_M_impl._M_start);
9251 this->_M_impl._M_start = __new_start.base();
9252 this->_M_impl._M_finish = __new_finish.base();
9253 this->_M_impl._M_end_of_storage = __new_start.base() + __len;
9257 template<typename _Tp, typename _Alloc>
9259 vector<_Tp, _Alloc>::
9260 _M_fill_insert(iterator __position, size_type __n, const value_type& __x)
9264 if (size_type(this->_M_impl._M_end_of_storage
9265 - this->_M_impl._M_finish) >= __n)
9267 value_type __x_copy = __x;
9268 const size_type __elems_after = end() - __position;
9269 iterator __old_finish(this->_M_impl._M_finish);
9270 if (__elems_after > __n)
9272 std::__uninitialized_copy_a(this->_M_impl._M_finish - __n,
9273 this->_M_impl._M_finish,
9274 this->_M_impl._M_finish,
9275 _M_get_Tp_allocator());
9276 this->_M_impl._M_finish += __n;
9277 std::copy_backward(__position, __old_finish - __n,
9279 std::fill(__position, __position + __n, __x_copy);
9283 std::__uninitialized_fill_n_a(this->_M_impl._M_finish,
9284 __n - __elems_after,
9286 _M_get_Tp_allocator());
9287 this->_M_impl._M_finish += __n - __elems_after;
9288 std::__uninitialized_copy_a(__position, __old_finish,
9289 this->_M_impl._M_finish,
9290 _M_get_Tp_allocator());
9291 this->_M_impl._M_finish += __elems_after;
9292 std::fill(__position, __old_finish, __x_copy);
9297 const size_type __old_size = size();
9298 if (this->max_size() - __old_size < __n)
9299 __throw_length_error(("vector::_M_fill_insert"));
9302 size_type __len = __old_size + std::max(__old_size, __n);
9303 if (__len < __old_size)
9304 __len = this->max_size();
9306 iterator __new_start(this->_M_allocate(__len));
9307 iterator __new_finish(__new_start);
9311 std::__uninitialized_copy_a(begin(), __position,
9313 _M_get_Tp_allocator());
9314 std::__uninitialized_fill_n_a(__new_finish, __n, __x,
9315 _M_get_Tp_allocator());
9316 __new_finish += __n;
9318 std::__uninitialized_copy_a(__position, end(), __new_finish,
9319 _M_get_Tp_allocator());
9323 std::_Destroy(__new_start, __new_finish,
9324 _M_get_Tp_allocator());
9325 _M_deallocate(__new_start.base(), __len);
9328 std::_Destroy(this->_M_impl._M_start, this->_M_impl._M_finish,
9329 _M_get_Tp_allocator());
9330 _M_deallocate(this->_M_impl._M_start,
9331 this->_M_impl._M_end_of_storage
9332 - this->_M_impl._M_start);
9333 this->_M_impl._M_start = __new_start.base();
9334 this->_M_impl._M_finish = __new_finish.base();
9335 this->_M_impl._M_end_of_storage = __new_start.base() + __len;
9340 template<typename _Tp, typename _Alloc> template<typename _InputIterator>
9342 vector<_Tp, _Alloc>::
9343 _M_range_insert(iterator __pos, _InputIterator __first,
9344 _InputIterator __last, std::input_iterator_tag)
9346 for (; __first != __last; ++__first)
9348 __pos = insert(__pos, *__first);
9353 template<typename _Tp, typename _Alloc>
9354 template<typename _ForwardIterator>
9356 vector<_Tp, _Alloc>::
9357 _M_range_insert(iterator __position, _ForwardIterator __first,
9358 _ForwardIterator __last, std::forward_iterator_tag)
9360 if (__first != __last)
9362 const size_type __n = std::distance(__first, __last);
9363 if (size_type(this->_M_impl._M_end_of_storage
9364 - this->_M_impl._M_finish) >= __n)
9366 const size_type __elems_after = end() - __position;
9367 iterator __old_finish(this->_M_impl._M_finish);
9368 if (__elems_after > __n)
9370 std::__uninitialized_copy_a(this->_M_impl._M_finish - __n,
9371 this->_M_impl._M_finish,
9372 this->_M_impl._M_finish,
9373 _M_get_Tp_allocator());
9374 this->_M_impl._M_finish += __n;
9375 std::copy_backward(__position, __old_finish - __n,
9377 std::copy(__first, __last, __position);
9381 _ForwardIterator __mid = __first;
9382 std::advance(__mid, __elems_after);
9383 std::__uninitialized_copy_a(__mid, __last,
9384 this->_M_impl._M_finish,
9385 _M_get_Tp_allocator());
9386 this->_M_impl._M_finish += __n - __elems_after;
9387 std::__uninitialized_copy_a(__position, __old_finish,
9388 this->_M_impl._M_finish,
9389 _M_get_Tp_allocator());
9390 this->_M_impl._M_finish += __elems_after;
9391 std::copy(__first, __mid, __position);
9396 const size_type __old_size = size();
9397 if (this->max_size() - __old_size < __n)
9398 __throw_length_error(("vector::_M_range_insert"));
9401 size_type __len = __old_size + std::max(__old_size, __n);
9402 if (__len < __old_size)
9403 __len = this->max_size();
9405 iterator __new_start(this->_M_allocate(__len));
9406 iterator __new_finish(__new_start);
9410 std::__uninitialized_copy_a(iterator(this->_M_impl._M_start),
9413 _M_get_Tp_allocator());
9415 std::__uninitialized_copy_a(__first, __last, __new_finish,
9416 _M_get_Tp_allocator());
9418 std::__uninitialized_copy_a(__position,
9419 iterator(this->_M_impl._M_finish),
9421 _M_get_Tp_allocator());
9425 std::_Destroy(__new_start,__new_finish,
9426 _M_get_Tp_allocator());
9427 _M_deallocate(__new_start.base(), __len);
9430 std::_Destroy(this->_M_impl._M_start, this->_M_impl._M_finish,
9431 _M_get_Tp_allocator());
9432 _M_deallocate(this->_M_impl._M_start,
9433 this->_M_impl._M_end_of_storage
9434 - this->_M_impl._M_start);
9435 this->_M_impl._M_start = __new_start.base();
9436 this->_M_impl._M_finish = __new_finish.base();
9437 this->_M_impl._M_end_of_storage = __new_start.base() + __len;
9442 # 75 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/vector" 2 3
9443 # 18 "./boost/format.hpp" 2
9444 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/string" 1 3
9445 # 42 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/string" 3
9447 # 43 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/string" 3
9451 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/char_traits.h" 1 3
9452 # 43 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/char_traits.h" 3
9454 # 44 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/char_traits.h" 3
9462 # 61 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/char_traits.h" 3
9463 template <class _CharT>
9466 typedef unsigned long int_type;
9467 typedef std::streampos pos_type;
9468 typedef std::streamoff off_type;
9469 typedef std::mbstate_t state_type;
9471 # 86 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/char_traits.h" 3
9472 template<typename _CharT>
9475 typedef _CharT char_type;
9476 typedef typename _Char_types<_CharT>::int_type int_type;
9477 typedef typename _Char_types<_CharT>::pos_type pos_type;
9478 typedef typename _Char_types<_CharT>::off_type off_type;
9479 typedef typename _Char_types<_CharT>::state_type state_type;
9482 assign(char_type& __c1, const char_type& __c2)
9486 eq(const char_type& __c1, const char_type& __c2)
9487 { return __c1 == __c2; }
9490 lt(const char_type& __c1, const char_type& __c2)
9491 { return __c1 < __c2; }
9494 compare(const char_type* __s1, const char_type* __s2, std::size_t __n);
9497 length(const char_type* __s);
9499 static const char_type*
9500 find(const char_type* __s, std::size_t __n, const char_type& __a);
9503 move(char_type* __s1, const char_type* __s2, std::size_t __n);
9506 copy(char_type* __s1, const char_type* __s2, std::size_t __n);
9509 assign(char_type* __s, std::size_t __n, char_type __a);
9512 to_char_type(const int_type& __c)
9513 { return static_cast<char_type>(__c); }
9516 to_int_type(const char_type& __c)
9517 { return static_cast<int_type>(__c); }
9520 eq_int_type(const int_type& __c1, const int_type& __c2)
9521 { return __c1 == __c2; }
9525 { return static_cast<int_type>((-1)); }
9528 not_eof(const int_type& __c)
9529 { return !eq_int_type(__c, eof()) ? __c : to_int_type(char_type()); }
9532 template<typename _CharT>
9534 char_traits<_CharT>::
9535 compare(const char_type* __s1, const char_type* __s2, std::size_t __n)
9537 for (size_t __i = 0; __i < __n; ++__i)
9538 if (lt(__s1[__i], __s2[__i]))
9540 else if (lt(__s2[__i], __s1[__i]))
9545 template<typename _CharT>
9547 char_traits<_CharT>::
9548 length(const char_type* __p)
9550 std::size_t __i = 0;
9551 while (!eq(__p[__i], char_type()))
9556 template<typename _CharT>
9557 const typename char_traits<_CharT>::char_type*
9558 char_traits<_CharT>::
9559 find(const char_type* __s, std::size_t __n, const char_type& __a)
9561 for (std::size_t __i = 0; __i < __n; ++__i)
9562 if (eq(__s[__i], __a))
9567 template<typename _CharT>
9568 typename char_traits<_CharT>::char_type*
9569 char_traits<_CharT>::
9570 move(char_type* __s1, const char_type* __s2, std::size_t __n)
9572 return static_cast<_CharT*>(std::memmove(__s1, __s2,
9573 __n * sizeof(char_type)));
9576 template<typename _CharT>
9577 typename char_traits<_CharT>::char_type*
9578 char_traits<_CharT>::
9579 copy(char_type* __s1, const char_type* __s2, std::size_t __n)
9581 std::copy(__s2, __s2 + __n, __s1);
9585 template<typename _CharT>
9586 typename char_traits<_CharT>::char_type*
9587 char_traits<_CharT>::
9588 assign(char_type* __s, std::size_t __n, char_type __a)
9590 std::fill_n(__s, __n, __a);
9597 # 224 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/char_traits.h" 3
9598 template<class _CharT>
9599 struct char_traits : public __gnu_cxx::char_traits<_CharT>
9605 struct char_traits<char>
9607 typedef char char_type;
9608 typedef int int_type;
9609 typedef streampos pos_type;
9610 typedef streamoff off_type;
9611 typedef mbstate_t state_type;
9614 assign(char_type& __c1, const char_type& __c2)
9618 eq(const char_type& __c1, const char_type& __c2)
9619 { return __c1 == __c2; }
9622 lt(const char_type& __c1, const char_type& __c2)
9623 { return __c1 < __c2; }
9626 compare(const char_type* __s1, const char_type* __s2, size_t __n)
9627 { return memcmp(__s1, __s2, __n); }
9630 length(const char_type* __s)
9631 { return strlen(__s); }
9633 static const char_type*
9634 find(const char_type* __s, size_t __n, const char_type& __a)
9635 { return static_cast<const char_type*>(memchr(__s, __a, __n)); }
9638 move(char_type* __s1, const char_type* __s2, size_t __n)
9639 { return static_cast<char_type*>(memmove(__s1, __s2, __n)); }
9642 copy(char_type* __s1, const char_type* __s2, size_t __n)
9643 { return static_cast<char_type*>(memcpy(__s1, __s2, __n)); }
9646 assign(char_type* __s, size_t __n, char_type __a)
9647 { return static_cast<char_type*>(memset(__s, __a, __n)); }
9650 to_char_type(const int_type& __c)
9651 { return static_cast<char_type>(__c); }
9656 to_int_type(const char_type& __c)
9657 { return static_cast<int_type>(static_cast<unsigned char>(__c)); }
9660 eq_int_type(const int_type& __c1, const int_type& __c2)
9661 { return __c1 == __c2; }
9664 eof() { return static_cast<int_type>((-1)); }
9667 not_eof(const int_type& __c)
9668 { return (__c == eof()) ? 0 : __c; }
9670 # 364 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/char_traits.h" 3
9672 # 47 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/string" 2 3
9673 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/memory" 1 3
9674 # 51 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/memory" 3
9676 # 52 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/memory" 3
9683 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_raw_storage_iter.h" 1 3
9684 # 64 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_raw_storage_iter.h" 3
9691 template <class _ForwardIterator, class _Tp>
9692 class raw_storage_iterator
9693 : public iterator<output_iterator_tag, void, void, void, void>
9696 _ForwardIterator _M_iter;
9700 raw_storage_iterator(_ForwardIterator __x)
9703 raw_storage_iterator&
9704 operator*() { return *this; }
9706 raw_storage_iterator&
9707 operator=(const _Tp& __element)
9709 std::_Construct(&*_M_iter, __element);
9713 raw_storage_iterator<_ForwardIterator, _Tp>&
9720 raw_storage_iterator<_ForwardIterator, _Tp>
9723 raw_storage_iterator<_ForwardIterator, _Tp> __tmp = *this;
9729 # 59 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/memory" 2 3
9731 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/limits" 1 3
9732 # 45 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/limits" 3
9734 # 46 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/limits" 3
9735 # 149 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/limits" 3
9743 enum float_round_style
9745 round_indeterminate = -1,
9746 round_toward_zero = 0,
9747 round_to_nearest = 1,
9748 round_toward_infinity = 2,
9749 round_toward_neg_infinity = 3
9758 enum float_denorm_style
9761 denorm_indeterminate = -1,
9767 # 191 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/limits" 3
9768 struct __numeric_limits_base
9772 static const bool is_specialized = false;
9777 static const int digits = 0;
9779 static const int digits10 = 0;
9781 static const bool is_signed = false;
9787 static const bool is_integer = false;
9792 static const bool is_exact = false;
9795 static const int radix = 0;
9799 static const int min_exponent = 0;
9802 static const int min_exponent10 = 0;
9806 static const int max_exponent = 0;
9809 static const int max_exponent10 = 0;
9812 static const bool has_infinity = false;
9815 static const bool has_quiet_NaN = false;
9818 static const bool has_signaling_NaN = false;
9820 static const float_denorm_style has_denorm = denorm_absent;
9823 static const bool has_denorm_loss = false;
9827 static const bool is_iec559 = false;
9831 static const bool is_bounded = false;
9836 static const bool is_modulo = false;
9839 static const bool traps = false;
9841 static const bool tinyness_before = false;
9845 static const float_round_style round_style = round_toward_zero;
9847 # 284 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/limits" 3
9848 template<typename _Tp>
9849 struct numeric_limits : public __numeric_limits_base
9853 static _Tp min() throw() { return static_cast<_Tp>(0); }
9855 static _Tp max() throw() { return static_cast<_Tp>(0); }
9858 static _Tp epsilon() throw() { return static_cast<_Tp>(0); }
9860 static _Tp round_error() throw() { return static_cast<_Tp>(0); }
9862 static _Tp infinity() throw() { return static_cast<_Tp>(0); }
9864 static _Tp quiet_NaN() throw() { return static_cast<_Tp>(0); }
9867 static _Tp signaling_NaN() throw() { return static_cast<_Tp>(0); }
9871 static _Tp denorm_min() throw() { return static_cast<_Tp>(0); }
9879 struct numeric_limits<bool>
9881 static const bool is_specialized = true;
9883 static bool min() throw()
9885 static bool max() throw()
9888 static const int digits = 1;
9889 static const int digits10 = 0;
9890 static const bool is_signed = false;
9891 static const bool is_integer = true;
9892 static const bool is_exact = true;
9893 static const int radix = 2;
9894 static bool epsilon() throw()
9896 static bool round_error() throw()
9899 static const int min_exponent = 0;
9900 static const int min_exponent10 = 0;
9901 static const int max_exponent = 0;
9902 static const int max_exponent10 = 0;
9904 static const bool has_infinity = false;
9905 static const bool has_quiet_NaN = false;
9906 static const bool has_signaling_NaN = false;
9907 static const float_denorm_style has_denorm = denorm_absent;
9908 static const bool has_denorm_loss = false;
9910 static bool infinity() throw()
9912 static bool quiet_NaN() throw()
9914 static bool signaling_NaN() throw()
9916 static bool denorm_min() throw()
9919 static const bool is_iec559 = false;
9920 static const bool is_bounded = true;
9921 static const bool is_modulo = false;
9926 static const bool traps = true;
9927 static const bool tinyness_before = false;
9928 static const float_round_style round_style = round_toward_zero;
9933 struct numeric_limits<char>
9935 static const bool is_specialized = true;
9937 static char min() throw()
9938 { return (((char)(-1) < 0) ? (char)1 << (sizeof(char) * 8 - ((char)(-1) < 0)) : (char)0); }
9939 static char max() throw()
9940 { return (((char)(-1) < 0) ? ((char)1 << (sizeof(char) * 8 - ((char)(-1) < 0))) - 1 : ~(char)0); }
9942 static const int digits = (sizeof(char) * 8 - ((char)(-1) < 0));
9943 static const int digits10 = ((sizeof(char) * 8 - ((char)(-1) < 0)) * 643 / 2136);
9944 static const bool is_signed = ((char)(-1) < 0);
9945 static const bool is_integer = true;
9946 static const bool is_exact = true;
9947 static const int radix = 2;
9948 static char epsilon() throw()
9950 static char round_error() throw()
9953 static const int min_exponent = 0;
9954 static const int min_exponent10 = 0;
9955 static const int max_exponent = 0;
9956 static const int max_exponent10 = 0;
9958 static const bool has_infinity = false;
9959 static const bool has_quiet_NaN = false;
9960 static const bool has_signaling_NaN = false;
9961 static const float_denorm_style has_denorm = denorm_absent;
9962 static const bool has_denorm_loss = false;
9964 static char infinity() throw()
9966 static char quiet_NaN() throw()
9968 static char signaling_NaN() throw()
9970 static char denorm_min() throw()
9971 { return static_cast<char>(0); }
9973 static const bool is_iec559 = false;
9974 static const bool is_bounded = true;
9975 static const bool is_modulo = true;
9977 static const bool traps = true;
9978 static const bool tinyness_before = false;
9979 static const float_round_style round_style = round_toward_zero;
9984 struct numeric_limits<signed char>
9986 static const bool is_specialized = true;
9988 static signed char min() throw()
9989 { return -127 - 1; }
9990 static signed char max() throw()
9993 static const int digits = (sizeof(signed char) * 8 - ((signed char)(-1) < 0));
9994 static const int digits10 = ((sizeof(signed char) * 8 - ((signed char)(-1) < 0)) * 643 / 2136);
9995 static const bool is_signed = true;
9996 static const bool is_integer = true;
9997 static const bool is_exact = true;
9998 static const int radix = 2;
9999 static signed char epsilon() throw()
10001 static signed char round_error() throw()
10004 static const int min_exponent = 0;
10005 static const int min_exponent10 = 0;
10006 static const int max_exponent = 0;
10007 static const int max_exponent10 = 0;
10009 static const bool has_infinity = false;
10010 static const bool has_quiet_NaN = false;
10011 static const bool has_signaling_NaN = false;
10012 static const float_denorm_style has_denorm = denorm_absent;
10013 static const bool has_denorm_loss = false;
10015 static signed char infinity() throw()
10016 { return static_cast<signed char>(0); }
10017 static signed char quiet_NaN() throw()
10018 { return static_cast<signed char>(0); }
10019 static signed char signaling_NaN() throw()
10020 { return static_cast<signed char>(0); }
10021 static signed char denorm_min() throw()
10022 { return static_cast<signed char>(0); }
10024 static const bool is_iec559 = false;
10025 static const bool is_bounded = true;
10026 static const bool is_modulo = true;
10028 static const bool traps = true;
10029 static const bool tinyness_before = false;
10030 static const float_round_style round_style = round_toward_zero;
10035 struct numeric_limits<unsigned char>
10037 static const bool is_specialized = true;
10039 static unsigned char min() throw()
10041 static unsigned char max() throw()
10042 { return 127 * 2U + 1; }
10044 static const int digits = (sizeof(unsigned char) * 8 - ((unsigned char)(-1) < 0));
10045 static const int digits10 = ((sizeof(unsigned char) * 8 - ((unsigned char)(-1) < 0)) * 643 / 2136);
10046 static const bool is_signed = false;
10047 static const bool is_integer = true;
10048 static const bool is_exact = true;
10049 static const int radix = 2;
10050 static unsigned char epsilon() throw()
10052 static unsigned char round_error() throw()
10055 static const int min_exponent = 0;
10056 static const int min_exponent10 = 0;
10057 static const int max_exponent = 0;
10058 static const int max_exponent10 = 0;
10060 static const bool has_infinity = false;
10061 static const bool has_quiet_NaN = false;
10062 static const bool has_signaling_NaN = false;
10063 static const float_denorm_style has_denorm = denorm_absent;
10064 static const bool has_denorm_loss = false;
10066 static unsigned char infinity() throw()
10067 { return static_cast<unsigned char>(0); }
10068 static unsigned char quiet_NaN() throw()
10069 { return static_cast<unsigned char>(0); }
10070 static unsigned char signaling_NaN() throw()
10071 { return static_cast<unsigned char>(0); }
10072 static unsigned char denorm_min() throw()
10073 { return static_cast<unsigned char>(0); }
10075 static const bool is_iec559 = false;
10076 static const bool is_bounded = true;
10077 static const bool is_modulo = true;
10079 static const bool traps = true;
10080 static const bool tinyness_before = false;
10081 static const float_round_style round_style = round_toward_zero;
10086 struct numeric_limits<wchar_t>
10088 static const bool is_specialized = true;
10090 static wchar_t min() throw()
10091 { return (((wchar_t)(-1) < 0) ? (wchar_t)1 << (sizeof(wchar_t) * 8 - ((wchar_t)(-1) < 0)) : (wchar_t)0); }
10092 static wchar_t max() throw()
10093 { return (((wchar_t)(-1) < 0) ? ((wchar_t)1 << (sizeof(wchar_t) * 8 - ((wchar_t)(-1) < 0))) - 1 : ~(wchar_t)0); }
10095 static const int digits = (sizeof(wchar_t) * 8 - ((wchar_t)(-1) < 0));
10096 static const int digits10 = ((sizeof(wchar_t) * 8 - ((wchar_t)(-1) < 0)) * 643 / 2136);
10097 static const bool is_signed = ((wchar_t)(-1) < 0);
10098 static const bool is_integer = true;
10099 static const bool is_exact = true;
10100 static const int radix = 2;
10101 static wchar_t epsilon() throw()
10103 static wchar_t round_error() throw()
10106 static const int min_exponent = 0;
10107 static const int min_exponent10 = 0;
10108 static const int max_exponent = 0;
10109 static const int max_exponent10 = 0;
10111 static const bool has_infinity = false;
10112 static const bool has_quiet_NaN = false;
10113 static const bool has_signaling_NaN = false;
10114 static const float_denorm_style has_denorm = denorm_absent;
10115 static const bool has_denorm_loss = false;
10117 static wchar_t infinity() throw()
10118 { return wchar_t(); }
10119 static wchar_t quiet_NaN() throw()
10120 { return wchar_t(); }
10121 static wchar_t signaling_NaN() throw()
10122 { return wchar_t(); }
10123 static wchar_t denorm_min() throw()
10124 { return wchar_t(); }
10126 static const bool is_iec559 = false;
10127 static const bool is_bounded = true;
10128 static const bool is_modulo = true;
10130 static const bool traps = true;
10131 static const bool tinyness_before = false;
10132 static const float_round_style round_style = round_toward_zero;
10137 struct numeric_limits<short>
10139 static const bool is_specialized = true;
10141 static short min() throw()
10142 { return -32767 - 1; }
10143 static short max() throw()
10146 static const int digits = (sizeof(short) * 8 - ((short)(-1) < 0));
10147 static const int digits10 = ((sizeof(short) * 8 - ((short)(-1) < 0)) * 643 / 2136);
10148 static const bool is_signed = true;
10149 static const bool is_integer = true;
10150 static const bool is_exact = true;
10151 static const int radix = 2;
10152 static short epsilon() throw()
10154 static short round_error() throw()
10157 static const int min_exponent = 0;
10158 static const int min_exponent10 = 0;
10159 static const int max_exponent = 0;
10160 static const int max_exponent10 = 0;
10162 static const bool has_infinity = false;
10163 static const bool has_quiet_NaN = false;
10164 static const bool has_signaling_NaN = false;
10165 static const float_denorm_style has_denorm = denorm_absent;
10166 static const bool has_denorm_loss = false;
10168 static short infinity() throw()
10169 { return short(); }
10170 static short quiet_NaN() throw()
10171 { return short(); }
10172 static short signaling_NaN() throw()
10173 { return short(); }
10174 static short denorm_min() throw()
10175 { return short(); }
10177 static const bool is_iec559 = false;
10178 static const bool is_bounded = true;
10179 static const bool is_modulo = true;
10181 static const bool traps = true;
10182 static const bool tinyness_before = false;
10183 static const float_round_style round_style = round_toward_zero;
10188 struct numeric_limits<unsigned short>
10190 static const bool is_specialized = true;
10192 static unsigned short min() throw()
10194 static unsigned short max() throw()
10195 { return 32767 * 2U + 1; }
10197 static const int digits = (sizeof(unsigned short) * 8 - ((unsigned short)(-1) < 0));
10198 static const int digits10 = ((sizeof(unsigned short) * 8 - ((unsigned short)(-1) < 0)) * 643 / 2136);
10199 static const bool is_signed = false;
10200 static const bool is_integer = true;
10201 static const bool is_exact = true;
10202 static const int radix = 2;
10203 static unsigned short epsilon() throw()
10205 static unsigned short round_error() throw()
10208 static const int min_exponent = 0;
10209 static const int min_exponent10 = 0;
10210 static const int max_exponent = 0;
10211 static const int max_exponent10 = 0;
10213 static const bool has_infinity = false;
10214 static const bool has_quiet_NaN = false;
10215 static const bool has_signaling_NaN = false;
10216 static const float_denorm_style has_denorm = denorm_absent;
10217 static const bool has_denorm_loss = false;
10219 static unsigned short infinity() throw()
10220 { return static_cast<unsigned short>(0); }
10221 static unsigned short quiet_NaN() throw()
10222 { return static_cast<unsigned short>(0); }
10223 static unsigned short signaling_NaN() throw()
10224 { return static_cast<unsigned short>(0); }
10225 static unsigned short denorm_min() throw()
10226 { return static_cast<unsigned short>(0); }
10228 static const bool is_iec559 = false;
10229 static const bool is_bounded = true;
10230 static const bool is_modulo = true;
10232 static const bool traps = true;
10233 static const bool tinyness_before = false;
10234 static const float_round_style round_style = round_toward_zero;
10239 struct numeric_limits<int>
10241 static const bool is_specialized = true;
10243 static int min() throw()
10244 { return -2147483647 - 1; }
10245 static int max() throw()
10246 { return 2147483647; }
10248 static const int digits = (sizeof(int) * 8 - ((int)(-1) < 0));
10249 static const int digits10 = ((sizeof(int) * 8 - ((int)(-1) < 0)) * 643 / 2136);
10250 static const bool is_signed = true;
10251 static const bool is_integer = true;
10252 static const bool is_exact = true;
10253 static const int radix = 2;
10254 static int epsilon() throw()
10256 static int round_error() throw()
10259 static const int min_exponent = 0;
10260 static const int min_exponent10 = 0;
10261 static const int max_exponent = 0;
10262 static const int max_exponent10 = 0;
10264 static const bool has_infinity = false;
10265 static const bool has_quiet_NaN = false;
10266 static const bool has_signaling_NaN = false;
10267 static const float_denorm_style has_denorm = denorm_absent;
10268 static const bool has_denorm_loss = false;
10270 static int infinity() throw()
10271 { return static_cast<int>(0); }
10272 static int quiet_NaN() throw()
10273 { return static_cast<int>(0); }
10274 static int signaling_NaN() throw()
10275 { return static_cast<int>(0); }
10276 static int denorm_min() throw()
10277 { return static_cast<int>(0); }
10279 static const bool is_iec559 = false;
10280 static const bool is_bounded = true;
10281 static const bool is_modulo = true;
10283 static const bool traps = true;
10284 static const bool tinyness_before = false;
10285 static const float_round_style round_style = round_toward_zero;
10290 struct numeric_limits<unsigned int>
10292 static const bool is_specialized = true;
10294 static unsigned int min() throw()
10296 static unsigned int max() throw()
10297 { return 2147483647 * 2U + 1; }
10299 static const int digits = (sizeof(unsigned int) * 8 - ((unsigned int)(-1) < 0));
10300 static const int digits10 = ((sizeof(unsigned int) * 8 - ((unsigned int)(-1) < 0)) * 643 / 2136);
10301 static const bool is_signed = false;
10302 static const bool is_integer = true;
10303 static const bool is_exact = true;
10304 static const int radix = 2;
10305 static unsigned int epsilon() throw()
10307 static unsigned int round_error() throw()
10310 static const int min_exponent = 0;
10311 static const int min_exponent10 = 0;
10312 static const int max_exponent = 0;
10313 static const int max_exponent10 = 0;
10315 static const bool has_infinity = false;
10316 static const bool has_quiet_NaN = false;
10317 static const bool has_signaling_NaN = false;
10318 static const float_denorm_style has_denorm = denorm_absent;
10319 static const bool has_denorm_loss = false;
10321 static unsigned int infinity() throw()
10322 { return static_cast<unsigned int>(0); }
10323 static unsigned int quiet_NaN() throw()
10324 { return static_cast<unsigned int>(0); }
10325 static unsigned int signaling_NaN() throw()
10326 { return static_cast<unsigned int>(0); }
10327 static unsigned int denorm_min() throw()
10328 { return static_cast<unsigned int>(0); }
10330 static const bool is_iec559 = false;
10331 static const bool is_bounded = true;
10332 static const bool is_modulo = true;
10334 static const bool traps = true;
10335 static const bool tinyness_before = false;
10336 static const float_round_style round_style = round_toward_zero;
10341 struct numeric_limits<long>
10343 static const bool is_specialized = true;
10345 static long min() throw()
10346 { return -2147483647L - 1; }
10347 static long max() throw()
10348 { return 2147483647L; }
10350 static const int digits = (sizeof(long) * 8 - ((long)(-1) < 0));
10351 static const int digits10 = ((sizeof(long) * 8 - ((long)(-1) < 0)) * 643 / 2136);
10352 static const bool is_signed = true;
10353 static const bool is_integer = true;
10354 static const bool is_exact = true;
10355 static const int radix = 2;
10356 static long epsilon() throw()
10358 static long round_error() throw()
10361 static const int min_exponent = 0;
10362 static const int min_exponent10 = 0;
10363 static const int max_exponent = 0;
10364 static const int max_exponent10 = 0;
10366 static const bool has_infinity = false;
10367 static const bool has_quiet_NaN = false;
10368 static const bool has_signaling_NaN = false;
10369 static const float_denorm_style has_denorm = denorm_absent;
10370 static const bool has_denorm_loss = false;
10372 static long infinity() throw()
10373 { return static_cast<long>(0); }
10374 static long quiet_NaN() throw()
10375 { return static_cast<long>(0); }
10376 static long signaling_NaN() throw()
10377 { return static_cast<long>(0); }
10378 static long denorm_min() throw()
10379 { return static_cast<long>(0); }
10381 static const bool is_iec559 = false;
10382 static const bool is_bounded = true;
10383 static const bool is_modulo = true;
10385 static const bool traps = true;
10386 static const bool tinyness_before = false;
10387 static const float_round_style round_style = round_toward_zero;
10392 struct numeric_limits<unsigned long>
10394 static const bool is_specialized = true;
10396 static unsigned long min() throw()
10398 static unsigned long max() throw()
10399 { return 2147483647L * 2UL + 1; }
10401 static const int digits = (sizeof(unsigned long) * 8 - ((unsigned long)(-1) < 0));
10402 static const int digits10 = ((sizeof(unsigned long) * 8 - ((unsigned long)(-1) < 0)) * 643 / 2136);
10403 static const bool is_signed = false;
10404 static const bool is_integer = true;
10405 static const bool is_exact = true;
10406 static const int radix = 2;
10407 static unsigned long epsilon() throw()
10409 static unsigned long round_error() throw()
10412 static const int min_exponent = 0;
10413 static const int min_exponent10 = 0;
10414 static const int max_exponent = 0;
10415 static const int max_exponent10 = 0;
10417 static const bool has_infinity = false;
10418 static const bool has_quiet_NaN = false;
10419 static const bool has_signaling_NaN = false;
10420 static const float_denorm_style has_denorm = denorm_absent;
10421 static const bool has_denorm_loss = false;
10423 static unsigned long infinity() throw()
10424 { return static_cast<unsigned long>(0); }
10425 static unsigned long quiet_NaN() throw()
10426 { return static_cast<unsigned long>(0); }
10427 static unsigned long signaling_NaN() throw()
10428 { return static_cast<unsigned long>(0); }
10429 static unsigned long denorm_min() throw()
10430 { return static_cast<unsigned long>(0); }
10432 static const bool is_iec559 = false;
10433 static const bool is_bounded = true;
10434 static const bool is_modulo = true;
10436 static const bool traps = true;
10437 static const bool tinyness_before = false;
10438 static const float_round_style round_style = round_toward_zero;
10443 struct numeric_limits<long long>
10445 static const bool is_specialized = true;
10447 static long long min() throw()
10448 { return -9223372036854775807LL - 1; }
10449 static long long max() throw()
10450 { return 9223372036854775807LL; }
10452 static const int digits = (sizeof(long long) * 8 - ((long long)(-1) < 0));
10453 static const int digits10 = ((sizeof(long long) * 8 - ((long long)(-1) < 0)) * 643 / 2136);
10454 static const bool is_signed = true;
10455 static const bool is_integer = true;
10456 static const bool is_exact = true;
10457 static const int radix = 2;
10458 static long long epsilon() throw()
10460 static long long round_error() throw()
10463 static const int min_exponent = 0;
10464 static const int min_exponent10 = 0;
10465 static const int max_exponent = 0;
10466 static const int max_exponent10 = 0;
10468 static const bool has_infinity = false;
10469 static const bool has_quiet_NaN = false;
10470 static const bool has_signaling_NaN = false;
10471 static const float_denorm_style has_denorm = denorm_absent;
10472 static const bool has_denorm_loss = false;
10474 static long long infinity() throw()
10475 { return static_cast<long long>(0); }
10476 static long long quiet_NaN() throw()
10477 { return static_cast<long long>(0); }
10478 static long long signaling_NaN() throw()
10479 { return static_cast<long long>(0); }
10480 static long long denorm_min() throw()
10481 { return static_cast<long long>(0); }
10483 static const bool is_iec559 = false;
10484 static const bool is_bounded = true;
10485 static const bool is_modulo = true;
10487 static const bool traps = true;
10488 static const bool tinyness_before = false;
10489 static const float_round_style round_style = round_toward_zero;
10494 struct numeric_limits<unsigned long long>
10496 static const bool is_specialized = true;
10498 static unsigned long long min() throw()
10500 static unsigned long long max() throw()
10501 { return 9223372036854775807LL * 2ULL + 1; }
10503 static const int digits = (sizeof(unsigned long long) * 8 - ((unsigned long long)(-1) < 0));
10504 static const int digits10 = ((sizeof(unsigned long long) * 8 - ((unsigned long long)(-1) < 0)) * 643 / 2136);
10505 static const bool is_signed = false;
10506 static const bool is_integer = true;
10507 static const bool is_exact = true;
10508 static const int radix = 2;
10509 static unsigned long long epsilon() throw()
10511 static unsigned long long round_error() throw()
10514 static const int min_exponent = 0;
10515 static const int min_exponent10 = 0;
10516 static const int max_exponent = 0;
10517 static const int max_exponent10 = 0;
10519 static const bool has_infinity = false;
10520 static const bool has_quiet_NaN = false;
10521 static const bool has_signaling_NaN = false;
10522 static const float_denorm_style has_denorm = denorm_absent;
10523 static const bool has_denorm_loss = false;
10525 static unsigned long long infinity() throw()
10526 { return static_cast<unsigned long long>(0); }
10527 static unsigned long long quiet_NaN() throw()
10528 { return static_cast<unsigned long long>(0); }
10529 static unsigned long long signaling_NaN() throw()
10530 { return static_cast<unsigned long long>(0); }
10531 static unsigned long long denorm_min() throw()
10532 { return static_cast<unsigned long long>(0); }
10534 static const bool is_iec559 = false;
10535 static const bool is_bounded = true;
10536 static const bool is_modulo = true;
10538 static const bool traps = true;
10539 static const bool tinyness_before = false;
10540 static const float_round_style round_style = round_toward_zero;
10545 struct numeric_limits<float>
10547 static const bool is_specialized = true;
10549 static float min() throw()
10550 { return 1.17549435e-38F; }
10551 static float max() throw()
10552 { return 3.40282347e+38F; }
10554 static const int digits = 24;
10555 static const int digits10 = 6;
10556 static const bool is_signed = true;
10557 static const bool is_integer = false;
10558 static const bool is_exact = false;
10559 static const int radix = 2;
10560 static float epsilon() throw()
10561 { return 1.19209290e-7F; }
10562 static float round_error() throw()
10565 static const int min_exponent = (-125);
10566 static const int min_exponent10 = (-37);
10567 static const int max_exponent = 128;
10568 static const int max_exponent10 = 38;
10570 static const bool has_infinity = 1;
10571 static const bool has_quiet_NaN = 1;
10572 static const bool has_signaling_NaN = has_quiet_NaN;
10573 static const float_denorm_style has_denorm
10574 = bool(1.40129846e-45F) ? denorm_present : denorm_absent;
10575 static const bool has_denorm_loss = false;
10577 static float infinity() throw()
10578 { return __builtin_huge_valf (); }
10579 static float quiet_NaN() throw()
10580 { return __builtin_nanf (""); }
10581 static float signaling_NaN() throw()
10582 { return __builtin_nansf (""); }
10583 static float denorm_min() throw()
10584 { return 1.40129846e-45F; }
10586 static const bool is_iec559
10587 = has_infinity && has_quiet_NaN && has_denorm == denorm_present;
10588 static const bool is_bounded = true;
10589 static const bool is_modulo = false;
10591 static const bool traps = false;
10592 static const bool tinyness_before = false;
10593 static const float_round_style round_style = round_to_nearest;
10602 struct numeric_limits<double>
10604 static const bool is_specialized = true;
10606 static double min() throw()
10607 { return 2.2250738585072014e-308; }
10608 static double max() throw()
10609 { return 1.7976931348623157e+308; }
10611 static const int digits = 53;
10612 static const int digits10 = 15;
10613 static const bool is_signed = true;
10614 static const bool is_integer = false;
10615 static const bool is_exact = false;
10616 static const int radix = 2;
10617 static double epsilon() throw()
10618 { return 2.2204460492503131e-16; }
10619 static double round_error() throw()
10622 static const int min_exponent = (-1021);
10623 static const int min_exponent10 = (-307);
10624 static const int max_exponent = 1024;
10625 static const int max_exponent10 = 308;
10627 static const bool has_infinity = 1;
10628 static const bool has_quiet_NaN = 1;
10629 static const bool has_signaling_NaN = has_quiet_NaN;
10630 static const float_denorm_style has_denorm
10631 = bool(4.9406564584124654e-324) ? denorm_present : denorm_absent;
10632 static const bool has_denorm_loss = false;
10634 static double infinity() throw()
10635 { return __builtin_huge_val(); }
10636 static double quiet_NaN() throw()
10637 { return __builtin_nan (""); }
10638 static double signaling_NaN() throw()
10639 { return __builtin_nans (""); }
10640 static double denorm_min() throw()
10641 { return 4.9406564584124654e-324; }
10643 static const bool is_iec559
10644 = has_infinity && has_quiet_NaN && has_denorm == denorm_present;
10645 static const bool is_bounded = true;
10646 static const bool is_modulo = false;
10648 static const bool traps = false;
10649 static const bool tinyness_before = false;
10650 static const float_round_style round_style = round_to_nearest;
10659 struct numeric_limits<long double>
10661 static const bool is_specialized = true;
10663 static long double min() throw()
10664 { return 2.2250738585072014e-308L; }
10665 static long double max() throw()
10666 { return 1.7976931348623157e+308L; }
10668 static const int digits = 53;
10669 static const int digits10 = 15;
10670 static const bool is_signed = true;
10671 static const bool is_integer = false;
10672 static const bool is_exact = false;
10673 static const int radix = 2;
10674 static long double epsilon() throw()
10675 { return 2.2204460492503131e-16L; }
10676 static long double round_error() throw()
10679 static const int min_exponent = (-1021);
10680 static const int min_exponent10 = (-307);
10681 static const int max_exponent = 1024;
10682 static const int max_exponent10 = 308;
10684 static const bool has_infinity = 1;
10685 static const bool has_quiet_NaN = 1;
10686 static const bool has_signaling_NaN = has_quiet_NaN;
10687 static const float_denorm_style has_denorm
10688 = bool(4.9406564584124654e-324L) ? denorm_present : denorm_absent;
10689 static const bool has_denorm_loss
10692 static long double infinity() throw()
10693 { return __builtin_huge_vall (); }
10694 static long double quiet_NaN() throw()
10695 { return __builtin_nanl (""); }
10696 static long double signaling_NaN() throw()
10697 { return __builtin_nansl (""); }
10698 static long double denorm_min() throw()
10699 { return 4.9406564584124654e-324L; }
10701 static const bool is_iec559
10702 = has_infinity && has_quiet_NaN && has_denorm == denorm_present;
10703 static const bool is_bounded = true;
10704 static const bool is_modulo = false;
10706 static const bool traps = false;
10707 static const bool tinyness_before = false;
10708 static const float_round_style round_style = round_to_nearest;
10716 # 61 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/memory" 2 3
10720 # 72 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/memory" 3
10721 template<typename _Tp>
10722 pair<_Tp*, ptrdiff_t>
10723 __get_temporary_buffer(ptrdiff_t __len, _Tp*)
10725 const ptrdiff_t __max = numeric_limits<ptrdiff_t>::max() / sizeof(_Tp);
10731 _Tp* __tmp = static_cast<_Tp*>(::operator new(__len * sizeof(_Tp),
10734 return pair<_Tp*, ptrdiff_t>(__tmp, __len);
10737 return pair<_Tp*, ptrdiff_t>(static_cast<_Tp*>(0), 0);
10739 # 108 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/memory" 3
10740 template<typename _Tp>
10741 inline pair<_Tp*, ptrdiff_t>
10742 get_temporary_buffer(ptrdiff_t __len)
10743 { return std::__get_temporary_buffer(__len, static_cast<_Tp*>(0)); }
10744 # 120 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/memory" 3
10745 template<typename _Tp>
10747 return_temporary_buffer(_Tp* __p)
10748 { ::operator delete(__p, nothrow); }
10749 # 132 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/memory" 3
10750 template<typename _Tp1>
10751 struct auto_ptr_ref
10756 auto_ptr_ref(_Tp1* __p): _M_ptr(__p) { }
10758 # 173 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/memory" 3
10759 template<typename _Tp>
10767 typedef _Tp element_type;
10776 auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { }
10777 # 199 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/memory" 3
10778 auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { }
10779 # 211 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/memory" 3
10780 template<typename _Tp1>
10781 auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { }
10782 # 222 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/memory" 3
10784 operator=(auto_ptr& __a) throw()
10786 reset(__a.release());
10789 # 239 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/memory" 3
10790 template<typename _Tp1>
10792 operator=(auto_ptr<_Tp1>& __a) throw()
10794 reset(__a.release());
10797 # 259 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/memory" 3
10798 ~auto_ptr() { delete _M_ptr; }
10799 # 269 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/memory" 3
10801 operator*() const throw()
10814 operator->() const throw()
10819 # 299 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/memory" 3
10821 get() const throw() { return _M_ptr; }
10822 # 313 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/memory" 3
10826 element_type* __tmp = _M_ptr;
10830 # 328 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/memory" 3
10832 reset(element_type* __p = 0) throw()
10840 # 349 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/memory" 3
10841 auto_ptr(auto_ptr_ref<element_type> __ref) throw()
10842 : _M_ptr(__ref._M_ptr) { }
10845 operator=(auto_ptr_ref<element_type> __ref) throw()
10847 if (__ref._M_ptr != this->get())
10850 _M_ptr = __ref._M_ptr;
10855 template<typename _Tp1>
10856 operator auto_ptr_ref<_Tp1>() throw()
10857 { return auto_ptr_ref<_Tp1>(this->release()); }
10859 template<typename _Tp1>
10860 operator auto_ptr<_Tp1>() throw()
10861 { return auto_ptr<_Tp1>(this->release()); }
10864 # 48 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/string" 2 3
10868 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_function.h" 1 3
10869 # 64 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_function.h" 3
10872 # 101 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_function.h" 3
10873 template <class _Arg, class _Result>
10874 struct unary_function
10876 typedef _Arg argument_type;
10879 typedef _Result result_type;
10885 template <class _Arg1, class _Arg2, class _Result>
10886 struct binary_function
10888 typedef _Arg1 first_argument_type;
10891 typedef _Arg2 second_argument_type;
10892 typedef _Result result_type;
10894 # 133 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_function.h" 3
10895 template <class _Tp>
10896 struct plus : public binary_function<_Tp, _Tp, _Tp>
10899 operator()(const _Tp& __x, const _Tp& __y) const
10900 { return __x + __y; }
10904 template <class _Tp>
10905 struct minus : public binary_function<_Tp, _Tp, _Tp>
10908 operator()(const _Tp& __x, const _Tp& __y) const
10909 { return __x - __y; }
10913 template <class _Tp>
10914 struct multiplies : public binary_function<_Tp, _Tp, _Tp>
10917 operator()(const _Tp& __x, const _Tp& __y) const
10918 { return __x * __y; }
10922 template <class _Tp>
10923 struct divides : public binary_function<_Tp, _Tp, _Tp>
10926 operator()(const _Tp& __x, const _Tp& __y) const
10927 { return __x / __y; }
10931 template <class _Tp>
10932 struct modulus : public binary_function<_Tp, _Tp, _Tp>
10935 operator()(const _Tp& __x, const _Tp& __y) const
10936 { return __x % __y; }
10940 template <class _Tp>
10941 struct negate : public unary_function<_Tp, _Tp>
10944 operator()(const _Tp& __x) const
10947 # 195 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_function.h" 3
10948 template <class _Tp>
10949 struct equal_to : public binary_function<_Tp, _Tp, bool>
10952 operator()(const _Tp& __x, const _Tp& __y) const
10953 { return __x == __y; }
10957 template <class _Tp>
10958 struct not_equal_to : public binary_function<_Tp, _Tp, bool>
10961 operator()(const _Tp& __x, const _Tp& __y) const
10962 { return __x != __y; }
10966 template <class _Tp>
10967 struct greater : public binary_function<_Tp, _Tp, bool>
10970 operator()(const _Tp& __x, const _Tp& __y) const
10971 { return __x > __y; }
10975 template <class _Tp>
10976 struct less : public binary_function<_Tp, _Tp, bool>
10979 operator()(const _Tp& __x, const _Tp& __y) const
10980 { return __x < __y; }
10984 template <class _Tp>
10985 struct greater_equal : public binary_function<_Tp, _Tp, bool>
10988 operator()(const _Tp& __x, const _Tp& __y) const
10989 { return __x >= __y; }
10993 template <class _Tp>
10994 struct less_equal : public binary_function<_Tp, _Tp, bool>
10997 operator()(const _Tp& __x, const _Tp& __y) const
10998 { return __x <= __y; }
11000 # 256 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_function.h" 3
11001 template <class _Tp>
11002 struct logical_and : public binary_function<_Tp, _Tp, bool>
11005 operator()(const _Tp& __x, const _Tp& __y) const
11006 { return __x && __y; }
11010 template <class _Tp>
11011 struct logical_or : public binary_function<_Tp, _Tp, bool>
11014 operator()(const _Tp& __x, const _Tp& __y) const
11015 { return __x || __y; }
11019 template <class _Tp>
11020 struct logical_not : public unary_function<_Tp, bool>
11023 operator()(const _Tp& __x) const
11026 # 311 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_function.h" 3
11027 template <class _Predicate>
11029 : public unary_function<typename _Predicate::argument_type, bool>
11032 _Predicate _M_pred;
11035 unary_negate(const _Predicate& __x) : _M_pred(__x) {}
11038 operator()(const typename _Predicate::argument_type& __x) const
11039 { return !_M_pred(__x); }
11043 template <class _Predicate>
11044 inline unary_negate<_Predicate>
11045 not1(const _Predicate& __pred)
11046 { return unary_negate<_Predicate>(__pred); }
11049 template <class _Predicate>
11050 class binary_negate
11051 : public binary_function<typename _Predicate::first_argument_type,
11052 typename _Predicate::second_argument_type,
11056 _Predicate _M_pred;
11059 binary_negate(const _Predicate& __x)
11063 operator()(const typename _Predicate::first_argument_type& __x,
11064 const typename _Predicate::second_argument_type& __y) const
11065 { return !_M_pred(__x, __y); }
11069 template <class _Predicate>
11070 inline binary_negate<_Predicate>
11071 not2(const _Predicate& __pred)
11072 { return binary_negate<_Predicate>(__pred); }
11073 # 391 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_function.h" 3
11074 template <class _Operation>
11076 : public unary_function<typename _Operation::second_argument_type,
11077 typename _Operation::result_type>
11081 typename _Operation::first_argument_type value;
11083 binder1st(const _Operation& __x,
11084 const typename _Operation::first_argument_type& __y)
11085 : op(__x), value(__y) {}
11087 typename _Operation::result_type
11088 operator()(const typename _Operation::second_argument_type& __x) const
11089 { return op(value, __x); }
11093 typename _Operation::result_type
11094 operator()(typename _Operation::second_argument_type& __x) const
11095 { return op(value, __x); }
11099 template <class _Operation, class _Tp>
11100 inline binder1st<_Operation>
11101 bind1st(const _Operation& __fn, const _Tp& __x)
11103 typedef typename _Operation::first_argument_type _Arg1_type;
11104 return binder1st<_Operation>(__fn, _Arg1_type(__x));
11108 template <class _Operation>
11110 : public unary_function<typename _Operation::first_argument_type,
11111 typename _Operation::result_type>
11115 typename _Operation::second_argument_type value;
11117 binder2nd(const _Operation& __x,
11118 const typename _Operation::second_argument_type& __y)
11119 : op(__x), value(__y) {}
11121 typename _Operation::result_type
11122 operator()(const typename _Operation::first_argument_type& __x) const
11123 { return op(__x, value); }
11127 typename _Operation::result_type
11128 operator()(typename _Operation::first_argument_type& __x) const
11129 { return op(__x, value); }
11133 template <class _Operation, class _Tp>
11134 inline binder2nd<_Operation>
11135 bind2nd(const _Operation& __fn, const _Tp& __x)
11137 typedef typename _Operation::second_argument_type _Arg2_type;
11138 return binder2nd<_Operation>(__fn, _Arg2_type(__x));
11140 # 480 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_function.h" 3
11141 template <class _Arg, class _Result>
11142 class pointer_to_unary_function : public unary_function<_Arg, _Result>
11145 _Result (*_M_ptr)(_Arg);
11147 pointer_to_unary_function() {}
11150 pointer_to_unary_function(_Result (*__x)(_Arg))
11154 operator()(_Arg __x) const
11155 { return _M_ptr(__x); }
11159 template <class _Arg, class _Result>
11160 inline pointer_to_unary_function<_Arg, _Result>
11161 ptr_fun(_Result (*__x)(_Arg))
11162 { return pointer_to_unary_function<_Arg, _Result>(__x); }
11165 template <class _Arg1, class _Arg2, class _Result>
11166 class pointer_to_binary_function
11167 : public binary_function<_Arg1, _Arg2, _Result>
11170 _Result (*_M_ptr)(_Arg1, _Arg2);
11172 pointer_to_binary_function() {}
11175 pointer_to_binary_function(_Result (*__x)(_Arg1, _Arg2))
11179 operator()(_Arg1 __x, _Arg2 __y) const
11180 { return _M_ptr(__x, __y); }
11184 template <class _Arg1, class _Arg2, class _Result>
11185 inline pointer_to_binary_function<_Arg1, _Arg2, _Result>
11186 ptr_fun(_Result (*__x)(_Arg1, _Arg2))
11187 { return pointer_to_binary_function<_Arg1, _Arg2, _Result>(__x); }
11190 template <class _Tp>
11191 struct _Identity : public unary_function<_Tp,_Tp>
11194 operator()(_Tp& __x) const
11198 operator()(const _Tp& __x) const
11202 template <class _Pair>
11203 struct _Select1st : public unary_function<_Pair,
11204 typename _Pair::first_type>
11206 typename _Pair::first_type&
11207 operator()(_Pair& __x) const
11208 { return __x.first; }
11210 const typename _Pair::first_type&
11211 operator()(const _Pair& __x) const
11212 { return __x.first; }
11215 template <class _Pair>
11216 struct _Select2nd : public unary_function<_Pair,
11217 typename _Pair::second_type>
11219 typename _Pair::second_type&
11220 operator()(_Pair& __x) const
11221 { return __x.second; }
11223 const typename _Pair::second_type&
11224 operator()(const _Pair& __x) const
11225 { return __x.second; }
11227 # 582 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_function.h" 3
11228 template <class _Ret, class _Tp>
11229 class mem_fun_t : public unary_function<_Tp*, _Ret>
11233 mem_fun_t(_Ret (_Tp::*__pf)())
11237 operator()(_Tp* __p) const
11238 { return (__p->*_M_f)(); }
11240 _Ret (_Tp::*_M_f)();
11244 template <class _Ret, class _Tp>
11245 class const_mem_fun_t : public unary_function<const _Tp*, _Ret>
11249 const_mem_fun_t(_Ret (_Tp::*__pf)() const)
11253 operator()(const _Tp* __p) const
11254 { return (__p->*_M_f)(); }
11256 _Ret (_Tp::*_M_f)() const;
11260 template <class _Ret, class _Tp>
11261 class mem_fun_ref_t : public unary_function<_Tp, _Ret>
11265 mem_fun_ref_t(_Ret (_Tp::*__pf)())
11269 operator()(_Tp& __r) const
11270 { return (__r.*_M_f)(); }
11272 _Ret (_Tp::*_M_f)();
11276 template <class _Ret, class _Tp>
11277 class const_mem_fun_ref_t : public unary_function<_Tp, _Ret>
11281 const_mem_fun_ref_t(_Ret (_Tp::*__pf)() const)
11285 operator()(const _Tp& __r) const
11286 { return (__r.*_M_f)(); }
11288 _Ret (_Tp::*_M_f)() const;
11292 template <class _Ret, class _Tp, class _Arg>
11293 class mem_fun1_t : public binary_function<_Tp*, _Arg, _Ret>
11297 mem_fun1_t(_Ret (_Tp::*__pf)(_Arg))
11301 operator()(_Tp* __p, _Arg __x) const
11302 { return (__p->*_M_f)(__x); }
11304 _Ret (_Tp::*_M_f)(_Arg);
11308 template <class _Ret, class _Tp, class _Arg>
11309 class const_mem_fun1_t : public binary_function<const _Tp*, _Arg, _Ret>
11313 const_mem_fun1_t(_Ret (_Tp::*__pf)(_Arg) const)
11317 operator()(const _Tp* __p, _Arg __x) const
11318 { return (__p->*_M_f)(__x); }
11320 _Ret (_Tp::*_M_f)(_Arg) const;
11324 template <class _Ret, class _Tp, class _Arg>
11325 class mem_fun1_ref_t : public binary_function<_Tp, _Arg, _Ret>
11329 mem_fun1_ref_t(_Ret (_Tp::*__pf)(_Arg))
11333 operator()(_Tp& __r, _Arg __x) const
11334 { return (__r.*_M_f)(__x); }
11336 _Ret (_Tp::*_M_f)(_Arg);
11340 template <class _Ret, class _Tp, class _Arg>
11341 class const_mem_fun1_ref_t : public binary_function<_Tp, _Arg, _Ret>
11345 const_mem_fun1_ref_t(_Ret (_Tp::*__pf)(_Arg) const)
11349 operator()(const _Tp& __r, _Arg __x) const
11350 { return (__r.*_M_f)(__x); }
11352 _Ret (_Tp::*_M_f)(_Arg) const;
11357 template <class _Ret, class _Tp>
11358 inline mem_fun_t<_Ret, _Tp>
11359 mem_fun(_Ret (_Tp::*__f)())
11360 { return mem_fun_t<_Ret, _Tp>(__f); }
11362 template <class _Ret, class _Tp>
11363 inline const_mem_fun_t<_Ret, _Tp>
11364 mem_fun(_Ret (_Tp::*__f)() const)
11365 { return const_mem_fun_t<_Ret, _Tp>(__f); }
11367 template <class _Ret, class _Tp>
11368 inline mem_fun_ref_t<_Ret, _Tp>
11369 mem_fun_ref(_Ret (_Tp::*__f)())
11370 { return mem_fun_ref_t<_Ret, _Tp>(__f); }
11372 template <class _Ret, class _Tp>
11373 inline const_mem_fun_ref_t<_Ret, _Tp>
11374 mem_fun_ref(_Ret (_Tp::*__f)() const)
11375 { return const_mem_fun_ref_t<_Ret, _Tp>(__f); }
11377 template <class _Ret, class _Tp, class _Arg>
11378 inline mem_fun1_t<_Ret, _Tp, _Arg>
11379 mem_fun(_Ret (_Tp::*__f)(_Arg))
11380 { return mem_fun1_t<_Ret, _Tp, _Arg>(__f); }
11382 template <class _Ret, class _Tp, class _Arg>
11383 inline const_mem_fun1_t<_Ret, _Tp, _Arg>
11384 mem_fun(_Ret (_Tp::*__f)(_Arg) const)
11385 { return const_mem_fun1_t<_Ret, _Tp, _Arg>(__f); }
11387 template <class _Ret, class _Tp, class _Arg>
11388 inline mem_fun1_ref_t<_Ret, _Tp, _Arg>
11389 mem_fun_ref(_Ret (_Tp::*__f)(_Arg))
11390 { return mem_fun1_ref_t<_Ret, _Tp, _Arg>(__f); }
11392 template <class _Ret, class _Tp, class _Arg>
11393 inline const_mem_fun1_ref_t<_Ret, _Tp, _Arg>
11394 mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const)
11395 { return const_mem_fun1_ref_t<_Ret, _Tp, _Arg>(__f); }
11400 # 52 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/string" 2 3
11401 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 1 3
11402 # 43 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
11404 # 44 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
11406 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/atomicity.h" 1 3
11407 # 38 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/atomicity.h" 3
11408 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bfin-linux-uclibc/bits/atomic_word.h" 1 3
11409 # 33 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bfin-linux-uclibc/bits/atomic_word.h" 3
11410 typedef int _Atomic_word;
11411 # 39 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/atomicity.h" 2 3
11413 namespace __gnu_cxx
11416 __attribute__ ((__unused__))
11417 __exchange_and_add(volatile _Atomic_word* __mem, int __val);
11420 __attribute__ ((__unused__))
11421 __atomic_add(volatile _Atomic_word* __mem, int __val);
11423 # 46 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 2 3
11428 # 109 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
11429 template<typename _CharT, typename _Traits, typename _Alloc>
11432 typedef typename _Alloc::template rebind<_CharT>::other _CharT_alloc_type;
11436 typedef _Traits traits_type;
11437 typedef typename _Traits::char_type value_type;
11438 typedef _Alloc allocator_type;
11439 typedef typename _CharT_alloc_type::size_type size_type;
11440 typedef typename _CharT_alloc_type::difference_type difference_type;
11441 typedef typename _CharT_alloc_type::reference reference;
11442 typedef typename _CharT_alloc_type::const_reference const_reference;
11443 typedef typename _CharT_alloc_type::pointer pointer;
11444 typedef typename _CharT_alloc_type::const_pointer const_pointer;
11445 typedef __gnu_cxx::__normal_iterator<pointer, basic_string> iterator;
11446 typedef __gnu_cxx::__normal_iterator<const_pointer, basic_string>
11448 typedef std::reverse_iterator<const_iterator> const_reverse_iterator;
11449 typedef std::reverse_iterator<iterator> reverse_iterator;
11452 # 146 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
11455 size_type _M_length;
11456 size_type _M_capacity;
11457 _Atomic_word _M_refcount;
11460 struct _Rep : _Rep_base
11463 typedef typename _Alloc::template rebind<char>::other _Raw_bytes_alloc;
11464 # 171 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
11465 static const size_type _S_max_size;
11466 static const _CharT _S_terminal;
11470 static size_type _S_empty_rep_storage[];
11475 void* __p = reinterpret_cast<void*>(&_S_empty_rep_storage);
11476 return *reinterpret_cast<_Rep*>(__p);
11480 _M_is_leaked() const
11481 { return this->_M_refcount < 0; }
11484 _M_is_shared() const
11485 { return this->_M_refcount > 0; }
11489 { this->_M_refcount = -1; }
11493 { this->_M_refcount = 0; }
11496 _M_set_length_and_sharable(size_type __n)
11498 this->_M_set_sharable();
11499 this->_M_length = __n;
11500 traits_type::assign(this->_M_refdata()[__n], _S_terminal);
11506 _M_refdata() throw()
11507 { return reinterpret_cast<_CharT*>(this + 1); }
11510 _M_grab(const _Alloc& __alloc1, const _Alloc& __alloc2)
11512 return (!_M_is_leaked() && __alloc1 == __alloc2)
11513 ? _M_refcopy() : _M_clone(__alloc1);
11518 _S_create(size_type, size_type, const _Alloc&);
11521 _M_dispose(const _Alloc& __a)
11524 if (__builtin_expect(this != &_S_empty_rep(), false))
11526 if (__gnu_cxx::__exchange_and_add(&this->_M_refcount, -1) <= 0)
11531 _M_destroy(const _Alloc&) throw();
11534 _M_refcopy() throw()
11537 if (__builtin_expect(this != &_S_empty_rep(), false))
11539 __gnu_cxx::__atomic_add(&this->_M_refcount, 1);
11540 return _M_refdata();
11544 _M_clone(const _Alloc&, size_type __res = 0);
11548 struct _Alloc_hider : _Alloc
11550 _Alloc_hider(_CharT* __dat, const _Alloc& __a)
11551 : _Alloc(__a), _M_p(__dat) { }
11561 static const size_type npos = static_cast<size_type>(-1);
11565 mutable _Alloc_hider _M_dataplus;
11569 { return _M_dataplus._M_p; }
11572 _M_data(_CharT* __p)
11573 { return (_M_dataplus._M_p = __p); }
11577 { return &((reinterpret_cast<_Rep*> (_M_data()))[-1]); }
11583 { return iterator(_M_data()); }
11587 { return iterator(_M_data() + this->size()); }
11592 if (!_M_rep()->_M_is_leaked())
11597 _M_check(size_type __pos, const char* __s) const
11599 if (__pos > this->size())
11600 __throw_out_of_range((__s));
11605 _M_check_length(size_type __n1, size_type __n2, const char* __s) const
11607 if (this->max_size() - (this->size() - __n1) < __n2)
11608 __throw_length_error((__s));
11613 _M_limit(size_type __pos, size_type __off) const
11615 const bool __testoff = __off < this->size() - __pos;
11616 return __testoff ? __off : this->size() - __pos;
11621 _M_disjunct(const _CharT* __s) const
11623 return (less<const _CharT*>()(__s, _M_data())
11624 || less<const _CharT*>()(_M_data() + this->size(), __s));
11630 _M_copy(_CharT* __d, const _CharT* __s, size_type __n)
11633 traits_type::assign(*__d, *__s);
11635 traits_type::copy(__d, __s, __n);
11639 _M_move(_CharT* __d, const _CharT* __s, size_type __n)
11642 traits_type::assign(*__d, *__s);
11644 traits_type::move(__d, __s, __n);
11648 _M_assign(_CharT* __d, size_type __n, _CharT __c)
11651 traits_type::assign(*__d, __c);
11653 traits_type::assign(__d, __n, __c);
11658 template<class _Iterator>
11660 _S_copy_chars(_CharT* __p, _Iterator __k1, _Iterator __k2)
11662 for (; __k1 != __k2; ++__k1, ++__p)
11663 traits_type::assign(*__p, *__k1);
11667 _S_copy_chars(_CharT* __p, iterator __k1, iterator __k2)
11668 { _S_copy_chars(__p, __k1.base(), __k2.base()); }
11671 _S_copy_chars(_CharT* __p, const_iterator __k1, const_iterator __k2)
11672 { _S_copy_chars(__p, __k1.base(), __k2.base()); }
11675 _S_copy_chars(_CharT* __p, _CharT* __k1, _CharT* __k2)
11676 { _M_copy(__p, __k1, __k2 - __k1); }
11679 _S_copy_chars(_CharT* __p, const _CharT* __k1, const _CharT* __k2)
11680 { _M_copy(__p, __k1, __k2 - __k1); }
11683 _M_mutate(size_type __pos, size_type __len1, size_type __len2);
11690 { return _Rep::_S_empty_rep(); }
11707 basic_string(const _Alloc& __a);
11714 basic_string(const basic_string& __str);
11721 basic_string(const basic_string& __str, size_type __pos,
11722 size_type __n = npos);
11730 basic_string(const basic_string& __str, size_type __pos,
11731 size_type __n, const _Alloc& __a);
11732 # 448 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
11733 basic_string(const _CharT* __s, size_type __n,
11734 const _Alloc& __a = _Alloc());
11740 basic_string(const _CharT* __s, const _Alloc& __a = _Alloc());
11747 basic_string(size_type __n, _CharT __c, const _Alloc& __a = _Alloc());
11755 template<class _InputIterator>
11756 basic_string(_InputIterator __beg, _InputIterator __end,
11757 const _Alloc& __a = _Alloc());
11763 { _M_rep()->_M_dispose(this->get_allocator()); }
11770 operator=(const basic_string& __str)
11771 { return this->assign(__str); }
11778 operator=(const _CharT* __s)
11779 { return this->assign(__s); }
11780 # 503 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
11782 operator=(_CharT __c)
11784 this->assign(1, __c);
11797 return iterator(_M_data());
11806 { return const_iterator(_M_data()); }
11816 return iterator(_M_data() + this->size());
11825 { return const_iterator(_M_data() + this->size()); }
11834 { return reverse_iterator(this->end()); }
11841 const_reverse_iterator
11843 { return const_reverse_iterator(this->end()); }
11852 { return reverse_iterator(this->begin()); }
11859 const_reverse_iterator
11861 { return const_reverse_iterator(this->begin()); }
11869 { return _M_rep()->_M_length; }
11875 { return _M_rep()->_M_length; }
11880 { return _Rep::_S_max_size; }
11881 # 614 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
11883 resize(size_type __n, _CharT __c);
11884 # 627 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
11886 resize(size_type __n)
11887 { this->resize(__n, _CharT()); }
11895 { return _M_rep()->_M_capacity; }
11896 # 656 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
11898 reserve(size_type __res_arg = 0);
11905 { _M_mutate(0, this->size(), 0); }
11912 { return this->size() == 0; }
11913 # 684 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
11915 operator[] (size_type __pos) const
11918 return _M_data()[__pos];
11920 # 701 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
11922 operator[](size_type __pos)
11929 return _M_data()[__pos];
11931 # 722 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
11933 at(size_type __n) const
11935 if (__n >= this->size())
11936 __throw_out_of_range(("basic_string::at"));
11937 return _M_data()[__n];
11939 # 741 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
11944 __throw_out_of_range(("basic_string::at"));
11946 return _M_data()[__n];
11956 operator+=(const basic_string& __str)
11957 { return this->append(__str); }
11965 operator+=(const _CharT* __s)
11966 { return this->append(__s); }
11974 operator+=(_CharT __c)
11976 this->push_back(__c);
11986 append(const basic_string& __str);
11987 # 801 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
11989 append(const basic_string& __str, size_type __pos, size_type __n);
11998 append(const _CharT* __s, size_type __n);
12006 append(const _CharT* __s)
12009 return this->append(__s, traits_type::length(__s));
12011 # 833 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12013 append(size_type __n, _CharT __c);
12014 # 844 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12015 template<class _InputIterator>
12017 append(_InputIterator __first, _InputIterator __last)
12018 { return this->replace(_M_iend(), _M_iend(), __first, __last); }
12025 push_back(_CharT __c)
12027 const size_type __len = 1 + this->size();
12028 if (__len > this->capacity() || _M_rep()->_M_is_shared())
12029 this->reserve(__len);
12030 traits_type::assign(_M_data()[this->size()], __c);
12031 _M_rep()->_M_set_length_and_sharable(__len);
12040 assign(const basic_string& __str);
12041 # 883 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12043 assign(const basic_string& __str, size_type __pos, size_type __n)
12044 { return this->assign(__str._M_data()
12045 + __str._M_check(__pos, "basic_string::assign"),
12046 __str._M_limit(__pos, __n)); }
12047 # 899 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12049 assign(const _CharT* __s, size_type __n);
12050 # 911 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12052 assign(const _CharT* __s)
12055 return this->assign(__s, traits_type::length(__s));
12057 # 927 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12059 assign(size_type __n, _CharT __c)
12060 { return _M_replace_aux(size_type(0), this->size(), __n, __c); }
12061 # 939 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12062 template<class _InputIterator>
12064 assign(_InputIterator __first, _InputIterator __last)
12065 { return this->replace(_M_ibegin(), _M_iend(), __first, __last); }
12066 # 956 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12068 insert(iterator __p, size_type __n, _CharT __c)
12069 { this->replace(__p, __p, __n, __c); }
12070 # 971 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12071 template<class _InputIterator>
12073 insert(iterator __p, _InputIterator __beg, _InputIterator __end)
12074 { this->replace(__p, __p, __beg, __end); }
12075 # 987 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12077 insert(size_type __pos1, const basic_string& __str)
12078 { return this->insert(__pos1, __str, size_type(0), __str.size()); }
12079 # 1009 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12081 insert(size_type __pos1, const basic_string& __str,
12082 size_type __pos2, size_type __n)
12083 { return this->insert(__pos1, __str._M_data()
12084 + __str._M_check(__pos2, "basic_string::insert"),
12085 __str._M_limit(__pos2, __n)); }
12086 # 1032 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12088 insert(size_type __pos, const _CharT* __s, size_type __n);
12089 # 1050 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12091 insert(size_type __pos, const _CharT* __s)
12094 return this->insert(__pos, __s, traits_type::length(__s));
12096 # 1073 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12098 insert(size_type __pos, size_type __n, _CharT __c)
12099 { return _M_replace_aux(_M_check(__pos, "basic_string::insert"),
12100 size_type(0), __n, __c); }
12101 # 1090 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12103 insert(iterator __p, _CharT __c)
12106 const size_type __pos = __p - _M_ibegin();
12107 _M_replace_aux(__pos, size_type(0), size_type(1), __c);
12108 _M_rep()->_M_set_leaked();
12109 return this->_M_ibegin() + __pos;
12111 # 1114 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12113 erase(size_type __pos = 0, size_type __n = npos)
12115 _M_mutate(_M_check(__pos, "basic_string::erase"),
12116 _M_limit(__pos, __n), size_type(0));
12119 # 1130 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12121 erase(iterator __position)
12125 const size_type __pos = __position - _M_ibegin();
12126 _M_mutate(__pos, size_type(1), size_type(0));
12127 _M_rep()->_M_set_leaked();
12128 return _M_ibegin() + __pos;
12130 # 1150 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12132 erase(iterator __first, iterator __last)
12136 const size_type __pos = __first - _M_ibegin();
12137 _M_mutate(__pos, __last - __first, size_type(0));
12138 _M_rep()->_M_set_leaked();
12139 return _M_ibegin() + __pos;
12141 # 1177 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12143 replace(size_type __pos, size_type __n, const basic_string& __str)
12144 { return this->replace(__pos, __n, __str._M_data(), __str.size()); }
12145 # 1199 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12147 replace(size_type __pos1, size_type __n1, const basic_string& __str,
12148 size_type __pos2, size_type __n2)
12149 { return this->replace(__pos1, __n1, __str._M_data()
12150 + __str._M_check(__pos2, "basic_string::replace"),
12151 __str._M_limit(__pos2, __n2)); }
12152 # 1223 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12154 replace(size_type __pos, size_type __n1, const _CharT* __s,
12156 # 1242 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12158 replace(size_type __pos, size_type __n1, const _CharT* __s)
12161 return this->replace(__pos, __n1, __s, traits_type::length(__s));
12163 # 1265 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12165 replace(size_type __pos, size_type __n1, size_type __n2, _CharT __c)
12166 { return _M_replace_aux(_M_check(__pos, "basic_string::replace"),
12167 _M_limit(__pos, __n1), __n2, __c); }
12168 # 1283 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12170 replace(iterator __i1, iterator __i2, const basic_string& __str)
12171 { return this->replace(__i1, __i2, __str._M_data(), __str.size()); }
12172 # 1301 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12174 replace(iterator __i1, iterator __i2, const _CharT* __s, size_type __n)
12178 return this->replace(__i1 - _M_ibegin(), __i2 - __i1, __s, __n);
12180 # 1322 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12182 replace(iterator __i1, iterator __i2, const _CharT* __s)
12185 return this->replace(__i1, __i2, __s, traits_type::length(__s));
12187 # 1343 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12189 replace(iterator __i1, iterator __i2, size_type __n, _CharT __c)
12193 return _M_replace_aux(__i1 - _M_ibegin(), __i2 - __i1, __n, __c);
12195 # 1365 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12196 template<class _InputIterator>
12198 replace(iterator __i1, iterator __i2,
12199 _InputIterator __k1, _InputIterator __k2)
12204 typedef typename std::__is_integer<_InputIterator>::__type _Integral;
12205 return _M_replace_dispatch(__i1, __i2, __k1, __k2, _Integral());
12211 replace(iterator __i1, iterator __i2, _CharT* __k1, _CharT* __k2)
12216 return this->replace(__i1 - _M_ibegin(), __i2 - __i1,
12217 __k1, __k2 - __k1);
12221 replace(iterator __i1, iterator __i2,
12222 const _CharT* __k1, const _CharT* __k2)
12227 return this->replace(__i1 - _M_ibegin(), __i2 - __i1,
12228 __k1, __k2 - __k1);
12232 replace(iterator __i1, iterator __i2, iterator __k1, iterator __k2)
12237 return this->replace(__i1 - _M_ibegin(), __i2 - __i1,
12238 __k1.base(), __k2 - __k1);
12242 replace(iterator __i1, iterator __i2,
12243 const_iterator __k1, const_iterator __k2)
12248 return this->replace(__i1 - _M_ibegin(), __i2 - __i1,
12249 __k1.base(), __k2 - __k1);
12253 template<class _Integer>
12255 _M_replace_dispatch(iterator __i1, iterator __i2, _Integer __n,
12256 _Integer __val, __true_type)
12257 { return _M_replace_aux(__i1 - _M_ibegin(), __i2 - __i1, __n, __val); }
12259 template<class _InputIterator>
12261 _M_replace_dispatch(iterator __i1, iterator __i2, _InputIterator __k1,
12262 _InputIterator __k2, __false_type);
12265 _M_replace_aux(size_type __pos1, size_type __n1, size_type __n2,
12269 _M_replace_safe(size_type __pos1, size_type __n1, const _CharT* __s,
12274 template<class _InIterator>
12276 _S_construct_aux(_InIterator __beg, _InIterator __end,
12277 const _Alloc& __a, __false_type)
12279 typedef typename iterator_traits<_InIterator>::iterator_category _Tag;
12280 return _S_construct(__beg, __end, __a, _Tag());
12283 template<class _InIterator>
12285 _S_construct_aux(_InIterator __beg, _InIterator __end,
12286 const _Alloc& __a, __true_type)
12287 { return _S_construct(static_cast<size_type>(__beg),
12288 static_cast<value_type>(__end), __a); }
12290 template<class _InIterator>
12292 _S_construct(_InIterator __beg, _InIterator __end, const _Alloc& __a)
12294 typedef typename std::__is_integer<_InIterator>::__type _Integral;
12295 return _S_construct_aux(__beg, __end, __a, _Integral());
12299 template<class _InIterator>
12301 _S_construct(_InIterator __beg, _InIterator __end, const _Alloc& __a,
12302 input_iterator_tag);
12306 template<class _FwdIterator>
12308 _S_construct(_FwdIterator __beg, _FwdIterator __end, const _Alloc& __a,
12309 forward_iterator_tag);
12312 _S_construct(size_type __req, _CharT __c, const _Alloc& __a);
12315 # 1496 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12317 copy(_CharT* __s, size_type __n, size_type __pos = 0) const;
12318 # 1506 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12320 swap(basic_string& __s);
12321 # 1516 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12324 { return _M_data(); }
12334 { return _M_data(); }
12340 get_allocator() const
12341 { return _M_dataplus; }
12342 # 1548 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12344 find(const _CharT* __s, size_type __pos, size_type __n) const;
12345 # 1561 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12347 find(const basic_string& __str, size_type __pos = 0) const
12348 { return this->find(__str.data(), __pos, __str.size()); }
12349 # 1575 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12351 find(const _CharT* __s, size_type __pos = 0) const
12354 return this->find(__s, __pos, traits_type::length(__s));
12356 # 1592 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12358 find(_CharT __c, size_type __pos = 0) const;
12359 # 1605 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12361 rfind(const basic_string& __str, size_type __pos = npos) const
12362 { return this->rfind(__str.data(), __pos, __str.size()); }
12363 # 1620 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12365 rfind(const _CharT* __s, size_type __pos, size_type __n) const;
12366 # 1633 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12368 rfind(const _CharT* __s, size_type __pos = npos) const
12371 return this->rfind(__s, __pos, traits_type::length(__s));
12373 # 1650 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12375 rfind(_CharT __c, size_type __pos = npos) const;
12376 # 1663 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12378 find_first_of(const basic_string& __str, size_type __pos = 0) const
12379 { return this->find_first_of(__str.data(), __pos, __str.size()); }
12380 # 1678 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12382 find_first_of(const _CharT* __s, size_type __pos, size_type __n) const;
12383 # 1691 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12385 find_first_of(const _CharT* __s, size_type __pos = 0) const
12388 return this->find_first_of(__s, __pos, traits_type::length(__s));
12390 # 1710 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12392 find_first_of(_CharT __c, size_type __pos = 0) const
12393 { return this->find(__c, __pos); }
12394 # 1724 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12396 find_last_of(const basic_string& __str, size_type __pos = npos) const
12397 { return this->find_last_of(__str.data(), __pos, __str.size()); }
12398 # 1739 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12400 find_last_of(const _CharT* __s, size_type __pos, size_type __n) const;
12401 # 1752 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12403 find_last_of(const _CharT* __s, size_type __pos = npos) const
12406 return this->find_last_of(__s, __pos, traits_type::length(__s));
12408 # 1771 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12410 find_last_of(_CharT __c, size_type __pos = npos) const
12411 { return this->rfind(__c, __pos); }
12412 # 1785 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12414 find_first_not_of(const basic_string& __str, size_type __pos = 0) const
12415 { return this->find_first_not_of(__str.data(), __pos, __str.size()); }
12416 # 1800 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12418 find_first_not_of(const _CharT* __s, size_type __pos,
12419 size_type __n) const;
12420 # 1814 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12422 find_first_not_of(const _CharT* __s, size_type __pos = 0) const
12425 return this->find_first_not_of(__s, __pos, traits_type::length(__s));
12427 # 1831 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12429 find_first_not_of(_CharT __c, size_type __pos = 0) const;
12430 # 1844 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12432 find_last_not_of(const basic_string& __str, size_type __pos = npos) const
12433 { return this->find_last_not_of(__str.data(), __pos, __str.size()); }
12434 # 1860 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12436 find_last_not_of(const _CharT* __s, size_type __pos,
12437 size_type __n) const;
12438 # 1873 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12440 find_last_not_of(const _CharT* __s, size_type __pos = npos) const
12443 return this->find_last_not_of(__s, __pos, traits_type::length(__s));
12445 # 1890 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12447 find_last_not_of(_CharT __c, size_type __pos = npos) const;
12448 # 1905 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12450 substr(size_type __pos = 0, size_type __n = npos) const
12451 { return basic_string(*this,
12452 _M_check(__pos, "basic_string::substr"), __n); }
12453 # 1923 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12455 compare(const basic_string& __str) const
12457 const size_type __size = this->size();
12458 const size_type __osize = __str.size();
12459 const size_type __len = std::min(__size, __osize);
12461 int __r = traits_type::compare(_M_data(), __str.data(), __len);
12463 __r = __size - __osize;
12466 # 1953 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12468 compare(size_type __pos, size_type __n, const basic_string& __str) const;
12469 # 1977 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12471 compare(size_type __pos1, size_type __n1, const basic_string& __str,
12472 size_type __pos2, size_type __n2) const;
12473 # 1995 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12475 compare(const _CharT* __s) const;
12476 # 2018 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12478 compare(size_type __pos, size_type __n1, const _CharT* __s) const;
12479 # 2043 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12481 compare(size_type __pos, size_type __n1, const _CharT* __s,
12482 size_type __n2) const;
12485 template<typename _CharT, typename _Traits, typename _Alloc>
12486 inline basic_string<_CharT, _Traits, _Alloc>::
12489 : _M_dataplus(_S_empty_rep()._M_refdata(), _Alloc()) { }
12490 # 2064 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12491 template<typename _CharT, typename _Traits, typename _Alloc>
12492 basic_string<_CharT, _Traits, _Alloc>
12493 operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
12494 const basic_string<_CharT, _Traits, _Alloc>& __rhs)
12496 basic_string<_CharT, _Traits, _Alloc> __str(__lhs);
12497 __str.append(__rhs);
12507 template<typename _CharT, typename _Traits, typename _Alloc>
12508 basic_string<_CharT,_Traits,_Alloc>
12509 operator+(const _CharT* __lhs,
12510 const basic_string<_CharT,_Traits,_Alloc>& __rhs);
12518 template<typename _CharT, typename _Traits, typename _Alloc>
12519 basic_string<_CharT,_Traits,_Alloc>
12520 operator+(_CharT __lhs, const basic_string<_CharT,_Traits,_Alloc>& __rhs);
12528 template<typename _CharT, typename _Traits, typename _Alloc>
12529 inline basic_string<_CharT, _Traits, _Alloc>
12530 operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
12531 const _CharT* __rhs)
12533 basic_string<_CharT, _Traits, _Alloc> __str(__lhs);
12534 __str.append(__rhs);
12544 template<typename _CharT, typename _Traits, typename _Alloc>
12545 inline basic_string<_CharT, _Traits, _Alloc>
12546 operator+(const basic_string<_CharT, _Traits, _Alloc>& __lhs, _CharT __rhs)
12548 typedef basic_string<_CharT, _Traits, _Alloc> __string_type;
12549 typedef typename __string_type::size_type __size_type;
12550 __string_type __str(__lhs);
12551 __str.append(__size_type(1), __rhs);
12554 # 2135 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12555 template<typename _CharT, typename _Traits, typename _Alloc>
12557 operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
12558 const basic_string<_CharT, _Traits, _Alloc>& __rhs)
12559 { return __lhs.compare(__rhs) == 0; }
12567 template<typename _CharT, typename _Traits, typename _Alloc>
12569 operator==(const _CharT* __lhs,
12570 const basic_string<_CharT, _Traits, _Alloc>& __rhs)
12571 { return __rhs.compare(__lhs) == 0; }
12579 template<typename _CharT, typename _Traits, typename _Alloc>
12581 operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
12582 const _CharT* __rhs)
12583 { return __lhs.compare(__rhs) == 0; }
12584 # 2172 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12585 template<typename _CharT, typename _Traits, typename _Alloc>
12587 operator!=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
12588 const basic_string<_CharT, _Traits, _Alloc>& __rhs)
12589 { return __rhs.compare(__lhs) != 0; }
12597 template<typename _CharT, typename _Traits, typename _Alloc>
12599 operator!=(const _CharT* __lhs,
12600 const basic_string<_CharT, _Traits, _Alloc>& __rhs)
12601 { return __rhs.compare(__lhs) != 0; }
12609 template<typename _CharT, typename _Traits, typename _Alloc>
12611 operator!=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
12612 const _CharT* __rhs)
12613 { return __lhs.compare(__rhs) != 0; }
12614 # 2209 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12615 template<typename _CharT, typename _Traits, typename _Alloc>
12617 operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
12618 const basic_string<_CharT, _Traits, _Alloc>& __rhs)
12619 { return __lhs.compare(__rhs) < 0; }
12627 template<typename _CharT, typename _Traits, typename _Alloc>
12629 operator<(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
12630 const _CharT* __rhs)
12631 { return __lhs.compare(__rhs) < 0; }
12639 template<typename _CharT, typename _Traits, typename _Alloc>
12641 operator<(const _CharT* __lhs,
12642 const basic_string<_CharT, _Traits, _Alloc>& __rhs)
12643 { return __rhs.compare(__lhs) > 0; }
12644 # 2246 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12645 template<typename _CharT, typename _Traits, typename _Alloc>
12647 operator>(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
12648 const basic_string<_CharT, _Traits, _Alloc>& __rhs)
12649 { return __lhs.compare(__rhs) > 0; }
12657 template<typename _CharT, typename _Traits, typename _Alloc>
12659 operator>(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
12660 const _CharT* __rhs)
12661 { return __lhs.compare(__rhs) > 0; }
12669 template<typename _CharT, typename _Traits, typename _Alloc>
12671 operator>(const _CharT* __lhs,
12672 const basic_string<_CharT, _Traits, _Alloc>& __rhs)
12673 { return __rhs.compare(__lhs) < 0; }
12674 # 2283 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12675 template<typename _CharT, typename _Traits, typename _Alloc>
12677 operator<=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
12678 const basic_string<_CharT, _Traits, _Alloc>& __rhs)
12679 { return __lhs.compare(__rhs) <= 0; }
12687 template<typename _CharT, typename _Traits, typename _Alloc>
12689 operator<=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
12690 const _CharT* __rhs)
12691 { return __lhs.compare(__rhs) <= 0; }
12699 template<typename _CharT, typename _Traits, typename _Alloc>
12701 operator<=(const _CharT* __lhs,
12702 const basic_string<_CharT, _Traits, _Alloc>& __rhs)
12703 { return __rhs.compare(__lhs) >= 0; }
12704 # 2320 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12705 template<typename _CharT, typename _Traits, typename _Alloc>
12707 operator>=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
12708 const basic_string<_CharT, _Traits, _Alloc>& __rhs)
12709 { return __lhs.compare(__rhs) >= 0; }
12717 template<typename _CharT, typename _Traits, typename _Alloc>
12719 operator>=(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
12720 const _CharT* __rhs)
12721 { return __lhs.compare(__rhs) >= 0; }
12729 template<typename _CharT, typename _Traits, typename _Alloc>
12731 operator>=(const _CharT* __lhs,
12732 const basic_string<_CharT, _Traits, _Alloc>& __rhs)
12733 { return __rhs.compare(__lhs) <= 0; }
12734 # 2357 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12735 template<typename _CharT, typename _Traits, typename _Alloc>
12737 swap(basic_string<_CharT, _Traits, _Alloc>& __lhs,
12738 basic_string<_CharT, _Traits, _Alloc>& __rhs)
12739 { __lhs.swap(__rhs); }
12740 # 2374 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12741 template<typename _CharT, typename _Traits, typename _Alloc>
12742 basic_istream<_CharT, _Traits>&
12743 operator>>(basic_istream<_CharT, _Traits>& __is,
12744 basic_string<_CharT, _Traits, _Alloc>& __str);
12747 basic_istream<char>&
12748 operator>>(basic_istream<char>& __is, basic_string<char>& __str);
12749 # 2392 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12750 template<typename _CharT, typename _Traits, typename _Alloc>
12751 basic_ostream<_CharT, _Traits>&
12752 operator<<(basic_ostream<_CharT, _Traits>& __os,
12753 const basic_string<_CharT, _Traits, _Alloc>& __str);
12754 # 2410 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12755 template<typename _CharT, typename _Traits, typename _Alloc>
12756 basic_istream<_CharT, _Traits>&
12757 getline(basic_istream<_CharT, _Traits>& __is,
12758 basic_string<_CharT, _Traits, _Alloc>& __str, _CharT __delim);
12759 # 2427 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.h" 3
12760 template<typename _CharT, typename _Traits, typename _Alloc>
12761 inline basic_istream<_CharT, _Traits>&
12762 getline(basic_istream<_CharT, _Traits>& __is,
12763 basic_string<_CharT, _Traits, _Alloc>& __str);
12766 basic_istream<char>&
12767 getline(basic_istream<char>& __in, basic_string<char>& __str,
12777 # 53 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/string" 2 3
12780 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/algorithm" 1 3
12781 # 63 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/algorithm" 3
12783 # 64 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/algorithm" 3
12788 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 1 3
12789 # 65 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
12790 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_heap.h" 1 3
12791 # 65 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_heap.h" 3
12797 template<typename _RandomAccessIterator, typename _Distance>
12799 __is_heap(_RandomAccessIterator __first, _Distance __n)
12801 _Distance __parent = 0;
12802 for (_Distance __child = 1; __child < __n; ++__child)
12804 if (__first[__parent] < __first[__child])
12806 if ((__child & 1) == 0)
12812 template<typename _RandomAccessIterator, typename _Distance,
12813 typename _StrictWeakOrdering>
12815 __is_heap(_RandomAccessIterator __first, _StrictWeakOrdering __comp,
12818 _Distance __parent = 0;
12819 for (_Distance __child = 1; __child < __n; ++__child)
12821 if (__comp(__first[__parent], __first[__child]))
12823 if ((__child & 1) == 0)
12829 template<typename _RandomAccessIterator>
12831 __is_heap(_RandomAccessIterator __first, _RandomAccessIterator __last)
12832 { return std::__is_heap(__first, std::distance(__first, __last)); }
12834 template<typename _RandomAccessIterator, typename _StrictWeakOrdering>
12836 __is_heap(_RandomAccessIterator __first, _RandomAccessIterator __last,
12837 _StrictWeakOrdering __comp)
12838 { return std::__is_heap(__first, __comp, std::distance(__first, __last)); }
12842 template<typename _RandomAccessIterator, typename _Distance, typename _Tp>
12844 __push_heap(_RandomAccessIterator __first,
12845 _Distance __holeIndex, _Distance __topIndex, _Tp __value)
12847 _Distance __parent = (__holeIndex - 1) / 2;
12848 while (__holeIndex > __topIndex && *(__first + __parent) < __value)
12850 *(__first + __holeIndex) = *(__first + __parent);
12851 __holeIndex = __parent;
12852 __parent = (__holeIndex - 1) / 2;
12854 *(__first + __holeIndex) = __value;
12856 # 139 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_heap.h" 3
12857 template<typename _RandomAccessIterator>
12859 push_heap(_RandomAccessIterator __first, _RandomAccessIterator __last)
12861 typedef typename iterator_traits<_RandomAccessIterator>::value_type
12863 typedef typename iterator_traits<_RandomAccessIterator>::difference_type
12873 std::__push_heap(__first, _DistanceType((__last - __first) - 1),
12874 _DistanceType(0), _ValueType(*(__last - 1)));
12877 template<typename _RandomAccessIterator, typename _Distance, typename _Tp,
12880 __push_heap(_RandomAccessIterator __first, _Distance __holeIndex,
12881 _Distance __topIndex, _Tp __value, _Compare __comp)
12883 _Distance __parent = (__holeIndex - 1) / 2;
12884 while (__holeIndex > __topIndex
12885 && __comp(*(__first + __parent), __value))
12887 *(__first + __holeIndex) = *(__first + __parent);
12888 __holeIndex = __parent;
12889 __parent = (__holeIndex - 1) / 2;
12891 *(__first + __holeIndex) = __value;
12893 # 187 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_heap.h" 3
12894 template<typename _RandomAccessIterator, typename _Compare>
12896 push_heap(_RandomAccessIterator __first, _RandomAccessIterator __last,
12899 typedef typename iterator_traits<_RandomAccessIterator>::value_type
12901 typedef typename iterator_traits<_RandomAccessIterator>::difference_type
12910 std::__push_heap(__first, _DistanceType((__last - __first) - 1),
12911 _DistanceType(0), _ValueType(*(__last - 1)), __comp);
12914 template<typename _RandomAccessIterator, typename _Distance, typename _Tp>
12916 __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex,
12917 _Distance __len, _Tp __value)
12919 const _Distance __topIndex = __holeIndex;
12920 _Distance __secondChild = 2 * __holeIndex + 2;
12921 while (__secondChild < __len)
12923 if (*(__first + __secondChild) < *(__first + (__secondChild - 1)))
12925 *(__first + __holeIndex) = *(__first + __secondChild);
12926 __holeIndex = __secondChild;
12927 __secondChild = 2 * (__secondChild + 1);
12929 if (__secondChild == __len)
12931 *(__first + __holeIndex) = *(__first + (__secondChild - 1));
12932 __holeIndex = __secondChild - 1;
12934 std::__push_heap(__first, __holeIndex, __topIndex, __value);
12937 template<typename _RandomAccessIterator, typename _Tp>
12939 __pop_heap(_RandomAccessIterator __first, _RandomAccessIterator __last,
12940 _RandomAccessIterator __result, _Tp __value)
12942 typedef typename iterator_traits<_RandomAccessIterator>::difference_type
12944 *__result = *__first;
12945 std::__adjust_heap(__first, _Distance(0), _Distance(__last - __first),
12948 # 251 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_heap.h" 3
12949 template<typename _RandomAccessIterator>
12951 pop_heap(_RandomAccessIterator __first, _RandomAccessIterator __last)
12953 typedef typename iterator_traits<_RandomAccessIterator>::value_type
12963 std::__pop_heap(__first, __last - 1, __last - 1,
12964 _ValueType(*(__last - 1)));
12967 template<typename _RandomAccessIterator, typename _Distance,
12968 typename _Tp, typename _Compare>
12970 __adjust_heap(_RandomAccessIterator __first, _Distance __holeIndex,
12971 _Distance __len, _Tp __value, _Compare __comp)
12973 const _Distance __topIndex = __holeIndex;
12974 _Distance __secondChild = 2 * __holeIndex + 2;
12975 while (__secondChild < __len)
12977 if (__comp(*(__first + __secondChild),
12978 *(__first + (__secondChild - 1))))
12980 *(__first + __holeIndex) = *(__first + __secondChild);
12981 __holeIndex = __secondChild;
12982 __secondChild = 2 * (__secondChild + 1);
12984 if (__secondChild == __len)
12986 *(__first + __holeIndex) = *(__first + (__secondChild - 1));
12987 __holeIndex = __secondChild - 1;
12989 std::__push_heap(__first, __holeIndex, __topIndex, __value, __comp);
12992 template<typename _RandomAccessIterator, typename _Tp, typename _Compare>
12994 __pop_heap(_RandomAccessIterator __first, _RandomAccessIterator __last,
12995 _RandomAccessIterator __result, _Tp __value, _Compare __comp)
12997 typedef typename iterator_traits<_RandomAccessIterator>::difference_type
12999 *__result = *__first;
13000 std::__adjust_heap(__first, _Distance(0), _Distance(__last - __first),
13003 # 317 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_heap.h" 3
13004 template<typename _RandomAccessIterator, typename _Compare>
13006 pop_heap(_RandomAccessIterator __first,
13007 _RandomAccessIterator __last, _Compare __comp)
13015 typedef typename iterator_traits<_RandomAccessIterator>::value_type
13017 std::__pop_heap(__first, __last - 1, __last - 1,
13018 _ValueType(*(__last - 1)), __comp);
13020 # 342 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_heap.h" 3
13021 template<typename _RandomAccessIterator>
13023 make_heap(_RandomAccessIterator __first, _RandomAccessIterator __last)
13025 typedef typename iterator_traits<_RandomAccessIterator>::value_type
13027 typedef typename iterator_traits<_RandomAccessIterator>::difference_type
13036 if (__last - __first < 2)
13039 const _DistanceType __len = __last - __first;
13040 _DistanceType __parent = (__len - 2) / 2;
13043 std::__adjust_heap(__first, __parent, __len,
13044 _ValueType(*(__first + __parent)));
13050 # 382 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_heap.h" 3
13051 template<typename _RandomAccessIterator, typename _Compare>
13053 make_heap(_RandomAccessIterator __first, _RandomAccessIterator __last,
13056 typedef typename iterator_traits<_RandomAccessIterator>::value_type
13058 typedef typename iterator_traits<_RandomAccessIterator>::difference_type
13066 if (__last - __first < 2)
13069 const _DistanceType __len = __last - __first;
13070 _DistanceType __parent = (__len - 2) / 2;
13073 std::__adjust_heap(__first, __parent, __len,
13074 _ValueType(*(__first + __parent)), __comp);
13080 # 420 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_heap.h" 3
13081 template<typename _RandomAccessIterator>
13083 sort_heap(_RandomAccessIterator __first, _RandomAccessIterator __last)
13093 while (__last - __first > 1)
13094 std::pop_heap(__first, __last--);
13096 # 446 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_heap.h" 3
13097 template<typename _RandomAccessIterator, typename _Compare>
13099 sort_heap(_RandomAccessIterator __first, _RandomAccessIterator __last,
13108 while (__last - __first > 1)
13109 std::pop_heap(__first, __last--, __comp);
13113 # 66 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 2 3
13114 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_tempbuf.h" 1 3
13115 # 66 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_tempbuf.h" 3
13125 template<typename _ForwardIterator, typename _Tp>
13126 class _Temporary_buffer
13132 typedef _Tp value_type;
13133 typedef value_type* pointer;
13134 typedef pointer iterator;
13135 typedef ptrdiff_t size_type;
13138 size_type _M_original_len;
13143 _M_initialize_buffer(const _Tp&, __true_type) { }
13146 _M_initialize_buffer(const _Tp& val, __false_type)
13147 { std::uninitialized_fill_n(_M_buffer, _M_len, val); }
13157 requested_size() const
13158 { return _M_original_len; }
13163 { return _M_buffer; }
13168 { return _M_buffer + _M_len; }
13174 _Temporary_buffer(_ForwardIterator __first, _ForwardIterator __last);
13176 ~_Temporary_buffer()
13178 std::_Destroy(_M_buffer, _M_buffer + _M_len);
13179 std::return_temporary_buffer(_M_buffer);
13184 _Temporary_buffer(const _Temporary_buffer&);
13187 operator=(const _Temporary_buffer&);
13191 template<typename _ForwardIterator, typename _Tp>
13192 _Temporary_buffer<_ForwardIterator, _Tp>::
13193 _Temporary_buffer(_ForwardIterator __first, _ForwardIterator __last)
13194 : _M_original_len(std::distance(__first, __last)),
13195 _M_len(0), _M_buffer(0)
13198 typedef typename std::__is_scalar<_Tp>::__type _Trivial;
13202 pair<pointer, size_type> __p(get_temporary_buffer<
13203 value_type>(_M_original_len));
13204 _M_buffer = __p.first;
13205 _M_len = __p.second;
13207 _M_initialize_buffer(*__first, _Trivial());
13211 std::return_temporary_buffer(_M_buffer);
13218 # 67 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 2 3
13225 # 85 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
13226 template<typename _Tp>
13228 __median(const _Tp& __a, const _Tp& __b, const _Tp& __c)
13235 else if (__a < __c)
13239 else if (__a < __c)
13241 else if (__b < __c)
13246 # 119 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
13247 template<typename _Tp, typename _Compare>
13249 __median(const _Tp& __a, const _Tp& __b, const _Tp& __c, _Compare __comp)
13253 if (__comp(__a, __b))
13254 if (__comp(__b, __c))
13256 else if (__comp(__a, __c))
13260 else if (__comp(__a, __c))
13262 else if (__comp(__b, __c))
13267 # 151 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
13268 template<typename _InputIterator, typename _Function>
13270 for_each(_InputIterator __first, _InputIterator __last, _Function __f)
13275 for ( ; __first != __last; ++__first)
13285 template<typename _InputIterator, typename _Tp>
13286 inline _InputIterator
13287 __find(_InputIterator __first, _InputIterator __last,
13288 const _Tp& __val, input_iterator_tag)
13290 while (__first != __last && !(*__first == __val))
13300 template<typename _InputIterator, typename _Predicate>
13301 inline _InputIterator
13302 __find_if(_InputIterator __first, _InputIterator __last,
13303 _Predicate __pred, input_iterator_tag)
13305 while (__first != __last && !__pred(*__first))
13315 template<typename _RandomAccessIterator, typename _Tp>
13316 _RandomAccessIterator
13317 __find(_RandomAccessIterator __first, _RandomAccessIterator __last,
13318 const _Tp& __val, random_access_iterator_tag)
13320 typename iterator_traits<_RandomAccessIterator>::difference_type
13321 __trip_count = (__last - __first) >> 2;
13323 for ( ; __trip_count > 0 ; --__trip_count)
13325 if (*__first == __val)
13329 if (*__first == __val)
13333 if (*__first == __val)
13337 if (*__first == __val)
13342 switch (__last - __first)
13345 if (*__first == __val)
13349 if (*__first == __val)
13353 if (*__first == __val)
13367 template<typename _RandomAccessIterator, typename _Predicate>
13368 _RandomAccessIterator
13369 __find_if(_RandomAccessIterator __first, _RandomAccessIterator __last,
13370 _Predicate __pred, random_access_iterator_tag)
13372 typename iterator_traits<_RandomAccessIterator>::difference_type
13373 __trip_count = (__last - __first) >> 2;
13375 for ( ; __trip_count > 0 ; --__trip_count)
13377 if (__pred(*__first))
13381 if (__pred(*__first))
13385 if (__pred(*__first))
13389 if (__pred(*__first))
13394 switch (__last - __first)
13397 if (__pred(*__first))
13401 if (__pred(*__first))
13405 if (__pred(*__first))
13413 # 305 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
13414 template<typename _InputIterator, typename _Tp>
13415 inline _InputIterator
13416 find(_InputIterator __first, _InputIterator __last,
13424 return std::__find(__first, __last, __val,
13425 std::__iterator_category(__first));
13427 # 327 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
13428 template<typename _InputIterator, typename _Predicate>
13429 inline _InputIterator
13430 find_if(_InputIterator __first, _InputIterator __last,
13438 return std::__find_if(__first, __last, __pred,
13439 std::__iterator_category(__first));
13441 # 349 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
13442 template<typename _ForwardIterator>
13444 adjacent_find(_ForwardIterator __first, _ForwardIterator __last)
13451 if (__first == __last)
13453 _ForwardIterator __next = __first;
13454 while(++__next != __last)
13456 if (*__first == *__next)
13462 # 380 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
13463 template<typename _ForwardIterator, typename _BinaryPredicate>
13465 adjacent_find(_ForwardIterator __first, _ForwardIterator __last,
13466 _BinaryPredicate __binary_pred)
13474 if (__first == __last)
13476 _ForwardIterator __next = __first;
13477 while(++__next != __last)
13479 if (__binary_pred(*__first, *__next))
13485 # 411 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
13486 template<typename _InputIterator, typename _Tp>
13487 typename iterator_traits<_InputIterator>::difference_type
13488 count(_InputIterator __first, _InputIterator __last, const _Tp& __value)
13495 typename iterator_traits<_InputIterator>::difference_type __n = 0;
13496 for ( ; __first != __last; ++__first)
13497 if (*__first == __value)
13501 # 435 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
13502 template<typename _InputIterator, typename _Predicate>
13503 typename iterator_traits<_InputIterator>::difference_type
13504 count_if(_InputIterator __first, _InputIterator __last, _Predicate __pred)
13511 typename iterator_traits<_InputIterator>::difference_type __n = 0;
13512 for ( ; __first != __last; ++__first)
13513 if (__pred(*__first))
13517 # 474 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
13518 template<typename _ForwardIterator1, typename _ForwardIterator2>
13520 search(_ForwardIterator1 __first1, _ForwardIterator1 __last1,
13521 _ForwardIterator2 __first2, _ForwardIterator2 __last2)
13532 if (__first1 == __last1 || __first2 == __last2)
13536 _ForwardIterator2 __tmp(__first2);
13538 if (__tmp == __last2)
13539 return std::find(__first1, __last1, *__first2);
13542 _ForwardIterator2 __p1, __p;
13543 __p1 = __first2; ++__p1;
13544 _ForwardIterator1 __current = __first1;
13546 while (__first1 != __last1)
13548 __first1 = std::find(__first1, __last1, *__first2);
13549 if (__first1 == __last1)
13553 __current = __first1;
13554 if (++__current == __last1)
13557 while (*__current == *__p)
13559 if (++__p == __last2)
13561 if (++__current == __last1)
13568 # 545 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
13569 template<typename _ForwardIterator1, typename _ForwardIterator2,
13570 typename _BinaryPredicate>
13572 search(_ForwardIterator1 __first1, _ForwardIterator1 __last1,
13573 _ForwardIterator2 __first2, _ForwardIterator2 __last2,
13574 _BinaryPredicate __predicate)
13586 if (__first1 == __last1 || __first2 == __last2)
13590 _ForwardIterator2 __tmp(__first2);
13592 if (__tmp == __last2)
13594 while (__first1 != __last1 && !__predicate(*__first1, *__first2))
13600 _ForwardIterator2 __p1, __p;
13601 __p1 = __first2; ++__p1;
13602 _ForwardIterator1 __current = __first1;
13604 while (__first1 != __last1)
13606 while (__first1 != __last1)
13608 if (__predicate(*__first1, *__first2))
13612 while (__first1 != __last1 && !__predicate(*__first1, *__first2))
13614 if (__first1 == __last1)
13618 __current = __first1;
13619 if (++__current == __last1)
13622 while (__predicate(*__current, *__p))
13624 if (++__p == __last2)
13626 if (++__current == __last1)
13633 # 617 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
13634 template<typename _ForwardIterator, typename _Integer, typename _Tp>
13636 __search_n(_ForwardIterator __first, _ForwardIterator __last,
13637 _Integer __count, const _Tp& __val,
13638 std::forward_iterator_tag)
13640 __first = std::find(__first, __last, __val);
13641 while (__first != __last)
13643 typename iterator_traits<_ForwardIterator>::difference_type
13645 _ForwardIterator __i = __first;
13647 while (__i != __last && __n != 1 && *__i == __val)
13656 __first = std::find(++__i, __last, __val);
13660 # 651 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
13661 template<typename _RandomAccessIter, typename _Integer, typename _Tp>
13663 __search_n(_RandomAccessIter __first, _RandomAccessIter __last,
13664 _Integer __count, const _Tp& __val,
13665 std::random_access_iterator_tag)
13668 typedef typename std::iterator_traits<_RandomAccessIter>::difference_type
13671 _DistanceType __tailSize = __last - __first;
13672 const _DistanceType __pattSize = __count;
13674 if (__tailSize < __pattSize)
13677 const _DistanceType __skipOffset = __pattSize - 1;
13678 _RandomAccessIter __lookAhead = __first + __skipOffset;
13679 __tailSize -= __pattSize;
13685 while (!(*__lookAhead == __val))
13687 if (__tailSize < __pattSize)
13689 __lookAhead += __pattSize;
13690 __tailSize -= __pattSize;
13692 _DistanceType __remainder = __skipOffset;
13693 for (_RandomAccessIter __backTrack = __lookAhead - 1;
13694 *__backTrack == __val; --__backTrack)
13696 if (--__remainder == 0)
13697 return (__lookAhead - __skipOffset);
13699 if (__remainder > __tailSize)
13701 __lookAhead += __remainder;
13702 __tailSize -= __remainder;
13705 # 709 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
13706 template<typename _ForwardIterator, typename _Integer, typename _Tp>
13708 search_n(_ForwardIterator __first, _ForwardIterator __last,
13709 _Integer __count, const _Tp& __val)
13720 return std::find(__first, __last, __val);
13721 return std::__search_n(__first, __last, __count, __val,
13722 std::__iterator_category(__first));
13724 # 736 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
13725 template<typename _ForwardIterator, typename _Integer, typename _Tp,
13726 typename _BinaryPredicate>
13728 __search_n(_ForwardIterator __first, _ForwardIterator __last,
13729 _Integer __count, const _Tp& __val,
13730 _BinaryPredicate __binary_pred, std::forward_iterator_tag)
13732 while (__first != __last && !__binary_pred(*__first, __val))
13735 while (__first != __last)
13737 typename iterator_traits<_ForwardIterator>::difference_type
13739 _ForwardIterator __i = __first;
13741 while (__i != __last && __n != 1 && __binary_pred(*__i, __val))
13751 while (__first != __last && !__binary_pred(*__first, __val))
13756 # 776 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
13757 template<typename _RandomAccessIter, typename _Integer, typename _Tp,
13758 typename _BinaryPredicate>
13760 __search_n(_RandomAccessIter __first, _RandomAccessIter __last,
13761 _Integer __count, const _Tp& __val,
13762 _BinaryPredicate __binary_pred, std::random_access_iterator_tag)
13765 typedef typename std::iterator_traits<_RandomAccessIter>::difference_type
13768 _DistanceType __tailSize = __last - __first;
13769 const _DistanceType __pattSize = __count;
13771 if (__tailSize < __pattSize)
13774 const _DistanceType __skipOffset = __pattSize - 1;
13775 _RandomAccessIter __lookAhead = __first + __skipOffset;
13776 __tailSize -= __pattSize;
13782 while (!__binary_pred(*__lookAhead, __val))
13784 if (__tailSize < __pattSize)
13786 __lookAhead += __pattSize;
13787 __tailSize -= __pattSize;
13789 _DistanceType __remainder = __skipOffset;
13790 for (_RandomAccessIter __backTrack = __lookAhead - 1;
13791 __binary_pred(*__backTrack, __val); --__backTrack)
13793 if (--__remainder == 0)
13794 return (__lookAhead - __skipOffset);
13796 if (__remainder > __tailSize)
13798 __lookAhead += __remainder;
13799 __tailSize -= __remainder;
13802 # 837 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
13803 template<typename _ForwardIterator, typename _Integer, typename _Tp,
13804 typename _BinaryPredicate>
13806 search_n(_ForwardIterator __first, _ForwardIterator __last,
13807 _Integer __count, const _Tp& __val,
13808 _BinaryPredicate __binary_pred)
13820 while (__first != __last && !__binary_pred(*__first, __val))
13824 return std::__search_n(__first, __last, __count, __val, __binary_pred,
13825 std::__iterator_category(__first));
13827 # 873 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
13828 template<typename _ForwardIterator1, typename _ForwardIterator2>
13830 swap_ranges(_ForwardIterator1 __first1, _ForwardIterator1 __last1,
13831 _ForwardIterator2 __first2)
13846 for ( ; __first1 != __last1; ++__first1, ++__first2)
13847 std::iter_swap(__first1, __first2);
13850 # 911 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
13851 template<typename _InputIterator, typename _OutputIterator,
13852 typename _UnaryOperation>
13854 transform(_InputIterator __first, _InputIterator __last,
13855 _OutputIterator __result, _UnaryOperation __unary_op)
13864 for ( ; __first != __last; ++__first, ++__result)
13865 *__result = __unary_op(*__first);
13868 # 946 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
13869 template<typename _InputIterator1, typename _InputIterator2,
13870 typename _OutputIterator, typename _BinaryOperation>
13872 transform(_InputIterator1 __first1, _InputIterator1 __last1,
13873 _InputIterator2 __first2, _OutputIterator __result,
13874 _BinaryOperation __binary_op)
13884 for ( ; __first1 != __last1; ++__first1, ++__first2, ++__result)
13885 *__result = __binary_op(*__first1, *__first2);
13888 # 978 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
13889 template<typename _ForwardIterator, typename _Tp>
13891 replace(_ForwardIterator __first, _ForwardIterator __last,
13892 const _Tp& __old_value, const _Tp& __new_value)
13903 for ( ; __first != __last; ++__first)
13904 if (*__first == __old_value)
13905 *__first = __new_value;
13907 # 1009 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
13908 template<typename _ForwardIterator, typename _Predicate, typename _Tp>
13910 replace_if(_ForwardIterator __first, _ForwardIterator __last,
13911 _Predicate __pred, const _Tp& __new_value)
13922 for ( ; __first != __last; ++__first)
13923 if (__pred(*__first))
13924 *__first = __new_value;
13926 # 1042 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
13927 template<typename _InputIterator, typename _OutputIterator, typename _Tp>
13929 replace_copy(_InputIterator __first, _InputIterator __last,
13930 _OutputIterator __result,
13931 const _Tp& __old_value, const _Tp& __new_value)
13941 for ( ; __first != __last; ++__first, ++__result)
13942 if (*__first == __old_value)
13943 *__result = __new_value;
13945 *__result = *__first;
13948 # 1078 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
13949 template<typename _InputIterator, typename _OutputIterator,
13950 typename _Predicate, typename _Tp>
13952 replace_copy_if(_InputIterator __first, _InputIterator __last,
13953 _OutputIterator __result,
13954 _Predicate __pred, const _Tp& __new_value)
13964 for ( ; __first != __last; ++__first, ++__result)
13965 if (__pred(*__first))
13966 *__result = __new_value;
13968 *__result = *__first;
13971 # 1112 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
13972 template<typename _ForwardIterator, typename _Generator>
13974 generate(_ForwardIterator __first, _ForwardIterator __last,
13983 for ( ; __first != __last; ++__first)
13984 *__first = __gen();
13986 # 1138 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
13987 template<typename _OutputIterator, typename _Size, typename _Generator>
13989 generate_n(_OutputIterator __first, _Size __n, _Generator __gen)
13996 for ( ; __n > 0; --__n, ++__first)
13997 *__first = __gen();
14000 # 1165 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
14001 template<typename _InputIterator, typename _OutputIterator, typename _Tp>
14003 remove_copy(_InputIterator __first, _InputIterator __last,
14004 _OutputIterator __result, const _Tp& __value)
14014 for ( ; __first != __last; ++__first)
14015 if (!(*__first == __value))
14017 *__result = *__first;
14022 # 1201 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
14023 template<typename _InputIterator, typename _OutputIterator,
14024 typename _Predicate>
14026 remove_copy_if(_InputIterator __first, _InputIterator __last,
14027 _OutputIterator __result, _Predicate __pred)
14037 for ( ; __first != __last; ++__first)
14038 if (!__pred(*__first))
14040 *__result = *__first;
14045 # 1240 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
14046 template<typename _ForwardIterator, typename _Tp>
14048 remove(_ForwardIterator __first, _ForwardIterator __last,
14049 const _Tp& __value)
14058 __first = std::find(__first, __last, __value);
14059 _ForwardIterator __i = __first;
14060 return __first == __last ? __first
14061 : std::remove_copy(++__i, __last,
14064 # 1275 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
14065 template<typename _ForwardIterator, typename _Predicate>
14067 remove_if(_ForwardIterator __first, _ForwardIterator __last,
14077 __first = std::find_if(__first, __last, __pred);
14078 _ForwardIterator __i = __first;
14079 return __first == __last ? __first
14080 : std::remove_copy_if(++__i, __last,
14083 # 1301 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
14084 template<typename _InputIterator, typename _OutputIterator>
14086 __unique_copy(_InputIterator __first, _InputIterator __last,
14087 _OutputIterator __result,
14088 output_iterator_tag)
14091 typename iterator_traits<_InputIterator>::value_type __value = *__first;
14092 *__result = __value;
14093 while (++__first != __last)
14094 if (!(__value == *__first))
14096 __value = *__first;
14097 *++__result = __value;
14101 # 1326 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
14102 template<typename _InputIterator, typename _ForwardIterator>
14104 __unique_copy(_InputIterator __first, _InputIterator __last,
14105 _ForwardIterator __result,
14106 forward_iterator_tag)
14109 *__result = *__first;
14110 while (++__first != __last)
14111 if (!(*__result == *__first))
14112 *++__result = *__first;
14115 # 1348 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
14116 template<typename _InputIterator, typename _OutputIterator,
14117 typename _BinaryPredicate>
14119 __unique_copy(_InputIterator __first, _InputIterator __last,
14120 _OutputIterator __result,
14121 _BinaryPredicate __binary_pred,
14122 output_iterator_tag)
14129 typename iterator_traits<_InputIterator>::value_type __value = *__first;
14130 *__result = __value;
14131 while (++__first != __last)
14132 if (!__binary_pred(__value, *__first))
14134 __value = *__first;
14135 *++__result = __value;
14139 # 1380 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
14140 template<typename _InputIterator, typename _ForwardIterator,
14141 typename _BinaryPredicate>
14143 __unique_copy(_InputIterator __first, _InputIterator __last,
14144 _ForwardIterator __result,
14145 _BinaryPredicate __binary_pred,
14146 forward_iterator_tag)
14153 *__result = *__first;
14154 while (++__first != __last)
14155 if (!__binary_pred(*__result, *__first)) *++__result = *__first;
14158 # 1412 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
14159 template<typename _InputIterator, typename _OutputIterator>
14160 inline _OutputIterator
14161 unique_copy(_InputIterator __first, _InputIterator __last,
14162 _OutputIterator __result)
14172 typedef typename iterator_traits<_OutputIterator>::iterator_category
14175 if (__first == __last) return __result;
14176 return std::__unique_copy(__first, __last, __result, _IterType());
14178 # 1447 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
14179 template<typename _InputIterator, typename _OutputIterator,
14180 typename _BinaryPredicate>
14181 inline _OutputIterator
14182 unique_copy(_InputIterator __first, _InputIterator __last,
14183 _OutputIterator __result,
14184 _BinaryPredicate __binary_pred)
14192 typedef typename iterator_traits<_OutputIterator>::iterator_category
14195 if (__first == __last) return __result;
14196 return std::__unique_copy(__first, __last, __result,
14197 __binary_pred, _IterType());
14199 # 1481 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
14200 template<typename _ForwardIterator>
14202 unique(_ForwardIterator __first, _ForwardIterator __last)
14212 __first = std::adjacent_find(__first, __last);
14213 if (__first == __last)
14217 _ForwardIterator __dest = __first;
14219 while (++__first != __last)
14220 if (!(*__dest == *__first))
14221 *++__dest = *__first;
14224 # 1520 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
14225 template<typename _ForwardIterator, typename _BinaryPredicate>
14227 unique(_ForwardIterator __first, _ForwardIterator __last,
14228 _BinaryPredicate __binary_pred)
14239 __first = std::adjacent_find(__first, __last, __binary_pred);
14240 if (__first == __last)
14244 _ForwardIterator __dest = __first;
14246 while (++__first != __last)
14247 if (!__binary_pred(*__dest, *__first))
14248 *++__dest = *__first;
14251 # 1554 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
14252 template<typename _BidirectionalIterator>
14254 __reverse(_BidirectionalIterator __first, _BidirectionalIterator __last,
14255 bidirectional_iterator_tag)
14258 if (__first == __last || __first == --__last)
14262 std::iter_swap(__first, __last);
14266 # 1576 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
14267 template<typename _RandomAccessIterator>
14269 __reverse(_RandomAccessIterator __first, _RandomAccessIterator __last,
14270 random_access_iterator_tag)
14272 if (__first == __last)
14275 while (__first < __last)
14277 std::iter_swap(__first, __last);
14282 # 1603 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
14283 template<typename _BidirectionalIterator>
14285 reverse(_BidirectionalIterator __first, _BidirectionalIterator __last)
14291 std::__reverse(__first, __last, std::__iterator_category(__first));
14293 # 1629 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
14294 template<typename _BidirectionalIterator, typename _OutputIterator>
14296 reverse_copy(_BidirectionalIterator __first, _BidirectionalIterator __last,
14297 _OutputIterator __result)
14306 while (__first != __last)
14309 *__result = *__last;
14314 # 1657 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
14315 template<typename _EuclideanRingElement>
14316 _EuclideanRingElement
14317 __gcd(_EuclideanRingElement __m, _EuclideanRingElement __n)
14321 _EuclideanRingElement __t = __m % __n;
14333 template<typename _ForwardIterator>
14335 __rotate(_ForwardIterator __first,
14336 _ForwardIterator __middle,
14337 _ForwardIterator __last,
14338 forward_iterator_tag)
14340 if (__first == __middle || __last == __middle)
14343 _ForwardIterator __first2 = __middle;
14346 swap(*__first, *__first2);
14349 if (__first == __middle)
14350 __middle = __first2;
14352 while (__first2 != __last);
14354 __first2 = __middle;
14356 while (__first2 != __last)
14358 swap(*__first, *__first2);
14361 if (__first == __middle)
14362 __middle = __first2;
14363 else if (__first2 == __last)
14364 __first2 = __middle;
14373 template<typename _BidirectionalIterator>
14375 __rotate(_BidirectionalIterator __first,
14376 _BidirectionalIterator __middle,
14377 _BidirectionalIterator __last,
14378 bidirectional_iterator_tag)
14384 if (__first == __middle || __last == __middle)
14387 std::__reverse(__first, __middle, bidirectional_iterator_tag());
14388 std::__reverse(__middle, __last, bidirectional_iterator_tag());
14390 while (__first != __middle && __middle != __last)
14392 swap(*__first, *--__last);
14396 if (__first == __middle)
14397 std::__reverse(__middle, __last, bidirectional_iterator_tag());
14399 std::__reverse(__first, __middle, bidirectional_iterator_tag());
14407 template<typename _RandomAccessIterator>
14409 __rotate(_RandomAccessIterator __first,
14410 _RandomAccessIterator __middle,
14411 _RandomAccessIterator __last,
14412 random_access_iterator_tag)
14418 if (__first == __middle || __last == __middle)
14421 typedef typename iterator_traits<_RandomAccessIterator>::difference_type
14423 typedef typename iterator_traits<_RandomAccessIterator>::value_type
14426 const _Distance __n = __last - __first;
14427 const _Distance __k = __middle - __first;
14428 const _Distance __l = __n - __k;
14432 std::swap_ranges(__first, __middle, __middle);
14436 const _Distance __d = __gcd(__n, __k);
14438 for (_Distance __i = 0; __i < __d; __i++)
14440 _ValueType __tmp = *__first;
14441 _RandomAccessIterator __p = __first;
14445 for (_Distance __j = 0; __j < __l / __d; __j++)
14447 if (__p > __first + __l)
14449 *__p = *(__p - __l);
14453 *__p = *(__p + __k);
14459 for (_Distance __j = 0; __j < __k / __d - 1; __j ++)
14461 if (__p < __last - __k)
14463 *__p = *(__p + __k);
14466 *__p = * (__p - __l);
14475 # 1836 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
14476 template<typename _ForwardIterator>
14478 rotate(_ForwardIterator __first, _ForwardIterator __middle,
14479 _ForwardIterator __last)
14487 typedef typename iterator_traits<_ForwardIterator>::iterator_category
14489 std::__rotate(__first, __middle, __last, _IterType());
14491 # 1869 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
14492 template<typename _ForwardIterator, typename _OutputIterator>
14494 rotate_copy(_ForwardIterator __first, _ForwardIterator __middle,
14495 _ForwardIterator __last, _OutputIterator __result)
14504 return std::copy(__first, __middle,
14505 std::copy(__middle, __last, __result));
14507 # 1895 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
14508 template<typename _RandomAccessIterator>
14510 random_shuffle(_RandomAccessIterator __first, _RandomAccessIterator __last)
14517 if (__first != __last)
14518 for (_RandomAccessIterator __i = __first + 1; __i != __last; ++__i)
14519 std::iter_swap(__i, __first + (std::rand() % ((__i - __first) + 1)));
14521 # 1922 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
14522 template<typename _RandomAccessIterator, typename _RandomNumberGenerator>
14524 random_shuffle(_RandomAccessIterator __first, _RandomAccessIterator __last,
14525 _RandomNumberGenerator& __rand)
14532 if (__first == __last)
14534 for (_RandomAccessIterator __i = __first + 1; __i != __last; ++__i)
14535 std::iter_swap(__i, __first + __rand((__i - __first) + 1));
14544 template<typename _ForwardIterator, typename _Predicate>
14546 __partition(_ForwardIterator __first, _ForwardIterator __last,
14548 forward_iterator_tag)
14550 if (__first == __last)
14553 while (__pred(*__first))
14554 if (++__first == __last)
14557 _ForwardIterator __next = __first;
14559 while (++__next != __last)
14560 if (__pred(*__next))
14562 swap(*__first, *__next);
14574 template<typename _BidirectionalIterator, typename _Predicate>
14575 _BidirectionalIterator
14576 __partition(_BidirectionalIterator __first, _BidirectionalIterator __last,
14578 bidirectional_iterator_tag)
14583 if (__first == __last)
14585 else if (__pred(*__first))
14591 if (__first == __last)
14593 else if (!__pred(*__last))
14597 std::iter_swap(__first, __last);
14601 # 2016 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
14602 template<typename _ForwardIterator, typename _Predicate>
14603 inline _ForwardIterator
14604 partition(_ForwardIterator __first, _ForwardIterator __last,
14614 return std::__partition(__first, __last, __pred,
14615 std::__iterator_category(__first));
14624 template<typename _ForwardIterator, typename _Predicate, typename _Distance>
14626 __inplace_stable_partition(_ForwardIterator __first,
14627 _ForwardIterator __last,
14628 _Predicate __pred, _Distance __len)
14631 return __pred(*__first) ? __last : __first;
14632 _ForwardIterator __middle = __first;
14633 std::advance(__middle, __len / 2);
14634 _ForwardIterator __begin = std::__inplace_stable_partition(__first,
14638 _ForwardIterator __end = std::__inplace_stable_partition(__middle, __last,
14642 std::rotate(__begin, __middle, __end);
14643 std::advance(__begin, std::distance(__middle, __end));
14652 template<typename _ForwardIterator, typename _Pointer, typename _Predicate,
14653 typename _Distance>
14655 __stable_partition_adaptive(_ForwardIterator __first,
14656 _ForwardIterator __last,
14657 _Predicate __pred, _Distance __len,
14659 _Distance __buffer_size)
14661 if (__len <= __buffer_size)
14663 _ForwardIterator __result1 = __first;
14664 _Pointer __result2 = __buffer;
14665 for ( ; __first != __last ; ++__first)
14666 if (__pred(*__first))
14668 *__result1 = *__first;
14673 *__result2 = *__first;
14676 std::copy(__buffer, __result2, __result1);
14681 _ForwardIterator __middle = __first;
14682 std::advance(__middle, __len / 2);
14683 _ForwardIterator __begin =
14684 std::__stable_partition_adaptive(__first, __middle, __pred,
14685 __len / 2, __buffer,
14687 _ForwardIterator __end =
14688 std::__stable_partition_adaptive(__middle, __last, __pred,
14690 __buffer, __buffer_size);
14691 std::rotate(__begin, __middle, __end);
14692 std::advance(__begin, std::distance(__middle, __end));
14696 # 2127 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
14697 template<typename _ForwardIterator, typename _Predicate>
14699 stable_partition(_ForwardIterator __first, _ForwardIterator __last,
14709 if (__first == __last)
14713 typedef typename iterator_traits<_ForwardIterator>::value_type
14715 typedef typename iterator_traits<_ForwardIterator>::difference_type
14718 _Temporary_buffer<_ForwardIterator, _ValueType> __buf(__first,
14720 if (__buf.size() > 0)
14722 std::__stable_partition_adaptive(__first, __last, __pred,
14723 _DistanceType(__buf.requested_size()),
14724 __buf.begin(), __buf.size());
14727 std::__inplace_stable_partition(__first, __last, __pred,
14728 _DistanceType(__buf.requested_size()));
14737 template<typename _RandomAccessIterator, typename _Tp>
14738 _RandomAccessIterator
14739 __unguarded_partition(_RandomAccessIterator __first,
14740 _RandomAccessIterator __last, _Tp __pivot)
14744 while (*__first < __pivot)
14747 while (__pivot < *__last)
14749 if (!(__first < __last))
14751 std::iter_swap(__first, __last);
14761 template<typename _RandomAccessIterator, typename _Tp, typename _Compare>
14762 _RandomAccessIterator
14763 __unguarded_partition(_RandomAccessIterator __first,
14764 _RandomAccessIterator __last,
14765 _Tp __pivot, _Compare __comp)
14769 while (__comp(*__first, __pivot))
14772 while (__comp(__pivot, *__last))
14774 if (!(__first < __last))
14776 std::iter_swap(__first, __last);
14787 enum { _S_threshold = 16 };
14794 template<typename _RandomAccessIterator, typename _Tp>
14796 __unguarded_linear_insert(_RandomAccessIterator __last, _Tp __val)
14798 _RandomAccessIterator __next = __last;
14800 while (__val < *__next)
14814 template<typename _RandomAccessIterator, typename _Tp, typename _Compare>
14816 __unguarded_linear_insert(_RandomAccessIterator __last, _Tp __val,
14819 _RandomAccessIterator __next = __last;
14821 while (__comp(__val, *__next))
14835 template<typename _RandomAccessIterator>
14837 __insertion_sort(_RandomAccessIterator __first,
14838 _RandomAccessIterator __last)
14840 if (__first == __last)
14843 for (_RandomAccessIterator __i = __first + 1; __i != __last; ++__i)
14845 typename iterator_traits<_RandomAccessIterator>::value_type
14847 if (__val < *__first)
14849 std::copy_backward(__first, __i, __i + 1);
14853 std::__unguarded_linear_insert(__i, __val);
14862 template<typename _RandomAccessIterator, typename _Compare>
14864 __insertion_sort(_RandomAccessIterator __first,
14865 _RandomAccessIterator __last, _Compare __comp)
14867 if (__first == __last) return;
14869 for (_RandomAccessIterator __i = __first + 1; __i != __last; ++__i)
14871 typename iterator_traits<_RandomAccessIterator>::value_type
14873 if (__comp(__val, *__first))
14875 std::copy_backward(__first, __i, __i + 1);
14879 std::__unguarded_linear_insert(__i, __val, __comp);
14888 template<typename _RandomAccessIterator>
14890 __unguarded_insertion_sort(_RandomAccessIterator __first,
14891 _RandomAccessIterator __last)
14893 typedef typename iterator_traits<_RandomAccessIterator>::value_type
14896 for (_RandomAccessIterator __i = __first; __i != __last; ++__i)
14897 std::__unguarded_linear_insert(__i, _ValueType(*__i));
14905 template<typename _RandomAccessIterator, typename _Compare>
14907 __unguarded_insertion_sort(_RandomAccessIterator __first,
14908 _RandomAccessIterator __last, _Compare __comp)
14910 typedef typename iterator_traits<_RandomAccessIterator>::value_type
14913 for (_RandomAccessIterator __i = __first; __i != __last; ++__i)
14914 std::__unguarded_linear_insert(__i, _ValueType(*__i), __comp);
14922 template<typename _RandomAccessIterator>
14924 __final_insertion_sort(_RandomAccessIterator __first,
14925 _RandomAccessIterator __last)
14927 if (__last - __first > int(_S_threshold))
14929 std::__insertion_sort(__first, __first + int(_S_threshold));
14930 std::__unguarded_insertion_sort(__first + int(_S_threshold), __last);
14933 std::__insertion_sort(__first, __last);
14941 template<typename _RandomAccessIterator, typename _Compare>
14943 __final_insertion_sort(_RandomAccessIterator __first,
14944 _RandomAccessIterator __last, _Compare __comp)
14946 if (__last - __first > int(_S_threshold))
14948 std::__insertion_sort(__first, __first + int(_S_threshold), __comp);
14949 std::__unguarded_insertion_sort(__first + int(_S_threshold), __last,
14953 std::__insertion_sort(__first, __last, __comp);
14961 template<typename _Size>
14966 for (__k = 0; __n != 1; __n >>= 1)
14970 # 2416 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
14971 template<typename _RandomAccessIterator>
14973 partial_sort(_RandomAccessIterator __first,
14974 _RandomAccessIterator __middle,
14975 _RandomAccessIterator __last)
14977 typedef typename iterator_traits<_RandomAccessIterator>::value_type
14987 std::make_heap(__first, __middle);
14988 for (_RandomAccessIterator __i = __middle; __i < __last; ++__i)
14989 if (*__i < *__first)
14990 std::__pop_heap(__first, __middle, __i, _ValueType(*__i));
14991 std::sort_heap(__first, __middle);
14993 # 2457 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
14994 template<typename _RandomAccessIterator, typename _Compare>
14996 partial_sort(_RandomAccessIterator __first,
14997 _RandomAccessIterator __middle,
14998 _RandomAccessIterator __last,
15001 typedef typename iterator_traits<_RandomAccessIterator>::value_type
15012 std::make_heap(__first, __middle, __comp);
15013 for (_RandomAccessIterator __i = __middle; __i < __last; ++__i)
15014 if (__comp(*__i, *__first))
15015 std::__pop_heap(__first, __middle, __i, _ValueType(*__i), __comp);
15016 std::sort_heap(__first, __middle, __comp);
15018 # 2499 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
15019 template<typename _InputIterator, typename _RandomAccessIterator>
15020 _RandomAccessIterator
15021 partial_sort_copy(_InputIterator __first, _InputIterator __last,
15022 _RandomAccessIterator __result_first,
15023 _RandomAccessIterator __result_last)
15025 typedef typename iterator_traits<_InputIterator>::value_type
15027 typedef typename iterator_traits<_RandomAccessIterator>::value_type
15029 typedef typename iterator_traits<_RandomAccessIterator>::difference_type
15041 if (__result_first == __result_last)
15042 return __result_last;
15043 _RandomAccessIterator __result_real_last = __result_first;
15044 while(__first != __last && __result_real_last != __result_last)
15046 *__result_real_last = *__first;
15047 ++__result_real_last;
15050 std::make_heap(__result_first, __result_real_last);
15051 while (__first != __last)
15053 if (*__first < *__result_first)
15054 std::__adjust_heap(__result_first, _DistanceType(0),
15055 _DistanceType(__result_real_last
15057 _InputValueType(*__first));
15060 std::sort_heap(__result_first, __result_real_last);
15061 return __result_real_last;
15063 # 2563 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
15064 template<typename _InputIterator, typename _RandomAccessIterator, typename _Compare>
15065 _RandomAccessIterator
15066 partial_sort_copy(_InputIterator __first, _InputIterator __last,
15067 _RandomAccessIterator __result_first,
15068 _RandomAccessIterator __result_last,
15071 typedef typename iterator_traits<_InputIterator>::value_type
15073 typedef typename iterator_traits<_RandomAccessIterator>::value_type
15075 typedef typename iterator_traits<_RandomAccessIterator>::difference_type
15089 if (__result_first == __result_last)
15090 return __result_last;
15091 _RandomAccessIterator __result_real_last = __result_first;
15092 while(__first != __last && __result_real_last != __result_last)
15094 *__result_real_last = *__first;
15095 ++__result_real_last;
15098 std::make_heap(__result_first, __result_real_last, __comp);
15099 while (__first != __last)
15101 if (__comp(*__first, *__result_first))
15102 std::__adjust_heap(__result_first, _DistanceType(0),
15103 _DistanceType(__result_real_last
15105 _InputValueType(*__first),
15109 std::sort_heap(__result_first, __result_real_last, __comp);
15110 return __result_real_last;
15118 template<typename _RandomAccessIterator, typename _Size>
15120 __introsort_loop(_RandomAccessIterator __first,
15121 _RandomAccessIterator __last,
15122 _Size __depth_limit)
15124 typedef typename iterator_traits<_RandomAccessIterator>::value_type
15127 while (__last - __first > int(_S_threshold))
15129 if (__depth_limit == 0)
15131 std::partial_sort(__first, __last, __last);
15135 _RandomAccessIterator __cut =
15136 std::__unguarded_partition(__first, __last,
15137 _ValueType(std::__median(*__first,
15144 std::__introsort_loop(__cut, __last, __depth_limit);
15154 template<typename _RandomAccessIterator, typename _Size, typename _Compare>
15156 __introsort_loop(_RandomAccessIterator __first,
15157 _RandomAccessIterator __last,
15158 _Size __depth_limit, _Compare __comp)
15160 typedef typename iterator_traits<_RandomAccessIterator>::value_type
15163 while (__last - __first > int(_S_threshold))
15165 if (__depth_limit == 0)
15167 std::partial_sort(__first, __last, __last, __comp);
15171 _RandomAccessIterator __cut =
15172 std::__unguarded_partition(__first, __last,
15173 _ValueType(std::__median(*__first,
15181 std::__introsort_loop(__cut, __last, __depth_limit, __comp);
15185 # 2698 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
15186 template<typename _RandomAccessIterator>
15188 sort(_RandomAccessIterator __first, _RandomAccessIterator __last)
15190 typedef typename iterator_traits<_RandomAccessIterator>::value_type
15199 if (__first != __last)
15201 std::__introsort_loop(__first, __last, __lg(__last - __first) * 2);
15202 std::__final_insertion_sort(__first, __last);
15205 # 2732 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
15206 template<typename _RandomAccessIterator, typename _Compare>
15208 sort(_RandomAccessIterator __first, _RandomAccessIterator __last,
15211 typedef typename iterator_traits<_RandomAccessIterator>::value_type
15221 if (__first != __last)
15223 std::__introsort_loop(__first, __last, __lg(__last - __first) * 2,
15225 std::__final_insertion_sort(__first, __last, __comp);
15228 # 2765 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
15229 template<typename _ForwardIterator, typename _Tp>
15231 lower_bound(_ForwardIterator __first, _ForwardIterator __last,
15234 typedef typename iterator_traits<_ForwardIterator>::value_type
15236 typedef typename iterator_traits<_ForwardIterator>::difference_type
15249 _DistanceType __len = std::distance(__first, __last);
15250 _DistanceType __half;
15251 _ForwardIterator __middle;
15255 __half = __len >> 1;
15256 __middle = __first;
15257 std::advance(__middle, __half);
15258 if (*__middle < __val)
15260 __first = __middle;
15262 __len = __len - __half - 1;
15269 # 2820 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
15270 template<typename _ForwardIterator, typename _Tp, typename _Compare>
15272 lower_bound(_ForwardIterator __first, _ForwardIterator __last,
15273 const _Tp& __val, _Compare __comp)
15275 typedef typename iterator_traits<_ForwardIterator>::value_type
15277 typedef typename iterator_traits<_ForwardIterator>::difference_type
15286 _DistanceType __len = std::distance(__first, __last);
15287 _DistanceType __half;
15288 _ForwardIterator __middle;
15292 __half = __len >> 1;
15293 __middle = __first;
15294 std::advance(__middle, __half);
15295 if (__comp(*__middle, __val))
15297 __first = __middle;
15299 __len = __len - __half - 1;
15306 # 2867 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
15307 template<typename _ForwardIterator, typename _Tp>
15309 upper_bound(_ForwardIterator __first, _ForwardIterator __last,
15312 typedef typename iterator_traits<_ForwardIterator>::value_type
15314 typedef typename iterator_traits<_ForwardIterator>::difference_type
15324 _DistanceType __len = std::distance(__first, __last);
15325 _DistanceType __half;
15326 _ForwardIterator __middle;
15330 __half = __len >> 1;
15331 __middle = __first;
15332 std::advance(__middle, __half);
15333 if (__val < *__middle)
15337 __first = __middle;
15339 __len = __len - __half - 1;
15344 # 2919 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
15345 template<typename _ForwardIterator, typename _Tp, typename _Compare>
15347 upper_bound(_ForwardIterator __first, _ForwardIterator __last,
15348 const _Tp& __val, _Compare __comp)
15350 typedef typename iterator_traits<_ForwardIterator>::value_type
15352 typedef typename iterator_traits<_ForwardIterator>::difference_type
15361 _DistanceType __len = std::distance(__first, __last);
15362 _DistanceType __half;
15363 _ForwardIterator __middle;
15367 __half = __len >> 1;
15368 __middle = __first;
15369 std::advance(__middle, __half);
15370 if (__comp(__val, *__middle))
15374 __first = __middle;
15376 __len = __len - __half - 1;
15387 template<typename _BidirectionalIterator, typename _Distance>
15389 __merge_without_buffer(_BidirectionalIterator __first,
15390 _BidirectionalIterator __middle,
15391 _BidirectionalIterator __last,
15392 _Distance __len1, _Distance __len2)
15394 if (__len1 == 0 || __len2 == 0)
15396 if (__len1 + __len2 == 2)
15398 if (*__middle < *__first)
15399 std::iter_swap(__first, __middle);
15402 _BidirectionalIterator __first_cut = __first;
15403 _BidirectionalIterator __second_cut = __middle;
15404 _Distance __len11 = 0;
15405 _Distance __len22 = 0;
15406 if (__len1 > __len2)
15408 __len11 = __len1 / 2;
15409 std::advance(__first_cut, __len11);
15410 __second_cut = std::lower_bound(__middle, __last, *__first_cut);
15411 __len22 = std::distance(__middle, __second_cut);
15415 __len22 = __len2 / 2;
15416 std::advance(__second_cut, __len22);
15417 __first_cut = std::upper_bound(__first, __middle, *__second_cut);
15418 __len11 = std::distance(__first, __first_cut);
15420 std::rotate(__first_cut, __middle, __second_cut);
15421 _BidirectionalIterator __new_middle = __first_cut;
15422 std::advance(__new_middle, std::distance(__middle, __second_cut));
15423 std::__merge_without_buffer(__first, __first_cut, __new_middle,
15425 std::__merge_without_buffer(__new_middle, __second_cut, __last,
15426 __len1 - __len11, __len2 - __len22);
15434 template<typename _BidirectionalIterator, typename _Distance,
15437 __merge_without_buffer(_BidirectionalIterator __first,
15438 _BidirectionalIterator __middle,
15439 _BidirectionalIterator __last,
15440 _Distance __len1, _Distance __len2,
15443 if (__len1 == 0 || __len2 == 0)
15445 if (__len1 + __len2 == 2)
15447 if (__comp(*__middle, *__first))
15448 std::iter_swap(__first, __middle);
15451 _BidirectionalIterator __first_cut = __first;
15452 _BidirectionalIterator __second_cut = __middle;
15453 _Distance __len11 = 0;
15454 _Distance __len22 = 0;
15455 if (__len1 > __len2)
15457 __len11 = __len1 / 2;
15458 std::advance(__first_cut, __len11);
15459 __second_cut = std::lower_bound(__middle, __last, *__first_cut,
15461 __len22 = std::distance(__middle, __second_cut);
15465 __len22 = __len2 / 2;
15466 std::advance(__second_cut, __len22);
15467 __first_cut = std::upper_bound(__first, __middle, *__second_cut,
15469 __len11 = std::distance(__first, __first_cut);
15471 std::rotate(__first_cut, __middle, __second_cut);
15472 _BidirectionalIterator __new_middle = __first_cut;
15473 std::advance(__new_middle, std::distance(__middle, __second_cut));
15474 std::__merge_without_buffer(__first, __first_cut, __new_middle,
15475 __len11, __len22, __comp);
15476 std::__merge_without_buffer(__new_middle, __second_cut, __last,
15477 __len1 - __len11, __len2 - __len22, __comp);
15485 template<typename _RandomAccessIterator>
15487 __inplace_stable_sort(_RandomAccessIterator __first,
15488 _RandomAccessIterator __last)
15490 if (__last - __first < 15)
15492 std::__insertion_sort(__first, __last);
15495 _RandomAccessIterator __middle = __first + (__last - __first) / 2;
15496 std::__inplace_stable_sort(__first, __middle);
15497 std::__inplace_stable_sort(__middle, __last);
15498 std::__merge_without_buffer(__first, __middle, __last,
15499 __middle - __first,
15500 __last - __middle);
15508 template<typename _RandomAccessIterator, typename _Compare>
15510 __inplace_stable_sort(_RandomAccessIterator __first,
15511 _RandomAccessIterator __last, _Compare __comp)
15513 if (__last - __first < 15)
15515 std::__insertion_sort(__first, __last, __comp);
15518 _RandomAccessIterator __middle = __first + (__last - __first) / 2;
15519 std::__inplace_stable_sort(__first, __middle, __comp);
15520 std::__inplace_stable_sort(__middle, __last, __comp);
15521 std::__merge_without_buffer(__first, __middle, __last,
15522 __middle - __first,
15526 # 3117 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
15527 template<typename _InputIterator1, typename _InputIterator2,
15528 typename _OutputIterator>
15530 merge(_InputIterator1 __first1, _InputIterator1 __last1,
15531 _InputIterator2 __first2, _InputIterator2 __last2,
15532 _OutputIterator __result)
15547 while (__first1 != __last1 && __first2 != __last2)
15549 if (*__first2 < *__first1)
15551 *__result = *__first2;
15556 *__result = *__first1;
15561 return std::copy(__first2, __last2, std::copy(__first1, __last1,
15564 # 3175 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
15565 template<typename _InputIterator1, typename _InputIterator2,
15566 typename _OutputIterator, typename _Compare>
15568 merge(_InputIterator1 __first1, _InputIterator1 __last1,
15569 _InputIterator2 __first2, _InputIterator2 __last2,
15570 _OutputIterator __result, _Compare __comp)
15586 while (__first1 != __last1 && __first2 != __last2)
15588 if (__comp(*__first2, *__first1))
15590 *__result = *__first2;
15595 *__result = *__first1;
15600 return std::copy(__first2, __last2, std::copy(__first1, __last1,
15604 template<typename _RandomAccessIterator1, typename _RandomAccessIterator2,
15605 typename _Distance>
15607 __merge_sort_loop(_RandomAccessIterator1 __first,
15608 _RandomAccessIterator1 __last,
15609 _RandomAccessIterator2 __result,
15610 _Distance __step_size)
15612 const _Distance __two_step = 2 * __step_size;
15614 while (__last - __first >= __two_step)
15616 __result = std::merge(__first, __first + __step_size,
15617 __first + __step_size, __first + __two_step,
15619 __first += __two_step;
15622 __step_size = std::min(_Distance(__last - __first), __step_size);
15623 std::merge(__first, __first + __step_size, __first + __step_size, __last,
15627 template<typename _RandomAccessIterator1, typename _RandomAccessIterator2,
15628 typename _Distance, typename _Compare>
15630 __merge_sort_loop(_RandomAccessIterator1 __first,
15631 _RandomAccessIterator1 __last,
15632 _RandomAccessIterator2 __result, _Distance __step_size,
15635 const _Distance __two_step = 2 * __step_size;
15637 while (__last - __first >= __two_step)
15639 __result = std::merge(__first, __first + __step_size,
15640 __first + __step_size, __first + __two_step,
15643 __first += __two_step;
15645 __step_size = std::min(_Distance(__last - __first), __step_size);
15647 std::merge(__first, __first + __step_size,
15648 __first + __step_size, __last,
15653 enum { _S_chunk_size = 7 };
15655 template<typename _RandomAccessIterator, typename _Distance>
15657 __chunk_insertion_sort(_RandomAccessIterator __first,
15658 _RandomAccessIterator __last,
15659 _Distance __chunk_size)
15661 while (__last - __first >= __chunk_size)
15663 std::__insertion_sort(__first, __first + __chunk_size);
15664 __first += __chunk_size;
15666 std::__insertion_sort(__first, __last);
15669 template<typename _RandomAccessIterator, typename _Distance, typename _Compare>
15671 __chunk_insertion_sort(_RandomAccessIterator __first,
15672 _RandomAccessIterator __last,
15673 _Distance __chunk_size, _Compare __comp)
15675 while (__last - __first >= __chunk_size)
15677 std::__insertion_sort(__first, __first + __chunk_size, __comp);
15678 __first += __chunk_size;
15680 std::__insertion_sort(__first, __last, __comp);
15683 template<typename _RandomAccessIterator, typename _Pointer>
15685 __merge_sort_with_buffer(_RandomAccessIterator __first,
15686 _RandomAccessIterator __last,
15689 typedef typename iterator_traits<_RandomAccessIterator>::difference_type
15692 const _Distance __len = __last - __first;
15693 const _Pointer __buffer_last = __buffer + __len;
15695 _Distance __step_size = _S_chunk_size;
15696 std::__chunk_insertion_sort(__first, __last, __step_size);
15698 while (__step_size < __len)
15700 std::__merge_sort_loop(__first, __last, __buffer, __step_size);
15702 std::__merge_sort_loop(__buffer, __buffer_last, __first, __step_size);
15707 template<typename _RandomAccessIterator, typename _Pointer, typename _Compare>
15709 __merge_sort_with_buffer(_RandomAccessIterator __first,
15710 _RandomAccessIterator __last,
15711 _Pointer __buffer, _Compare __comp)
15713 typedef typename iterator_traits<_RandomAccessIterator>::difference_type
15716 const _Distance __len = __last - __first;
15717 const _Pointer __buffer_last = __buffer + __len;
15719 _Distance __step_size = _S_chunk_size;
15720 std::__chunk_insertion_sort(__first, __last, __step_size, __comp);
15722 while (__step_size < __len)
15724 std::__merge_sort_loop(__first, __last, __buffer,
15725 __step_size, __comp);
15727 std::__merge_sort_loop(__buffer, __buffer_last, __first,
15728 __step_size, __comp);
15738 template<typename _BidirectionalIterator1, typename _BidirectionalIterator2,
15739 typename _BidirectionalIterator3>
15740 _BidirectionalIterator3
15741 __merge_backward(_BidirectionalIterator1 __first1,
15742 _BidirectionalIterator1 __last1,
15743 _BidirectionalIterator2 __first2,
15744 _BidirectionalIterator2 __last2,
15745 _BidirectionalIterator3 __result)
15747 if (__first1 == __last1)
15748 return std::copy_backward(__first2, __last2, __result);
15749 if (__first2 == __last2)
15750 return std::copy_backward(__first1, __last1, __result);
15755 if (*__last2 < *__last1)
15757 *--__result = *__last1;
15758 if (__first1 == __last1)
15759 return std::copy_backward(__first2, ++__last2, __result);
15764 *--__result = *__last2;
15765 if (__first2 == __last2)
15766 return std::copy_backward(__first1, ++__last1, __result);
15777 template<typename _BidirectionalIterator1, typename _BidirectionalIterator2,
15778 typename _BidirectionalIterator3, typename _Compare>
15779 _BidirectionalIterator3
15780 __merge_backward(_BidirectionalIterator1 __first1,
15781 _BidirectionalIterator1 __last1,
15782 _BidirectionalIterator2 __first2,
15783 _BidirectionalIterator2 __last2,
15784 _BidirectionalIterator3 __result,
15787 if (__first1 == __last1)
15788 return std::copy_backward(__first2, __last2, __result);
15789 if (__first2 == __last2)
15790 return std::copy_backward(__first1, __last1, __result);
15795 if (__comp(*__last2, *__last1))
15797 *--__result = *__last1;
15798 if (__first1 == __last1)
15799 return std::copy_backward(__first2, ++__last2, __result);
15804 *--__result = *__last2;
15805 if (__first2 == __last2)
15806 return std::copy_backward(__first1, ++__last1, __result);
15817 template<typename _BidirectionalIterator1, typename _BidirectionalIterator2,
15818 typename _Distance>
15819 _BidirectionalIterator1
15820 __rotate_adaptive(_BidirectionalIterator1 __first,
15821 _BidirectionalIterator1 __middle,
15822 _BidirectionalIterator1 __last,
15823 _Distance __len1, _Distance __len2,
15824 _BidirectionalIterator2 __buffer,
15825 _Distance __buffer_size)
15827 _BidirectionalIterator2 __buffer_end;
15828 if (__len1 > __len2 && __len2 <= __buffer_size)
15830 __buffer_end = std::copy(__middle, __last, __buffer);
15831 std::copy_backward(__first, __middle, __last);
15832 return std::copy(__buffer, __buffer_end, __first);
15834 else if (__len1 <= __buffer_size)
15836 __buffer_end = std::copy(__first, __middle, __buffer);
15837 std::copy(__middle, __last, __first);
15838 return std::copy_backward(__buffer, __buffer_end, __last);
15842 std::rotate(__first, __middle, __last);
15843 std::advance(__first, std::distance(__middle, __last));
15853 template<typename _BidirectionalIterator, typename _Distance,
15856 __merge_adaptive(_BidirectionalIterator __first,
15857 _BidirectionalIterator __middle,
15858 _BidirectionalIterator __last,
15859 _Distance __len1, _Distance __len2,
15860 _Pointer __buffer, _Distance __buffer_size)
15862 if (__len1 <= __len2 && __len1 <= __buffer_size)
15864 _Pointer __buffer_end = std::copy(__first, __middle, __buffer);
15865 std::merge(__buffer, __buffer_end, __middle, __last, __first);
15867 else if (__len2 <= __buffer_size)
15869 _Pointer __buffer_end = std::copy(__middle, __last, __buffer);
15870 std::__merge_backward(__first, __middle, __buffer,
15871 __buffer_end, __last);
15875 _BidirectionalIterator __first_cut = __first;
15876 _BidirectionalIterator __second_cut = __middle;
15877 _Distance __len11 = 0;
15878 _Distance __len22 = 0;
15879 if (__len1 > __len2)
15881 __len11 = __len1 / 2;
15882 std::advance(__first_cut, __len11);
15883 __second_cut = std::lower_bound(__middle, __last,
15885 __len22 = std::distance(__middle, __second_cut);
15889 __len22 = __len2 / 2;
15890 std::advance(__second_cut, __len22);
15891 __first_cut = std::upper_bound(__first, __middle,
15893 __len11 = std::distance(__first, __first_cut);
15895 _BidirectionalIterator __new_middle =
15896 std::__rotate_adaptive(__first_cut, __middle, __second_cut,
15897 __len1 - __len11, __len22, __buffer,
15899 std::__merge_adaptive(__first, __first_cut, __new_middle, __len11,
15900 __len22, __buffer, __buffer_size);
15901 std::__merge_adaptive(__new_middle, __second_cut, __last,
15903 __len2 - __len22, __buffer, __buffer_size);
15912 template<typename _BidirectionalIterator, typename _Distance, typename _Pointer,
15915 __merge_adaptive(_BidirectionalIterator __first,
15916 _BidirectionalIterator __middle,
15917 _BidirectionalIterator __last,
15918 _Distance __len1, _Distance __len2,
15919 _Pointer __buffer, _Distance __buffer_size,
15922 if (__len1 <= __len2 && __len1 <= __buffer_size)
15924 _Pointer __buffer_end = std::copy(__first, __middle, __buffer);
15925 std::merge(__buffer, __buffer_end, __middle, __last, __first, __comp);
15927 else if (__len2 <= __buffer_size)
15929 _Pointer __buffer_end = std::copy(__middle, __last, __buffer);
15930 std::__merge_backward(__first, __middle, __buffer, __buffer_end,
15935 _BidirectionalIterator __first_cut = __first;
15936 _BidirectionalIterator __second_cut = __middle;
15937 _Distance __len11 = 0;
15938 _Distance __len22 = 0;
15939 if (__len1 > __len2)
15941 __len11 = __len1 / 2;
15942 std::advance(__first_cut, __len11);
15943 __second_cut = std::lower_bound(__middle, __last, *__first_cut,
15945 __len22 = std::distance(__middle, __second_cut);
15949 __len22 = __len2 / 2;
15950 std::advance(__second_cut, __len22);
15951 __first_cut = std::upper_bound(__first, __middle, *__second_cut,
15953 __len11 = std::distance(__first, __first_cut);
15955 _BidirectionalIterator __new_middle =
15956 std::__rotate_adaptive(__first_cut, __middle, __second_cut,
15957 __len1 - __len11, __len22, __buffer,
15959 std::__merge_adaptive(__first, __first_cut, __new_middle, __len11,
15960 __len22, __buffer, __buffer_size, __comp);
15961 std::__merge_adaptive(__new_middle, __second_cut, __last,
15963 __len2 - __len22, __buffer,
15964 __buffer_size, __comp);
15967 # 3595 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
15968 template<typename _BidirectionalIterator>
15970 inplace_merge(_BidirectionalIterator __first,
15971 _BidirectionalIterator __middle,
15972 _BidirectionalIterator __last)
15974 typedef typename iterator_traits<_BidirectionalIterator>::value_type
15976 typedef typename iterator_traits<_BidirectionalIterator>::difference_type
15986 if (__first == __middle || __middle == __last)
15989 _DistanceType __len1 = std::distance(__first, __middle);
15990 _DistanceType __len2 = std::distance(__middle, __last);
15992 _Temporary_buffer<_BidirectionalIterator, _ValueType> __buf(__first,
15994 if (__buf.begin() == 0)
15995 std::__merge_without_buffer(__first, __middle, __last, __len1, __len2);
15997 std::__merge_adaptive(__first, __middle, __last, __len1, __len2,
15998 __buf.begin(), _DistanceType(__buf.size()));
16000 # 3649 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
16001 template<typename _BidirectionalIterator, typename _Compare>
16003 inplace_merge(_BidirectionalIterator __first,
16004 _BidirectionalIterator __middle,
16005 _BidirectionalIterator __last,
16008 typedef typename iterator_traits<_BidirectionalIterator>::value_type
16010 typedef typename iterator_traits<_BidirectionalIterator>::difference_type
16021 if (__first == __middle || __middle == __last)
16024 const _DistanceType __len1 = std::distance(__first, __middle);
16025 const _DistanceType __len2 = std::distance(__middle, __last);
16027 _Temporary_buffer<_BidirectionalIterator, _ValueType> __buf(__first,
16029 if (__buf.begin() == 0)
16030 std::__merge_without_buffer(__first, __middle, __last, __len1,
16033 std::__merge_adaptive(__first, __middle, __last, __len1, __len2,
16034 __buf.begin(), _DistanceType(__buf.size()),
16038 template<typename _RandomAccessIterator, typename _Pointer,
16039 typename _Distance>
16041 __stable_sort_adaptive(_RandomAccessIterator __first,
16042 _RandomAccessIterator __last,
16043 _Pointer __buffer, _Distance __buffer_size)
16045 const _Distance __len = (__last - __first + 1) / 2;
16046 const _RandomAccessIterator __middle = __first + __len;
16047 if (__len > __buffer_size)
16049 std::__stable_sort_adaptive(__first, __middle,
16050 __buffer, __buffer_size);
16051 std::__stable_sort_adaptive(__middle, __last,
16052 __buffer, __buffer_size);
16056 std::__merge_sort_with_buffer(__first, __middle, __buffer);
16057 std::__merge_sort_with_buffer(__middle, __last, __buffer);
16059 std::__merge_adaptive(__first, __middle, __last,
16060 _Distance(__middle - __first),
16061 _Distance(__last - __middle),
16062 __buffer, __buffer_size);
16065 template<typename _RandomAccessIterator, typename _Pointer,
16066 typename _Distance, typename _Compare>
16068 __stable_sort_adaptive(_RandomAccessIterator __first,
16069 _RandomAccessIterator __last,
16070 _Pointer __buffer, _Distance __buffer_size,
16073 const _Distance __len = (__last - __first + 1) / 2;
16074 const _RandomAccessIterator __middle = __first + __len;
16075 if (__len > __buffer_size)
16077 std::__stable_sort_adaptive(__first, __middle, __buffer,
16078 __buffer_size, __comp);
16079 std::__stable_sort_adaptive(__middle, __last, __buffer,
16080 __buffer_size, __comp);
16084 std::__merge_sort_with_buffer(__first, __middle, __buffer, __comp);
16085 std::__merge_sort_with_buffer(__middle, __last, __buffer, __comp);
16087 std::__merge_adaptive(__first, __middle, __last,
16088 _Distance(__middle - __first),
16089 _Distance(__last - __middle),
16090 __buffer, __buffer_size,
16093 # 3758 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
16094 template<typename _RandomAccessIterator>
16096 stable_sort(_RandomAccessIterator __first, _RandomAccessIterator __last)
16098 typedef typename iterator_traits<_RandomAccessIterator>::value_type
16100 typedef typename iterator_traits<_RandomAccessIterator>::difference_type
16109 _Temporary_buffer<_RandomAccessIterator, _ValueType>
16110 buf(__first, __last);
16111 if (buf.begin() == 0)
16112 std::__inplace_stable_sort(__first, __last);
16114 std::__stable_sort_adaptive(__first, __last, buf.begin(),
16115 _DistanceType(buf.size()));
16117 # 3799 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
16118 template<typename _RandomAccessIterator, typename _Compare>
16120 stable_sort(_RandomAccessIterator __first, _RandomAccessIterator __last,
16123 typedef typename iterator_traits<_RandomAccessIterator>::value_type
16125 typedef typename iterator_traits<_RandomAccessIterator>::difference_type
16136 _Temporary_buffer<_RandomAccessIterator, _ValueType> buf(__first, __last);
16137 if (buf.begin() == 0)
16138 std::__inplace_stable_sort(__first, __last, __comp);
16140 std::__stable_sort_adaptive(__first, __last, buf.begin(),
16141 _DistanceType(buf.size()), __comp);
16143 # 3840 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
16144 template<typename _RandomAccessIterator>
16146 nth_element(_RandomAccessIterator __first,
16147 _RandomAccessIterator __nth,
16148 _RandomAccessIterator __last)
16150 typedef typename iterator_traits<_RandomAccessIterator>::value_type
16160 while (__last - __first > 3)
16162 _RandomAccessIterator __cut =
16163 std::__unguarded_partition(__first, __last,
16164 _ValueType(std::__median(*__first,
16171 if (__cut <= __nth)
16176 std::__insertion_sort(__first, __last);
16178 # 3891 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
16179 template<typename _RandomAccessIterator, typename _Compare>
16181 nth_element(_RandomAccessIterator __first,
16182 _RandomAccessIterator __nth,
16183 _RandomAccessIterator __last,
16186 typedef typename iterator_traits<_RandomAccessIterator>::value_type
16197 while (__last - __first > 3)
16199 _RandomAccessIterator __cut =
16200 std::__unguarded_partition(__first, __last,
16201 _ValueType(std::__median(*__first,
16208 if (__cut <= __nth)
16213 std::__insertion_sort(__first, __last, __comp);
16215 # 3944 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
16216 template<typename _ForwardIterator, typename _Tp>
16217 pair<_ForwardIterator, _ForwardIterator>
16218 equal_range(_ForwardIterator __first, _ForwardIterator __last,
16221 typedef typename iterator_traits<_ForwardIterator>::value_type
16223 typedef typename iterator_traits<_ForwardIterator>::difference_type
16233 _DistanceType __len = std::distance(__first, __last);
16234 _DistanceType __half;
16235 _ForwardIterator __middle, __left, __right;
16239 __half = __len >> 1;
16240 __middle = __first;
16241 std::advance(__middle, __half);
16242 if (*__middle < __val)
16244 __first = __middle;
16246 __len = __len - __half - 1;
16248 else if (__val < *__middle)
16252 __left = std::lower_bound(__first, __middle, __val);
16253 std::advance(__first, __len);
16254 __right = std::upper_bound(++__middle, __first, __val);
16255 return pair<_ForwardIterator, _ForwardIterator>(__left, __right);
16258 return pair<_ForwardIterator, _ForwardIterator>(__first, __first);
16260 # 4006 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
16261 template<typename _ForwardIterator, typename _Tp, typename _Compare>
16262 pair<_ForwardIterator, _ForwardIterator>
16263 equal_range(_ForwardIterator __first, _ForwardIterator __last,
16267 typedef typename iterator_traits<_ForwardIterator>::value_type
16269 typedef typename iterator_traits<_ForwardIterator>::difference_type
16280 _DistanceType __len = std::distance(__first, __last);
16281 _DistanceType __half;
16282 _ForwardIterator __middle, __left, __right;
16286 __half = __len >> 1;
16287 __middle = __first;
16288 std::advance(__middle, __half);
16289 if (__comp(*__middle, __val))
16291 __first = __middle;
16293 __len = __len - __half - 1;
16295 else if (__comp(__val, *__middle))
16299 __left = std::lower_bound(__first, __middle, __val, __comp);
16300 std::advance(__first, __len);
16301 __right = std::upper_bound(++__middle, __first, __val, __comp);
16302 return pair<_ForwardIterator, _ForwardIterator>(__left, __right);
16305 return pair<_ForwardIterator, _ForwardIterator>(__first, __first);
16307 # 4064 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
16308 template<typename _ForwardIterator, typename _Tp>
16310 binary_search(_ForwardIterator __first, _ForwardIterator __last,
16321 _ForwardIterator __i = std::lower_bound(__first, __last, __val);
16322 return __i != __last && !(__val < *__i);
16324 # 4096 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
16325 template<typename _ForwardIterator, typename _Tp, typename _Compare>
16327 binary_search(_ForwardIterator __first, _ForwardIterator __last,
16328 const _Tp& __val, _Compare __comp)
16338 _ForwardIterator __i = std::lower_bound(__first, __last, __val, __comp);
16339 return __i != __last && !__comp(__val, *__i);
16341 # 4134 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
16342 template<typename _InputIterator1, typename _InputIterator2>
16344 includes(_InputIterator1 __first1, _InputIterator1 __last1,
16345 _InputIterator2 __first2, _InputIterator2 __last2)
16358 while (__first1 != __last1 && __first2 != __last2)
16359 if (*__first2 < *__first1)
16361 else if(*__first1 < *__first2)
16364 ++__first1, ++__first2;
16366 return __first2 == __last2;
16368 # 4180 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
16369 template<typename _InputIterator1, typename _InputIterator2,
16372 includes(_InputIterator1 __first1, _InputIterator1 __last1,
16373 _InputIterator2 __first2, _InputIterator2 __last2, _Compare __comp)
16387 while (__first1 != __last1 && __first2 != __last2)
16388 if (__comp(*__first2, *__first1))
16390 else if(__comp(*__first1, *__first2))
16393 ++__first1, ++__first2;
16395 return __first2 == __last2;
16397 # 4226 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
16398 template<typename _InputIterator1, typename _InputIterator2,
16399 typename _OutputIterator>
16401 set_union(_InputIterator1 __first1, _InputIterator1 __last1,
16402 _InputIterator2 __first2, _InputIterator2 __last2,
16403 _OutputIterator __result)
16418 while (__first1 != __last1 && __first2 != __last2)
16420 if (*__first1 < *__first2)
16422 *__result = *__first1;
16425 else if (*__first2 < *__first1)
16427 *__result = *__first2;
16432 *__result = *__first1;
16438 return std::copy(__first2, __last2, std::copy(__first1, __last1,
16441 # 4288 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
16442 template<typename _InputIterator1, typename _InputIterator2,
16443 typename _OutputIterator, typename _Compare>
16445 set_union(_InputIterator1 __first1, _InputIterator1 __last1,
16446 _InputIterator2 __first2, _InputIterator2 __last2,
16447 _OutputIterator __result, _Compare __comp)
16463 while (__first1 != __last1 && __first2 != __last2)
16465 if (__comp(*__first1, *__first2))
16467 *__result = *__first1;
16470 else if (__comp(*__first2, *__first1))
16472 *__result = *__first2;
16477 *__result = *__first1;
16483 return std::copy(__first2, __last2, std::copy(__first1, __last1,
16486 # 4349 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
16487 template<typename _InputIterator1, typename _InputIterator2,
16488 typename _OutputIterator>
16490 set_intersection(_InputIterator1 __first1, _InputIterator1 __last1,
16491 _InputIterator2 __first2, _InputIterator2 __last2,
16492 _OutputIterator __result)
16507 while (__first1 != __last1 && __first2 != __last2)
16508 if (*__first1 < *__first2)
16510 else if (*__first2 < *__first1)
16514 *__result = *__first1;
16521 # 4403 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
16522 template<typename _InputIterator1, typename _InputIterator2,
16523 typename _OutputIterator, typename _Compare>
16525 set_intersection(_InputIterator1 __first1, _InputIterator1 __last1,
16526 _InputIterator2 __first2, _InputIterator2 __last2,
16527 _OutputIterator __result, _Compare __comp)
16543 while (__first1 != __last1 && __first2 != __last2)
16544 if (__comp(*__first1, *__first2))
16546 else if (__comp(*__first2, *__first1))
16550 *__result = *__first1;
16557 # 4457 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
16558 template<typename _InputIterator1, typename _InputIterator2,
16559 typename _OutputIterator>
16561 set_difference(_InputIterator1 __first1, _InputIterator1 __last1,
16562 _InputIterator2 __first2, _InputIterator2 __last2,
16563 _OutputIterator __result)
16578 while (__first1 != __last1 && __first2 != __last2)
16579 if (*__first1 < *__first2)
16581 *__result = *__first1;
16585 else if (*__first2 < *__first1)
16592 return std::copy(__first1, __last1, __result);
16594 # 4515 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
16595 template<typename _InputIterator1, typename _InputIterator2,
16596 typename _OutputIterator, typename _Compare>
16598 set_difference(_InputIterator1 __first1, _InputIterator1 __last1,
16599 _InputIterator2 __first2, _InputIterator2 __last2,
16600 _OutputIterator __result, _Compare __comp)
16616 while (__first1 != __last1 && __first2 != __last2)
16617 if (__comp(*__first1, *__first2))
16619 *__result = *__first1;
16623 else if (__comp(*__first2, *__first1))
16630 return std::copy(__first1, __last1, __result);
16632 # 4569 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
16633 template<typename _InputIterator1, typename _InputIterator2,
16634 typename _OutputIterator>
16636 set_symmetric_difference(_InputIterator1 __first1, _InputIterator1 __last1,
16637 _InputIterator2 __first2, _InputIterator2 __last2,
16638 _OutputIterator __result)
16653 while (__first1 != __last1 && __first2 != __last2)
16654 if (*__first1 < *__first2)
16656 *__result = *__first1;
16660 else if (*__first2 < *__first1)
16662 *__result = *__first2;
16671 return std::copy(__first2, __last2, std::copy(__first1,
16672 __last1, __result));
16674 # 4630 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
16675 template<typename _InputIterator1, typename _InputIterator2,
16676 typename _OutputIterator, typename _Compare>
16678 set_symmetric_difference(_InputIterator1 __first1, _InputIterator1 __last1,
16679 _InputIterator2 __first2, _InputIterator2 __last2,
16680 _OutputIterator __result,
16697 while (__first1 != __last1 && __first2 != __last2)
16698 if (__comp(*__first1, *__first2))
16700 *__result = *__first1;
16704 else if (__comp(*__first2, *__first1))
16706 *__result = *__first2;
16715 return std::copy(__first2, __last2, std::copy(__first1,
16716 __last1, __result));
16718 # 4683 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
16719 template<typename _ForwardIterator>
16721 max_element(_ForwardIterator __first, _ForwardIterator __last)
16729 if (__first == __last)
16731 _ForwardIterator __result = __first;
16732 while (++__first != __last)
16733 if (*__result < *__first)
16734 __result = __first;
16737 # 4710 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
16738 template<typename _ForwardIterator, typename _Compare>
16740 max_element(_ForwardIterator __first, _ForwardIterator __last,
16750 if (__first == __last) return __first;
16751 _ForwardIterator __result = __first;
16752 while (++__first != __last)
16753 if (__comp(*__result, *__first)) __result = __first;
16763 template<typename _ForwardIterator>
16765 min_element(_ForwardIterator __first, _ForwardIterator __last)
16773 if (__first == __last)
16775 _ForwardIterator __result = __first;
16776 while (++__first != __last)
16777 if (*__first < *__result)
16778 __result = __first;
16781 # 4762 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
16782 template<typename _ForwardIterator, typename _Compare>
16784 min_element(_ForwardIterator __first, _ForwardIterator __last,
16794 if (__first == __last)
16796 _ForwardIterator __result = __first;
16797 while (++__first != __last)
16798 if (__comp(*__first, *__result))
16799 __result = __first;
16802 # 4797 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
16803 template<typename _BidirectionalIterator>
16805 next_permutation(_BidirectionalIterator __first,
16806 _BidirectionalIterator __last)
16815 if (__first == __last)
16817 _BidirectionalIterator __i = __first;
16826 _BidirectionalIterator __ii = __i;
16830 _BidirectionalIterator __j = __last;
16831 while (!(*__i < *--__j))
16833 std::iter_swap(__i, __j);
16834 std::reverse(__ii, __last);
16837 if (__i == __first)
16839 std::reverse(__first, __last);
16844 # 4853 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
16845 template<typename _BidirectionalIterator, typename _Compare>
16847 next_permutation(_BidirectionalIterator __first,
16848 _BidirectionalIterator __last, _Compare __comp)
16858 if (__first == __last)
16860 _BidirectionalIterator __i = __first;
16869 _BidirectionalIterator __ii = __i;
16871 if (__comp(*__i, *__ii))
16873 _BidirectionalIterator __j = __last;
16874 while (!__comp(*__i, *--__j))
16876 std::iter_swap(__i, __j);
16877 std::reverse(__ii, __last);
16880 if (__i == __first)
16882 std::reverse(__first, __last);
16887 # 4908 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
16888 template<typename _BidirectionalIterator>
16890 prev_permutation(_BidirectionalIterator __first,
16891 _BidirectionalIterator __last)
16900 if (__first == __last)
16902 _BidirectionalIterator __i = __first;
16911 _BidirectionalIterator __ii = __i;
16915 _BidirectionalIterator __j = __last;
16916 while (!(*--__j < *__i))
16918 std::iter_swap(__i, __j);
16919 std::reverse(__ii, __last);
16922 if (__i == __first)
16924 std::reverse(__first, __last);
16929 # 4964 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
16930 template<typename _BidirectionalIterator, typename _Compare>
16932 prev_permutation(_BidirectionalIterator __first,
16933 _BidirectionalIterator __last, _Compare __comp)
16943 if (__first == __last)
16945 _BidirectionalIterator __i = __first;
16954 _BidirectionalIterator __ii = __i;
16956 if (__comp(*__ii, *__i))
16958 _BidirectionalIterator __j = __last;
16959 while (!__comp(*--__j, *__i))
16961 std::iter_swap(__i, __j);
16962 std::reverse(__ii, __last);
16965 if (__i == __first)
16967 std::reverse(__first, __last);
16972 # 5023 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
16973 template<typename _InputIterator, typename _ForwardIterator>
16975 find_first_of(_InputIterator __first1, _InputIterator __last1,
16976 _ForwardIterator __first2, _ForwardIterator __last2)
16987 for ( ; __first1 != __last1; ++__first1)
16988 for (_ForwardIterator __iter = __first2; __iter != __last2; ++__iter)
16989 if (*__first1 == *__iter)
16993 # 5059 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
16994 template<typename _InputIterator, typename _ForwardIterator,
16995 typename _BinaryPredicate>
16997 find_first_of(_InputIterator __first1, _InputIterator __last1,
16998 _ForwardIterator __first2, _ForwardIterator __last2,
16999 _BinaryPredicate __comp)
17010 for ( ; __first1 != __last1; ++__first1)
17011 for (_ForwardIterator __iter = __first2; __iter != __last2; ++__iter)
17012 if (__comp(*__first1, *__iter))
17016 # 5089 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
17017 template<typename _ForwardIterator1, typename _ForwardIterator2>
17019 __find_end(_ForwardIterator1 __first1, _ForwardIterator1 __last1,
17020 _ForwardIterator2 __first2, _ForwardIterator2 __last2,
17021 forward_iterator_tag, forward_iterator_tag)
17023 if (__first2 == __last2)
17027 _ForwardIterator1 __result = __last1;
17030 _ForwardIterator1 __new_result
17031 = std::search(__first1, __last1, __first2, __last2);
17032 if (__new_result == __last1)
17036 __result = __new_result;
17037 __first1 = __new_result;
17044 template<typename _ForwardIterator1, typename _ForwardIterator2,
17045 typename _BinaryPredicate>
17047 __find_end(_ForwardIterator1 __first1, _ForwardIterator1 __last1,
17048 _ForwardIterator2 __first2, _ForwardIterator2 __last2,
17049 forward_iterator_tag, forward_iterator_tag,
17050 _BinaryPredicate __comp)
17052 if (__first2 == __last2)
17056 _ForwardIterator1 __result = __last1;
17059 _ForwardIterator1 __new_result
17060 = std::search(__first1, __last1, __first2, __last2, __comp);
17061 if (__new_result == __last1)
17065 __result = __new_result;
17066 __first1 = __new_result;
17074 template<typename _BidirectionalIterator1, typename _BidirectionalIterator2>
17075 _BidirectionalIterator1
17076 __find_end(_BidirectionalIterator1 __first1,
17077 _BidirectionalIterator1 __last1,
17078 _BidirectionalIterator2 __first2,
17079 _BidirectionalIterator2 __last2,
17080 bidirectional_iterator_tag, bidirectional_iterator_tag)
17088 typedef reverse_iterator<_BidirectionalIterator1> _RevIterator1;
17089 typedef reverse_iterator<_BidirectionalIterator2> _RevIterator2;
17091 _RevIterator1 __rlast1(__first1);
17092 _RevIterator2 __rlast2(__first2);
17093 _RevIterator1 __rresult = std::search(_RevIterator1(__last1), __rlast1,
17094 _RevIterator2(__last2), __rlast2);
17096 if (__rresult == __rlast1)
17100 _BidirectionalIterator1 __result = __rresult.base();
17101 std::advance(__result, -std::distance(__first2, __last2));
17106 template<typename _BidirectionalIterator1, typename _BidirectionalIterator2,
17107 typename _BinaryPredicate>
17108 _BidirectionalIterator1
17109 __find_end(_BidirectionalIterator1 __first1,
17110 _BidirectionalIterator1 __last1,
17111 _BidirectionalIterator2 __first2,
17112 _BidirectionalIterator2 __last2,
17113 bidirectional_iterator_tag, bidirectional_iterator_tag,
17114 _BinaryPredicate __comp)
17122 typedef reverse_iterator<_BidirectionalIterator1> _RevIterator1;
17123 typedef reverse_iterator<_BidirectionalIterator2> _RevIterator2;
17125 _RevIterator1 __rlast1(__first1);
17126 _RevIterator2 __rlast2(__first2);
17127 _RevIterator1 __rresult = std::search(_RevIterator1(__last1), __rlast1,
17128 _RevIterator2(__last2), __rlast2,
17131 if (__rresult == __rlast1)
17135 _BidirectionalIterator1 __result = __rresult.base();
17136 std::advance(__result, -std::distance(__first2, __last2));
17140 # 5239 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
17141 template<typename _ForwardIterator1, typename _ForwardIterator2>
17142 inline _ForwardIterator1
17143 find_end(_ForwardIterator1 __first1, _ForwardIterator1 __last1,
17144 _ForwardIterator2 __first2, _ForwardIterator2 __last2)
17155 return std::__find_end(__first1, __last1, __first2, __last2,
17156 std::__iterator_category(__first1),
17157 std::__iterator_category(__first2));
17159 # 5284 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_algo.h" 3
17160 template<typename _ForwardIterator1, typename _ForwardIterator2,
17161 typename _BinaryPredicate>
17162 inline _ForwardIterator1
17163 find_end(_ForwardIterator1 __first1, _ForwardIterator1 __last1,
17164 _ForwardIterator2 __first2, _ForwardIterator2 __last2,
17165 _BinaryPredicate __comp)
17176 return std::__find_end(__first1, __last1, __first2, __last2,
17177 std::__iterator_category(__first1),
17178 std::__iterator_category(__first2),
17183 # 69 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/algorithm" 2 3
17184 # 56 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/string" 2 3
17185 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.tcc" 1 3
17186 # 46 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.tcc" 3
17188 # 47 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.tcc" 3
17192 template<typename _Type>
17194 __is_null_pointer(_Type* __ptr)
17195 { return __ptr == 0; }
17197 template<typename _Type>
17199 __is_null_pointer(_Type)
17202 template<typename _CharT, typename _Traits, typename _Alloc>
17203 const typename basic_string<_CharT, _Traits, _Alloc>::size_type
17204 basic_string<_CharT, _Traits, _Alloc>::
17205 _Rep::_S_max_size = (((npos - sizeof(_Rep_base))/sizeof(_CharT)) - 1) / 4;
17207 template<typename _CharT, typename _Traits, typename _Alloc>
17209 basic_string<_CharT, _Traits, _Alloc>::
17210 _Rep::_S_terminal = _CharT();
17212 template<typename _CharT, typename _Traits, typename _Alloc>
17213 const typename basic_string<_CharT, _Traits, _Alloc>::size_type
17214 basic_string<_CharT, _Traits, _Alloc>::npos;
17218 template<typename _CharT, typename _Traits, typename _Alloc>
17219 typename basic_string<_CharT, _Traits, _Alloc>::size_type
17220 basic_string<_CharT, _Traits, _Alloc>::_Rep::_S_empty_rep_storage[
17221 (sizeof(_Rep_base) + sizeof(_CharT) + sizeof(size_type) - 1) /
17222 sizeof(size_type)];
17228 template<typename _CharT, typename _Traits, typename _Alloc>
17229 template<typename _InIterator>
17231 basic_string<_CharT, _Traits, _Alloc>::
17232 _S_construct(_InIterator __beg, _InIterator __end, const _Alloc& __a,
17233 input_iterator_tag)
17236 if (__beg == __end && __a == _Alloc())
17237 return _S_empty_rep()._M_refdata();
17241 size_type __len = 0;
17242 while (__beg != __end && __len < sizeof(__buf) / sizeof(_CharT))
17244 __buf[__len++] = *__beg;
17247 _Rep* __r = _Rep::_S_create(__len, size_type(0), __a);
17248 _M_copy(__r->_M_refdata(), __buf, __len);
17251 while (__beg != __end)
17253 if (__len == __r->_M_capacity)
17256 _Rep* __another = _Rep::_S_create(__len + 1, __len, __a);
17257 _M_copy(__another->_M_refdata(), __r->_M_refdata(), __len);
17258 __r->_M_destroy(__a);
17261 __r->_M_refdata()[__len++] = *__beg;
17267 __r->_M_destroy(__a);
17270 __r->_M_set_length_and_sharable(__len);
17271 return __r->_M_refdata();
17274 template<typename _CharT, typename _Traits, typename _Alloc>
17275 template <typename _InIterator>
17277 basic_string<_CharT, _Traits, _Alloc>::
17278 _S_construct(_InIterator __beg, _InIterator __end, const _Alloc& __a,
17279 forward_iterator_tag)
17282 if (__beg == __end && __a == _Alloc())
17283 return _S_empty_rep()._M_refdata();
17286 if (__builtin_expect(__is_null_pointer(__beg) && __beg != __end, 0))
17287 __throw_logic_error(("basic_string::_S_construct NULL not valid"));
17289 const size_type __dnew = static_cast<size_type>(std::distance(__beg,
17292 _Rep* __r = _Rep::_S_create(__dnew, size_type(0), __a);
17294 { _S_copy_chars(__r->_M_refdata(), __beg, __end); }
17297 __r->_M_destroy(__a);
17300 __r->_M_set_length_and_sharable(__dnew);
17301 return __r->_M_refdata();
17304 template<typename _CharT, typename _Traits, typename _Alloc>
17306 basic_string<_CharT, _Traits, _Alloc>::
17307 _S_construct(size_type __n, _CharT __c, const _Alloc& __a)
17310 if (__n == 0 && __a == _Alloc())
17311 return _S_empty_rep()._M_refdata();
17314 _Rep* __r = _Rep::_S_create(__n, size_type(0), __a);
17316 _M_assign(__r->_M_refdata(), __n, __c);
17318 __r->_M_set_length_and_sharable(__n);
17319 return __r->_M_refdata();
17322 template<typename _CharT, typename _Traits, typename _Alloc>
17323 basic_string<_CharT, _Traits, _Alloc>::
17324 basic_string(const basic_string& __str)
17325 : _M_dataplus(__str._M_rep()->_M_grab(_Alloc(__str.get_allocator()),
17326 __str.get_allocator()),
17327 __str.get_allocator())
17330 template<typename _CharT, typename _Traits, typename _Alloc>
17331 basic_string<_CharT, _Traits, _Alloc>::
17332 basic_string(const _Alloc& __a)
17333 : _M_dataplus(_S_construct(size_type(), _CharT(), __a), __a)
17336 template<typename _CharT, typename _Traits, typename _Alloc>
17337 basic_string<_CharT, _Traits, _Alloc>::
17338 basic_string(const basic_string& __str, size_type __pos, size_type __n)
17339 : _M_dataplus(_S_construct(__str._M_data()
17340 + __str._M_check(__pos,
17341 "basic_string::basic_string"),
17342 __str._M_data() + __str._M_limit(__pos, __n)
17343 + __pos, _Alloc()), _Alloc())
17346 template<typename _CharT, typename _Traits, typename _Alloc>
17347 basic_string<_CharT, _Traits, _Alloc>::
17348 basic_string(const basic_string& __str, size_type __pos,
17349 size_type __n, const _Alloc& __a)
17350 : _M_dataplus(_S_construct(__str._M_data()
17351 + __str._M_check(__pos,
17352 "basic_string::basic_string"),
17353 __str._M_data() + __str._M_limit(__pos, __n)
17354 + __pos, __a), __a)
17358 template<typename _CharT, typename _Traits, typename _Alloc>
17359 basic_string<_CharT, _Traits, _Alloc>::
17360 basic_string(const _CharT* __s, size_type __n, const _Alloc& __a)
17361 : _M_dataplus(_S_construct(__s, __s + __n, __a), __a)
17365 template<typename _CharT, typename _Traits, typename _Alloc>
17366 basic_string<_CharT, _Traits, _Alloc>::
17367 basic_string(const _CharT* __s, const _Alloc& __a)
17368 : _M_dataplus(_S_construct(__s, __s ? __s + traits_type::length(__s) :
17369 __s + npos, __a), __a)
17372 template<typename _CharT, typename _Traits, typename _Alloc>
17373 basic_string<_CharT, _Traits, _Alloc>::
17374 basic_string(size_type __n, _CharT __c, const _Alloc& __a)
17375 : _M_dataplus(_S_construct(__n, __c, __a), __a)
17379 template<typename _CharT, typename _Traits, typename _Alloc>
17380 template<typename _InputIterator>
17381 basic_string<_CharT, _Traits, _Alloc>::
17382 basic_string(_InputIterator __beg, _InputIterator __end, const _Alloc& __a)
17383 : _M_dataplus(_S_construct(__beg, __end, __a), __a)
17386 template<typename _CharT, typename _Traits, typename _Alloc>
17387 basic_string<_CharT, _Traits, _Alloc>&
17388 basic_string<_CharT, _Traits, _Alloc>::
17389 assign(const basic_string& __str)
17391 if (_M_rep() != __str._M_rep())
17394 const allocator_type __a = this->get_allocator();
17395 _CharT* __tmp = __str._M_rep()->_M_grab(__a, __str.get_allocator());
17396 _M_rep()->_M_dispose(__a);
17402 template<typename _CharT, typename _Traits, typename _Alloc>
17403 basic_string<_CharT, _Traits, _Alloc>&
17404 basic_string<_CharT, _Traits, _Alloc>::
17405 assign(const _CharT* __s, size_type __n)
17408 _M_check_length(this->size(), __n, "basic_string::assign");
17409 if (_M_disjunct(__s) || _M_rep()->_M_is_shared())
17410 return _M_replace_safe(size_type(0), this->size(), __s, __n);
17414 const size_type __pos = __s - _M_data();
17416 _M_copy(_M_data(), __s, __n);
17418 _M_move(_M_data(), __s, __n);
17419 _M_rep()->_M_set_length_and_sharable(__n);
17424 template<typename _CharT, typename _Traits, typename _Alloc>
17425 basic_string<_CharT, _Traits, _Alloc>&
17426 basic_string<_CharT, _Traits, _Alloc>::
17427 append(size_type __n, _CharT __c)
17431 _M_check_length(size_type(0), __n, "basic_string::append");
17432 const size_type __len = __n + this->size();
17433 if (__len > this->capacity() || _M_rep()->_M_is_shared())
17434 this->reserve(__len);
17435 _M_assign(_M_data() + this->size(), __n, __c);
17436 _M_rep()->_M_set_length_and_sharable(__len);
17441 template<typename _CharT, typename _Traits, typename _Alloc>
17442 basic_string<_CharT, _Traits, _Alloc>&
17443 basic_string<_CharT, _Traits, _Alloc>::
17444 append(const _CharT* __s, size_type __n)
17449 _M_check_length(size_type(0), __n, "basic_string::append");
17450 const size_type __len = __n + this->size();
17451 if (__len > this->capacity() || _M_rep()->_M_is_shared())
17453 if (_M_disjunct(__s))
17454 this->reserve(__len);
17457 const size_type __off = __s - _M_data();
17458 this->reserve(__len);
17459 __s = _M_data() + __off;
17462 _M_copy(_M_data() + this->size(), __s, __n);
17463 _M_rep()->_M_set_length_and_sharable(__len);
17468 template<typename _CharT, typename _Traits, typename _Alloc>
17469 basic_string<_CharT, _Traits, _Alloc>&
17470 basic_string<_CharT, _Traits, _Alloc>::
17471 append(const basic_string& __str)
17473 const size_type __size = __str.size();
17476 const size_type __len = __size + this->size();
17477 if (__len > this->capacity() || _M_rep()->_M_is_shared())
17478 this->reserve(__len);
17479 _M_copy(_M_data() + this->size(), __str._M_data(), __size);
17480 _M_rep()->_M_set_length_and_sharable(__len);
17485 template<typename _CharT, typename _Traits, typename _Alloc>
17486 basic_string<_CharT, _Traits, _Alloc>&
17487 basic_string<_CharT, _Traits, _Alloc>::
17488 append(const basic_string& __str, size_type __pos, size_type __n)
17490 __str._M_check(__pos, "basic_string::append");
17491 __n = __str._M_limit(__pos, __n);
17494 const size_type __len = __n + this->size();
17495 if (__len > this->capacity() || _M_rep()->_M_is_shared())
17496 this->reserve(__len);
17497 _M_copy(_M_data() + this->size(), __str._M_data() + __pos, __n);
17498 _M_rep()->_M_set_length_and_sharable(__len);
17503 template<typename _CharT, typename _Traits, typename _Alloc>
17504 basic_string<_CharT, _Traits, _Alloc>&
17505 basic_string<_CharT, _Traits, _Alloc>::
17506 insert(size_type __pos, const _CharT* __s, size_type __n)
17509 _M_check(__pos, "basic_string::insert");
17510 _M_check_length(size_type(0), __n, "basic_string::insert");
17511 if (_M_disjunct(__s) || _M_rep()->_M_is_shared())
17512 return _M_replace_safe(__pos, size_type(0), __s, __n);
17516 const size_type __off = __s - _M_data();
17517 _M_mutate(__pos, 0, __n);
17518 __s = _M_data() + __off;
17519 _CharT* __p = _M_data() + __pos;
17520 if (__s + __n <= __p)
17521 _M_copy(__p, __s, __n);
17522 else if (__s >= __p)
17523 _M_copy(__p, __s + __n, __n);
17526 const size_type __nleft = __p - __s;
17527 _M_copy(__p, __s, __nleft);
17528 _M_copy(__p + __nleft, __p + __n, __n - __nleft);
17534 template<typename _CharT, typename _Traits, typename _Alloc>
17535 basic_string<_CharT, _Traits, _Alloc>&
17536 basic_string<_CharT, _Traits, _Alloc>::
17537 replace(size_type __pos, size_type __n1, const _CharT* __s,
17541 _M_check(__pos, "basic_string::replace");
17542 __n1 = _M_limit(__pos, __n1);
17543 _M_check_length(__n1, __n2, "basic_string::replace");
17545 if (_M_disjunct(__s) || _M_rep()->_M_is_shared())
17546 return _M_replace_safe(__pos, __n1, __s, __n2);
17547 else if ((__left = __s + __n2 <= _M_data() + __pos)
17548 || _M_data() + __pos + __n1 <= __s)
17551 size_type __off = __s - _M_data();
17552 __left ? __off : (__off += __n2 - __n1);
17553 _M_mutate(__pos, __n1, __n2);
17554 _M_copy(_M_data() + __pos, _M_data() + __off, __n2);
17560 const basic_string __tmp(__s, __n2);
17561 return _M_replace_safe(__pos, __n1, __tmp._M_data(), __n2);
17565 template<typename _CharT, typename _Traits, typename _Alloc>
17567 basic_string<_CharT, _Traits, _Alloc>::_Rep::
17568 _M_destroy(const _Alloc& __a) throw ()
17570 const size_type __size = sizeof(_Rep_base) +
17571 (this->_M_capacity + 1) * sizeof(_CharT);
17572 _Raw_bytes_alloc(__a).deallocate(reinterpret_cast<char*>(this), __size);
17575 template<typename _CharT, typename _Traits, typename _Alloc>
17577 basic_string<_CharT, _Traits, _Alloc>::
17581 if (_M_rep() == &_S_empty_rep())
17584 if (_M_rep()->_M_is_shared())
17585 _M_mutate(0, 0, 0);
17586 _M_rep()->_M_set_leaked();
17589 template<typename _CharT, typename _Traits, typename _Alloc>
17591 basic_string<_CharT, _Traits, _Alloc>::
17592 _M_mutate(size_type __pos, size_type __len1, size_type __len2)
17594 const size_type __old_size = this->size();
17595 const size_type __new_size = __old_size + __len2 - __len1;
17596 const size_type __how_much = __old_size - __pos - __len1;
17598 if (__new_size > this->capacity() || _M_rep()->_M_is_shared())
17601 const allocator_type __a = get_allocator();
17602 _Rep* __r = _Rep::_S_create(__new_size, this->capacity(), __a);
17605 _M_copy(__r->_M_refdata(), _M_data(), __pos);
17607 _M_copy(__r->_M_refdata() + __pos + __len2,
17608 _M_data() + __pos + __len1, __how_much);
17610 _M_rep()->_M_dispose(__a);
17611 _M_data(__r->_M_refdata());
17613 else if (__how_much && __len1 != __len2)
17616 _M_move(_M_data() + __pos + __len2,
17617 _M_data() + __pos + __len1, __how_much);
17619 _M_rep()->_M_set_length_and_sharable(__new_size);
17622 template<typename _CharT, typename _Traits, typename _Alloc>
17624 basic_string<_CharT, _Traits, _Alloc>::
17625 reserve(size_type __res)
17627 if (__res != this->capacity() || _M_rep()->_M_is_shared())
17630 if (__res < this->size())
17631 __res = this->size();
17632 const allocator_type __a = get_allocator();
17633 _CharT* __tmp = _M_rep()->_M_clone(__a, __res - this->size());
17634 _M_rep()->_M_dispose(__a);
17639 template<typename _CharT, typename _Traits, typename _Alloc>
17641 basic_string<_CharT, _Traits, _Alloc>::
17642 swap(basic_string& __s)
17644 if (_M_rep()->_M_is_leaked())
17645 _M_rep()->_M_set_sharable();
17646 if (__s._M_rep()->_M_is_leaked())
17647 __s._M_rep()->_M_set_sharable();
17648 if (this->get_allocator() == __s.get_allocator())
17650 _CharT* __tmp = _M_data();
17651 _M_data(__s._M_data());
17652 __s._M_data(__tmp);
17657 const basic_string __tmp1(_M_ibegin(), _M_iend(),
17658 __s.get_allocator());
17659 const basic_string __tmp2(__s._M_ibegin(), __s._M_iend(),
17660 this->get_allocator());
17666 template<typename _CharT, typename _Traits, typename _Alloc>
17667 typename basic_string<_CharT, _Traits, _Alloc>::_Rep*
17668 basic_string<_CharT, _Traits, _Alloc>::_Rep::
17669 _S_create(size_type __capacity, size_type __old_capacity,
17670 const _Alloc& __alloc)
17674 if (__capacity > _S_max_size)
17675 __throw_length_error(("basic_string::_S_create"));
17676 # 558 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.tcc" 3
17677 const size_type __pagesize = 4096;
17678 const size_type __malloc_header_size = 4 * sizeof(void*);
17686 if (__capacity > __old_capacity && __capacity < 2 * __old_capacity)
17687 __capacity = 2 * __old_capacity;
17692 size_type __size = (__capacity + 1) * sizeof(_CharT) + sizeof(_Rep);
17694 const size_type __adj_size = __size + __malloc_header_size;
17695 if (__adj_size > __pagesize && __capacity > __old_capacity)
17697 const size_type __extra = __pagesize - __adj_size % __pagesize;
17698 __capacity += __extra / sizeof(_CharT);
17700 if (__capacity > _S_max_size)
17701 __capacity = _S_max_size;
17702 __size = (__capacity + 1) * sizeof(_CharT) + sizeof(_Rep);
17707 void* __place = _Raw_bytes_alloc(__alloc).allocate(__size);
17708 _Rep *__p = new (__place) _Rep;
17709 __p->_M_capacity = __capacity;
17717 __p->_M_set_sharable();
17721 template<typename _CharT, typename _Traits, typename _Alloc>
17723 basic_string<_CharT, _Traits, _Alloc>::_Rep::
17724 _M_clone(const _Alloc& __alloc, size_type __res)
17727 const size_type __requested_cap = this->_M_length + __res;
17728 _Rep* __r = _Rep::_S_create(__requested_cap, this->_M_capacity,
17730 if (this->_M_length)
17731 _M_copy(__r->_M_refdata(), _M_refdata(), this->_M_length);
17733 __r->_M_set_length_and_sharable(this->_M_length);
17734 return __r->_M_refdata();
17737 template<typename _CharT, typename _Traits, typename _Alloc>
17739 basic_string<_CharT, _Traits, _Alloc>::
17740 resize(size_type __n, _CharT __c)
17742 const size_type __size = this->size();
17743 _M_check_length(__size, __n, "basic_string::resize");
17745 this->append(__n - __size, __c);
17746 else if (__n < __size)
17751 template<typename _CharT, typename _Traits, typename _Alloc>
17752 template<typename _InputIterator>
17753 basic_string<_CharT, _Traits, _Alloc>&
17754 basic_string<_CharT, _Traits, _Alloc>::
17755 _M_replace_dispatch(iterator __i1, iterator __i2, _InputIterator __k1,
17756 _InputIterator __k2, __false_type)
17758 const basic_string __s(__k1, __k2);
17759 const size_type __n1 = __i2 - __i1;
17760 _M_check_length(__n1, __s.size(), "basic_string::_M_replace_dispatch");
17761 return _M_replace_safe(__i1 - _M_ibegin(), __n1, __s._M_data(),
17765 template<typename _CharT, typename _Traits, typename _Alloc>
17766 basic_string<_CharT, _Traits, _Alloc>&
17767 basic_string<_CharT, _Traits, _Alloc>::
17768 _M_replace_aux(size_type __pos1, size_type __n1, size_type __n2,
17771 _M_check_length(__n1, __n2, "basic_string::_M_replace_aux");
17772 _M_mutate(__pos1, __n1, __n2);
17774 _M_assign(_M_data() + __pos1, __n2, __c);
17778 template<typename _CharT, typename _Traits, typename _Alloc>
17779 basic_string<_CharT, _Traits, _Alloc>&
17780 basic_string<_CharT, _Traits, _Alloc>::
17781 _M_replace_safe(size_type __pos1, size_type __n1, const _CharT* __s,
17784 _M_mutate(__pos1, __n1, __n2);
17786 _M_copy(_M_data() + __pos1, __s, __n2);
17790 template<typename _CharT, typename _Traits, typename _Alloc>
17791 basic_string<_CharT, _Traits, _Alloc>
17792 operator+(const _CharT* __lhs,
17793 const basic_string<_CharT, _Traits, _Alloc>& __rhs)
17796 typedef basic_string<_CharT, _Traits, _Alloc> __string_type;
17797 typedef typename __string_type::size_type __size_type;
17798 const __size_type __len = _Traits::length(__lhs);
17799 __string_type __str;
17800 __str.reserve(__len + __rhs.size());
17801 __str.append(__lhs, __len);
17802 __str.append(__rhs);
17806 template<typename _CharT, typename _Traits, typename _Alloc>
17807 basic_string<_CharT, _Traits, _Alloc>
17808 operator+(_CharT __lhs, const basic_string<_CharT, _Traits, _Alloc>& __rhs)
17810 typedef basic_string<_CharT, _Traits, _Alloc> __string_type;
17811 typedef typename __string_type::size_type __size_type;
17812 __string_type __str;
17813 const __size_type __len = __rhs.size();
17814 __str.reserve(__len + 1);
17815 __str.append(__size_type(1), __lhs);
17816 __str.append(__rhs);
17820 template<typename _CharT, typename _Traits, typename _Alloc>
17821 typename basic_string<_CharT, _Traits, _Alloc>::size_type
17822 basic_string<_CharT, _Traits, _Alloc>::
17823 copy(_CharT* __s, size_type __n, size_type __pos) const
17825 _M_check(__pos, "basic_string::copy");
17826 __n = _M_limit(__pos, __n);
17829 _M_copy(__s, _M_data() + __pos, __n);
17834 template<typename _CharT, typename _Traits, typename _Alloc>
17835 typename basic_string<_CharT, _Traits, _Alloc>::size_type
17836 basic_string<_CharT, _Traits, _Alloc>::
17837 find(const _CharT* __s, size_type __pos, size_type __n) const
17840 size_type __ret = npos;
17841 const size_type __size = this->size();
17842 if (__pos + __n <= __size)
17844 const _CharT* __data = _M_data();
17845 const _CharT* __p = std::search(__data + __pos, __data + __size,
17846 __s, __s + __n, traits_type::eq);
17847 if (__p != __data + __size || __n == 0)
17848 __ret = __p - __data;
17853 template<typename _CharT, typename _Traits, typename _Alloc>
17854 typename basic_string<_CharT, _Traits, _Alloc>::size_type
17855 basic_string<_CharT, _Traits, _Alloc>::
17856 find(_CharT __c, size_type __pos) const
17858 size_type __ret = npos;
17859 const size_type __size = this->size();
17860 if (__pos < __size)
17862 const _CharT* __data = _M_data();
17863 const size_type __n = __size - __pos;
17864 const _CharT* __p = traits_type::find(__data + __pos, __n, __c);
17866 __ret = __p - __data;
17871 template<typename _CharT, typename _Traits, typename _Alloc>
17872 typename basic_string<_CharT, _Traits, _Alloc>::size_type
17873 basic_string<_CharT, _Traits, _Alloc>::
17874 rfind(const _CharT* __s, size_type __pos, size_type __n) const
17877 const size_type __size = this->size();
17880 __pos = std::min(size_type(__size - __n), __pos);
17881 const _CharT* __data = _M_data();
17884 if (traits_type::compare(__data + __pos, __s, __n) == 0)
17887 while (__pos-- > 0);
17892 template<typename _CharT, typename _Traits, typename _Alloc>
17893 typename basic_string<_CharT, _Traits, _Alloc>::size_type
17894 basic_string<_CharT, _Traits, _Alloc>::
17895 rfind(_CharT __c, size_type __pos) const
17897 size_type __size = this->size();
17900 if (--__size > __pos)
17902 for (++__size; __size-- > 0; )
17903 if (traits_type::eq(_M_data()[__size], __c))
17909 template<typename _CharT, typename _Traits, typename _Alloc>
17910 typename basic_string<_CharT, _Traits, _Alloc>::size_type
17911 basic_string<_CharT, _Traits, _Alloc>::
17912 find_first_of(const _CharT* __s, size_type __pos, size_type __n) const
17915 for (; __n && __pos < this->size(); ++__pos)
17917 const _CharT* __p = traits_type::find(__s, __n, _M_data()[__pos]);
17924 template<typename _CharT, typename _Traits, typename _Alloc>
17925 typename basic_string<_CharT, _Traits, _Alloc>::size_type
17926 basic_string<_CharT, _Traits, _Alloc>::
17927 find_last_of(const _CharT* __s, size_type __pos, size_type __n) const
17930 size_type __size = this->size();
17933 if (--__size > __pos)
17937 if (traits_type::find(__s, __n, _M_data()[__size]))
17940 while (__size-- != 0);
17945 template<typename _CharT, typename _Traits, typename _Alloc>
17946 typename basic_string<_CharT, _Traits, _Alloc>::size_type
17947 basic_string<_CharT, _Traits, _Alloc>::
17948 find_first_not_of(const _CharT* __s, size_type __pos, size_type __n) const
17951 for (; __pos < this->size(); ++__pos)
17952 if (!traits_type::find(__s, __n, _M_data()[__pos]))
17957 template<typename _CharT, typename _Traits, typename _Alloc>
17958 typename basic_string<_CharT, _Traits, _Alloc>::size_type
17959 basic_string<_CharT, _Traits, _Alloc>::
17960 find_first_not_of(_CharT __c, size_type __pos) const
17962 for (; __pos < this->size(); ++__pos)
17963 if (!traits_type::eq(_M_data()[__pos], __c))
17968 template<typename _CharT, typename _Traits, typename _Alloc>
17969 typename basic_string<_CharT, _Traits, _Alloc>::size_type
17970 basic_string<_CharT, _Traits, _Alloc>::
17971 find_last_not_of(const _CharT* __s, size_type __pos, size_type __n) const
17974 size_type __size = this->size();
17977 if (--__size > __pos)
17981 if (!traits_type::find(__s, __n, _M_data()[__size]))
17989 template<typename _CharT, typename _Traits, typename _Alloc>
17990 typename basic_string<_CharT, _Traits, _Alloc>::size_type
17991 basic_string<_CharT, _Traits, _Alloc>::
17992 find_last_not_of(_CharT __c, size_type __pos) const
17994 size_type __size = this->size();
17997 if (--__size > __pos)
18001 if (!traits_type::eq(_M_data()[__size], __c))
18009 template<typename _CharT, typename _Traits, typename _Alloc>
18011 basic_string<_CharT, _Traits, _Alloc>::
18012 compare(size_type __pos, size_type __n, const basic_string& __str) const
18014 _M_check(__pos, "basic_string::compare");
18015 __n = _M_limit(__pos, __n);
18016 const size_type __osize = __str.size();
18017 const size_type __len = std::min(__n, __osize);
18018 int __r = traits_type::compare(_M_data() + __pos, __str.data(), __len);
18020 __r = __n - __osize;
18024 template<typename _CharT, typename _Traits, typename _Alloc>
18026 basic_string<_CharT, _Traits, _Alloc>::
18027 compare(size_type __pos1, size_type __n1, const basic_string& __str,
18028 size_type __pos2, size_type __n2) const
18030 _M_check(__pos1, "basic_string::compare");
18031 __str._M_check(__pos2, "basic_string::compare");
18032 __n1 = _M_limit(__pos1, __n1);
18033 __n2 = __str._M_limit(__pos2, __n2);
18034 const size_type __len = std::min(__n1, __n2);
18035 int __r = traits_type::compare(_M_data() + __pos1,
18036 __str.data() + __pos2, __len);
18042 template<typename _CharT, typename _Traits, typename _Alloc>
18044 basic_string<_CharT, _Traits, _Alloc>::
18045 compare(const _CharT* __s) const
18048 const size_type __size = this->size();
18049 const size_type __osize = traits_type::length(__s);
18050 const size_type __len = std::min(__size, __osize);
18051 int __r = traits_type::compare(_M_data(), __s, __len);
18053 __r = __size - __osize;
18057 template<typename _CharT, typename _Traits, typename _Alloc>
18059 basic_string <_CharT, _Traits, _Alloc>::
18060 compare(size_type __pos, size_type __n1, const _CharT* __s) const
18063 _M_check(__pos, "basic_string::compare");
18064 __n1 = _M_limit(__pos, __n1);
18065 const size_type __osize = traits_type::length(__s);
18066 const size_type __len = std::min(__n1, __osize);
18067 int __r = traits_type::compare(_M_data() + __pos, __s, __len);
18069 __r = __n1 - __osize;
18073 template<typename _CharT, typename _Traits, typename _Alloc>
18075 basic_string <_CharT, _Traits, _Alloc>::
18076 compare(size_type __pos, size_type __n1, const _CharT* __s,
18077 size_type __n2) const
18080 _M_check(__pos, "basic_string::compare");
18081 __n1 = _M_limit(__pos, __n1);
18082 const size_type __len = std::min(__n1, __n2);
18083 int __r = traits_type::compare(_M_data() + __pos, __s, __len);
18093 extern template class basic_string<char>;
18095 basic_istream<char>&
18096 operator>>(basic_istream<char>&, string&);
18098 basic_ostream<char>&
18099 operator<<(basic_ostream<char>&, const string&);
18101 basic_istream<char>&
18102 getline(basic_istream<char>&, string&, char);
18104 basic_istream<char>&
18105 getline(basic_istream<char>&, string&);
18106 # 1004 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_string.tcc" 3
18108 # 57 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/string" 2 3
18109 # 19 "./boost/format.hpp" 2
18110 # 1 "./boost/detail/workaround.hpp" 1
18111 # 41 "./boost/detail/workaround.hpp"
18112 # 1 "./boost/config.hpp" 1
18113 # 26 "./boost/config.hpp"
18114 # 1 "./boost/config/user.hpp" 1
18115 # 27 "./boost/config.hpp" 2
18120 # 1 "./boost/config/select_compiler_config.hpp" 1
18121 # 32 "./boost/config.hpp" 2
18125 # 1 "./boost/config/compiler/gcc.hpp" 1
18126 # 36 "./boost/config.hpp" 2
18131 # 1 "./boost/config/select_stdlib_config.hpp" 1
18132 # 20 "./boost/config/select_stdlib_config.hpp"
18133 # 1 "./boost/config/no_tr1/utility.hpp" 1
18134 # 21 "./boost/config/no_tr1/utility.hpp"
18135 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/utility" 1 3
18136 # 63 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/utility" 3
18138 # 64 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/utility" 3
18141 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_relops.h" 1 3
18142 # 74 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_relops.h" 3
18147 # 90 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_relops.h" 3
18148 template <class _Tp>
18150 operator!=(const _Tp& __x, const _Tp& __y)
18151 { return !(__x == __y); }
18152 # 103 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_relops.h" 3
18153 template <class _Tp>
18155 operator>(const _Tp& __x, const _Tp& __y)
18156 { return __y < __x; }
18157 # 116 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_relops.h" 3
18158 template <class _Tp>
18160 operator<=(const _Tp& __x, const _Tp& __y)
18161 { return !(__y < __x); }
18162 # 129 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/stl_relops.h" 3
18163 template <class _Tp>
18165 operator>=(const _Tp& __x, const _Tp& __y)
18166 { return !(__x < __y); }
18170 # 67 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/utility" 2 3
18171 # 22 "./boost/config/no_tr1/utility.hpp" 2
18172 # 21 "./boost/config/select_stdlib_config.hpp" 2
18173 # 41 "./boost/config.hpp" 2
18177 # 1 "./boost/config/stdlib/libstdcpp3.hpp" 1
18178 # 45 "./boost/config.hpp" 2
18183 # 1 "./boost/config/select_platform_config.hpp" 1
18184 # 50 "./boost/config.hpp" 2
18188 # 1 "./boost/config/platform/linux.hpp" 1
18189 # 70 "./boost/config/platform/linux.hpp"
18190 # 1 "./boost/config/posix_features.hpp" 1
18191 # 71 "./boost/config/platform/linux.hpp" 2
18192 # 54 "./boost/config.hpp" 2
18196 # 1 "./boost/config/suffix.hpp" 1
18197 # 432 "./boost/config/suffix.hpp"
18200 __extension__ typedef long long long_long_type;
18201 __extension__ typedef unsigned long long ulong_long_type;
18207 # 58 "./boost/config.hpp" 2
18208 # 42 "./boost/detail/workaround.hpp" 2
18209 # 20 "./boost/format.hpp" 2
18213 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/locale" 1 3
18214 # 41 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/locale" 3
18216 # 42 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/locale" 3
18218 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/localefwd.h" 1 3
18219 # 43 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/localefwd.h" 3
18221 # 44 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/localefwd.h" 3
18234 template<typename _CharT>
18236 isspace(_CharT, const locale&);
18238 template<typename _CharT>
18240 isprint(_CharT, const locale&);
18242 template<typename _CharT>
18244 iscntrl(_CharT, const locale&);
18246 template<typename _CharT>
18248 isupper(_CharT, const locale&);
18250 template<typename _CharT>
18252 islower(_CharT, const locale&);
18254 template<typename _CharT>
18256 isalpha(_CharT, const locale&);
18258 template<typename _CharT>
18260 isdigit(_CharT, const locale&);
18262 template<typename _CharT>
18264 ispunct(_CharT, const locale&);
18266 template<typename _CharT>
18268 isxdigit(_CharT, const locale&);
18270 template<typename _CharT>
18272 isalnum(_CharT, const locale&);
18274 template<typename _CharT>
18276 isgraph(_CharT, const locale&);
18278 template<typename _CharT>
18280 toupper(_CharT, const locale&);
18282 template<typename _CharT>
18284 tolower(_CharT, const locale&);
18288 template<typename _CharT>
18290 template<> class ctype<char>;
18294 template<typename _CharT>
18295 class ctype_byname;
18298 class codecvt_base;
18299 class __enc_traits;
18300 template<typename _InternT, typename _ExternT, typename _StateT>
18302 template<> class codecvt<char, char, mbstate_t>;
18306 template<typename _InternT, typename _ExternT, typename _StateT>
18307 class codecvt_byname;
18310 template<typename _CharT, typename _InIter = istreambuf_iterator<_CharT> >
18312 template<typename _CharT, typename _OutIter = ostreambuf_iterator<_CharT> >
18314 template<typename _CharT> class numpunct;
18315 template<typename _CharT> class numpunct_byname;
18318 template<typename _CharT>
18320 template<typename _CharT> class
18325 template<typename _CharT, typename _InIter = istreambuf_iterator<_CharT> >
18327 template<typename _CharT, typename _InIter = istreambuf_iterator<_CharT> >
18328 class time_get_byname;
18329 template<typename _CharT, typename _OutIter = ostreambuf_iterator<_CharT> >
18331 template<typename _CharT, typename _OutIter = ostreambuf_iterator<_CharT> >
18332 class time_put_byname;
18336 template<typename _CharT, typename _InIter = istreambuf_iterator<_CharT> >
18338 template<typename _CharT, typename _OutIter = ostreambuf_iterator<_CharT> >
18340 template<typename _CharT, bool _Intl = false>
18342 template<typename _CharT, bool _Intl = false>
18343 class moneypunct_byname;
18346 class messages_base;
18347 template<typename _CharT>
18349 template<typename _CharT>
18350 class messages_byname;
18352 template<typename _Facet>
18354 has_facet(const locale& __loc) throw();
18356 template<typename _Facet>
18358 use_facet(const locale& __loc);
18360 template<typename _Facet>
18361 inline const _Facet&
18362 __check_facet(const _Facet* __f)
18365 __throw_bad_cast();
18369 # 44 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/locale" 2 3
18370 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_classes.h" 1 3
18371 # 43 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_classes.h" 3
18373 # 44 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_classes.h" 3
18383 # 67 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_classes.h" 3
18389 typedef int category;
18396 friend class facet;
18397 friend class _Impl;
18399 template<typename _Facet>
18401 has_facet(const locale&) throw();
18403 template<typename _Facet>
18404 friend const _Facet&
18405 use_facet(const locale&);
18407 template<typename _Cache>
18408 friend struct __use_cache;
18409 # 105 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_classes.h" 3
18410 static const category none = 0;
18411 static const category ctype = 1L << 0;
18412 static const category numeric = 1L << 1;
18413 static const category collate = 1L << 2;
18414 static const category time = 1L << 3;
18415 static const category monetary = 1L << 4;
18416 static const category messages = 1L << 5;
18417 static const category all = (ctype | numeric | collate |
18418 time | monetary | messages);
18419 # 124 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_classes.h" 3
18421 # 133 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_classes.h" 3
18422 locale(const locale& __other) throw();
18423 # 143 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_classes.h" 3
18425 locale(const char* __s);
18426 # 158 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_classes.h" 3
18427 locale(const locale& __base, const char* __s, category __cat);
18428 # 171 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_classes.h" 3
18429 locale(const locale& __base, const locale& __add, category __cat);
18430 # 183 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_classes.h" 3
18431 template<typename _Facet>
18432 locale(const locale& __other, _Facet* __f);
18436 # 197 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_classes.h" 3
18438 operator=(const locale& __other) throw();
18439 # 212 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_classes.h" 3
18440 template<typename _Facet>
18442 combine(const locale& __other) const;
18451 # 231 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_classes.h" 3
18453 operator==(const locale& __other) const throw ();
18462 operator!=(const locale& __other) const throw ()
18463 { return !(this->operator==(__other)); }
18464 # 259 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_classes.h" 3
18465 template<typename _Char, typename _Traits, typename _Alloc>
18467 operator()(const basic_string<_Char, _Traits, _Alloc>& __s1,
18468 const basic_string<_Char, _Traits, _Alloc>& __s2) const;
18469 # 275 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_classes.h" 3
18471 global(const locale&);
18476 static const locale&
18484 static _Impl* _S_classic;
18487 static _Impl* _S_global;
18493 static const char* const* const _S_categories;
18494 # 310 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_classes.h" 3
18495 enum { _S_categories_size = 6 + 0 };
18498 static __gthread_once_t _S_once;
18502 locale(_Impl*) throw();
18508 _S_initialize_once();
18511 _S_normalize_category(category);
18514 _M_coalesce(const locale& __base, const locale& __add, category __cat);
18516 # 343 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_classes.h" 3
18517 class locale::facet
18520 friend class locale;
18521 friend class locale::_Impl;
18523 mutable _Atomic_word _M_refcount;
18526 static __c_locale _S_c_locale;
18529 static const char _S_c_name[2];
18532 static __gthread_once_t _S_once;
18536 _S_initialize_once();
18539 # 374 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_classes.h" 3
18541 facet(size_t __refs = 0) throw() : _M_refcount(__refs ? 1 : 0)
18549 _S_create_c_locale(__c_locale& __cloc, const char* __s,
18550 __c_locale __old = 0);
18553 _S_clone_c_locale(__c_locale& __cloc);
18556 _S_destroy_c_locale(__c_locale& __cloc);
18568 _M_add_reference() const throw()
18569 { __gnu_cxx::__atomic_add(&_M_refcount, 1); }
18572 _M_remove_reference() const throw()
18574 if (__gnu_cxx::__exchange_and_add(&_M_refcount, -1) == 1)
18583 facet(const facet&);
18586 operator=(const facet&);
18588 # 434 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_classes.h" 3
18592 friend class locale;
18593 friend class locale::_Impl;
18595 template<typename _Facet>
18596 friend const _Facet&
18597 use_facet(const locale&);
18599 template<typename _Facet>
18601 has_facet(const locale&) throw ();
18606 mutable size_t _M_index;
18609 static _Atomic_word _S_refcount;
18612 operator=(const id&);
18628 class locale::_Impl
18632 friend class locale;
18633 friend class locale::facet;
18635 template<typename _Facet>
18637 has_facet(const locale&) throw();
18639 template<typename _Facet>
18640 friend const _Facet&
18641 use_facet(const locale&);
18643 template<typename _Cache>
18644 friend struct __use_cache;
18648 _Atomic_word _M_refcount;
18649 const facet** _M_facets;
18650 size_t _M_facets_size;
18651 const facet** _M_caches;
18653 static const locale::id* const _S_id_ctype[];
18654 static const locale::id* const _S_id_numeric[];
18655 static const locale::id* const _S_id_collate[];
18656 static const locale::id* const _S_id_time[];
18657 static const locale::id* const _S_id_monetary[];
18658 static const locale::id* const _S_id_messages[];
18659 static const locale::id* const* const _S_facet_categories[];
18662 _M_add_reference() throw()
18663 { __gnu_cxx::__atomic_add(&_M_refcount, 1); }
18666 _M_remove_reference() throw()
18668 if (__gnu_cxx::__exchange_and_add(&_M_refcount, -1) == 1)
18677 _Impl(const _Impl&, size_t);
18678 _Impl(const char*, size_t);
18679 _Impl(size_t) throw();
18683 _Impl(const _Impl&);
18686 operator=(const _Impl&);
18689 _M_check_same_name()
18694 for (size_t __i = 0; __ret && __i < _S_categories_size - 1; ++__i)
18695 __ret = std::strcmp(_M_names[__i], _M_names[__i + 1]) == 0;
18700 _M_replace_categories(const _Impl*, category);
18703 _M_replace_category(const _Impl*, const locale::id* const*);
18706 _M_replace_facet(const _Impl*, const locale::id*);
18709 _M_install_facet(const locale::id*, const facet*);
18711 template<typename _Facet>
18713 _M_init_facet(_Facet* __facet)
18714 { _M_install_facet(&_Facet::id, __facet); }
18717 _M_install_cache(const facet*, size_t);
18720 template<typename _Facet>
18721 locale::locale(const locale& __other, _Facet* __f)
18723 _M_impl = new _Impl(*__other._M_impl, 1);
18726 { _M_impl->_M_install_facet(&_Facet::id, __f); }
18729 _M_impl->_M_remove_reference();
18732 delete [] _M_impl->_M_names[0];
18733 _M_impl->_M_names[0] = 0;
18736 # 45 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/locale" 2 3
18737 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 1 3
18738 # 43 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
18740 # 44 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
18743 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/cwctype" 1 3
18744 # 48 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/cwctype" 3
18746 # 49 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/cwctype" 3
18747 # 47 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 2 3
18749 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/ios_base.h" 1 3
18750 # 43 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/ios_base.h" 3
18752 # 44 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/ios_base.h" 3
18766 _S_boolalpha = 1L << 0,
18768 _S_fixed = 1L << 2,
18770 _S_internal = 1L << 4,
18773 _S_right = 1L << 7,
18774 _S_scientific = 1L << 8,
18775 _S_showbase = 1L << 9,
18776 _S_showpoint = 1L << 10,
18777 _S_showpos = 1L << 11,
18778 _S_skipws = 1L << 12,
18779 _S_unitbuf = 1L << 13,
18780 _S_uppercase = 1L << 14,
18781 _S_adjustfield = _S_left | _S_right | _S_internal,
18782 _S_basefield = _S_dec | _S_oct | _S_hex,
18783 _S_floatfield = _S_scientific | _S_fixed,
18784 _S_ios_fmtflags_end = 1L << 16
18787 inline _Ios_Fmtflags
18788 operator&(_Ios_Fmtflags __a, _Ios_Fmtflags __b)
18789 { return _Ios_Fmtflags(static_cast<int>(__a) & static_cast<int>(__b)); }
18791 inline _Ios_Fmtflags
18792 operator|(_Ios_Fmtflags __a, _Ios_Fmtflags __b)
18793 { return _Ios_Fmtflags(static_cast<int>(__a) | static_cast<int>(__b)); }
18795 inline _Ios_Fmtflags
18796 operator^(_Ios_Fmtflags __a, _Ios_Fmtflags __b)
18797 { return _Ios_Fmtflags(static_cast<int>(__a) ^ static_cast<int>(__b)); }
18799 inline _Ios_Fmtflags&
18800 operator|=(_Ios_Fmtflags& __a, _Ios_Fmtflags __b)
18801 { return __a = __a | __b; }
18803 inline _Ios_Fmtflags&
18804 operator&=(_Ios_Fmtflags& __a, _Ios_Fmtflags __b)
18805 { return __a = __a & __b; }
18807 inline _Ios_Fmtflags&
18808 operator^=(_Ios_Fmtflags& __a, _Ios_Fmtflags __b)
18809 { return __a = __a ^ __b; }
18811 inline _Ios_Fmtflags
18812 operator~(_Ios_Fmtflags __a)
18813 { return _Ios_Fmtflags(~static_cast<int>(__a)); }
18823 _S_trunc = 1L << 5,
18824 _S_ios_openmode_end = 1L << 16
18827 inline _Ios_Openmode
18828 operator&(_Ios_Openmode __a, _Ios_Openmode __b)
18829 { return _Ios_Openmode(static_cast<int>(__a) & static_cast<int>(__b)); }
18831 inline _Ios_Openmode
18832 operator|(_Ios_Openmode __a, _Ios_Openmode __b)
18833 { return _Ios_Openmode(static_cast<int>(__a) | static_cast<int>(__b)); }
18835 inline _Ios_Openmode
18836 operator^(_Ios_Openmode __a, _Ios_Openmode __b)
18837 { return _Ios_Openmode(static_cast<int>(__a) ^ static_cast<int>(__b)); }
18839 inline _Ios_Openmode&
18840 operator|=(_Ios_Openmode& __a, _Ios_Openmode __b)
18841 { return __a = __a | __b; }
18843 inline _Ios_Openmode&
18844 operator&=(_Ios_Openmode& __a, _Ios_Openmode __b)
18845 { return __a = __a & __b; }
18847 inline _Ios_Openmode&
18848 operator^=(_Ios_Openmode& __a, _Ios_Openmode __b)
18849 { return __a = __a ^ __b; }
18851 inline _Ios_Openmode
18852 operator~(_Ios_Openmode __a)
18853 { return _Ios_Openmode(~static_cast<int>(__a)); }
18859 _S_badbit = 1L << 0,
18860 _S_eofbit = 1L << 1,
18861 _S_failbit = 1L << 2,
18862 _S_ios_iostate_end = 1L << 16
18865 inline _Ios_Iostate
18866 operator&(_Ios_Iostate __a, _Ios_Iostate __b)
18867 { return _Ios_Iostate(static_cast<int>(__a) & static_cast<int>(__b)); }
18869 inline _Ios_Iostate
18870 operator|(_Ios_Iostate __a, _Ios_Iostate __b)
18871 { return _Ios_Iostate(static_cast<int>(__a) | static_cast<int>(__b)); }
18873 inline _Ios_Iostate
18874 operator^(_Ios_Iostate __a, _Ios_Iostate __b)
18875 { return _Ios_Iostate(static_cast<int>(__a) ^ static_cast<int>(__b)); }
18877 inline _Ios_Iostate&
18878 operator|=(_Ios_Iostate& __a, _Ios_Iostate __b)
18879 { return __a = __a | __b; }
18881 inline _Ios_Iostate&
18882 operator&=(_Ios_Iostate& __a, _Ios_Iostate __b)
18883 { return __a = __a & __b; }
18885 inline _Ios_Iostate&
18886 operator^=(_Ios_Iostate& __a, _Ios_Iostate __b)
18887 { return __a = __a ^ __b; }
18889 inline _Ios_Iostate
18890 operator~(_Ios_Iostate __a)
18891 { return _Ios_Iostate(~static_cast<int>(__a)); }
18898 _S_ios_seekdir_end = 1L << 16
18900 # 201 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/ios_base.h" 3
18907 class failure : public exception
18913 failure(const string& __str) throw();
18918 ~failure() throw();
18920 virtual const char*
18921 what() const throw();
18926 # 253 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/ios_base.h" 3
18927 typedef _Ios_Fmtflags fmtflags;
18930 static const fmtflags boolalpha = _S_boolalpha;
18933 static const fmtflags dec = _S_dec;
18936 static const fmtflags fixed = _S_fixed;
18939 static const fmtflags hex = _S_hex;
18944 static const fmtflags internal = _S_internal;
18948 static const fmtflags left = _S_left;
18951 static const fmtflags oct = _S_oct;
18955 static const fmtflags right = _S_right;
18958 static const fmtflags scientific = _S_scientific;
18962 static const fmtflags showbase = _S_showbase;
18966 static const fmtflags showpoint = _S_showpoint;
18969 static const fmtflags showpos = _S_showpos;
18972 static const fmtflags skipws = _S_skipws;
18975 static const fmtflags unitbuf = _S_unitbuf;
18979 static const fmtflags uppercase = _S_uppercase;
18982 static const fmtflags adjustfield = _S_adjustfield;
18985 static const fmtflags basefield = _S_basefield;
18988 static const fmtflags floatfield = _S_floatfield;
18989 # 328 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/ios_base.h" 3
18990 typedef _Ios_Iostate iostate;
18994 static const iostate badbit = _S_badbit;
18997 static const iostate eofbit = _S_eofbit;
19002 static const iostate failbit = _S_failbit;
19005 static const iostate goodbit = _S_goodbit;
19006 # 359 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/ios_base.h" 3
19007 typedef _Ios_Openmode openmode;
19010 static const openmode app = _S_app;
19013 static const openmode ate = _S_ate;
19019 static const openmode binary = _S_bin;
19022 static const openmode in = _S_in;
19025 static const openmode out = _S_out;
19028 static const openmode trunc = _S_trunc;
19029 # 392 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/ios_base.h" 3
19030 typedef _Ios_Seekdir seekdir;
19033 static const seekdir beg = _S_beg;
19036 static const seekdir cur = _S_cur;
19039 static const seekdir end = _S_end;
19042 typedef int io_state;
19043 typedef int open_mode;
19044 typedef int seek_dir;
19046 typedef std::streampos streampos;
19047 typedef std::streamoff streamoff;
19048 # 418 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/ios_base.h" 3
19055 # 435 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/ios_base.h" 3
19056 typedef void (*event_callback) (event, ios_base&, int);
19057 # 447 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/ios_base.h" 3
19059 register_callback(event_callback __fn, int __index);
19068 streamsize _M_precision;
19069 streamsize _M_width;
19071 iostate _M_exception;
19072 iostate _M_streambuf_state;
19077 struct _Callback_list
19080 _Callback_list* _M_next;
19081 ios_base::event_callback _M_fn;
19083 _Atomic_word _M_refcount;
19085 _Callback_list(ios_base::event_callback __fn, int __index,
19086 _Callback_list* __cb)
19087 : _M_next(__cb), _M_fn(__fn), _M_index(__index), _M_refcount(0) { }
19090 _M_add_reference() { __gnu_cxx::__atomic_add(&_M_refcount, 1); }
19094 _M_remove_reference()
19095 { return __gnu_cxx::__exchange_and_add(&_M_refcount, -1); }
19098 _Callback_list* _M_callbacks;
19101 _M_call_callbacks(event __ev) throw();
19104 _M_dispose_callbacks(void);
19111 _Words() : _M_pword(0), _M_iword(0) { }
19115 _Words _M_word_zero;
19119 enum { _S_local_word_size = 8 };
19120 _Words _M_local_word[_S_local_word_size];
19127 _M_grow_words(int __index, bool __iword);
19130 locale _M_ios_locale;
19143 friend class ios_base;
19149 static _Atomic_word _S_refcount;
19150 static bool _S_synced_with_stdio;
19159 flags() const { return _M_flags; }
19160 # 557 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/ios_base.h" 3
19162 flags(fmtflags __fmtfl)
19164 fmtflags __old = _M_flags;
19165 _M_flags = __fmtfl;
19168 # 573 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/ios_base.h" 3
19170 setf(fmtflags __fmtfl)
19172 fmtflags __old = _M_flags;
19173 _M_flags |= __fmtfl;
19176 # 590 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/ios_base.h" 3
19178 setf(fmtflags __fmtfl, fmtflags __mask)
19180 fmtflags __old = _M_flags;
19181 _M_flags &= ~__mask;
19182 _M_flags |= (__fmtfl & __mask);
19193 unsetf(fmtflags __mask) { _M_flags &= ~__mask; }
19194 # 617 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/ios_base.h" 3
19196 precision() const { return _M_precision; }
19204 precision(streamsize __prec)
19206 streamsize __old = _M_precision;
19207 _M_precision = __prec;
19218 width() const { return _M_width; }
19226 width(streamsize __wide)
19228 streamsize __old = _M_width;
19232 # 666 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/ios_base.h" 3
19234 sync_with_stdio(bool __sync = true);
19235 # 678 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/ios_base.h" 3
19237 imbue(const locale& __loc);
19238 # 689 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/ios_base.h" 3
19240 getloc() const { return _M_ios_locale; }
19241 # 699 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/ios_base.h" 3
19242 inline const locale&
19243 _M_getloc() const { return _M_ios_locale; }
19244 # 717 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/ios_base.h" 3
19247 # 733 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/ios_base.h" 3
19251 _Words& __word = (__ix < _M_word_size)
19252 ? _M_word[__ix] : _M_grow_words(__ix, true);
19253 return __word._M_iword;
19255 # 754 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/ios_base.h" 3
19259 _Words& __word = (__ix < _M_word_size)
19260 ? _M_word[__ix] : _M_grow_words(__ix, false);
19261 return __word._M_pword;
19263 # 771 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/ios_base.h" 3
19264 virtual ~ios_base();
19272 ios_base(const ios_base&);
19275 operator=(const ios_base&);
19281 boolalpha(ios_base& __base)
19283 __base.setf(ios_base::boolalpha);
19289 noboolalpha(ios_base& __base)
19291 __base.unsetf(ios_base::boolalpha);
19297 showbase(ios_base& __base)
19299 __base.setf(ios_base::showbase);
19305 noshowbase(ios_base& __base)
19307 __base.unsetf(ios_base::showbase);
19313 showpoint(ios_base& __base)
19315 __base.setf(ios_base::showpoint);
19321 noshowpoint(ios_base& __base)
19323 __base.unsetf(ios_base::showpoint);
19329 showpos(ios_base& __base)
19331 __base.setf(ios_base::showpos);
19337 noshowpos(ios_base& __base)
19339 __base.unsetf(ios_base::showpos);
19345 skipws(ios_base& __base)
19347 __base.setf(ios_base::skipws);
19353 noskipws(ios_base& __base)
19355 __base.unsetf(ios_base::skipws);
19361 uppercase(ios_base& __base)
19363 __base.setf(ios_base::uppercase);
19369 nouppercase(ios_base& __base)
19371 __base.unsetf(ios_base::uppercase);
19377 unitbuf(ios_base& __base)
19379 __base.setf(ios_base::unitbuf);
19385 nounitbuf(ios_base& __base)
19387 __base.unsetf(ios_base::unitbuf);
19394 internal(ios_base& __base)
19396 __base.setf(ios_base::internal, ios_base::adjustfield);
19402 left(ios_base& __base)
19404 __base.setf(ios_base::left, ios_base::adjustfield);
19410 right(ios_base& __base)
19412 __base.setf(ios_base::right, ios_base::adjustfield);
19419 dec(ios_base& __base)
19421 __base.setf(ios_base::dec, ios_base::basefield);
19427 hex(ios_base& __base)
19429 __base.setf(ios_base::hex, ios_base::basefield);
19435 oct(ios_base& __base)
19437 __base.setf(ios_base::oct, ios_base::basefield);
19444 fixed(ios_base& __base)
19446 __base.setf(ios_base::fixed, ios_base::floatfield);
19452 scientific(ios_base& __base)
19454 __base.setf(ios_base::scientific, ios_base::floatfield);
19458 # 49 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 2 3
19459 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/streambuf" 1 3
19460 # 42 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/streambuf" 3
19462 # 43 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/streambuf" 3
19476 template<typename _CharT, typename _Traits>
19478 __copy_streambufs(basic_streambuf<_CharT, _Traits>* __sbin,
19479 basic_streambuf<_CharT, _Traits>* __sbout);
19480 # 121 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/streambuf" 3
19481 template<typename _CharT, typename _Traits>
19482 class basic_streambuf
19491 typedef _CharT char_type;
19492 typedef _Traits traits_type;
19493 typedef typename traits_type::int_type int_type;
19494 typedef typename traits_type::pos_type pos_type;
19495 typedef typename traits_type::off_type off_type;
19496 # 144 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/streambuf" 3
19497 typedef basic_streambuf<char_type, traits_type> __streambuf_type;
19500 friend class basic_ios<char_type, traits_type>;
19501 friend class basic_istream<char_type, traits_type>;
19502 friend class basic_ostream<char_type, traits_type>;
19503 friend class istreambuf_iterator<char_type, traits_type>;
19504 friend class ostreambuf_iterator<char_type, traits_type>;
19507 __copy_streambufs<>(__streambuf_type* __sbin,
19508 __streambuf_type* __sbout);
19510 template<typename _CharT2, typename _Traits2>
19511 friend basic_istream<_CharT2, _Traits2>&
19512 operator>>(basic_istream<_CharT2, _Traits2>&, _CharT2*);
19514 template<typename _CharT2, typename _Traits2, typename _Alloc>
19515 friend basic_istream<_CharT2, _Traits2>&
19516 operator>>(basic_istream<_CharT2, _Traits2>&,
19517 basic_string<_CharT2, _Traits2, _Alloc>&);
19519 template<typename _CharT2, typename _Traits2, typename _Alloc>
19520 friend basic_istream<_CharT2, _Traits2>&
19521 getline(basic_istream<_CharT2, _Traits2>&,
19522 basic_string<_CharT2, _Traits2, _Alloc>&, _CharT2);
19525 # 182 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/streambuf" 3
19526 char_type* _M_in_beg;
19527 char_type* _M_in_cur;
19528 char_type* _M_in_end;
19529 char_type* _M_out_beg;
19530 char_type* _M_out_cur;
19531 char_type* _M_out_end;
19538 locale _M_buf_locale;
19545 # 210 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/streambuf" 3
19547 pubimbue(const locale &__loc)
19549 locale __tmp(this->getloc());
19550 this->imbue(__loc);
19551 _M_buf_locale = __loc;
19554 # 227 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/streambuf" 3
19557 { return _M_buf_locale; }
19558 # 240 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/streambuf" 3
19560 pubsetbuf(char_type* __s, streamsize __n)
19561 { return this->setbuf(__s, __n); }
19564 pubseekoff(off_type __off, ios_base::seekdir __way,
19565 ios_base::openmode __mode = ios_base::in | ios_base::out)
19566 { return this->seekoff(__off, __way, __mode); }
19569 pubseekpos(pos_type __sp,
19570 ios_base::openmode __mode = ios_base::in | ios_base::out)
19571 { return this->seekpos(__sp, __mode); }
19574 pubsync() { return this->sync(); }
19575 # 267 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/streambuf" 3
19579 const streamsize __ret = this->egptr() - this->gptr();
19580 return __ret ? __ret : this->showmanyc();
19582 # 281 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/streambuf" 3
19586 int_type __ret = traits_type::eof();
19587 if (__builtin_expect(!traits_type::eq_int_type(this->sbumpc(),
19589 __ret = this->sgetc();
19592 # 299 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/streambuf" 3
19597 if (__builtin_expect(this->gptr() < this->egptr(), true))
19599 __ret = traits_type::to_int_type(*this->gptr());
19603 __ret = this->uflow();
19606 # 321 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/streambuf" 3
19611 if (__builtin_expect(this->gptr() < this->egptr(), true))
19612 __ret = traits_type::to_int_type(*this->gptr());
19614 __ret = this->underflow();
19617 # 340 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/streambuf" 3
19619 sgetn(char_type* __s, streamsize __n)
19620 { return this->xsgetn(__s, __n); }
19621 # 354 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/streambuf" 3
19623 sputbackc(char_type __c)
19626 const bool __testpos = this->eback() < this->gptr();
19627 if (__builtin_expect(!__testpos ||
19628 !traits_type::eq(__c, this->gptr()[-1]), false))
19629 __ret = this->pbackfail(traits_type::to_int_type(__c));
19633 __ret = traits_type::to_int_type(*this->gptr());
19637 # 379 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/streambuf" 3
19642 if (__builtin_expect(this->eback() < this->gptr(), true))
19645 __ret = traits_type::to_int_type(*this->gptr());
19648 __ret = this->pbackfail();
19651 # 406 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/streambuf" 3
19653 sputc(char_type __c)
19656 if (__builtin_expect(this->pptr() < this->epptr(), true))
19658 *this->pptr() = __c;
19660 __ret = traits_type::to_int_type(__c);
19663 __ret = this->overflow(traits_type::to_int_type(__c));
19666 # 432 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/streambuf" 3
19668 sputn(const char_type* __s, streamsize __n)
19669 { return this->xsputn(__s, __n); }
19672 # 446 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/streambuf" 3
19674 : _M_in_beg(0), _M_in_cur(0), _M_in_end(0),
19675 _M_out_beg(0), _M_out_cur(0), _M_out_end(0),
19676 _M_buf_locale(locale())
19678 # 464 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/streambuf" 3
19680 eback() const { return _M_in_beg; }
19683 gptr() const { return _M_in_cur; }
19686 egptr() const { return _M_in_end; }
19687 # 480 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/streambuf" 3
19689 gbump(int __n) { _M_in_cur += __n; }
19690 # 491 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/streambuf" 3
19692 setg(char_type* __gbeg, char_type* __gnext, char_type* __gend)
19694 _M_in_beg = __gbeg;
19695 _M_in_cur = __gnext;
19696 _M_in_end = __gend;
19698 # 511 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/streambuf" 3
19700 pbase() const { return _M_out_beg; }
19703 pptr() const { return _M_out_cur; }
19706 epptr() const { return _M_out_end; }
19707 # 527 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/streambuf" 3
19709 pbump(int __n) { _M_out_cur += __n; }
19710 # 537 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/streambuf" 3
19712 setp(char_type* __pbeg, char_type* __pend)
19714 _M_out_beg = _M_out_cur = __pbeg;
19715 _M_out_end = __pend;
19717 # 558 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/streambuf" 3
19719 imbue(const locale&)
19721 # 573 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/streambuf" 3
19722 virtual basic_streambuf<char_type,_Traits>*
19723 setbuf(char_type*, streamsize)
19725 # 584 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/streambuf" 3
19727 seekoff(off_type, ios_base::seekdir,
19728 ios_base::openmode = ios_base::in | ios_base::out)
19729 { return pos_type(off_type(-1)); }
19730 # 596 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/streambuf" 3
19733 ios_base::openmode = ios_base::in | ios_base::out)
19734 { return pos_type(off_type(-1)); }
19735 # 609 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/streambuf" 3
19737 sync() { return 0; }
19738 # 631 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/streambuf" 3
19740 showmanyc() { return 0; }
19741 # 647 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/streambuf" 3
19743 xsgetn(char_type* __s, streamsize __n);
19744 # 669 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/streambuf" 3
19747 { return traits_type::eof(); }
19748 # 682 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/streambuf" 3
19752 int_type __ret = traits_type::eof();
19753 const bool __testeof = traits_type::eq_int_type(this->underflow(),
19757 __ret = traits_type::to_int_type(*this->gptr());
19762 # 706 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/streambuf" 3
19764 pbackfail(int_type = traits_type::eof())
19765 { return traits_type::eof(); }
19766 # 724 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/streambuf" 3
19768 xsputn(const char_type* __s, streamsize __n);
19769 # 749 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/streambuf" 3
19771 overflow(int_type = traits_type::eof())
19772 { return traits_type::eof(); }
19773 # 778 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/streambuf" 3
19777 basic_streambuf(const __streambuf_type& __sb)
19778 : _M_in_beg(__sb._M_in_beg), _M_in_cur(__sb._M_in_cur),
19779 _M_in_end(__sb._M_in_end), _M_out_beg(__sb._M_out_beg),
19780 _M_out_cur(__sb._M_out_cur), _M_out_end(__sb._M_out_cur),
19781 _M_buf_locale(__sb._M_buf_locale)
19785 operator=(const __streambuf_type&) { return *this; };
19791 __copy_streambufs(basic_streambuf<char>* __sbin,
19792 basic_streambuf<char>* __sbout);
19802 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/streambuf.tcc" 1 3
19803 # 43 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/streambuf.tcc" 3
19805 # 44 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/streambuf.tcc" 3
19809 template<typename _CharT, typename _Traits>
19811 basic_streambuf<_CharT, _Traits>::
19812 xsgetn(char_type* __s, streamsize __n)
19814 streamsize __ret = 0;
19815 while (__ret < __n)
19817 const streamsize __buf_len = this->egptr() - this->gptr();
19820 const streamsize __remaining = __n - __ret;
19821 const streamsize __len = std::min(__buf_len, __remaining);
19822 traits_type::copy(__s, this->gptr(), __len);
19825 this->gbump(__len);
19830 const int_type __c = this->uflow();
19831 if (!traits_type::eq_int_type(__c, traits_type::eof()))
19833 traits_type::assign(*__s++, traits_type::to_char_type(__c));
19843 template<typename _CharT, typename _Traits>
19845 basic_streambuf<_CharT, _Traits>::
19846 xsputn(const char_type* __s, streamsize __n)
19848 streamsize __ret = 0;
19849 while (__ret < __n)
19851 const streamsize __buf_len = this->epptr() - this->pptr();
19854 const streamsize __remaining = __n - __ret;
19855 const streamsize __len = std::min(__buf_len, __remaining);
19856 traits_type::copy(this->pptr(), __s, __len);
19859 this->pbump(__len);
19864 int_type __c = this->overflow(traits_type::to_int_type(*__s));
19865 if (!traits_type::eq_int_type(__c, traits_type::eof()))
19880 template<typename _CharT, typename _Traits>
19882 __copy_streambufs(basic_streambuf<_CharT, _Traits>* __sbin,
19883 basic_streambuf<_CharT, _Traits>* __sbout)
19885 streamsize __ret = 0;
19886 typename _Traits::int_type __c = __sbin->sgetc();
19887 while (!_Traits::eq_int_type(__c, _Traits::eof()))
19889 __c = __sbout->sputc(_Traits::to_char_type(__c));
19890 if (_Traits::eq_int_type(__c, _Traits::eof()))
19893 __c = __sbin->snextc();
19902 extern template class basic_streambuf<char>;
19905 __copy_streambufs(basic_streambuf<char>*, basic_streambuf<char>*);
19906 # 152 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/streambuf.tcc" 3
19908 # 807 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/streambuf" 2 3
19909 # 50 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 2 3
19913 # 63 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
19914 template<typename _Tv>
19916 __convert_to_v(const char* __in, _Tv& __out, ios_base::iostate& __err,
19917 const __c_locale& __cloc);
19922 __convert_to_v(const char*, float&, ios_base::iostate&,
19923 const __c_locale&);
19927 __convert_to_v(const char*, double&, ios_base::iostate&,
19928 const __c_locale&);
19932 __convert_to_v(const char*, long double&, ios_base::iostate&,
19933 const __c_locale&);
19937 template<typename _CharT, typename _Traits>
19941 _S_pad(ios_base& __io, _CharT __fill, _CharT* __news,
19942 const _CharT* __olds, const streamsize __newlen,
19943 const streamsize __oldlen, const bool __num);
19951 template<typename _CharT>
19953 __add_grouping(_CharT* __s, _CharT __sep,
19954 const char* __gbeg, size_t __gsize,
19955 const _CharT* __first, const _CharT* __last);
19960 template<typename _CharT>
19962 ostreambuf_iterator<_CharT>
19963 __write(ostreambuf_iterator<_CharT> __s, const _CharT* __ws, int __len)
19965 __s._M_put(__ws, __len);
19970 template<typename _CharT, typename _OutIter>
19973 __write(_OutIter __s, const _CharT* __ws, int __len)
19975 for (int __j = 0; __j < __len; __j++, ++__s)
19983 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bfin-linux-uclibc/bits/ctype_base.h" 1 3
19984 # 43 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bfin-linux-uclibc/bits/ctype_base.h" 3
19990 typedef const __ctype_touplow_t* __to_type;
19994 typedef __ctype_mask_t mask;
19995 static const mask upper = _ISupper;
19996 static const mask lower = _ISlower;
19997 static const mask alpha = _ISalpha;
19998 static const mask digit = _ISdigit;
19999 static const mask xdigit = _ISxdigit;
20000 static const mask space = _ISspace;
20001 static const mask print = _ISprint;
20002 static const mask graph = _ISalpha | _ISdigit | _ISpunct;
20003 static const mask cntrl = _IScntrl;
20004 static const mask punct = _ISpunct;
20005 static const mask alnum = _ISalpha | _ISdigit;
20007 # 133 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 2 3
20008 # 144 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20009 template<typename _CharT>
20010 class __ctype_abstract_base : public locale::facet, public ctype_base
20015 typedef _CharT char_type;
20016 # 162 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20018 is(mask __m, char_type __c) const
20019 { return this->do_is(__m, __c); }
20020 # 179 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20022 is(const char_type *__lo, const char_type *__hi, mask *__vec) const
20023 { return this->do_is(__lo, __hi, __vec); }
20024 # 195 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20026 scan_is(mask __m, const char_type* __lo, const char_type* __hi) const
20027 { return this->do_scan_is(__m, __lo, __hi); }
20028 # 211 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20030 scan_not(mask __m, const char_type* __lo, const char_type* __hi) const
20031 { return this->do_scan_not(__m, __lo, __hi); }
20032 # 225 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20034 toupper(char_type __c) const
20035 { return this->do_toupper(__c); }
20036 # 240 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20038 toupper(char_type *__lo, const char_type* __hi) const
20039 { return this->do_toupper(__lo, __hi); }
20040 # 254 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20042 tolower(char_type __c) const
20043 { return this->do_tolower(__c); }
20044 # 269 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20046 tolower(char_type* __lo, const char_type* __hi) const
20047 { return this->do_tolower(__lo, __hi); }
20048 # 286 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20050 widen(char __c) const
20051 { return this->do_widen(__c); }
20052 # 305 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20054 widen(const char* __lo, const char* __hi, char_type* __to) const
20055 { return this->do_widen(__lo, __hi, __to); }
20056 # 324 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20058 narrow(char_type __c, char __dfault) const
20059 { return this->do_narrow(__c, __dfault); }
20060 # 346 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20062 narrow(const char_type* __lo, const char_type* __hi,
20063 char __dfault, char *__to) const
20064 { return this->do_narrow(__lo, __hi, __dfault, __to); }
20068 __ctype_abstract_base(size_t __refs = 0): facet(__refs) { }
20071 ~__ctype_abstract_base() { }
20072 # 371 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20074 do_is(mask __m, char_type __c) const = 0;
20075 # 390 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20076 virtual const char_type*
20077 do_is(const char_type* __lo, const char_type* __hi,
20078 mask* __vec) const = 0;
20079 # 409 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20080 virtual const char_type*
20081 do_scan_is(mask __m, const char_type* __lo,
20082 const char_type* __hi) const = 0;
20083 # 428 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20084 virtual const char_type*
20085 do_scan_not(mask __m, const char_type* __lo,
20086 const char_type* __hi) const = 0;
20087 # 446 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20089 do_toupper(char_type) const = 0;
20090 # 463 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20091 virtual const char_type*
20092 do_toupper(char_type* __lo, const char_type* __hi) const = 0;
20093 # 479 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20095 do_tolower(char_type) const = 0;
20096 # 496 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20097 virtual const char_type*
20098 do_tolower(char_type* __lo, const char_type* __hi) const = 0;
20099 # 515 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20101 do_widen(char) const = 0;
20102 # 536 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20103 virtual const char*
20104 do_widen(const char* __lo, const char* __hi,
20105 char_type* __dest) const = 0;
20106 # 558 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20108 do_narrow(char_type, char __dfault) const = 0;
20109 # 582 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20110 virtual const char_type*
20111 do_narrow(const char_type* __lo, const char_type* __hi,
20112 char __dfault, char* __dest) const = 0;
20114 # 605 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20115 template<typename _CharT>
20116 class ctype : public __ctype_abstract_base<_CharT>
20120 typedef _CharT char_type;
20121 typedef typename __ctype_abstract_base<_CharT>::mask mask;
20124 static locale::id id;
20127 ctype(size_t __refs = 0) : __ctype_abstract_base<_CharT>(__refs) { }
20134 do_is(mask __m, char_type __c) const;
20136 virtual const char_type*
20137 do_is(const char_type* __lo, const char_type* __hi, mask* __vec) const;
20139 virtual const char_type*
20140 do_scan_is(mask __m, const char_type* __lo, const char_type* __hi) const;
20142 virtual const char_type*
20143 do_scan_not(mask __m, const char_type* __lo,
20144 const char_type* __hi) const;
20147 do_toupper(char_type __c) const;
20149 virtual const char_type*
20150 do_toupper(char_type* __lo, const char_type* __hi) const;
20153 do_tolower(char_type __c) const;
20155 virtual const char_type*
20156 do_tolower(char_type* __lo, const char_type* __hi) const;
20159 do_widen(char __c) const;
20161 virtual const char*
20162 do_widen(const char* __lo, const char* __hi, char_type* __dest) const;
20165 do_narrow(char_type, char __dfault) const;
20167 virtual const char_type*
20168 do_narrow(const char_type* __lo, const char_type* __hi,
20169 char __dfault, char* __dest) const;
20172 template<typename _CharT>
20173 locale::id ctype<_CharT>::id;
20174 # 674 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20176 class ctype<char> : public locale::facet, public ctype_base
20181 typedef char char_type;
20185 __c_locale _M_c_locale_ctype;
20187 __to_type _M_toupper;
20188 __to_type _M_tolower;
20189 const mask* _M_table;
20190 mutable char _M_widen_ok;
20191 mutable char _M_widen[1 + static_cast<unsigned char>(-1)];
20192 mutable char _M_narrow[1 + static_cast<unsigned char>(-1)];
20193 mutable char _M_narrow_ok;
20198 static locale::id id;
20200 static const size_t table_size = 1 + static_cast<unsigned char>(-1);
20201 # 711 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20203 ctype(const mask* __table = 0, bool __del = false, size_t __refs = 0);
20204 # 724 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20206 ctype(__c_locale __cloc, const mask* __table = 0, bool __del = false,
20207 size_t __refs = 0);
20208 # 737 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20210 is(mask __m, char __c) const;
20211 # 752 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20213 is(const char* __lo, const char* __hi, mask* __vec) const;
20214 # 766 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20216 scan_is(mask __m, const char* __lo, const char* __hi) const;
20217 # 780 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20219 scan_not(mask __m, const char* __lo, const char* __hi) const;
20220 # 795 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20222 toupper(char_type __c) const
20223 { return this->do_toupper(__c); }
20224 # 812 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20226 toupper(char_type *__lo, const char_type* __hi) const
20227 { return this->do_toupper(__lo, __hi); }
20228 # 828 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20230 tolower(char_type __c) const
20231 { return this->do_tolower(__c); }
20232 # 845 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20234 tolower(char_type* __lo, const char_type* __hi) const
20235 { return this->do_tolower(__lo, __hi); }
20236 # 865 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20238 widen(char __c) const
20241 return _M_widen[static_cast<unsigned char>(__c)];
20242 this->_M_widen_init();
20243 return this->do_widen(__c);
20245 # 892 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20247 widen(const char* __lo, const char* __hi, char_type* __to) const
20249 if (_M_widen_ok == 1)
20251 memcpy(__to, __lo, __hi - __lo);
20256 return this->do_widen(__lo, __hi, __to);
20258 # 923 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20260 narrow(char_type __c, char __dfault) const
20262 if (_M_narrow[static_cast<unsigned char>(__c)])
20263 return _M_narrow[static_cast<unsigned char>(__c)];
20264 const char __t = do_narrow(__c, __dfault);
20265 if (__t != __dfault)
20266 _M_narrow[static_cast<unsigned char>(__c)] = __t;
20269 # 956 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20271 narrow(const char_type* __lo, const char_type* __hi,
20272 char __dfault, char *__to) const
20274 if (__builtin_expect(_M_narrow_ok == 1, true))
20276 memcpy(__to, __lo, __hi - __lo);
20281 return this->do_narrow(__lo, __hi, __dfault, __to);
20288 table() const throw()
20289 { return _M_table; }
20293 classic_table() throw();
20303 # 1003 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20305 do_toupper(char_type) const;
20306 # 1020 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20307 virtual const char_type*
20308 do_toupper(char_type* __lo, const char_type* __hi) const;
20309 # 1036 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20311 do_tolower(char_type) const;
20312 # 1053 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20313 virtual const char_type*
20314 do_tolower(char_type* __lo, const char_type* __hi) const;
20315 # 1073 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20317 do_widen(char __c) const
20319 # 1096 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20320 virtual const char*
20321 do_widen(const char* __lo, const char* __hi, char_type* __dest) const
20323 memcpy(__dest, __lo, __hi - __lo);
20326 # 1122 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20328 do_narrow(char_type __c, char) const
20330 # 1148 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20331 virtual const char_type*
20332 do_narrow(const char_type* __lo, const char_type* __hi,
20333 char, char* __dest) const
20335 memcpy(__dest, __lo, __hi - __lo);
20341 void _M_widen_init() const
20343 char __tmp[sizeof(_M_widen)];
20344 for (size_t __i = 0; __i < sizeof(_M_widen); ++__i)
20346 do_widen(__tmp, __tmp + sizeof(__tmp), _M_widen);
20350 if (memcmp(__tmp, _M_widen, sizeof(_M_widen)))
20357 void _M_narrow_init() const
20359 char __tmp[sizeof(_M_narrow)];
20360 for (size_t __i = 0; __i < sizeof(_M_narrow); ++__i)
20362 do_narrow(__tmp, __tmp + sizeof(__tmp), 0, _M_narrow);
20365 if (memcmp(__tmp, _M_narrow, sizeof(_M_narrow)))
20372 do_narrow(__tmp, __tmp + 1, 1, &__c);
20381 use_facet<ctype<char> >(const locale& __loc);
20382 # 1508 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20383 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bfin-linux-uclibc/bits/ctype_inline.h" 1 3
20384 # 37 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bfin-linux-uclibc/bits/ctype_inline.h" 3
20387 is(mask __m, char __c) const
20388 { return _M_table[static_cast<unsigned char>(__c)] & __m; }
20392 is(const char* __low, const char* __high, mask* __vec) const
20394 while (__low < __high)
20395 *__vec++ = _M_table[static_cast<unsigned char>(*__low++)];
20401 scan_is(mask __m, const char* __low, const char* __high) const
20403 while (__low < __high
20404 && !(_M_table[static_cast<unsigned char>(*__low)] & __m))
20411 scan_not(mask __m, const char* __low, const char* __high) const
20413 while (__low < __high
20414 && (_M_table[static_cast<unsigned char>(*__low)] & __m) != 0)
20418 # 1509 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 2 3
20421 template<typename _CharT>
20422 class ctype_byname : public ctype<_CharT>
20425 typedef _CharT char_type;
20428 ctype_byname(const char* __s, size_t __refs = 0);
20432 ~ctype_byname() { };
20437 ctype_byname<char>::ctype_byname(const char*, size_t refs);
20440 ctype_byname<wchar_t>::ctype_byname(const char*, size_t refs);
20443 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/codecvt.h" 1 3
20444 # 45 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/codecvt.h" 3
20446 # 46 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/codecvt.h" 3
20460 # 69 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/codecvt.h" 3
20461 template<typename _InternT, typename _ExternT, typename _StateT>
20462 class __codecvt_abstract_base
20463 : public locale::facet, public codecvt_base
20467 typedef codecvt_base::result result;
20468 typedef _InternT intern_type;
20469 typedef _ExternT extern_type;
20470 typedef _StateT state_type;
20471 # 117 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/codecvt.h" 3
20473 out(state_type& __state, const intern_type* __from,
20474 const intern_type* __from_end, const intern_type*& __from_next,
20475 extern_type* __to, extern_type* __to_end,
20476 extern_type*& __to_next) const
20478 return this->do_out(__state, __from, __from_end, __from_next,
20479 __to, __to_end, __to_next);
20481 # 156 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/codecvt.h" 3
20483 unshift(state_type& __state, extern_type* __to, extern_type* __to_end,
20484 extern_type*& __to_next) const
20485 { return this->do_unshift(__state, __to,__to_end,__to_next); }
20486 # 197 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/codecvt.h" 3
20488 in(state_type& __state, const extern_type* __from,
20489 const extern_type* __from_end, const extern_type*& __from_next,
20490 intern_type* __to, intern_type* __to_end,
20491 intern_type*& __to_next) const
20493 return this->do_in(__state, __from, __from_end, __from_next,
20494 __to, __to_end, __to_next);
20498 encoding() const throw()
20499 { return this->do_encoding(); }
20502 always_noconv() const throw()
20503 { return this->do_always_noconv(); }
20506 length(state_type& __state, const extern_type* __from,
20507 const extern_type* __end, size_t __max) const
20508 { return this->do_length(__state, __from, __end, __max); }
20511 max_length() const throw()
20512 { return this->do_max_length(); }
20516 __codecvt_abstract_base(size_t __refs = 0) : locale::facet(__refs) { }
20519 ~__codecvt_abstract_base() { }
20520 # 238 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/codecvt.h" 3
20522 do_out(state_type& __state, const intern_type* __from,
20523 const intern_type* __from_end, const intern_type*& __from_next,
20524 extern_type* __to, extern_type* __to_end,
20525 extern_type*& __to_next) const = 0;
20528 do_unshift(state_type& __state, extern_type* __to,
20529 extern_type* __to_end, extern_type*& __to_next) const = 0;
20532 do_in(state_type& __state, const extern_type* __from,
20533 const extern_type* __from_end, const extern_type*& __from_next,
20534 intern_type* __to, intern_type* __to_end,
20535 intern_type*& __to_next) const = 0;
20538 do_encoding() const throw() = 0;
20541 do_always_noconv() const throw() = 0;
20544 do_length(state_type&, const extern_type* __from,
20545 const extern_type* __end, size_t __max) const = 0;
20548 do_max_length() const throw() = 0;
20553 template<typename _InternT, typename _ExternT, typename _StateT>
20555 : public __codecvt_abstract_base<_InternT, _ExternT, _StateT>
20559 typedef codecvt_base::result result;
20560 typedef _InternT intern_type;
20561 typedef _ExternT extern_type;
20562 typedef _StateT state_type;
20565 __c_locale _M_c_locale_codecvt;
20568 static locale::id id;
20571 codecvt(size_t __refs = 0)
20572 : __codecvt_abstract_base<_InternT, _ExternT, _StateT> (__refs) { }
20575 codecvt(__c_locale __cloc, size_t __refs = 0);
20582 do_out(state_type& __state, const intern_type* __from,
20583 const intern_type* __from_end, const intern_type*& __from_next,
20584 extern_type* __to, extern_type* __to_end,
20585 extern_type*& __to_next) const;
20588 do_unshift(state_type& __state, extern_type* __to,
20589 extern_type* __to_end, extern_type*& __to_next) const;
20592 do_in(state_type& __state, const extern_type* __from,
20593 const extern_type* __from_end, const extern_type*& __from_next,
20594 intern_type* __to, intern_type* __to_end,
20595 intern_type*& __to_next) const;
20598 do_encoding() const throw();
20601 do_always_noconv() const throw();
20604 do_length(state_type&, const extern_type* __from,
20605 const extern_type* __end, size_t __max) const;
20608 do_max_length() const throw();
20611 template<typename _InternT, typename _ExternT, typename _StateT>
20612 locale::id codecvt<_InternT, _ExternT, _StateT>::id;
20616 class codecvt<char, char, mbstate_t>
20617 : public __codecvt_abstract_base<char, char, mbstate_t>
20621 typedef char intern_type;
20622 typedef char extern_type;
20623 typedef mbstate_t state_type;
20626 __c_locale _M_c_locale_codecvt;
20629 static locale::id id;
20632 codecvt(size_t __refs = 0);
20635 codecvt(__c_locale __cloc, size_t __refs = 0);
20642 do_out(state_type& __state, const intern_type* __from,
20643 const intern_type* __from_end, const intern_type*& __from_next,
20644 extern_type* __to, extern_type* __to_end,
20645 extern_type*& __to_next) const;
20648 do_unshift(state_type& __state, extern_type* __to,
20649 extern_type* __to_end, extern_type*& __to_next) const;
20652 do_in(state_type& __state, const extern_type* __from,
20653 const extern_type* __from_end, const extern_type*& __from_next,
20654 intern_type* __to, intern_type* __to_end,
20655 intern_type*& __to_next) const;
20658 do_encoding() const throw();
20661 do_always_noconv() const throw();
20664 do_length(state_type&, const extern_type* __from,
20665 const extern_type* __end, size_t __max) const;
20668 do_max_length() const throw();
20670 # 450 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/codecvt.h" 3
20671 template<typename _InternT, typename _ExternT, typename _StateT>
20672 class codecvt_byname : public codecvt<_InternT, _ExternT, _StateT>
20676 codecvt_byname(const char* __s, size_t __refs = 0)
20677 : codecvt<_InternT, _ExternT, _StateT>(__refs)
20679 if (std::strcmp(__s, "C") != 0 && std::strcmp(__s, "POSIX") != 0)
20681 this->_S_destroy_c_locale(this->_M_c_locale_codecvt);
20682 this->_S_create_c_locale(this->_M_c_locale_codecvt, __s);
20688 ~codecvt_byname() { }
20690 # 1534 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 2 3
20705 _S_odigits_end = _S_odigits + 16,
20706 _S_oudigits = _S_odigits_end,
20707 _S_oudigits_end = _S_oudigits + 16,
20708 _S_oe = _S_odigits + 14,
20709 _S_oE = _S_oudigits + 14,
20710 _S_oend = _S_oudigits_end
20718 static const char* _S_atoms_out;
20722 static const char* _S_atoms_in;
20731 _S_ie = _S_izero + 14,
20732 _S_iE = _S_izero + 20,
20739 _S_format_float(const ios_base& __io, char* __fptr, char __mod);
20742 template<typename _CharT>
20743 struct __numpunct_cache : public locale::facet
20745 const char* _M_grouping;
20746 size_t _M_grouping_size;
20747 bool _M_use_grouping;
20748 const _CharT* _M_truename;
20749 size_t _M_truename_size;
20750 const _CharT* _M_falsename;
20751 size_t _M_falsename_size;
20752 _CharT _M_decimal_point;
20753 _CharT _M_thousands_sep;
20759 _CharT _M_atoms_out[__num_base::_S_oend];
20765 _CharT _M_atoms_in[__num_base::_S_iend];
20769 __numpunct_cache(size_t __refs = 0) : facet(__refs),
20770 _M_grouping(__null), _M_grouping_size(0), _M_use_grouping(false),
20771 _M_truename(__null), _M_truename_size(0), _M_falsename(__null),
20772 _M_falsename_size(0), _M_decimal_point(_CharT()),
20773 _M_thousands_sep(_CharT()), _M_allocated(false)
20776 ~__numpunct_cache();
20779 _M_cache(const locale& __loc);
20783 operator=(const __numpunct_cache&);
20786 __numpunct_cache(const __numpunct_cache&);
20789 template<typename _CharT>
20790 __numpunct_cache<_CharT>::~__numpunct_cache()
20794 delete [] _M_grouping;
20795 delete [] _M_truename;
20796 delete [] _M_falsename;
20799 # 1656 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20800 template<typename _CharT>
20801 class numpunct : public locale::facet
20807 typedef _CharT char_type;
20808 typedef basic_string<_CharT> string_type;
20810 typedef __numpunct_cache<_CharT> __cache_type;
20813 __cache_type* _M_data;
20817 static locale::id id;
20825 numpunct(size_t __refs = 0) : facet(__refs), _M_data(__null)
20826 { _M_initialize_numpunct(); }
20827 # 1693 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20829 numpunct(__cache_type* __cache, size_t __refs = 0)
20830 : facet(__refs), _M_data(__cache)
20831 { _M_initialize_numpunct(); }
20832 # 1707 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20834 numpunct(__c_locale __cloc, size_t __refs = 0)
20835 : facet(__refs), _M_data(__null)
20836 { _M_initialize_numpunct(__cloc); }
20837 # 1721 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20839 decimal_point() const
20840 { return this->do_decimal_point(); }
20841 # 1734 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20843 thousands_sep() const
20844 { return this->do_thousands_sep(); }
20845 # 1765 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20848 { return this->do_grouping(); }
20849 # 1778 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20852 { return this->do_truename(); }
20853 # 1791 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20856 { return this->do_falsename(); }
20862 # 1808 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20864 do_decimal_point() const
20865 { return _M_data->_M_decimal_point; }
20866 # 1820 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20868 do_thousands_sep() const
20869 { return _M_data->_M_thousands_sep; }
20870 # 1833 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20872 do_grouping() const
20873 { return _M_data->_M_grouping; }
20874 # 1846 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20875 virtual string_type
20876 do_truename() const
20877 { return _M_data->_M_truename; }
20878 # 1859 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20879 virtual string_type
20880 do_falsename() const
20881 { return _M_data->_M_falsename; }
20885 _M_initialize_numpunct(__c_locale __cloc = __null);
20888 template<typename _CharT>
20889 locale::id numpunct<_CharT>::id;
20892 numpunct<char>::~numpunct();
20896 numpunct<char>::_M_initialize_numpunct(__c_locale __cloc);
20897 # 1888 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20898 template<typename _CharT>
20899 class numpunct_byname : public numpunct<_CharT>
20902 typedef _CharT char_type;
20903 typedef basic_string<_CharT> string_type;
20906 numpunct_byname(const char* __s, size_t __refs = 0)
20907 : numpunct<_CharT>(__refs)
20909 if (std::strcmp(__s, "C") != 0 && std::strcmp(__s, "POSIX") != 0)
20912 this->_S_create_c_locale(__tmp, __s);
20913 this->_M_initialize_numpunct(__tmp);
20914 this->_S_destroy_c_locale(__tmp);
20920 ~numpunct_byname() { }
20922 # 1925 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20923 template<typename _CharT, typename _InIter>
20924 class num_get : public locale::facet
20930 typedef _CharT char_type;
20931 typedef _InIter iter_type;
20935 static locale::id id;
20936 # 1946 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20938 num_get(size_t __refs = 0) : facet(__refs) { }
20939 # 1972 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20941 get(iter_type __in, iter_type __end, ios_base& __io,
20942 ios_base::iostate& __err, bool& __v) const
20943 { return this->do_get(__in, __end, __io, __err, __v); }
20944 # 2008 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20946 get(iter_type __in, iter_type __end, ios_base& __io,
20947 ios_base::iostate& __err, long& __v) const
20948 { return this->do_get(__in, __end, __io, __err, __v); }
20951 get(iter_type __in, iter_type __end, ios_base& __io,
20952 ios_base::iostate& __err, unsigned short& __v) const
20953 { return this->do_get(__in, __end, __io, __err, __v); }
20956 get(iter_type __in, iter_type __end, ios_base& __io,
20957 ios_base::iostate& __err, unsigned int& __v) const
20958 { return this->do_get(__in, __end, __io, __err, __v); }
20961 get(iter_type __in, iter_type __end, ios_base& __io,
20962 ios_base::iostate& __err, unsigned long& __v) const
20963 { return this->do_get(__in, __end, __io, __err, __v); }
20967 get(iter_type __in, iter_type __end, ios_base& __io,
20968 ios_base::iostate& __err, long long& __v) const
20969 { return this->do_get(__in, __end, __io, __err, __v); }
20972 get(iter_type __in, iter_type __end, ios_base& __io,
20973 ios_base::iostate& __err, unsigned long long& __v) const
20974 { return this->do_get(__in, __end, __io, __err, __v); }
20975 # 2067 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20977 get(iter_type __in, iter_type __end, ios_base& __io,
20978 ios_base::iostate& __err, float& __v) const
20979 { return this->do_get(__in, __end, __io, __err, __v); }
20982 get(iter_type __in, iter_type __end, ios_base& __io,
20983 ios_base::iostate& __err, double& __v) const
20984 { return this->do_get(__in, __end, __io, __err, __v); }
20987 get(iter_type __in, iter_type __end, ios_base& __io,
20988 ios_base::iostate& __err, long double& __v) const
20989 { return this->do_get(__in, __end, __io, __err, __v); }
20990 # 2109 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
20992 get(iter_type __in, iter_type __end, ios_base& __io,
20993 ios_base::iostate& __err, void*& __v) const
20994 { return this->do_get(__in, __end, __io, __err, __v); }
20998 virtual ~num_get() { }
21001 _M_extract_float(iter_type, iter_type, ios_base&, ios_base::iostate&,
21002 string& __xtrc) const;
21004 template<typename _ValueT>
21006 _M_extract_int(iter_type, iter_type, ios_base&, ios_base::iostate&,
21007 _ValueT& __v) const;
21008 # 2142 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21010 do_get(iter_type, iter_type, ios_base&, ios_base::iostate&, bool&) const;
21014 do_get(iter_type, iter_type, ios_base&, ios_base::iostate&, long&) const;
21017 do_get(iter_type, iter_type, ios_base&, ios_base::iostate& __err,
21018 unsigned short&) const;
21021 do_get(iter_type, iter_type, ios_base&, ios_base::iostate& __err,
21022 unsigned int&) const;
21025 do_get(iter_type, iter_type, ios_base&, ios_base::iostate& __err,
21026 unsigned long&) const;
21030 do_get(iter_type, iter_type, ios_base&, ios_base::iostate& __err,
21034 do_get(iter_type, iter_type, ios_base&, ios_base::iostate& __err,
21035 unsigned long long&) const;
21039 do_get(iter_type, iter_type, ios_base&, ios_base::iostate& __err,
21043 do_get(iter_type, iter_type, ios_base&, ios_base::iostate& __err,
21047 do_get(iter_type, iter_type, ios_base&, ios_base::iostate& __err,
21048 long double&) const;
21051 do_get(iter_type, iter_type, ios_base&, ios_base::iostate& __err,
21056 template<typename _CharT, typename _InIter>
21057 locale::id num_get<_CharT, _InIter>::id;
21058 # 2204 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21059 template<typename _CharT, typename _OutIter>
21060 class num_put : public locale::facet
21066 typedef _CharT char_type;
21067 typedef _OutIter iter_type;
21071 static locale::id id;
21072 # 2225 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21074 num_put(size_t __refs = 0) : facet(__refs) { }
21075 # 2243 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21077 put(iter_type __s, ios_base& __f, char_type __fill, bool __v) const
21078 { return this->do_put(__s, __f, __fill, __v); }
21079 # 2285 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21081 put(iter_type __s, ios_base& __f, char_type __fill, long __v) const
21082 { return this->do_put(__s, __f, __fill, __v); }
21085 put(iter_type __s, ios_base& __f, char_type __fill,
21086 unsigned long __v) const
21087 { return this->do_put(__s, __f, __fill, __v); }
21091 put(iter_type __s, ios_base& __f, char_type __fill, long long __v) const
21092 { return this->do_put(__s, __f, __fill, __v); }
21095 put(iter_type __s, ios_base& __f, char_type __fill,
21096 unsigned long long __v) const
21097 { return this->do_put(__s, __f, __fill, __v); }
21098 # 2348 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21100 put(iter_type __s, ios_base& __f, char_type __fill, double __v) const
21101 { return this->do_put(__s, __f, __fill, __v); }
21104 put(iter_type __s, ios_base& __f, char_type __fill,
21105 long double __v) const
21106 { return this->do_put(__s, __f, __fill, __v); }
21107 # 2373 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21109 put(iter_type __s, ios_base& __f, char_type __fill,
21110 const void* __v) const
21111 { return this->do_put(__s, __f, __fill, __v); }
21114 template<typename _ValueT>
21116 _M_insert_float(iter_type, ios_base& __io, char_type __fill,
21117 char __mod, _ValueT __v) const;
21120 _M_group_float(const char* __grouping, size_t __grouping_size,
21121 char_type __sep, const char_type* __p, char_type* __new,
21122 char_type* __cs, int& __len) const;
21124 template<typename _ValueT>
21126 _M_insert_int(iter_type, ios_base& __io, char_type __fill,
21127 _ValueT __v) const;
21130 _M_group_int(const char* __grouping, size_t __grouping_size,
21131 char_type __sep, ios_base& __io, char_type* __new,
21132 char_type* __cs, int& __len) const;
21135 _M_pad(char_type __fill, streamsize __w, ios_base& __io,
21136 char_type* __new, const char_type* __cs, int& __len) const;
21141 # 2421 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21143 do_put(iter_type, ios_base&, char_type __fill, bool __v) const;
21146 do_put(iter_type, ios_base&, char_type __fill, long __v) const;
21149 do_put(iter_type, ios_base&, char_type __fill, unsigned long) const;
21153 do_put(iter_type, ios_base&, char_type __fill, long long __v) const;
21156 do_put(iter_type, ios_base&, char_type __fill, unsigned long long) const;
21160 do_put(iter_type, ios_base&, char_type __fill, double __v) const;
21163 do_put(iter_type, ios_base&, char_type __fill, long double __v) const;
21166 do_put(iter_type, ios_base&, char_type __fill, const void* __v) const;
21170 template <typename _CharT, typename _OutIter>
21171 locale::id num_put<_CharT, _OutIter>::id;
21172 # 2465 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21173 template<typename _CharT>
21174 class collate : public locale::facet
21180 typedef _CharT char_type;
21181 typedef basic_string<_CharT> string_type;
21187 __c_locale _M_c_locale_collate;
21191 static locale::id id;
21192 # 2492 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21194 collate(size_t __refs = 0)
21195 : facet(__refs), _M_c_locale_collate(_S_get_c_locale())
21197 # 2506 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21199 collate(__c_locale __cloc, size_t __refs = 0)
21200 : facet(__refs), _M_c_locale_collate(_S_clone_c_locale(__cloc))
21202 # 2523 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21204 compare(const _CharT* __lo1, const _CharT* __hi1,
21205 const _CharT* __lo2, const _CharT* __hi2) const
21206 { return this->do_compare(__lo1, __hi1, __lo2, __hi2); }
21207 # 2542 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21209 transform(const _CharT* __lo, const _CharT* __hi) const
21210 { return this->do_transform(__lo, __hi); }
21211 # 2556 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21213 hash(const _CharT* __lo, const _CharT* __hi) const
21214 { return this->do_hash(__lo, __hi); }
21218 _M_compare(const _CharT*, const _CharT*) const;
21221 _M_transform(_CharT*, const _CharT*, size_t) const;
21227 { _S_destroy_c_locale(_M_c_locale_collate); }
21228 # 2585 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21230 do_compare(const _CharT* __lo1, const _CharT* __hi1,
21231 const _CharT* __lo2, const _CharT* __hi2) const;
21232 # 2601 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21233 virtual string_type
21234 do_transform(const _CharT* __lo, const _CharT* __hi) const;
21235 # 2614 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21237 do_hash(const _CharT* __lo, const _CharT* __hi) const;
21240 template<typename _CharT>
21241 locale::id collate<_CharT>::id;
21246 collate<char>::_M_compare(const char*, const char*) const;
21250 collate<char>::_M_transform(char*, const char*, size_t) const;
21251 # 2641 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21252 template<typename _CharT>
21253 class collate_byname : public collate<_CharT>
21258 typedef _CharT char_type;
21259 typedef basic_string<_CharT> string_type;
21263 collate_byname(const char* __s, size_t __refs = 0)
21264 : collate<_CharT>(__refs)
21266 if (std::strcmp(__s, "C") != 0 && std::strcmp(__s, "POSIX") != 0)
21268 this->_S_destroy_c_locale(this->_M_c_locale_collate);
21269 this->_S_create_c_locale(this->_M_c_locale_collate, __s);
21275 ~collate_byname() { }
21277 # 2674 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21281 enum dateorder { no_order, dmy, mdy, ymd, ydm };
21284 template<typename _CharT>
21285 struct __timepunct_cache : public locale::facet
21288 static const _CharT* _S_timezones[14];
21290 const _CharT* _M_date_format;
21291 const _CharT* _M_date_era_format;
21292 const _CharT* _M_time_format;
21293 const _CharT* _M_time_era_format;
21294 const _CharT* _M_date_time_format;
21295 const _CharT* _M_date_time_era_format;
21296 const _CharT* _M_am;
21297 const _CharT* _M_pm;
21298 const _CharT* _M_am_pm_format;
21301 const _CharT* _M_day1;
21302 const _CharT* _M_day2;
21303 const _CharT* _M_day3;
21304 const _CharT* _M_day4;
21305 const _CharT* _M_day5;
21306 const _CharT* _M_day6;
21307 const _CharT* _M_day7;
21310 const _CharT* _M_aday1;
21311 const _CharT* _M_aday2;
21312 const _CharT* _M_aday3;
21313 const _CharT* _M_aday4;
21314 const _CharT* _M_aday5;
21315 const _CharT* _M_aday6;
21316 const _CharT* _M_aday7;
21319 const _CharT* _M_month01;
21320 const _CharT* _M_month02;
21321 const _CharT* _M_month03;
21322 const _CharT* _M_month04;
21323 const _CharT* _M_month05;
21324 const _CharT* _M_month06;
21325 const _CharT* _M_month07;
21326 const _CharT* _M_month08;
21327 const _CharT* _M_month09;
21328 const _CharT* _M_month10;
21329 const _CharT* _M_month11;
21330 const _CharT* _M_month12;
21333 const _CharT* _M_amonth01;
21334 const _CharT* _M_amonth02;
21335 const _CharT* _M_amonth03;
21336 const _CharT* _M_amonth04;
21337 const _CharT* _M_amonth05;
21338 const _CharT* _M_amonth06;
21339 const _CharT* _M_amonth07;
21340 const _CharT* _M_amonth08;
21341 const _CharT* _M_amonth09;
21342 const _CharT* _M_amonth10;
21343 const _CharT* _M_amonth11;
21344 const _CharT* _M_amonth12;
21348 __timepunct_cache(size_t __refs = 0) : facet(__refs),
21349 _M_date_format(__null), _M_date_era_format(__null), _M_time_format(__null),
21350 _M_time_era_format(__null), _M_date_time_format(__null),
21351 _M_date_time_era_format(__null), _M_am(__null), _M_pm(__null),
21352 _M_am_pm_format(__null), _M_day1(__null), _M_day2(__null), _M_day3(__null),
21353 _M_day4(__null), _M_day5(__null), _M_day6(__null), _M_day7(__null),
21354 _M_aday1(__null), _M_aday2(__null), _M_aday3(__null), _M_aday4(__null),
21355 _M_aday5(__null), _M_aday6(__null), _M_aday7(__null), _M_month01(__null),
21356 _M_month02(__null), _M_month03(__null), _M_month04(__null), _M_month05(__null),
21357 _M_month06(__null), _M_month07(__null), _M_month08(__null), _M_month09(__null),
21358 _M_month10(__null), _M_month11(__null), _M_month12(__null), _M_amonth01(__null),
21359 _M_amonth02(__null), _M_amonth03(__null), _M_amonth04(__null),
21360 _M_amonth05(__null), _M_amonth06(__null), _M_amonth07(__null),
21361 _M_amonth08(__null), _M_amonth09(__null), _M_amonth10(__null),
21362 _M_amonth11(__null), _M_amonth12(__null), _M_allocated(false)
21365 ~__timepunct_cache();
21368 _M_cache(const locale& __loc);
21372 operator=(const __timepunct_cache&);
21375 __timepunct_cache(const __timepunct_cache&);
21378 template<typename _CharT>
21379 __timepunct_cache<_CharT>::~__timepunct_cache()
21390 __timepunct_cache<char>::_S_timezones[14];
21391 # 2795 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21392 template<typename _CharT>
21393 const _CharT* __timepunct_cache<_CharT>::_S_timezones[14];
21395 template<typename _CharT>
21396 class __timepunct : public locale::facet
21400 typedef _CharT __char_type;
21401 typedef basic_string<_CharT> __string_type;
21402 typedef __timepunct_cache<_CharT> __cache_type;
21405 __cache_type* _M_data;
21406 __c_locale _M_c_locale_timepunct;
21407 const char* _M_name_timepunct;
21411 static locale::id id;
21414 __timepunct(size_t __refs = 0);
21417 __timepunct(__cache_type* __cache, size_t __refs = 0);
21418 # 2832 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21420 __timepunct(__c_locale __cloc, const char* __s, size_t __refs = 0);
21425 _M_put(_CharT* __s, size_t __maxlen, const _CharT* __format,
21426 const tm* __tm) const;
21429 _M_date_formats(const _CharT** __date) const
21432 __date[0] = _M_data->_M_date_format;
21433 __date[1] = _M_data->_M_date_era_format;
21437 _M_time_formats(const _CharT** __time) const
21440 __time[0] = _M_data->_M_time_format;
21441 __time[1] = _M_data->_M_time_era_format;
21445 _M_date_time_formats(const _CharT** __dt) const
21448 __dt[0] = _M_data->_M_date_time_format;
21449 __dt[1] = _M_data->_M_date_time_era_format;
21453 _M_am_pm_format(const _CharT* __ampm) const
21454 { __ampm = _M_data->_M_am_pm_format; }
21457 _M_am_pm(const _CharT** __ampm) const
21459 __ampm[0] = _M_data->_M_am;
21460 __ampm[1] = _M_data->_M_pm;
21464 _M_days(const _CharT** __days) const
21466 __days[0] = _M_data->_M_day1;
21467 __days[1] = _M_data->_M_day2;
21468 __days[2] = _M_data->_M_day3;
21469 __days[3] = _M_data->_M_day4;
21470 __days[4] = _M_data->_M_day5;
21471 __days[5] = _M_data->_M_day6;
21472 __days[6] = _M_data->_M_day7;
21476 _M_days_abbreviated(const _CharT** __days) const
21478 __days[0] = _M_data->_M_aday1;
21479 __days[1] = _M_data->_M_aday2;
21480 __days[2] = _M_data->_M_aday3;
21481 __days[3] = _M_data->_M_aday4;
21482 __days[4] = _M_data->_M_aday5;
21483 __days[5] = _M_data->_M_aday6;
21484 __days[6] = _M_data->_M_aday7;
21488 _M_months(const _CharT** __months) const
21490 __months[0] = _M_data->_M_month01;
21491 __months[1] = _M_data->_M_month02;
21492 __months[2] = _M_data->_M_month03;
21493 __months[3] = _M_data->_M_month04;
21494 __months[4] = _M_data->_M_month05;
21495 __months[5] = _M_data->_M_month06;
21496 __months[6] = _M_data->_M_month07;
21497 __months[7] = _M_data->_M_month08;
21498 __months[8] = _M_data->_M_month09;
21499 __months[9] = _M_data->_M_month10;
21500 __months[10] = _M_data->_M_month11;
21501 __months[11] = _M_data->_M_month12;
21505 _M_months_abbreviated(const _CharT** __months) const
21507 __months[0] = _M_data->_M_amonth01;
21508 __months[1] = _M_data->_M_amonth02;
21509 __months[2] = _M_data->_M_amonth03;
21510 __months[3] = _M_data->_M_amonth04;
21511 __months[4] = _M_data->_M_amonth05;
21512 __months[5] = _M_data->_M_amonth06;
21513 __months[6] = _M_data->_M_amonth07;
21514 __months[7] = _M_data->_M_amonth08;
21515 __months[8] = _M_data->_M_amonth09;
21516 __months[9] = _M_data->_M_amonth10;
21517 __months[10] = _M_data->_M_amonth11;
21518 __months[11] = _M_data->_M_amonth12;
21527 _M_initialize_timepunct(__c_locale __cloc = __null);
21530 template<typename _CharT>
21531 locale::id __timepunct<_CharT>::id;
21536 __timepunct<char>::_M_initialize_timepunct(__c_locale __cloc);
21540 __timepunct<char>::_M_put(char*, size_t, const char*, const tm*) const;
21541 # 2967 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21542 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bfin-linux-uclibc/bits/time_members.h" 1 3
21543 # 37 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bfin-linux-uclibc/bits/time_members.h" 3
21544 template<typename _CharT>
21545 __timepunct<_CharT>::__timepunct(size_t __refs)
21546 : facet(__refs), _M_data(__null)
21548 _M_name_timepunct = _S_get_c_name();
21549 _M_initialize_timepunct();
21552 template<typename _CharT>
21553 __timepunct<_CharT>::__timepunct(__cache_type* __cache, size_t __refs)
21554 : facet(__refs), _M_data(__cache)
21556 _M_name_timepunct = _S_get_c_name();
21557 _M_initialize_timepunct();
21560 template<typename _CharT>
21561 __timepunct<_CharT>::__timepunct(__c_locale __cloc, const char* __s,
21563 : facet(__refs), _M_data(__null)
21565 const size_t __len = std::strlen(__s) + 1;
21566 char* __tmp = new char[__len];
21567 std::memcpy(__tmp, __s, __len);
21568 _M_name_timepunct = __tmp;
21571 { _M_initialize_timepunct(__cloc); }
21574 delete [] _M_name_timepunct;
21579 template<typename _CharT>
21580 __timepunct<_CharT>::~__timepunct()
21582 if (_M_name_timepunct != _S_get_c_name())
21583 delete [] _M_name_timepunct;
21585 _S_destroy_c_locale(_M_c_locale_timepunct);
21587 # 2968 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 2 3
21588 # 2981 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21589 template<typename _CharT, typename _InIter>
21590 class time_get : public locale::facet, public time_base
21596 typedef _CharT char_type;
21597 typedef _InIter iter_type;
21599 typedef basic_string<_CharT> __string_type;
21602 static locale::id id;
21603 # 3003 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21605 time_get(size_t __refs = 0)
21606 : facet (__refs) { }
21607 # 3020 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21610 { return this->do_date_order(); }
21611 # 3044 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21613 get_time(iter_type __beg, iter_type __end, ios_base& __io,
21614 ios_base::iostate& __err, tm* __tm) const
21615 { return this->do_get_time(__beg, __end, __io, __err, __tm); }
21616 # 3069 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21618 get_date(iter_type __beg, iter_type __end, ios_base& __io,
21619 ios_base::iostate& __err, tm* __tm) const
21620 { return this->do_get_date(__beg, __end, __io, __err, __tm); }
21621 # 3097 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21623 get_weekday(iter_type __beg, iter_type __end, ios_base& __io,
21624 ios_base::iostate& __err, tm* __tm) const
21625 { return this->do_get_weekday(__beg, __end, __io, __err, __tm); }
21626 # 3126 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21628 get_monthname(iter_type __beg, iter_type __end, ios_base& __io,
21629 ios_base::iostate& __err, tm* __tm) const
21630 { return this->do_get_monthname(__beg, __end, __io, __err, __tm); }
21631 # 3152 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21633 get_year(iter_type __beg, iter_type __end, ios_base& __io,
21634 ios_base::iostate& __err, tm* __tm) const
21635 { return this->do_get_year(__beg, __end, __io, __err, __tm); }
21641 # 3172 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21643 do_date_order() const;
21644 # 3190 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21646 do_get_time(iter_type __beg, iter_type __end, ios_base& __io,
21647 ios_base::iostate& __err, tm* __tm) const;
21648 # 3209 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21650 do_get_date(iter_type __beg, iter_type __end, ios_base& __io,
21651 ios_base::iostate& __err, tm* __tm) const;
21652 # 3228 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21654 do_get_weekday(iter_type __beg, iter_type __end, ios_base&,
21655 ios_base::iostate& __err, tm* __tm) const;
21656 # 3247 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21658 do_get_monthname(iter_type __beg, iter_type __end, ios_base&,
21659 ios_base::iostate& __err, tm* __tm) const;
21660 # 3266 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21662 do_get_year(iter_type __beg, iter_type __end, ios_base& __io,
21663 ios_base::iostate& __err, tm* __tm) const;
21667 _M_extract_num(iter_type __beg, iter_type __end, int& __member,
21668 int __min, int __max, size_t __len,
21669 ios_base& __io, ios_base::iostate& __err) const;
21674 _M_extract_name(iter_type __beg, iter_type __end, int& __member,
21675 const _CharT** __names, size_t __indexlen,
21676 ios_base& __io, ios_base::iostate& __err) const;
21680 _M_extract_via_format(iter_type __beg, iter_type __end, ios_base& __io,
21681 ios_base::iostate& __err, tm* __tm,
21682 const _CharT* __format) const;
21685 template<typename _CharT, typename _InIter>
21686 locale::id time_get<_CharT, _InIter>::id;
21689 template<typename _CharT, typename _InIter>
21690 class time_get_byname : public time_get<_CharT, _InIter>
21694 typedef _CharT char_type;
21695 typedef _InIter iter_type;
21698 time_get_byname(const char*, size_t __refs = 0)
21699 : time_get<_CharT, _InIter>(__refs) { }
21703 ~time_get_byname() { }
21705 # 3322 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21706 template<typename _CharT, typename _OutIter>
21707 class time_put : public locale::facet
21713 typedef _CharT char_type;
21714 typedef _OutIter iter_type;
21718 static locale::id id;
21719 # 3343 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21721 time_put(size_t __refs = 0)
21722 : facet(__refs) { }
21723 # 3362 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21725 put(iter_type __s, ios_base& __io, char_type __fill, const tm* __tm,
21726 const _CharT* __beg, const _CharT* __end) const;
21727 # 3382 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21729 put(iter_type __s, ios_base& __io, char_type __fill,
21730 const tm* __tm, char __format, char __mod = 0) const
21731 { return this->do_put(__s, __io, __fill, __tm, __format, __mod); }
21738 # 3409 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21740 do_put(iter_type __s, ios_base& __io, char_type __fill, const tm* __tm,
21741 char __format, char __mod) const;
21744 template<typename _CharT, typename _OutIter>
21745 locale::id time_put<_CharT, _OutIter>::id;
21748 template<typename _CharT, typename _OutIter>
21749 class time_put_byname : public time_put<_CharT, _OutIter>
21753 typedef _CharT char_type;
21754 typedef _OutIter iter_type;
21757 time_put_byname(const char*, size_t __refs = 0)
21758 : time_put<_CharT, _OutIter>(__refs)
21763 ~time_put_byname() { }
21765 # 3447 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21769 enum part { none, space, symbol, sign, value };
21770 struct pattern { char field[4]; };
21772 static const pattern _S_default_pattern;
21783 static const char* _S_atoms;
21788 _S_construct_pattern(char __precedes, char __space, char __posn);
21791 template<typename _CharT, bool _Intl>
21792 struct __moneypunct_cache : public locale::facet
21794 const char* _M_grouping;
21795 size_t _M_grouping_size;
21796 bool _M_use_grouping;
21797 _CharT _M_decimal_point;
21798 _CharT _M_thousands_sep;
21799 const _CharT* _M_curr_symbol;
21800 size_t _M_curr_symbol_size;
21801 const _CharT* _M_positive_sign;
21802 size_t _M_positive_sign_size;
21803 const _CharT* _M_negative_sign;
21804 size_t _M_negative_sign_size;
21805 int _M_frac_digits;
21806 money_base::pattern _M_pos_format;
21807 money_base::pattern _M_neg_format;
21812 _CharT _M_atoms[money_base::_S_end];
21816 __moneypunct_cache(size_t __refs = 0) : facet(__refs),
21817 _M_grouping(__null), _M_grouping_size(0), _M_use_grouping(false),
21818 _M_decimal_point(_CharT()), _M_thousands_sep(_CharT()),
21819 _M_curr_symbol(__null), _M_curr_symbol_size(0),
21820 _M_positive_sign(__null), _M_positive_sign_size(0),
21821 _M_negative_sign(__null), _M_negative_sign_size(0),
21823 _M_pos_format(money_base::pattern()),
21824 _M_neg_format(money_base::pattern()), _M_allocated(false)
21827 ~__moneypunct_cache();
21830 _M_cache(const locale& __loc);
21833 __moneypunct_cache&
21834 operator=(const __moneypunct_cache&);
21837 __moneypunct_cache(const __moneypunct_cache&);
21840 template<typename _CharT, bool _Intl>
21841 __moneypunct_cache<_CharT, _Intl>::~__moneypunct_cache()
21845 delete [] _M_grouping;
21846 delete [] _M_curr_symbol;
21847 delete [] _M_positive_sign;
21848 delete [] _M_negative_sign;
21858 template<typename _CharT, bool _Intl>
21859 class moneypunct : public locale::facet, public money_base
21865 typedef _CharT char_type;
21866 typedef basic_string<_CharT> string_type;
21868 typedef __moneypunct_cache<_CharT, _Intl> __cache_type;
21871 __cache_type* _M_data;
21876 static const bool intl = _Intl;
21878 static locale::id id;
21879 # 3568 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21881 moneypunct(size_t __refs = 0) : facet(__refs), _M_data(__null)
21882 { _M_initialize_moneypunct(); }
21883 # 3580 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21885 moneypunct(__cache_type* __cache, size_t __refs = 0)
21886 : facet(__refs), _M_data(__cache)
21887 { _M_initialize_moneypunct(); }
21888 # 3595 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21890 moneypunct(__c_locale __cloc, const char* __s, size_t __refs = 0)
21891 : facet(__refs), _M_data(__null)
21892 { _M_initialize_moneypunct(__cloc, __s); }
21893 # 3609 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21895 decimal_point() const
21896 { return this->do_decimal_point(); }
21897 # 3622 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21899 thousands_sep() const
21900 { return this->do_thousands_sep(); }
21901 # 3651 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21904 { return this->do_grouping(); }
21905 # 3664 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21907 curr_symbol() const
21908 { return this->do_curr_symbol(); }
21909 # 3681 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21911 positive_sign() const
21912 { return this->do_positive_sign(); }
21913 # 3698 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21915 negative_sign() const
21916 { return this->do_negative_sign(); }
21917 # 3714 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21919 frac_digits() const
21920 { return this->do_frac_digits(); }
21921 # 3749 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21924 { return this->do_pos_format(); }
21928 { return this->do_neg_format(); }
21935 # 3771 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21937 do_decimal_point() const
21938 { return _M_data->_M_decimal_point; }
21939 # 3783 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21941 do_thousands_sep() const
21942 { return _M_data->_M_thousands_sep; }
21943 # 3796 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21945 do_grouping() const
21946 { return _M_data->_M_grouping; }
21947 # 3809 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21948 virtual string_type
21949 do_curr_symbol() const
21950 { return _M_data->_M_curr_symbol; }
21951 # 3822 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21952 virtual string_type
21953 do_positive_sign() const
21954 { return _M_data->_M_positive_sign; }
21955 # 3835 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21956 virtual string_type
21957 do_negative_sign() const
21958 { return _M_data->_M_negative_sign; }
21959 # 3849 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21961 do_frac_digits() const
21962 { return _M_data->_M_frac_digits; }
21963 # 3863 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21965 do_pos_format() const
21966 { return _M_data->_M_pos_format; }
21967 # 3877 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21969 do_neg_format() const
21970 { return _M_data->_M_neg_format; }
21974 _M_initialize_moneypunct(__c_locale __cloc = __null,
21975 const char* __name = __null);
21978 template<typename _CharT, bool _Intl>
21979 locale::id moneypunct<_CharT, _Intl>::id;
21981 template<typename _CharT, bool _Intl>
21982 const bool moneypunct<_CharT, _Intl>::intl;
21985 moneypunct<char, true>::~moneypunct();
21988 moneypunct<char, false>::~moneypunct();
21992 moneypunct<char, true>::_M_initialize_moneypunct(__c_locale, const char*);
21996 moneypunct<char, false>::_M_initialize_moneypunct(__c_locale, const char*);
21997 # 3926 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
21998 template<typename _CharT, bool _Intl>
21999 class moneypunct_byname : public moneypunct<_CharT, _Intl>
22002 typedef _CharT char_type;
22003 typedef basic_string<_CharT> string_type;
22005 static const bool intl = _Intl;
22008 moneypunct_byname(const char* __s, size_t __refs = 0)
22009 : moneypunct<_CharT, _Intl>(__refs)
22011 if (std::strcmp(__s, "C") != 0 && std::strcmp(__s, "POSIX") != 0)
22014 this->_S_create_c_locale(__tmp, __s);
22015 this->_M_initialize_moneypunct(__tmp);
22016 this->_S_destroy_c_locale(__tmp);
22022 ~moneypunct_byname() { }
22025 template<typename _CharT, bool _Intl>
22026 const bool moneypunct_byname<_CharT, _Intl>::intl;
22027 # 3968 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
22028 template<typename _CharT, typename _InIter>
22029 class money_get : public locale::facet
22035 typedef _CharT char_type;
22036 typedef _InIter iter_type;
22037 typedef basic_string<_CharT> string_type;
22041 static locale::id id;
22042 # 3990 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
22044 money_get(size_t __refs = 0) : facet(__refs) { }
22045 # 4020 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
22047 get(iter_type __s, iter_type __end, bool __intl, ios_base& __io,
22048 ios_base::iostate& __err, long double& __units) const
22049 { return this->do_get(__s, __end, __intl, __io, __err, __units); }
22050 # 4050 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
22052 get(iter_type __s, iter_type __end, bool __intl, ios_base& __io,
22053 ios_base::iostate& __err, string_type& __digits) const
22054 { return this->do_get(__s, __end, __intl, __io, __err, __digits); }
22060 # 4067 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
22062 do_get(iter_type __s, iter_type __end, bool __intl, ios_base& __io,
22063 ios_base::iostate& __err, long double& __units) const;
22064 # 4078 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
22066 do_get(iter_type __s, iter_type __end, bool __intl, ios_base& __io,
22067 ios_base::iostate& __err, string_type& __digits) const;
22069 template<bool _Intl>
22071 _M_extract(iter_type __s, iter_type __end, ios_base& __io,
22072 ios_base::iostate& __err, string& __digits) const;
22075 template<typename _CharT, typename _InIter>
22076 locale::id money_get<_CharT, _InIter>::id;
22077 # 4103 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
22078 template<typename _CharT, typename _OutIter>
22079 class money_put : public locale::facet
22084 typedef _CharT char_type;
22085 typedef _OutIter iter_type;
22086 typedef basic_string<_CharT> string_type;
22090 static locale::id id;
22091 # 4124 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
22093 money_put(size_t __refs = 0) : facet(__refs) { }
22094 # 4144 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
22096 put(iter_type __s, bool __intl, ios_base& __io,
22097 char_type __fill, long double __units) const
22098 { return this->do_put(__s, __intl, __io, __fill, __units); }
22099 # 4166 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
22101 put(iter_type __s, bool __intl, ios_base& __io,
22102 char_type __fill, const string_type& __digits) const
22103 { return this->do_put(__s, __intl, __io, __fill, __digits); }
22109 # 4194 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
22111 do_put(iter_type __s, bool __intl, ios_base& __io, char_type __fill,
22112 long double __units) const;
22113 # 4216 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
22115 do_put(iter_type __s, bool __intl, ios_base& __io, char_type __fill,
22116 const string_type& __digits) const;
22118 template<bool _Intl>
22120 _M_insert(iter_type __s, ios_base& __io, char_type __fill,
22121 const string_type& __digits) const;
22124 template<typename _CharT, typename _OutIter>
22125 locale::id money_put<_CharT, _OutIter>::id;
22130 struct messages_base
22132 typedef int catalog;
22134 # 4257 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
22135 template<typename _CharT>
22136 class messages : public locale::facet, public messages_base
22142 typedef _CharT char_type;
22143 typedef basic_string<_CharT> string_type;
22149 __c_locale _M_c_locale_messages;
22150 const char* _M_name_messages;
22154 static locale::id id;
22155 # 4285 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
22157 messages(size_t __refs = 0);
22158 # 4299 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
22160 messages(__c_locale __cloc, const char* __s, size_t __refs = 0);
22161 # 4312 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
22163 open(const basic_string<char>& __s, const locale& __loc) const
22164 { return this->do_open(__s, __loc); }
22165 # 4330 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
22167 open(const basic_string<char>&, const locale&, const char*) const;
22168 # 4348 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
22170 get(catalog __c, int __set, int __msgid, const string_type& __s) const
22171 { return this->do_get(__c, __set, __msgid, __s); }
22172 # 4359 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
22174 close(catalog __c) const
22175 { return this->do_close(__c); }
22181 # 4379 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
22183 do_open(const basic_string<char>&, const locale&) const;
22184 # 4398 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
22185 virtual string_type
22186 do_get(catalog, int, int, const string_type& __dfault) const;
22194 do_close(catalog) const;
22198 _M_convert_to_char(const string_type& __msg) const
22201 return reinterpret_cast<char*>(const_cast<_CharT*>(__msg.c_str()));
22206 _M_convert_from_char(char*) const
22208 # 4455 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
22209 return string_type();
22213 template<typename _CharT>
22214 locale::id messages<_CharT>::id;
22219 messages<char>::do_get(catalog, int, int, const string&) const;
22220 # 4474 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
22221 template<typename _CharT>
22222 class messages_byname : public messages<_CharT>
22225 typedef _CharT char_type;
22226 typedef basic_string<_CharT> string_type;
22229 messages_byname(const char* __s, size_t __refs = 0);
22238 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bfin-linux-uclibc/bits/messages_members.h" 1 3
22239 # 37 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bfin-linux-uclibc/bits/messages_members.h" 3
22240 template<typename _CharT>
22241 messages<_CharT>::messages(size_t __refs)
22243 { _M_c_locale_messages = _S_get_c_locale(); }
22245 template<typename _CharT>
22246 messages<_CharT>::messages(__c_locale, const char*, size_t __refs)
22248 { _M_c_locale_messages = _S_get_c_locale(); }
22250 template<typename _CharT>
22251 typename messages<_CharT>::catalog
22252 messages<_CharT>::open(const basic_string<char>& __s, const locale& __loc,
22254 { return this->do_open(__s, __loc); }
22257 template<typename _CharT>
22258 messages<_CharT>::~messages()
22259 { _S_destroy_c_locale(_M_c_locale_messages); }
22261 template<typename _CharT>
22262 typename messages<_CharT>::catalog
22263 messages<_CharT>::do_open(const basic_string<char>&, const locale&) const
22266 template<typename _CharT>
22267 typename messages<_CharT>::string_type
22268 messages<_CharT>::do_get(catalog, int, int,
22269 const string_type& __dfault) const
22270 { return __dfault; }
22272 template<typename _CharT>
22274 messages<_CharT>::do_close(catalog) const
22278 template<typename _CharT>
22279 messages_byname<_CharT>::messages_byname(const char* __s, size_t __refs)
22280 : messages<_CharT>(__refs)
22282 if (std::strcmp(__s, "C") != 0 && std::strcmp(__s, "POSIX") != 0)
22284 this->_S_destroy_c_locale(this->_M_c_locale_messages);
22285 this->_S_create_c_locale(this->_M_c_locale_messages, __s);
22288 # 4492 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 2 3
22289 # 4500 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.h" 3
22290 template<typename _CharT>
22292 isspace(_CharT __c, const locale& __loc)
22293 { return use_facet<ctype<_CharT> >(__loc).is(ctype_base::space, __c); }
22296 template<typename _CharT>
22298 isprint(_CharT __c, const locale& __loc)
22299 { return use_facet<ctype<_CharT> >(__loc).is(ctype_base::print, __c); }
22302 template<typename _CharT>
22304 iscntrl(_CharT __c, const locale& __loc)
22305 { return use_facet<ctype<_CharT> >(__loc).is(ctype_base::cntrl, __c); }
22308 template<typename _CharT>
22310 isupper(_CharT __c, const locale& __loc)
22311 { return use_facet<ctype<_CharT> >(__loc).is(ctype_base::upper, __c); }
22314 template<typename _CharT>
22316 islower(_CharT __c, const locale& __loc)
22317 { return use_facet<ctype<_CharT> >(__loc).is(ctype_base::lower, __c); }
22320 template<typename _CharT>
22322 isalpha(_CharT __c, const locale& __loc)
22323 { return use_facet<ctype<_CharT> >(__loc).is(ctype_base::alpha, __c); }
22326 template<typename _CharT>
22328 isdigit(_CharT __c, const locale& __loc)
22329 { return use_facet<ctype<_CharT> >(__loc).is(ctype_base::digit, __c); }
22332 template<typename _CharT>
22334 ispunct(_CharT __c, const locale& __loc)
22335 { return use_facet<ctype<_CharT> >(__loc).is(ctype_base::punct, __c); }
22338 template<typename _CharT>
22340 isxdigit(_CharT __c, const locale& __loc)
22341 { return use_facet<ctype<_CharT> >(__loc).is(ctype_base::xdigit, __c); }
22344 template<typename _CharT>
22346 isalnum(_CharT __c, const locale& __loc)
22347 { return use_facet<ctype<_CharT> >(__loc).is(ctype_base::alnum, __c); }
22350 template<typename _CharT>
22352 isgraph(_CharT __c, const locale& __loc)
22353 { return use_facet<ctype<_CharT> >(__loc).is(ctype_base::graph, __c); }
22356 template<typename _CharT>
22358 toupper(_CharT __c, const locale& __loc)
22359 { return use_facet<ctype<_CharT> >(__loc).toupper(__c); }
22362 template<typename _CharT>
22364 tolower(_CharT __c, const locale& __loc)
22365 { return use_facet<ctype<_CharT> >(__loc).tolower(__c); }
22367 # 46 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/locale" 2 3
22368 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.tcc" 1 3
22369 # 39 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.tcc" 3
22371 # 40 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.tcc" 3
22374 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/typeinfo" 1 3
22375 # 40 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/typeinfo" 3
22376 #pragma GCC visibility push(default)
22380 namespace __cxxabiv1
22382 class __class_type_info;
22384 # 59 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/typeinfo" 3
22400 virtual ~type_info();
22404 type_info& operator=(const type_info&);
22405 type_info(const type_info&);
22408 const char *__name;
22411 explicit type_info(const char *__n): __name(__n) { }
22417 const char* name() const
22419 # 105 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/typeinfo" 3
22420 bool before(const type_info& __arg) const
22421 { return __name < __arg.__name; }
22422 bool operator==(const type_info& __arg) const
22423 { return __name == __arg.__name; }
22425 bool operator!=(const type_info& __arg) const
22426 { return !operator==(__arg); }
22431 virtual bool __is_pointer_p() const;
22433 virtual bool __is_function_p() const;
22441 virtual bool __do_catch(const type_info *__thr_type, void **__thr_obj,
22442 unsigned __outer) const;
22445 virtual bool __do_upcast(const __cxxabiv1::__class_type_info *__target,
22446 void **__obj_ptr) const;
22454 class bad_cast : public exception
22457 bad_cast() throw() { }
22460 virtual ~bad_cast() throw();
22464 class bad_typeid : public exception
22467 bad_typeid () throw() { }
22470 virtual ~bad_typeid() throw();
22474 #pragma GCC visibility pop
22477 # 43 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.tcc" 2 3
22478 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/streambuf_iterator.h" 1 3
22479 # 39 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/streambuf_iterator.h" 3
22481 # 40 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/streambuf_iterator.h" 3
22492 template<typename _CharT, typename _Traits>
22493 class istreambuf_iterator
22494 : public iterator<input_iterator_tag, _CharT, typename _Traits::off_type,
22501 typedef _CharT char_type;
22502 typedef _Traits traits_type;
22503 typedef typename _Traits::int_type int_type;
22504 typedef basic_streambuf<_CharT, _Traits> streambuf_type;
22505 typedef basic_istream<_CharT, _Traits> istream_type;
22516 mutable streambuf_type* _M_sbuf;
22517 mutable int_type _M_c;
22521 istreambuf_iterator() throw()
22522 : _M_sbuf(0), _M_c(traits_type::eof()) { }
22525 istreambuf_iterator(istream_type& __s) throw()
22526 : _M_sbuf(__s.rdbuf()), _M_c(traits_type::eof()) { }
22529 istreambuf_iterator(streambuf_type* __s) throw()
22530 : _M_sbuf(__s), _M_c(traits_type::eof()) { }
22545 return traits_type::to_char_type(_M_get());
22549 istreambuf_iterator&
22558 _M_c = traits_type::eof();
22564 istreambuf_iterator
22571 istreambuf_iterator __old = *this;
22574 __old._M_c = _M_sbuf->sbumpc();
22575 _M_c = traits_type::eof();
22585 equal(const istreambuf_iterator& __b) const
22587 const bool __thiseof = _M_at_eof();
22588 const bool __beof = __b._M_at_eof();
22589 return (__thiseof && __beof || (!__thiseof && !__beof));
22596 const int_type __eof = traits_type::eof();
22597 int_type __ret = __eof;
22600 if (!traits_type::eq_int_type(_M_c, __eof))
22602 else if (!traits_type::eq_int_type((__ret = _M_sbuf->sgetc()),
22614 const int_type __eof = traits_type::eof();
22615 return traits_type::eq_int_type(_M_get(), __eof);
22619 template<typename _CharT, typename _Traits>
22621 operator==(const istreambuf_iterator<_CharT, _Traits>& __a,
22622 const istreambuf_iterator<_CharT, _Traits>& __b)
22623 { return __a.equal(__b); }
22625 template<typename _CharT, typename _Traits>
22627 operator!=(const istreambuf_iterator<_CharT, _Traits>& __a,
22628 const istreambuf_iterator<_CharT, _Traits>& __b)
22629 { return !__a.equal(__b); }
22632 template<typename _CharT, typename _Traits>
22633 class ostreambuf_iterator
22634 : public iterator<output_iterator_tag, void, void, void, void>
22640 typedef _CharT char_type;
22641 typedef _Traits traits_type;
22642 typedef basic_streambuf<_CharT, _Traits> streambuf_type;
22643 typedef basic_ostream<_CharT, _Traits> ostream_type;
22647 streambuf_type* _M_sbuf;
22652 ostreambuf_iterator(ostream_type& __s) throw ()
22653 : _M_sbuf(__s.rdbuf()), _M_failed(!_M_sbuf) { }
22656 ostreambuf_iterator(streambuf_type* __s) throw ()
22657 : _M_sbuf(__s), _M_failed(!_M_sbuf) { }
22660 ostreambuf_iterator&
22661 operator=(_CharT __c)
22664 _Traits::eq_int_type(_M_sbuf->sputc(__c), _Traits::eof()))
22670 ostreambuf_iterator&
22675 ostreambuf_iterator&
22680 ostreambuf_iterator&
22686 failed() const throw()
22687 { return _M_failed; }
22689 ostreambuf_iterator&
22690 _M_put(const _CharT* __ws, streamsize __len)
22692 if (__builtin_expect(!_M_failed, true)
22693 && __builtin_expect(this->_M_sbuf->sputn(__ws, __len) != __len,
22700 # 44 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.tcc" 2 3
22704 template<typename _Facet>
22706 locale::combine(const locale& __other) const
22708 _Impl* __tmp = new _Impl(*_M_impl, 1);
22711 __tmp->_M_replace_facet(__other._M_impl, &_Facet::id);
22715 __tmp->_M_remove_reference();
22718 return locale(__tmp);
22721 template<typename _CharT, typename _Traits, typename _Alloc>
22723 locale::operator()(const basic_string<_CharT, _Traits, _Alloc>& __s1,
22724 const basic_string<_CharT, _Traits, _Alloc>& __s2) const
22726 typedef std::collate<_CharT> __collate_type;
22727 const __collate_type& __collate = use_facet<__collate_type>(*this);
22728 return (__collate.compare(__s1.data(), __s1.data() + __s1.length(),
22729 __s2.data(), __s2.data() + __s2.length()) < 0);
22731 # 86 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.tcc" 3
22732 template<typename _Facet>
22734 has_facet(const locale& __loc) throw()
22736 const size_t __i = _Facet::id._M_id();
22737 const locale::facet** __facets = __loc._M_impl->_M_facets;
22738 return (__i < __loc._M_impl->_M_facets_size && __facets[__i]);
22740 # 108 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.tcc" 3
22741 template<typename _Facet>
22742 inline const _Facet&
22743 use_facet(const locale& __loc)
22745 const size_t __i = _Facet::id._M_id();
22746 const locale::facet** __facets = __loc._M_impl->_M_facets;
22747 if (!(__i < __loc._M_impl->_M_facets_size && __facets[__i]))
22748 __throw_bad_cast();
22749 return static_cast<const _Facet&>(*__facets[__i]);
22754 template<typename _Facet>
22758 operator() (const locale& __loc) const;
22762 template<typename _CharT>
22763 struct __use_cache<__numpunct_cache<_CharT> >
22765 const __numpunct_cache<_CharT>*
22766 operator() (const locale& __loc) const
22768 const size_t __i = numpunct<_CharT>::id._M_id();
22769 const locale::facet** __caches = __loc._M_impl->_M_caches;
22770 if (!__caches[__i])
22772 __numpunct_cache<_CharT>* __tmp = __null;
22775 __tmp = new __numpunct_cache<_CharT>;
22776 __tmp->_M_cache(__loc);
22783 __loc._M_impl->_M_install_cache(__tmp, __i);
22785 return static_cast<const __numpunct_cache<_CharT>*>(__caches[__i]);
22789 template<typename _CharT, bool _Intl>
22790 struct __use_cache<__moneypunct_cache<_CharT, _Intl> >
22792 const __moneypunct_cache<_CharT, _Intl>*
22793 operator() (const locale& __loc) const
22795 const size_t __i = moneypunct<_CharT, _Intl>::id._M_id();
22796 const locale::facet** __caches = __loc._M_impl->_M_caches;
22797 if (!__caches[__i])
22799 __moneypunct_cache<_CharT, _Intl>* __tmp = __null;
22802 __tmp = new __moneypunct_cache<_CharT, _Intl>;
22803 __tmp->_M_cache(__loc);
22810 __loc._M_impl->_M_install_cache(__tmp, __i);
22812 return static_cast<
22813 const __moneypunct_cache<_CharT, _Intl>*>(__caches[__i]);
22817 template<typename _CharT>
22819 __numpunct_cache<_CharT>::_M_cache(const locale& __loc)
22821 _M_allocated = true;
22823 const numpunct<_CharT>& __np = use_facet<numpunct<_CharT> >(__loc);
22825 _M_grouping_size = __np.grouping().size();
22826 char* __grouping = new char[_M_grouping_size];
22827 __np.grouping().copy(__grouping, _M_grouping_size);
22828 _M_grouping = __grouping;
22829 _M_use_grouping = (_M_grouping_size
22830 && static_cast<signed char>(__np.grouping()[0]) > 0);
22832 _M_truename_size = __np.truename().size();
22833 _CharT* __truename = new _CharT[_M_truename_size];
22834 __np.truename().copy(__truename, _M_truename_size);
22835 _M_truename = __truename;
22837 _M_falsename_size = __np.falsename().size();
22838 _CharT* __falsename = new _CharT[_M_falsename_size];
22839 __np.falsename().copy(__falsename, _M_falsename_size);
22840 _M_falsename = __falsename;
22842 _M_decimal_point = __np.decimal_point();
22843 _M_thousands_sep = __np.thousands_sep();
22845 const ctype<_CharT>& __ct = use_facet<ctype<_CharT> >(__loc);
22846 __ct.widen(__num_base::_S_atoms_out,
22847 __num_base::_S_atoms_out + __num_base::_S_oend, _M_atoms_out);
22848 __ct.widen(__num_base::_S_atoms_in,
22849 __num_base::_S_atoms_in + __num_base::_S_iend, _M_atoms_in);
22852 template<typename _CharT, bool _Intl>
22854 __moneypunct_cache<_CharT, _Intl>::_M_cache(const locale& __loc)
22856 _M_allocated = true;
22858 const moneypunct<_CharT, _Intl>& __mp =
22859 use_facet<moneypunct<_CharT, _Intl> >(__loc);
22861 _M_grouping_size = __mp.grouping().size();
22862 char* __grouping = new char[_M_grouping_size];
22863 __mp.grouping().copy(__grouping, _M_grouping_size);
22864 _M_grouping = __grouping;
22865 _M_use_grouping = (_M_grouping_size
22866 && static_cast<signed char>(__mp.grouping()[0]) > 0);
22868 _M_decimal_point = __mp.decimal_point();
22869 _M_thousands_sep = __mp.thousands_sep();
22870 _M_frac_digits = __mp.frac_digits();
22872 _M_curr_symbol_size = __mp.curr_symbol().size();
22873 _CharT* __curr_symbol = new _CharT[_M_curr_symbol_size];
22874 __mp.curr_symbol().copy(__curr_symbol, _M_curr_symbol_size);
22875 _M_curr_symbol = __curr_symbol;
22877 _M_positive_sign_size = __mp.positive_sign().size();
22878 _CharT* __positive_sign = new _CharT[_M_positive_sign_size];
22879 __mp.positive_sign().copy(__positive_sign, _M_positive_sign_size);
22880 _M_positive_sign = __positive_sign;
22882 _M_negative_sign_size = __mp.negative_sign().size();
22883 _CharT* __negative_sign = new _CharT[_M_negative_sign_size];
22884 __mp.negative_sign().copy(__negative_sign, _M_negative_sign_size);
22885 _M_negative_sign = __negative_sign;
22887 _M_pos_format = __mp.pos_format();
22888 _M_neg_format = __mp.neg_format();
22890 const ctype<_CharT>& __ct = use_facet<ctype<_CharT> >(__loc);
22891 __ct.widen(money_base::_S_atoms,
22892 money_base::_S_atoms + money_base::_S_end, _M_atoms);
22894 # 271 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.tcc" 3
22896 __verify_grouping(const char* __grouping, size_t __grouping_size,
22897 const string& __grouping_tmp);
22899 template<typename _CharT, typename _InIter>
22901 num_get<_CharT, _InIter>::
22902 _M_extract_float(_InIter __beg, _InIter __end, ios_base& __io,
22903 ios_base::iostate& __err, string& __xtrc) const
22905 typedef char_traits<_CharT> __traits_type;
22906 typedef __numpunct_cache<_CharT> __cache_type;
22907 __use_cache<__cache_type> __uc;
22908 const locale& __loc = __io._M_getloc();
22909 const __cache_type* __lc = __uc(__loc);
22910 const _CharT* __lit = __lc->_M_atoms_in;
22911 char_type __c = char_type();
22914 bool __testeof = __beg == __end;
22920 const bool __plus = __c == __lit[__num_base::_S_iplus];
22921 if ((__plus || __c == __lit[__num_base::_S_iminus])
22922 && !(__lc->_M_use_grouping && __c == __lc->_M_thousands_sep)
22923 && !(__c == __lc->_M_decimal_point))
22925 __xtrc += __plus ? '+' : '-';
22926 if (++__beg != __end)
22934 bool __found_mantissa = false;
22938 if (__lc->_M_use_grouping && __c == __lc->_M_thousands_sep
22939 || __c == __lc->_M_decimal_point)
22941 else if (__c == __lit[__num_base::_S_izero])
22943 if (!__found_mantissa)
22946 __found_mantissa = true;
22950 if (++__beg != __end)
22960 bool __found_dec = false;
22961 bool __found_sci = false;
22962 string __found_grouping;
22963 if (__lc->_M_use_grouping)
22964 __found_grouping.reserve(32);
22965 const char_type* __q;
22966 const char_type* __lit_zero = __lit + __num_base::_S_izero;
22971 if (__lc->_M_use_grouping && __c == __lc->_M_thousands_sep)
22973 if (!__found_dec && !__found_sci)
22979 __found_grouping += static_cast<char>(__sep_pos);
22993 else if (__c == __lc->_M_decimal_point)
22995 if (!__found_dec && !__found_sci)
23000 if (__found_grouping.size())
23001 __found_grouping += static_cast<char>(__sep_pos);
23003 __found_dec = true;
23008 else if ((__q = __traits_type::find(__lit_zero, 10, __c)))
23010 __xtrc += __num_base::_S_atoms_in[__q - __lit];
23011 __found_mantissa = true;
23014 else if ((__c == __lit[__num_base::_S_ie]
23015 || __c == __lit[__num_base::_S_iE])
23016 && !__found_sci && __found_mantissa)
23019 if (__found_grouping.size() && !__found_dec)
23020 __found_grouping += static_cast<char>(__sep_pos);
23022 __found_sci = true;
23025 if (++__beg != __end)
23028 const bool __plus = __c == __lit[__num_base::_S_iplus];
23029 if ((__plus || __c == __lit[__num_base::_S_iminus])
23030 && !(__lc->_M_use_grouping
23031 && __c == __lc->_M_thousands_sep)
23032 && !(__c == __lc->_M_decimal_point))
23033 __xtrc += __plus ? '+' : '-';
23047 if (++__beg != __end)
23055 if (__found_grouping.size())
23058 if (!__found_dec && !__found_sci)
23059 __found_grouping += static_cast<char>(__sep_pos);
23061 if (!std::__verify_grouping(__lc->_M_grouping,
23062 __lc->_M_grouping_size,
23064 __err |= ios_base::failbit;
23069 __err |= ios_base::eofbit;
23073 template<typename _ValueT>
23074 struct __to_unsigned_type
23075 { typedef _ValueT __type; };
23078 struct __to_unsigned_type<long>
23079 { typedef unsigned long __type; };
23083 struct __to_unsigned_type<long long>
23084 { typedef unsigned long long __type; };
23087 template<typename _CharT, typename _InIter>
23088 template<typename _ValueT>
23090 num_get<_CharT, _InIter>::
23091 _M_extract_int(_InIter __beg, _InIter __end, ios_base& __io,
23092 ios_base::iostate& __err, _ValueT& __v) const
23094 typedef char_traits<_CharT> __traits_type;
23095 typedef typename __to_unsigned_type<_ValueT>::__type __unsigned_type;
23096 typedef __numpunct_cache<_CharT> __cache_type;
23097 __use_cache<__cache_type> __uc;
23098 const locale& __loc = __io._M_getloc();
23099 const __cache_type* __lc = __uc(__loc);
23100 const _CharT* __lit = __lc->_M_atoms_in;
23101 char_type __c = char_type();
23104 const ios_base::fmtflags __basefield = __io.flags()
23105 & ios_base::basefield;
23106 const bool __oct = __basefield == ios_base::oct;
23107 int __base = __oct ? 8 : (__basefield == ios_base::hex ? 16 : 10);
23110 bool __testeof = __beg == __end;
23113 bool __negative = false;
23117 if (numeric_limits<_ValueT>::is_signed)
23118 __negative = __c == __lit[__num_base::_S_iminus];
23119 if ((__negative || __c == __lit[__num_base::_S_iplus])
23120 && !(__lc->_M_use_grouping && __c == __lc->_M_thousands_sep)
23121 && !(__c == __lc->_M_decimal_point))
23123 if (++__beg != __end)
23132 bool __found_zero = false;
23136 if (__lc->_M_use_grouping && __c == __lc->_M_thousands_sep
23137 || __c == __lc->_M_decimal_point)
23139 else if (__c == __lit[__num_base::_S_izero]
23140 && (!__found_zero || __base == 10))
23142 __found_zero = true;
23144 if (__basefield == 0)
23149 else if (__found_zero
23150 && (__c == __lit[__num_base::_S_ix]
23151 || __c == __lit[__num_base::_S_iX]))
23153 if (__basefield == 0)
23157 __found_zero = false;
23166 if (++__beg != __end)
23178 const size_t __len = (__base == 16 ? __num_base::_S_iend
23179 - __num_base::_S_izero : __base);
23182 string __found_grouping;
23183 if (__lc->_M_use_grouping)
23184 __found_grouping.reserve(32);
23185 bool __testfail = false;
23186 const __unsigned_type __max = __negative ?
23187 -numeric_limits<_ValueT>::min() : numeric_limits<_ValueT>::max();
23188 const __unsigned_type __smax = __max / __base;
23189 __unsigned_type __result = 0;
23190 const char_type* __q;
23191 const char_type* __lit_zero = __lit + __num_base::_S_izero;
23196 if (__lc->_M_use_grouping && __c == __lc->_M_thousands_sep)
23202 __found_grouping += static_cast<char>(__sep_pos);
23211 else if (__c == __lc->_M_decimal_point)
23213 else if ((__q = __traits_type::find(__lit_zero, __len, __c)))
23215 int __digit = __q - __lit_zero;
23218 if (__result > __smax)
23222 __result *= __base;
23223 __testfail |= __result > __max - __digit;
23224 __result += __digit;
23232 if (++__beg != __end)
23240 if (__found_grouping.size())
23243 __found_grouping += static_cast<char>(__sep_pos);
23245 if (!std::__verify_grouping(__lc->_M_grouping,
23246 __lc->_M_grouping_size,
23248 __err |= ios_base::failbit;
23251 if (!__testfail && (__sep_pos || __found_zero
23252 || __found_grouping.size()))
23253 __v = __negative ? -__result : __result;
23255 __err |= ios_base::failbit;
23258 __err |= ios_base::eofbit;
23264 template<typename _CharT, typename _InIter>
23266 num_get<_CharT, _InIter>::
23267 do_get(iter_type __beg, iter_type __end, ios_base& __io,
23268 ios_base::iostate& __err, bool& __v) const
23270 if (!(__io.flags() & ios_base::boolalpha))
23276 __beg = _M_extract_int(__beg, __end, __io, __err, __l);
23277 if (__l == 0 || __l == 1)
23280 __err |= ios_base::failbit;
23285 typedef __numpunct_cache<_CharT> __cache_type;
23286 __use_cache<__cache_type> __uc;
23287 const locale& __loc = __io._M_getloc();
23288 const __cache_type* __lc = __uc(__loc);
23290 bool __testf = true;
23291 bool __testt = true;
23293 bool __testeof = __beg == __end;
23294 for (__n = 0; !__testeof; ++__n)
23296 const char_type __c = *__beg;
23299 if (__n < __lc->_M_falsename_size)
23300 __testf = __c == __lc->_M_falsename[__n];
23305 if (__n < __lc->_M_truename_size)
23306 __testt = __c == __lc->_M_truename[__n];
23310 if (!__testf && !__testt)
23313 if (++__beg == __end)
23316 if (__testf && __n == __lc->_M_falsename_size)
23318 else if (__testt && __n == __lc->_M_truename_size)
23321 __err |= ios_base::failbit;
23324 __err |= ios_base::eofbit;
23329 template<typename _CharT, typename _InIter>
23331 num_get<_CharT, _InIter>::
23332 do_get(iter_type __beg, iter_type __end, ios_base& __io,
23333 ios_base::iostate& __err, long& __v) const
23334 { return _M_extract_int(__beg, __end, __io, __err, __v); }
23336 template<typename _CharT, typename _InIter>
23338 num_get<_CharT, _InIter>::
23339 do_get(iter_type __beg, iter_type __end, ios_base& __io,
23340 ios_base::iostate& __err, unsigned short& __v) const
23341 { return _M_extract_int(__beg, __end, __io, __err, __v); }
23343 template<typename _CharT, typename _InIter>
23345 num_get<_CharT, _InIter>::
23346 do_get(iter_type __beg, iter_type __end, ios_base& __io,
23347 ios_base::iostate& __err, unsigned int& __v) const
23348 { return _M_extract_int(__beg, __end, __io, __err, __v); }
23350 template<typename _CharT, typename _InIter>
23352 num_get<_CharT, _InIter>::
23353 do_get(iter_type __beg, iter_type __end, ios_base& __io,
23354 ios_base::iostate& __err, unsigned long& __v) const
23355 { return _M_extract_int(__beg, __end, __io, __err, __v); }
23358 template<typename _CharT, typename _InIter>
23360 num_get<_CharT, _InIter>::
23361 do_get(iter_type __beg, iter_type __end, ios_base& __io,
23362 ios_base::iostate& __err, long long& __v) const
23363 { return _M_extract_int(__beg, __end, __io, __err, __v); }
23365 template<typename _CharT, typename _InIter>
23367 num_get<_CharT, _InIter>::
23368 do_get(iter_type __beg, iter_type __end, ios_base& __io,
23369 ios_base::iostate& __err, unsigned long long& __v) const
23370 { return _M_extract_int(__beg, __end, __io, __err, __v); }
23373 template<typename _CharT, typename _InIter>
23375 num_get<_CharT, _InIter>::
23376 do_get(iter_type __beg, iter_type __end, ios_base& __io,
23377 ios_base::iostate& __err, float& __v) const
23380 __xtrc.reserve(32);
23381 __beg = _M_extract_float(__beg, __end, __io, __err, __xtrc);
23382 std::__convert_to_v(__xtrc.c_str(), __v, __err, _S_get_c_locale());
23386 template<typename _CharT, typename _InIter>
23388 num_get<_CharT, _InIter>::
23389 do_get(iter_type __beg, iter_type __end, ios_base& __io,
23390 ios_base::iostate& __err, double& __v) const
23393 __xtrc.reserve(32);
23394 __beg = _M_extract_float(__beg, __end, __io, __err, __xtrc);
23395 std::__convert_to_v(__xtrc.c_str(), __v, __err, _S_get_c_locale());
23399 template<typename _CharT, typename _InIter>
23401 num_get<_CharT, _InIter>::
23402 do_get(iter_type __beg, iter_type __end, ios_base& __io,
23403 ios_base::iostate& __err, long double& __v) const
23406 __xtrc.reserve(32);
23407 __beg = _M_extract_float(__beg, __end, __io, __err, __xtrc);
23408 std::__convert_to_v(__xtrc.c_str(), __v, __err, _S_get_c_locale());
23412 template<typename _CharT, typename _InIter>
23414 num_get<_CharT, _InIter>::
23415 do_get(iter_type __beg, iter_type __end, ios_base& __io,
23416 ios_base::iostate& __err, void*& __v) const
23419 typedef ios_base::fmtflags fmtflags;
23420 const fmtflags __fmt = __io.flags();
23421 __io.flags(__fmt & ~ios_base::basefield | ios_base::hex);
23423 unsigned long __ul;
23424 __beg = _M_extract_int(__beg, __end, __io, __err, __ul);
23429 if (!(__err & ios_base::failbit))
23430 __v = reinterpret_cast<void*>(__ul);
23436 template<typename _CharT, typename _OutIter>
23438 num_put<_CharT, _OutIter>::
23439 _M_pad(_CharT __fill, streamsize __w, ios_base& __io,
23440 _CharT* __new, const _CharT* __cs, int& __len) const
23444 __pad<_CharT, char_traits<_CharT> >::_S_pad(__io, __fill, __new, __cs,
23446 __len = static_cast<int>(__w);
23452 template<typename _CharT>
23454 __int_to_char(_CharT* __bufend, long __v, const _CharT* __lit,
23455 ios_base::fmtflags __flags)
23457 unsigned long __ul = __v;
23458 const ios_base::fmtflags __basefield = __flags & ios_base::basefield;
23459 if (__builtin_expect(__basefield != ios_base::oct
23460 && __basefield != ios_base::hex, true))
23461 __ul = __v < 0 ? -__v : __ul;
23462 return __int_to_char(__bufend, __ul, __lit, __flags, false);
23465 template<typename _CharT>
23467 __int_to_char(_CharT* __bufend, unsigned long __v, const _CharT* __lit,
23468 ios_base::fmtflags __flags)
23469 { return __int_to_char(__bufend, __v, __lit, __flags, false); }
23472 template<typename _CharT>
23474 __int_to_char(_CharT* __bufend, long long __v, const _CharT* __lit,
23475 ios_base::fmtflags __flags)
23477 unsigned long long __ull = __v;
23478 const ios_base::fmtflags __basefield = __flags & ios_base::basefield;
23479 if (__builtin_expect(__basefield != ios_base::oct
23480 && __basefield != ios_base::hex, true))
23481 __ull = __v < 0 ? -__v : __ull;
23482 return __int_to_char(__bufend, __ull, __lit, __flags, false);
23485 template<typename _CharT>
23487 __int_to_char(_CharT* __bufend, unsigned long long __v,
23488 const _CharT* __lit, ios_base::fmtflags __flags)
23489 { return __int_to_char(__bufend, __v, __lit, __flags, false); }
23493 template<typename _CharT, typename _ValueT>
23495 __int_to_char(_CharT* __bufend, _ValueT __v, const _CharT* __lit,
23496 ios_base::fmtflags __flags, bool)
23498 const ios_base::fmtflags __basefield = __flags & ios_base::basefield;
23499 _CharT* __buf = __bufend;
23501 if (__builtin_expect(__basefield != ios_base::oct
23502 && __basefield != ios_base::hex, true))
23507 *--__buf = __lit[(__v % 10) + __num_base::_S_odigits];
23512 else if (__basefield == ios_base::oct)
23517 *--__buf = __lit[(__v & 0x7) + __num_base::_S_odigits];
23525 const bool __uppercase = __flags & ios_base::uppercase;
23526 const int __case_offset = __uppercase ? __num_base::_S_oudigits
23527 : __num_base::_S_odigits;
23530 *--__buf = __lit[(__v & 0xf) + __case_offset];
23535 return __bufend - __buf;
23538 template<typename _CharT, typename _OutIter>
23540 num_put<_CharT, _OutIter>::
23541 _M_group_int(const char* __grouping, size_t __grouping_size, _CharT __sep,
23542 ios_base&, _CharT* __new, _CharT* __cs, int& __len) const
23544 _CharT* __p = std::__add_grouping(__new, __sep, __grouping,
23545 __grouping_size, __cs, __cs + __len);
23546 __len = __p - __new;
23549 template<typename _CharT, typename _OutIter>
23550 template<typename _ValueT>
23552 num_put<_CharT, _OutIter>::
23553 _M_insert_int(_OutIter __s, ios_base& __io, _CharT __fill,
23556 typedef __numpunct_cache<_CharT> __cache_type;
23557 __use_cache<__cache_type> __uc;
23558 const locale& __loc = __io._M_getloc();
23559 const __cache_type* __lc = __uc(__loc);
23560 const _CharT* __lit = __lc->_M_atoms_out;
23561 const ios_base::fmtflags __flags = __io.flags();
23564 const int __ilen = 5 * sizeof(_ValueT);
23565 _CharT* __cs = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT)
23570 int __len = __int_to_char(__cs + __ilen, __v, __lit, __flags);
23571 __cs += __ilen - __len;
23574 if (__lc->_M_use_grouping)
23578 _CharT* __cs2 = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT)
23581 _M_group_int(__lc->_M_grouping, __lc->_M_grouping_size,
23582 __lc->_M_thousands_sep, __io, __cs2 + 2, __cs, __len);
23587 const ios_base::fmtflags __basefield = __flags & ios_base::basefield;
23588 if (__builtin_expect(__basefield != ios_base::oct
23589 && __basefield != ios_base::hex, true))
23594 if (__flags & ios_base::showpos
23595 && numeric_limits<_ValueT>::is_signed)
23596 *--__cs = __lit[__num_base::_S_oplus], ++__len;
23599 *--__cs = __lit[__num_base::_S_ominus], ++__len;
23601 else if (__flags & ios_base::showbase && __v)
23603 if (__basefield == ios_base::oct)
23604 *--__cs = __lit[__num_base::_S_odigits], ++__len;
23608 const bool __uppercase = __flags & ios_base::uppercase;
23609 *--__cs = __lit[__num_base::_S_ox + __uppercase];
23611 *--__cs = __lit[__num_base::_S_odigits];
23617 const streamsize __w = __io.width();
23618 if (__w > static_cast<streamsize>(__len))
23620 _CharT* __cs3 = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT)
23622 _M_pad(__fill, __w, __io, __cs3, __cs, __len);
23629 return std::__write(__s, __cs, __len);
23632 template<typename _CharT, typename _OutIter>
23634 num_put<_CharT, _OutIter>::
23635 _M_group_float(const char* __grouping, size_t __grouping_size,
23636 _CharT __sep, const _CharT* __p, _CharT* __new,
23637 _CharT* __cs, int& __len) const
23642 const int __declen = __p ? __p - __cs : __len;
23643 _CharT* __p2 = std::__add_grouping(__new, __sep, __grouping,
23645 __cs, __cs + __declen);
23648 int __newlen = __p2 - __new;
23651 char_traits<_CharT>::copy(__p2, __p, __len - __declen);
23652 __newlen += __len - __declen;
23656 # 1043 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.tcc" 3
23657 template<typename _CharT, typename _OutIter>
23658 template<typename _ValueT>
23660 num_put<_CharT, _OutIter>::
23661 _M_insert_float(_OutIter __s, ios_base& __io, _CharT __fill, char __mod,
23664 typedef __numpunct_cache<_CharT> __cache_type;
23665 __use_cache<__cache_type> __uc;
23666 const locale& __loc = __io._M_getloc();
23667 const __cache_type* __lc = __uc(__loc);
23670 streamsize __prec = __io.precision();
23671 if (__prec < static_cast<streamsize>(0))
23672 __prec = static_cast<streamsize>(6);
23674 const int __max_digits = numeric_limits<_ValueT>::digits10;
23680 # 1087 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.tcc" 3
23681 const bool __fixed = __io.flags() & ios_base::fixed;
23682 const int __max_exp = numeric_limits<_ValueT>::max_exponent10;
23690 const int __cs_size = __fixed ? __max_exp + __prec + 4
23691 : __max_digits * 2 + __prec;
23692 char* __cs = static_cast<char*>(__builtin_alloca(__cs_size));
23694 __num_base::_S_format_float(__io, __fbuf, __mod);
23695 __len = std::__convert_from_v(__cs, 0, __fbuf, __v,
23696 _S_get_c_locale(), __prec);
23701 const ctype<_CharT>& __ctype = use_facet<ctype<_CharT> >(__loc);
23703 _CharT* __ws = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT)
23705 __ctype.widen(__cs, __cs + __len, __ws);
23708 const _CharT __cdec = __ctype.widen('.');
23709 const _CharT __dec = __lc->_M_decimal_point;
23710 const _CharT* __p = char_traits<_CharT>::find(__ws, __len, __cdec);
23712 __ws[__p - __ws] = __dec;
23717 if (__lc->_M_use_grouping
23718 && (__p || __len < 3 || (__cs[1] <= '9' && __cs[2] <= '9'
23719 && __cs[1] >= '0' && __cs[2] >= '0')))
23723 _CharT* __ws2 = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT)
23726 streamsize __off = 0;
23727 if (__cs[0] == '-' || __cs[0] == '+')
23730 __ws2[0] = __ws[0];
23734 _M_group_float(__lc->_M_grouping, __lc->_M_grouping_size,
23735 __lc->_M_thousands_sep, __p, __ws2 + __off,
23736 __ws + __off, __len);
23743 const streamsize __w = __io.width();
23744 if (__w > static_cast<streamsize>(__len))
23746 _CharT* __ws3 = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT)
23748 _M_pad(__fill, __w, __io, __ws3, __ws, __len);
23755 return std::__write(__s, __ws, __len);
23758 template<typename _CharT, typename _OutIter>
23760 num_put<_CharT, _OutIter>::
23761 do_put(iter_type __s, ios_base& __io, char_type __fill, bool __v) const
23763 const ios_base::fmtflags __flags = __io.flags();
23764 if ((__flags & ios_base::boolalpha) == 0)
23766 const long __l = __v;
23767 __s = _M_insert_int(__s, __io, __fill, __l);
23771 typedef __numpunct_cache<_CharT> __cache_type;
23772 __use_cache<__cache_type> __uc;
23773 const locale& __loc = __io._M_getloc();
23774 const __cache_type* __lc = __uc(__loc);
23776 const _CharT* __name = __v ? __lc->_M_truename
23777 : __lc->_M_falsename;
23778 int __len = __v ? __lc->_M_truename_size
23779 : __lc->_M_falsename_size;
23781 const streamsize __w = __io.width();
23782 if (__w > static_cast<streamsize>(__len))
23785 = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT)
23787 _M_pad(__fill, __w, __io, __cs, __name, __len);
23791 __s = std::__write(__s, __name, __len);
23796 template<typename _CharT, typename _OutIter>
23798 num_put<_CharT, _OutIter>::
23799 do_put(iter_type __s, ios_base& __io, char_type __fill, long __v) const
23800 { return _M_insert_int(__s, __io, __fill, __v); }
23802 template<typename _CharT, typename _OutIter>
23804 num_put<_CharT, _OutIter>::
23805 do_put(iter_type __s, ios_base& __io, char_type __fill,
23806 unsigned long __v) const
23807 { return _M_insert_int(__s, __io, __fill, __v); }
23810 template<typename _CharT, typename _OutIter>
23812 num_put<_CharT, _OutIter>::
23813 do_put(iter_type __s, ios_base& __io, char_type __fill, long long __v) const
23814 { return _M_insert_int(__s, __io, __fill, __v); }
23816 template<typename _CharT, typename _OutIter>
23818 num_put<_CharT, _OutIter>::
23819 do_put(iter_type __s, ios_base& __io, char_type __fill,
23820 unsigned long long __v) const
23821 { return _M_insert_int(__s, __io, __fill, __v); }
23824 template<typename _CharT, typename _OutIter>
23826 num_put<_CharT, _OutIter>::
23827 do_put(iter_type __s, ios_base& __io, char_type __fill, double __v) const
23828 { return _M_insert_float(__s, __io, __fill, char(), __v); }
23830 template<typename _CharT, typename _OutIter>
23832 num_put<_CharT, _OutIter>::
23833 do_put(iter_type __s, ios_base& __io, char_type __fill,
23834 long double __v) const
23835 { return _M_insert_float(__s, __io, __fill, 'L', __v); }
23837 template<typename _CharT, typename _OutIter>
23839 num_put<_CharT, _OutIter>::
23840 do_put(iter_type __s, ios_base& __io, char_type __fill,
23841 const void* __v) const
23843 const ios_base::fmtflags __flags = __io.flags();
23844 const ios_base::fmtflags __fmt = ~(ios_base::basefield
23845 | ios_base::uppercase
23846 | ios_base::internal);
23847 __io.flags(__flags & __fmt | (ios_base::hex | ios_base::showbase));
23849 __s = _M_insert_int(__s, __io, __fill,
23850 reinterpret_cast<unsigned long>(__v));
23851 __io.flags(__flags);
23855 template<typename _CharT, typename _InIter>
23856 template<bool _Intl>
23858 money_get<_CharT, _InIter>::
23859 _M_extract(iter_type __beg, iter_type __end, ios_base& __io,
23860 ios_base::iostate& __err, string& __units) const
23862 typedef char_traits<_CharT> __traits_type;
23863 typedef typename string_type::size_type size_type;
23864 typedef money_base::part part;
23865 typedef __moneypunct_cache<_CharT, _Intl> __cache_type;
23867 const locale& __loc = __io._M_getloc();
23868 const ctype<_CharT>& __ctype = use_facet<ctype<_CharT> >(__loc);
23870 __use_cache<__cache_type> __uc;
23871 const __cache_type* __lc = __uc(__loc);
23872 const char_type* __lit = __lc->_M_atoms;
23875 bool __negative = false;
23877 size_type __sign_size = 0;
23879 const bool __mandatory_sign = (__lc->_M_positive_sign_size
23880 && __lc->_M_negative_sign_size);
23882 string __grouping_tmp;
23883 if (__lc->_M_use_grouping)
23884 __grouping_tmp.reserve(32);
23886 int __last_pos = 0;
23890 bool __testvalid = true;
23892 bool __testdecfound = false;
23898 const char_type* __lit_zero = __lit + money_base::_S_zero;
23899 const money_base::pattern __p = __lc->_M_neg_format;
23900 for (int __i = 0; __i < 4 && __testvalid; ++__i)
23902 const part __which = static_cast<part>(__p.field[__i]);
23905 case money_base::symbol:
23910 if (__io.flags() & ios_base::showbase || __sign_size > 1
23912 || (__i == 1 && (__mandatory_sign
23913 || (static_cast<part>(__p.field[0])
23914 == money_base::sign)
23915 || (static_cast<part>(__p.field[2])
23916 == money_base::space)))
23917 || (__i == 2 && ((static_cast<part>(__p.field[3])
23918 == money_base::value)
23919 || __mandatory_sign
23920 && (static_cast<part>(__p.field[3])
23921 == money_base::sign))))
23923 const size_type __len = __lc->_M_curr_symbol_size;
23925 for (; __beg != __end && __j < __len
23926 && *__beg == __lc->_M_curr_symbol[__j];
23929 && (__j || __io.flags() & ios_base::showbase))
23930 __testvalid = false;
23933 case money_base::sign:
23935 if (__lc->_M_positive_sign_size && __beg != __end
23936 && *__beg == __lc->_M_positive_sign[0])
23938 __sign_size = __lc->_M_positive_sign_size;
23941 else if (__lc->_M_negative_sign_size && __beg != __end
23942 && *__beg == __lc->_M_negative_sign[0])
23945 __sign_size = __lc->_M_negative_sign_size;
23948 else if (__lc->_M_positive_sign_size
23949 && !__lc->_M_negative_sign_size)
23953 else if (__mandatory_sign)
23954 __testvalid = false;
23956 case money_base::value:
23959 for (; __beg != __end; ++__beg)
23961 const char_type __c = *__beg;
23962 const char_type* __q = __traits_type::find(__lit_zero,
23966 __res += money_base::_S_atoms[__q - __lit];
23969 else if (__c == __lc->_M_decimal_point
23970 && !__testdecfound)
23974 __testdecfound = true;
23976 else if (__lc->_M_use_grouping
23977 && __c == __lc->_M_thousands_sep
23978 && !__testdecfound)
23983 __grouping_tmp += static_cast<char>(__n);
23988 __testvalid = false;
23996 __testvalid = false;
23998 case money_base::space:
24000 if (__beg != __end && __ctype.is(ctype_base::space, *__beg))
24003 __testvalid = false;
24004 case money_base::none:
24007 for (; __beg != __end
24008 && __ctype.is(ctype_base::space, *__beg); ++__beg);
24014 if (__sign_size > 1 && __testvalid)
24016 const char_type* __sign = __negative ? __lc->_M_negative_sign
24017 : __lc->_M_positive_sign;
24019 for (; __beg != __end && __i < __sign_size
24020 && *__beg == __sign[__i]; ++__beg, ++__i);
24022 if (__i != __sign_size)
24023 __testvalid = false;
24029 if (__res.size() > 1)
24031 const size_type __first = __res.find_first_not_of('0');
24032 const bool __only_zeros = __first == string::npos;
24034 __res.erase(0, __only_zeros ? __res.size() - 1 : __first);
24038 if (__negative && __res[0] != '0')
24039 __res.insert(__res.begin(), '-');
24042 if (__grouping_tmp.size())
24045 __grouping_tmp += static_cast<char>(__testdecfound ? __last_pos
24047 if (!std::__verify_grouping(__lc->_M_grouping,
24048 __lc->_M_grouping_size,
24050 __err |= ios_base::failbit;
24054 if (__testdecfound && __lc->_M_frac_digits > 0
24055 && __n != __lc->_M_frac_digits)
24056 __testvalid = false;
24061 __err |= ios_base::failbit;
24063 __units.swap(__res);
24066 if (__beg == __end)
24067 __err |= ios_base::eofbit;
24071 template<typename _CharT, typename _InIter>
24073 money_get<_CharT, _InIter>::
24074 do_get(iter_type __beg, iter_type __end, bool __intl, ios_base& __io,
24075 ios_base::iostate& __err, long double& __units) const
24079 __beg = _M_extract<true>(__beg, __end, __io, __err, __str);
24081 __beg = _M_extract<false>(__beg, __end, __io, __err, __str);
24082 std::__convert_to_v(__str.c_str(), __units, __err, _S_get_c_locale());
24086 template<typename _CharT, typename _InIter>
24088 money_get<_CharT, _InIter>::
24089 do_get(iter_type __beg, iter_type __end, bool __intl, ios_base& __io,
24090 ios_base::iostate& __err, string_type& __units) const
24092 typedef typename string::size_type size_type;
24094 const locale& __loc = __io._M_getloc();
24095 const ctype<_CharT>& __ctype = use_facet<ctype<_CharT> >(__loc);
24098 const iter_type __ret = __intl ? _M_extract<true>(__beg, __end, __io,
24100 : _M_extract<false>(__beg, __end, __io,
24102 const size_type __len = __str.size();
24105 _CharT* __ws = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT)
24107 __ctype.widen(__str.data(), __str.data() + __len, __ws);
24108 __units.assign(__ws, __len);
24114 template<typename _CharT, typename _OutIter>
24115 template<bool _Intl>
24117 money_put<_CharT, _OutIter>::
24118 _M_insert(iter_type __s, ios_base& __io, char_type __fill,
24119 const string_type& __digits) const
24121 typedef typename string_type::size_type size_type;
24122 typedef money_base::part part;
24123 typedef __moneypunct_cache<_CharT, _Intl> __cache_type;
24125 const locale& __loc = __io._M_getloc();
24126 const ctype<_CharT>& __ctype = use_facet<ctype<_CharT> >(__loc);
24128 __use_cache<__cache_type> __uc;
24129 const __cache_type* __lc = __uc(__loc);
24130 const char_type* __lit = __lc->_M_atoms;
24134 const char_type* __beg = __digits.data();
24136 money_base::pattern __p;
24137 const char_type* __sign;
24138 size_type __sign_size;
24139 if (!(*__beg == __lit[money_base::_S_minus]))
24141 __p = __lc->_M_pos_format;
24142 __sign = __lc->_M_positive_sign;
24143 __sign_size = __lc->_M_positive_sign_size;
24147 __p = __lc->_M_neg_format;
24148 __sign = __lc->_M_negative_sign;
24149 __sign_size = __lc->_M_negative_sign_size;
24150 if (__digits.size())
24155 size_type __len = __ctype.scan_not(ctype_base::digit, __beg,
24156 __beg + __digits.size()) - __beg;
24162 string_type __value;
24163 __value.reserve(2 * __len);
24167 int __paddec = __len - __lc->_M_frac_digits;
24170 if (__lc->_M_frac_digits < 0)
24172 if (__lc->_M_grouping_size)
24175 static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT)
24178 std::__add_grouping(__ws, __lc->_M_thousands_sep,
24180 __lc->_M_grouping_size,
24181 __beg, __beg + __paddec);
24182 __value.assign(__ws, __ws_end - __ws);
24185 __value.assign(__beg, __paddec);
24189 if (__lc->_M_frac_digits > 0)
24191 __value += __lc->_M_decimal_point;
24193 __value.append(__beg + __paddec, __lc->_M_frac_digits);
24197 __value.append(-__paddec, __lit[money_base::_S_zero]);
24198 __value.append(__beg, __len);
24203 const ios_base::fmtflags __f = __io.flags()
24204 & ios_base::adjustfield;
24205 __len = __value.size() + __sign_size;
24206 __len += ((__io.flags() & ios_base::showbase)
24207 ? __lc->_M_curr_symbol_size : 0);
24210 __res.reserve(2 * __len);
24212 const size_type __width = static_cast<size_type>(__io.width());
24213 const bool __testipad = (__f == ios_base::internal
24214 && __len < __width);
24216 for (int __i = 0; __i < 4; ++__i)
24218 const part __which = static_cast<part>(__p.field[__i]);
24221 case money_base::symbol:
24222 if (__io.flags() & ios_base::showbase)
24223 __res.append(__lc->_M_curr_symbol,
24224 __lc->_M_curr_symbol_size);
24226 case money_base::sign:
24231 __res += __sign[0];
24233 case money_base::value:
24236 case money_base::space:
24241 __res.append(__width - __len, __fill);
24245 case money_base::none:
24247 __res.append(__width - __len, __fill);
24253 if (__sign_size > 1)
24254 __res.append(__sign + 1, __sign_size - 1);
24257 __len = __res.size();
24258 if (__width > __len)
24260 if (__f == ios_base::left)
24262 __res.append(__width - __len, __fill);
24265 __res.insert(0, __width - __len, __fill);
24270 __s = std::__write(__s, __res.data(), __len);
24276 template<typename _CharT, typename _OutIter>
24278 money_put<_CharT, _OutIter>::
24279 do_put(iter_type __s, bool __intl, ios_base& __io, char_type __fill,
24280 long double __units) const
24282 const locale __loc = __io.getloc();
24283 const ctype<_CharT>& __ctype = use_facet<ctype<_CharT> >(__loc);
24284 # 1708 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.tcc" 3
24285 const int __cs_size = numeric_limits<long double>::max_exponent10 + 3;
24286 char* __cs = static_cast<char*>(__builtin_alloca(__cs_size));
24287 int __len = std::__convert_from_v(__cs, 0, "%.*Lf", __units,
24288 _S_get_c_locale(), 0);
24290 _CharT* __ws = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT)
24292 __ctype.widen(__cs, __cs + __len, __ws);
24293 const string_type __digits(__ws, __len);
24294 return __intl ? _M_insert<true>(__s, __io, __fill, __digits)
24295 : _M_insert<false>(__s, __io, __fill, __digits);
24298 template<typename _CharT, typename _OutIter>
24300 money_put<_CharT, _OutIter>::
24301 do_put(iter_type __s, bool __intl, ios_base& __io, char_type __fill,
24302 const string_type& __digits) const
24303 { return __intl ? _M_insert<true>(__s, __io, __fill, __digits)
24304 : _M_insert<false>(__s, __io, __fill, __digits); }
24310 template<typename _CharT, typename _InIter>
24311 time_base::dateorder
24312 time_get<_CharT, _InIter>::do_date_order() const
24313 { return time_base::no_order; }
24317 template<typename _CharT, typename _InIter>
24319 time_get<_CharT, _InIter>::
24320 _M_extract_via_format(iter_type __beg, iter_type __end, ios_base& __io,
24321 ios_base::iostate& __err, tm* __tm,
24322 const _CharT* __format) const
24324 const locale& __loc = __io._M_getloc();
24325 const __timepunct<_CharT>& __tp = use_facet<__timepunct<_CharT> >(__loc);
24326 const ctype<_CharT>& __ctype = use_facet<ctype<_CharT> >(__loc);
24327 const size_t __len = char_traits<_CharT>::length(__format);
24329 for (size_t __i = 0; __beg != __end && __i < __len && !__err; ++__i)
24331 if (__ctype.narrow(__format[__i], 0) == '%')
24334 char __c = __ctype.narrow(__format[++__i], 0);
24336 if (__c == 'E' || __c == 'O')
24337 __c = __ctype.narrow(__format[++__i], 0);
24344 const char_type* __days1[7];
24345 __tp._M_days_abbreviated(__days1);
24346 __beg = _M_extract_name(__beg, __end, __tm->tm_wday, __days1,
24351 const char_type* __days2[7];
24352 __tp._M_days(__days2);
24353 __beg = _M_extract_name(__beg, __end, __tm->tm_wday, __days2,
24359 const char_type* __months1[12];
24360 __tp._M_months_abbreviated(__months1);
24361 __beg = _M_extract_name(__beg, __end, __tm->tm_mon,
24362 __months1, 12, __io, __err);
24366 const char_type* __months2[12];
24367 __tp._M_months(__months2);
24368 __beg = _M_extract_name(__beg, __end, __tm->tm_mon,
24369 __months2, 12, __io, __err);
24373 const char_type* __dt[2];
24374 __tp._M_date_time_formats(__dt);
24375 __beg = _M_extract_via_format(__beg, __end, __io, __err,
24380 __beg = _M_extract_num(__beg, __end, __tm->tm_mday, 1, 31, 2,
24386 if (__ctype.is(ctype_base::space, *__beg))
24387 __beg = _M_extract_num(++__beg, __end, __tm->tm_mday, 1, 9,
24390 __beg = _M_extract_num(__beg, __end, __tm->tm_mday, 10, 31,
24396 __ctype.widen(__cs, __cs + 9, __wcs);
24397 __beg = _M_extract_via_format(__beg, __end, __io, __err,
24402 __beg = _M_extract_num(__beg, __end, __tm->tm_hour, 0, 23, 2,
24407 __beg = _M_extract_num(__beg, __end, __tm->tm_hour, 1, 12, 2,
24412 __beg = _M_extract_num(__beg, __end, __mem, 1, 12, 2,
24415 __tm->tm_mon = __mem - 1;
24419 __beg = _M_extract_num(__beg, __end, __tm->tm_min, 0, 59, 2,
24423 if (__ctype.narrow(*__beg, 0) == '\n')
24426 __err |= ios_base::failbit;
24431 __ctype.widen(__cs, __cs + 6, __wcs);
24432 __beg = _M_extract_via_format(__beg, __end, __io, __err,
24441 __beg = _M_extract_num(__beg, __end, __tm->tm_sec, 0, 61, 2,
24446 if (__ctype.narrow(*__beg, 0) == '\t')
24449 __err |= ios_base::failbit;
24454 __ctype.widen(__cs, __cs + 9, __wcs);
24455 __beg = _M_extract_via_format(__beg, __end, __io, __err,
24460 const char_type* __dates[2];
24461 __tp._M_date_formats(__dates);
24462 __beg = _M_extract_via_format(__beg, __end, __io, __err,
24467 const char_type* __times[2];
24468 __tp._M_time_formats(__times);
24469 __beg = _M_extract_via_format(__beg, __end, __io, __err,
24475 __beg = _M_extract_num(__beg, __end, __tm->tm_year, 0, 99, 2,
24480 __beg = _M_extract_num(__beg, __end, __mem, 0, 9999, 4,
24483 __tm->tm_year = __mem - 1900;
24487 if (__ctype.is(ctype_base::upper, *__beg))
24490 __beg = _M_extract_name(__beg, __end, __tmp,
24491 __timepunct_cache<_CharT>::_S_timezones,
24495 if (__beg != __end && !__err && __tmp == 0
24496 && (*__beg == __ctype.widen('-')
24497 || *__beg == __ctype.widen('+')))
24499 __beg = _M_extract_num(__beg, __end, __tmp, 0, 23, 2,
24501 __beg = _M_extract_num(__beg, __end, __tmp, 0, 59, 2,
24506 __err |= ios_base::failbit;
24510 __err |= ios_base::failbit;
24516 if (__format[__i] == *__beg)
24519 __err |= ios_base::failbit;
24525 template<typename _CharT, typename _InIter>
24527 time_get<_CharT, _InIter>::
24528 _M_extract_num(iter_type __beg, iter_type __end, int& __member,
24529 int __min, int __max, size_t __len,
24530 ios_base& __io, ios_base::iostate& __err) const
24532 const locale& __loc = __io._M_getloc();
24533 const ctype<_CharT>& __ctype = use_facet<ctype<_CharT> >(__loc);
24536 int __mult = __len == 2 ? 10 : (__len == 4 ? 1000 : 1);
24541 for (; __beg != __end && __i < __len; ++__beg, ++__i)
24543 const char __c = __ctype.narrow(*__beg, '*');
24544 if (__c >= '0' && __c <= '9')
24546 __value = __value * 10 + (__c - '0');
24547 const int __valuec = __value * __mult;
24548 if (__valuec > __max || __valuec + __mult < __min)
24556 __member = __value;
24558 __err |= ios_base::failbit;
24564 template<typename _CharT, typename _InIter>
24566 time_get<_CharT, _InIter>::
24567 _M_extract_name(iter_type __beg, iter_type __end, int& __member,
24568 const _CharT** __names, size_t __indexlen,
24569 ios_base& __io, ios_base::iostate& __err) const
24571 typedef char_traits<_CharT> __traits_type;
24572 const locale& __loc = __io._M_getloc();
24573 const ctype<_CharT>& __ctype = use_facet<ctype<_CharT> >(__loc);
24575 int* __matches = static_cast<int*>(__builtin_alloca(sizeof(int)
24577 size_t __nmatches = 0;
24579 bool __testvalid = true;
24580 const char_type* __name;
24586 if (__beg != __end)
24588 const char_type __c = *__beg;
24589 for (size_t __i1 = 0; __i1 < __indexlen; ++__i1)
24590 if (__c == __names[__i1][0]
24591 || __c == __ctype.toupper(__names[__i1][0]))
24592 __matches[__nmatches++] = __i1;
24595 while (__nmatches > 1)
24598 size_t __minlen = __traits_type::length(__names[__matches[0]]);
24599 for (size_t __i2 = 1; __i2 < __nmatches; ++__i2)
24600 __minlen = std::min(__minlen,
24601 __traits_type::length(__names[__matches[__i2]]));
24603 if (__pos < __minlen && __beg != __end)
24604 for (size_t __i3 = 0; __i3 < __nmatches;)
24606 __name = __names[__matches[__i3]];
24607 if (!(__name[__pos] == *__beg))
24608 __matches[__i3] = __matches[--__nmatches];
24616 if (__nmatches == 1)
24620 __name = __names[__matches[0]];
24621 const size_t __len = __traits_type::length(__name);
24622 while (__pos < __len && __beg != __end && __name[__pos] == *__beg)
24625 if (__len == __pos)
24626 __member = __matches[0];
24628 __testvalid = false;
24631 __testvalid = false;
24633 __err |= ios_base::failbit;
24637 template<typename _CharT, typename _InIter>
24639 time_get<_CharT, _InIter>::
24640 do_get_time(iter_type __beg, iter_type __end, ios_base& __io,
24641 ios_base::iostate& __err, tm* __tm) const
24643 const locale& __loc = __io._M_getloc();
24644 const __timepunct<_CharT>& __tp = use_facet<__timepunct<_CharT> >(__loc);
24645 const char_type* __times[2];
24646 __tp._M_time_formats(__times);
24647 __beg = _M_extract_via_format(__beg, __end, __io, __err,
24649 if (__beg == __end)
24650 __err |= ios_base::eofbit;
24654 template<typename _CharT, typename _InIter>
24656 time_get<_CharT, _InIter>::
24657 do_get_date(iter_type __beg, iter_type __end, ios_base& __io,
24658 ios_base::iostate& __err, tm* __tm) const
24660 const locale& __loc = __io._M_getloc();
24661 const __timepunct<_CharT>& __tp = use_facet<__timepunct<_CharT> >(__loc);
24662 const char_type* __dates[2];
24663 __tp._M_date_formats(__dates);
24664 __beg = _M_extract_via_format(__beg, __end, __io, __err,
24666 if (__beg == __end)
24667 __err |= ios_base::eofbit;
24671 template<typename _CharT, typename _InIter>
24673 time_get<_CharT, _InIter>::
24674 do_get_weekday(iter_type __beg, iter_type __end, ios_base& __io,
24675 ios_base::iostate& __err, tm* __tm) const
24677 typedef char_traits<_CharT> __traits_type;
24678 const locale& __loc = __io._M_getloc();
24679 const __timepunct<_CharT>& __tp = use_facet<__timepunct<_CharT> >(__loc);
24680 const ctype<_CharT>& __ctype = use_facet<ctype<_CharT> >(__loc);
24681 const char_type* __days[7];
24682 __tp._M_days_abbreviated(__days);
24684 __beg = _M_extract_name(__beg, __end, __tmpwday, __days, 7, __io, __err);
24692 if (!__err && __beg != __end)
24694 size_t __pos = __traits_type::length(__days[__tmpwday]);
24695 __tp._M_days(__days);
24696 const char_type* __name = __days[__tmpwday];
24697 if (__name[__pos] == *__beg)
24700 const size_t __len = __traits_type::length(__name);
24701 while (__pos < __len && __beg != __end
24702 && __name[__pos] == *__beg)
24704 if (__len != __pos)
24705 __err |= ios_base::failbit;
24709 __tm->tm_wday = __tmpwday;
24711 if (__beg == __end)
24712 __err |= ios_base::eofbit;
24716 template<typename _CharT, typename _InIter>
24718 time_get<_CharT, _InIter>::
24719 do_get_monthname(iter_type __beg, iter_type __end,
24720 ios_base& __io, ios_base::iostate& __err, tm* __tm) const
24722 typedef char_traits<_CharT> __traits_type;
24723 const locale& __loc = __io._M_getloc();
24724 const __timepunct<_CharT>& __tp = use_facet<__timepunct<_CharT> >(__loc);
24725 const ctype<_CharT>& __ctype = use_facet<ctype<_CharT> >(__loc);
24726 const char_type* __months[12];
24727 __tp._M_months_abbreviated(__months);
24729 __beg = _M_extract_name(__beg, __end, __tmpmon, __months, 12,
24738 if (!__err && __beg != __end)
24740 size_t __pos = __traits_type::length(__months[__tmpmon]);
24741 __tp._M_months(__months);
24742 const char_type* __name = __months[__tmpmon];
24743 if (__name[__pos] == *__beg)
24746 const size_t __len = __traits_type::length(__name);
24747 while (__pos < __len && __beg != __end
24748 && __name[__pos] == *__beg)
24750 if (__len != __pos)
24751 __err |= ios_base::failbit;
24755 __tm->tm_mon = __tmpmon;
24757 if (__beg == __end)
24758 __err |= ios_base::eofbit;
24762 template<typename _CharT, typename _InIter>
24764 time_get<_CharT, _InIter>::
24765 do_get_year(iter_type __beg, iter_type __end, ios_base& __io,
24766 ios_base::iostate& __err, tm* __tm) const
24768 const locale& __loc = __io._M_getloc();
24769 const ctype<_CharT>& __ctype = use_facet<ctype<_CharT> >(__loc);
24773 for (; __beg != __end && __i < 4; ++__beg, ++__i)
24775 const char __c = __ctype.narrow(*__beg, '*');
24776 if (__c >= '0' && __c <= '9')
24777 __value = __value * 10 + (__c - '0');
24781 if (__i == 2 || __i == 4)
24782 __tm->tm_year = __i == 2 ? __value : __value - 1900;
24784 __err |= ios_base::failbit;
24785 if (__beg == __end)
24786 __err |= ios_base::eofbit;
24790 template<typename _CharT, typename _OutIter>
24792 time_put<_CharT, _OutIter>::
24793 put(iter_type __s, ios_base& __io, char_type __fill, const tm* __tm,
24794 const _CharT* __beg, const _CharT* __end) const
24796 const locale& __loc = __io._M_getloc();
24797 ctype<_CharT> const& __ctype = use_facet<ctype<_CharT> >(__loc);
24798 for (; __beg != __end; ++__beg)
24799 if (__ctype.narrow(*__beg, 0) != '%')
24804 else if (++__beg != __end)
24808 const char __c = __ctype.narrow(*__beg, 0);
24809 if (__c != 'E' && __c != 'O')
24811 else if (++__beg != __end)
24814 __format = __ctype.narrow(*__beg, 0);
24818 __s = this->do_put(__s, __io, __fill, __tm, __format, __mod);
24825 template<typename _CharT, typename _OutIter>
24827 time_put<_CharT, _OutIter>::
24828 do_put(iter_type __s, ios_base& __io, char_type, const tm* __tm,
24829 char __format, char __mod) const
24831 const locale& __loc = __io._M_getloc();
24832 ctype<_CharT> const& __ctype = use_facet<ctype<_CharT> >(__loc);
24833 __timepunct<_CharT> const& __tp = use_facet<__timepunct<_CharT> >(__loc);
24837 const size_t __maxlen = 128;
24839 static_cast<char_type*>(__builtin_alloca(sizeof(char_type) * __maxlen));
24846 char_type __fmt[4];
24847 __fmt[0] = __ctype.widen('%');
24850 __fmt[1] = __format;
24851 __fmt[2] = char_type();
24856 __fmt[2] = __format;
24857 __fmt[3] = char_type();
24860 __tp._M_put(__res, __maxlen, __fmt, __tm);
24863 return std::__write(__s, __res, char_traits<char_type>::length(__res));
24867 template<typename _CharT>
24869 collate<_CharT>::_M_compare(const _CharT*, const _CharT*) const
24873 template<typename _CharT>
24875 collate<_CharT>::_M_transform(_CharT*, const _CharT*, size_t) const
24878 template<typename _CharT>
24881 do_compare(const _CharT* __lo1, const _CharT* __hi1,
24882 const _CharT* __lo2, const _CharT* __hi2) const
24886 const string_type __one(__lo1, __hi1);
24887 const string_type __two(__lo2, __hi2);
24889 const _CharT* __p = __one.c_str();
24890 const _CharT* __pend = __one.data() + __one.length();
24891 const _CharT* __q = __two.c_str();
24892 const _CharT* __qend = __two.data() + __two.length();
24899 const int __res = _M_compare(__p, __q);
24903 __p += char_traits<_CharT>::length(__p);
24904 __q += char_traits<_CharT>::length(__q);
24905 if (__p == __pend && __q == __qend)
24907 else if (__p == __pend)
24909 else if (__q == __qend)
24917 template<typename _CharT>
24918 typename collate<_CharT>::string_type
24920 do_transform(const _CharT* __lo, const _CharT* __hi) const
24923 string_type __str(__lo, __hi);
24925 const _CharT* __p = __str.c_str();
24926 const _CharT* __pend = __str.data() + __str.length();
24928 size_t __len = (__hi - __lo) * 2;
24939 static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT) * __len));
24940 size_t __res = _M_transform(__c, __p, __len);
24943 if (__res >= __len)
24946 __c = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT)
24948 __res = _M_transform(__c, __p, __len);
24951 __ret.append(__c, __res);
24952 __p += char_traits<_CharT>::length(__p);
24957 __ret.push_back(_CharT());
24961 template<typename _CharT>
24964 do_hash(const _CharT* __lo, const _CharT* __hi) const
24966 unsigned long __val = 0;
24967 for (; __lo < __hi; ++__lo)
24968 __val = *__lo + ((__val << 7) |
24969 (__val >> (numeric_limits<unsigned long>::digits - 7)));
24970 return static_cast<long>(__val);
24972 # 2407 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.tcc" 3
24973 template<typename _CharT, typename _Traits>
24975 __pad<_CharT, _Traits>::_S_pad(ios_base& __io, _CharT __fill,
24976 _CharT* __news, const _CharT* __olds,
24977 const streamsize __newlen,
24978 const streamsize __oldlen, const bool __num)
24980 const size_t __plen = static_cast<size_t>(__newlen - __oldlen);
24981 const ios_base::fmtflags __adjust = __io.flags() & ios_base::adjustfield;
24984 if (__adjust == ios_base::left)
24986 _Traits::copy(__news, const_cast<_CharT*>(__olds), __oldlen);
24987 _Traits::assign(__news + __oldlen, __plen, __fill);
24992 if (__adjust == ios_base::internal && __num)
24997 const locale& __loc = __io._M_getloc();
24998 const ctype<_CharT>& __ctype = use_facet<ctype<_CharT> >(__loc);
25000 const bool __testsign = (__ctype.widen('-') == __olds[0]
25001 || __ctype.widen('+') == __olds[0]);
25002 const bool __testhex = (__ctype.widen('0') == __olds[0]
25004 && (__ctype.widen('x') == __olds[1]
25005 || __ctype.widen('X') == __olds[1]));
25008 __news[0] = __olds[0];
25009 __news[1] = __olds[1];
25013 else if (__testsign)
25015 __news[0] = __olds[0];
25021 _Traits::assign(__news, __plen, __fill);
25022 _Traits::copy(__news + __plen, const_cast<_CharT*>(__olds + __mod),
25027 __verify_grouping(const char* __grouping, size_t __grouping_size,
25028 const string& __grouping_tmp)
25030 const size_t __n = __grouping_tmp.size() - 1;
25031 const size_t __min = std::min(__n, size_t(__grouping_size - 1));
25033 bool __test = true;
25038 for (size_t __j = 0; __j < __min && __test; --__i, ++__j)
25039 __test = __grouping_tmp[__i] == __grouping[__j];
25040 for (; __i && __test; --__i)
25041 __test = __grouping_tmp[__i] == __grouping[__min];
25045 if (static_cast<signed char>(__grouping[__min]) > 0)
25046 __test &= __grouping_tmp[0] <= __grouping[__min];
25050 template<typename _CharT>
25052 __add_grouping(_CharT* __s, _CharT __sep,
25053 const char* __gbeg, size_t __gsize,
25054 const _CharT* __first, const _CharT* __last)
25056 if (__last - __first > *__gbeg
25057 && static_cast<signed char>(*__gbeg) > 0)
25059 const bool __bump = __gsize != 1;
25060 __s = std::__add_grouping(__s, __sep, __gbeg + __bump,
25061 __gsize - __bump, __first,
25063 __first = __last - *__gbeg;
25067 *__s++ = *__first++;
25068 while (__first != __last);
25076 extern template class moneypunct<char, false>;
25077 extern template class moneypunct<char, true>;
25078 extern template class moneypunct_byname<char, false>;
25079 extern template class moneypunct_byname<char, true>;
25080 extern template class money_get<char>;
25081 extern template class money_put<char>;
25082 extern template class numpunct<char>;
25083 extern template class numpunct_byname<char>;
25084 extern template class num_get<char>;
25085 extern template class num_put<char>;
25086 extern template class __timepunct<char>;
25087 extern template class time_put<char>;
25088 extern template class time_put_byname<char>;
25089 extern template class time_get<char>;
25090 extern template class time_get_byname<char>;
25091 extern template class messages<char>;
25092 extern template class messages_byname<char>;
25093 extern template class ctype_byname<char>;
25094 extern template class codecvt_byname<char, char, mbstate_t>;
25095 extern template class collate<char>;
25096 extern template class collate_byname<char>;
25099 const codecvt<char, char, mbstate_t>&
25100 use_facet<codecvt<char, char, mbstate_t> >(const locale&);
25103 const collate<char>&
25104 use_facet<collate<char> >(const locale&);
25107 const numpunct<char>&
25108 use_facet<numpunct<char> >(const locale&);
25111 const num_put<char>&
25112 use_facet<num_put<char> >(const locale&);
25115 const num_get<char>&
25116 use_facet<num_get<char> >(const locale&);
25119 const moneypunct<char, true>&
25120 use_facet<moneypunct<char, true> >(const locale&);
25123 const moneypunct<char, false>&
25124 use_facet<moneypunct<char, false> >(const locale&);
25127 const money_put<char>&
25128 use_facet<money_put<char> >(const locale&);
25131 const money_get<char>&
25132 use_facet<money_get<char> >(const locale&);
25135 const __timepunct<char>&
25136 use_facet<__timepunct<char> >(const locale&);
25139 const time_put<char>&
25140 use_facet<time_put<char> >(const locale&);
25143 const time_get<char>&
25144 use_facet<time_get<char> >(const locale&);
25147 const messages<char>&
25148 use_facet<messages<char> >(const locale&);
25152 has_facet<ctype<char> >(const locale&);
25156 has_facet<codecvt<char, char, mbstate_t> >(const locale&);
25160 has_facet<collate<char> >(const locale&);
25164 has_facet<numpunct<char> >(const locale&);
25168 has_facet<num_put<char> >(const locale&);
25172 has_facet<num_get<char> >(const locale&);
25176 has_facet<moneypunct<char> >(const locale&);
25180 has_facet<money_put<char> >(const locale&);
25184 has_facet<money_get<char> >(const locale&);
25188 has_facet<__timepunct<char> >(const locale&);
25192 has_facet<time_put<char> >(const locale&);
25196 has_facet<time_get<char> >(const locale&);
25200 has_facet<messages<char> >(const locale&);
25201 # 2764 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/locale_facets.tcc" 3
25203 # 47 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/locale" 2 3
25204 # 24 "./boost/format.hpp" 2
25208 # 1 "./boost/format/detail/compat_workarounds.hpp" 1
25209 # 33 "./boost/format/detail/compat_workarounds.hpp"
25216 class CompatTraits;
25221 template<class Alloc>
25227 # 1 "./boost/format/detail/config_macros.hpp" 1
25228 # 33 "./boost/format/detail/config_macros.hpp"
25229 # 1 "./boost/format/detail/workarounds_gcc-2_95.hpp" 1
25230 # 34 "./boost/format/detail/config_macros.hpp" 2
25231 # 1 "./boost/format/detail/workarounds_stlport.hpp" 1
25232 # 35 "./boost/format/detail/config_macros.hpp" 2
25233 # 86 "./boost/format/detail/config_macros.hpp"
25234 namespace boost { namespace io { namespace detail {
25236 typedef ::std:: locale locale_t;
25241 # 51 "./boost/format/detail/compat_workarounds.hpp" 2
25242 # 60 "./boost/format/detail/compat_workarounds.hpp"
25243 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/ostream" 1 3
25244 # 42 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/ostream" 3
25246 # 43 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/ostream" 3
25248 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/ios" 1 3
25249 # 41 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/ios" 3
25251 # 42 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/ios" 3
25252 # 50 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/ios" 3
25253 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_ios.h" 1 3
25254 # 39 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_ios.h" 3
25256 # 40 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_ios.h" 3
25272 template<typename _CharT, typename _Traits>
25273 class basic_ios : public ios_base
25282 typedef _CharT char_type;
25283 typedef typename _Traits::int_type int_type;
25284 typedef typename _Traits::pos_type pos_type;
25285 typedef typename _Traits::off_type off_type;
25286 typedef _Traits traits_type;
25287 # 78 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_ios.h" 3
25288 typedef ctype<_CharT> __ctype_type;
25289 typedef num_put<_CharT, ostreambuf_iterator<_CharT, _Traits> >
25291 typedef num_get<_CharT, istreambuf_iterator<_CharT, _Traits> >
25297 basic_ostream<_CharT, _Traits>* _M_tie;
25298 mutable char_type _M_fill;
25299 mutable bool _M_fill_init;
25300 basic_streambuf<_CharT, _Traits>* _M_streambuf;
25303 const __ctype_type* _M_ctype;
25305 const __num_put_type* _M_num_put;
25307 const __num_get_type* _M_num_get;
25317 operator void*() const
25318 { return this->fail() ? 0 : const_cast<basic_ios*>(this); }
25322 { return this->fail(); }
25323 # 122 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_ios.h" 3
25326 { return _M_streambuf_state; }
25327 # 133 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_ios.h" 3
25329 clear(iostate __state = goodbit);
25338 setstate(iostate __state)
25339 { this->clear(this->rdstate() | __state); }
25345 _M_setstate(iostate __state)
25349 _M_streambuf_state |= __state;
25350 if (this->exceptions() & __state)
25362 { return this->rdstate() == 0; }
25372 { return (this->rdstate() & eofbit) != 0; }
25373 # 186 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_ios.h" 3
25376 { return (this->rdstate() & (badbit | failbit)) != 0; }
25386 { return (this->rdstate() & badbit) != 0; }
25387 # 207 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_ios.h" 3
25390 { return _M_exception; }
25391 # 242 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_ios.h" 3
25393 exceptions(iostate __except)
25395 _M_exception = __except;
25396 this->clear(_M_streambuf_state);
25406 basic_ios(basic_streambuf<_CharT, _Traits>* __sb)
25407 : ios_base(), _M_tie(0), _M_fill(), _M_fill_init(false), _M_streambuf(0),
25408 _M_ctype(0), _M_num_put(0), _M_num_get(0)
25409 { this->init(__sb); }
25419 # 280 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_ios.h" 3
25420 basic_ostream<_CharT, _Traits>*
25423 # 292 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_ios.h" 3
25424 basic_ostream<_CharT, _Traits>*
25425 tie(basic_ostream<_CharT, _Traits>* __tiestr)
25427 basic_ostream<_CharT, _Traits>* __old = _M_tie;
25438 basic_streambuf<_CharT, _Traits>*
25440 { return _M_streambuf; }
25441 # 332 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_ios.h" 3
25442 basic_streambuf<_CharT, _Traits>*
25443 rdbuf(basic_streambuf<_CharT, _Traits>* __sb);
25444 # 346 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_ios.h" 3
25446 copyfmt(const basic_ios& __rhs);
25459 _M_fill = this->widen(' ');
25460 _M_fill_init = true;
25464 # 375 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_ios.h" 3
25466 fill(char_type __ch)
25468 char_type __old = this->fill();
25472 # 395 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_ios.h" 3
25474 imbue(const locale& __loc);
25475 # 415 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_ios.h" 3
25477 narrow(char_type __c, char __dfault) const;
25478 # 433 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_ios.h" 3
25480 widen(char __c) const;
25491 : ios_base(), _M_tie(0), _M_fill(char_type()), _M_fill_init(false),
25492 _M_streambuf(0), _M_ctype(0), _M_num_put(0), _M_num_get(0)
25502 init(basic_streambuf<_CharT, _Traits>* __sb);
25505 _M_cache_locale(const locale& __loc);
25510 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_ios.tcc" 1 3
25511 # 38 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_ios.tcc" 3
25513 # 39 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_ios.tcc" 3
25517 template<typename _CharT, typename _Traits>
25519 basic_ios<_CharT, _Traits>::clear(iostate __state)
25522 _M_streambuf_state = __state;
25524 _M_streambuf_state = __state | badbit;
25525 if (this->exceptions() & this->rdstate())
25526 __throw_ios_failure(("basic_ios::clear"));
25529 template<typename _CharT, typename _Traits>
25530 basic_streambuf<_CharT, _Traits>*
25531 basic_ios<_CharT, _Traits>::rdbuf(basic_streambuf<_CharT, _Traits>* __sb)
25533 basic_streambuf<_CharT, _Traits>* __old = _M_streambuf;
25534 _M_streambuf = __sb;
25539 template<typename _CharT, typename _Traits>
25540 basic_ios<_CharT, _Traits>&
25541 basic_ios<_CharT, _Traits>::copyfmt(const basic_ios& __rhs)
25545 if (this != &__rhs)
25551 _Words* __words = (__rhs._M_word_size <= _S_local_word_size) ?
25552 _M_local_word : new _Words[__rhs._M_word_size];
25555 _Callback_list* __cb = __rhs._M_callbacks;
25557 __cb->_M_add_reference();
25558 _M_call_callbacks(erase_event);
25559 if (_M_word != _M_local_word)
25564 _M_dispose_callbacks();
25567 _M_callbacks = __cb;
25568 for (int __i = 0; __i < __rhs._M_word_size; ++__i)
25569 __words[__i] = __rhs._M_word[__i];
25571 _M_word_size = __rhs._M_word_size;
25573 this->flags(__rhs.flags());
25574 this->width(__rhs.width());
25575 this->precision(__rhs.precision());
25576 this->tie(__rhs.tie());
25577 this->fill(__rhs.fill());
25578 _M_ios_locale = __rhs.getloc();
25579 _M_cache_locale(_M_ios_locale);
25581 _M_call_callbacks(copyfmt_event);
25584 this->exceptions(__rhs.exceptions());
25589 template<typename _CharT, typename _Traits>
25591 basic_ios<_CharT, _Traits>::narrow(char_type __c, char __dfault) const
25592 { return __check_facet(_M_ctype).narrow(__c, __dfault); }
25594 template<typename _CharT, typename _Traits>
25596 basic_ios<_CharT, _Traits>::widen(char __c) const
25597 { return __check_facet(_M_ctype).widen(__c); }
25600 template<typename _CharT, typename _Traits>
25602 basic_ios<_CharT, _Traits>::imbue(const locale& __loc)
25604 locale __old(this->getloc());
25605 ios_base::imbue(__loc);
25606 _M_cache_locale(__loc);
25607 if (this->rdbuf() != 0)
25608 this->rdbuf()->pubimbue(__loc);
25612 template<typename _CharT, typename _Traits>
25614 basic_ios<_CharT, _Traits>::init(basic_streambuf<_CharT, _Traits>* __sb)
25617 ios_base::_M_init();
25620 _M_cache_locale(_M_ios_locale);
25621 # 159 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_ios.tcc" 3
25622 _M_fill = _CharT();
25623 _M_fill_init = false;
25626 _M_exception = goodbit;
25627 _M_streambuf = __sb;
25628 _M_streambuf_state = __sb ? goodbit : badbit;
25631 template<typename _CharT, typename _Traits>
25633 basic_ios<_CharT, _Traits>::_M_cache_locale(const locale& __loc)
25635 if (__builtin_expect(has_facet<__ctype_type>(__loc), true))
25636 _M_ctype = &use_facet<__ctype_type>(__loc);
25640 if (__builtin_expect(has_facet<__num_put_type>(__loc), true))
25641 _M_num_put = &use_facet<__num_put_type>(__loc);
25645 if (__builtin_expect(has_facet<__num_get_type>(__loc), true))
25646 _M_num_get = &use_facet<__num_get_type>(__loc);
25655 extern template class basic_ios<char>;
25662 # 465 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/basic_ios.h" 2 3
25663 # 51 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/ios" 2 3
25664 # 45 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/ostream" 2 3
25668 # 56 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/ostream" 3
25669 template<typename _CharT, typename _Traits>
25670 class basic_ostream : virtual public basic_ios<_CharT, _Traits>
25674 typedef _CharT char_type;
25675 typedef typename _Traits::int_type int_type;
25676 typedef typename _Traits::pos_type pos_type;
25677 typedef typename _Traits::off_type off_type;
25678 typedef _Traits traits_type;
25681 typedef basic_streambuf<_CharT, _Traits> __streambuf_type;
25682 typedef basic_ios<_CharT, _Traits> __ios_type;
25683 typedef basic_ostream<_CharT, _Traits> __ostream_type;
25684 typedef num_put<_CharT, ostreambuf_iterator<_CharT, _Traits> >
25686 typedef ctype<_CharT> __ctype_type;
25688 template<typename _CharT2, typename _Traits2>
25689 friend basic_ostream<_CharT2, _Traits2>&
25690 operator<<(basic_ostream<_CharT2, _Traits2>&, _CharT2);
25692 template<typename _Traits2>
25693 friend basic_ostream<char, _Traits2>&
25694 operator<<(basic_ostream<char, _Traits2>&, char);
25696 template<typename _CharT2, typename _Traits2>
25697 friend basic_ostream<_CharT2, _Traits2>&
25698 operator<<(basic_ostream<_CharT2, _Traits2>&, const _CharT2*);
25700 template<typename _Traits2>
25701 friend basic_ostream<char, _Traits2>&
25702 operator<<(basic_ostream<char, _Traits2>&, const char*);
25704 template<typename _CharT2, typename _Traits2>
25705 friend basic_ostream<_CharT2, _Traits2>&
25706 operator<<(basic_ostream<_CharT2, _Traits2>&, const char*);
25707 # 103 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/ostream" 3
25709 basic_ostream(__streambuf_type* __sb)
25710 { this->init(__sb); }
25718 ~basic_ostream() { }
25722 friend class sentry;
25723 # 129 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/ostream" 3
25724 inline __ostream_type&
25725 operator<<(__ostream_type& (*__pf)(__ostream_type&));
25727 inline __ostream_type&
25728 operator<<(__ios_type& (*__pf)(__ios_type&));
25730 inline __ostream_type&
25731 operator<<(ios_base& (*__pf) (ios_base&));
25732 # 166 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/ostream" 3
25734 operator<<(long __n);
25737 operator<<(unsigned long __n);
25740 operator<<(bool __n);
25743 operator<<(short __n);
25746 operator<<(unsigned short __n);
25749 operator<<(int __n);
25752 operator<<(unsigned int __n);
25756 operator<<(long long __n);
25759 operator<<(unsigned long long __n);
25763 operator<<(double __f);
25766 operator<<(float __f);
25769 operator<<(long double __f);
25772 operator<<(const void* __p);
25773 # 228 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/ostream" 3
25775 operator<<(__streambuf_type* __sb);
25776 # 261 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/ostream" 3
25778 put(char_type __c);
25782 _M_write(const char_type* __s, streamsize __n)
25784 streamsize __put = this->rdbuf()->sputn(__s, __n);
25786 this->setstate(ios_base::badbit);
25788 # 289 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/ostream" 3
25790 write(const char_type* __s, streamsize __n);
25791 # 302 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/ostream" 3
25794 # 313 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/ostream" 3
25797 # 324 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/ostream" 3
25800 # 336 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/ostream" 3
25802 seekp(off_type, ios_base::seekdir);
25806 basic_ostream() { }
25808 # 354 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/ostream" 3
25809 template <typename _CharT, typename _Traits>
25810 class basic_ostream<_CharT, _Traits>::sentry
25814 basic_ostream<_CharT,_Traits>& _M_os;
25817 # 373 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/ostream" 3
25819 sentry(basic_ostream<_CharT,_Traits>& __os);
25820 # 383 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/ostream" 3
25824 if (_M_os.flags() & ios_base::unitbuf && !uncaught_exception())
25827 if (_M_os.rdbuf() && _M_os.rdbuf()->pubsync() == -1)
25828 _M_os.setstate(ios_base::badbit);
25831 # 401 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/ostream" 3
25832 operator bool() const
25835 # 422 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/ostream" 3
25836 template<typename _CharT, typename _Traits>
25837 basic_ostream<_CharT, _Traits>&
25838 operator<<(basic_ostream<_CharT, _Traits>& __out, _CharT __c);
25840 template<typename _CharT, typename _Traits>
25841 basic_ostream<_CharT, _Traits>&
25842 operator<<(basic_ostream<_CharT, _Traits>& __out, char __c)
25843 { return (__out << __out.widen(__c)); }
25846 template <class _Traits>
25847 basic_ostream<char, _Traits>&
25848 operator<<(basic_ostream<char, _Traits>& __out, char __c);
25851 template<class _Traits>
25852 basic_ostream<char, _Traits>&
25853 operator<<(basic_ostream<char, _Traits>& __out, signed char __c)
25854 { return (__out << static_cast<char>(__c)); }
25856 template<class _Traits>
25857 basic_ostream<char, _Traits>&
25858 operator<<(basic_ostream<char, _Traits>& __out, unsigned char __c)
25859 { return (__out << static_cast<char>(__c)); }
25860 # 462 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/ostream" 3
25861 template<typename _CharT, typename _Traits>
25862 basic_ostream<_CharT, _Traits>&
25863 operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s);
25865 template<typename _CharT, typename _Traits>
25866 basic_ostream<_CharT, _Traits> &
25867 operator<<(basic_ostream<_CharT, _Traits>& __out, const char* __s);
25870 template<class _Traits>
25871 basic_ostream<char, _Traits>&
25872 operator<<(basic_ostream<char, _Traits>& __out, const char* __s);
25875 template<class _Traits>
25876 basic_ostream<char, _Traits>&
25877 operator<<(basic_ostream<char, _Traits>& __out, const signed char* __s)
25878 { return (__out << reinterpret_cast<const char*>(__s)); }
25880 template<class _Traits>
25881 basic_ostream<char, _Traits> &
25882 operator<<(basic_ostream<char, _Traits>& __out, const unsigned char* __s)
25883 { return (__out << reinterpret_cast<const char*>(__s)); }
25884 # 496 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/ostream" 3
25885 template<typename _CharT, typename _Traits>
25886 basic_ostream<_CharT, _Traits>&
25887 endl(basic_ostream<_CharT, _Traits>& __os)
25888 { return flush(__os.put(__os.widen('\n'))); }
25896 template<typename _CharT, typename _Traits>
25897 basic_ostream<_CharT, _Traits>&
25898 ends(basic_ostream<_CharT, _Traits>& __os)
25899 { return __os.put(_CharT()); }
25906 template<typename _CharT, typename _Traits>
25907 basic_ostream<_CharT, _Traits>&
25908 flush(basic_ostream<_CharT, _Traits>& __os)
25909 { return __os.flush(); }
25914 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/ostream.tcc" 1 3
25915 # 43 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/ostream.tcc" 3
25917 # 44 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/ostream.tcc" 3
25923 template<typename _CharT, typename _Traits>
25924 basic_ostream<_CharT, _Traits>::sentry::
25925 sentry(basic_ostream<_CharT, _Traits>& __os)
25926 : _M_ok(false), _M_os(__os)
25929 if (__os.tie() && __os.good())
25930 __os.tie()->flush();
25935 __os.setstate(ios_base::failbit);
25938 template<typename _CharT, typename _Traits>
25939 basic_ostream<_CharT, _Traits>&
25940 basic_ostream<_CharT, _Traits>::
25941 operator<<(__ostream_type& (*__pf)(__ostream_type&))
25946 return __pf(*this);
25949 template<typename _CharT, typename _Traits>
25950 basic_ostream<_CharT, _Traits>&
25951 basic_ostream<_CharT, _Traits>::
25952 operator<<(__ios_type& (*__pf)(__ios_type&))
25961 template<typename _CharT, typename _Traits>
25962 basic_ostream<_CharT, _Traits>&
25963 basic_ostream<_CharT, _Traits>::
25964 operator<<(ios_base& (*__pf)(ios_base&))
25973 template<typename _CharT, typename _Traits>
25974 basic_ostream<_CharT, _Traits>&
25975 basic_ostream<_CharT, _Traits>::
25976 operator<<(bool __n)
25978 sentry __cerb(*this);
25981 ios_base::iostate __err = ios_base::iostate(ios_base::goodbit);
25984 const __num_put_type& __np = __check_facet(this->_M_num_put);
25985 if (__np.put(*this, *this, this->fill(), __n).failed())
25986 __err |= ios_base::badbit;
25989 { this->_M_setstate(ios_base::badbit); }
25991 this->setstate(__err);
25996 template<typename _CharT, typename _Traits>
25997 basic_ostream<_CharT, _Traits>&
25998 basic_ostream<_CharT, _Traits>::
25999 operator<<(short __n)
26001 sentry __cerb(*this);
26004 ios_base::iostate __err = ios_base::iostate(ios_base::goodbit);
26010 const ios_base::fmtflags __fmt = (this->flags()
26011 & ios_base::basefield);
26012 if (__fmt == ios_base::oct || __fmt == ios_base::hex)
26013 __l = static_cast<long>(static_cast<unsigned short>(__n));
26015 __l = static_cast<long>(__n);
26016 const __num_put_type& __np = __check_facet(this->_M_num_put);
26017 if (__np.put(*this, *this, this->fill(), __l).failed())
26018 __err |= ios_base::badbit;
26021 { this->_M_setstate(ios_base::badbit); }
26023 this->setstate(__err);
26028 template<typename _CharT, typename _Traits>
26029 basic_ostream<_CharT, _Traits>&
26030 basic_ostream<_CharT, _Traits>::
26031 operator<<(unsigned short __n)
26033 sentry __cerb(*this);
26036 ios_base::iostate __err = ios_base::iostate(ios_base::goodbit);
26041 const __num_put_type& __np = __check_facet(this->_M_num_put);
26042 if (__np.put(*this, *this, this->fill(),
26043 static_cast<unsigned long>(__n)).failed())
26044 __err |= ios_base::badbit;
26047 { this->_M_setstate(ios_base::badbit); }
26049 this->setstate(__err);
26054 template<typename _CharT, typename _Traits>
26055 basic_ostream<_CharT, _Traits>&
26056 basic_ostream<_CharT, _Traits>::
26057 operator<<(int __n)
26059 sentry __cerb(*this);
26062 ios_base::iostate __err = ios_base::iostate(ios_base::goodbit);
26068 const ios_base::fmtflags __fmt = (this->flags()
26069 & ios_base::basefield);
26070 if (__fmt == ios_base::oct || __fmt == ios_base::hex)
26071 __l = static_cast<long>(static_cast<unsigned int>(__n));
26073 __l = static_cast<long>(__n);
26074 const __num_put_type& __np = __check_facet(this->_M_num_put);
26075 if (__np.put(*this, *this, this->fill(), __l).failed())
26076 __err |= ios_base::badbit;
26079 { this->_M_setstate(ios_base::badbit); }
26081 this->setstate(__err);
26086 template<typename _CharT, typename _Traits>
26087 basic_ostream<_CharT, _Traits>&
26088 basic_ostream<_CharT, _Traits>::
26089 operator<<(unsigned int __n)
26091 sentry __cerb(*this);
26094 ios_base::iostate __err = ios_base::iostate(ios_base::goodbit);
26099 const __num_put_type& __np = __check_facet(this->_M_num_put);
26100 if (__np.put(*this, *this, this->fill(),
26101 static_cast<unsigned long>(__n)).failed())
26102 __err |= ios_base::badbit;
26105 { this->_M_setstate(ios_base::badbit); }
26107 this->setstate(__err);
26112 template<typename _CharT, typename _Traits>
26113 basic_ostream<_CharT, _Traits>&
26114 basic_ostream<_CharT, _Traits>::
26115 operator<<(long __n)
26117 sentry __cerb(*this);
26120 ios_base::iostate __err = ios_base::iostate(ios_base::goodbit);
26123 const __num_put_type& __np = __check_facet(this->_M_num_put);
26124 if (__np.put(*this, *this, this->fill(), __n).failed())
26125 __err |= ios_base::badbit;
26128 { this->_M_setstate(ios_base::badbit); }
26130 this->setstate(__err);
26135 template<typename _CharT, typename _Traits>
26136 basic_ostream<_CharT, _Traits>&
26137 basic_ostream<_CharT, _Traits>::
26138 operator<<(unsigned long __n)
26140 sentry __cerb(*this);
26143 ios_base::iostate __err = ios_base::iostate(ios_base::goodbit);
26146 const __num_put_type& __np = __check_facet(this->_M_num_put);
26147 if (__np.put(*this, *this, this->fill(), __n).failed())
26148 __err |= ios_base::badbit;
26151 { this->_M_setstate(ios_base::badbit); }
26153 this->setstate(__err);
26159 template<typename _CharT, typename _Traits>
26160 basic_ostream<_CharT, _Traits>&
26161 basic_ostream<_CharT, _Traits>::
26162 operator<<(long long __n)
26164 sentry __cerb(*this);
26167 ios_base::iostate __err = ios_base::iostate(ios_base::goodbit);
26170 const __num_put_type& __np = __check_facet(this->_M_num_put);
26171 if (__np.put(*this, *this, this->fill(), __n).failed())
26172 __err |= ios_base::badbit;
26175 { this->_M_setstate(ios_base::badbit); }
26177 this->setstate(__err);
26182 template<typename _CharT, typename _Traits>
26183 basic_ostream<_CharT, _Traits>&
26184 basic_ostream<_CharT, _Traits>::
26185 operator<<(unsigned long long __n)
26187 sentry __cerb(*this);
26190 ios_base::iostate __err = ios_base::iostate(ios_base::goodbit);
26193 const __num_put_type& __np = __check_facet(this->_M_num_put);
26194 if (__np.put(*this, *this, this->fill(), __n).failed())
26195 __err |= ios_base::badbit;
26198 { this->_M_setstate(ios_base::badbit); }
26200 this->setstate(__err);
26206 template<typename _CharT, typename _Traits>
26207 basic_ostream<_CharT, _Traits>&
26208 basic_ostream<_CharT, _Traits>::
26209 operator<<(float __n)
26211 sentry __cerb(*this);
26214 ios_base::iostate __err = ios_base::iostate(ios_base::goodbit);
26219 const __num_put_type& __np = __check_facet(this->_M_num_put);
26220 if (__np.put(*this, *this, this->fill(),
26221 static_cast<double>(__n)).failed())
26222 __err |= ios_base::badbit;
26225 { this->_M_setstate(ios_base::badbit); }
26227 this->setstate(__err);
26232 template<typename _CharT, typename _Traits>
26233 basic_ostream<_CharT, _Traits>&
26234 basic_ostream<_CharT, _Traits>::
26235 operator<<(double __n)
26237 sentry __cerb(*this);
26240 ios_base::iostate __err = ios_base::iostate(ios_base::goodbit);
26243 const __num_put_type& __np = __check_facet(this->_M_num_put);
26244 if (__np.put(*this, *this, this->fill(), __n).failed())
26245 __err |= ios_base::badbit;
26248 { this->_M_setstate(ios_base::badbit); }
26250 this->setstate(__err);
26255 template<typename _CharT, typename _Traits>
26256 basic_ostream<_CharT, _Traits>&
26257 basic_ostream<_CharT, _Traits>::
26258 operator<<(long double __n)
26260 sentry __cerb(*this);
26263 ios_base::iostate __err = ios_base::iostate(ios_base::goodbit);
26266 const __num_put_type& __np = __check_facet(this->_M_num_put);
26267 if (__np.put(*this, *this, this->fill(), __n).failed())
26268 __err |= ios_base::badbit;
26271 { this->_M_setstate(ios_base::badbit); }
26273 this->setstate(__err);
26278 template<typename _CharT, typename _Traits>
26279 basic_ostream<_CharT, _Traits>&
26280 basic_ostream<_CharT, _Traits>::
26281 operator<<(const void* __n)
26283 sentry __cerb(*this);
26286 ios_base::iostate __err = ios_base::iostate(ios_base::goodbit);
26289 const __num_put_type& __np = __check_facet(this->_M_num_put);
26290 if (__np.put(*this, *this, this->fill(), __n).failed())
26291 __err |= ios_base::badbit;
26294 { this->_M_setstate(ios_base::badbit); }
26296 this->setstate(__err);
26301 template<typename _CharT, typename _Traits>
26302 basic_ostream<_CharT, _Traits>&
26303 basic_ostream<_CharT, _Traits>::
26304 operator<<(__streambuf_type* __sbin)
26306 ios_base::iostate __err = ios_base::iostate(ios_base::goodbit);
26307 sentry __cerb(*this);
26308 if (__cerb && __sbin)
26312 if (!__copy_streambufs(__sbin, this->rdbuf()))
26313 __err |= ios_base::failbit;
26316 { this->_M_setstate(ios_base::failbit); }
26319 __err |= ios_base::badbit;
26321 this->setstate(__err);
26325 template<typename _CharT, typename _Traits>
26326 basic_ostream<_CharT, _Traits>&
26327 basic_ostream<_CharT, _Traits>::
26336 sentry __cerb(*this);
26339 ios_base::iostate __err = ios_base::iostate(ios_base::goodbit);
26342 const int_type __put = this->rdbuf()->sputc(__c);
26343 if (traits_type::eq_int_type(__put, traits_type::eof()))
26344 __err |= ios_base::badbit;
26347 { this->_M_setstate(ios_base::badbit); }
26349 this->setstate(__err);
26354 template<typename _CharT, typename _Traits>
26355 basic_ostream<_CharT, _Traits>&
26356 basic_ostream<_CharT, _Traits>::
26357 write(const _CharT* __s, streamsize __n)
26366 sentry __cerb(*this);
26370 { _M_write(__s, __n); }
26372 { this->_M_setstate(ios_base::badbit); }
26377 template<typename _CharT, typename _Traits>
26378 basic_ostream<_CharT, _Traits>&
26379 basic_ostream<_CharT, _Traits>::
26385 ios_base::iostate __err = ios_base::iostate(ios_base::goodbit);
26388 if (this->rdbuf() && this->rdbuf()->pubsync() == -1)
26389 __err |= ios_base::badbit;
26392 { this->_M_setstate(ios_base::badbit); }
26394 this->setstate(__err);
26398 template<typename _CharT, typename _Traits>
26399 typename basic_ostream<_CharT, _Traits>::pos_type
26400 basic_ostream<_CharT, _Traits>::
26403 pos_type __ret = pos_type(-1);
26407 __ret = this->rdbuf()->pubseekoff(0, ios_base::cur, ios_base::out);
26410 { this->_M_setstate(ios_base::badbit); }
26414 template<typename _CharT, typename _Traits>
26415 basic_ostream<_CharT, _Traits>&
26416 basic_ostream<_CharT, _Traits>::
26417 seekp(pos_type __pos)
26419 ios_base::iostate __err = ios_base::iostate(ios_base::goodbit);
26426 const pos_type __p = this->rdbuf()->pubseekpos(__pos,
26430 if (__p == pos_type(off_type(-1)))
26431 __err |= ios_base::failbit;
26435 { this->_M_setstate(ios_base::badbit); }
26437 this->setstate(__err);
26441 template<typename _CharT, typename _Traits>
26442 basic_ostream<_CharT, _Traits>&
26443 basic_ostream<_CharT, _Traits>::
26444 seekp(off_type __off, ios_base::seekdir __dir)
26446 ios_base::iostate __err = ios_base::iostate(ios_base::goodbit);
26453 const pos_type __p = this->rdbuf()->pubseekoff(__off, __dir,
26457 if (__p == pos_type(off_type(-1)))
26458 __err |= ios_base::failbit;
26462 { this->_M_setstate(ios_base::badbit); }
26464 this->setstate(__err);
26469 template<typename _CharT, typename _Traits>
26470 basic_ostream<_CharT, _Traits>&
26471 operator<<(basic_ostream<_CharT, _Traits>& __out, _CharT __c)
26473 typedef basic_ostream<_CharT, _Traits> __ostream_type;
26474 typename __ostream_type::sentry __cerb(__out);
26479 const streamsize __w = __out.width();
26480 streamsize __len = 1;
26481 _CharT* __cs = &__c;
26484 __cs = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT)
26486 __pad<_CharT, _Traits>::_S_pad(__out, __out.fill(), __cs,
26487 &__c, __w, __len, false);
26490 __out._M_write(__cs, __len);
26494 { __out._M_setstate(ios_base::badbit); }
26500 template <class _Traits>
26501 basic_ostream<char, _Traits>&
26502 operator<<(basic_ostream<char, _Traits>& __out, char __c)
26504 typedef basic_ostream<char, _Traits> __ostream_type;
26505 typename __ostream_type::sentry __cerb(__out);
26510 const streamsize __w = __out.width();
26511 streamsize __len = 1;
26515 __cs = static_cast<char*>(__builtin_alloca(__w));
26516 __pad<char, _Traits>::_S_pad(__out, __out.fill(), __cs,
26517 &__c, __w, __len, false);
26520 __out._M_write(__cs, __len);
26524 { __out._M_setstate(ios_base::badbit); }
26529 template<typename _CharT, typename _Traits>
26530 basic_ostream<_CharT, _Traits>&
26531 operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s)
26533 typedef basic_ostream<_CharT, _Traits> __ostream_type;
26534 typename __ostream_type::sentry __cerb(__out);
26539 const streamsize __w = __out.width();
26540 streamsize __len = static_cast<streamsize>(_Traits::length(__s));
26543 _CharT* __cs = (static_cast<
26544 _CharT*>(__builtin_alloca(sizeof(_CharT)
26546 __pad<_CharT, _Traits>::_S_pad(__out, __out.fill(), __cs,
26547 __s, __w, __len, false);
26551 __out._M_write(__s, __len);
26555 { __out._M_setstate(ios_base::badbit); }
26558 __out.setstate(ios_base::badbit);
26562 template<typename _CharT, typename _Traits>
26563 basic_ostream<_CharT, _Traits>&
26564 operator<<(basic_ostream<_CharT, _Traits>& __out, const char* __s)
26566 typedef basic_ostream<_CharT, _Traits> __ostream_type;
26570 typedef char_traits<char> __traits_type;
26571 typename __ostream_type::sentry __cerb(__out);
26574 size_t __clen = __traits_type::length(__s);
26575 _CharT* __ws = static_cast<_CharT*>(__builtin_alloca(sizeof(_CharT)
26577 for (size_t __i = 0; __i < __clen; ++__i)
26578 __ws[__i] = __out.widen(__s[__i]);
26579 _CharT* __str = __ws;
26583 const streamsize __w = __out.width();
26584 streamsize __len = static_cast<streamsize>(__clen);
26587 _CharT* __cs = (static_cast<
26588 _CharT*>(__builtin_alloca(sizeof(_CharT)
26590 __pad<_CharT, _Traits>::_S_pad(__out, __out.fill(), __cs,
26591 __ws, __w, __len, false);
26595 __out._M_write(__str, __len);
26599 { __out._M_setstate(ios_base::badbit); }
26602 __out.setstate(ios_base::badbit);
26607 template<class _Traits>
26608 basic_ostream<char, _Traits>&
26609 operator<<(basic_ostream<char, _Traits>& __out, const char* __s)
26611 typedef basic_ostream<char, _Traits> __ostream_type;
26612 typename __ostream_type::sentry __cerb(__out);
26617 const streamsize __w = __out.width();
26618 streamsize __len = static_cast<streamsize>(_Traits::length(__s));
26621 char* __cs = static_cast<char*>(__builtin_alloca(__w));
26622 __pad<char, _Traits>::_S_pad(__out, __out.fill(), __cs,
26623 __s, __w, __len, false);
26627 __out._M_write(__s, __len);
26631 { __out._M_setstate(ios_base::badbit); }
26634 __out.setstate(ios_base::badbit);
26639 template<typename _CharT, typename _Traits, typename _Alloc>
26640 basic_ostream<_CharT, _Traits>&
26641 operator<<(basic_ostream<_CharT, _Traits>& __out,
26642 const basic_string<_CharT, _Traits, _Alloc>& __str)
26644 typedef basic_ostream<_CharT, _Traits> __ostream_type;
26645 typename __ostream_type::sentry __cerb(__out);
26648 const streamsize __w = __out.width();
26649 streamsize __len = static_cast<streamsize>(__str.size());
26650 const _CharT* __s = __str.data();
26656 _CharT* __cs = (static_cast<
26657 _CharT*>(__builtin_alloca(sizeof(_CharT) * __w)));
26658 __pad<_CharT, _Traits>::_S_pad(__out, __out.fill(), __cs, __s,
26659 __w, __len, false);
26663 __out._M_write(__s, __len);
26673 extern template class basic_ostream<char>;
26674 extern template ostream& endl(ostream&);
26675 extern template ostream& ends(ostream&);
26676 extern template ostream& flush(ostream&);
26677 extern template ostream& operator<<(ostream&, char);
26678 extern template ostream& operator<<(ostream&, unsigned char);
26679 extern template ostream& operator<<(ostream&, signed char);
26680 extern template ostream& operator<<(ostream&, const char*);
26681 extern template ostream& operator<<(ostream&, const unsigned char*);
26682 extern template ostream& operator<<(ostream&, const signed char*);
26683 # 821 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/bits/ostream.tcc" 3
26685 # 526 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/ostream" 2 3
26686 # 61 "./boost/format/detail/compat_workarounds.hpp" 2
26699 typedef Tr compatible_type;
26703 template<class Alloc>
26707 typedef Alloc compatible_type;
26712 # 28 "./boost/format.hpp" 2
26719 # 1 "./boost/format/format_fwd.hpp" 1
26720 # 21 "./boost/format/format_fwd.hpp"
26723 template <class Ch,
26726 class Tr = ::std:: char_traits<Ch>, class Alloc = std::allocator<Ch> >
26730 class basic_format;
26732 typedef basic_format<char > format;
26740 enum format_error_bits { bad_format_string_bit = 1,
26741 too_few_args_bit = 2, too_many_args_bit = 4,
26742 out_of_range_bit = 8,
26743 all_error_bits = 255, no_error_bits=0 };
26748 # 35 "./boost/format.hpp" 2
26749 # 1 "./boost/format/internals_fwd.hpp" 1
26750 # 20 "./boost/format/internals_fwd.hpp"
26755 template<class Ch, class Tr> struct stream_format_state;
26756 template<class Ch, class Tr, class Alloc> struct format_item;
26762 template<class Ch, class Tr, class Alloc, class T>
26763 basic_format<Ch, Tr, Alloc>&
26764 modify_item_body (basic_format<Ch, Tr, Alloc>& self,
26765 int itemN, T manipulator);
26767 template<class Ch, class Tr, class Alloc, class T>
26768 basic_format<Ch, Tr, Alloc>&
26769 bind_arg_body (basic_format<Ch, Tr, Alloc>& self,
26770 int argN, const T& val);
26773 template<class Ch, class Tr, class T>
26774 void apply_manip_body (stream_format_state<Ch, Tr>& self,
26778 template<class Ch, class Tr, class Alloc, class T>
26779 void distribute (basic_format<Ch,Tr, Alloc>& self, T x);
26781 template<class Ch, class Tr, class Alloc, class T>
26782 basic_format<Ch, Tr, Alloc>&
26783 feed (basic_format<Ch,Tr, Alloc>& self, T x);
26789 # 36 "./boost/format.hpp" 2
26792 # 1 "./boost/format/internals.hpp" 1
26793 # 19 "./boost/format/internals.hpp"
26794 # 1 "./boost/assert.hpp" 1
26795 # 36 "./boost/assert.hpp"
26796 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/assert.h" 1 3 4
26797 # 51 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/assert.h" 3 4
26801 extern void __assert (const char *, const char *, int, const char *);
26804 # 37 "./boost/assert.hpp" 2
26805 # 20 "./boost/format/internals.hpp" 2
26806 # 1 "./boost/optional.hpp" 1
26807 # 15 "./boost/optional.hpp"
26808 # 1 "./boost/optional/optional.hpp" 1
26809 # 19 "./boost/optional/optional.hpp"
26810 # 1 "./boost/assert.hpp" 1
26811 # 36 "./boost/assert.hpp"
26812 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/assert.h" 1 3 4
26813 # 51 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/assert.h" 3 4
26817 extern void __assert (const char *, const char *, int, const char *);
26820 # 37 "./boost/assert.hpp" 2
26821 # 20 "./boost/optional/optional.hpp" 2
26822 # 1 "./boost/type.hpp" 1
26823 # 9 "./boost/type.hpp"
26832 # 21 "./boost/optional/optional.hpp" 2
26833 # 1 "./boost/type_traits/alignment_of.hpp" 1
26834 # 16 "./boost/type_traits/alignment_of.hpp"
26835 # 1 "./boost/type_traits/detail/size_t_trait_def.hpp" 1
26836 # 14 "./boost/type_traits/detail/size_t_trait_def.hpp"
26837 # 1 "./boost/type_traits/detail/template_arity_spec.hpp" 1
26838 # 10 "./boost/type_traits/detail/template_arity_spec.hpp"
26839 # 1 "./boost/mpl/int.hpp" 1
26840 # 17 "./boost/mpl/int.hpp"
26841 # 1 "./boost/mpl/int_fwd.hpp" 1
26842 # 17 "./boost/mpl/int_fwd.hpp"
26843 # 1 "./boost/mpl/aux_/adl_barrier.hpp" 1
26844 # 17 "./boost/mpl/aux_/adl_barrier.hpp"
26845 # 1 "./boost/mpl/aux_/config/adl.hpp" 1
26846 # 17 "./boost/mpl/aux_/config/adl.hpp"
26847 # 1 "./boost/mpl/aux_/config/msvc.hpp" 1
26848 # 18 "./boost/mpl/aux_/config/adl.hpp" 2
26849 # 1 "./boost/mpl/aux_/config/intel.hpp" 1
26850 # 19 "./boost/mpl/aux_/config/adl.hpp" 2
26851 # 1 "./boost/mpl/aux_/config/gcc.hpp" 1
26852 # 20 "./boost/mpl/aux_/config/adl.hpp" 2
26853 # 1 "./boost/mpl/aux_/config/workaround.hpp" 1
26854 # 21 "./boost/mpl/aux_/config/adl.hpp" 2
26855 # 18 "./boost/mpl/aux_/adl_barrier.hpp" 2
26856 # 33 "./boost/mpl/aux_/adl_barrier.hpp"
26857 namespace mpl_ { namespace aux {} }
26858 namespace boost { namespace mpl { using namespace mpl_;
26859 namespace aux { using namespace mpl_::aux; }
26861 # 18 "./boost/mpl/int_fwd.hpp" 2
26862 # 1 "./boost/mpl/aux_/nttp_decl.hpp" 1
26863 # 17 "./boost/mpl/aux_/nttp_decl.hpp"
26864 # 1 "./boost/mpl/aux_/config/nttp.hpp" 1
26865 # 18 "./boost/mpl/aux_/nttp_decl.hpp" 2
26866 # 19 "./boost/mpl/int_fwd.hpp" 2
26870 template< int N > struct int_;
26873 namespace boost { namespace mpl { using ::mpl_::int_; } }
26874 # 18 "./boost/mpl/int.hpp" 2
26877 # 1 "./boost/mpl/aux_/integral_wrapper.hpp" 1
26878 # 16 "./boost/mpl/aux_/integral_wrapper.hpp"
26879 # 1 "./boost/mpl/integral_c_tag.hpp" 1
26880 # 19 "./boost/mpl/integral_c_tag.hpp"
26881 # 1 "./boost/mpl/aux_/config/static_constant.hpp" 1
26882 # 20 "./boost/mpl/integral_c_tag.hpp" 2
26885 struct integral_c_tag { static const int value = 0; };
26887 namespace boost { namespace mpl { using ::mpl_::integral_c_tag; } }
26888 # 17 "./boost/mpl/aux_/integral_wrapper.hpp" 2
26889 # 1 "./boost/mpl/aux_/static_cast.hpp" 1
26890 # 18 "./boost/mpl/aux_/integral_wrapper.hpp" 2
26895 # 1 "./boost/preprocessor/cat.hpp" 1
26896 # 17 "./boost/preprocessor/cat.hpp"
26897 # 1 "./boost/preprocessor/config/config.hpp" 1
26898 # 18 "./boost/preprocessor/cat.hpp" 2
26899 # 23 "./boost/mpl/aux_/integral_wrapper.hpp" 2
26900 # 40 "./boost/mpl/aux_/integral_wrapper.hpp"
26906 static const int value = N;
26914 typedef int value_type;
26915 typedef integral_c_tag tag;
26916 # 72 "./boost/mpl/aux_/integral_wrapper.hpp"
26917 typedef mpl_::int_< static_cast<int>((value + 1)) > next;
26918 typedef mpl_::int_< static_cast<int>((value - 1)) > prior;
26925 operator int() const { return static_cast<int>(this->value); }
26930 int const mpl_::int_< N >::value;
26934 # 21 "./boost/mpl/int.hpp" 2
26935 # 11 "./boost/type_traits/detail/template_arity_spec.hpp" 2
26936 # 1 "./boost/mpl/aux_/template_arity_fwd.hpp" 1
26937 # 17 "./boost/mpl/aux_/template_arity_fwd.hpp"
26938 namespace boost { namespace mpl { namespace aux {
26940 template< typename F > struct template_arity;
26943 # 12 "./boost/type_traits/detail/template_arity_spec.hpp" 2
26944 # 1 "./boost/mpl/aux_/preprocessor/params.hpp" 1
26945 # 17 "./boost/mpl/aux_/preprocessor/params.hpp"
26946 # 1 "./boost/mpl/aux_/config/preprocessor.hpp" 1
26947 # 18 "./boost/mpl/aux_/preprocessor/params.hpp" 2
26948 # 45 "./boost/mpl/aux_/preprocessor/params.hpp"
26949 # 1 "./boost/preprocessor/comma_if.hpp" 1
26950 # 15 "./boost/preprocessor/comma_if.hpp"
26951 # 1 "./boost/preprocessor/punctuation/comma_if.hpp" 1
26952 # 18 "./boost/preprocessor/punctuation/comma_if.hpp"
26953 # 1 "./boost/preprocessor/control/if.hpp" 1
26954 # 18 "./boost/preprocessor/control/if.hpp"
26955 # 1 "./boost/preprocessor/control/iif.hpp" 1
26956 # 19 "./boost/preprocessor/control/if.hpp" 2
26957 # 1 "./boost/preprocessor/logical/bool.hpp" 1
26958 # 20 "./boost/preprocessor/control/if.hpp" 2
26959 # 19 "./boost/preprocessor/punctuation/comma_if.hpp" 2
26960 # 1 "./boost/preprocessor/facilities/empty.hpp" 1
26961 # 20 "./boost/preprocessor/punctuation/comma_if.hpp" 2
26962 # 1 "./boost/preprocessor/punctuation/comma.hpp" 1
26963 # 21 "./boost/preprocessor/punctuation/comma_if.hpp" 2
26964 # 16 "./boost/preprocessor/comma_if.hpp" 2
26965 # 46 "./boost/mpl/aux_/preprocessor/params.hpp" 2
26966 # 1 "./boost/preprocessor/repeat.hpp" 1
26967 # 15 "./boost/preprocessor/repeat.hpp"
26968 # 1 "./boost/preprocessor/repetition/repeat.hpp" 1
26969 # 19 "./boost/preprocessor/repetition/repeat.hpp"
26970 # 1 "./boost/preprocessor/debug/error.hpp" 1
26971 # 20 "./boost/preprocessor/repetition/repeat.hpp" 2
26972 # 1 "./boost/preprocessor/detail/auto_rec.hpp" 1
26973 # 21 "./boost/preprocessor/repetition/repeat.hpp" 2
26974 # 1 "./boost/preprocessor/tuple/eat.hpp" 1
26975 # 22 "./boost/preprocessor/repetition/repeat.hpp" 2
26976 # 16 "./boost/preprocessor/repeat.hpp" 2
26977 # 47 "./boost/mpl/aux_/preprocessor/params.hpp" 2
26978 # 1 "./boost/preprocessor/inc.hpp" 1
26979 # 15 "./boost/preprocessor/inc.hpp"
26980 # 1 "./boost/preprocessor/arithmetic/inc.hpp" 1
26981 # 16 "./boost/preprocessor/inc.hpp" 2
26982 # 48 "./boost/mpl/aux_/preprocessor/params.hpp" 2
26983 # 13 "./boost/type_traits/detail/template_arity_spec.hpp" 2
26984 # 1 "./boost/mpl/aux_/config/lambda.hpp" 1
26985 # 17 "./boost/mpl/aux_/config/lambda.hpp"
26986 # 1 "./boost/mpl/aux_/config/ttp.hpp" 1
26987 # 18 "./boost/mpl/aux_/config/lambda.hpp" 2
26988 # 1 "./boost/mpl/aux_/config/ctps.hpp" 1
26989 # 19 "./boost/mpl/aux_/config/lambda.hpp" 2
26990 # 14 "./boost/type_traits/detail/template_arity_spec.hpp" 2
26991 # 1 "./boost/mpl/aux_/config/overload_resolution.hpp" 1
26992 # 15 "./boost/type_traits/detail/template_arity_spec.hpp" 2
26993 # 15 "./boost/type_traits/detail/size_t_trait_def.hpp" 2
26994 # 1 "./boost/type_traits/integral_constant.hpp" 1
26995 # 10 "./boost/type_traits/integral_constant.hpp"
26996 # 1 "./boost/mpl/bool.hpp" 1
26997 # 17 "./boost/mpl/bool.hpp"
26998 # 1 "./boost/mpl/bool_fwd.hpp" 1
26999 # 19 "./boost/mpl/bool_fwd.hpp"
27002 template< bool C_ > struct bool_;
27005 typedef bool_<true> true_;
27006 typedef bool_<false> false_;
27010 namespace boost { namespace mpl { using ::mpl_::bool_; } }
27011 namespace boost { namespace mpl { using ::mpl_::true_; } }
27012 namespace boost { namespace mpl { using ::mpl_::false_; } }
27013 # 18 "./boost/mpl/bool.hpp" 2
27019 template< bool C_ > struct bool_
27021 static const bool value = C_;
27022 typedef integral_c_tag tag;
27023 typedef bool_ type;
27024 typedef bool value_type;
27025 operator bool() const { return this->value; }
27029 template< bool C_ >
27030 bool const bool_<C_>::value;
27034 # 11 "./boost/type_traits/integral_constant.hpp" 2
27035 # 1 "./boost/mpl/integral_c.hpp" 1
27036 # 17 "./boost/mpl/integral_c.hpp"
27037 # 1 "./boost/mpl/integral_c_fwd.hpp" 1
27038 # 20 "./boost/mpl/integral_c_fwd.hpp"
27045 template< typename T, T N > struct integral_c;
27049 namespace boost { namespace mpl { using ::mpl_::integral_c; } }
27050 # 18 "./boost/mpl/integral_c.hpp" 2
27051 # 32 "./boost/mpl/integral_c.hpp"
27052 # 1 "./boost/mpl/aux_/integral_wrapper.hpp" 1
27053 # 40 "./boost/mpl/aux_/integral_wrapper.hpp"
27056 template< typename T, T N >
27059 static const T value = N;
27065 typedef integral_c type;
27067 typedef T value_type;
27068 typedef integral_c_tag tag;
27069 # 72 "./boost/mpl/aux_/integral_wrapper.hpp"
27070 typedef integral_c< T, static_cast<T>((value + 1)) > next;
27071 typedef integral_c< T, static_cast<T>((value - 1)) > prior;
27078 operator T() const { return static_cast<T>(this->value); }
27082 template< typename T, T N >
27083 T const integral_c< T, N >::value;
27087 # 33 "./boost/mpl/integral_c.hpp" 2
27095 struct integral_c<bool, C>
27097 static const bool value = C;
27098 typedef integral_c_tag tag;
27099 typedef integral_c type;
27100 typedef bool value_type;
27101 operator bool() const { return this->value; }
27104 # 12 "./boost/type_traits/integral_constant.hpp" 2
27111 template <class T, T val>
27113 struct integral_constant : public mpl::integral_c<T, val>
27115 typedef integral_constant<T,val> type;
27118 template<> struct integral_constant<bool,true> : public mpl::true_
27127 typedef integral_constant<bool,true> type;
27129 template<> struct integral_constant<bool,false> : public mpl::false_
27138 typedef integral_constant<bool,false> type;
27141 typedef integral_constant<bool,true> true_type;
27142 typedef integral_constant<bool,false> false_type;
27145 # 16 "./boost/type_traits/detail/size_t_trait_def.hpp" 2
27146 # 1 "./boost/mpl/aux_/lambda_support.hpp" 1
27147 # 17 "./boost/type_traits/detail/size_t_trait_def.hpp" 2
27148 # 1 "./boost/mpl/size_t.hpp" 1
27149 # 17 "./boost/mpl/size_t.hpp"
27150 # 1 "./boost/mpl/size_t_fwd.hpp" 1
27151 # 21 "./boost/mpl/size_t_fwd.hpp"
27154 template< std::size_t N > struct size_t;
27157 namespace boost { namespace mpl { using ::mpl_::size_t; } }
27158 # 18 "./boost/mpl/size_t.hpp" 2
27164 # 1 "./boost/mpl/aux_/integral_wrapper.hpp" 1
27165 # 40 "./boost/mpl/aux_/integral_wrapper.hpp"
27168 template< std::size_t N >
27171 static const std::size_t value = N;
27177 typedef size_t type;
27179 typedef std::size_t value_type;
27180 typedef integral_c_tag tag;
27181 # 72 "./boost/mpl/aux_/integral_wrapper.hpp"
27182 typedef mpl_::size_t< static_cast<std::size_t>((value + 1)) > next;
27183 typedef mpl_::size_t< static_cast<std::size_t>((value - 1)) > prior;
27190 operator std::size_t() const { return static_cast<std::size_t>(this->value); }
27194 template< std::size_t N >
27195 std::size_t const mpl_::size_t< N >::value;
27199 # 24 "./boost/mpl/size_t.hpp" 2
27200 # 18 "./boost/type_traits/detail/size_t_trait_def.hpp" 2
27201 # 17 "./boost/type_traits/alignment_of.hpp" 2
27202 # 26 "./boost/type_traits/alignment_of.hpp"
27205 template <typename T> struct alignment_of;
27210 template <typename T>
27211 struct alignment_of_hack
27215 alignment_of_hack();
27219 template <unsigned A, unsigned S>
27220 struct alignment_logic
27222 static const std::size_t value = A < S ? A : S;
27226 template< typename T >
27227 struct alignment_of_impl
27229 static const std::size_t value = (::boost::detail::alignment_logic< sizeof(::boost::detail::alignment_of_hack<T>) - sizeof(T), sizeof(T) >::value);
27238 template< typename T > struct alignment_of : ::boost::integral_constant<std::size_t,::boost::detail::alignment_of_impl<T>::value> { };
27243 template <typename T>
27244 struct alignment_of<T&>
27248 # 81 "./boost/type_traits/alignment_of.hpp"
27249 template<> struct alignment_of<void> : ::boost::integral_constant<std::size_t,0> { };
27251 template<> struct alignment_of<void const> : ::boost::integral_constant<std::size_t,0> { };
27252 template<> struct alignment_of<void volatile> : ::boost::integral_constant<std::size_t,0> { };
27253 template<> struct alignment_of<void const volatile> : ::boost::integral_constant<std::size_t,0> { };
27257 # 97 "./boost/type_traits/alignment_of.hpp"
27258 # 1 "./boost/type_traits/detail/size_t_trait_undef.hpp" 1
27259 # 98 "./boost/type_traits/alignment_of.hpp" 2
27260 # 22 "./boost/optional/optional.hpp" 2
27261 # 1 "./boost/type_traits/type_with_alignment.hpp" 1
27262 # 11 "./boost/type_traits/type_with_alignment.hpp"
27263 # 1 "./boost/mpl/if.hpp" 1
27264 # 17 "./boost/mpl/if.hpp"
27265 # 1 "./boost/mpl/aux_/value_wknd.hpp" 1
27266 # 18 "./boost/mpl/aux_/value_wknd.hpp"
27267 # 1 "./boost/mpl/aux_/config/integral.hpp" 1
27268 # 19 "./boost/mpl/aux_/value_wknd.hpp" 2
27269 # 1 "./boost/mpl/aux_/config/eti.hpp" 1
27270 # 20 "./boost/mpl/aux_/value_wknd.hpp" 2
27271 # 73 "./boost/mpl/aux_/value_wknd.hpp"
27272 namespace boost { namespace mpl { namespace aux {
27274 template< typename T > struct value_type_wknd
27276 typedef typename T::value_type type;
27278 # 87 "./boost/mpl/aux_/value_wknd.hpp"
27280 # 18 "./boost/mpl/if.hpp" 2
27282 # 1 "./boost/mpl/aux_/na_spec.hpp" 1
27283 # 18 "./boost/mpl/aux_/na_spec.hpp"
27284 # 1 "./boost/mpl/lambda_fwd.hpp" 1
27285 # 17 "./boost/mpl/lambda_fwd.hpp"
27286 # 1 "./boost/mpl/void_fwd.hpp" 1
27287 # 19 "./boost/mpl/void_fwd.hpp"
27293 namespace boost { namespace mpl { using ::mpl_::void_; } }
27294 # 18 "./boost/mpl/lambda_fwd.hpp" 2
27295 # 1 "./boost/mpl/aux_/na.hpp" 1
27296 # 18 "./boost/mpl/aux_/na.hpp"
27297 # 1 "./boost/mpl/aux_/na_fwd.hpp" 1
27298 # 19 "./boost/mpl/aux_/na_fwd.hpp"
27305 enum { value = 0 };
27309 namespace boost { namespace mpl { using ::mpl_::na; } }
27310 # 19 "./boost/mpl/aux_/na.hpp" 2
27314 namespace boost { namespace mpl {
27316 template< typename T >
27334 template< typename T >
27344 struct is_not_na<na>
27353 template< typename T, typename U > struct if_na
27358 template< typename U > struct if_na<na,U>
27362 # 93 "./boost/mpl/aux_/na.hpp"
27364 # 19 "./boost/mpl/lambda_fwd.hpp" 2
27370 # 1 "./boost/mpl/aux_/lambda_arity_param.hpp" 1
27371 # 25 "./boost/mpl/lambda_fwd.hpp" 2
27374 namespace boost { namespace mpl {
27378 , typename Tag = void_
27379 , typename Arity = int_< aux::template_arity<T>::value >
27386 # 19 "./boost/mpl/aux_/na_spec.hpp" 2
27390 # 1 "./boost/mpl/aux_/arity.hpp" 1
27391 # 17 "./boost/mpl/aux_/arity.hpp"
27392 # 1 "./boost/mpl/aux_/config/dtp.hpp" 1
27393 # 18 "./boost/mpl/aux_/arity.hpp" 2
27394 # 23 "./boost/mpl/aux_/na_spec.hpp" 2
27399 # 1 "./boost/mpl/aux_/preprocessor/enum.hpp" 1
27400 # 28 "./boost/mpl/aux_/na_spec.hpp" 2
27401 # 1 "./boost/mpl/aux_/preprocessor/def_params_tail.hpp" 1
27402 # 17 "./boost/mpl/aux_/preprocessor/def_params_tail.hpp"
27403 # 1 "./boost/mpl/limits/arity.hpp" 1
27404 # 18 "./boost/mpl/aux_/preprocessor/def_params_tail.hpp" 2
27409 # 1 "./boost/preprocessor/logical/and.hpp" 1
27410 # 19 "./boost/preprocessor/logical/and.hpp"
27411 # 1 "./boost/preprocessor/logical/bitand.hpp" 1
27412 # 20 "./boost/preprocessor/logical/and.hpp" 2
27413 # 23 "./boost/mpl/aux_/preprocessor/def_params_tail.hpp" 2
27414 # 1 "./boost/preprocessor/identity.hpp" 1
27415 # 15 "./boost/preprocessor/identity.hpp"
27416 # 1 "./boost/preprocessor/facilities/identity.hpp" 1
27417 # 16 "./boost/preprocessor/identity.hpp" 2
27418 # 24 "./boost/mpl/aux_/preprocessor/def_params_tail.hpp" 2
27419 # 1 "./boost/preprocessor/empty.hpp" 1
27420 # 25 "./boost/mpl/aux_/preprocessor/def_params_tail.hpp" 2
27421 # 66 "./boost/mpl/aux_/preprocessor/def_params_tail.hpp"
27422 # 1 "./boost/preprocessor/arithmetic/add.hpp" 1
27423 # 17 "./boost/preprocessor/arithmetic/add.hpp"
27424 # 1 "./boost/preprocessor/arithmetic/dec.hpp" 1
27425 # 18 "./boost/preprocessor/arithmetic/add.hpp" 2
27428 # 1 "./boost/preprocessor/control/while.hpp" 1
27429 # 20 "./boost/preprocessor/control/while.hpp"
27430 # 1 "./boost/preprocessor/detail/auto_rec.hpp" 1
27431 # 21 "./boost/preprocessor/control/while.hpp" 2
27432 # 1 "./boost/preprocessor/list/fold_left.hpp" 1
27433 # 18 "./boost/preprocessor/list/fold_left.hpp"
27434 # 1 "./boost/preprocessor/control/while.hpp" 1
27435 # 19 "./boost/preprocessor/list/fold_left.hpp" 2
27437 # 1 "./boost/preprocessor/detail/auto_rec.hpp" 1
27438 # 21 "./boost/preprocessor/list/fold_left.hpp" 2
27439 # 41 "./boost/preprocessor/list/fold_left.hpp"
27440 # 1 "./boost/preprocessor/list/detail/fold_left.hpp" 1
27441 # 17 "./boost/preprocessor/list/detail/fold_left.hpp"
27442 # 1 "./boost/preprocessor/control/expr_iif.hpp" 1
27443 # 18 "./boost/preprocessor/list/detail/fold_left.hpp" 2
27445 # 1 "./boost/preprocessor/list/adt.hpp" 1
27446 # 18 "./boost/preprocessor/list/adt.hpp"
27447 # 1 "./boost/preprocessor/detail/is_binary.hpp" 1
27448 # 16 "./boost/preprocessor/detail/is_binary.hpp"
27449 # 1 "./boost/preprocessor/detail/check.hpp" 1
27450 # 17 "./boost/preprocessor/detail/is_binary.hpp" 2
27451 # 19 "./boost/preprocessor/list/adt.hpp" 2
27452 # 1 "./boost/preprocessor/logical/compl.hpp" 1
27453 # 20 "./boost/preprocessor/list/adt.hpp" 2
27454 # 20 "./boost/preprocessor/list/detail/fold_left.hpp" 2
27455 # 42 "./boost/preprocessor/list/fold_left.hpp" 2
27456 # 22 "./boost/preprocessor/control/while.hpp" 2
27457 # 1 "./boost/preprocessor/list/fold_right.hpp" 1
27458 # 20 "./boost/preprocessor/list/fold_right.hpp"
27459 # 1 "./boost/preprocessor/detail/auto_rec.hpp" 1
27460 # 21 "./boost/preprocessor/list/fold_right.hpp" 2
27461 # 37 "./boost/preprocessor/list/fold_right.hpp"
27462 # 1 "./boost/preprocessor/list/detail/fold_right.hpp" 1
27463 # 18 "./boost/preprocessor/list/detail/fold_right.hpp"
27464 # 1 "./boost/preprocessor/list/reverse.hpp" 1
27465 # 19 "./boost/preprocessor/list/detail/fold_right.hpp" 2
27466 # 38 "./boost/preprocessor/list/fold_right.hpp" 2
27467 # 23 "./boost/preprocessor/control/while.hpp" 2
27468 # 48 "./boost/preprocessor/control/while.hpp"
27469 # 1 "./boost/preprocessor/control/detail/while.hpp" 1
27470 # 49 "./boost/preprocessor/control/while.hpp" 2
27471 # 21 "./boost/preprocessor/arithmetic/add.hpp" 2
27472 # 1 "./boost/preprocessor/tuple/elem.hpp" 1
27473 # 22 "./boost/preprocessor/arithmetic/add.hpp" 2
27474 # 67 "./boost/mpl/aux_/preprocessor/def_params_tail.hpp" 2
27475 # 1 "./boost/preprocessor/arithmetic/sub.hpp" 1
27476 # 68 "./boost/mpl/aux_/preprocessor/def_params_tail.hpp" 2
27477 # 29 "./boost/mpl/aux_/na_spec.hpp" 2
27478 # 20 "./boost/mpl/if.hpp" 2
27484 namespace boost { namespace mpl {
27502 struct if_c<false,T1,T2>
27522 static_cast<bool>(T1::value)
27529 typedef typename almost_type_::type type;
27533 # 131 "./boost/mpl/if.hpp"
27534 template<> struct if_< na , na , na > { template< typename T1 , typename T2 , typename T3 , typename T4 =na , typename T5 =na > struct apply : if_< T1 , T2 , T3 > { }; }; template< typename Tag > struct lambda< if_< na , na , na > , Tag , int_<-1> > { typedef false_ is_le; typedef if_< na , na , na > result_; typedef if_< na , na , na > type; }; namespace aux { template< typename T1 , typename T2 , typename T3 > struct template_arity< if_< T1 , T2 , T3 > > : int_<3> { }; template<> struct template_arity< if_< na , na , na > > : int_<-1> { }; }
27537 # 12 "./boost/type_traits/type_with_alignment.hpp" 2
27538 # 1 "./boost/preprocessor/list/for_each_i.hpp" 1
27539 # 20 "./boost/preprocessor/list/for_each_i.hpp"
27540 # 1 "./boost/preprocessor/repetition/for.hpp" 1
27541 # 19 "./boost/preprocessor/repetition/for.hpp"
27542 # 1 "./boost/preprocessor/detail/auto_rec.hpp" 1
27543 # 20 "./boost/preprocessor/repetition/for.hpp" 2
27544 # 42 "./boost/preprocessor/repetition/for.hpp"
27545 # 1 "./boost/preprocessor/repetition/detail/for.hpp" 1
27546 # 43 "./boost/preprocessor/repetition/for.hpp" 2
27547 # 21 "./boost/preprocessor/list/for_each_i.hpp" 2
27549 # 1 "./boost/preprocessor/tuple/rem.hpp" 1
27550 # 23 "./boost/preprocessor/list/for_each_i.hpp" 2
27551 # 13 "./boost/type_traits/type_with_alignment.hpp" 2
27552 # 1 "./boost/preprocessor/tuple/to_list.hpp" 1
27553 # 14 "./boost/type_traits/type_with_alignment.hpp" 2
27555 # 1 "./boost/preprocessor/list/transform.hpp" 1
27556 # 16 "./boost/type_traits/type_with_alignment.hpp" 2
27557 # 1 "./boost/preprocessor/list/append.hpp" 1
27558 # 17 "./boost/type_traits/type_with_alignment.hpp" 2
27559 # 1 "./boost/type_traits/alignment_of.hpp" 1
27560 # 18 "./boost/type_traits/type_with_alignment.hpp" 2
27561 # 1 "./boost/type_traits/is_pod.hpp" 1
27562 # 12 "./boost/type_traits/is_pod.hpp"
27563 # 1 "./boost/type_traits/config.hpp" 1
27564 # 13 "./boost/type_traits/is_pod.hpp" 2
27565 # 1 "./boost/type_traits/is_void.hpp" 1
27566 # 15 "./boost/type_traits/is_void.hpp"
27567 # 1 "./boost/type_traits/detail/bool_trait_def.hpp" 1
27568 # 14 "./boost/type_traits/detail/bool_trait_def.hpp"
27569 # 1 "./boost/type_traits/detail/template_arity_spec.hpp" 1
27570 # 15 "./boost/type_traits/detail/bool_trait_def.hpp" 2
27571 # 16 "./boost/type_traits/is_void.hpp" 2
27576 template< typename T > struct is_void : ::boost::integral_constant<bool,false> { };
27577 template<> struct is_void< void > : ::boost::integral_constant<bool,true> { };
27580 template<> struct is_void< void const > : ::boost::integral_constant<bool,true> { };
27581 template<> struct is_void< void volatile > : ::boost::integral_constant<bool,true> { };
27582 template<> struct is_void< void const volatile > : ::boost::integral_constant<bool,true> { };
27587 # 1 "./boost/type_traits/detail/bool_trait_undef.hpp" 1
27588 # 32 "./boost/type_traits/is_void.hpp" 2
27589 # 14 "./boost/type_traits/is_pod.hpp" 2
27590 # 1 "./boost/type_traits/is_scalar.hpp" 1
27591 # 12 "./boost/type_traits/is_scalar.hpp"
27592 # 1 "./boost/type_traits/is_arithmetic.hpp" 1
27593 # 12 "./boost/type_traits/is_arithmetic.hpp"
27594 # 1 "./boost/type_traits/is_integral.hpp" 1
27595 # 15 "./boost/type_traits/is_integral.hpp"
27596 # 1 "./boost/type_traits/detail/bool_trait_def.hpp" 1
27597 # 14 "./boost/type_traits/detail/bool_trait_def.hpp"
27598 # 1 "./boost/type_traits/detail/template_arity_spec.hpp" 1
27599 # 15 "./boost/type_traits/detail/bool_trait_def.hpp" 2
27600 # 16 "./boost/type_traits/is_integral.hpp" 2
27607 template< typename T > struct is_integral : ::boost::integral_constant<bool,false> { };
27609 template<> struct is_integral< unsigned char > : ::boost::integral_constant<bool,true> { }; template<> struct is_integral< unsigned char const > : ::boost::integral_constant<bool,true> { }; template<> struct is_integral< unsigned char volatile > : ::boost::integral_constant<bool,true> { }; template<> struct is_integral< unsigned char const volatile > : ::boost::integral_constant<bool,true> { };
27610 template<> struct is_integral< unsigned short > : ::boost::integral_constant<bool,true> { }; template<> struct is_integral< unsigned short const > : ::boost::integral_constant<bool,true> { }; template<> struct is_integral< unsigned short volatile > : ::boost::integral_constant<bool,true> { }; template<> struct is_integral< unsigned short const volatile > : ::boost::integral_constant<bool,true> { };
27611 template<> struct is_integral< unsigned int > : ::boost::integral_constant<bool,true> { }; template<> struct is_integral< unsigned int const > : ::boost::integral_constant<bool,true> { }; template<> struct is_integral< unsigned int volatile > : ::boost::integral_constant<bool,true> { }; template<> struct is_integral< unsigned int const volatile > : ::boost::integral_constant<bool,true> { };
27612 template<> struct is_integral< unsigned long > : ::boost::integral_constant<bool,true> { }; template<> struct is_integral< unsigned long const > : ::boost::integral_constant<bool,true> { }; template<> struct is_integral< unsigned long volatile > : ::boost::integral_constant<bool,true> { }; template<> struct is_integral< unsigned long const volatile > : ::boost::integral_constant<bool,true> { };
27614 template<> struct is_integral< signed char > : ::boost::integral_constant<bool,true> { }; template<> struct is_integral< signed char const > : ::boost::integral_constant<bool,true> { }; template<> struct is_integral< signed char volatile > : ::boost::integral_constant<bool,true> { }; template<> struct is_integral< signed char const volatile > : ::boost::integral_constant<bool,true> { };
27615 template<> struct is_integral< signed short > : ::boost::integral_constant<bool,true> { }; template<> struct is_integral< signed short const > : ::boost::integral_constant<bool,true> { }; template<> struct is_integral< signed short volatile > : ::boost::integral_constant<bool,true> { }; template<> struct is_integral< signed short const volatile > : ::boost::integral_constant<bool,true> { };
27616 template<> struct is_integral< signed int > : ::boost::integral_constant<bool,true> { }; template<> struct is_integral< signed int const > : ::boost::integral_constant<bool,true> { }; template<> struct is_integral< signed int volatile > : ::boost::integral_constant<bool,true> { }; template<> struct is_integral< signed int const volatile > : ::boost::integral_constant<bool,true> { };
27617 template<> struct is_integral< signed long > : ::boost::integral_constant<bool,true> { }; template<> struct is_integral< signed long const > : ::boost::integral_constant<bool,true> { }; template<> struct is_integral< signed long volatile > : ::boost::integral_constant<bool,true> { }; template<> struct is_integral< signed long const volatile > : ::boost::integral_constant<bool,true> { };
27619 template<> struct is_integral< bool > : ::boost::integral_constant<bool,true> { }; template<> struct is_integral< bool const > : ::boost::integral_constant<bool,true> { }; template<> struct is_integral< bool volatile > : ::boost::integral_constant<bool,true> { }; template<> struct is_integral< bool const volatile > : ::boost::integral_constant<bool,true> { };
27620 template<> struct is_integral< char > : ::boost::integral_constant<bool,true> { }; template<> struct is_integral< char const > : ::boost::integral_constant<bool,true> { }; template<> struct is_integral< char volatile > : ::boost::integral_constant<bool,true> { }; template<> struct is_integral< char const volatile > : ::boost::integral_constant<bool,true> { };
27626 template<> struct is_integral< wchar_t > : ::boost::integral_constant<bool,true> { }; template<> struct is_integral< wchar_t const > : ::boost::integral_constant<bool,true> { }; template<> struct is_integral< wchar_t volatile > : ::boost::integral_constant<bool,true> { }; template<> struct is_integral< wchar_t const volatile > : ::boost::integral_constant<bool,true> { };
27627 # 62 "./boost/type_traits/is_integral.hpp"
27628 template<> struct is_integral< ::boost::ulong_long_type > : ::boost::integral_constant<bool,true> { }; template<> struct is_integral< ::boost::ulong_long_type const > : ::boost::integral_constant<bool,true> { }; template<> struct is_integral< ::boost::ulong_long_type volatile > : ::boost::integral_constant<bool,true> { }; template<> struct is_integral< ::boost::ulong_long_type const volatile > : ::boost::integral_constant<bool,true> { };
27629 template<> struct is_integral< ::boost::long_long_type > : ::boost::integral_constant<bool,true> { }; template<> struct is_integral< ::boost::long_long_type const > : ::boost::integral_constant<bool,true> { }; template<> struct is_integral< ::boost::long_long_type volatile > : ::boost::integral_constant<bool,true> { }; template<> struct is_integral< ::boost::long_long_type const volatile > : ::boost::integral_constant<bool,true> { };
27637 # 1 "./boost/type_traits/detail/bool_trait_undef.hpp" 1
27638 # 72 "./boost/type_traits/is_integral.hpp" 2
27639 # 13 "./boost/type_traits/is_arithmetic.hpp" 2
27640 # 1 "./boost/type_traits/is_float.hpp" 1
27641 # 13 "./boost/type_traits/is_float.hpp"
27642 # 1 "./boost/type_traits/detail/bool_trait_def.hpp" 1
27643 # 14 "./boost/type_traits/detail/bool_trait_def.hpp"
27644 # 1 "./boost/type_traits/detail/template_arity_spec.hpp" 1
27645 # 15 "./boost/type_traits/detail/bool_trait_def.hpp" 2
27646 # 14 "./boost/type_traits/is_float.hpp" 2
27651 template< typename T > struct is_float : ::boost::integral_constant<bool,false> { };
27652 template<> struct is_float< float > : ::boost::integral_constant<bool,true> { }; template<> struct is_float< float const > : ::boost::integral_constant<bool,true> { }; template<> struct is_float< float volatile > : ::boost::integral_constant<bool,true> { }; template<> struct is_float< float const volatile > : ::boost::integral_constant<bool,true> { };
27653 template<> struct is_float< double > : ::boost::integral_constant<bool,true> { }; template<> struct is_float< double const > : ::boost::integral_constant<bool,true> { }; template<> struct is_float< double volatile > : ::boost::integral_constant<bool,true> { }; template<> struct is_float< double const volatile > : ::boost::integral_constant<bool,true> { };
27654 template<> struct is_float< long double > : ::boost::integral_constant<bool,true> { }; template<> struct is_float< long double const > : ::boost::integral_constant<bool,true> { }; template<> struct is_float< long double volatile > : ::boost::integral_constant<bool,true> { }; template<> struct is_float< long double const volatile > : ::boost::integral_constant<bool,true> { };
27658 # 1 "./boost/type_traits/detail/bool_trait_undef.hpp" 1
27659 # 26 "./boost/type_traits/is_float.hpp" 2
27660 # 14 "./boost/type_traits/is_arithmetic.hpp" 2
27661 # 1 "./boost/type_traits/detail/ice_or.hpp" 1
27662 # 13 "./boost/type_traits/detail/ice_or.hpp"
27664 namespace type_traits {
27666 template <bool b1, bool b2, bool b3 = false, bool b4 = false, bool b5 = false, bool b6 = false, bool b7 = false>
27669 template <bool b1, bool b2, bool b3, bool b4, bool b5, bool b6, bool b7>
27672 static const bool value = true;
27676 struct ice_or<false, false, false, false, false, false, false>
27678 static const bool value = false;
27683 # 15 "./boost/type_traits/is_arithmetic.hpp" 2
27687 # 1 "./boost/type_traits/detail/bool_trait_def.hpp" 1
27688 # 14 "./boost/type_traits/detail/bool_trait_def.hpp"
27689 # 1 "./boost/type_traits/detail/template_arity_spec.hpp" 1
27690 # 15 "./boost/type_traits/detail/bool_trait_def.hpp" 2
27691 # 19 "./boost/type_traits/is_arithmetic.hpp" 2
27697 template< typename T >
27698 struct is_arithmetic_impl
27700 static const bool value = (::boost::type_traits::ice_or< ::boost::is_integral<T>::value, ::boost::is_float<T>::value >::value);
27710 template< typename T > struct is_arithmetic : ::boost::integral_constant<bool,::boost::detail::is_arithmetic_impl<T>::value> { };
27714 # 1 "./boost/type_traits/detail/bool_trait_undef.hpp" 1
27715 # 42 "./boost/type_traits/is_arithmetic.hpp" 2
27716 # 13 "./boost/type_traits/is_scalar.hpp" 2
27717 # 1 "./boost/type_traits/is_enum.hpp" 1
27718 # 14 "./boost/type_traits/is_enum.hpp"
27719 # 1 "./boost/type_traits/add_reference.hpp" 1
27720 # 12 "./boost/type_traits/add_reference.hpp"
27721 # 1 "./boost/type_traits/is_reference.hpp" 1
27722 # 32 "./boost/type_traits/is_reference.hpp"
27723 # 1 "./boost/type_traits/detail/bool_trait_def.hpp" 1
27724 # 14 "./boost/type_traits/detail/bool_trait_def.hpp"
27725 # 1 "./boost/type_traits/detail/template_arity_spec.hpp" 1
27726 # 15 "./boost/type_traits/detail/bool_trait_def.hpp" 2
27727 # 33 "./boost/type_traits/is_reference.hpp" 2
27733 template< typename T > struct is_reference : ::boost::integral_constant<bool,false> { };
27734 template< typename T > struct is_reference< T& > : ::boost::integral_constant<bool,true> { };
27735 # 111 "./boost/type_traits/is_reference.hpp"
27738 # 1 "./boost/type_traits/detail/bool_trait_undef.hpp" 1
27739 # 114 "./boost/type_traits/is_reference.hpp" 2
27740 # 13 "./boost/type_traits/add_reference.hpp" 2
27745 # 1 "./boost/type_traits/detail/type_trait_def.hpp" 1
27746 # 14 "./boost/type_traits/detail/type_trait_def.hpp"
27747 # 1 "./boost/type_traits/detail/template_arity_spec.hpp" 1
27748 # 15 "./boost/type_traits/detail/type_trait_def.hpp" 2
27749 # 18 "./boost/type_traits/add_reference.hpp" 2
27754 # 55 "./boost/type_traits/add_reference.hpp"
27755 template <typename T>
27756 struct add_reference_impl
27762 template< typename T > struct add_reference_impl<T&> { typedef T& type; };
27768 template<> struct add_reference_impl<void> { typedef void type; };
27770 template<> struct add_reference_impl<void const> { typedef void const type; };
27771 template<> struct add_reference_impl<void volatile> { typedef void volatile type; };
27772 template<> struct add_reference_impl<void const volatile> { typedef void const volatile type; };
27777 template< typename T > struct add_reference { typedef typename boost::detail::add_reference_impl<T>::type type; };
27787 # 1 "./boost/type_traits/detail/type_trait_undef.hpp" 1
27788 # 88 "./boost/type_traits/add_reference.hpp" 2
27789 # 15 "./boost/type_traits/is_enum.hpp" 2
27792 # 1 "./boost/type_traits/is_convertible.hpp" 1
27793 # 15 "./boost/type_traits/is_convertible.hpp"
27794 # 1 "./boost/type_traits/detail/yes_no_type.hpp" 1
27795 # 14 "./boost/type_traits/detail/yes_no_type.hpp"
27797 namespace type_traits {
27799 typedef char yes_type;
27807 # 16 "./boost/type_traits/is_convertible.hpp" 2
27809 # 1 "./boost/type_traits/is_array.hpp" 1
27810 # 27 "./boost/type_traits/is_array.hpp"
27811 # 1 "./boost/type_traits/detail/bool_trait_def.hpp" 1
27812 # 14 "./boost/type_traits/detail/bool_trait_def.hpp"
27813 # 1 "./boost/type_traits/detail/template_arity_spec.hpp" 1
27814 # 15 "./boost/type_traits/detail/bool_trait_def.hpp" 2
27815 # 28 "./boost/type_traits/is_array.hpp" 2
27821 template< typename T > struct is_array : ::boost::integral_constant<bool,false> { };
27823 template< typename T, std::size_t N > struct is_array< T[N] > : ::boost::integral_constant<bool,true> { };
27824 template< typename T, std::size_t N > struct is_array< T const[N] > : ::boost::integral_constant<bool,true> { };
27825 template< typename T, std::size_t N > struct is_array< T volatile[N] > : ::boost::integral_constant<bool,true> { };
27826 template< typename T, std::size_t N > struct is_array< T const volatile[N] > : ::boost::integral_constant<bool,true> { };
27828 template< typename T > struct is_array< T[] > : ::boost::integral_constant<bool,true> { };
27829 template< typename T > struct is_array< T const[] > : ::boost::integral_constant<bool,true> { };
27830 template< typename T > struct is_array< T volatile[] > : ::boost::integral_constant<bool,true> { };
27831 template< typename T > struct is_array< T const volatile[] > : ::boost::integral_constant<bool,true> { };
27832 # 86 "./boost/type_traits/is_array.hpp"
27835 # 1 "./boost/type_traits/detail/bool_trait_undef.hpp" 1
27836 # 89 "./boost/type_traits/is_array.hpp" 2
27837 # 18 "./boost/type_traits/is_convertible.hpp" 2
27839 # 1 "./boost/type_traits/ice.hpp" 1
27840 # 16 "./boost/type_traits/ice.hpp"
27841 # 1 "./boost/type_traits/detail/ice_and.hpp" 1
27842 # 14 "./boost/type_traits/detail/ice_and.hpp"
27844 namespace type_traits {
27846 template <bool b1, bool b2, bool b3 = true, bool b4 = true, bool b5 = true, bool b6 = true, bool b7 = true>
27849 template <bool b1, bool b2, bool b3, bool b4, bool b5, bool b6, bool b7>
27852 static const bool value = false;
27856 struct ice_and<true, true, true, true, true, true, true>
27858 static const bool value = true;
27863 # 17 "./boost/type_traits/ice.hpp" 2
27864 # 1 "./boost/type_traits/detail/ice_not.hpp" 1
27865 # 13 "./boost/type_traits/detail/ice_not.hpp"
27867 namespace type_traits {
27872 static const bool value = true;
27876 struct ice_not<true>
27878 static const bool value = false;
27883 # 18 "./boost/type_traits/ice.hpp" 2
27884 # 1 "./boost/type_traits/detail/ice_eq.hpp" 1
27885 # 13 "./boost/type_traits/detail/ice_eq.hpp"
27887 namespace type_traits {
27889 template <int b1, int b2>
27892 static const bool value = (b1 == b2);
27895 template <int b1, int b2>
27898 static const bool value = (b1 != b2);
27902 template <int b1, int b2> bool const ice_eq<b1,b2>::value;
27903 template <int b1, int b2> bool const ice_ne<b1,b2>::value;
27908 # 19 "./boost/type_traits/ice.hpp" 2
27909 # 20 "./boost/type_traits/is_convertible.hpp" 2
27913 # 1 "./boost/type_traits/is_abstract.hpp" 1
27914 # 51 "./boost/type_traits/is_abstract.hpp"
27915 # 1 "./boost/static_assert.hpp" 1
27916 # 35 "./boost/static_assert.hpp"
27920 template <bool x> struct STATIC_ASSERTION_FAILURE;
27922 template <> struct STATIC_ASSERTION_FAILURE<true> { enum { value = 1 }; };
27925 template<int x> struct static_assert_test{};
27928 # 52 "./boost/type_traits/is_abstract.hpp" 2
27930 # 1 "./boost/type_traits/is_class.hpp" 1
27931 # 14 "./boost/type_traits/is_class.hpp"
27932 # 1 "./boost/type_traits/is_union.hpp" 1
27933 # 14 "./boost/type_traits/is_union.hpp"
27934 # 1 "./boost/type_traits/remove_cv.hpp" 1
27935 # 14 "./boost/type_traits/remove_cv.hpp"
27936 # 1 "./boost/type_traits/broken_compiler_spec.hpp" 1
27937 # 95 "./boost/type_traits/broken_compiler_spec.hpp"
27953 # 15 "./boost/type_traits/remove_cv.hpp" 2
27954 # 1 "./boost/type_traits/detail/cv_traits_impl.hpp" 1
27955 # 23 "./boost/type_traits/detail/cv_traits_impl.hpp"
27965 template <typename T> struct cv_traits_imp {};
27967 template <typename T>
27968 struct cv_traits_imp<T*>
27970 static const bool is_const = false;
27971 static const bool is_volatile = false;
27972 typedef T unqualified_type;
27975 template <typename T>
27976 struct cv_traits_imp<const T*>
27978 static const bool is_const = true;
27979 static const bool is_volatile = false;
27980 typedef T unqualified_type;
27983 template <typename T>
27984 struct cv_traits_imp<volatile T*>
27986 static const bool is_const = false;
27987 static const bool is_volatile = true;
27988 typedef T unqualified_type;
27991 template <typename T>
27992 struct cv_traits_imp<const volatile T*>
27994 static const bool is_const = true;
27995 static const bool is_volatile = true;
27996 typedef T unqualified_type;
27998 # 92 "./boost/type_traits/detail/cv_traits_impl.hpp"
28001 # 16 "./boost/type_traits/remove_cv.hpp" 2
28002 # 26 "./boost/type_traits/remove_cv.hpp"
28003 # 1 "./boost/type_traits/detail/type_trait_def.hpp" 1
28004 # 14 "./boost/type_traits/detail/type_trait_def.hpp"
28005 # 1 "./boost/type_traits/detail/template_arity_spec.hpp" 1
28006 # 15 "./boost/type_traits/detail/type_trait_def.hpp" 2
28007 # 27 "./boost/type_traits/remove_cv.hpp" 2
28014 template< typename T > struct remove_cv { typedef typename boost::detail::cv_traits_imp<T*>::unqualified_type type; };
28015 template< typename T > struct remove_cv<T&> { typedef T& type; };
28017 template< typename T, std::size_t N > struct remove_cv<T const[N]> { typedef T type[N]; };
28018 template< typename T, std::size_t N > struct remove_cv<T volatile[N]> { typedef T type[N]; };
28019 template< typename T, std::size_t N > struct remove_cv<T const volatile[N]> { typedef T type[N]; };
28020 # 57 "./boost/type_traits/remove_cv.hpp"
28023 # 1 "./boost/type_traits/detail/type_trait_undef.hpp" 1
28024 # 60 "./boost/type_traits/remove_cv.hpp" 2
28025 # 15 "./boost/type_traits/is_union.hpp" 2
28027 # 1 "./boost/type_traits/intrinsics.hpp" 1
28028 # 17 "./boost/type_traits/is_union.hpp" 2
28031 # 1 "./boost/type_traits/detail/bool_trait_def.hpp" 1
28032 # 14 "./boost/type_traits/detail/bool_trait_def.hpp"
28033 # 1 "./boost/type_traits/detail/template_arity_spec.hpp" 1
28034 # 15 "./boost/type_traits/detail/bool_trait_def.hpp" 2
28035 # 20 "./boost/type_traits/is_union.hpp" 2
28040 # 36 "./boost/type_traits/is_union.hpp"
28041 template <typename T> struct is_union_impl
28043 static const bool value = false;
28048 template< typename T > struct is_union : ::boost::integral_constant<bool,::boost::detail::is_union_impl<T>::value> { };
28052 # 1 "./boost/type_traits/detail/bool_trait_undef.hpp" 1
28053 # 48 "./boost/type_traits/is_union.hpp" 2
28054 # 15 "./boost/type_traits/is_class.hpp" 2
28055 # 33 "./boost/type_traits/is_class.hpp"
28056 # 1 "./boost/type_traits/detail/bool_trait_def.hpp" 1
28057 # 14 "./boost/type_traits/detail/bool_trait_def.hpp"
28058 # 1 "./boost/type_traits/detail/template_arity_spec.hpp" 1
28059 # 15 "./boost/type_traits/detail/bool_trait_def.hpp" 2
28060 # 34 "./boost/type_traits/is_class.hpp" 2
28065 # 53 "./boost/type_traits/is_class.hpp"
28066 template <class U> ::boost::type_traits::yes_type is_class_tester(void(U::*)(void));
28067 template <class U> ::boost::type_traits::no_type is_class_tester(...);
28069 template <typename T>
28070 struct is_class_impl
28073 static const bool value = (::boost::type_traits::ice_and< sizeof(is_class_tester<T>(0)) == sizeof(::boost::type_traits::yes_type), ::boost::type_traits::ice_not< ::boost::is_union<T>::value >::value >::value);
28080 # 115 "./boost/type_traits/is_class.hpp"
28087 template< typename T > struct is_class : ::boost::integral_constant<bool,::boost::detail::is_class_impl<T>::value> { };
28092 # 1 "./boost/type_traits/detail/bool_trait_undef.hpp" 1
28093 # 127 "./boost/type_traits/is_class.hpp" 2
28094 # 54 "./boost/type_traits/is_abstract.hpp" 2
28100 # 1 "./boost/type_traits/detail/bool_trait_def.hpp" 1
28101 # 14 "./boost/type_traits/detail/bool_trait_def.hpp"
28102 # 1 "./boost/type_traits/detail/template_arity_spec.hpp" 1
28103 # 15 "./boost/type_traits/detail/bool_trait_def.hpp" 2
28104 # 60 "./boost/type_traits/is_abstract.hpp" 2
28112 struct is_abstract_imp2
28119 static type_traits::no_type check_sig(U (*)[1]);
28121 static type_traits::yes_type check_sig(...);
28126 typedef ::boost::static_assert_test< sizeof(::boost::STATIC_ASSERTION_FAILURE< (bool)( sizeof(T) != 0 ) >)> boost_static_assert_typedef_81;
28131 static const unsigned s1 = sizeof(is_abstract_imp2<T>::template check_sig<T>(0));
28132 # 98 "./boost/type_traits/is_abstract.hpp"
28133 static const bool value = (s1 == sizeof(type_traits::yes_type));
28138 struct is_abstract_select
28143 typedef is_abstract_imp2<T> type;
28147 struct is_abstract_select<false>
28152 typedef false_type type;
28157 struct is_abstract_imp
28159 typedef is_abstract_select< ::boost::is_class<T>::value> selector;
28160 typedef typename selector::template rebind<T> binder;
28161 typedef typename binder::type type;
28163 static const bool value = type::value;
28170 template< typename T > struct is_abstract : ::boost::integral_constant<bool,::boost::detail::is_abstract_imp<T>::value> { };
28177 # 1 "./boost/type_traits/detail/bool_trait_undef.hpp" 1
28178 # 143 "./boost/type_traits/is_abstract.hpp" 2
28179 # 24 "./boost/type_traits/is_convertible.hpp" 2
28180 # 32 "./boost/type_traits/is_convertible.hpp"
28181 # 1 "./boost/type_traits/detail/bool_trait_def.hpp" 1
28182 # 14 "./boost/type_traits/detail/bool_trait_def.hpp"
28183 # 1 "./boost/type_traits/detail/template_arity_spec.hpp" 1
28184 # 15 "./boost/type_traits/detail/bool_trait_def.hpp" 2
28185 # 33 "./boost/type_traits/is_convertible.hpp" 2
28188 # 46 "./boost/type_traits/is_convertible.hpp"
28190 # 113 "./boost/type_traits/is_convertible.hpp"
28191 struct any_conversion
28193 template <typename T> any_conversion(const volatile T&);
28194 template <typename T> any_conversion(T&);
28197 template <typename T> struct checker
28199 static boost::type_traits::no_type _m_check(any_conversion ...);
28200 static boost::type_traits::yes_type _m_check(T, int);
28203 template <typename From, typename To>
28204 struct is_convertible_basic_impl
28206 static From _m_from;
28207 static bool const value = sizeof( detail::checker<To>::_m_check(_m_from, 0) )
28208 == sizeof(::boost::type_traits::yes_type);
28210 # 285 "./boost/type_traits/is_convertible.hpp"
28211 template <typename From, typename To>
28212 struct is_convertible_impl
28214 typedef typename add_reference<From>::type ref_type;
28215 static const bool value = (::boost::type_traits::ice_and< ::boost::type_traits::ice_or< ::boost::detail::is_convertible_basic_impl<ref_type,To>::value, ::boost::is_void<To>::value >::value, ::boost::type_traits::ice_not< ::boost::is_array<To>::value >::value >::value);
28216 # 300 "./boost/type_traits/is_convertible.hpp"
28220 template <bool trivial1, bool trivial2, bool abstract_target>
28221 struct is_convertible_impl_select
28223 template <class From, class To>
28226 typedef is_convertible_impl<From, To> type;
28231 struct is_convertible_impl_select<true, true, false>
28233 template <class From, class To>
28236 typedef true_type type;
28241 struct is_convertible_impl_select<false, false, true>
28243 template <class From, class To>
28246 typedef false_type type;
28251 struct is_convertible_impl_select<true, false, true>
28253 template <class From, class To>
28256 typedef false_type type;
28260 template <typename From, typename To>
28261 struct is_convertible_impl_dispatch_base
28264 typedef is_convertible_impl_select<
28265 ::boost::is_arithmetic<From>::value,
28266 ::boost::is_arithmetic<To>::value,
28268 ::boost::is_abstract<To>::value
28276 typedef typename selector::template rebind<From, To> isc_binder;
28277 typedef typename isc_binder::type type;
28280 template <typename From, typename To>
28281 struct is_convertible_impl_dispatch
28282 : public is_convertible_impl_dispatch_base<From, To>::type
28284 # 388 "./boost/type_traits/is_convertible.hpp"
28285 template<> struct is_convertible_impl< void,void > { static const bool value = (true); }; template<> struct is_convertible_impl< void,void const > { static const bool value = (true); }; template<> struct is_convertible_impl< void,void volatile > { static const bool value = (true); }; template<> struct is_convertible_impl< void,void const volatile > { static const bool value = (true); }; template<> struct is_convertible_impl< void const,void > { static const bool value = (true); }; template<> struct is_convertible_impl< void const,void const > { static const bool value = (true); }; template<> struct is_convertible_impl< void const,void volatile > { static const bool value = (true); }; template<> struct is_convertible_impl< void const,void const volatile > { static const bool value = (true); }; template<> struct is_convertible_impl< void volatile,void > { static const bool value = (true); }; template<> struct is_convertible_impl< void volatile,void const > { static const bool value = (true); }; template<> struct is_convertible_impl< void volatile,void volatile > { static const bool value = (true); }; template<> struct is_convertible_impl< void volatile,void const volatile > { static const bool value = (true); }; template<> struct is_convertible_impl< void const volatile,void > { static const bool value = (true); }; template<> struct is_convertible_impl< void const volatile,void const > { static const bool value = (true); }; template<> struct is_convertible_impl< void const volatile,void volatile > { static const bool value = (true); }; template<> struct is_convertible_impl< void const volatile,void const volatile > { static const bool value = (true); };
28286 # 398 "./boost/type_traits/is_convertible.hpp"
28287 template< typename To > struct is_convertible_impl< void,To > { static const bool value = (false); };
28288 template< typename From > struct is_convertible_impl< From,void > { static const bool value = (true); };
28290 template< typename To > struct is_convertible_impl< void const,To > { static const bool value = (false); };
28291 template< typename To > struct is_convertible_impl< void volatile,To > { static const bool value = (false); };
28292 template< typename To > struct is_convertible_impl< void const volatile,To > { static const bool value = (false); };
28293 template< typename From > struct is_convertible_impl< From,void const > { static const bool value = (true); };
28294 template< typename From > struct is_convertible_impl< From,void volatile > { static const bool value = (true); };
28295 template< typename From > struct is_convertible_impl< From,void const volatile > { static const bool value = (true); };
28301 template< typename From, typename To > struct is_convertible : ::boost::integral_constant<bool,(::boost::detail::is_convertible_impl_dispatch<From,To>::value)> { };
28305 # 1 "./boost/type_traits/detail/bool_trait_undef.hpp" 1
28306 # 417 "./boost/type_traits/is_convertible.hpp" 2
28307 # 18 "./boost/type_traits/is_enum.hpp" 2
28310 # 1 "./boost/type_traits/is_function.hpp" 1
28311 # 15 "./boost/type_traits/is_function.hpp"
28312 # 1 "./boost/type_traits/detail/false_result.hpp" 1
28313 # 14 "./boost/type_traits/detail/false_result.hpp"
28315 namespace type_traits {
28318 struct false_result
28320 template <typename T> struct result_
28322 static const bool value = false;
28327 # 16 "./boost/type_traits/is_function.hpp" 2
28331 # 1 "./boost/type_traits/detail/is_function_ptr_helper.hpp" 1
28332 # 26 "./boost/type_traits/detail/is_function_ptr_helper.hpp"
28334 namespace type_traits {
28337 struct is_function_ptr_helper
28339 static const bool value = false;
28345 template <class R >
28346 struct is_function_ptr_helper<R (*)()> { static const bool value = true; };
28348 template <class R >
28349 struct is_function_ptr_helper<R (*)( ...)> { static const bool value = true; };
28351 template <class R , class T0>
28352 struct is_function_ptr_helper<R (*)( T0)> { static const bool value = true; };
28354 template <class R , class T0>
28355 struct is_function_ptr_helper<R (*)( T0 ...)> { static const bool value = true; };
28357 template <class R , class T0 , class T1>
28358 struct is_function_ptr_helper<R (*)( T0 , T1)> { static const bool value = true; };
28360 template <class R , class T0 , class T1>
28361 struct is_function_ptr_helper<R (*)( T0 , T1 ...)> { static const bool value = true; };
28363 template <class R , class T0 , class T1 , class T2>
28364 struct is_function_ptr_helper<R (*)( T0 , T1 , T2)> { static const bool value = true; };
28366 template <class R , class T0 , class T1 , class T2>
28367 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 ...)> { static const bool value = true; };
28369 template <class R , class T0 , class T1 , class T2 , class T3>
28370 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3)> { static const bool value = true; };
28372 template <class R , class T0 , class T1 , class T2 , class T3>
28373 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 ...)> { static const bool value = true; };
28375 template <class R , class T0 , class T1 , class T2 , class T3 , class T4>
28376 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 , T4)> { static const bool value = true; };
28378 template <class R , class T0 , class T1 , class T2 , class T3 , class T4>
28379 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 , T4 ...)> { static const bool value = true; };
28381 template <class R , class T0 , class T1 , class T2 , class T3 , class T4 , class T5>
28382 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 , T4 , T5)> { static const bool value = true; };
28384 template <class R , class T0 , class T1 , class T2 , class T3 , class T4 , class T5>
28385 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 , T4 , T5 ...)> { static const bool value = true; };
28387 template <class R , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6>
28388 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 , T4 , T5 , T6)> { static const bool value = true; };
28390 template <class R , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6>
28391 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 ...)> { static const bool value = true; };
28393 template <class R , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7>
28394 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7)> { static const bool value = true; };
28396 template <class R , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7>
28397 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 ...)> { static const bool value = true; };
28399 template <class R , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8>
28400 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8)> { static const bool value = true; };
28402 template <class R , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8>
28403 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 ...)> { static const bool value = true; };
28405 template <class R , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9>
28406 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9)> { static const bool value = true; };
28408 template <class R , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9>
28409 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 ...)> { static const bool value = true; };
28411 template <class R , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10>
28412 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10)> { static const bool value = true; };
28414 template <class R , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10>
28415 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 ...)> { static const bool value = true; };
28417 template <class R , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11>
28418 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11)> { static const bool value = true; };
28420 template <class R , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11>
28421 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 ...)> { static const bool value = true; };
28423 template <class R , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12>
28424 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12)> { static const bool value = true; };
28426 template <class R , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12>
28427 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 ...)> { static const bool value = true; };
28429 template <class R , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13>
28430 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13)> { static const bool value = true; };
28432 template <class R , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13>
28433 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 ...)> { static const bool value = true; };
28435 template <class R , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14>
28436 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14)> { static const bool value = true; };
28438 template <class R , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14>
28439 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 ...)> { static const bool value = true; };
28441 template <class R , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15>
28442 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15)> { static const bool value = true; };
28444 template <class R , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15>
28445 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 ...)> { static const bool value = true; };
28447 template <class R , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16>
28448 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16)> { static const bool value = true; };
28450 template <class R , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16>
28451 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 ...)> { static const bool value = true; };
28453 template <class R , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17>
28454 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17)> { static const bool value = true; };
28456 template <class R , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17>
28457 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 ...)> { static const bool value = true; };
28459 template <class R , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18>
28460 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18)> { static const bool value = true; };
28462 template <class R , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18>
28463 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 ...)> { static const bool value = true; };
28465 template <class R , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19>
28466 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19)> { static const bool value = true; };
28468 template <class R , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19>
28469 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 ...)> { static const bool value = true; };
28471 template <class R , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20>
28472 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20)> { static const bool value = true; };
28474 template <class R , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20>
28475 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 ...)> { static const bool value = true; };
28477 template <class R , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20 , class T21>
28478 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 , T21)> { static const bool value = true; };
28480 template <class R , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20 , class T21>
28481 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 , T21 ...)> { static const bool value = true; };
28483 template <class R , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20 , class T21 , class T22>
28484 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 , T21 , T22)> { static const bool value = true; };
28486 template <class R , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20 , class T21 , class T22>
28487 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 , T21 , T22 ...)> { static const bool value = true; };
28489 template <class R , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20 , class T21 , class T22 , class T23>
28490 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 , T21 , T22 , T23)> { static const bool value = true; };
28492 template <class R , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20 , class T21 , class T22 , class T23>
28493 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 , T21 , T22 , T23 ...)> { static const bool value = true; };
28495 template <class R , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20 , class T21 , class T22 , class T23 , class T24>
28496 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 , T21 , T22 , T23 , T24)> { static const bool value = true; };
28498 template <class R , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20 , class T21 , class T22 , class T23 , class T24>
28499 struct is_function_ptr_helper<R (*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 , T21 , T22 , T23 , T24 ...)> { static const bool value = true; };
28500 # 203 "./boost/type_traits/detail/is_function_ptr_helper.hpp"
28503 # 20 "./boost/type_traits/is_function.hpp" 2
28510 # 1 "./boost/type_traits/detail/bool_trait_def.hpp" 1
28511 # 14 "./boost/type_traits/detail/bool_trait_def.hpp"
28512 # 1 "./boost/type_traits/detail/template_arity_spec.hpp" 1
28513 # 15 "./boost/type_traits/detail/bool_trait_def.hpp" 2
28514 # 27 "./boost/type_traits/is_function.hpp" 2
28526 template<bool is_ref = true>
28527 struct is_function_chooser
28528 : ::boost::type_traits::false_result
28533 struct is_function_chooser<false>
28535 template< typename T > struct result_
28536 : ::boost::type_traits::is_function_ptr_helper<T*>
28541 template <typename T>
28542 struct is_function_impl
28543 : is_function_chooser< ::boost::is_reference<T>::value >
28544 ::template result_<T>
28547 # 87 "./boost/type_traits/is_function.hpp"
28550 template< typename T > struct is_function : ::boost::integral_constant<bool,::boost::detail::is_function_impl<T>::value> { };
28554 # 1 "./boost/type_traits/detail/bool_trait_undef.hpp" 1
28555 # 94 "./boost/type_traits/is_function.hpp" 2
28556 # 21 "./boost/type_traits/is_enum.hpp" 2
28557 # 30 "./boost/type_traits/is_enum.hpp"
28558 # 1 "./boost/type_traits/detail/bool_trait_def.hpp" 1
28559 # 14 "./boost/type_traits/detail/bool_trait_def.hpp"
28560 # 1 "./boost/type_traits/detail/template_arity_spec.hpp" 1
28561 # 15 "./boost/type_traits/detail/bool_trait_def.hpp" 2
28562 # 31 "./boost/type_traits/is_enum.hpp" 2
28572 template <typename T>
28573 struct is_class_or_union
28575 static const bool value = (::boost::type_traits::ice_or< ::boost::is_class<T>::value , ::boost::is_union<T>::value >::value);
28581 # 75 "./boost/type_traits/is_enum.hpp"
28582 struct int_convertible
28584 int_convertible(int);
28589 template <bool is_typename_arithmetic_or_reference = true>
28590 struct is_enum_helper
28592 template <typename T> struct type
28594 static const bool value = false;
28599 struct is_enum_helper<false>
28601 template <typename T> struct type
28602 : ::boost::is_convertible<typename boost::add_reference<T>::type,::boost::detail::int_convertible>
28607 template <typename T> struct is_enum_impl
28609 # 112 "./boost/type_traits/is_enum.hpp"
28610 static const bool selector = (::boost::type_traits::ice_or< ::boost::is_arithmetic<T>::value , ::boost::is_reference<T>::value , ::boost::is_function<T>::value , is_class_or_union<T>::value , is_array<T>::value >::value);
28611 # 149 "./boost/type_traits/is_enum.hpp"
28612 typedef ::boost::detail::is_enum_helper<selector> se_t;
28615 typedef typename se_t::template type<T> helper;
28616 static const bool value = helper::value;
28620 template<> struct is_enum_impl< void > { static const bool value = (false); };
28622 template<> struct is_enum_impl< void const > { static const bool value = (false); };
28623 template<> struct is_enum_impl< void volatile > { static const bool value = (false); };
28624 template<> struct is_enum_impl< void const volatile > { static const bool value = (false); };
28629 template< typename T > struct is_enum : ::boost::integral_constant<bool,::boost::detail::is_enum_impl<T>::value> { };
28630 # 176 "./boost/type_traits/is_enum.hpp"
28633 # 1 "./boost/type_traits/detail/bool_trait_undef.hpp" 1
28634 # 179 "./boost/type_traits/is_enum.hpp" 2
28635 # 14 "./boost/type_traits/is_scalar.hpp" 2
28636 # 1 "./boost/type_traits/is_pointer.hpp" 1
28637 # 24 "./boost/type_traits/is_pointer.hpp"
28638 # 1 "./boost/type_traits/is_member_pointer.hpp" 1
28639 # 28 "./boost/type_traits/is_member_pointer.hpp"
28640 # 1 "./boost/type_traits/is_member_function_pointer.hpp" 1
28641 # 24 "./boost/type_traits/is_member_function_pointer.hpp"
28642 # 1 "./boost/type_traits/detail/is_mem_fun_pointer_impl.hpp" 1
28643 # 25 "./boost/type_traits/detail/is_mem_fun_pointer_impl.hpp"
28645 namespace type_traits {
28647 template <typename T>
28648 struct is_mem_fun_pointer_impl
28650 static const bool value = false;
28657 template <class R, class T >
28658 struct is_mem_fun_pointer_impl<R (T::*)() > { static const bool value = true; };
28660 template <class R, class T >
28661 struct is_mem_fun_pointer_impl<R (T::*)( ...) > { static const bool value = true; };
28665 template <class R, class T >
28666 struct is_mem_fun_pointer_impl<R (T::*)() const > { static const bool value = true; };
28668 template <class R, class T >
28669 struct is_mem_fun_pointer_impl<R (T::*)() volatile > { static const bool value = true; };
28671 template <class R, class T >
28672 struct is_mem_fun_pointer_impl<R (T::*)() const volatile > { static const bool value = true; };
28675 template <class R, class T >
28676 struct is_mem_fun_pointer_impl<R (T::*)( ...) const > { static const bool value = true; };
28678 template <class R, class T >
28679 struct is_mem_fun_pointer_impl<R (T::*)( ...) volatile > { static const bool value = true; };
28681 template <class R, class T >
28682 struct is_mem_fun_pointer_impl<R (T::*)( ...) const volatile > { static const bool value = true; };
28685 template <class R, class T , class T0>
28686 struct is_mem_fun_pointer_impl<R (T::*)( T0) > { static const bool value = true; };
28688 template <class R, class T , class T0>
28689 struct is_mem_fun_pointer_impl<R (T::*)( T0 ...) > { static const bool value = true; };
28693 template <class R, class T , class T0>
28694 struct is_mem_fun_pointer_impl<R (T::*)( T0) const > { static const bool value = true; };
28696 template <class R, class T , class T0>
28697 struct is_mem_fun_pointer_impl<R (T::*)( T0) volatile > { static const bool value = true; };
28699 template <class R, class T , class T0>
28700 struct is_mem_fun_pointer_impl<R (T::*)( T0) const volatile > { static const bool value = true; };
28703 template <class R, class T , class T0>
28704 struct is_mem_fun_pointer_impl<R (T::*)( T0 ...) const > { static const bool value = true; };
28706 template <class R, class T , class T0>
28707 struct is_mem_fun_pointer_impl<R (T::*)( T0 ...) volatile > { static const bool value = true; };
28709 template <class R, class T , class T0>
28710 struct is_mem_fun_pointer_impl<R (T::*)( T0 ...) const volatile > { static const bool value = true; };
28713 template <class R, class T , class T0 , class T1>
28714 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1) > { static const bool value = true; };
28716 template <class R, class T , class T0 , class T1>
28717 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 ...) > { static const bool value = true; };
28721 template <class R, class T , class T0 , class T1>
28722 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1) const > { static const bool value = true; };
28724 template <class R, class T , class T0 , class T1>
28725 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1) volatile > { static const bool value = true; };
28727 template <class R, class T , class T0 , class T1>
28728 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1) const volatile > { static const bool value = true; };
28731 template <class R, class T , class T0 , class T1>
28732 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 ...) const > { static const bool value = true; };
28734 template <class R, class T , class T0 , class T1>
28735 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 ...) volatile > { static const bool value = true; };
28737 template <class R, class T , class T0 , class T1>
28738 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 ...) const volatile > { static const bool value = true; };
28741 template <class R, class T , class T0 , class T1 , class T2>
28742 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2) > { static const bool value = true; };
28744 template <class R, class T , class T0 , class T1 , class T2>
28745 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 ...) > { static const bool value = true; };
28749 template <class R, class T , class T0 , class T1 , class T2>
28750 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2) const > { static const bool value = true; };
28752 template <class R, class T , class T0 , class T1 , class T2>
28753 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2) volatile > { static const bool value = true; };
28755 template <class R, class T , class T0 , class T1 , class T2>
28756 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2) const volatile > { static const bool value = true; };
28759 template <class R, class T , class T0 , class T1 , class T2>
28760 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 ...) const > { static const bool value = true; };
28762 template <class R, class T , class T0 , class T1 , class T2>
28763 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 ...) volatile > { static const bool value = true; };
28765 template <class R, class T , class T0 , class T1 , class T2>
28766 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 ...) const volatile > { static const bool value = true; };
28769 template <class R, class T , class T0 , class T1 , class T2 , class T3>
28770 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3) > { static const bool value = true; };
28772 template <class R, class T , class T0 , class T1 , class T2 , class T3>
28773 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 ...) > { static const bool value = true; };
28777 template <class R, class T , class T0 , class T1 , class T2 , class T3>
28778 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3) const > { static const bool value = true; };
28780 template <class R, class T , class T0 , class T1 , class T2 , class T3>
28781 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3) volatile > { static const bool value = true; };
28783 template <class R, class T , class T0 , class T1 , class T2 , class T3>
28784 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3) const volatile > { static const bool value = true; };
28787 template <class R, class T , class T0 , class T1 , class T2 , class T3>
28788 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 ...) const > { static const bool value = true; };
28790 template <class R, class T , class T0 , class T1 , class T2 , class T3>
28791 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 ...) volatile > { static const bool value = true; };
28793 template <class R, class T , class T0 , class T1 , class T2 , class T3>
28794 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 ...) const volatile > { static const bool value = true; };
28797 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4>
28798 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4) > { static const bool value = true; };
28800 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4>
28801 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 ...) > { static const bool value = true; };
28805 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4>
28806 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4) const > { static const bool value = true; };
28808 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4>
28809 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4) volatile > { static const bool value = true; };
28811 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4>
28812 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4) const volatile > { static const bool value = true; };
28815 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4>
28816 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 ...) const > { static const bool value = true; };
28818 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4>
28819 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 ...) volatile > { static const bool value = true; };
28821 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4>
28822 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 ...) const volatile > { static const bool value = true; };
28825 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5>
28826 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5) > { static const bool value = true; };
28828 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5>
28829 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 ...) > { static const bool value = true; };
28833 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5>
28834 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5) const > { static const bool value = true; };
28836 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5>
28837 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5) volatile > { static const bool value = true; };
28839 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5>
28840 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5) const volatile > { static const bool value = true; };
28843 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5>
28844 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 ...) const > { static const bool value = true; };
28846 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5>
28847 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 ...) volatile > { static const bool value = true; };
28849 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5>
28850 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 ...) const volatile > { static const bool value = true; };
28853 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6>
28854 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6) > { static const bool value = true; };
28856 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6>
28857 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 ...) > { static const bool value = true; };
28861 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6>
28862 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6) const > { static const bool value = true; };
28864 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6>
28865 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6) volatile > { static const bool value = true; };
28867 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6>
28868 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6) const volatile > { static const bool value = true; };
28871 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6>
28872 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 ...) const > { static const bool value = true; };
28874 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6>
28875 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 ...) volatile > { static const bool value = true; };
28877 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6>
28878 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 ...) const volatile > { static const bool value = true; };
28881 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7>
28882 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7) > { static const bool value = true; };
28884 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7>
28885 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 ...) > { static const bool value = true; };
28889 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7>
28890 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7) const > { static const bool value = true; };
28892 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7>
28893 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7) volatile > { static const bool value = true; };
28895 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7>
28896 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7) const volatile > { static const bool value = true; };
28899 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7>
28900 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 ...) const > { static const bool value = true; };
28902 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7>
28903 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 ...) volatile > { static const bool value = true; };
28905 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7>
28906 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 ...) const volatile > { static const bool value = true; };
28909 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8>
28910 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8) > { static const bool value = true; };
28912 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8>
28913 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 ...) > { static const bool value = true; };
28917 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8>
28918 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8) const > { static const bool value = true; };
28920 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8>
28921 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8) volatile > { static const bool value = true; };
28923 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8>
28924 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8) const volatile > { static const bool value = true; };
28927 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8>
28928 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 ...) const > { static const bool value = true; };
28930 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8>
28931 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 ...) volatile > { static const bool value = true; };
28933 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8>
28934 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 ...) const volatile > { static const bool value = true; };
28937 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9>
28938 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9) > { static const bool value = true; };
28940 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9>
28941 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 ...) > { static const bool value = true; };
28945 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9>
28946 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9) const > { static const bool value = true; };
28948 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9>
28949 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9) volatile > { static const bool value = true; };
28951 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9>
28952 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9) const volatile > { static const bool value = true; };
28955 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9>
28956 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 ...) const > { static const bool value = true; };
28958 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9>
28959 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 ...) volatile > { static const bool value = true; };
28961 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9>
28962 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 ...) const volatile > { static const bool value = true; };
28965 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10>
28966 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10) > { static const bool value = true; };
28968 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10>
28969 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 ...) > { static const bool value = true; };
28973 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10>
28974 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10) const > { static const bool value = true; };
28976 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10>
28977 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10) volatile > { static const bool value = true; };
28979 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10>
28980 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10) const volatile > { static const bool value = true; };
28983 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10>
28984 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 ...) const > { static const bool value = true; };
28986 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10>
28987 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 ...) volatile > { static const bool value = true; };
28989 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10>
28990 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 ...) const volatile > { static const bool value = true; };
28993 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11>
28994 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11) > { static const bool value = true; };
28996 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11>
28997 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 ...) > { static const bool value = true; };
29001 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11>
29002 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11) const > { static const bool value = true; };
29004 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11>
29005 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11) volatile > { static const bool value = true; };
29007 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11>
29008 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11) const volatile > { static const bool value = true; };
29011 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11>
29012 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 ...) const > { static const bool value = true; };
29014 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11>
29015 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 ...) volatile > { static const bool value = true; };
29017 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11>
29018 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 ...) const volatile > { static const bool value = true; };
29021 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12>
29022 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12) > { static const bool value = true; };
29024 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12>
29025 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 ...) > { static const bool value = true; };
29029 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12>
29030 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12) const > { static const bool value = true; };
29032 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12>
29033 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12) volatile > { static const bool value = true; };
29035 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12>
29036 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12) const volatile > { static const bool value = true; };
29039 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12>
29040 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 ...) const > { static const bool value = true; };
29042 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12>
29043 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 ...) volatile > { static const bool value = true; };
29045 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12>
29046 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 ...) const volatile > { static const bool value = true; };
29049 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13>
29050 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13) > { static const bool value = true; };
29052 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13>
29053 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 ...) > { static const bool value = true; };
29057 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13>
29058 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13) const > { static const bool value = true; };
29060 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13>
29061 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13) volatile > { static const bool value = true; };
29063 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13>
29064 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13) const volatile > { static const bool value = true; };
29067 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13>
29068 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 ...) const > { static const bool value = true; };
29070 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13>
29071 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 ...) volatile > { static const bool value = true; };
29073 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13>
29074 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 ...) const volatile > { static const bool value = true; };
29077 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14>
29078 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14) > { static const bool value = true; };
29080 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14>
29081 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 ...) > { static const bool value = true; };
29085 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14>
29086 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14) const > { static const bool value = true; };
29088 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14>
29089 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14) volatile > { static const bool value = true; };
29091 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14>
29092 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14) const volatile > { static const bool value = true; };
29095 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14>
29096 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 ...) const > { static const bool value = true; };
29098 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14>
29099 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 ...) volatile > { static const bool value = true; };
29101 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14>
29102 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 ...) const volatile > { static const bool value = true; };
29105 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15>
29106 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15) > { static const bool value = true; };
29108 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15>
29109 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 ...) > { static const bool value = true; };
29113 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15>
29114 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15) const > { static const bool value = true; };
29116 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15>
29117 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15) volatile > { static const bool value = true; };
29119 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15>
29120 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15) const volatile > { static const bool value = true; };
29123 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15>
29124 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 ...) const > { static const bool value = true; };
29126 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15>
29127 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 ...) volatile > { static const bool value = true; };
29129 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15>
29130 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 ...) const volatile > { static const bool value = true; };
29133 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16>
29134 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16) > { static const bool value = true; };
29136 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16>
29137 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 ...) > { static const bool value = true; };
29141 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16>
29142 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16) const > { static const bool value = true; };
29144 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16>
29145 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16) volatile > { static const bool value = true; };
29147 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16>
29148 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16) const volatile > { static const bool value = true; };
29151 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16>
29152 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 ...) const > { static const bool value = true; };
29154 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16>
29155 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 ...) volatile > { static const bool value = true; };
29157 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16>
29158 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 ...) const volatile > { static const bool value = true; };
29161 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17>
29162 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17) > { static const bool value = true; };
29164 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17>
29165 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 ...) > { static const bool value = true; };
29169 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17>
29170 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17) const > { static const bool value = true; };
29172 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17>
29173 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17) volatile > { static const bool value = true; };
29175 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17>
29176 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17) const volatile > { static const bool value = true; };
29179 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17>
29180 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 ...) const > { static const bool value = true; };
29182 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17>
29183 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 ...) volatile > { static const bool value = true; };
29185 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17>
29186 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 ...) const volatile > { static const bool value = true; };
29189 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18>
29190 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18) > { static const bool value = true; };
29192 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18>
29193 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 ...) > { static const bool value = true; };
29197 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18>
29198 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18) const > { static const bool value = true; };
29200 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18>
29201 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18) volatile > { static const bool value = true; };
29203 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18>
29204 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18) const volatile > { static const bool value = true; };
29207 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18>
29208 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 ...) const > { static const bool value = true; };
29210 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18>
29211 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 ...) volatile > { static const bool value = true; };
29213 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18>
29214 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 ...) const volatile > { static const bool value = true; };
29217 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19>
29218 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19) > { static const bool value = true; };
29220 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19>
29221 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 ...) > { static const bool value = true; };
29225 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19>
29226 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19) const > { static const bool value = true; };
29228 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19>
29229 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19) volatile > { static const bool value = true; };
29231 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19>
29232 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19) const volatile > { static const bool value = true; };
29235 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19>
29236 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 ...) const > { static const bool value = true; };
29238 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19>
29239 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 ...) volatile > { static const bool value = true; };
29241 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19>
29242 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 ...) const volatile > { static const bool value = true; };
29245 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20>
29246 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20) > { static const bool value = true; };
29248 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20>
29249 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 ...) > { static const bool value = true; };
29253 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20>
29254 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20) const > { static const bool value = true; };
29256 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20>
29257 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20) volatile > { static const bool value = true; };
29259 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20>
29260 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20) const volatile > { static const bool value = true; };
29263 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20>
29264 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 ...) const > { static const bool value = true; };
29266 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20>
29267 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 ...) volatile > { static const bool value = true; };
29269 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20>
29270 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 ...) const volatile > { static const bool value = true; };
29273 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20 , class T21>
29274 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 , T21) > { static const bool value = true; };
29276 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20 , class T21>
29277 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 , T21 ...) > { static const bool value = true; };
29281 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20 , class T21>
29282 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 , T21) const > { static const bool value = true; };
29284 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20 , class T21>
29285 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 , T21) volatile > { static const bool value = true; };
29287 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20 , class T21>
29288 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 , T21) const volatile > { static const bool value = true; };
29291 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20 , class T21>
29292 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 , T21 ...) const > { static const bool value = true; };
29294 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20 , class T21>
29295 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 , T21 ...) volatile > { static const bool value = true; };
29297 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20 , class T21>
29298 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 , T21 ...) const volatile > { static const bool value = true; };
29301 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20 , class T21 , class T22>
29302 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 , T21 , T22) > { static const bool value = true; };
29304 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20 , class T21 , class T22>
29305 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 , T21 , T22 ...) > { static const bool value = true; };
29309 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20 , class T21 , class T22>
29310 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 , T21 , T22) const > { static const bool value = true; };
29312 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20 , class T21 , class T22>
29313 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 , T21 , T22) volatile > { static const bool value = true; };
29315 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20 , class T21 , class T22>
29316 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 , T21 , T22) const volatile > { static const bool value = true; };
29319 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20 , class T21 , class T22>
29320 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 , T21 , T22 ...) const > { static const bool value = true; };
29322 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20 , class T21 , class T22>
29323 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 , T21 , T22 ...) volatile > { static const bool value = true; };
29325 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20 , class T21 , class T22>
29326 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 , T21 , T22 ...) const volatile > { static const bool value = true; };
29329 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20 , class T21 , class T22 , class T23>
29330 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 , T21 , T22 , T23) > { static const bool value = true; };
29332 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20 , class T21 , class T22 , class T23>
29333 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 , T21 , T22 , T23 ...) > { static const bool value = true; };
29337 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20 , class T21 , class T22 , class T23>
29338 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 , T21 , T22 , T23) const > { static const bool value = true; };
29340 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20 , class T21 , class T22 , class T23>
29341 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 , T21 , T22 , T23) volatile > { static const bool value = true; };
29343 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20 , class T21 , class T22 , class T23>
29344 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 , T21 , T22 , T23) const volatile > { static const bool value = true; };
29347 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20 , class T21 , class T22 , class T23>
29348 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 , T21 , T22 , T23 ...) const > { static const bool value = true; };
29350 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20 , class T21 , class T22 , class T23>
29351 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 , T21 , T22 , T23 ...) volatile > { static const bool value = true; };
29353 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20 , class T21 , class T22 , class T23>
29354 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 , T21 , T22 , T23 ...) const volatile > { static const bool value = true; };
29357 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20 , class T21 , class T22 , class T23 , class T24>
29358 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 , T21 , T22 , T23 , T24) > { static const bool value = true; };
29360 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20 , class T21 , class T22 , class T23 , class T24>
29361 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 , T21 , T22 , T23 , T24 ...) > { static const bool value = true; };
29365 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20 , class T21 , class T22 , class T23 , class T24>
29366 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 , T21 , T22 , T23 , T24) const > { static const bool value = true; };
29368 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20 , class T21 , class T22 , class T23 , class T24>
29369 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 , T21 , T22 , T23 , T24) volatile > { static const bool value = true; };
29371 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20 , class T21 , class T22 , class T23 , class T24>
29372 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 , T21 , T22 , T23 , T24) const volatile > { static const bool value = true; };
29375 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20 , class T21 , class T22 , class T23 , class T24>
29376 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 , T21 , T22 , T23 , T24 ...) const > { static const bool value = true; };
29378 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20 , class T21 , class T22 , class T23 , class T24>
29379 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 , T21 , T22 , T23 , T24 ...) volatile > { static const bool value = true; };
29381 template <class R, class T , class T0 , class T1 , class T2 , class T3 , class T4 , class T5 , class T6 , class T7 , class T8 , class T9 , class T10 , class T11 , class T12 , class T13 , class T14 , class T15 , class T16 , class T17 , class T18 , class T19 , class T20 , class T21 , class T22 , class T23 , class T24>
29382 struct is_mem_fun_pointer_impl<R (T::*)( T0 , T1 , T2 , T3 , T4 , T5 , T6 , T7 , T8 , T9 , T10 , T11 , T12 , T13 , T14 , T15 , T16 , T17 , T18 , T19 , T20 , T21 , T22 , T23 , T24 ...) const volatile > { static const bool value = true; };
29383 # 776 "./boost/type_traits/detail/is_mem_fun_pointer_impl.hpp"
29386 # 25 "./boost/type_traits/is_member_function_pointer.hpp" 2
29387 # 36 "./boost/type_traits/is_member_function_pointer.hpp"
29388 # 1 "./boost/type_traits/detail/bool_trait_def.hpp" 1
29389 # 14 "./boost/type_traits/detail/bool_trait_def.hpp"
29390 # 1 "./boost/type_traits/detail/template_arity_spec.hpp" 1
29391 # 15 "./boost/type_traits/detail/bool_trait_def.hpp" 2
29392 # 37 "./boost/type_traits/is_member_function_pointer.hpp" 2
29398 template< typename T > struct is_member_function_pointer : ::boost::integral_constant<bool,::boost::type_traits::is_mem_fun_pointer_impl<typename remove_cv<T>::type>::value> { };
29399 # 130 "./boost/type_traits/is_member_function_pointer.hpp"
29402 # 1 "./boost/type_traits/detail/bool_trait_undef.hpp" 1
29403 # 133 "./boost/type_traits/is_member_function_pointer.hpp" 2
29404 # 29 "./boost/type_traits/is_member_pointer.hpp" 2
29405 # 39 "./boost/type_traits/is_member_pointer.hpp"
29406 # 1 "./boost/type_traits/detail/bool_trait_def.hpp" 1
29407 # 14 "./boost/type_traits/detail/bool_trait_def.hpp"
29408 # 1 "./boost/type_traits/detail/template_arity_spec.hpp" 1
29409 # 15 "./boost/type_traits/detail/bool_trait_def.hpp" 2
29410 # 40 "./boost/type_traits/is_member_pointer.hpp" 2
29419 template< typename T > struct is_member_pointer : ::boost::integral_constant<bool,::boost::is_member_function_pointer<T>::value> { };
29420 template< typename T, typename U > struct is_member_pointer< U T::* > : ::boost::integral_constant<bool,true> { };
29423 template< typename T, typename U > struct is_member_pointer< U T::*const > : ::boost::integral_constant<bool,true> { };
29424 template< typename T, typename U > struct is_member_pointer< U T::*volatile > : ::boost::integral_constant<bool,true> { };
29425 template< typename T, typename U > struct is_member_pointer< U T::*const volatile > : ::boost::integral_constant<bool,true> { };
29426 # 110 "./boost/type_traits/is_member_pointer.hpp"
29429 # 1 "./boost/type_traits/detail/bool_trait_undef.hpp" 1
29430 # 113 "./boost/type_traits/is_member_pointer.hpp" 2
29431 # 25 "./boost/type_traits/is_pointer.hpp" 2
29432 # 41 "./boost/type_traits/is_pointer.hpp"
29433 # 1 "./boost/type_traits/detail/bool_trait_def.hpp" 1
29434 # 14 "./boost/type_traits/detail/bool_trait_def.hpp"
29435 # 1 "./boost/type_traits/detail/template_arity_spec.hpp" 1
29436 # 15 "./boost/type_traits/detail/bool_trait_def.hpp" 2
29437 # 42 "./boost/type_traits/is_pointer.hpp" 2
29445 template< typename T > struct is_pointer_helper
29447 static const bool value = false;
29449 # 61 "./boost/type_traits/is_pointer.hpp"
29450 template< typename T > struct is_pointer_helper<T*> { static const bool value = true; };
29454 template< typename T >
29455 struct is_pointer_impl
29457 # 78 "./boost/type_traits/is_pointer.hpp"
29458 static const bool value = (::boost::type_traits::ice_and< ::boost::detail::is_pointer_helper<typename remove_cv<T>::type>::value , ::boost::type_traits::ice_not< ::boost::is_member_pointer<T>::value >::value >::value);
29459 # 87 "./boost/type_traits/is_pointer.hpp"
29464 template< typename T > struct is_pointer : ::boost::integral_constant<bool,::boost::detail::is_pointer_impl<T>::value> { };
29465 # 156 "./boost/type_traits/is_pointer.hpp"
29468 # 1 "./boost/type_traits/detail/bool_trait_undef.hpp" 1
29469 # 159 "./boost/type_traits/is_pointer.hpp" 2
29470 # 15 "./boost/type_traits/is_scalar.hpp" 2
29476 # 1 "./boost/type_traits/detail/bool_trait_def.hpp" 1
29477 # 14 "./boost/type_traits/detail/bool_trait_def.hpp"
29478 # 1 "./boost/type_traits/detail/template_arity_spec.hpp" 1
29479 # 15 "./boost/type_traits/detail/bool_trait_def.hpp" 2
29480 # 21 "./boost/type_traits/is_scalar.hpp" 2
29486 template <typename T>
29487 struct is_scalar_impl
29489 static const bool value = (::boost::type_traits::ice_or< ::boost::is_arithmetic<T>::value, ::boost::is_enum<T>::value, ::boost::is_pointer<T>::value, ::boost::is_member_pointer<T>::value >::value);
29500 template <> struct is_scalar_impl<void>{ static const bool value = false; };
29502 template <> struct is_scalar_impl<void const>{ static const bool value = false; };
29503 template <> struct is_scalar_impl<void volatile>{ static const bool value = false; };
29504 template <> struct is_scalar_impl<void const volatile>{ static const bool value = false; };
29509 template< typename T > struct is_scalar : ::boost::integral_constant<bool,::boost::detail::is_scalar_impl<T>::value> { };
29513 # 1 "./boost/type_traits/detail/bool_trait_undef.hpp" 1
29514 # 54 "./boost/type_traits/is_scalar.hpp" 2
29515 # 15 "./boost/type_traits/is_pod.hpp" 2
29522 # 1 "./boost/type_traits/detail/bool_trait_def.hpp" 1
29523 # 14 "./boost/type_traits/detail/bool_trait_def.hpp"
29524 # 1 "./boost/type_traits/detail/template_arity_spec.hpp" 1
29525 # 15 "./boost/type_traits/detail/bool_trait_def.hpp" 2
29526 # 22 "./boost/type_traits/is_pod.hpp" 2
29531 template< typename T > struct is_POD;
29537 template <typename T> struct is_pod_impl
29539 static const bool value = (::boost::type_traits::ice_or< ::boost::is_scalar<T>::value, ::boost::is_void<T>::value, false >::value);
29549 template <typename T, std::size_t sz>
29550 struct is_pod_impl<T[sz]>
29554 # 118 "./boost/type_traits/is_pod.hpp"
29555 template<> struct is_pod_impl< void > { static const bool value = (true); };
29558 template<> struct is_pod_impl< void const > { static const bool value = (true); };
29559 template<> struct is_pod_impl< void volatile > { static const bool value = (true); };
29560 template<> struct is_pod_impl< void const volatile > { static const bool value = (true); };
29565 template< typename T > struct is_POD : ::boost::integral_constant<bool,::boost::detail::is_pod_impl<T>::value> { };
29566 template< typename T > struct is_pod : ::boost::integral_constant<bool,::boost::detail::is_pod_impl<T>::value> { };
29570 # 1 "./boost/type_traits/detail/bool_trait_undef.hpp" 1
29571 # 134 "./boost/type_traits/is_pod.hpp" 2
29572 # 19 "./boost/type_traits/type_with_alignment.hpp" 2
29577 # 1 "./boost/type_traits/detail/bool_trait_def.hpp" 1
29578 # 14 "./boost/type_traits/detail/bool_trait_def.hpp"
29579 # 1 "./boost/type_traits/detail/template_arity_spec.hpp" 1
29580 # 15 "./boost/type_traits/detail/bool_trait_def.hpp" 2
29581 # 24 "./boost/type_traits/type_with_alignment.hpp" 2
29582 # 32 "./boost/type_traits/type_with_alignment.hpp"
29589 class alignment_dummy;
29590 typedef void (*function_ptr)();
29591 typedef int (alignment_dummy::*member_ptr);
29592 typedef int (alignment_dummy::*member_function_ptr)();
29593 # 101 "./boost/type_traits/type_with_alignment.hpp"
29594 template <bool found, std::size_t target, class TestType>
29595 struct lower_alignment_helper
29598 enum { value = true };
29601 template <std::size_t target, class TestType>
29602 struct lower_alignment_helper<false,target,TestType>
29604 enum { value = (alignment_of<TestType>::value == target) };
29605 typedef typename mpl::if_c<value, TestType, char>::type type;
29607 # 127 "./boost/type_traits/type_with_alignment.hpp"
29608 template <typename T>
29614 template <std::size_t target>
29615 union lower_alignment
29617 enum { found0 = false };
29619 typename lower_alignment_helper< found0,target,char >::type t0; enum { found1 = lower_alignment_helper<found0,target,char >::value }; typename lower_alignment_helper< found1,target,short >::type t1; enum { found2 = lower_alignment_helper<found1,target,short >::value }; typename lower_alignment_helper< found2,target,int >::type t2; enum { found3 = lower_alignment_helper<found2,target,int >::value }; typename lower_alignment_helper< found3,target,long >::type t3; enum { found4 = lower_alignment_helper<found3,target,long >::value }; typename lower_alignment_helper< found4,target,::boost::long_long_type >::type t4; enum { found5 = lower_alignment_helper<found4,target,::boost::long_long_type >::value }; typename lower_alignment_helper< found5,target,float >::type t5; enum { found6 = lower_alignment_helper<found5,target,float >::value }; typename lower_alignment_helper< found6,target,double >::type t6; enum { found7 = lower_alignment_helper<found6,target,double >::value }; typename lower_alignment_helper< found7,target,long double >::type t7; enum { found8 = lower_alignment_helper<found7,target,long double >::value }; typename lower_alignment_helper< found8,target,void* >::type t8; enum { found9 = lower_alignment_helper<found8,target,void* >::value }; typename lower_alignment_helper< found9,target,function_ptr >::type t9; enum { found10 = lower_alignment_helper<found9,target,function_ptr >::value }; typename lower_alignment_helper< found10,target,member_ptr >::type t10; enum { found11 = lower_alignment_helper<found10,target,member_ptr >::value }; typename lower_alignment_helper< found11,target,member_function_ptr >::type t11; enum { found12 = lower_alignment_helper<found11,target,member_function_ptr >::value }; typename lower_alignment_helper< found12,target,boost::detail::has_one_T< char > >::type t12; enum { found13 = lower_alignment_helper<found12,target,boost::detail::has_one_T< char > >::value }; typename lower_alignment_helper< found13,target,boost::detail::has_one_T< short > >::type t13; enum { found14 = lower_alignment_helper<found13,target,boost::detail::has_one_T< short > >::value }; typename lower_alignment_helper< found14,target,boost::detail::has_one_T< int > >::type t14; enum { found15 = lower_alignment_helper<found14,target,boost::detail::has_one_T< int > >::value }; typename lower_alignment_helper< found15,target,boost::detail::has_one_T< long > >::type t15; enum { found16 = lower_alignment_helper<found15,target,boost::detail::has_one_T< long > >::value }; typename lower_alignment_helper< found16,target,boost::detail::has_one_T< ::boost::long_long_type > >::type t16; enum { found17 = lower_alignment_helper<found16,target,boost::detail::has_one_T< ::boost::long_long_type > >::value }; typename lower_alignment_helper< found17,target,boost::detail::has_one_T< float > >::type t17; enum { found18 = lower_alignment_helper<found17,target,boost::detail::has_one_T< float > >::value }; typename lower_alignment_helper< found18,target,boost::detail::has_one_T< double > >::type t18; enum { found19 = lower_alignment_helper<found18,target,boost::detail::has_one_T< double > >::value }; typename lower_alignment_helper< found19,target,boost::detail::has_one_T< long double > >::type t19; enum { found20 = lower_alignment_helper<found19,target,boost::detail::has_one_T< long double > >::value }; typename lower_alignment_helper< found20,target,boost::detail::has_one_T< void* > >::type t20; enum { found21 = lower_alignment_helper<found20,target,boost::detail::has_one_T< void* > >::value }; typename lower_alignment_helper< found21,target,boost::detail::has_one_T< function_ptr > >::type t21; enum { found22 = lower_alignment_helper<found21,target,boost::detail::has_one_T< function_ptr > >::value }; typename lower_alignment_helper< found22,target,boost::detail::has_one_T< member_ptr > >::type t22; enum { found23 = lower_alignment_helper<found22,target,boost::detail::has_one_T< member_ptr > >::value }; typename lower_alignment_helper< found23,target,boost::detail::has_one_T< member_function_ptr > >::type t23; enum { found24 = lower_alignment_helper<found23,target,boost::detail::has_one_T< member_function_ptr > >::value };
29628 char t0; short t1; int t2; long t3; ::boost::long_long_type t4; float t5; double t6; long double t7; void* t8; function_ptr t9; member_ptr t10; member_function_ptr t11; boost::detail::has_one_T< char > t12; boost::detail::has_one_T< short > t13; boost::detail::has_one_T< int > t14; boost::detail::has_one_T< long > t15; boost::detail::has_one_T< ::boost::long_long_type > t16; boost::detail::has_one_T< float > t17; boost::detail::has_one_T< double > t18; boost::detail::has_one_T< long double > t19; boost::detail::has_one_T< void* > t20; boost::detail::has_one_T< function_ptr > t21; boost::detail::has_one_T< member_ptr > t22; boost::detail::has_one_T< member_function_ptr > t23;
29634 # 161 "./boost/type_traits/type_with_alignment.hpp"
29635 template<std::size_t TAlign, std::size_t Align>
29638 static const bool value = (TAlign >= Align) & (TAlign % Align == 0);
29642 # 180 "./boost/type_traits/type_with_alignment.hpp"
29646 template<std::size_t Align>
29647 struct is_pod< ::boost::detail::lower_alignment<Align> >
29649 static const std::size_t value = true;
29655 template <std::size_t Align>
29656 class type_with_alignment
29658 typedef ::boost::detail::lower_alignment<Align> t1;
29659 typedef typename mpl::if_c<
29660 ::boost::detail::is_aligned< ::boost::alignment_of<t1>::value,Align >::value
29662 , ::boost::detail::max_align
29665 static const std::size_t found = alignment_of<align_t>::value;
29667 typedef ::boost::static_assert_test< sizeof(::boost::STATIC_ASSERTION_FAILURE< (bool)( found >= Align ) >)> boost_static_assert_typedef_204;
29668 typedef ::boost::static_assert_test< sizeof(::boost::STATIC_ASSERTION_FAILURE< (bool)( found % Align == 0 ) >)> boost_static_assert_typedef_205;
29671 typedef align_t type;
29676 struct __attribute__((__aligned__(2))) a2 {};
29677 struct __attribute__((__aligned__(4))) a4 {};
29678 struct __attribute__((__aligned__(8))) a8 {};
29679 struct __attribute__((__aligned__(16))) a16 {};
29680 struct __attribute__((__aligned__(32))) a32 {};
29683 template<> class type_with_alignment<1> { public: typedef char type; };
29684 template<> class type_with_alignment<2> { public: typedef align::a2 type; };
29685 template<> class type_with_alignment<4> { public: typedef align::a4 type; };
29686 template<> class type_with_alignment<8> { public: typedef align::a8 type; };
29687 template<> class type_with_alignment<16> { public: typedef align::a16 type; };
29688 template<> class type_with_alignment<32> { public: typedef align::a32 type; };
29691 template<> struct is_pod_impl< ::boost::align::a2 > { static const bool value = (true); };
29692 template<> struct is_pod_impl< ::boost::align::a4 > { static const bool value = (true); };
29693 template<> struct is_pod_impl< ::boost::align::a8 > { static const bool value = (true); };
29694 template<> struct is_pod_impl< ::boost::align::a16 > { static const bool value = (true); };
29695 template<> struct is_pod_impl< ::boost::align::a32 > { static const bool value = (true); };
29697 # 278 "./boost/type_traits/type_with_alignment.hpp"
29704 # 1 "./boost/type_traits/detail/bool_trait_undef.hpp" 1
29705 # 285 "./boost/type_traits/type_with_alignment.hpp" 2
29706 # 23 "./boost/optional/optional.hpp" 2
29707 # 1 "./boost/type_traits/remove_reference.hpp" 1
29708 # 21 "./boost/type_traits/remove_reference.hpp"
29709 # 1 "./boost/type_traits/detail/type_trait_def.hpp" 1
29710 # 14 "./boost/type_traits/detail/type_trait_def.hpp"
29711 # 1 "./boost/type_traits/detail/template_arity_spec.hpp" 1
29712 # 15 "./boost/type_traits/detail/type_trait_def.hpp" 2
29713 # 22 "./boost/type_traits/remove_reference.hpp" 2
29719 template< typename T > struct remove_reference { typedef T type; };
29720 template< typename T > struct remove_reference<T&> { typedef T type; };
29721 # 46 "./boost/type_traits/remove_reference.hpp"
29724 # 1 "./boost/type_traits/detail/type_trait_undef.hpp" 1
29725 # 49 "./boost/type_traits/remove_reference.hpp" 2
29726 # 24 "./boost/optional/optional.hpp" 2
29730 # 1 "./boost/mpl/not.hpp" 1
29731 # 19 "./boost/mpl/not.hpp"
29732 # 1 "./boost/mpl/aux_/nested_type_wknd.hpp" 1
29733 # 25 "./boost/mpl/aux_/nested_type_wknd.hpp"
29734 namespace boost { namespace mpl { namespace aux {
29735 template< typename T > struct nested_type_wknd
29740 # 20 "./boost/mpl/not.hpp" 2
29744 namespace boost { namespace mpl {
29748 template< long C_ >
29762 ::boost::mpl::aux::nested_type_wknd<T>::value
29768 template<> struct not_< na > { template< typename T1 , typename T2 =na , typename T3 =na , typename T4 =na , typename T5 =na > struct apply : not_< T1 > { }; }; template< typename Tag > struct lambda< not_< na > , Tag , int_<-1> > { typedef false_ is_le; typedef not_< na > result_; typedef not_< na > type; }; namespace aux { template< typename T1 > struct template_arity< not_< T1 > > : int_<1> { }; template<> struct template_arity< not_< na > > : int_<-1> { }; }
29771 # 28 "./boost/optional/optional.hpp" 2
29772 # 1 "./boost/detail/reference_content.hpp" 1
29773 # 20 "./boost/detail/reference_content.hpp"
29774 # 1 "./boost/type_traits/has_nothrow_copy.hpp" 1
29775 # 12 "./boost/type_traits/has_nothrow_copy.hpp"
29776 # 1 "./boost/type_traits/has_trivial_copy.hpp" 1
29777 # 14 "./boost/type_traits/has_trivial_copy.hpp"
29778 # 1 "./boost/type_traits/is_volatile.hpp" 1
29779 # 40 "./boost/type_traits/is_volatile.hpp"
29780 # 1 "./boost/type_traits/detail/bool_trait_def.hpp" 1
29781 # 14 "./boost/type_traits/detail/bool_trait_def.hpp"
29782 # 1 "./boost/type_traits/detail/template_arity_spec.hpp" 1
29783 # 15 "./boost/type_traits/detail/bool_trait_def.hpp" 2
29784 # 41 "./boost/type_traits/is_volatile.hpp" 2
29794 template< typename T > struct is_volatile : ::boost::integral_constant<bool,::boost::detail::cv_traits_imp<T*>::is_volatile> { };
29796 template< typename T > struct is_volatile< T& > : ::boost::integral_constant<bool,false> { };
29797 # 127 "./boost/type_traits/is_volatile.hpp"
29800 # 1 "./boost/type_traits/detail/bool_trait_undef.hpp" 1
29801 # 130 "./boost/type_traits/is_volatile.hpp" 2
29802 # 15 "./boost/type_traits/has_trivial_copy.hpp" 2
29809 # 1 "./boost/type_traits/detail/bool_trait_def.hpp" 1
29810 # 14 "./boost/type_traits/detail/bool_trait_def.hpp"
29811 # 1 "./boost/type_traits/detail/template_arity_spec.hpp" 1
29812 # 15 "./boost/type_traits/detail/bool_trait_def.hpp" 2
29813 # 22 "./boost/type_traits/has_trivial_copy.hpp" 2
29819 template <typename T>
29820 struct has_trivial_copy_impl
29822 static const bool value = (::boost::type_traits::ice_and< ::boost::type_traits::ice_or< ::boost::is_pod<T>::value, false >::value, ::boost::type_traits::ice_not< ::boost::is_volatile<T>::value >::value >::value);
29834 template< typename T > struct has_trivial_copy : ::boost::integral_constant<bool,::boost::detail::has_trivial_copy_impl<T>::value> { };
29835 template< typename T > struct has_trivial_copy_constructor : ::boost::integral_constant<bool,::boost::detail::has_trivial_copy_impl<T>::value> { };
29839 # 1 "./boost/type_traits/detail/bool_trait_undef.hpp" 1
29840 # 48 "./boost/type_traits/has_trivial_copy.hpp" 2
29841 # 13 "./boost/type_traits/has_nothrow_copy.hpp" 2
29844 # 1 "./boost/type_traits/detail/bool_trait_def.hpp" 1
29845 # 14 "./boost/type_traits/detail/bool_trait_def.hpp"
29846 # 1 "./boost/type_traits/detail/template_arity_spec.hpp" 1
29847 # 15 "./boost/type_traits/detail/bool_trait_def.hpp" 2
29848 # 16 "./boost/type_traits/has_nothrow_copy.hpp" 2
29855 struct has_nothrow_copy_imp{
29856 static const bool value = (::boost::type_traits::ice_or< ::boost::has_trivial_copy<T>::value, false >::value);
29865 template< typename T > struct has_nothrow_copy : ::boost::integral_constant<bool,::boost::detail::has_nothrow_copy_imp<T>::value> { };
29866 template< typename T > struct has_nothrow_copy_constructor : ::boost::integral_constant<bool,::boost::detail::has_nothrow_copy_imp<T>::value> { };
29870 # 1 "./boost/type_traits/detail/bool_trait_undef.hpp" 1
29871 # 38 "./boost/type_traits/has_nothrow_copy.hpp" 2
29872 # 21 "./boost/detail/reference_content.hpp" 2
29878 # 1 "./boost/mpl/void.hpp" 1
29879 # 23 "./boost/mpl/void.hpp"
29886 struct void_ { typedef void_ type; };
29890 namespace boost { namespace mpl {
29892 template< typename T >
29902 struct is_void_<void_>
29910 template< typename T >
29911 struct is_not_void_
29920 struct is_not_void_<void_>
29928 template<> struct is_void_< na > { template< typename T1 , typename T2 =na , typename T3 =na , typename T4 =na , typename T5 =na > struct apply : is_void_< T1 > { }; }; template< typename Tag > struct lambda< is_void_< na > , Tag , int_<-1> > { typedef false_ is_le; typedef is_void_< na > result_; typedef is_void_< na > type; }; namespace aux { template< typename T1 > struct template_arity< is_void_< T1 > > : int_<1> { }; template<> struct template_arity< is_void_< na > > : int_<-1> { }; }
29929 template<> struct is_not_void_< na > { template< typename T1 , typename T2 =na , typename T3 =na , typename T4 =na , typename T5 =na > struct apply : is_not_void_< T1 > { }; }; template< typename Tag > struct lambda< is_not_void_< na > , Tag , int_<-1> > { typedef false_ is_le; typedef is_not_void_< na > result_; typedef is_not_void_< na > type; }; namespace aux { template< typename T1 > struct template_arity< is_not_void_< T1 > > : int_<1> { }; template<> struct template_arity< is_not_void_< na > > : int_<-1> { }; }
29932 # 27 "./boost/detail/reference_content.hpp" 2
29943 template <typename RefT>
29944 class reference_content
29952 ~reference_content()
29956 reference_content(RefT r)
29961 reference_content(const reference_content& operand)
29962 : content_( operand.content_ )
29968 reference_content& operator=(const reference_content&);
29985 template <typename T = mpl::void_> struct make_reference_content;
29989 template <typename T>
29990 struct make_reference_content
29995 template <typename T>
29996 struct make_reference_content< T& >
29998 typedef reference_content<T&> type;
30000 # 109 "./boost/detail/reference_content.hpp"
30002 struct make_reference_content< mpl::void_ >
30004 template <typename T>
30006 : make_reference_content<T>
30010 typedef mpl::void_ type;
30021 template <typename T>
30022 struct has_nothrow_copy<
30023 ::boost::detail::reference_content< T& >
30032 # 29 "./boost/optional/optional.hpp" 2
30033 # 1 "./boost/none.hpp" 1
30034 # 15 "./boost/none.hpp"
30035 # 1 "./boost/none_t.hpp" 1
30036 # 15 "./boost/none_t.hpp"
30039 namespace detail { struct none_helper{}; }
30041 typedef int detail::none_helper::*none_t ;
30044 # 16 "./boost/none.hpp" 2
30052 none_t const none = ((none_t)0) ;
30055 # 30 "./boost/optional/optional.hpp" 2
30056 # 1 "./boost/utility/compare_pointees.hpp" 1
30057 # 15 "./boost/utility/compare_pointees.hpp"
30058 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/functional" 1 3
30059 # 51 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/functional" 3
30061 # 52 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/functional" 3
30062 # 16 "./boost/utility/compare_pointees.hpp" 2
30065 # 28 "./boost/utility/compare_pointees.hpp"
30066 template<class OptionalPointee>
30068 bool equal_pointees ( OptionalPointee const& x, OptionalPointee const& y )
30070 return (!x) != (!y) ? false : ( !x ? true : (*x) == (*y) ) ;
30073 template<class OptionalPointee>
30074 struct equal_pointees_t : std::binary_function<OptionalPointee,OptionalPointee,bool>
30076 bool operator() ( OptionalPointee const& x, OptionalPointee const& y ) const
30077 { return equal_pointees(x,y) ; }
30079 # 51 "./boost/utility/compare_pointees.hpp"
30080 template<class OptionalPointee>
30082 bool less_pointees ( OptionalPointee const& x, OptionalPointee const& y )
30084 return !y ? false : ( !x ? true : (*x) < (*y) ) ;
30087 template<class OptionalPointee>
30088 struct less_pointees_t : std::binary_function<OptionalPointee,OptionalPointee,bool>
30090 bool operator() ( OptionalPointee const& x, OptionalPointee const& y ) const
30091 { return less_pointees(x,y) ; }
30095 # 31 "./boost/optional/optional.hpp" 2
30097 # 1 "./boost/optional/optional_fwd.hpp" 1
30098 # 15 "./boost/optional/optional_fwd.hpp"
30101 template<class T> class optional ;
30104 # 33 "./boost/optional/optional.hpp" 2
30105 # 83 "./boost/optional/optional.hpp"
30106 namespace boost_optional_detail
30108 template <class T, class Factory>
30109 void construct(Factory const& factory, void* address)
30111 factory.template apply<T>(address);
30118 class in_place_factory_base ;
30119 class typed_in_place_factory_base ;
30121 namespace optional_detail {
30128 class aligned_storage
30133 char data[ sizeof(T) ];
30134 typename type_with_alignment<
30135 ::boost::alignment_of<T>::value >::type aligner_;
30140 void const* address() const { return &dummy_.data[0]; }
30141 void * address() { return &dummy_.data[0]; }
30145 struct types_when_isnt_ref
30147 typedef T const& reference_const_type ;
30148 typedef T & reference_type ;
30149 typedef T const* pointer_const_type ;
30150 typedef T * pointer_type ;
30151 typedef T const& argument_type ;
30154 struct types_when_is_ref
30156 typedef typename remove_reference<T>::type raw_type ;
30158 typedef raw_type& reference_const_type ;
30159 typedef raw_type& reference_type ;
30160 typedef raw_type* pointer_const_type ;
30161 typedef raw_type* pointer_type ;
30162 typedef raw_type& argument_type ;
30165 struct optional_tag {} ;
30168 class optional_base : public optional_tag
30176 ::boost::detail::make_reference_content<T>::type internal_type ;
30178 typedef aligned_storage<internal_type> storage_type ;
30180 typedef types_when_isnt_ref<T> types_when_not_ref ;
30181 typedef types_when_is_ref<T> types_when_ref ;
30183 typedef optional_base<T> this_type ;
30187 typedef T value_type ;
30189 typedef mpl::true_ is_reference_tag ;
30190 typedef mpl::false_ is_not_reference_tag ;
30192 typedef typename is_reference<T>::type is_reference_predicate ;
30194 typedef typename mpl::if_<is_reference_predicate,types_when_ref,types_when_not_ref>::type types ;
30196 typedef bool (this_type::*unspecified_bool_type)() const;
30198 typedef typename types::reference_type reference_type ;
30199 typedef typename types::reference_const_type reference_const_type ;
30200 typedef typename types::pointer_type pointer_type ;
30201 typedef typename types::pointer_const_type pointer_const_type ;
30202 typedef typename types::argument_type argument_type ;
30208 m_initialized(false) {}
30212 optional_base ( none_t )
30214 m_initialized(false) {}
30218 optional_base ( argument_type val )
30220 m_initialized(false)
30227 optional_base ( bool cond, argument_type val )
30229 m_initialized(false)
30237 optional_base ( optional_base const& rhs )
30239 m_initialized(false)
30241 if ( rhs.is_initialized() )
30242 construct(rhs.get_impl());
30249 template<class Expr>
30250 explicit optional_base ( Expr const& expr, Expr const* tag )
30252 m_initialized(false)
30254 construct(expr,tag);
30260 ~optional_base() { destroy() ; }
30263 void assign ( optional_base const& rhs )
30265 if (is_initialized())
30267 if ( rhs.is_initialized() )
30268 assign_value(rhs.get_impl(), is_reference_predicate() );
30273 if ( rhs.is_initialized() )
30274 construct(rhs.get_impl());
30280 void assign ( optional<U> const& rhs )
30282 if (is_initialized())
30284 if ( rhs.is_initialized() )
30285 assign_value(static_cast<value_type>(rhs.get()), is_reference_predicate() );
30290 if ( rhs.is_initialized() )
30291 construct(static_cast<value_type>(rhs.get()));
30296 void assign ( argument_type val )
30298 if (is_initialized())
30299 assign_value(val, is_reference_predicate() );
30300 else construct(val);
30305 void assign ( none_t ) { destroy(); }
30308 template<class Expr>
30309 void assign_expr ( Expr const& expr, Expr const* tag )
30311 if (is_initialized())
30312 assign_expr_to_initialized(expr,tag);
30313 else construct(expr,tag);
30321 void reset() { destroy(); }
30324 void reset ( argument_type val ) { assign(val); }
30329 pointer_const_type get_ptr() const { return m_initialized ? get_ptr_impl() : 0 ; }
30330 pointer_type get_ptr() { return m_initialized ? get_ptr_impl() : 0 ; }
30332 bool is_initialized() const { return m_initialized ; }
30336 void construct ( argument_type val )
30338 new (m_storage.address()) internal_type(val) ;
30339 m_initialized = true ;
30344 template<class Expr>
30345 void construct ( Expr const& factory, in_place_factory_base const* )
30347 typedef ::boost::static_assert_test< sizeof(::boost::STATIC_ASSERTION_FAILURE< (bool)( ::boost::mpl::not_<is_reference_predicate>::value ) >)> boost_static_assert_typedef_324 ;
30348 boost_optional_detail::construct<value_type>(factory, m_storage.address());
30349 m_initialized = true ;
30353 template<class Expr>
30354 void construct ( Expr const& factory, typed_in_place_factory_base const* )
30356 typedef ::boost::static_assert_test< sizeof(::boost::STATIC_ASSERTION_FAILURE< (bool)( ::boost::mpl::not_<is_reference_predicate>::value ) >)> boost_static_assert_typedef_333 ;
30357 factory.apply(m_storage.address()) ;
30358 m_initialized = true ;
30361 template<class Expr>
30362 void assign_expr_to_initialized ( Expr const& factory, in_place_factory_base const* tag )
30365 construct(factory,tag);
30369 template<class Expr>
30370 void assign_expr_to_initialized ( Expr const& factory, typed_in_place_factory_base const* tag )
30373 construct(factory,tag);
30381 template<class Expr>
30382 void construct ( Expr const& expr, void const* )
30384 new (m_storage.address()) internal_type(expr) ;
30385 m_initialized = true ;
30392 template<class Expr>
30393 void assign_expr_to_initialized ( Expr const& expr, void const* )
30395 assign_value(expr, is_reference_predicate());
30397 # 402 "./boost/optional/optional.hpp"
30398 void assign_value ( argument_type val, is_not_reference_tag ) { get_impl() = val; }
30399 void assign_value ( argument_type val, is_reference_tag ) { construct(val); }
30403 if ( m_initialized )
30404 destroy_impl(is_reference_predicate()) ;
30407 unspecified_bool_type safe_bool() const { return m_initialized ? &this_type::is_initialized : 0 ; }
30409 reference_const_type get_impl() const { return dereference(get_object(), is_reference_predicate() ) ; }
30410 reference_type get_impl() { return dereference(get_object(), is_reference_predicate() ) ; }
30412 pointer_const_type get_ptr_impl() const { return cast_ptr(get_object(), is_reference_predicate() ) ; }
30413 pointer_type get_ptr_impl() { return cast_ptr(get_object(), is_reference_predicate() ) ; }
30418 internal_type const* get_object() const { return static_cast<internal_type const*>(m_storage.address()); }
30419 internal_type * get_object() { return static_cast<internal_type *> (m_storage.address()); }
30422 reference_const_type dereference( internal_type const* p, is_not_reference_tag ) const { return *p ; }
30423 reference_type dereference( internal_type* p, is_not_reference_tag ) { return *p ; }
30424 reference_const_type dereference( internal_type const* p, is_reference_tag ) const { return p->get() ; }
30425 reference_type dereference( internal_type* p, is_reference_tag ) { return p->get() ; }
30430 void destroy_impl ( is_not_reference_tag ) { get_ptr_impl()->T::~T() ; m_initialized = false ; }
30433 void destroy_impl ( is_reference_tag ) { m_initialized = false ; }
30438 pointer_const_type cast_ptr( internal_type const* p, is_not_reference_tag ) const { return p ; }
30439 pointer_type cast_ptr( internal_type * p, is_not_reference_tag ) { return p ; }
30440 pointer_const_type cast_ptr( internal_type const* p, is_reference_tag ) const { return &p->get() ; }
30441 pointer_type cast_ptr( internal_type * p, is_reference_tag ) { return &p->get() ; }
30443 bool m_initialized ;
30444 storage_type m_storage ;
30450 class optional : public optional_detail::optional_base<T>
30452 typedef optional_detail::optional_base<T> base ;
30454 typedef typename base::unspecified_bool_type unspecified_bool_type ;
30458 typedef optional<T> this_type ;
30460 typedef typename base::value_type value_type ;
30461 typedef typename base::reference_type reference_type ;
30462 typedef typename base::reference_const_type reference_const_type ;
30463 typedef typename base::pointer_type pointer_type ;
30464 typedef typename base::pointer_const_type pointer_const_type ;
30465 typedef typename base::argument_type argument_type ;
30469 optional() : base() {}
30473 optional( none_t none_ ) : base(none_) {}
30477 optional ( argument_type val ) : base(val) {}
30481 optional ( bool cond, argument_type val ) : base(cond,val) {}
30490 explicit optional ( optional<U> const& rhs )
30494 if ( rhs.is_initialized() )
30495 this->construct(rhs.get());
30497 # 513 "./boost/optional/optional.hpp"
30498 template<class Expr>
30499 explicit optional ( Expr const& expr ) : base(expr,&expr) {}
30504 optional ( optional const& rhs ) : base(rhs) {}
30512 template<class Expr>
30513 optional& operator= ( Expr expr )
30515 this->assign_expr(expr,&expr);
30526 optional& operator= ( optional<U> const& rhs )
30536 optional& operator= ( optional const& rhs )
30538 this->assign( rhs ) ;
30544 optional& operator= ( argument_type val )
30546 this->assign( val ) ;
30553 optional& operator= ( none_t none_ )
30555 this->assign( none_ ) ;
30562 reference_const_type get() const { (static_cast<void> ((this->is_initialized()) ? 0 : (__assert ("this->is_initialized()", "./boost/optional/optional.hpp", 577, __PRETTY_FUNCTION__), 0))) ; return this->get_impl(); }
30563 reference_type get() { (static_cast<void> ((this->is_initialized()) ? 0 : (__assert ("this->is_initialized()", "./boost/optional/optional.hpp", 578, __PRETTY_FUNCTION__), 0))) ; return this->get_impl(); }
30566 reference_const_type get_value_or ( reference_const_type v ) const { return this->is_initialized() ? get() : v ; }
30567 reference_type get_value_or ( reference_type v ) { return this->is_initialized() ? get() : v ; }
30572 pointer_const_type operator->() const { (static_cast<void> ((this->is_initialized()) ? 0 : (__assert ("this->is_initialized()", "./boost/optional/optional.hpp", 587, __PRETTY_FUNCTION__), 0))) ; return this->get_ptr_impl() ; }
30573 pointer_type operator->() { (static_cast<void> ((this->is_initialized()) ? 0 : (__assert ("this->is_initialized()", "./boost/optional/optional.hpp", 588, __PRETTY_FUNCTION__), 0))) ; return this->get_ptr_impl() ; }
30578 reference_const_type operator *() const { return this->get() ; }
30579 reference_type operator *() { return this->get() ; }
30583 operator unspecified_bool_type() const { return this->safe_bool() ; }
30587 bool operator!() const { return !this->is_initialized() ; }
30593 optional<T> make_optional ( T const& v )
30595 return optional<T>(v);
30601 optional<T> make_optional ( bool cond, T const& v )
30603 return optional<T>(cond,v);
30610 typename optional<T>::reference_const_type
30611 get ( optional<T> const& opt )
30618 typename optional<T>::reference_type
30619 get ( optional<T>& opt )
30628 typename optional<T>::pointer_const_type
30629 get ( optional<T> const* opt )
30631 return opt->get_ptr() ;
30636 typename optional<T>::pointer_type
30637 get ( optional<T>* opt )
30639 return opt->get_ptr() ;
30646 typename optional<T>::reference_const_type
30647 get_optional_value_or ( optional<T> const& opt, typename optional<T>::reference_const_type v )
30649 return opt.get_value_or(v) ;
30654 typename optional<T>::reference_type
30655 get_optional_value_or ( optional<T>& opt, typename optional<T>::reference_type v )
30657 return opt.get_value_or(v) ;
30664 typename optional<T>::pointer_const_type
30665 get_pointer ( optional<T> const& opt )
30667 return opt.get_ptr() ;
30672 typename optional<T>::pointer_type
30673 get_pointer ( optional<T>& opt )
30675 return opt.get_ptr() ;
30677 # 701 "./boost/optional/optional.hpp"
30680 bool operator == ( optional<T> const& x, optional<T> const& y )
30681 { return equal_pointees(x,y); }
30685 bool operator < ( optional<T> const& x, optional<T> const& y )
30686 { return less_pointees(x,y); }
30690 bool operator != ( optional<T> const& x, optional<T> const& y )
30691 { return !( x == y ) ; }
30695 bool operator > ( optional<T> const& x, optional<T> const& y )
30700 bool operator <= ( optional<T> const& x, optional<T> const& y )
30701 { return !( y < x ) ; }
30705 bool operator >= ( optional<T> const& x, optional<T> const& y )
30706 { return !( x < y ) ; }
30714 bool operator == ( optional<T> const& x, T const& y )
30715 { return equal_pointees(x, optional<T>(y)); }
30719 bool operator < ( optional<T> const& x, T const& y )
30720 { return less_pointees(x, optional<T>(y)); }
30724 bool operator != ( optional<T> const& x, T const& y )
30725 { return !( x == y ) ; }
30729 bool operator > ( optional<T> const& x, T const& y )
30734 bool operator <= ( optional<T> const& x, T const& y )
30735 { return !( y < x ) ; }
30739 bool operator >= ( optional<T> const& x, T const& y )
30740 { return !( x < y ) ; }
30748 bool operator == ( T const& x, optional<T> const& y )
30749 { return equal_pointees( optional<T>(x), y ); }
30753 bool operator < ( T const& x, optional<T> const& y )
30754 { return less_pointees( optional<T>(x), y ); }
30758 bool operator != ( T const& x, optional<T> const& y )
30759 { return !( x == y ) ; }
30763 bool operator > ( T const& x, optional<T> const& y )
30768 bool operator <= ( T const& x, optional<T> const& y )
30769 { return !( y < x ) ; }
30773 bool operator >= ( T const& x, optional<T> const& y )
30774 { return !( x < y ) ; }
30783 bool operator == ( optional<T> const& x, none_t )
30784 { return equal_pointees(x, optional<T>() ); }
30788 bool operator < ( optional<T> const& x, none_t )
30789 { return less_pointees(x,optional<T>() ); }
30793 bool operator != ( optional<T> const& x, none_t y )
30794 { return !( x == y ) ; }
30798 bool operator > ( optional<T> const& x, none_t y )
30803 bool operator <= ( optional<T> const& x, none_t y )
30804 { return !( y < x ) ; }
30808 bool operator >= ( optional<T> const& x, none_t y )
30809 { return !( x < y ) ; }
30817 bool operator == ( none_t x, optional<T> const& y )
30818 { return equal_pointees(optional<T>() ,y); }
30822 bool operator < ( none_t x, optional<T> const& y )
30823 { return less_pointees(optional<T>() ,y); }
30827 bool operator != ( none_t x, optional<T> const& y )
30828 { return !( x == y ) ; }
30832 bool operator > ( none_t x, optional<T> const& y )
30837 bool operator <= ( none_t x, optional<T> const& y )
30838 { return !( y < x ) ; }
30842 bool operator >= ( none_t x, optional<T> const& y )
30843 { return !( x < y ) ; }
30849 namespace optional_detail {
30850 # 886 "./boost/optional/optional.hpp"
30853 void optional_swap ( optional<T>& x, optional<T>& y )
30860 else if ( !!x && !y )
30865 else if ( !!x && !!y )
30878 template<class T> inline void swap ( optional<T>& x, optional<T>& y )
30880 optional_detail::optional_swap(x,y);
30885 # 16 "./boost/optional.hpp" 2
30886 # 21 "./boost/format/internals.hpp" 2
30887 # 1 "./boost/limits.hpp" 1
30888 # 22 "./boost/format/internals.hpp" 2
30890 # 1 "./boost/format/alt_sstream.hpp" 1
30891 # 20 "./boost/format/alt_sstream.hpp"
30892 # 1 "./boost/utility/base_from_member.hpp" 1
30893 # 14 "./boost/utility/base_from_member.hpp"
30894 # 1 "./boost/preprocessor/repetition/enum_binary_params.hpp" 1
30895 # 15 "./boost/utility/base_from_member.hpp" 2
30896 # 1 "./boost/preprocessor/repetition/enum_params.hpp" 1
30897 # 16 "./boost/utility/base_from_member.hpp" 2
30898 # 1 "./boost/preprocessor/repetition/repeat_from_to.hpp" 1
30899 # 23 "./boost/preprocessor/repetition/repeat_from_to.hpp"
30900 # 1 "./boost/preprocessor/detail/auto_rec.hpp" 1
30901 # 24 "./boost/preprocessor/repetition/repeat_from_to.hpp" 2
30902 # 17 "./boost/utility/base_from_member.hpp" 2
30903 # 53 "./boost/utility/base_from_member.hpp"
30906 # 65 "./boost/utility/base_from_member.hpp"
30907 template < typename MemberType, int UniqueID = 0 >
30908 class base_from_member
30917 template < typename T0 > explicit base_from_member( T0 x0 ) : member( x0 ) {} template < typename T0 , typename T1 > explicit base_from_member( T0 x0 , T1 x1 ) : member( x0 , x1 ) {} template < typename T0 , typename T1 , typename T2 > explicit base_from_member( T0 x0 , T1 x1 , T2 x2 ) : member( x0 , x1 , x2 ) {} template < typename T0 , typename T1 , typename T2 , typename T3 > explicit base_from_member( T0 x0 , T1 x1 , T2 x2 , T3 x3 ) : member( x0 , x1 , x2 , x3 ) {} template < typename T0 , typename T1 , typename T2 , typename T3 , typename T4 > explicit base_from_member( T0 x0 , T1 x1 , T2 x2 , T3 x3 , T4 x4 ) : member( x0 , x1 , x2 , x3 , x4 ) {} template < typename T0 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 > explicit base_from_member( T0 x0 , T1 x1 , T2 x2 , T3 x3 , T4 x4 , T5 x5 ) : member( x0 , x1 , x2 , x3 , x4 , x5 ) {} template < typename T0 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 > explicit base_from_member( T0 x0 , T1 x1 , T2 x2 , T3 x3 , T4 x4 , T5 x5 , T6 x6 ) : member( x0 , x1 , x2 , x3 , x4 , x5 , x6 ) {} template < typename T0 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 > explicit base_from_member( T0 x0 , T1 x1 , T2 x2 , T3 x3 , T4 x4 , T5 x5 , T6 x6 , T7 x7 ) : member( x0 , x1 , x2 , x3 , x4 , x5 , x6 , x7 ) {} template < typename T0 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 > explicit base_from_member( T0 x0 , T1 x1 , T2 x2 , T3 x3 , T4 x4 , T5 x5 , T6 x6 , T7 x7 , T8 x8 ) : member( x0 , x1 , x2 , x3 , x4 , x5 , x6 , x7 , x8 ) {} template < typename T0 , typename T1 , typename T2 , typename T3 , typename T4 , typename T5 , typename T6 , typename T7 , typename T8 , typename T9 > explicit base_from_member( T0 x0 , T1 x1 , T2 x2 , T3 x3 , T4 x4 , T5 x5 , T6 x6 , T7 x7 , T8 x8 , T9 x9 ) : member( x0 , x1 , x2 , x3 , x4 , x5 , x6 , x7 , x8 , x9 ) {}
30923 # 21 "./boost/format/alt_sstream.hpp" 2
30924 # 1 "./boost/shared_ptr.hpp" 1
30925 # 25 "./boost/shared_ptr.hpp"
30926 # 1 "./boost/assert.hpp" 1
30927 # 36 "./boost/assert.hpp"
30928 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/assert.h" 1 3 4
30929 # 51 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/assert.h" 3 4
30933 extern void __assert (const char *, const char *, int, const char *);
30936 # 37 "./boost/assert.hpp" 2
30937 # 26 "./boost/shared_ptr.hpp" 2
30938 # 1 "./boost/checked_delete.hpp" 1
30939 # 24 "./boost/checked_delete.hpp"
30945 template<class T> inline void checked_delete(T * x)
30948 typedef char type_must_be_complete[ sizeof(T)? 1: -1 ];
30949 (void) sizeof(type_must_be_complete);
30953 template<class T> inline void checked_array_delete(T * x)
30955 typedef char type_must_be_complete[ sizeof(T)? 1: -1 ];
30956 (void) sizeof(type_must_be_complete);
30960 template<class T> struct checked_deleter
30962 typedef void result_type;
30963 typedef T * argument_type;
30965 void operator()(T * x) const
30968 boost::checked_delete(x);
30972 template<class T> struct checked_array_deleter
30974 typedef void result_type;
30975 typedef T * argument_type;
30977 void operator()(T * x) const
30979 boost::checked_array_delete(x);
30984 # 27 "./boost/shared_ptr.hpp" 2
30985 # 1 "./boost/throw_exception.hpp" 1
30986 # 28 "./boost/throw_exception.hpp"
30996 template<class E> inline void throw_exception(E const & e)
31004 # 28 "./boost/shared_ptr.hpp" 2
31005 # 1 "./boost/detail/shared_count.hpp" 1
31006 # 28 "./boost/detail/shared_count.hpp"
31007 # 1 "./boost/detail/bad_weak_ptr.hpp" 1
31008 # 26 "./boost/detail/bad_weak_ptr.hpp"
31011 # 39 "./boost/detail/bad_weak_ptr.hpp"
31012 class bad_weak_ptr: public std::exception
31016 virtual char const * what() const throw()
31018 return "tr1::bad_weak_ptr";
31027 # 29 "./boost/detail/shared_count.hpp" 2
31028 # 1 "./boost/detail/sp_counted_base.hpp" 1
31029 # 56 "./boost/detail/sp_counted_base.hpp"
31030 # 1 "./boost/detail/sp_counted_base_sync.hpp" 1
31031 # 18 "./boost/detail/sp_counted_base_sync.hpp"
31032 # 1 "./boost/detail/sp_typeinfo.hpp" 1
31033 # 59 "./boost/detail/sp_typeinfo.hpp"
31046 typedef std::type_info sp_typeinfo;
31053 # 19 "./boost/detail/sp_counted_base_sync.hpp" 2
31054 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/limits.h" 1 3 4
31055 # 20 "./boost/detail/sp_counted_base_sync.hpp" 2
31065 typedef int sp_int32_t;
31073 inline void atomic_increment( sp_int32_t * pw )
31075 __sync_fetch_and_add( pw, 1 );
31078 inline sp_int32_t atomic_decrement( sp_int32_t * pw )
31080 return __sync_fetch_and_add( pw, -1 );
31083 inline sp_int32_t atomic_conditional_increment( sp_int32_t * pw )
31089 sp_int32_t r = *pw;
31098 sp_int32_t r2 = __sync_val_compare_and_swap( pw, r, r + 1 );
31111 class sp_counted_base
31115 sp_counted_base( sp_counted_base const & );
31116 sp_counted_base & operator= ( sp_counted_base const & );
31118 sp_int32_t use_count_;
31119 sp_int32_t weak_count_;
31123 sp_counted_base(): use_count_( 1 ), weak_count_( 1 )
31127 virtual ~sp_counted_base()
31134 virtual void dispose() = 0;
31138 virtual void destroy()
31143 virtual void * get_deleter( sp_typeinfo const & ti ) = 0;
31145 void add_ref_copy()
31147 atomic_increment( &use_count_ );
31150 bool add_ref_lock()
31152 return atomic_conditional_increment( &use_count_ ) != 0;
31157 if( atomic_decrement( &use_count_ ) == 1 )
31164 void weak_add_ref()
31166 atomic_increment( &weak_count_ );
31169 void weak_release()
31171 if( atomic_decrement( &weak_count_ ) == 1 )
31177 long use_count() const
31179 return const_cast< sp_int32_t const volatile & >( use_count_ );
31186 # 57 "./boost/detail/sp_counted_base.hpp" 2
31187 # 30 "./boost/detail/shared_count.hpp" 2
31188 # 1 "./boost/detail/sp_counted_impl.hpp" 1
31189 # 40 "./boost/detail/sp_counted_impl.hpp"
31192 # 50 "./boost/detail/sp_counted_impl.hpp"
31196 template<class X> class sp_counted_impl_p: public sp_counted_base
31202 sp_counted_impl_p( sp_counted_impl_p const & );
31203 sp_counted_impl_p & operator= ( sp_counted_impl_p const & );
31205 typedef sp_counted_impl_p<X> this_type;
31209 explicit sp_counted_impl_p( X * px ): px_( px )
31216 virtual void dispose()
31221 boost::checked_delete( px_ );
31224 virtual void * get_deleter( detail::sp_typeinfo const & )
31228 # 113 "./boost/detail/sp_counted_impl.hpp"
31230 # 122 "./boost/detail/sp_counted_impl.hpp"
31231 template<class P, class D> class sp_counted_impl_pd: public sp_counted_base
31238 sp_counted_impl_pd( sp_counted_impl_pd const & );
31239 sp_counted_impl_pd & operator= ( sp_counted_impl_pd const & );
31241 typedef sp_counted_impl_pd<P, D> this_type;
31247 sp_counted_impl_pd( P p, D d ): ptr(p), del(d)
31251 virtual void dispose()
31256 virtual void * get_deleter( detail::sp_typeinfo const & ti )
31258 return ti == typeid(D)? &reinterpret_cast<char&>( del ): 0;
31260 # 179 "./boost/detail/sp_counted_impl.hpp"
31263 template<class P, class D, class A> class sp_counted_impl_pda: public sp_counted_base
31271 sp_counted_impl_pda( sp_counted_impl_pda const & );
31272 sp_counted_impl_pda & operator= ( sp_counted_impl_pda const & );
31274 typedef sp_counted_impl_pda<P, D, A> this_type;
31280 sp_counted_impl_pda( P p, D d, A a ): p_( p ), d_( d ), a_( a )
31284 virtual void dispose()
31289 virtual void destroy()
31291 typedef typename A::template rebind< this_type >::other A2;
31295 this->~this_type();
31296 a2.deallocate( this, 1 );
31299 virtual void * get_deleter( detail::sp_typeinfo const & ti )
31301 return ti == typeid(D)? &reinterpret_cast<char&>( d_ ): 0;
31312 # 31 "./boost/detail/shared_count.hpp" 2
31323 # 49 "./boost/detail/shared_count.hpp"
31330 sp_counted_base * pi_;
31336 friend class weak_count;
31340 shared_count(): pi_(0)
31347 template<class Y> explicit shared_count( Y * p ): pi_( 0 )
31356 pi_ = new sp_counted_impl_p<Y>( p );
31360 boost::checked_delete( p );
31363 # 100 "./boost/detail/shared_count.hpp"
31366 template<class P, class D> shared_count(P p, D d): pi_(0)
31375 pi_ = new sp_counted_impl_pd<P, D>(p, d);
31382 # 130 "./boost/detail/shared_count.hpp"
31385 template<class P, class D, class A> shared_count( P p, D d, A a ): pi_( 0 )
31390 typedef sp_counted_impl_pda<P, D, A> impl_type;
31391 typedef typename A::template rebind< impl_type >::other A2;
31399 pi_ = a2.allocate( 1, static_cast< impl_type* >( 0 ) );
31400 new( static_cast< void* >( pi_ ) ) impl_type( p, d, a );
31408 a2.deallocate( static_cast< impl_type* >( pi_ ), 1 );
31413 # 176 "./boost/detail/shared_count.hpp"
31421 explicit shared_count( std::auto_ptr<Y> & r ): pi_( new sp_counted_impl_p<Y>( r.get() ) )
31426 # 197 "./boost/detail/shared_count.hpp"
31434 if( pi_ != 0 ) pi_->release();
31440 shared_count(shared_count const & r): pi_(r.pi_)
31445 if( pi_ != 0 ) pi_->add_ref_copy();
31448 explicit shared_count(weak_count const & r);
31450 shared_count & operator= (shared_count const & r)
31452 sp_counted_base * tmp = r.pi_;
31456 if( tmp != 0 ) tmp->add_ref_copy();
31457 if( pi_ != 0 ) pi_->release();
31464 void swap(shared_count & r)
31466 sp_counted_base * tmp = r.pi_;
31471 long use_count() const
31473 return pi_ != 0? pi_->use_count(): 0;
31476 bool unique() const
31478 return use_count() == 1;
31481 friend inline bool operator==(shared_count const & a, shared_count const & b)
31483 return a.pi_ == b.pi_;
31486 friend inline bool operator<(shared_count const & a, shared_count const & b)
31488 return std::less<sp_counted_base *>()( a.pi_, b.pi_ );
31491 void * get_deleter( sp_typeinfo const & ti ) const
31493 return pi_? pi_->get_deleter( ti ): 0;
31502 sp_counted_base * pi_;
31508 friend class shared_count;
31512 weak_count(): pi_(0)
31519 weak_count(shared_count const & r): pi_(r.pi_)
31524 if(pi_ != 0) pi_->weak_add_ref();
31527 weak_count(weak_count const & r): pi_(r.pi_)
31532 if(pi_ != 0) pi_->weak_add_ref();
31537 if(pi_ != 0) pi_->weak_release();
31543 weak_count & operator= (shared_count const & r)
31545 sp_counted_base * tmp = r.pi_;
31546 if(tmp != 0) tmp->weak_add_ref();
31547 if(pi_ != 0) pi_->weak_release();
31553 weak_count & operator= (weak_count const & r)
31555 sp_counted_base * tmp = r.pi_;
31556 if(tmp != 0) tmp->weak_add_ref();
31557 if(pi_ != 0) pi_->weak_release();
31563 void swap(weak_count & r)
31565 sp_counted_base * tmp = r.pi_;
31570 long use_count() const
31572 return pi_ != 0? pi_->use_count(): 0;
31575 friend inline bool operator==(weak_count const & a, weak_count const & b)
31577 return a.pi_ == b.pi_;
31580 friend inline bool operator<(weak_count const & a, weak_count const & b)
31582 return std::less<sp_counted_base *>()(a.pi_, b.pi_);
31586 inline shared_count::shared_count( weak_count const & r ): pi_( r.pi_ )
31591 if( pi_ == 0 || !pi_->add_ref_lock() )
31593 boost::throw_exception( boost::bad_weak_ptr() );
31600 # 29 "./boost/shared_ptr.hpp" 2
31601 # 41 "./boost/shared_ptr.hpp"
31605 template<class T> class weak_ptr;
31606 template<class T> class enable_shared_from_this;
31611 struct static_cast_tag {};
31612 struct const_cast_tag {};
31613 struct dynamic_cast_tag {};
31614 struct polymorphic_cast_tag {};
31616 template<class T> struct shared_ptr_traits
31618 typedef T & reference;
31621 template<> struct shared_ptr_traits<void>
31623 typedef void reference;
31628 template<> struct shared_ptr_traits<void const>
31630 typedef void reference;
31633 template<> struct shared_ptr_traits<void volatile>
31635 typedef void reference;
31638 template<> struct shared_ptr_traits<void const volatile>
31640 typedef void reference;
31647 template<class T, class Y> void sp_enable_shared_from_this( shared_count const & pn, boost::enable_shared_from_this<T> const * pe, Y const * px )
31649 if(pe != 0) pe->_internal_weak_this._internal_assign(const_cast<Y*>(px), pn);
31651 # 111 "./boost/shared_ptr.hpp"
31652 inline void sp_enable_shared_from_this( shared_count const & , ... )
31655 # 125 "./boost/shared_ptr.hpp"
31656 template< class T, class R > struct sp_enable_if_auto_ptr
31660 template< class T, class R > struct sp_enable_if_auto_ptr< std::auto_ptr< T >, R >
31668 # 147 "./boost/shared_ptr.hpp"
31669 template<class T> class shared_ptr
31674 typedef shared_ptr<T> this_type;
31678 typedef T element_type;
31679 typedef T value_type;
31680 typedef T * pointer;
31681 typedef typename boost::detail::shared_ptr_traits<T>::reference reference;
31683 shared_ptr(): px(0), pn()
31688 explicit shared_ptr( Y * p ): px( p ), pn( p )
31690 boost::detail::sp_enable_shared_from_this( pn, p, p );
31699 template<class Y, class D> shared_ptr(Y * p, D d): px(p), pn(p, d)
31701 boost::detail::sp_enable_shared_from_this( pn, p, p );
31706 template<class Y, class D, class A> shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a )
31708 boost::detail::sp_enable_shared_from_this( pn, p, p );
31716 shared_ptr & operator=(shared_ptr const & r)
31726 explicit shared_ptr(weak_ptr<Y> const & r): pn(r.pn)
31733 shared_ptr(shared_ptr<Y> const & r): px(r.px), pn(r.pn)
31738 template< class Y >
31739 shared_ptr( shared_ptr<Y> const & r, T * p ): px( p ), pn( r.pn )
31744 shared_ptr(shared_ptr<Y> const & r, boost::detail::static_cast_tag): px(static_cast<element_type *>(r.px)), pn(r.pn)
31749 shared_ptr(shared_ptr<Y> const & r, boost::detail::const_cast_tag): px(const_cast<element_type *>(r.px)), pn(r.pn)
31754 shared_ptr(shared_ptr<Y> const & r, boost::detail::dynamic_cast_tag): px(dynamic_cast<element_type *>(r.px)), pn(r.pn)
31758 pn = boost::detail::shared_count();
31763 shared_ptr(shared_ptr<Y> const & r, boost::detail::polymorphic_cast_tag): px(dynamic_cast<element_type *>(r.px)), pn(r.pn)
31767 boost::throw_exception(std::bad_cast());
31774 explicit shared_ptr(std::auto_ptr<Y> & r): px(r.get()), pn()
31777 pn = boost::detail::shared_count(r);
31778 boost::detail::sp_enable_shared_from_this( pn, tmp, tmp );
31784 shared_ptr( Ap r, typename boost::detail::sp_enable_if_auto_ptr<Ap, int>::type = 0 ): px( r.get() ), pn()
31786 typename Ap::element_type * tmp = r.get();
31787 pn = boost::detail::shared_count( r );
31788 boost::detail::sp_enable_shared_from_this( pn, tmp, tmp );
31790 # 276 "./boost/shared_ptr.hpp"
31792 shared_ptr & operator=(shared_ptr<Y> const & r)
31804 shared_ptr & operator=( std::auto_ptr<Y> & r )
31806 this_type(r).swap(*this);
31813 typename boost::detail::sp_enable_if_auto_ptr< Ap, shared_ptr & >::type operator=( Ap r )
31815 this_type( r ).swap( *this );
31818 # 341 "./boost/shared_ptr.hpp"
31821 this_type().swap(*this);
31824 template<class Y> void reset(Y * p)
31826 (static_cast<void> ((p == 0 || p != px) ? 0 : (__assert ("p == 0 || p != px", "./boost/shared_ptr.hpp", 348, __PRETTY_FUNCTION__), 0)));
31827 this_type(p).swap(*this);
31830 template<class Y, class D> void reset( Y * p, D d )
31832 this_type( p, d ).swap( *this );
31835 template<class Y, class D, class A> void reset( Y * p, D d, A a )
31837 this_type( p, d, a ).swap( *this );
31840 template<class Y> void reset( shared_ptr<Y> const & r, T * p )
31842 this_type( r, p ).swap( *this );
31845 reference operator* () const
31847 (static_cast<void> ((px != 0) ? 0 : (__assert ("px != 0", "./boost/shared_ptr.hpp", 369, __PRETTY_FUNCTION__), 0)));
31851 T * operator-> () const
31853 (static_cast<void> ((px != 0) ? 0 : (__assert ("px != 0", "./boost/shared_ptr.hpp", 375, __PRETTY_FUNCTION__), 0)));
31861 # 420 "./boost/shared_ptr.hpp"
31862 typedef T * this_type::*unspecified_bool_type;
31864 operator unspecified_bool_type() const
31866 return px == 0? 0: &this_type::px;
31873 bool operator! () const
31878 bool unique() const
31880 return pn.unique();
31883 long use_count() const
31885 return pn.use_count();
31888 void swap(shared_ptr<T> & other)
31890 std::swap(px, other.px);
31894 template<class Y> bool _internal_less(shared_ptr<Y> const & rhs) const
31896 return pn < rhs.pn;
31899 void * _internal_get_deleter( detail::sp_typeinfo const & ti ) const
31901 return pn.get_deleter( ti );
31911 template<class Y> friend class shared_ptr;
31912 template<class Y> friend class weak_ptr;
31918 boost::detail::shared_count pn;
31922 template<class T, class U> inline bool operator==(shared_ptr<T> const & a, shared_ptr<U> const & b)
31924 return a.get() == b.get();
31927 template<class T, class U> inline bool operator!=(shared_ptr<T> const & a, shared_ptr<U> const & b)
31929 return a.get() != b.get();
31931 # 501 "./boost/shared_ptr.hpp"
31932 template<class T, class U> inline bool operator<(shared_ptr<T> const & a, shared_ptr<U> const & b)
31934 return a._internal_less(b);
31937 template<class T> inline void swap(shared_ptr<T> & a, shared_ptr<T> & b)
31942 template<class T, class U> shared_ptr<T> static_pointer_cast(shared_ptr<U> const & r)
31944 return shared_ptr<T>(r, boost::detail::static_cast_tag());
31947 template<class T, class U> shared_ptr<T> const_pointer_cast(shared_ptr<U> const & r)
31949 return shared_ptr<T>(r, boost::detail::const_cast_tag());
31952 template<class T, class U> shared_ptr<T> dynamic_pointer_cast(shared_ptr<U> const & r)
31954 return shared_ptr<T>(r, boost::detail::dynamic_cast_tag());
31959 template<class T, class U> shared_ptr<T> shared_static_cast(shared_ptr<U> const & r)
31961 return shared_ptr<T>(r, boost::detail::static_cast_tag());
31964 template<class T, class U> shared_ptr<T> shared_dynamic_cast(shared_ptr<U> const & r)
31966 return shared_ptr<T>(r, boost::detail::dynamic_cast_tag());
31969 template<class T, class U> shared_ptr<T> shared_polymorphic_cast(shared_ptr<U> const & r)
31971 return shared_ptr<T>(r, boost::detail::polymorphic_cast_tag());
31974 template<class T, class U> shared_ptr<T> shared_polymorphic_downcast(shared_ptr<U> const & r)
31976 (static_cast<void> ((dynamic_cast<T *>(r.get()) == r.get()) ? 0 : (__assert ("dynamic_cast<T *>(r.get()) == r.get()", "./boost/shared_ptr.hpp", 545, __PRETTY_FUNCTION__), 0)));
31977 return shared_static_cast<T>(r);
31982 template<class T> inline T * get_pointer(shared_ptr<T> const & p)
31986 # 576 "./boost/shared_ptr.hpp"
31987 template<class E, class T, class Y> std::basic_ostream<E, T> & operator<< (std::basic_ostream<E, T> & os, shared_ptr<Y> const & p)
31993 # 604 "./boost/shared_ptr.hpp"
31994 template<class D, class T> D * get_deleter(shared_ptr<T> const & p)
31996 return static_cast<D *>(p._internal_get_deleter(typeid(D)));
32002 # 22 "./boost/format/alt_sstream.hpp" 2
32003 # 1 "./boost/assert.hpp" 1
32004 # 36 "./boost/assert.hpp"
32005 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/assert.h" 1 3 4
32006 # 51 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/assert.h" 3 4
32010 extern void __assert (const char *, const char *, int, const char *);
32013 # 37 "./boost/assert.hpp" 2
32014 # 23 "./boost/format/alt_sstream.hpp" 2
32019 template<class Ch, class Tr=::std::char_traits<Ch>,
32020 class Alloc=::std::allocator<Ch> >
32021 class basic_altstringbuf;
32023 template<class Ch, class Tr =::std::char_traits<Ch>,
32024 class Alloc=::std::allocator<Ch> >
32025 class basic_oaltstringstream;
32028 template<class Ch, class Tr, class Alloc>
32029 class basic_altstringbuf
32030 : public ::std::basic_streambuf<Ch, Tr>
32032 typedef ::std::basic_streambuf<Ch, Tr> streambuf_t;
32033 typedef typename CompatAlloc<Alloc>::compatible_type compat_allocator_type;
32034 typedef typename CompatTraits<Tr>::compatible_type compat_traits_type;
32036 typedef Ch char_type;
32037 typedef Tr traits_type;
32038 typedef typename compat_traits_type::int_type int_type;
32039 typedef typename compat_traits_type::pos_type pos_type;
32040 typedef typename compat_traits_type::off_type off_type;
32041 typedef Alloc allocator_type;
32042 typedef ::std::basic_string<Ch, Tr, Alloc> string_type;
32043 typedef typename string_type::size_type size_type;
32045 typedef ::std::streamsize streamsize;
32048 explicit basic_altstringbuf(std::ios_base::openmode mode
32049 = std::ios_base::in | std::ios_base::out)
32050 : putend_(__null), is_allocated_(false), mode_(mode)
32052 explicit basic_altstringbuf(const string_type& s,
32053 ::std::ios_base::openmode mode
32054 = ::std::ios_base::in | ::std::ios_base::out)
32055 : putend_(__null), is_allocated_(false), mode_(mode)
32056 { dealloc(); str(s); }
32057 virtual ~basic_altstringbuf()
32059 using streambuf_t::pbase;
32060 using streambuf_t::pptr;
32061 using streambuf_t::epptr;
32062 using streambuf_t::eback;
32063 using streambuf_t::gptr;
32064 using streambuf_t::egptr;
32066 void clear_buffer();
32067 void str(const string_type& s);
32070 Ch * begin() const;
32071 size_type size() const;
32072 size_type cur_size() const;
32074 { return ((putend_ < pptr()) ? pptr() : putend_); }
32075 size_type pcount() const
32076 { return static_cast<size_type>( pptr() - pbase()) ;}
32079 string_type str() const
32080 { return string_type(begin(), size()); }
32081 string_type cur_str() const
32082 { return string_type(begin(), cur_size()); }
32084 explicit basic_altstringbuf (basic_altstringbuf * s,
32085 ::std::ios_base::openmode mode
32086 = ::std::ios_base::in | ::std::ios_base::out)
32087 : putend_(__null), is_allocated_(false), mode_(mode)
32088 { dealloc(); str(s); }
32090 virtual pos_type seekoff(off_type off, ::std::ios_base::seekdir way,
32091 ::std::ios_base::openmode which
32092 = ::std::ios_base::in | ::std::ios_base::out);
32093 virtual pos_type seekpos (pos_type pos,
32094 ::std::ios_base::openmode which
32095 = ::std::ios_base::in | ::std::ios_base::out);
32096 virtual int_type underflow();
32097 virtual int_type pbackfail(int_type meta = compat_traits_type::eof());
32098 virtual int_type overflow(int_type meta = compat_traits_type::eof());
32101 enum { alloc_min = 256};
32104 bool is_allocated_;
32105 ::std::ios_base::openmode mode_;
32106 compat_allocator_type alloc_;
32111 template <class Ch, class Tr, class Alloc>
32112 class basic_oaltstringstream
32113 : private base_from_member< shared_ptr< basic_altstringbuf< Ch, Tr, Alloc> > >,
32114 public ::std::basic_ostream<Ch, Tr>
32120 const T & operator()(const T & arg) { return arg; }
32122 typedef ::std::basic_ostream<Ch, Tr> stream_t;
32123 typedef boost::base_from_member<boost::shared_ptr<
32124 basic_altstringbuf<Ch,Tr, Alloc> > >
32126 typedef ::std::basic_string<Ch, Tr, Alloc> string_type;
32127 typedef typename string_type::size_type size_type;
32128 typedef basic_altstringbuf<Ch, Tr, Alloc> stringbuf_t;
32130 typedef Alloc allocator_type;
32131 basic_oaltstringstream()
32132 : pbase_type(new stringbuf_t), stream_t(rdbuf())
32134 basic_oaltstringstream(::boost::shared_ptr<stringbuf_t> buf)
32135 : pbase_type(buf), stream_t(rdbuf())
32137 basic_oaltstringstream(stringbuf_t * buf)
32138 : pbase_type(buf, No_Op() ), stream_t(rdbuf())
32140 stringbuf_t * rdbuf() const
32141 { return pbase_type::member.get(); }
32142 void clear_buffer()
32143 { rdbuf()->clear_buffer(); }
32147 { return rdbuf()->begin(); }
32148 size_type size() const
32149 { return rdbuf()->size(); }
32150 size_type cur_size() const
32151 { return rdbuf()->cur_size(); }
32154 string_type str() const
32155 { return rdbuf()->str(); }
32156 string_type cur_str() const
32157 { return rdbuf()->cur_str(); }
32158 void str(const string_type& s)
32159 { rdbuf()->str(s); }
32165 # 1 "./boost/format/alt_sstream_impl.hpp" 1
32166 # 16 "./boost/format/alt_sstream_impl.hpp"
32171 template<class Ch, class Tr, class Alloc>
32172 void basic_altstringbuf<Ch, Tr, Alloc>::
32174 const Ch * p = pptr();
32175 const Ch * b = pbase();
32176 if(p != __null && p != b) {
32177 seekpos(0, ::std::ios_base::out);
32181 if(p != __null && p != b) {
32182 seekpos(0, ::std::ios_base::in);
32186 template<class Ch, class Tr, class Alloc>
32187 void basic_altstringbuf<Ch, Tr, Alloc>::
32188 str (const string_type& s) {
32189 size_type sz=s.size();
32190 if(sz != 0 && mode_ & (::std::ios_base::in | ::std::ios_base::out) ) {
32191 Ch *new_ptr = alloc_.allocate(sz, is_allocated_? eback() : 0);
32194 sz = s.copy(new_ptr, sz);
32195 putend_ = new_ptr + sz;
32196 if(mode_ & ::std::ios_base::in)
32197 streambuf_t::setg(new_ptr, new_ptr, new_ptr + sz);
32198 if(mode_ & ::std::ios_base::out) {
32199 streambuf_t::setp(new_ptr, new_ptr + sz);
32200 if(mode_ & (::std::ios_base::app | ::std::ios_base::ate))
32201 streambuf_t::pbump(static_cast<int>(sz));
32202 if(gptr() == __null)
32203 streambuf_t::setg(new_ptr, __null, new_ptr);
32205 is_allocated_ = true;
32210 template<class Ch, class Tr, class Alloc>
32211 Ch* basic_altstringbuf<Ch, Tr, Alloc>::
32213 if(mode_ & ::std::ios_base::out && pptr() != __null)
32215 else if(mode_ & ::std::ios_base::in && gptr() != __null)
32220 template<class Ch, class Tr, class Alloc>
32221 typename std::basic_string<Ch,Tr,Alloc>::size_type
32222 basic_altstringbuf<Ch, Tr, Alloc>::
32224 if(mode_ & ::std::ios_base::out && pptr())
32225 return static_cast<size_type>(pend() - pbase());
32226 else if(mode_ & ::std::ios_base::in && gptr())
32227 return static_cast<size_type>(egptr() - eback());
32232 template<class Ch, class Tr, class Alloc>
32233 typename std::basic_string<Ch,Tr,Alloc>::size_type
32234 basic_altstringbuf<Ch, Tr, Alloc>::
32235 cur_size () const {
32236 if(mode_ & ::std::ios_base::out && pptr())
32237 return static_cast<streamsize>( pptr() - pbase());
32238 else if(mode_ & ::std::ios_base::in && gptr())
32239 return static_cast<streamsize>( gptr() - eback());
32244 template<class Ch, class Tr, class Alloc>
32245 typename basic_altstringbuf<Ch, Tr, Alloc>::pos_type
32246 basic_altstringbuf<Ch, Tr, Alloc>::
32247 seekoff (off_type off, ::std::ios_base::seekdir way, ::std::ios_base::openmode which) {
32248 if(pptr() != __null && putend_ < pptr())
32250 if(which & ::std::ios_base::in && gptr() != __null) {
32252 if(way == ::std::ios_base::end)
32253 off += static_cast<off_type>(putend_ - gptr());
32254 else if(way == ::std::ios_base::beg)
32255 off += static_cast<off_type>(eback() - gptr());
32256 else if(way != ::std::ios_base::cur || (which & ::std::ios_base::out) )
32258 return pos_type(off_type(-1));
32259 if(eback() <= off+gptr() && off+gptr() <= putend_ ) {
32261 streambuf_t::gbump(static_cast<int>(off));
32262 if(which & ::std::ios_base::out && pptr() != __null)
32264 streambuf_t::pbump(static_cast<int>(gptr()-pptr()));
32267 off = off_type(-1);
32269 else if(which & ::std::ios_base::out && pptr() != __null) {
32271 if(way == ::std::ios_base::end)
32272 off += static_cast<off_type>(putend_ - pptr());
32273 else if(way == ::std::ios_base::beg)
32274 off += static_cast<off_type>(pbase() - pptr());
32275 else if(way != ::std::ios_base::beg)
32276 return pos_type(off_type(-1));
32277 if(pbase() <= off+pptr() && off+pptr() <= putend_)
32279 streambuf_t::pbump(static_cast<int>(off));
32281 off = off_type(-1);
32284 off = off_type(-1);
32285 return (pos_type(off));
32290 template<class Ch, class Tr, class Alloc>
32291 typename basic_altstringbuf<Ch, Tr, Alloc>::pos_type
32292 basic_altstringbuf<Ch, Tr, Alloc>::
32293 seekpos (pos_type pos, ::std::ios_base::openmode which) {
32294 off_type off = off_type(pos);
32295 if(pptr() != __null && putend_ < pptr())
32297 if(off != off_type(-1)) {
32298 if(which & ::std::ios_base::in && gptr() != __null) {
32300 if(0 <= off && off <= putend_ - eback()) {
32301 streambuf_t::gbump(static_cast<int>(eback() - gptr() + off));
32302 if(which & ::std::ios_base::out && pptr() != __null) {
32304 streambuf_t::pbump(static_cast<int>(gptr()-pptr()));
32308 off = off_type(-1);
32310 else if(which & ::std::ios_base::out && pptr() != __null) {
32312 if(0 <= off && off <= putend_ - eback())
32313 streambuf_t::pbump(static_cast<int>(eback() - pptr() + off));
32315 off = off_type(-1);
32318 off = off_type(-1);
32319 return (pos_type(off));
32322 (static_cast<void> ((0) ? 0 : (__assert ("0", "./boost/format/alt_sstream_impl.hpp", 171, __PRETTY_FUNCTION__), 0)));
32323 return pos_type(off_type(-1));
32329 template<class Ch, class Tr, class Alloc>
32330 typename basic_altstringbuf<Ch, Tr, Alloc>::int_type
32331 basic_altstringbuf<Ch, Tr, Alloc>::
32333 if(gptr() == __null)
32334 return (compat_traits_type::eof());
32335 else if(gptr() < egptr())
32336 return (compat_traits_type::to_int_type(*gptr()));
32337 else if(mode_ & ::std::ios_base::in && pptr() != __null
32338 && (gptr() < pptr() || gptr() < putend_) )
32340 if(putend_ < pptr())
32342 streambuf_t::setg(eback(), gptr(), putend_);
32343 return (compat_traits_type::to_int_type(*gptr()));
32346 return (compat_traits_type::eof());
32351 template<class Ch, class Tr, class Alloc>
32352 typename basic_altstringbuf<Ch, Tr, Alloc>::int_type
32353 basic_altstringbuf<Ch, Tr, Alloc>::
32354 pbackfail (int_type meta) {
32355 if(gptr() != __null && (eback() < gptr())
32356 && (mode_ & (::std::ios_base::out)
32357 || compat_traits_type::eq_int_type(compat_traits_type::eof(), meta)
32358 || compat_traits_type::eq(compat_traits_type::to_char_type(meta), gptr()[-1]) ) ) {
32359 streambuf_t::gbump(-1);
32360 if(!compat_traits_type::eq_int_type(compat_traits_type::eof(), meta))
32362 *gptr() = compat_traits_type::to_char_type(meta);
32363 return (compat_traits_type::not_eof(meta));
32366 return (compat_traits_type::eof());
32371 template<class Ch, class Tr, class Alloc>
32372 typename basic_altstringbuf<Ch, Tr, Alloc>::int_type
32373 basic_altstringbuf<Ch, Tr, Alloc>::
32374 overflow (int_type meta) {
32379 if(compat_traits_type::eq_int_type(compat_traits_type::eof(), meta))
32380 return compat_traits_type::not_eof(meta);
32381 else if(pptr() != __null && pptr() < epptr()) {
32382 streambuf_t::sputc(compat_traits_type::to_char_type(meta));
32385 else if(! (mode_ & ::std::ios_base::out))
32387 return compat_traits_type::eof();
32389 std::size_t prev_size = pptr() == __null ? 0 : epptr() - eback();
32390 std::size_t new_size = prev_size;
32392 std::size_t add_size = new_size / 2;
32393 if(add_size < alloc_min)
32394 add_size = alloc_min;
32395 Ch * newptr = __null, *oldptr = eback();
32398 while (0 < add_size && ((std::numeric_limits<std::size_t>::max)()
32399 - add_size < new_size) )
32402 new_size += add_size;
32403 newptr = alloc_.allocate(new_size, is_allocated_? oldptr : 0);
32407 compat_traits_type::copy(newptr, oldptr, prev_size);
32409 alloc_.deallocate(oldptr, prev_size);
32410 is_allocated_=true;
32412 if(prev_size == 0) {
32414 streambuf_t::setp(newptr, newptr + new_size);
32415 if(mode_ & ::std::ios_base::in)
32416 streambuf_t::setg(newptr, newptr, newptr + 1);
32418 streambuf_t::setg(newptr, 0, newptr);
32421 putend_ = putend_ - oldptr + newptr;
32422 int pptr_count = static_cast<int>(pptr()-pbase());
32423 int gptr_count = static_cast<int>(gptr()-eback());
32424 streambuf_t::setp(pbase() - oldptr + newptr, newptr + new_size);
32425 streambuf_t::pbump(pptr_count);
32426 if(mode_ & ::std::ios_base::in)
32427 streambuf_t::setg(newptr, newptr + gptr_count, pptr() + 1);
32429 streambuf_t::setg(newptr, 0, newptr);
32431 streambuf_t::sputc(compat_traits_type::to_char_type(meta));
32440 template<class Ch, class Tr, class Alloc>
32441 void basic_altstringbuf<Ch, Tr, Alloc>:: dealloc() {
32443 alloc_.deallocate(eback(), (pptr() != __null ? epptr() : egptr()) - eback());
32444 is_allocated_ = false;
32445 streambuf_t::setg(0, 0, 0);
32446 streambuf_t::setp(0, 0);
32452 # 174 "./boost/format/alt_sstream.hpp" 2
32453 # 24 "./boost/format/internals.hpp" 2
32463 template<class Ch, class Tr>
32464 struct stream_format_state
32466 typedef ::std:: basic_ios<Ch, Tr> basic_ios;
32468 stream_format_state(Ch fill) { reset(fill); }
32471 void reset(Ch fill);
32472 void set_by_stream(const basic_ios& os);
32473 void apply_on(basic_ios & os,
32474 boost::io::detail::locale_t * loc_default = 0) const;
32476 void apply_manip(T manipulator)
32477 { apply_manip_body<Ch, Tr, T>( *this, manipulator) ; }
32480 std::streamsize width_;
32481 std::streamsize precision_;
32483 std::ios_base::fmtflags flags_;
32484 std::ios_base::iostate rdstate_;
32485 std::ios_base::iostate exceptions_;
32486 boost::optional<boost::io::detail::locale_t> loc_;
32493 template<class Ch, class Tr, class Alloc>
32496 enum pad_values { zeropad = 1, spacepad =2, centered=4, tabulation = 8 };
32500 enum arg_values { argN_no_posit = -1,
32501 argN_tabulation = -2,
32504 typedef ::std:: basic_ios<Ch, Tr> basic_ios;
32505 typedef detail::stream_format_state<Ch, Tr> stream_format_state;
32506 typedef ::std::basic_string<Ch, Tr, Alloc> string_type;
32508 format_item(Ch fill) :argN_(argN_no_posit), fmtstate_(fill),
32509 truncate_(max_streamsize()), pad_scheme_(0) {}
32510 void reset(Ch fill);
32511 void compute_states();
32513 static std::streamsize max_streamsize() {
32514 return (std::numeric_limits<std::streamsize>::max)();
32521 string_type appendix_;
32523 stream_format_state fmtstate_;
32525 std::streamsize truncate_;
32526 unsigned int pad_scheme_;
32534 template<class Ch, class Tr>
32535 void stream_format_state<Ch,Tr>:: apply_on (basic_ios & os,
32536 boost::io::detail::locale_t * loc_default) const {
32540 if(precision_ != -1)
32541 os.precision(precision_);
32545 os.clear(rdstate_);
32546 os.exceptions(exceptions_);
32549 os.imbue(loc_.get());
32550 else if(loc_default)
32551 os.imbue(*loc_default);
32557 template<class Ch, class Tr>
32558 void stream_format_state<Ch,Tr>:: set_by_stream(const basic_ios& os) {
32560 flags_ = os.flags();
32561 width_ = os.width();
32562 precision_ = os.precision();
32564 rdstate_ = os.rdstate();
32565 exceptions_ = os.exceptions();
32569 template<class Ch, class Tr, class T>
32570 void apply_manip_body( stream_format_state<Ch, Tr>& self,
32573 basic_oaltstringstream<Ch, Tr> ss;
32574 self.apply_on( ss );
32576 self.set_by_stream( ss );
32579 template<class Ch, class Tr> inline
32580 void stream_format_state<Ch,Tr>:: reset(Ch fill) {
32582 width_=0; precision_=6;
32584 flags_ = std::ios_base::dec | std::ios_base::skipws;
32586 exceptions_ = std::ios_base::goodbit;
32587 rdstate_ = std::ios_base::goodbit;
32593 template<class Ch, class Tr, class Alloc>
32594 void format_item<Ch, Tr, Alloc>::
32596 argN_=argN_no_posit; truncate_ = max_streamsize(); pad_scheme_ =0;
32597 res_.resize(0); appendix_.resize(0);
32598 fmtstate_.reset(fill);
32601 template<class Ch, class Tr, class Alloc>
32602 void format_item<Ch, Tr, Alloc>::
32606 if(pad_scheme_ & zeropad) {
32608 if(fmtstate_.flags_ & std::ios_base::left) {
32609 (static_cast<void> ((!(fmtstate_.flags_ &(std::ios_base::adjustfield ^std::ios_base::left))) ? 0 : (__assert ("!(fmtstate_.flags_ &(std::ios_base::adjustfield ^std::ios_base::left))", "./boost/format/internals.hpp", 179, __PRETTY_FUNCTION__), 0)));
32611 pad_scheme_ = pad_scheme_ & (~zeropad);
32614 pad_scheme_ &= ~spacepad;
32615 fmtstate_.fill_='0';
32616 fmtstate_.flags_ = (fmtstate_.flags_ & ~std::ios_base::adjustfield)
32617 | std::ios_base::internal;
32621 if(pad_scheme_ & spacepad) {
32622 if(fmtstate_.flags_ & std::ios_base::showpos)
32623 pad_scheme_ &= ~spacepad;
32629 # 39 "./boost/format.hpp" 2
32632 # 1 "./boost/format/format_class.hpp" 1
32633 # 27 "./boost/format/format_class.hpp"
32636 template<class Ch, class Tr, class Alloc>
32639 typedef typename io::CompatTraits<Tr>::compatible_type compat_traits;
32642 typedef std::basic_string<Ch, Tr, Alloc> string_type;
32643 typedef typename string_type::size_type size_type;
32644 typedef io::detail::format_item<Ch, Tr, Alloc> format_item_t;
32645 typedef io::basic_altstringbuf<Ch, Tr, Alloc> internal_streambuf_t;
32648 explicit basic_format(const Ch* str=__null);
32649 explicit basic_format(const string_type& s);
32650 basic_format(const basic_format& x);
32651 basic_format& operator= (const basic_format& x);
32652 void swap(basic_format& x);
32655 explicit basic_format(const Ch* str, const std::locale & loc);
32656 explicit basic_format(const string_type& s, const std::locale & loc);
32658 io::detail::locale_t getloc() const;
32660 basic_format& clear();
32661 basic_format& clear_binds();
32662 basic_format& parse(const string_type&);
32665 size_type size() const;
32666 string_type str() const;
32670 basic_format& operator%(const T& x)
32671 { return io::detail::feed<CharT, Tr, Alloc, const T&>(*this,x); }
32674 template<class T> basic_format& operator%(T& x)
32675 { return io::detail::feed<CharT, Tr, Alloc, T&>(*this,x); }
32680 basic_format& bind_arg(int argN, const T& val)
32681 { return io::detail::bind_arg_body(*this, argN, val); }
32682 basic_format& clear_bind(int argN);
32684 basic_format& modify_item(int itemN, T manipulator)
32685 { return io::detail::modify_item_body<Ch,Tr, Alloc, T> (*this, itemN, manipulator);}
32688 unsigned char exceptions() const;
32689 unsigned char exceptions(unsigned char newexcept);
32690 # 91 "./boost/format/format_class.hpp"
32691 template<class Ch2, class Tr2, class Alloc2>
32692 friend std::basic_ostream<Ch2, Tr2> &
32693 operator<<( std::basic_ostream<Ch2, Tr2> & ,
32694 const basic_format<Ch2, Tr2, Alloc2>& );
32702 template<class Ch2, class Tr2, class Alloc2, class T>
32703 friend basic_format<Ch2, Tr2, Alloc2>&
32704 io::detail::feed (basic_format<Ch2, Tr2, Alloc2>&, T);
32706 template<class Ch2, class Tr2, class Alloc2, class T> friend
32707 void io::detail::distribute (basic_format<Ch2, Tr2, Alloc2>&, T);
32709 template<class Ch2, class Tr2, class Alloc2, class T> friend
32710 basic_format<Ch2, Tr2, Alloc2>&
32711 io::detail::modify_item_body (basic_format<Ch2, Tr2, Alloc2>&, int, T);
32713 template<class Ch2, class Tr2, class Alloc2, class T> friend
32714 basic_format<Ch2, Tr2, Alloc2>&
32715 io::detail::bind_arg_body (basic_format<Ch2, Tr2, Alloc2>&, int, const T&);
32719 typedef io::detail::stream_format_state<Ch, Tr> stream_format_state;
32721 enum style_values { ordered = 1,
32722 special_needs = 4 };
32724 void make_or_reuse_data(std::size_t nbitems);
32727 std::vector<format_item_t> items_;
32728 std::vector<bool> bound_;
32733 mutable bool dumped_;
32734 string_type prefix_;
32735 unsigned char exceptions_;
32736 internal_streambuf_t buf_;
32737 boost::optional<io::detail::locale_t> loc_;
32741 # 42 "./boost/format.hpp" 2
32744 # 1 "./boost/format/exceptions.hpp" 1
32745 # 20 "./boost/format/exceptions.hpp"
32746 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/stdexcept" 1 3
32747 # 41 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/stdexcept" 3
32749 # 42 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/c++/stdexcept" 3
32761 class logic_error : public exception
32768 logic_error(const string& __arg);
32771 ~logic_error() throw();
32775 virtual const char*
32776 what() const throw();
32781 class domain_error : public logic_error
32784 explicit domain_error(const string& __arg);
32788 class invalid_argument : public logic_error
32791 explicit invalid_argument(const string& __arg);
32796 class length_error : public logic_error
32799 explicit length_error(const string& __arg);
32804 class out_of_range : public logic_error
32807 explicit out_of_range(const string& __arg);
32815 class runtime_error : public exception
32822 runtime_error(const string& __arg);
32825 ~runtime_error() throw();
32829 virtual const char*
32830 what() const throw();
32834 class range_error : public runtime_error
32837 explicit range_error(const string& __arg);
32841 class overflow_error : public runtime_error
32844 explicit overflow_error(const string& __arg);
32848 class underflow_error : public runtime_error
32851 explicit underflow_error(const string& __arg);
32854 # 21 "./boost/format/exceptions.hpp" 2
32863 class format_error : public std::exception
32867 virtual const char *what() const throw() {
32868 return "boost::format_error: "
32869 "format generic failure";
32873 class bad_format_string : public format_error
32875 std::size_t pos_, next_;
32877 bad_format_string(std::size_t pos, std::size_t size)
32878 : pos_(pos), next_(size) {}
32879 std::size_t get_pos() const { return pos_; }
32880 std::size_t get_next() const { return next_; }
32881 virtual const char *what() const throw() {
32882 return "boost::bad_format_string: format-string is ill-formed";
32886 class too_few_args : public format_error
32888 std::size_t cur_, expected_;
32890 too_few_args(std::size_t cur, std::size_t expected)
32891 : cur_(cur), expected_(expected) {}
32892 std::size_t get_cur() const { return cur_; }
32893 std::size_t get_expected() const { return expected_; }
32894 virtual const char *what() const throw() {
32895 return "boost::too_few_args: "
32896 "format-string referred to more arguments than were passed";
32900 class too_many_args : public format_error
32902 std::size_t cur_, expected_;
32904 too_many_args(std::size_t cur, std::size_t expected)
32905 : cur_(cur), expected_(expected) {}
32906 std::size_t get_cur() const { return cur_; }
32907 std::size_t get_expected() const { return expected_; }
32908 virtual const char *what() const throw() {
32909 return "boost::too_many_args: "
32910 "format-string referred to less arguments than were passed";
32915 class out_of_range : public format_error
32917 int index_, beg_, end_;
32919 out_of_range(int index, int beg, int end)
32920 : index_(index), beg_(beg), end_(end) {}
32921 int get_index() const { return index_; }
32922 int get_beg() const { return beg_; }
32923 int get_end() const { return end_; }
32924 virtual const char *what() const throw() {
32925 return "boost::out_of_range: "
32926 "tried to refer to an argument (or item) number which"
32927 " is out of range, according to the format string";
32935 # 45 "./boost/format.hpp" 2
32938 # 1 "./boost/format/format_implementation.hpp" 1
32939 # 19 "./boost/format/format_implementation.hpp"
32940 # 1 "./boost/assert.hpp" 1
32941 # 36 "./boost/assert.hpp"
32942 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/assert.h" 1 3 4
32943 # 51 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/assert.h" 3 4
32947 extern void __assert (const char *, const char *, int, const char *);
32950 # 37 "./boost/assert.hpp" 2
32951 # 20 "./boost/format/format_implementation.hpp" 2
32959 template< class Ch, class Tr, class Alloc>
32960 basic_format<Ch, Tr, Alloc>:: basic_format(const Ch* s)
32961 : style_(0), cur_arg_(0), num_args_(0), dumped_(false),
32962 exceptions_(io::all_error_bits)
32969 template< class Ch, class Tr, class Alloc>
32970 basic_format<Ch, Tr, Alloc>:: basic_format(const Ch* s, const std::locale & loc)
32971 : style_(0), cur_arg_(0), num_args_(0), dumped_(false),
32972 loc_(loc), exceptions_(io::all_error_bits)
32977 template< class Ch, class Tr, class Alloc>
32978 basic_format<Ch, Tr, Alloc>:: basic_format(const string_type& s, const std::locale & loc)
32979 : style_(0), cur_arg_(0), num_args_(0), dumped_(false),
32980 loc_(loc), exceptions_(io::all_error_bits)
32985 template< class Ch, class Tr, class Alloc>
32986 io::detail::locale_t basic_format<Ch, Tr, Alloc>::
32988 return loc_ ? loc_.get() : io::detail::locale_t();
32991 template< class Ch, class Tr, class Alloc>
32992 basic_format<Ch, Tr, Alloc>:: basic_format(const string_type& s)
32993 : style_(0), cur_arg_(0), num_args_(0), dumped_(false),
32994 exceptions_(io::all_error_bits)
32999 template< class Ch, class Tr, class Alloc>
33000 basic_format<Ch, Tr, Alloc>:: basic_format(const basic_format& x)
33001 : items_(x.items_), bound_(x.bound_), style_(x.style_),
33002 cur_arg_(x.cur_arg_), num_args_(x.num_args_), dumped_(false),
33003 prefix_(x.prefix_), exceptions_(x.exceptions_), loc_(x.loc_)
33007 template< class Ch, class Tr, class Alloc>
33008 basic_format<Ch, Tr, Alloc>& basic_format<Ch, Tr, Alloc>::
33009 operator= (const basic_format& x) {
33012 (basic_format<Ch, Tr, Alloc>(x)).swap(*this);
33015 template< class Ch, class Tr, class Alloc>
33016 void basic_format<Ch, Tr, Alloc>::
33017 swap (basic_format & x) {
33018 std::swap(exceptions_, x.exceptions_);
33019 std::swap(style_, x.style_);
33020 std::swap(cur_arg_, x.cur_arg_);
33021 std::swap(num_args_, x.num_args_);
33022 std::swap(dumped_, x.dumped_);
33024 items_.swap(x.items_);
33025 prefix_.swap(x.prefix_);
33026 bound_.swap(x.bound_);
33029 template< class Ch, class Tr, class Alloc>
33030 unsigned char basic_format<Ch,Tr, Alloc>:: exceptions() const {
33031 return exceptions_;
33034 template< class Ch, class Tr, class Alloc>
33035 unsigned char basic_format<Ch,Tr, Alloc>:: exceptions(unsigned char newexcept) {
33036 unsigned char swp = exceptions_;
33037 exceptions_ = newexcept;
33041 template<class Ch, class Tr, class Alloc>
33042 void basic_format<Ch, Tr, Alloc>::
33043 make_or_reuse_data (std::size_t nbitems) {
33045 Ch fill = ( std::use_facet< std::ctype<Ch> >(getloc()) ). widen(' ');
33049 if(items_.size() == 0)
33050 items_.assign( nbitems, format_item_t(fill) );
33052 if(nbitems>items_.size())
33053 items_.resize(nbitems, format_item_t(fill));
33055 for(std::size_t i=0; i < nbitems; ++i)
33056 items_[i].reset(fill);
33061 template< class Ch, class Tr, class Alloc>
33062 basic_format<Ch,Tr, Alloc>& basic_format<Ch,Tr, Alloc>::
33067 (static_cast<void> ((bound_.size()==0 || num_args_ == static_cast<int>(bound_.size())) ? 0 : (__assert ("bound_.size()==0 || num_args_ == static_cast<int>(bound_.size())", "./boost/format/format_implementation.hpp", 135, __PRETTY_FUNCTION__), 0)));
33069 for(unsigned long i=0; i<items_.size(); ++i) {
33071 if( bound_.size()==0 || items_[i].argN_<0 || !bound_[ items_[i].argN_ ] )
33072 items_[i].res_.resize(0);
33074 cur_arg_=0; dumped_=false;
33076 if(bound_.size() != 0) {
33077 for(; cur_arg_ < num_args_ && bound_[cur_arg_]; ++cur_arg_)
33083 template< class Ch, class Tr, class Alloc>
33084 basic_format<Ch,Tr, Alloc>& basic_format<Ch,Tr, Alloc>::
33092 template< class Ch, class Tr, class Alloc>
33093 basic_format<Ch,Tr, Alloc>& basic_format<Ch,Tr, Alloc>::
33094 clear_bind (int argN) {
33096 if(argN<1 || argN > num_args_ || bound_.size()==0 || !bound_[argN-1] ) {
33097 if( exceptions() & io::out_of_range_bit)
33098 boost::throw_exception(io::out_of_range(argN, 1, num_args_+1 ) );
33101 bound_[argN-1]=false;
33106 template< class Ch, class Tr, class Alloc>
33107 typename basic_format<Ch, Tr, Alloc>::string_type
33108 basic_format<Ch,Tr, Alloc>::
33110 if(items_.size()==0)
33112 if( cur_arg_ < num_args_)
33113 if( exceptions() & io::too_few_args_bit )
33115 boost::throw_exception(io::too_few_args(cur_arg_, num_args_));
33119 res.reserve(size());
33121 for(i=0; i < items_.size(); ++i) {
33122 const format_item_t& item = items_[i];
33124 if( item.argN_ == format_item_t::argN_tabulation) {
33125 (static_cast<void> ((item.pad_scheme_ & format_item_t::tabulation) ? 0 : (__assert ("item.pad_scheme_ & format_item_t::tabulation", "./boost/format/format_implementation.hpp", 193, __PRETTY_FUNCTION__), 0)));
33126 if( static_cast<size_type>(item.fmtstate_.width_) > res.size() )
33127 res.append( static_cast<size_type>(item.fmtstate_.width_) - res.size(),
33128 item.fmtstate_.fill_ );
33130 res += item.appendix_;
33135 template< class Ch, class Tr, class Alloc>
33136 typename std::basic_string<Ch, Tr, Alloc>::size_type basic_format<Ch,Tr, Alloc>::
33146 size_type sz = prefix_.size();
33148 for(i=0; i < items_.size(); ++i) {
33149 const format_item_t& item = items_[i];
33150 sz += item.res_.size();
33151 if( item.argN_ == format_item_t::argN_tabulation)
33153 static_cast<size_type>(item.fmtstate_.width_) );
33154 sz += item.appendix_.size();
33165 template<class Ch, class Tr, class Alloc, class T>
33166 basic_format<Ch, Tr, Alloc>&
33167 bind_arg_body (basic_format<Ch, Tr, Alloc>& self, int argN, const T& val) {
33172 if(argN<1 || argN > self.num_args_) {
33173 if( self.exceptions() & io::out_of_range_bit )
33174 boost::throw_exception(io::out_of_range(argN, 1, self.num_args_+1 ) );
33177 if(self.bound_.size()==0)
33178 self.bound_.assign(self.num_args_,false);
33180 (static_cast<void> ((self.num_args_ == static_cast<signed int>(self.bound_.size())) ? 0 : (__assert ("self.num_args_ == static_cast<signed int>(self.bound_.size())", "./boost/format/format_implementation.hpp", 248, __PRETTY_FUNCTION__), 0)));
33181 int o_cur_arg = self.cur_arg_;
33182 self.cur_arg_ = argN-1;
33184 self.bound_[self.cur_arg_]=false;
33185 self.operator%(val);
33189 self.cur_arg_ = o_cur_arg;
33190 self.bound_[argN-1]=true;
33191 if(self.cur_arg_ == argN-1 ) {
33193 while(self.cur_arg_ < self.num_args_ && self.bound_[self.cur_arg_])
33197 (static_cast<void> ((self.cur_arg_ >= self.num_args_ || ! self.bound_[self.cur_arg_]) ? 0 : (__assert ("self.cur_arg_ >= self.num_args_ || ! self.bound_[self.cur_arg_]", "./boost/format/format_implementation.hpp", 265, __PRETTY_FUNCTION__), 0)));
33201 template<class Ch, class Tr, class Alloc, class T> basic_format<Ch, Tr, Alloc>&
33202 modify_item_body (basic_format<Ch, Tr, Alloc>& self, int itemN, T manipulator) {
33205 if(itemN<1 || itemN > static_cast<signed int>(self.items_.size() )) {
33206 if( self.exceptions() & io::out_of_range_bit )
33207 boost::throw_exception(io::out_of_range(itemN, 1, static_cast<int>(self.items_.size()) ));
33210 self.items_[itemN-1].fmtstate_. template apply_manip<T> ( manipulator );
33217 # 48 "./boost/format.hpp" 2
33218 # 1 "./boost/format/group.hpp" 1
33219 # 29 "./boost/format/group.hpp"
33233 template <class Ch, class Tr>
33235 ::std:: basic_ostream<Ch, Tr>&
33236 operator << ( ::std:: basic_ostream<Ch, Tr>& os,
33242 template <class T1>
33250 group1& operator=(const group1&);
33253 template <class Ch, class Tr, class T1>
33255 ::std:: basic_ostream<Ch, Tr>&
33256 operator << (::std:: basic_ostream<Ch, Tr>& os,
33257 const group1<T1>& x)
33266 template <class T1,class T2>
33271 group2(T1 a1,T2 a2)
33275 group2& operator=(const group2&);
33278 template <class Ch, class Tr, class T1,class T2>
33280 ::std:: basic_ostream<Ch, Tr>&
33281 operator << (::std:: basic_ostream<Ch, Tr>& os,
33282 const group2<T1,T2>& x)
33284 os << x.a1_<< x.a2_;
33288 template <class T1,class T2,class T3>
33294 group3(T1 a1,T2 a2,T3 a3)
33295 : a1_(a1),a2_(a2),a3_(a3)
33298 group3& operator=(const group3&);
33301 template <class Ch, class Tr, class T1,class T2,class T3>
33303 ::std:: basic_ostream<Ch, Tr>&
33304 operator << (::std:: basic_ostream<Ch, Tr>& os,
33305 const group3<T1,T2,T3>& x)
33307 os << x.a1_<< x.a2_<< x.a3_;
33311 template <class T1,class T2,class T3,class T4>
33318 group4(T1 a1,T2 a2,T3 a3,T4 a4)
33319 : a1_(a1),a2_(a2),a3_(a3),a4_(a4)
33322 group4& operator=(const group4&);
33325 template <class Ch, class Tr, class T1,class T2,class T3,class T4>
33327 ::std:: basic_ostream<Ch, Tr>&
33328 operator << (::std:: basic_ostream<Ch, Tr>& os,
33329 const group4<T1,T2,T3,T4>& x)
33331 os << x.a1_<< x.a2_<< x.a3_<< x.a4_;
33335 template <class T1,class T2,class T3,class T4,class T5>
33343 group5(T1 a1,T2 a2,T3 a3,T4 a4,T5 a5)
33344 : a1_(a1),a2_(a2),a3_(a3),a4_(a4),a5_(a5)
33348 template <class Ch, class Tr, class T1,class T2,class T3,class T4,class T5>
33350 ::std:: basic_ostream<Ch, Tr>&
33351 operator << (::std:: basic_ostream<Ch, Tr>& os,
33352 const group5<T1,T2,T3,T4,T5>& x)
33354 os << x.a1_<< x.a2_<< x.a3_<< x.a4_<< x.a5_;
33358 template <class T1,class T2,class T3,class T4,class T5,class T6>
33367 group6(T1 a1,T2 a2,T3 a3,T4 a4,T5 a5,T6 a6)
33368 : a1_(a1),a2_(a2),a3_(a3),a4_(a4),a5_(a5),a6_(a6)
33372 template <class Ch, class Tr, class T1,class T2,class T3,class T4,class T5,class T6>
33374 ::std:: basic_ostream<Ch, Tr>&
33375 operator << (::std:: basic_ostream<Ch, Tr>& os,
33376 const group6<T1,T2,T3,T4,T5,T6>& x)
33378 os << x.a1_<< x.a2_<< x.a3_<< x.a4_<< x.a5_<< x.a6_;
33382 template <class T1,class T2,class T3,class T4,class T5,class T6,class T7>
33392 group7(T1 a1,T2 a2,T3 a3,T4 a4,T5 a5,T6 a6,T7 a7)
33393 : a1_(a1),a2_(a2),a3_(a3),a4_(a4),a5_(a5),a6_(a6),a7_(a7)
33397 template <class Ch, class Tr, class T1,class T2,class T3,class T4,class T5,class T6,class T7>
33399 ::std:: basic_ostream<Ch, Tr>&
33400 operator << (::std:: basic_ostream<Ch, Tr>& os,
33401 const group7<T1,T2,T3,T4,T5,T6,T7>& x)
33403 os << x.a1_<< x.a2_<< x.a3_<< x.a4_<< x.a5_<< x.a6_<< x.a7_;
33407 template <class T1,class T2,class T3,class T4,class T5,class T6,class T7,class T8>
33418 group8(T1 a1,T2 a2,T3 a3,T4 a4,T5 a5,T6 a6,T7 a7,T8 a8)
33419 : a1_(a1),a2_(a2),a3_(a3),a4_(a4),a5_(a5),a6_(a6),a7_(a7),a8_(a8)
33423 template <class Ch, class Tr, class T1,class T2,class T3,class T4,class T5,class T6,class T7,class T8>
33425 ::std:: basic_ostream<Ch, Tr>&
33426 operator << (::std:: basic_ostream<Ch, Tr>& os,
33427 const group8<T1,T2,T3,T4,T5,T6,T7,T8>& x)
33429 os << x.a1_<< x.a2_<< x.a3_<< x.a4_<< x.a5_<< x.a6_<< x.a7_<< x.a8_;
33433 template <class T1,class T2,class T3,class T4,class T5,class T6,class T7,class T8,class T9>
33445 group9(T1 a1,T2 a2,T3 a3,T4 a4,T5 a5,T6 a6,T7 a7,T8 a8,T9 a9)
33446 : a1_(a1),a2_(a2),a3_(a3),a4_(a4),a5_(a5),a6_(a6),a7_(a7),a8_(a8),a9_(a9)
33450 template <class Ch, class Tr, class T1,class T2,class T3,class T4,class T5,class T6,class T7,class T8,class T9>
33452 ::std:: basic_ostream<Ch, Tr>&
33453 operator << (::std:: basic_ostream<Ch, Tr>& os,
33454 const group9<T1,T2,T3,T4,T5,T6,T7,T8,T9>& x)
33456 os << x.a1_<< x.a2_<< x.a3_<< x.a4_<< x.a5_<< x.a6_<< x.a7_<< x.a8_<< x.a9_;
33460 template <class T1,class T2,class T3,class T4,class T5,class T6,class T7,class T8,class T9,class T10>
33473 group10(T1 a1,T2 a2,T3 a3,T4 a4,T5 a5,T6 a6,T7 a7,T8 a8,T9 a9,T10 a10)
33474 : a1_(a1),a2_(a2),a3_(a3),a4_(a4),a5_(a5),a6_(a6),a7_(a7),a8_(a8),a9_(a9),a10_(a10)
33478 template <class Ch, class Tr, class T1,class T2,class T3,class T4,class T5,class T6,class T7,class T8,class T9,class T10>
33480 ::std:: basic_ostream<Ch, Tr>&
33481 operator << (::std:: basic_ostream<Ch, Tr>& os,
33482 const group10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10>& x)
33484 os << x.a1_<< x.a2_<< x.a3_<< x.a4_<< x.a5_<< x.a6_<< x.a7_<< x.a8_<< x.a9_<< x.a10_;
33491 template <class T1,class T2>
33494 group_head( group2<T1,T2> const& x)
33496 return group1<T1> (x.a1_);
33499 template <class T1,class T2>
33502 group_last( group2<T1,T2> const& x)
33504 return group1<T2> (x.a2_);
33509 template <class T1,class T2,class T3>
33512 group_head( group3<T1,T2,T3> const& x)
33514 return group2<T1,T2> (x.a1_,x.a2_);
33517 template <class T1,class T2,class T3>
33520 group_last( group3<T1,T2,T3> const& x)
33522 return group1<T3> (x.a3_);
33527 template <class T1,class T2,class T3,class T4>
33530 group_head( group4<T1,T2,T3,T4> const& x)
33532 return group3<T1,T2,T3> (x.a1_,x.a2_,x.a3_);
33535 template <class T1,class T2,class T3,class T4>
33538 group_last( group4<T1,T2,T3,T4> const& x)
33540 return group1<T4> (x.a4_);
33545 template <class T1,class T2,class T3,class T4,class T5>
33547 group4<T1,T2,T3,T4>
33548 group_head( group5<T1,T2,T3,T4,T5> const& x)
33550 return group4<T1,T2,T3,T4> (x.a1_,x.a2_,x.a3_,x.a4_);
33553 template <class T1,class T2,class T3,class T4,class T5>
33556 group_last( group5<T1,T2,T3,T4,T5> const& x)
33558 return group1<T5> (x.a5_);
33563 template <class T1,class T2,class T3,class T4,class T5,class T6>
33565 group5<T1,T2,T3,T4,T5>
33566 group_head( group6<T1,T2,T3,T4,T5,T6> const& x)
33568 return group5<T1,T2,T3,T4,T5> (x.a1_,x.a2_,x.a3_,x.a4_,x.a5_);
33571 template <class T1,class T2,class T3,class T4,class T5,class T6>
33574 group_last( group6<T1,T2,T3,T4,T5,T6> const& x)
33576 return group1<T6> (x.a6_);
33581 template <class T1,class T2,class T3,class T4,class T5,class T6,class T7>
33583 group6<T1,T2,T3,T4,T5,T6>
33584 group_head( group7<T1,T2,T3,T4,T5,T6,T7> const& x)
33586 return group6<T1,T2,T3,T4,T5,T6> (x.a1_,x.a2_,x.a3_,x.a4_,x.a5_,x.a6_);
33589 template <class T1,class T2,class T3,class T4,class T5,class T6,class T7>
33592 group_last( group7<T1,T2,T3,T4,T5,T6,T7> const& x)
33594 return group1<T7> (x.a7_);
33599 template <class T1,class T2,class T3,class T4,class T5,class T6,class T7,class T8>
33601 group7<T1,T2,T3,T4,T5,T6,T7>
33602 group_head( group8<T1,T2,T3,T4,T5,T6,T7,T8> const& x)
33604 return group7<T1,T2,T3,T4,T5,T6,T7> (x.a1_,x.a2_,x.a3_,x.a4_,x.a5_,x.a6_,x.a7_);
33607 template <class T1,class T2,class T3,class T4,class T5,class T6,class T7,class T8>
33610 group_last( group8<T1,T2,T3,T4,T5,T6,T7,T8> const& x)
33612 return group1<T8> (x.a8_);
33617 template <class T1,class T2,class T3,class T4,class T5,class T6,class T7,class T8,class T9>
33619 group8<T1,T2,T3,T4,T5,T6,T7,T8>
33620 group_head( group9<T1,T2,T3,T4,T5,T6,T7,T8,T9> const& x)
33622 return group8<T1,T2,T3,T4,T5,T6,T7,T8> (x.a1_,x.a2_,x.a3_,x.a4_,x.a5_,x.a6_,x.a7_,x.a8_);
33625 template <class T1,class T2,class T3,class T4,class T5,class T6,class T7,class T8,class T9>
33628 group_last( group9<T1,T2,T3,T4,T5,T6,T7,T8,T9> const& x)
33630 return group1<T9> (x.a9_);
33635 template <class T1,class T2,class T3,class T4,class T5,class T6,class T7,class T8,class T9,class T10>
33637 group9<T1,T2,T3,T4,T5,T6,T7,T8,T9>
33638 group_head( group10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> const& x)
33640 return group9<T1,T2,T3,T4,T5,T6,T7,T8,T9> (x.a1_,x.a2_,x.a3_,x.a4_,x.a5_,x.a6_,x.a7_,x.a8_,x.a9_);
33643 template <class T1,class T2,class T3,class T4,class T5,class T6,class T7,class T8,class T9,class T10>
33646 group_last( group10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> const& x)
33648 return group1<T10> (x.a10_);
33662 inline detail::group1< detail::group0 >
33663 group() { return detail::group1< detail::group0 > ( detail::group0() ); }
33665 template <class T1, class Var>
33667 detail::group1< detail::group2<T1, Var const&> >
33668 group(T1 a1, Var const& var)
33670 return detail::group1< detail::group2<T1, Var const&> >
33671 ( detail::group2<T1, Var const&>
33676 template <class T1,class T2, class Var>
33678 detail::group1< detail::group3<T1,T2, Var const&> >
33679 group(T1 a1,T2 a2, Var const& var)
33681 return detail::group1< detail::group3<T1,T2, Var const&> >
33682 ( detail::group3<T1,T2, Var const&>
33687 template <class T1,class T2,class T3, class Var>
33689 detail::group1< detail::group4<T1,T2,T3, Var const&> >
33690 group(T1 a1,T2 a2,T3 a3, Var const& var)
33692 return detail::group1< detail::group4<T1,T2,T3, Var const&> >
33693 ( detail::group4<T1,T2,T3, Var const&>
33698 template <class T1,class T2,class T3,class T4, class Var>
33700 detail::group1< detail::group5<T1,T2,T3,T4, Var const&> >
33701 group(T1 a1,T2 a2,T3 a3,T4 a4, Var const& var)
33703 return detail::group1< detail::group5<T1,T2,T3,T4, Var const&> >
33704 ( detail::group5<T1,T2,T3,T4, Var const&>
33709 template <class T1,class T2,class T3,class T4,class T5, class Var>
33711 detail::group1< detail::group6<T1,T2,T3,T4,T5, Var const&> >
33712 group(T1 a1,T2 a2,T3 a3,T4 a4,T5 a5, Var const& var)
33714 return detail::group1< detail::group6<T1,T2,T3,T4,T5, Var const&> >
33715 ( detail::group6<T1,T2,T3,T4,T5, Var const&>
33716 (a1,a2,a3,a4,a5, var)
33720 template <class T1,class T2,class T3,class T4,class T5,class T6, class Var>
33722 detail::group1< detail::group7<T1,T2,T3,T4,T5,T6, Var const&> >
33723 group(T1 a1,T2 a2,T3 a3,T4 a4,T5 a5,T6 a6, Var const& var)
33725 return detail::group1< detail::group7<T1,T2,T3,T4,T5,T6, Var const&> >
33726 ( detail::group7<T1,T2,T3,T4,T5,T6, Var const&>
33727 (a1,a2,a3,a4,a5,a6, var)
33731 template <class T1,class T2,class T3,class T4,class T5,class T6,class T7, class Var>
33733 detail::group1< detail::group8<T1,T2,T3,T4,T5,T6,T7, Var const&> >
33734 group(T1 a1,T2 a2,T3 a3,T4 a4,T5 a5,T6 a6,T7 a7, Var const& var)
33736 return detail::group1< detail::group8<T1,T2,T3,T4,T5,T6,T7, Var const&> >
33737 ( detail::group8<T1,T2,T3,T4,T5,T6,T7, Var const&>
33738 (a1,a2,a3,a4,a5,a6,a7, var)
33742 template <class T1,class T2,class T3,class T4,class T5,class T6,class T7,class T8, class Var>
33744 detail::group1< detail::group9<T1,T2,T3,T4,T5,T6,T7,T8, Var const&> >
33745 group(T1 a1,T2 a2,T3 a3,T4 a4,T5 a5,T6 a6,T7 a7,T8 a8, Var const& var)
33747 return detail::group1< detail::group9<T1,T2,T3,T4,T5,T6,T7,T8, Var const&> >
33748 ( detail::group9<T1,T2,T3,T4,T5,T6,T7,T8, Var const&>
33749 (a1,a2,a3,a4,a5,a6,a7,a8, var)
33753 template <class T1,class T2,class T3,class T4,class T5,class T6,class T7,class T8,class T9, class Var>
33755 detail::group1< detail::group10<T1,T2,T3,T4,T5,T6,T7,T8,T9, Var const&> >
33756 group(T1 a1,T2 a2,T3 a3,T4 a4,T5 a5,T6 a6,T7 a7,T8 a8,T9 a9, Var const& var)
33758 return detail::group1< detail::group10<T1,T2,T3,T4,T5,T6,T7,T8,T9, Var const&> >
33759 ( detail::group10<T1,T2,T3,T4,T5,T6,T7,T8,T9, Var const&>
33760 (a1,a2,a3,a4,a5,a6,a7,a8,a9, var)
33767 template <class T1, class Var>
33769 detail::group1< detail::group2<T1, Var&> >
33770 group(T1 a1, Var& var)
33772 return detail::group1< detail::group2<T1, Var&> >
33773 ( detail::group2<T1, Var&>
33778 template <class T1,class T2, class Var>
33780 detail::group1< detail::group3<T1,T2, Var&> >
33781 group(T1 a1,T2 a2, Var& var)
33783 return detail::group1< detail::group3<T1,T2, Var&> >
33784 ( detail::group3<T1,T2, Var&>
33789 template <class T1,class T2,class T3, class Var>
33791 detail::group1< detail::group4<T1,T2,T3, Var&> >
33792 group(T1 a1,T2 a2,T3 a3, Var& var)
33794 return detail::group1< detail::group4<T1,T2,T3, Var&> >
33795 ( detail::group4<T1,T2,T3, Var&>
33800 template <class T1,class T2,class T3,class T4, class Var>
33802 detail::group1< detail::group5<T1,T2,T3,T4, Var&> >
33803 group(T1 a1,T2 a2,T3 a3,T4 a4, Var& var)
33805 return detail::group1< detail::group5<T1,T2,T3,T4, Var&> >
33806 ( detail::group5<T1,T2,T3,T4, Var&>
33811 template <class T1,class T2,class T3,class T4,class T5, class Var>
33813 detail::group1< detail::group6<T1,T2,T3,T4,T5, Var&> >
33814 group(T1 a1,T2 a2,T3 a3,T4 a4,T5 a5, Var& var)
33816 return detail::group1< detail::group6<T1,T2,T3,T4,T5, Var&> >
33817 ( detail::group6<T1,T2,T3,T4,T5, Var&>
33818 (a1,a2,a3,a4,a5, var)
33822 template <class T1,class T2,class T3,class T4,class T5,class T6, class Var>
33824 detail::group1< detail::group7<T1,T2,T3,T4,T5,T6, Var&> >
33825 group(T1 a1,T2 a2,T3 a3,T4 a4,T5 a5,T6 a6, Var& var)
33827 return detail::group1< detail::group7<T1,T2,T3,T4,T5,T6, Var&> >
33828 ( detail::group7<T1,T2,T3,T4,T5,T6, Var&>
33829 (a1,a2,a3,a4,a5,a6, var)
33833 template <class T1,class T2,class T3,class T4,class T5,class T6,class T7, class Var>
33835 detail::group1< detail::group8<T1,T2,T3,T4,T5,T6,T7, Var&> >
33836 group(T1 a1,T2 a2,T3 a3,T4 a4,T5 a5,T6 a6,T7 a7, Var& var)
33838 return detail::group1< detail::group8<T1,T2,T3,T4,T5,T6,T7, Var&> >
33839 ( detail::group8<T1,T2,T3,T4,T5,T6,T7, Var&>
33840 (a1,a2,a3,a4,a5,a6,a7, var)
33844 template <class T1,class T2,class T3,class T4,class T5,class T6,class T7,class T8, class Var>
33846 detail::group1< detail::group9<T1,T2,T3,T4,T5,T6,T7,T8, Var&> >
33847 group(T1 a1,T2 a2,T3 a3,T4 a4,T5 a5,T6 a6,T7 a7,T8 a8, Var& var)
33849 return detail::group1< detail::group9<T1,T2,T3,T4,T5,T6,T7,T8, Var&> >
33850 ( detail::group9<T1,T2,T3,T4,T5,T6,T7,T8, Var&>
33851 (a1,a2,a3,a4,a5,a6,a7,a8, var)
33855 template <class T1,class T2,class T3,class T4,class T5,class T6,class T7,class T8,class T9, class Var>
33857 detail::group1< detail::group10<T1,T2,T3,T4,T5,T6,T7,T8,T9, Var&> >
33858 group(T1 a1,T2 a2,T3 a3,T4 a4,T5 a5,T6 a6,T7 a7,T8 a8,T9 a9, Var& var)
33860 return detail::group1< detail::group10<T1,T2,T3,T4,T5,T6,T7,T8,T9, Var&> >
33861 ( detail::group10<T1,T2,T3,T4,T5,T6,T7,T8,T9, Var&>
33862 (a1,a2,a3,a4,a5,a6,a7,a8,a9, var)
33873 # 49 "./boost/format.hpp" 2
33874 # 1 "./boost/format/feed_args.hpp" 1
33875 # 18 "./boost/format/feed_args.hpp"
33876 # 1 "./boost/assert.hpp" 1
33877 # 36 "./boost/assert.hpp"
33878 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/assert.h" 1 3 4
33879 # 51 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/assert.h" 3 4
33883 extern void __assert (const char *, const char *, int, const char *);
33886 # 37 "./boost/assert.hpp" 2
33887 # 19 "./boost/format/feed_args.hpp" 2
33892 # 1 "./boost/format/detail/msvc_disambiguater.hpp" 1
33893 # 24 "./boost/format/feed_args.hpp" 2
33899 template<class Ch, class Tr, class Alloc>
33900 void mk_str( std::basic_string<Ch,Tr, Alloc> & res,
33902 typename std::basic_string<Ch,Tr,Alloc>::size_type size,
33904 const Ch fill_char,
33905 std::ios_base::fmtflags f,
33906 const Ch prefix_space,
33911 typedef typename std::basic_string<Ch,Tr,Alloc>::size_type size_type;
33913 if(w<=0 || static_cast<size_type>(w) <=size) {
33915 res.reserve(size + !!prefix_space);
33917 res.append(1, prefix_space);
33919 res.append(beg, size);
33922 std::streamsize n=static_cast<std::streamsize>(w-size-!!prefix_space);
33923 std::streamsize n_after = 0, n_before = 0;
33924 res.reserve(static_cast<size_type>(w));
33926 n_after = n/2, n_before = n - n_after;
33928 if(f & std::ios_base::left)
33933 if(n_before) res.append(static_cast<size_type>(n_before), fill_char);
33935 res.append(1, prefix_space);
33937 res.append(beg, size);
33938 if(n_after) res.append(static_cast<size_type>(n_after), fill_char);
33941 # 89 "./boost/format/feed_args.hpp"
33942 template< class Ch, class Tr, class T> inline
33943 void put_head (::std:: basic_ostream<Ch, Tr> &, const T& ) {
33946 template< class Ch, class Tr, class T> inline
33947 void put_head( ::std:: basic_ostream<Ch, Tr> & os, const group1<T>& x ) {
33948 os << group_head(x.a1_);
33951 template< class Ch, class Tr, class T> inline
33952 void put_last( ::std:: basic_ostream<Ch, Tr> & os, const T& x ) {
33956 template< class Ch, class Tr, class T> inline
33957 void put_last( ::std:: basic_ostream<Ch, Tr> & os, const group1<T>& x ) {
33958 os << group_last(x.a1_);
33962 template< class Ch, class Tr, class T> inline
33963 void put_head( ::std:: basic_ostream<Ch, Tr> &, T& ) {
33966 template< class Ch, class Tr, class T> inline
33967 void put_last( ::std:: basic_ostream<Ch, Tr> & os, T& x) {
33974 template< class Ch, class Tr, class Alloc, class T>
33976 const format_item<Ch, Tr, Alloc>& specs,
33977 typename basic_format<Ch, Tr, Alloc>::string_type& res,
33978 typename basic_format<Ch, Tr, Alloc>::internal_streambuf_t & buf,
33979 io::detail::locale_t *loc_p = __null)
33981 # 138 "./boost/format/feed_args.hpp"
33982 typedef typename basic_format<Ch, Tr, Alloc>::string_type string_type;
33983 typedef typename basic_format<Ch, Tr, Alloc>::format_item_t format_item_t;
33984 typedef typename string_type::size_type size_type;
33986 basic_oaltstringstream<Ch, Tr, Alloc> oss( &buf);
33987 specs.fmtstate_.apply_on(oss, loc_p);
33990 put_head( oss, x );
33994 const std::ios_base::fmtflags fl=oss.flags();
33995 const bool internal = (fl & std::ios_base::internal) != 0;
33996 const std::streamsize w = oss.width();
33997 const bool two_stepped_padding= internal && (w!=0);
34000 if(! two_stepped_padding) {
34004 const Ch * res_beg = buf.pbase();
34005 Ch prefix_space = 0;
34006 if(specs.pad_scheme_ & format_item_t::spacepad)
34007 if(buf.pcount()== 0 ||
34008 (res_beg[0] !=oss.widen('+') && res_beg[0] !=oss.widen('-') ))
34009 prefix_space = oss.widen(' ');
34010 size_type res_size = (std::min)(
34011 static_cast<size_type>(specs.truncate_ - !!prefix_space),
34013 mk_str(res, res_beg, res_size, w, oss.fill(), fl,
34014 prefix_space, (specs.pad_scheme_ & format_item_t::centered) !=0 );
34021 const Ch * res_beg = buf.pbase();
34022 size_type res_size = buf.pcount();
34023 bool prefix_space=false;
34024 if(specs.pad_scheme_ & format_item_t::spacepad)
34025 if(buf.pcount()== 0 ||
34026 (res_beg[0] !=oss.widen('+') && res_beg[0] !=oss.widen('-') ))
34027 prefix_space = true;
34028 if(res_size == static_cast<size_type>(w) && w<=specs.truncate_ && !prefix_space) {
34030 res.assign(res_beg, res_size);
34036 res.assign(res_beg, res_size);
34040 buf.clear_buffer();
34041 basic_oaltstringstream<Ch, Tr, Alloc> oss2( &buf);
34042 specs.fmtstate_.apply_on(oss2, loc_p);
34043 put_head( oss2, x );
34048 put_last(oss2, x );
34049 if(buf.pcount()==0 && specs.pad_scheme_ & format_item_t::spacepad) {
34050 prefix_space =true;
34054 const Ch * tmp_beg = buf.pbase();
34055 size_type tmp_size = (std::min)(static_cast<size_type>(specs.truncate_),
34059 if(static_cast<size_type>(w) <= tmp_size) {
34061 res.assign(tmp_beg, tmp_size);
34065 size_type sz = (std::min)(res_size + (prefix_space ? 1 : 0), tmp_size);
34066 size_type i = prefix_space;
34067 for(; i<sz && tmp_beg[i] == res[i - (prefix_space ? 1 : 0)]; ++i) {}
34068 if(i>=tmp_size) i=prefix_space;
34069 res.assign(tmp_beg, i);
34070 std::streamsize d = w - static_cast<std::streamsize>(tmp_size);
34071 (static_cast<void> ((d>0) ? 0 : (__assert ("d>0", "./boost/format/feed_args.hpp", 227, __PRETTY_FUNCTION__), 0)));
34072 res.append(static_cast<size_type>( d ), oss2.fill());
34073 res.append(tmp_beg+i, tmp_size-i);
34074 (static_cast<void> ((i+(tmp_size-i)+(std::max)(d,(std::streamsize)0) == static_cast<size_type>(w)) ? 0 : (__assert ("i+(tmp_size-i)+(std::max)(d,(std::streamsize)0) == static_cast<size_type>(w)", "./boost/format/feed_args.hpp", 231, __PRETTY_FUNCTION__), 0)));
34076 (static_cast<void> ((res.size() == static_cast<size_type>(w)) ? 0 : (__assert ("res.size() == static_cast<size_type>(w)", "./boost/format/feed_args.hpp", 232, __PRETTY_FUNCTION__), 0)));
34080 buf.clear_buffer();
34087 template< class Ch, class Tr, class Alloc, class T>
34088 void distribute (basic_format<Ch,Tr, Alloc>& self, T x) {
34090 if(self.cur_arg_ >= self.num_args_) {
34091 if( self.exceptions() & too_many_args_bit )
34092 boost::throw_exception(too_many_args(self.cur_arg_, self.num_args_));
34095 for(unsigned long i=0; i < self.items_.size(); ++i) {
34096 if(self.items_[i].argN_ == self.cur_arg_) {
34097 put<Ch, Tr, Alloc, T> (x, self.items_[i], self.items_[i].res_,
34098 self.buf_, boost::get_pointer(self.loc_) );
34103 template<class Ch, class Tr, class Alloc, class T>
34104 basic_format<Ch, Tr, Alloc>&
34105 feed (basic_format<Ch,Tr, Alloc>& self, T x) {
34106 if(self.dumped_) self.clear();
34107 distribute<Ch, Tr, Alloc, T> (self, x);
34109 if(self.bound_.size() != 0) {
34110 while( self.cur_arg_ < self.num_args_ && self.bound_[self.cur_arg_] )
34119 # 50 "./boost/format.hpp" 2
34120 # 1 "./boost/format/parsing.hpp" 1
34121 # 21 "./boost/format/parsing.hpp"
34122 # 1 "./boost/assert.hpp" 1
34123 # 36 "./boost/assert.hpp"
34124 # 1 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/assert.h" 1 3 4
34125 # 51 "/usr/local/src/blackfin/toolchains/20080521/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/assert.h" 3 4
34129 extern void __assert (const char *, const char *, int, const char *);
34132 # 37 "./boost/assert.hpp" 2
34133 # 22 "./boost/format/parsing.hpp" 2
34139 # 35 "./boost/format/parsing.hpp"
34141 const T& const_or_not(const T& x) {
34146 template<class Ch, class Facet> inline
34147 char wrap_narrow(const Facet& fac, Ch c, char deflt) {
34148 return const_or_not(fac).narrow(c, deflt);
34151 template<class Ch, class Facet> inline
34152 bool wrap_isdigit(const Facet& fac, Ch c) {
34154 return fac.is(std::ctype<Ch>::digit, c);
34161 template<class Iter, class Facet>
34162 Iter wrap_scan_notdigit(const Facet & fac, Iter beg, Iter end) {
34163 using namespace std;
34164 for( ; beg!=end && wrap_isdigit(fac, *beg); ++beg) ;
34173 template<class Res, class Iter, class Facet>
34174 Iter str2int (const Iter & start, const Iter & last, Res & res,
34177 using namespace std;
34180 for(it=start; it != last && wrap_isdigit(fac, *it); ++it ) {
34181 char cur_ch = wrap_narrow(fac, *it, 0);
34183 res += cur_ch - '0';
34193 template<class Iter, class Facet>
34194 Iter skip_asterisk(Iter start, Iter last, const Facet& fac)
34196 using namespace std;
34198 start = wrap_scan_notdigit(fac, start, last);
34199 if(start!=last && *start== const_or_not(fac).widen( '$') )
34208 inline void maybe_throw_exception(unsigned char exceptions,
34209 std::size_t pos, std::size_t size)
34211 if(exceptions & io::bad_format_string_bit)
34212 boost::throw_exception(io::bad_format_string(pos, size) );
34214 # 121 "./boost/format/parsing.hpp"
34215 template<class Ch, class Tr, class Alloc, class Iter, class Facet>
34216 bool parse_printf_directive(Iter & start, const Iter& last,
34217 detail::format_item<Ch, Tr, Alloc> * fpar,
34219 std::size_t offset, unsigned char exceptions)
34221 typedef typename basic_format<Ch, Tr, Alloc>::format_item_t format_item_t;
34223 fpar->argN_ = format_item_t::argN_no_posit;
34224 bool precision_set = false;
34225 bool in_brackets=false;
34226 Iter start0 = start;
34227 std::size_t fstring_size = last-start0+offset;
34230 maybe_throw_exception(exceptions, start-start0 + offset, fstring_size);
34234 if(*start== const_or_not(fac).widen( '|')) {
34236 if( ++start >= last ) {
34237 maybe_throw_exception(exceptions, start-start0 + offset, fstring_size);
34243 if(*start== const_or_not(fac).widen( '0'))
34247 if(wrap_isdigit(fac, *start)) {
34249 start = str2int(start, last, n, fac);
34250 if( start >= last ) {
34251 maybe_throw_exception(exceptions, start-start0+offset, fstring_size);
34256 if( *start == const_or_not(fac).widen( '%') ) {
34260 maybe_throw_exception(exceptions, start-start0+offset, fstring_size);
34266 if ( *start== const_or_not(fac).widen( '$') ) {
34272 fpar->fmtstate_.width_ = n;
34273 fpar->argN_ = format_item_t::argN_no_posit;
34274 goto parse_precision;
34280 while ( start != last) {
34282 switch ( wrap_narrow(fac, *start, 0)) {
34288 fpar->fmtstate_.flags_ |= std::ios_base::left;
34291 fpar->pad_scheme_ |= format_item_t::centered;
34294 fpar->fmtstate_.flags_ |= std::ios_base::internal;
34297 fpar->pad_scheme_ |= format_item_t::spacepad;
34300 fpar->fmtstate_.flags_ |= std::ios_base::showpos;
34303 fpar->pad_scheme_ |= format_item_t::zeropad;
34308 fpar->fmtstate_.flags_ |= std::ios_base::showpoint | std::ios_base::showbase;
34317 maybe_throw_exception(exceptions, start-start0+offset, fstring_size);
34323 if(*start == const_or_not(fac).widen( '*') )
34324 start = skip_asterisk(start, last, fac);
34325 if(start!=last && wrap_isdigit(fac, *start))
34326 start = str2int(start, last, fpar->fmtstate_.width_, fac);
34329 if( start>= last) {
34330 maybe_throw_exception(exceptions, start-start0+offset, fstring_size);
34334 if (*start== const_or_not(fac).widen( '.')) {
34336 if(start != last && *start == const_or_not(fac).widen( '*') )
34337 start = skip_asterisk(start, last, fac);
34338 if(start != last && wrap_isdigit(fac, *start)) {
34339 start = str2int(start, last, fpar->fmtstate_.precision_, fac);
34340 precision_set = true;
34343 fpar->fmtstate_.precision_ =0;
34347 while( start != last && ( *start== const_or_not(fac).widen( 'l')
34348 || *start== const_or_not(fac).widen( 'L')
34349 || *start== const_or_not(fac).widen( 'h')) )
34352 maybe_throw_exception(exceptions, start-start0+offset, fstring_size);
34356 if( in_brackets && *start== const_or_not(fac).widen( '|') ) {
34360 switch ( wrap_narrow(fac, *start, 0) ) {
34362 fpar->fmtstate_.flags_ |= std::ios_base::uppercase;
34365 fpar->fmtstate_.flags_ &= ~std::ios_base::basefield;
34366 fpar->fmtstate_.flags_ |= std::ios_base::hex;
34370 fpar->fmtstate_.flags_ &= ~std::ios_base::basefield;
34371 fpar->fmtstate_.flags_ |= std::ios_base::oct;
34375 fpar->fmtstate_.flags_ |= std::ios_base::uppercase;
34377 fpar->fmtstate_.flags_ &= ~std::ios_base::floatfield;
34378 fpar->fmtstate_.flags_ |= std::ios_base::scientific;
34380 fpar->fmtstate_.flags_ &= ~std::ios_base::basefield;
34381 fpar->fmtstate_.flags_ |= std::ios_base::dec;
34385 fpar->fmtstate_.flags_ &= ~std::ios_base::floatfield;
34386 fpar->fmtstate_.flags_ |= std::ios_base::fixed;
34390 fpar->fmtstate_.flags_ &= ~std::ios_base::basefield;
34391 fpar->fmtstate_.flags_ |= std::ios_base::dec;
34397 maybe_throw_exception(exceptions, start-start0+offset, fstring_size);
34399 fpar->fmtstate_.fill_ = *start;
34400 fpar->pad_scheme_ |= format_item_t::tabulation;
34401 fpar->argN_ = format_item_t::argN_tabulation;
34404 fpar->fmtstate_.fill_ = const_or_not(fac).widen( ' ');
34405 fpar->pad_scheme_ |= format_item_t::tabulation;
34406 fpar->argN_ = format_item_t::argN_tabulation;
34410 fpar->fmtstate_.flags_ |= std::ios_base::uppercase;
34413 fpar->fmtstate_.flags_ &= ~std::ios_base::basefield;
34414 fpar->fmtstate_.flags_ |= std::ios_base::dec;
34417 fpar->fmtstate_.flags_ &= ~std::ios_base::floatfield;
34422 fpar->truncate_ = 1;
34427 fpar->truncate_ = fpar->fmtstate_.precision_;
34428 fpar->fmtstate_.precision_ = 6;
34431 fpar->argN_ = format_item_t::argN_ignored;
34434 maybe_throw_exception(exceptions, start-start0+offset, fstring_size);
34438 if( in_brackets ) {
34439 if( start != last && *start== const_or_not(fac).widen( '|') ) {
34443 else maybe_throw_exception(exceptions, start-start0+offset, fstring_size);
34449 template<class String, class Facet>
34450 int upper_bound_from_fstring(const String& buf,
34451 const typename String::value_type arg_mark,
34453 unsigned char exceptions)
34457 using namespace boost::io;
34458 typename String::size_type i1=0;
34460 while( (i1=buf.find(arg_mark,i1)) != String::npos ) {
34461 if( i1+1 >= buf.size() ) {
34462 if(exceptions & bad_format_string_bit)
34463 boost::throw_exception(bad_format_string(i1, buf.size() ));
34469 if(buf[i1+1] == buf[i1] ) {
34475 i1 = detail::wrap_scan_notdigit(fac, buf.begin()+i1, buf.end()) - buf.begin();
34476 if( i1 < buf.size() && buf[i1] == arg_mark )
34482 template<class String> inline
34483 void append_string(String& dst, const String& src,
34484 const typename String::size_type beg,
34485 const typename String::size_type end) {
34487 dst.append(src.begin()+beg, src.begin()+end);
34501 template<class Ch, class Tr, class Alloc>
34502 basic_format<Ch, Tr, Alloc>& basic_format<Ch, Tr, Alloc>::
34503 parse (const string_type& buf) {
34505 using namespace std;
34507 const std::ctype<Ch> & fac = std::use_facet< std::ctype<Ch> >(getloc());
34513 const Ch arg_mark = io::detail::const_or_not(fac).widen( '%');
34514 bool ordered_args=true;
34518 int num_items = io::detail::upper_bound_from_fstring(buf, arg_mark, fac, exceptions());
34519 make_or_reuse_data(num_items);
34523 typename string_type::size_type i0=0, i1=0;
34524 typename string_type::const_iterator it;
34525 bool special_things=false;
34527 while( (i1=buf.find(arg_mark,i1)) != string_type::npos ) {
34528 string_type & piece = (cur_item==0) ? prefix_ : items_[cur_item-1].appendix_;
34529 if( buf[i1+1] == buf[i1] ) {
34530 io::detail::append_string(piece, buf, i0, i1+1);
34534 (static_cast<void> ((static_cast<unsigned int>(cur_item) < items_.size() || cur_item==0) ? 0 : (__assert ("static_cast<unsigned int>(cur_item) < items_.size() || cur_item==0", "./boost/format/parsing.hpp", 440, __PRETTY_FUNCTION__), 0)));
34537 io::detail::append_string(piece, buf, i0, i1);
34541 it = buf.begin()+i1;
34542 bool parse_ok = io::detail::parse_printf_directive(
34543 it, buf.end(), &items_[cur_item], fac, i1, exceptions());
34544 i1 = it - buf.begin();
34548 items_[cur_item].compute_states();
34550 int argN=items_[cur_item].argN_;
34551 if(argN == format_item_t::argN_ignored)
34553 if(argN ==format_item_t::argN_no_posit)
34554 ordered_args=false;
34555 else if(argN == format_item_t::argN_tabulation) special_things=true;
34556 else if(argN > max_argN) max_argN = argN;
34560 (static_cast<void> ((cur_item == num_items) ? 0 : (__assert ("cur_item == num_items", "./boost/format/parsing.hpp", 466, __PRETTY_FUNCTION__), 0)));
34564 string_type & piece = (cur_item==0) ? prefix_ : items_[cur_item-1].appendix_;
34565 io::detail::append_string(piece, buf, i0, buf.size());
34568 if( !ordered_args) {
34569 if(max_argN >= 0 ) {
34570 if(exceptions() & io::bad_format_string_bit)
34571 boost::throw_exception(io::bad_format_string(max_argN, 0));
34575 int non_ordered_items = 0;
34576 for(int i=0; i< num_items; ++i)
34577 if(items_[i].argN_ == format_item_t::argN_no_posit) {
34578 items_[i].argN_ = non_ordered_items;
34579 ++non_ordered_items;
34581 max_argN = non_ordered_items-1;
34585 items_.resize(num_items, format_item_t(io::detail::const_or_not(fac).widen( ' ')) );
34587 if(special_things) style_ |= special_needs;
34588 num_args_ = max_argN + 1;
34589 if(ordered_args) style_ |= ordered;
34590 else style_ &= ~ordered;
34595 # 51 "./boost/format.hpp" 2
34598 # 1 "./boost/format/free_funcs.hpp" 1
34599 # 19 "./boost/format/free_funcs.hpp"
34602 template<class Ch, class Tr, class Alloc> inline
34603 std::basic_string<Ch, Tr, Alloc> str(const basic_format<Ch, Tr, Alloc>& f) {
34608 using ::boost::str;
34612 template<class Ch, class Tr, class Alloc>
34613 std::basic_ostream<Ch, Tr> &
34614 operator<<( std::basic_ostream<Ch, Tr> & os,
34615 const basic_format<Ch, Tr, Alloc>& f)
34624 typedef boost::basic_format<Ch, Tr, Alloc> format_t;
34625 if(f.items_.size()==0)
34628 if(f.cur_arg_ < f.num_args_)
34629 if( f.exceptions() & io::too_few_args_bit )
34631 boost::throw_exception(io::too_few_args(f.cur_arg_, f.num_args_));
34632 if(f.style_ & format_t::special_needs)
34637 for(unsigned long i=0; i<f.items_.size(); ++i) {
34638 const typename format_t::format_item_t& item = f.items_[i];
34640 os << item.appendix_;
34649 # 54 "./boost/format.hpp" 2
34653 # 1 "./boost/format/detail/unset_macros.hpp" 1
34654 # 58 "./boost/format.hpp" 2
34659 boost::format f("%d\n");