/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/ |
H A D | tst.lib_strings.lua | 74 assert(string.byte(string.char(255)) == 255) 75 assert(string.byte(string.char(0)) == 0) 77 assert(string.byte("\0\0alo\0x", -1) == string.byte('x')) 88 assert(string.char(0, string.byte("\xe4"), 0) == "\0\xe4\0") 90 assert(string.char(string.byte("\xe4l\0\195\179u", 1, 0)) == "") 103 assert(string.rep('', 10, '.') == string.rep('.', 9)) 109 for i=0,30 do assert(string.len(string.rep('a', i)) == i) end 116 assert(string.format("\0%c\0%c%x\0", string.byte("\xe4"), string.byte("b"), 140) == 119 assert(string.format("%c",34)..string.format("%c",48)..string.format("%c",90)..string.format("%c",1… 127 assert(string.format("-%.20s.20s", string.rep("%", 2000)) == [all …]
|
/freebsd/contrib/libcbor/test/ |
H A D | string_test.c | 13 cbor_item_t *string; variable 20 assert_non_null(string); in test_empty_string() 26 cbor_decref(&string); in test_empty_string() 27 assert_null(string); in test_empty_string() 43 cbor_decref(&string); in test_short_string() 44 assert_null(string); in test_short_string() 61 cbor_decref(&string); in test_short_multibyte_string() 62 assert_null(string); in test_short_multibyte_string() 94 cbor_decref(&string); in test_int8_string() 95 assert_null(string); in test_int8_string() [all …]
|
/freebsd/contrib/arm-optimized-routines/string/ |
H A D | Dir.mk | 7 B := build/string 10 all-string bench-string check-string install-string clean-string: 21 string-libs := \ 65 all-string: $(string-libs) $(string-tests) $(string-benches) $(string-includes) 67 $(string-objs): $(string-includes) 68 $(string-objs): CFLAGS_ALL += $(string-cflags) 92 string-tests-out = $(string-tests:build/bin/test/%=build/string/test/%.out) 98 check-string: $(string-tests-out) 101 bench-string: $(string-benches) 109 clean-string: [all …]
|
/freebsd/contrib/llvm-project/llvm/tools/bugpoint/ |
H A D | ToolRunner.h | 43 : CCPath(std::string(ccPath)), RemoteClientPath(std::string(RemotePath)) { in CC() 63 const std::string &ProgramFile, const std::vector<std::string> &Args, 66 const std::vector<std::string> &CCArgs = std::vector<std::string>(), 136 const std::string &Bitcode, const std::vector<std::string> &Args, 137 const std::string &InputFile, const std::string &OutputFile, 138 const std::vector<std::string> &CCArgs = std::vector<std::string>(), 139 const std::vector<std::string> &SharedLibs = std::vector<std::string>(), 170 const std::string &Bitcode, const std::vector<std::string> &Args, 171 const std::string &InputFile, const std::string &OutputFile, 172 const std::vector<std::string> &CCArgs = std::vector<std::string>(), [all …]
|
H A D | ToolRunner.cpp | 34 cl::opt<std::string> 47 cl::opt<std::string> 148 LLI(const std::string &Path, const std::vector<std::string> *Args) in LLI() 157 const std::string &Bitcode, const std::vector<std::string> &Args, 158 const std::string &InputFile, const std::string &OutputFile, 254 const std::string &InputFile, const std::string &OutputFile, in ExecuteProgram() 303 const std::string &InputFile, const std::string &OutputFile, 311 const std::string &Bitcode, const std::vector<std::string> &Args, in ExecuteProgram() 312 const std::string &InputFile, const std::string &OutputFile, in ExecuteProgram() 536 JIT(const std::string &Path, const std::vector<std::string> *Args) in JIT() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/ |
H A D | FuzzerIO.h | 18 long GetEpoch(const std::string &Path); 23 std::string FileToString(const std::string &Path); 29 void WriteToFile(const std::string &Data, const std::string &Path); 33 void AppendToFile(const std::string &Data, const std::string &Path); 40 std::string DirPlusFile(const std::string &DirPath, 44 std::string DirName(const std::string &FileName); 47 std::string TmpDir(); 88 std::string File; 98 std::string Basename(const std::string &Path); 107 void RenameFile(const std::string &OldPath, const std::string &NewPath); [all …]
|
/freebsd/usr.bin/m4/tests/ |
H A D | quotes.m4 | 5 `quoted string' 6 [quoted string] 7 normal string 13 `quoted string' 14 [quoted string] 15 normal string 21 `quoted string' 23 normal string 31 normal string 39 normal string [all …]
|
/freebsd/contrib/file/magic/Magdir/ |
H A D | pgp | 111 >12 string \x04\x00 112 >12 string \x03\xff 113 >12 string \x03\xfe 114 >12 string \x03\xfd 115 >12 string \x03\xfc 116 >12 string \x03\xfb 117 >12 string \x03\xfa 118 >12 string \x03\xf9 128 >13 string \x08\x00 129 >13 string \x07\xff [all …]
|
H A D | macintosh | 50 >2 string x : %s 52 >2 string x : %s 54 >2 string x : %s 72 #>2 string x : %s 74 #>2 string x : %s 76 #>2 string x : %s 78 #>2 string x : %s 80 #>2 string x : %s 374 #>8 string x %s 395 >24 string x %s [all …]
|
H A D | sgi | 36 >16 string >\0 '%s' 40 >16 string >\0 '%s' 47 >36 string >\0 '%s' 91 0 string PCPFolio PCP 95 >9 string Version 98 >9 string Version 101 >7 string Version 104 >10 string Version 107 >13 string Version 110 >4 string 1 Index [all …]
|
H A D | palm | 45 #>0 string >\0 "%s" 49 #>0 string >\0 "%s" 53 >0 string >\0 "%s" 75 >0 string >\0 "%s" 82 >0 string >\0 "%s" 84 >0 string >\0 "%s" 86 >0 string >\0 "%s" 88 >0 string >\0 "%s" 90 >0 string >\0 "%s" 92 >0 string >\0 "%s" [all …]
|
H A D | biosig | 33 0 string AxGr Biosig/AXG 34 0 string axgx Biosig/AXG 37 0 string HeaderLen= Biosig/BCI2000 38 0 string BCI2000V Biosig/BCI2000 69 0 string CFWB\1\0\0\0 Biosig/CFWB 72 0 string DEMG Biosig/DEMG 91 0 string ISHNE1.0 Biosig/ISHNE 99 0 string NEURALEV Biosig/NEV 100 0 string N.EV.\0 Biosig/NEV 103 0 string NEX1 Biosig/NEX [all …]
|
H A D | iff | 13 0 string FORM IFF data 16 >8 string AIFF \b, AIFF audio 34 >8 string DR2D \b, DR2D 2-D object 36 >8 string LWOB \b, LWOB 3-D object 41 >8 string ANIM \b, ANIM animation 42 >8 string YAFA \b, YAFA animation 46 >8 string FAXX \b, FAXX fax image 47 >8 string STFX \b, ST-Fax image 48 >8 string IMAGIHDR \b, CD-i image 67 >>12 string _PC_ \b, PC version [all …]
|
/freebsd/contrib/dialog/ |
H A D | inputstr.c | 64 #define SAME_CACHE(c,s,l) (c->string != 0 && memcmp(c->string,s,l) == 0) 108 DLG_TRACE(("# cache %p %p:%s\n", p, p->string, p->string)); 225 strcpy(cache->string, string); in same_cache2() 228 free(cache->string); in same_cache2() 229 cache->string = dlg_strclone(string); in same_cache2() 253 strcpy(cache->string, string); in same_cache1() 257 cache->string = dlg_strclone(string); in same_cache1() 575 (string[i] = string[i + gap]) != '\0'; in dlg_edit_string() 592 (string[i] = string[i + gap]) != '\0'; in dlg_edit_string() 634 string[i] = string[i - 1]; in dlg_edit_string() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | CodeGenOptions.h | 121 std::string BBSections; 168 std::string CodeModel; 192 std::string DebugPass; 208 llvm::SmallVector<std::pair<std::string, std::string>, 0> DebugPrefixMap; 212 llvm::SmallVector<std::pair<std::string, std::string>, 0> CoveragePrefixMap; 215 std::string FloatABI; 232 std::string Filename; 249 std::string MainFileName; 266 std::string TrapFuncName; 316 std::string OptRecordFile; [all …]
|
/freebsd/contrib/atf/atf-c++/ |
H A D | tests.hpp | 50 void start_tc(const std::string&); 52 void tc_meta_data(const std::string&, const std::string&); 55 bool match(const std::string&, const std::string&); 63 typedef std::map< std::string, std::string > vars_map; 88 tc(const std::string&, const bool); 93 const std::string get_config_var(const std::string&) const; 94 const std::string get_config_var(const std::string&, const std::string&) 96 const std::string get_md_var(const std::string&) const; 99 bool has_md_var(const std::string&) const; 100 void set_md_var(const std::string&, const std::string&); [all …]
|
/freebsd/contrib/ncurses/ncurses/tinfo/ |
H A D | lib_tputs.c | 343 string++; in NCURSES_SP_NAME() 350 string++; in NCURSES_SP_NAME() 353 string++; in NCURSES_SP_NAME() 376 string++; in NCURSES_SP_NAME() 377 if ((!isdigit(UChar(*string)) && *string != '.') in NCURSES_SP_NAME() 394 string++; in NCURSES_SP_NAME() 397 string++; in NCURSES_SP_NAME() 401 while (*string == '*' || *string == '/') { in NCURSES_SP_NAME() 404 string++; in NCURSES_SP_NAME() 407 string++; in NCURSES_SP_NAME() [all …]
|
H A D | lib_tgoto.c | 47 if (string == 0 || *string == '\0') { in is_termcap() 51 if (*string == '%') { in is_termcap() 52 switch (*++string) { in is_termcap() 57 string--; in is_termcap() 60 } else if (string[0] == '$' && string[1] == '<') { in is_termcap() 63 string++; in is_termcap() 97 if (*string == '%') { in tgoto_internal() 100 switch (*++string) { in tgoto_internal() 102 string--; in tgoto_internal() 156 string += 2; in tgoto_internal() [all …]
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | fnmatch.c | 175 ++*string; in fnmatch_ch() 225 if ((**string >= *startch) && (**string <= **pattern)) in fnmatch_ch() 260 if (!**string || (slash && (**string == '/'))) in fnmatch_ch() 269 if (**string == **pattern) in fnmatch_ch() 284 ++*string; in fnmatch_ch() 316 ++string; in fnmatch() 331 ++string; in fnmatch() 368 ++string; in fnmatch() 376 strstartseg = string; in fnmatch() 477 if (*string && !((slash || leading_dir) && (*string == '/'))) in fnmatch() [all …]
|
/freebsd/contrib/libxo/tests/core/saved/ |
H A D | test_12.E.out | 4 op string: [animal] [fish] [0] 5 op string: [animal] [fish] [0] 8 op string: [name] [thing] [0x80] 9 op string: [color] [green] [0] 11 op string: [hand] [left] [0] 12 op string: [color] [blue] [0] 17 op string: [color] [green] [0] 19 op string: [hand] [left] [0] 20 op string: [color] [blue] [0] 27 op string: [hand] [left] [0] [all …]
|
H A D | test_05.E.out | 20 op string: [fancy] [1͏2⃝] [0] 21 op string: [v1] [γιγνώσκειν] [0] 26 op string: [sinhala] [෴ණ්ණ෴] [0] 28 op string: [sinhala] [෴] [0] 33 op string: [tag] [ර්ඝ] [0] 37 op string: [first-name] [Jim] [0] 38 op string: [nic-name] ["რეგტ"] [0] 43 op string: [benefits] [full] [0x8] 47 op string: [nic-name] ["<one"] [0] 56 op string: [nic-name] ["Les"] [0] [all …]
|
/freebsd/lib/libpmc/ |
H A D | libpmc_json.cc | 72 static string 82 static string 98 static string 113 static string 127 static string 141 static string 155 static string 173 static string 188 static string 201 static string [all …]
|
/freebsd/contrib/unbound/contrib/ |
H A D | libunbound.so.conf | 13 int ub_ctx_set_option(ub_ctx*, string, string); 14 int ub_ctx_get_option(ub_ctx*, string, +string*); 15 int ub_ctx_config(ub_ctx*, string); 16 int ub_ctx_set_fwd(ub_ctx*, string); 18 int ub_ctx_set_stub(ub_ctx*, string, string, bool(int)); 20 int ub_ctx_hosts(ub_ctx*, string); 21 int ub_ctx_add_ta(ub_ctx*, string); 36 string ub_strerror(int); 38 int ub_ctx_zone_add(ub_ctx*, string, string); 40 int ub_ctx_data_add(ub_ctx*, string); [all …]
|
/freebsd/contrib/kyua/utils/cmdline/ |
H A D | options.hpp | 86 std::string _long_name; 89 std::string _description; 92 std::string _arg_name; 100 std::string _default_value; 111 const std::string& long_name(void) const; 115 const std::string& arg_name(void) const; 120 std::string format_short_name(void) const; 121 std::string format_long_name(void) const; 209 typedef std::pair< std::string, std::string > option_type; 227 typedef std::string option_type; [all …]
|
/freebsd/contrib/kyua/utils/text/ |
H A D | operations.hpp | 43 std::string escape_xml(const std::string&); 44 std::string quote(const std::string&, const char); 47 std::vector< std::string > refill(const std::string&, const std::size_t); 48 std::string refill_as_string(const std::string&, const std::size_t); 50 std::string replace_all(const std::string&, const std::string&, 51 const std::string&); 54 std::string join(const Collection&, const std::string&); 55 std::vector< std::string > split(const std::string&, const char); 58 Type to_type(const std::string&); 60 bool to_type(const std::string&); [all …]
|