Home
last modified time | relevance | path

Searched refs:test_string (Results 1 – 9 of 9) sorted by relevance

/openbsd-src/gnu/usr.bin/perl/cpan/Sys-Syslog/t/
H A Dsyslog-inet-udp.t83 my $test_string = "uid $< is testing Perl $] syslog(3) capabilities";
115 $r = eval { syslog('info', "$test_string by connecting to a $sock_type socket") } || 0;
161 $r = eval { syslog(-1, "$test_string by connecting to a $sock_type socket") } || 0;
166 $r = eval { syslog("plonk", "$test_string by connecting to a $sock_type socket") } || 0;
171 … $r = eval { syslog('info,notice', "$test_string by connecting to a $sock_type socket") } || 0;
176 … $r = eval { syslog('local0,local1', "$test_string by connecting to a $sock_type socket") } || 0;
181 $r = eval { syslog('info', "$test_string by connecting to a $sock_type socket") } || 0;
187 …$r = eval { syslog(LOG_INFO(), "$test_string by connecting to a $sock_type socket, setting a fake …
H A Dsyslog.t83 my $test_string = "uid $< is testing Perl $] syslog(3) capabilities";
115 $r = eval { syslog('info', "$test_string by connecting to a $sock_type socket") } || 0;
161 $r = eval { syslog(-1, "$test_string by connecting to a $sock_type socket") } || 0;
166 $r = eval { syslog("plonk", "$test_string by connecting to a $sock_type socket") } || 0;
171 … $r = eval { syslog('info,notice', "$test_string by connecting to a $sock_type socket") } || 0;
176 … $r = eval { syslog('local0,local1', "$test_string by connecting to a $sock_type socket") } || 0;
181 $r = eval { syslog('info', "$test_string by connecting to a $sock_type socket") } || 0;
187 …$r = eval { syslog(LOG_INFO(), "$test_string by connecting to a $sock_type socket, setting a fake …
/openbsd-src/regress/lib/libc/fread/
H A Dfread.c36 static char test_string[] = variable
62 char *ts = test_string; in dochild()
64 left = strlen(test_string); in dochild()
79 char *ts = test_string; in dotest()
120 if (strncmp(buf, test_string + off, nread) != 0) { in dotest()
122 iomode2str(iomode), (int)nread, test_string + off, in dotest()
/openbsd-src/gnu/usr.bin/perl/ext/XS-APItest/t/
H A Dutf8.t58 my $test_string = $all_invariants;
61 substr($test_string, $pos, 1) = $variant;
63 my $ret_ref = test_is_utf8_invariant_string_loc($test_string, $offset,
64 length $test_string);
82 my $test_string = $all_invariants;
85 substr($test_string, $pos, 1) = $variant;
87 is(test_variant_under_utf8_count($test_string, $offset, length $test_string),
114 my $test_string = $variant x ($word_length - 1)
121 is(test_variant_under_utf8_count($test_string, $offset,
122 length $test_string), $expected_count,
/openbsd-src/gnu/usr.bin/perl/t/base/
H A Drs.t21 test_string(*TESTFILE);
132 test_string(*TESTFILE);
143 sub test_string {
/openbsd-src/usr.bin/file/
H A Dmagic.h133 const char *test_string; member
H A Dmagic-test.c684 result = magic_test_eq(s, slen, ml->test_string, ml->test_string_size, in magic_test_type_string()
746 result = memcmp(s, ml->test_string, ml->test_string_size); in magic_test_type_pstring()
1019 if (regcomp(&re, ml->test_string, REG_EXTENDED|REG_NEWLINE|flags) != 0) in magic_test_type_regex()
1105 n = magic_test_eq(start, ms->size - ms->offset, ml->test_string, in magic_test_type_search()
1120 ml->test_string, size, cflag, bflag, Bflag); in magic_test_type_search()
H A Dmagic-load.c843 ml->test_string = NULL; in magic_parse_value()
900 ml->test_string = s; in magic_parse_value()
/openbsd-src/gnu/usr.bin/texinfo/makeinfo/
H A Dmakeinfo.c1936 char *test_string; in handle_menu_entry() local
1937 get_rest_of_line (0, &test_string); in handle_menu_entry()
1938 if (strlen (test_string) > 0) in handle_menu_entry()