Searched refs:string (Results 1 - 25 of 8741) sorted by relevance

1234567891011>>

/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.mike/
H A Deh13.C4 #include <string>
H A Dexplicit2.C3 class string { class
5 string(const char*) { } function in class:string
6 explicit string(int size) { } function in class:string
9 void foo(string) { }
11 string bar() {
13 foo(string(2)); // ok
14 foo(2); // ERROR - no implicit conversion from int to string
15 string x = 2; // ERROR - no implicit conversion from int to string
16 string
[all...]
/openbsd-current/regress/misc/exceptions/libbar/
H A Dbar.cc1 #include <string>
3 std::string bar("bar");
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.jason/
H A Dcast3.C4 struct string struct
7 string (string &);
8 string (char * = 0);
10 ~string ();
13 void _cook(const string raw, bool for_postscript)
15 unsigned char c = (unsigned) ((string &)raw)[1];
H A Doperator2.C4 class string { class
7 string(const char* s) ;// { p == s; }
11 void f4(string& s)
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.brendan/
H A Dcrash30.C3 #include <string>
8 std::string a[] = {"Hello"};
/openbsd-current/include/
H A Dmemory.h35 #include <string.h>
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g77.f-torture/execute/
H A D1832.f2 character*5 string variable
4 write(string, *) "a ", file
5 if (string .ne. ' a') call abort
7 C-- "file" is not printed because it would overflow "string".
/openbsd-current/gnu/usr.bin/texinfo/lib/
H A Dxstrdup.c1 /* xstrdup.c -- copy a string with out of memory checking
25 #include <string.h>
30 xstrdup (const char *string) argument
32 return strcpy (xmalloc (strlen (string) + 1), string);
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/cpp/
H A D19990228-1.c5 #define foo(string, arg) bar(2, string, arg)
24 { dg-final { if { [string length $tmp] == 0 } \{ } }
/openbsd-current/gnu/llvm/clang/include/clang/Basic/
H A DVersion.h25 std::string getClangRepositoryPath();
30 std::string getLLVMRepositoryPath();
34 std::string getClangRevision();
40 /// string as getClangRevision.
41 std::string getLLVMRevision();
45 std::string getClangFullRepositoryVersion();
47 /// Retrieves a string representing the complete clang version,
50 std::string getClangFullVersion();
53 std::string getClangToolFullVersion(llvm::StringRef ToolName);
55 /// Retrieves a string representin
[all...]
/openbsd-current/gnu/llvm/libcxx/src/
H A Dstdexcept.cpp11 #include <string>
/openbsd-current/usr.sbin/netgroup_mkdb/
H A Dstr.h31 struct string { struct
37 void str_init(struct string *);
38 void str_append(struct string *, const char *, int);
39 void str_prepend(struct string *, const char *, int);
40 void str_free(struct string *);
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.other/
H A Doptimize3.C9 inline const unsigned char *Foo (const char *string) argument
20 p1 = string;
25 const unsigned char *Baz (const char *string) argument
27 return Foo (string);
32 const char *string = "s"; local
35 result = Baz (string);
37 != static_cast <const void *> (string));
/openbsd-current/gnu/usr.bin/perl/lib/
H A Dmeta_notation.pm11 # Returns a copy of the input string with the nonprintable characters
35 my $string = shift;
37 $string =~ s/([\0-\037])/
39 $string =~ s/\c?/^?/g;
41 $string =~ s/([\200-\237])/sprintf("M-^%c",(ord($1)&0177)^64)/eg;
42 $string =~ s/([\240-\377])/sprintf("M-%c" ,ord($1)&0177)/eg;
46 $string =~ s/( (?[ [\x00-\xFF] & [:^print:]])) /
50 return $string;
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.robertl/
H A Deb35.C3 class string class
6 string();
7 string(const string& x);
8 string(const char* t);
10 ~string();
13 void set_status(string message);
17 string cause;
20 StatusDelay(const string& c)
H A Deb38.C2 class string class
5 string();
6 string(const string& x);
7 string(const char* t);
9 ~string();
12 void set_status(string message);
16 string cause;
19 StatusDelay(const string& c)
/openbsd-current/gnu/usr.bin/binutils/bfd/
H A Dcpu-tic4x.c31 tic4x_scan (info, string)
33 const char *string;
37 if (string[0] == 't' && string[1] == 'i')
38 string += 2;
39 if (*string == 'C' || *string == 'c')
40 string++;
41 if (string[1] < '0' && string[
[all...]
H A Dcpu-h8300.c27 h8300_scan (const struct bfd_arch_info *info, const char *string) argument
29 if (*string != 'h' && *string != 'H')
32 string++;
33 if (*string != '8')
36 string++;
37 if (*string == '/')
38 string++;
40 if (*string != '3')
42 string
[all...]
/openbsd-current/gnu/usr.bin/binutils-2.17/bfd/
H A Dcpu-tic4x.c31 tic4x_scan (info, string)
33 const char *string;
37 if (string[0] == 't' && string[1] == 'i')
38 string += 2;
39 if (*string == 'C' || *string == 'c')
40 string++;
41 if (string[1] < '0' && string[
[all...]
H A Dcpu-h8500.c30 scan_mach (info, string)
32 const char *string;
34 if (strcmp (string,"h8/500") == 0)
36 if (strcmp (string,"H8/500") == 0)
38 if (strcmp (string,"h8500") == 0)
40 if (strcmp (string,"H8500") == 0)
/openbsd-current/lib/librpcsvc/
H A Dyppasswd.x54 string pw_name<>; /* username */
55 string pw_passwd<>; /* encrypted password */
58 string pw_gecos<>; /* in real life name */
59 string pw_dir<>; /* home directory */
60 string pw_shell<>; /* default shell */
64 string oldpass<>; /* unencrypted old password */
/openbsd-current/gnu/lib/libstdc++/libstdc++/src/
H A Dmisc-inst.cc35 #include <string>
44 // string related to iostreams
47 operator>>(basic_istream<char>&, string&);
50 operator<<(basic_ostream<char>&, const string&);
53 getline(basic_istream<char>&, string&, char);
56 getline(basic_istream<char>&, string&);
79 string*
80 __uninitialized_fill_n_aux<string*, size_t, string>
81 (string*, size_
[all...]
/openbsd-current/gnu/llvm/llvm/tools/llvm-rc/
H A DResourceScriptCppFilter.h26 #include <string>
30 std::string filterCppOutput(StringRef Input);
/openbsd-current/gnu/usr.bin/perl/cpan/Pod-Simple/t/
H A Dascii_order.pl5 my $string = shift;
7 return $string if ord("A") == 65
10 for my $i (0 .. length($string) - 1) {
11 $output .= chr(utf8::native_to_unicode(ord(substr($string, $i, 1))));
15 utf8::upgrade($output) if utf8::is_utf8($string);

Completed in 154 milliseconds

1234567891011>>