Home
last modified time | relevance | path

Searched refs:array1 (Results 1 – 12 of 12) sorted by relevance

/openbsd-src/gnu/lib/libstdc++/libstdc++/testsuite/21_strings/
H A Dchar_traits_requirements.cc55 char array1[] = {'z', 'u', 'm', 'a', ' ', 'b', 'e', 'a', 'c', 'h', 0}; in test01() local
57 int len = sizeof(str_lit1) + sizeof(array1) - 1; // two terminating chars in test01()
79 char* pc1 = array1 + 1; in test01()
81 c2 = array1[0]; in test01()
83 char* pc2 = std::char_traits<char>::move(array1, pc1, 0); in test01()
85 c4 = array1[0]; in test01()
88 VERIFY( pc2 == array1 ); in test01()
91 c2 = array1[0]; in test01()
93 pc2 = std::char_traits<char>::move(array1, pc1, 10); in test01()
95 c4 = array1[0]; in test01()
[all …]
/openbsd-src/gnu/lib/libstdc++/libstdc++/testsuite/27_io/
H A Distream_extractor_char.cc45 char array1[n]; in test01() local
50 i1 = ctraits_type::length(array1); in test01()
51 is_01 >> array1; // should snake 0 characters, not alter stream state in test01()
52 i2 = ctraits_type::length(array1); in test01()
59 is_02 >> array1; // should snake "coltrane" in test01()
63 VERIFY( array1[str_03.size() - 1] == 'e' ); in test01()
64 array1[str_03.size()] = '\0'; in test01()
65 VERIFY( !str_03.compare(0, str_03.size(), array1) ); in test01()
70 is_02 >> array1; // should snake "playing" as sentry "eats" ws in test01()
110 is_02 >> array1; // should snake a in test01()
[all …]
H A Dnarrow_stream_objects.cc81 char array1[20]; in test01() local
84 ctraits_type::copy(array1, "testing istream", i); in test01()
85 array1[i] = '\0'; in test01()
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_stackdepot_test.cpp77 uptr array1[] = {1, 2, 3, 4, 7}; in TEST_F() local
78 StackTrace s1(array1, ARRAY_SIZE(array1)); in TEST_F()
87 uptr array1[] = {0x111, 0x222, 0x333, 0x444, 0x777}; in TEST_F() local
88 StackTrace s1(array1, ARRAY_SIZE(array1)); in TEST_F()
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
H A D20010114-1.c10 int array1[1] = { 1 }; in main() local
12 if (array1[0] != 1) in main()
/openbsd-src/gnu/usr.bin/binutils/gdb/testsuite/gdb.base/
H A Dprintcmds.c78 unsigned char array1[4]; member
106 *parrays -> array1 + a1[0] + a2[0]; in main()
/openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/t/Legacy/
H A DMore.t125 my @array1 = (qw(this that whatever),
130 ok( !eq_array(\@array1, \@array2),
134 ok( !eq_set(\@array1, \@array2),
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/cpp/
H A Dline4.c17 char array1[i == 44 ? 1 : -1]; variable
/openbsd-src/gnu/usr.bin/perl/ext/Hash-Util/t/
H A DUtil.t626 my $array1= bucket_array({});
632 my @keys1= sort map { ref $_ ? @$_ : () } @$array1;
/openbsd-src/gnu/usr.bin/binutils/gdb/testsuite/gdb.stabs/
H A Dweird.def623 .stabs "array1:G208=aeai1_red:0,ai1_green:1,ai1_blue:2,;;1", N_GSYM,0,0, 0
624 .globl array1
627 array1:
/openbsd-src/gnu/usr.bin/perl/cpan/perlfaq/lib/
H A Dperlfaq4.pod1588 foreach my $element (@array1, @array2) { $count{$element}++ }
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/
H A DChangeLog2685 * g++.dg/init/array1.C: Remove invalid braces.
11561 * g++.old-deja/g++.brendan/array1.C: Modify explicit external libc
13032 * g++.old-deja/g++.brendan/array1.C: Size array via arithmetic based