/freebsd/contrib/netbsd-tests/ipf/ |
H A D | t_nat_parse.sh | 40 test_case in1 intest text text 41 test_case in2 intest text text 42 test_case in3 intest text text 43 test_case in4 intest text text 44 test_case in5 intest text text 45 test_case in6 intest text text 46 test_case in7 intest text text 47 test_case in100 intest text text 48 test_case in101 intest text text 49 test_case in102 intest text text [all …]
|
H A D | t_nat_exec.sh | 63 test_case n1 nattest text text 64 test_case n2 nattest text text 65 test_case n3 nattest text text 66 test_case n4 nattest text text 67 test_case n5 nattest text text 68 test_case n6 nattest text text 69 test_case n7 nattest text text 73 test_case n11 nattest text text 75 test_case n13 nattest text text 76 test_case n14 nattest text text [all …]
|
H A D | t_pools.sh | 66 test_case f28 ptest text text 67 test_case f29 ptest text text 68 test_case p1 ptest text text 69 test_case p2 ptest text text 70 test_case p3 ptest text text 71 test_case p4 ptest text text 72 test_case p5 ptest text text 73 test_case p6 ptest text text 74 test_case p7 ptest text text 75 test_case p9 ptest text text [all …]
|
H A D | t_filter_exec.sh | 111 test_case f1 dotest text text 112 test_case f2 dotest text text 113 test_case f3 dotest text text 114 test_case f4 dotest text text 115 test_case f5 dotest text text 116 test_case f6 dotest text text 117 test_case f7 dotest text text 118 test_case f8 dotest text text 119 test_case f9 dotest text text 120 test_case f10 dotest text text [all …]
|
/freebsd/contrib/kyua/utils/text/ |
H A D | operations_test.cpp | 40 namespace text = utils::text; 57 const std::vector< std::string > lines = text::split(expected, '\n'); in refill_test() 59 ATF_REQUIRE_EQ(expected, text::refill_as_string(input, width)); in refill_test() 60 ATF_REQUIRE(lines == text::refill(input, width)); in refill_test() 71 ATF_REQUIRE_EQ("", text::escape_xml("")); in ATF_TEST_CASE_BODY() 78 ATF_REQUIRE_EQ("a", text::escape_xml("a")); in ATF_TEST_CASE_BODY() 79 ATF_REQUIRE_EQ("Some text!", text::escape_xml("Some text!")); in ATF_TEST_CASE_BODY() 80 ATF_REQUIRE_EQ("\n\t\r", text::escape_xml("\n\t\r")); in ATF_TEST_CASE_BODY() 87 ATF_REQUIRE_EQ("'", text::escape_xml("'")); in ATF_TEST_CASE_BODY() 90 text::escape_xml("foo \"bar& <tag> yay' baz")); in ATF_TEST_CASE_BODY() [all …]
|
H A D | table_test.cpp | 37 namespace text = utils::text; 57 const text::table_formatter& formatter, in table_formatter_check() 58 const text::table& table) in table_formatter_check() 60 ATF_REQUIRE_EQ(expected, text::join(formatter.format(table), "\n") + "\n"); in table_formatter_check() 68 ATF_REQUIRE_EQ(5, text::table(5).ncolumns()); in ATF_TEST_CASE_BODY() 69 ATF_REQUIRE_EQ(10, text::table(10).ncolumns()); in ATF_TEST_CASE_BODY() 76 text::table_row row1; in ATF_TEST_CASE_BODY() 79 text::table_row row2; in ATF_TEST_CASE_BODY() 83 text::table table(2); in ATF_TEST_CASE_BODY() 95 text::table_row row1; in ATF_TEST_CASE_BODY() [all …]
|
H A D | table.cpp | 39 namespace text = utils::text; 55 static text::widths_vector 56 override_column_widths(const text::table& table, in override_column_widths() 57 const text::widths_vector& user_widths) in override_column_widths() 60 text::widths_vector widths = table.column_widths(); in override_column_widths() 63 for (text::widths_vector::size_type i = 0; i < user_widths.size(); ++i) { in override_column_widths() 64 const text::widths_vector::value_type& user_width = user_widths[i]; in override_column_widths() 65 if (user_width != text::table_formatter::width_auto) { in override_column_widths() 66 PRE_MSG(user_width == text::table_formatter::width_refill || in override_column_widths() 86 static text::widths_vector::size_type [all …]
|
H A D | regex_test.cpp | 35 namespace text = utils::text; 41 const text::regex_matches matches = text::match_regex( in ATF_TEST_CASE_BODY() 51 const text::regex_matches matches = text::match_regex( in ATF_TEST_CASE_BODY() 62 const text::regex_matches matches = text::match_regex( in ATF_TEST_CASE_BODY() 74 const text::regex_matches matches = text::match_regex( in ATF_TEST_CASE_BODY() 87 const text::regex_matches matches = text::match_regex( in ATF_TEST_CASE_BODY() 99 const text::regex_matches matches = text::match_regex( in ATF_TEST_CASE_BODY() 112 const text::regex regex = text::regex::compile("number is ([0-9]+)", 1); in ATF_TEST_CASE_BODY() 115 const text::regex_matches matches = regex.match("my number is 581."); in ATF_TEST_CASE_BODY() 123 const text::regex_matches matches = regex.match("your number is 6"); in ATF_TEST_CASE_BODY() [all …]
|
H A D | templates_test.cpp | 41 namespace text = utils::text; 56 do_test_ok(const text::templates_def& templates, const std::string& input_str, in do_test_ok() 62 text::instantiate(templates, input, output); in do_test_ok() 76 do_test_fail(const text::templates_def& templates, const std::string& input_str, in do_test_fail() 82 ATF_REQUIRE_THROW_RE(text::syntax_error, exp_message, in do_test_fail() 83 text::instantiate(templates, input, output)); in do_test_fail() 93 text::templates_def templates; in ATF_TEST_CASE_BODY() 102 text::templates_def templates; in ATF_TEST_CASE_BODY() 112 text::templates_def templates; in ATF_TEST_CASE_BODY() 116 ATF_REQUIRE_THROW(text::syntax_error, templates.get_variable("the-name")); in ATF_TEST_CASE_BODY() [all …]
|
/freebsd/contrib/file/magic/Magdir/ |
H A D | commands | 6 #0 string/w : shell archive or script for antique kernel text 7 0 string/fwt #!\ /bin/sh POSIX shell script text executable 8 !:mime text/x-shellscript 10 !:mime text/x-shellscript 14 0 string/fwt #!\ /bin/csh C shell script text executable 15 !:mime text/x-shellscript 18 0 string/fwt #!\ /bin/ksh Korn shell script text executable 19 !:mime text/x-shellscript 21 !:mime text/x-shellscript 23 0 string/fwt #!\ /bin/tcsh Tenex C shell script text executable [all …]
|
H A D | tex | 10 # Although we may know the offset of certain text fields in TeX DVI 22 0 search/1 This\ is\ TeX, TeX transcript text 23 0 search/1 This\ is\ METAFONT, METAFONT transcript text 36 0 search/1 \\input\ texinfo Texinfo source text 37 !:mime text/x-texinfo 38 0 search/1 This\ is\ Info\ file GNU Info text 39 !:mime text/x-info 42 0 search/4096 \\input TeX document text 43 !:mime text/x-tex 45 0 search/4096 \\begin LaTeX document text [all …]
|
H A D | sgml | 20 >>19 search/4096 \<urlset XML Sitemap document text 32 >19 search/4096/cWbt \<!doctype\ html XHTML document text 34 !:mime text/html 36 >19 search/4096/cWbt \<!doctype\ html XHTML document text 38 !:mime text/html 40 >19 search/4096/cWbt \<html broken XHTML document text 42 !:mime text/html 49 0 search/4096/cWt \<!doctype\ html HTML document text 50 !:mime text/html 54 0 string/cWt \<!doctype\ html HTML document text [all …]
|
H A D | c-lang | 8 0 search/8192 "libhdr" BCPL source text 9 !:mime text/x-bcpl 10 0 search/8192 "LIBHDR" BCPL source text 11 !:mime text/x-bcpl 19 >>&0 clear x source text 21 !:mime text/x-c 23 >0 regex \^#[[:space:]]*pragma C source text 24 !:mime text/x-c 27 >>&0 regex \^#[[:space:]]*endif$ C source text 28 !:mime text/x-c [all …]
|
H A D | clojure | 6 0 string/w #!\ /usr/bin/clj Clojure script text executable 7 !:mime text/x-clojure 8 0 string/w #!\ /usr/local/bin/clj Clojure script text executable 9 !:mime text/x-clojure 10 0 string/w #!\ /usr/bin/clojure Clojure script text executable 11 !:mime text/x-clojure 12 0 string/w #!\ /usr/local/bin/clojure Clojure script text executable 13 !:mime text/x-clojure 14 0 string/W #!/usr/bin/env\ clj Clojure script text executable 15 !:mime text/x-clojure [all …]
|
/freebsd/contrib/expat/tests/ |
H A D | alloc_tests.c | 77 const char *text = "<?xml version='1.0' encoding='utf-8'?>\n" in START_TEST() local 85 if (_XML_Parse_SINGLE_BYTES(g_parser, text, (int)strlen(text), XML_TRUE) in START_TEST() 107 const char *text in START_TEST() local 135 if (_XML_Parse_SINGLE_BYTES(g_parser, text, (int)strlen(text), XML_TRUE) in START_TEST() 151 const char *text = "<?xml version='1.0' encoding='utf-8'?>\n" in START_TEST() local 162 if (_XML_Parse_SINGLE_BYTES(g_parser, text, (int)strlen(text), XML_TRUE) in START_TEST() 177 const char *text = "<?xml version='1.0' encoding='utf-8'?>\n" in START_TEST() local 188 if (_XML_Parse_SINGLE_BYTES(g_parser, text, (int)strlen(text), XML_TRUE) in START_TEST() 203 const char *text in START_TEST() local 229 if (_XML_Parse_SINGLE_BYTES(g_parser, text, (int)strlen(text), XML_TRUE) in START_TEST() [all …]
|
H A D | ns_tests.c | 69 const char *text = "<foo:e xmlns:foo='http://example.org/' bar:a='12'\n" in START_TEST() local 82 if (_XML_Parse_SINGLE_BYTES(g_parser, text, (int)strlen(text), XML_FALSE) in START_TEST() 122 run_ns_tagname_overwrite_test(const char *text, const XML_Char *result) { in run_ns_tagname_overwrite_test() argument 128 if (_XML_Parse_SINGLE_BYTES(g_parser, text, (int)strlen(text), XML_TRUE) in run_ns_tagname_overwrite_test() 136 const char *text = "<n:e xmlns:n='http://example.org/'>\n" in START_TEST() local 148 run_ns_tagname_overwrite_test(text, result); in START_TEST() 154 const char *text = "<n:e xmlns:n='http://example.org/'>\n" in START_TEST() local 167 run_ns_tagname_overwrite_test(text, result); in START_TEST() 177 const char *text = "<e xmlns='http://example.org/'></e>"; in START_TEST() local 183 if (_XML_Parse_SINGLE_BYTES(g_parser, text, (int)strlen(text), XML_TRUE) in START_TEST() [all …]
|
H A D | basic_tests.c | 82 char text[] = "<doc>\0</doc>"; in START_TEST() local 85 if (_XML_Parse_SINGLE_BYTES(g_parser, text, sizeof(text) - 1, XML_TRUE) in START_TEST() 137 const char *text = "\357\273\277<e/>"; in START_TEST() local 139 if (_XML_Parse_SINGLE_BYTES(g_parser, text, (int)strlen(text), XML_TRUE) in START_TEST() 146 char text[] = "\376\377\0<\0e\0/\0>"; in START_TEST() local 148 if (_XML_Parse_SINGLE_BYTES(g_parser, text, sizeof(text) - 1, XML_TRUE) in START_TEST() 155 char text[] = "\377\376<\0e\0/\0>\0"; in START_TEST() local 157 if (_XML_Parse_SINGLE_BYTES(g_parser, text, sizeof(text) - 1, XML_TRUE) in START_TEST() 164 char text[] = " \0<\0e\0/\0>\0"; in START_TEST() local 172 if (_XML_Parse_SINGLE_BYTES(g_parser, text, sizeof(text) - 1, XML_TRUE) in START_TEST() [all …]
|
H A D | nsalloc_tests.c | 79 const char *text = "<doc xmlns='http://example.org/'>\n" in START_TEST() local 89 if (_XML_Parse_SINGLE_BYTES(g_parser, text, (int)strlen(text), XML_TRUE) in START_TEST() 109 const char *text = "<doc>Hello</doc>"; in START_TEST() local 143 buffer = XML_GetBuffer(g_parser, (int)strlen(text)); in START_TEST() 147 memcpy(buffer, text, strlen(text)); in START_TEST() 148 if (XML_ParseBuffer(g_parser, (int)strlen(text), XML_TRUE) in START_TEST() 153 if (XML_ParseBuffer(g_parser, (int)strlen(text), XML_TRUE) in START_TEST() 158 if (XML_GetBuffer(g_parser, (int)strlen(text)) != NULL) in START_TEST() 165 if (XML_ParseBuffer(g_parser, (int)strlen(text), XML_TRUE) in START_TEST() 170 if (XML_GetBuffer(g_parser, (int)strlen(text)) != NULL) in START_TEST() [all …]
|
/freebsd/contrib/byacc/test/yacc/ |
H A D | grammar.tab.c | 163 typedef struct text { struct 164 char text[MAX_TEXT_SIZE]; /* source text */ member 181 char *text; /* source text */ member 197 char *text; /* source text */ member 233 Text text; member 1392 if (strcmp(yystack.l_mark[0].declarator->text, yystack.l_mark[0].declarator->name) != 0) in YYPARSE_DECL() 1404 if (strcmp(yystack.l_mark[0].declarator->text, yystack.l_mark[0].declarator->name) != 0) in YYPARSE_DECL() 1488 free(yystack.l_mark[-1].decl_spec.text); in YYPARSE_DECL() 1489 free(yystack.l_mark[0].decl_spec.text); in YYPARSE_DECL() 1496 …new_decl_spec(&yyval.decl_spec, yystack.l_mark[0].text.text, yystack.l_mark[0].text.begin, DS_NONE… in YYPARSE_DECL() [all …]
|
/freebsd/crypto/openssl/external/perl/Text-Template-1.56/t/ |
H A D | basic.t | 55 my $text = $template->fill_in('package' => 'X'); 56 is $text, $resultX; 59 $text = $template->fill_in('package' => 'Y'); 60 is $text, $resultY; 63 $text = Text::Template->fill_this_in($template_1, 'package' => 'X'); 64 is $text, $resultX; 73 $text = $template->fill_in('package' => 'X'); 74 is $text, $resultX; 77 $text = $template->fill_in('package' => 'Y'); 78 is $text, $resultY; [all …]
|
/freebsd/contrib/byacc/test/ |
H A D | grammar.y | 20 %token <text> '(' '*' '&' 76 %type <text> struct_or_union pointer opt_type_qualifiers type_qualifier_list 78 %type <text> enumeration 133 typedef struct text { struct 134 char text[MAX_TEXT_SIZE]; /* source text */ argument 151 char *text; /* source text */ member 167 char *text; /* source text */ member 203 Text text; member 466 if (strcmp($1->text, $1->name) != 0) 475 if (strcmp($3->text, $3->name) != 0) [all …]
|
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/i386/ |
H A D | dt_isadep.c | 86 uint8_t *text, fasttrap_probe_spec_t *ftp, const GElf_Sym *symp) in dt_pid_has_jump_table() argument 104 size = dt_instr_size(&text[i], dtp, pid, symp->st_value + i, in dt_pid_has_jump_table() 121 if ((text[i] == 0xff && DT_MODRM_REG(text[i + 1]) == 4) || in dt_pid_has_jump_table() 122 (dmodel == PR_MODEL_LP64 && (text[i] & 0xf0) == 0x40 && in dt_pid_has_jump_table() 123 text[i + 1] == 0xff && DT_MODRM_REG(text[i + 2]) == 4)) { in dt_pid_has_jump_table() 139 uint8_t *text; in dt_pid_create_return_probe() local 154 if ((text = calloc(1, symp->st_size + 4)) == NULL) { in dt_pid_create_return_probe() 159 if (Pread(P, text, symp->st_size, symp->st_value) != symp->st_size) { in dt_pid_create_return_probe() 161 free(text); in dt_pid_create_return_probe() 183 if (dt_pid_has_jump_table(P, dtp, text, ftp, symp)) { in dt_pid_create_return_probe() [all …]
|
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/sparc/ |
H A D | dt_isadep.c | 76 uint32_t *text; in dt_pid_create_return_probe() local 80 if ((text = malloc(symp->st_size + 4)) == NULL) { in dt_pid_create_return_probe() 85 if (Pread(P, text, symp->st_size, symp->st_value) != symp->st_size) { in dt_pid_create_return_probe() 87 free(text); in dt_pid_create_return_probe() 95 text[symp->st_size / 4] = 0; in dt_pid_create_return_probe() 108 while (text[i] == FASTTRAP_INSTR) { in dt_pid_create_return_probe() 118 if (Pread(P, &text[i], 4, in dt_pid_create_return_probe() 122 free(text); in dt_pid_create_return_probe() 128 free(text); in dt_pid_create_return_probe() 134 text[i] = instr.ftiq_instr; in dt_pid_create_return_probe() [all …]
|
/freebsd/contrib/libxo/tests/core/saved/ |
H A D | test_12.H.out | 1 …text color-fg-red color-bg-green">Merry XMas!!</div></div><div class="line"><div class="text">One …
|
H A D | test_12.HP.out | 2 <div class="text color-fg-red color-bg-green">Merry XMas!!</div> 5 <div class="text">One </div> 7 <div class="text">, Two </div> 11 <div class="text">The </div> 13 <div class="text"> is </div> 15 <div class="text"> til </div> 19 <div class="text">My </div> 21 <div class="text"> hand is </div> 23 <div class="text"> til </div> 27 <div class="text">The </div> [all …]
|