Home
last modified time | relevance | path

Searched refs:std (Results 1 – 25 of 155) sorted by relevance

1234567

/illumos-gate/usr/src/head/
H A Dwchar.h39 using std::FILE;
40 using std::wint_t;
41 using std::clock_t;
42 using std::size_t;
43 using std::time_t;
44 using std::tm;
45 using std::mbstate_t;
46 using std::fgetwc;
47 using std::fgetws;
48 using std::fputwc;
[all …]
H A Dstdio.h98 using std::FILE;
99 using std::size_t;
100 using std::fpos_t;
101 using std::remove;
102 using std::rename;
103 using std::tmpfile;
104 using std::tmpnam;
105 using std::fclose;
106 using std::fflush;
107 using std::fopen;
[all …]
H A Dstdlib.h51 * C++ "std" namespace in <iso/stdlib_iso.h>.
54 using std::div_t;
55 using std::ldiv_t;
56 using std::size_t;
57 using std::abort;
58 using std::abs;
59 using std::atexit;
60 using std::atof;
61 using std::atoi;
62 using std
[all...]
H A Dstring.h42 using std::size_t;
43 using std::memchr;
44 using std::memcmp;
45 using std::memcpy;
46 using std::memmove;
47 using std::memset;
48 using std::strcat;
49 using std::strchr;
50 using std::strcmp;
51 using std::strcoll;
[all …]
H A Dwctype.h48 using std::wint_t;
49 using std::wctrans_t;
50 using std::iswalnum;
51 using std::iswalpha;
52 using std::iswcntrl;
53 using std::iswdigit;
54 using std::iswgraph;
55 using std::iswlower;
56 using std::iswprint;
57 using std::iswpunct;
[all …]
H A Dctype.h43 using std::isalnum;
44 using std::isalpha;
45 using std::iscntrl;
46 using std::isdigit;
47 using std::isgraph;
48 using std::islower;
49 using std::isprint;
50 using std::ispunct;
51 using std::isspace;
52 using std::isupper;
[all …]
H A Dtime.h55 using std::size_t;
56 using std::clock_t;
57 using std::time_t;
58 using std::tm;
59 using std::asctime;
60 using std::clock;
61 using std::ctime;
62 using std::difftime;
63 using std::gmtime;
64 using std::localtime;
[all …]
H A DREADME.cplusplus.md34 **std-primary**: ISO C library functions are declared inside `namespace std {}`.
35 The global namespace (`::`) is then populated via `using std::func` declarations.
38 `extern "C" {}`. The `std::` namespace is then populated via `using ::func`
43 namespace, and gives a clear rule for what may be exposed in `namespace std`.
46 std-primary layout let `using std::log` pull the float, double, and long double
53 ## Standards Basis: What Belongs in `::` vs. `namespace std`
58 - populate `namespace std` only with names the C++ standard requires
59 - keep extension names in `::`, not in `namespace std`
81 names that `<cmath>` places in `namespace std`. But the same paragraph makes
85 > namespace scope of the namespace `std` and are then injected into the global
[all …]
/illumos-gate/usr/src/test/header-tests/cfg/cxx-symbols/
H A Dcmath_h.cfg19 # <cmath> must provide all math functions in the "std::" namespace. The
23 # C90 functions available in std:: since C++98.
25 # required in std:: since C++11.
29 # Types - must be in std:: since C++11
31 type | std::float_t | cmath | CXX11+
32 type | std::double_t | cmath | CXX11+
35 # C90 double functions - must be in std:: since C++98
37 func | std::acos | double | double | cmath | CXX98+
38 func | std::asin | double | double | cmath | CXX98+
39 func | std::atan | double | double | cmath | CXX98+
[all …]
H A Dcwchar_h.cfg19 # <cwchar> must provide all C90/C99 wchar functions in namespace std::
20 # wchar_iso.h declares functions in namespace std::; wchar_c99.h
21 # does NOT wrap in namespace std:: (todo: 18190), so C99 symbols only
22 # reach std:: via GCC's using-declarations in <cwchar>.
26 # Types - must be in std::
28 type | std::mbstate_t | cwchar | CXX98+
29 type | std::size_t | cwchar | CXX98+
30 type | std::wint_t | cwchar | CXX98+
31 type | std::tm | cwchar | CXX98+
34 # Wide string functions - must be in std::
[all …]
H A Dcstdio_h.cfg19 # <cstdio> must provide all C90 stdio functions in namespace std::
20 # stdio_iso.h declares functions in namespace std:: and stdio_c99.h
21 # does NOT wrap in namespace std:: (todo: 18190), so C99 symbols
22 # only reach std:: via GCC's using-declarations in <cstdio>.
26 # Types - must be in std::
28 type | std::FILE | cstdio | CXX98+
29 type | std::fpos_t | cstdio | CXX98+
30 type | std::size_t | cstdio | CXX98+
33 # C90 file functions - must be in std::
35 func | std::fclose |\
[all …]
H A Dcstdlib_h.cfg19 # <cstdlib> must provide all C90 stdlib functions in namespace std::.
25 # Types - must be in std::
27 type | std::div_t | cstdlib | CXX98+
28 type | std::ldiv_t | cstdlib | CXX98+
29 type | std::size_t | cstdlib | CXX98+
30 type | std::lldiv_t | cstdlib | CXX11+
33 # C90 functions - must be in std::
35 func | std::abort |\
39 func | std::abs |\
43 func | std::atexit |\
[all …]
H A Dcstring_h.cfg19 # <cstring> must provide all C90 string functions in namespace std::.
20 # string_iso.h declares all functions in namespace std:: and <cstring>
30 # Types - must be in std::
32 type | std::size_t | cstring | CXX98+
35 # Memory functions - must be in std::
37 func | std::memcmp |\
41 func | std::memcpy |\
45 func | std::memmove |\
49 func | std::memset |\
53 func | std::memchr |\
[all …]
H A Dctime_h.cfg19 # <ctime> must provide all C90 time functions in namespace std::
20 # time_iso.h declares all functions in namespace std::
26 # Types - must be in std::
28 type | std::clock_t | ctime | CXX98+
29 type | std::time_t | ctime | CXX98+
30 type | std::tm | ctime | CXX98+
31 type | std::size_t | ctime | CXX98+
32 type | std::timespec | ctime | CXX17+
35 # C90 functions - must be in std::
37 func | std::clock |\
[all …]
/illumos-gate/usr/src/uts/sparc/v9/sys/
H A Dprivregs.h237 std %f0, [FP]; \
238 std %f2, [FP + 8]; \
239 std %f4, [FP + 16]; \
240 std %f6, [FP + 24]; \
241 std %f8, [FP + 32]; \
242 std %f10, [FP + 40]; \
243 std %f12, [FP + 48]; \
244 std %f14, [FP + 56]; \
245 std %f16, [FP + 64]; \
246 std %f18, [FP + 72]; \
[all …]
/illumos-gate/usr/src/common/bignum/sun4u/
H A Dmont_mulf_v8plus.s170 /* 0x001c */ std %f0,[%sp+120]
180 /* 0x0044 */ std %f0,[%sp+112]
212 /* 0x0088 */ std %f0,[%sp+104]
219 /* 0x00a4 */ std %f0,[%sp+96]
237 /* 0x00e8 */ std %f0,[%sp+104]
240 /* 0x00f4 */ std %f0,[%sp+96]
269 /* 0x015c 76 */ std %f0,[%sp+104]
278 /* 0x0180 */ std %f0,[%sp+96]
376 /* 0x0078 */ std %f6,[%g5]
383 /* 0x0094 */ std %f12,[%g5-32]
[all …]
H A Dmont_mulf_v9.s191 /* 0x009c */ std %f0,[%o4+%o0]
193 /* 0x00a4 */ std %f0,[%o4+%o1]
244 /* 0x0020 */ std %f0,[%sp+2247]
247 /* 0x002c */ std %f0,[%sp+2239]
286 /* 0x0098 */ std %f0,[%sp+2231]
289 /* 0x00a4 */ std %f0,[%sp+2223]
301 /* 0x00d4 */ std %f0,[%sp+2231]
308 /* 0x00f0 */ std %f2,[%sp+2223]
318 /* 0x0114 */ std %f0,[%sp+2231]
325 /* 0x0130 */ std %f2,[%sp+2223]
[all …]
H A Dmont_mulf_kernel_v9.S214 /* 0x006c */ std %f10,[%g1]
216 /* 0x0074 */ std %f14,[%g1+8]
564 /* 0x0088 */ std %f22,[%o2]
570 /* 0x00a0 */ std %f24,[%o2-56]
575 /* 0x00b4 */ std %f26,[%o2-48]
579 /* 0x00c4 */ std %f28,[%o2-40]
583 /* 0x00d4 */ std %f30,[%o2-32]
588 /* 0x00e8 */ std %f48,[%o2-24]
592 /* 0x00f8 */ std %f50,[%o2-16]
596 /* 0x0108 */ std %f52,[%o2-8]
[all …]
/illumos-gate/usr/src/lib/libc/sparc/fp/
H A D__quad.S58 std %f8,[%o2]
60 std %f10,[%o2+8]
69 std %f8,[%o2]
71 std %f10,[%o2+8]
80 std %f8,[%o2]
82 std %f10,[%o2+8]
91 std %f8,[%o2]
93 std %f10,[%o2+8]
100 std %f4,[%o1]
102 std %f6,[%o1+8]
[all …]
/illumos-gate/usr/src/lib/sun_fc/common/
H A DTgtFCHBA.h44 TgtFCHBA(std::string path);
48 virtual std::string getName();
51 static void loadAdapters(std::vector<HBA*> &list);
56 std::string name;
57 static const std::string FCT_DRIVER_PATH;
58 static const std::string FCT_ADAPTER_NAME_PREFIX;
59 static const std::string FCT_DRIVER_PKG;
H A DFCHBA.h44 FCHBA(std::string path);
48 virtual std::string getName();
52 static void loadAdapters(std::vector<HBA*> &list);
55 std::string name;
56 static const std::string FCSM_DRIVER_PATH;
57 static const std::string FCSM_DRIVER_PKG;
H A DTrace.h50 Trace(std::string myRoutine);
54 std::string label() { in label()
101 std::string routine;
109 static std::vector<std::vector<Trace *> > stacks;
110 static std::vector<std::string> indent;
H A DHBAList.h58 std::string getHBAName(int index);
59 std::string getTgtHBAName(int index);
60 Handle* openHBA(std::string name);
61 Handle* openTgtHBA(std::string name);
75 std::vector<HBA*> hbas;
76 std::vector<HBA*> tgthbas;
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dgetconf.c153 Path_t std[64]; in b_getconf() local
300 e = std; in b_getconf()
324 if (e >= &std[elementsof(std)]) in b_getconf()
340 } while (*s && e < &std[elementsof(std)]); in b_getconf()
341 if (e < &std[elementsof(std)]) in b_getconf()
344 if (++e < &std[elementsof(std)]) in b_getconf()
356 for (p = std; p < e; p++) in b_getconf()
375 for (p = std; p < e; p++) in b_getconf()
/illumos-gate/usr/src/test/libc-tests/tests/stdio/
H A Dorientation_test.c72 setup_std(FILE *std, int line) in setup_std() argument
76 if (freopen(filename, "r+", std) == NULL) in setup_std()
78 if ((r = fwide(std, 0)) != 0) in setup_std()
80 return (std); in setup_std()
92 #define TEST_STD_(std, x, op) \ argument
94 f = setup_std(std, __LINE__); \
103 #define TEST_UNCHANGED_STD(std, x) TEST_STD_(std, x, ==) argument
104 #define TEST_NARROW_STD(std, x) TEST_STD_(std, x, <) argument
105 #define TEST_WIDE_STD(std, x) TEST_STD_(std, x, >) argument

1234567