Home
last modified time | relevance | path

Searched refs:string (Results 1 – 25 of 3762) sorted by relevance

12345678910>>...151

/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/lua_core/
H A Dtst.lib_strings.lua31 assert(string.sub("123456789",2,4) == "234")
32 assert(string.sub("123456789",7) == "789")
33 assert(string.sub("123456789",7,6) == "")
34 assert(string.sub("123456789",7,7) == "7")
35 assert(string.sub("123456789",0,0) == "")
36 assert(string.sub("123456789",-10,10) == "123456789")
37 assert(string.sub("123456789",1,9) == "123456789")
38 assert(string.sub("123456789",-10,-20) == "")
39 assert(string.sub("123456789",-1) == "9")
40 assert(string.sub("123456789",-4) == "6789")
[all …]
/freebsd/contrib/libcbor/test/
H A Dstring_test.c8 #include <string.h>
13 cbor_item_t *string; variable
19 string = cbor_load(empty_string_data, 1, &res); in test_empty_string()
20 assert_non_null(string); in test_empty_string()
21 assert_true(cbor_typeof(string) == CBOR_TYPE_STRING); in test_empty_string()
22 assert_true(cbor_isa_string(string)); in test_empty_string()
23 assert_size_equal(cbor_string_length(string), 0); in test_empty_string()
24 assert_size_equal(cbor_string_codepoint_count(string), 0); in test_empty_string()
26 cbor_decref(&string); in test_empty_string()
27 assert_null(string); in test_empty_string()
[all...]
/freebsd/contrib/arm-optimized-routines/string/
H A DDir.mk6 S := $(srcdir)/string
7 B := build/string
10 all-string bench-string check-string install-string clean-string:
15 string-lib-srcs := $(wildcard $(S)/$(ARCH)/*.[cS])
16 string-lib-srcs += $(wildcard $(S)/$(ARCH)/experimental/*.[cS])
17 string-test-srcs := $(wildcard $(S)/test/*.c)
18 string-bench-srcs := $(wildcard $(S)/bench/*.c)
20 string-arch-include-dir := $(wildcard $(S)/$(ARCH))
21 string-arch-includes := $(wildcard $(S)/$(ARCH)/*.h)
22 string-includes := $(patsubst $(S)/%,build/%,$(wildcard $(S)/include/*.h))
[all …]
/freebsd/contrib/llvm-project/llvm/tools/bugpoint/
H A DToolRunner.h38 std::string CCPath; // The path to the cc executable.
39 std::string RemoteClientPath; // The path to the rsh / ssh executable.
40 std::vector<std::string> ccArgs; // CC-specific arguments.
42 const std::vector<std::string> *CCArgs) in CC()
43 : CCPath(std::string(ccPath)), RemoteClientPath(std::string(RemotePath)) { in CC()
51 static CC *create(const char *Argv0, std::string &Message,
52 const std::string &CCBinary,
53 const std::vector<std::string> *Args);
63 const std::string &ProgramFile, const std::vector<std::string> &Args,
64 FileType fileType, const std::string &InputFile,
[all …]
H A DToolRunner.cpp34 cl::opt<std::string>
38 cl::opt<std::string> RemoteHost("remote-host",
41 cl::opt<std::string> RemotePort("remote-port",
44 cl::opt<std::string> RemoteUser("remote-user",
47 cl::opt<std::string>
60 std::string *ErrMsg = nullptr) { in RunProgramWithTimeout()
91 std::string StdOutFileName = StdOutFile.str(); in RunProgramRemotelyWithTimeout()
145 std::string LLIPath; // The path to the LLI executable
146 std::vector<std::string> ToolArgs; // Args to pass to LLI
148 LLI(const std::string
[all...]
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerIO.h18 long GetEpoch(const std::string &Path);
20 Unit FileToVector(const std::string &Path, size_t MaxSize = 0,
23 std::string FileToString(const std::string &Path);
25 void CopyFileToErr(const std::string &Path);
27 void WriteToFile(const uint8_t *Data, size_t Size, const std::string &Path);
29 void WriteToFile(const std::string &Data, const std::string &Path);
30 void WriteToFile(const Unit &U, const std::string &Path);
32 void AppendToFile(const uint8_t *Data, size_t Size, const std::string &Path);
33 void AppendToFile(const std::string &Data, const std::string &Path);
37 std::vector<std::string> *VPaths = 0);
[all …]
/freebsd/usr.bin/m4/tests/
H A Dquotes.m43 define(`string',`STRING')dnl macro
5 `quoted string'
6 [quoted string]
7 normal string
8 `half quoted string
9 going up to that string'
13 `quoted string'
14 [quoted string]
15 normal string
16 `half quoted string
[all …]
/freebsd/contrib/file/magic/Magdir/
H A Dpgp11 #0 string -----BEGIN\040PGP text/PGP armored data
13 #>15 string PUBLIC\040KEY\040BLOCK- public key block
14 #>15 string MESSAGE- message
15 #>15 string SIGNED\040MESSAGE- signed message
16 #>15 string PGP\040SIGNATURE- signature
21 2 string ---BEGIN\040PGP\040PRIVATE\040KEY\040BLOCK- PGP private key block
25 2 string ---BEGIN\040PGP\040PUBLIC\040KEY\040BLOCK- PGP public key block
30 0 string -----BEGIN\040PGP\040MESSAGE- PGP message
39 0 string -----BEGIN\040PGP\040SIGNED\040MESSAGE- PGP signed message
44 0 string -----BEGIN\040PGP\040SIGNATURE- PGP signature
[all …]
H A Dmacintosh20 # keep split search string format similar like in version 5.37
21 >0 string must\ be\ converted\ with\ BinHex\ BinHex binary text, version
25 >>&0 string 1.0 1.0
28 >>&0 string 2.0 2.0
32 >>&0 string 4.0 4.0
36 >>&0 string 5.0 5.0
41 >>>&0 string x %.3s
47 0 string SIT! StuffIt Archive (data)
50 >2 string x : %s
51 0 string SITD StuffIt Deluxe (data)
[all …]
H A Dsgi12 0 string kbd!map kbd map file
36 >16 string >\0 '%s'
40 >16 string >\0 '%s'
44 >16 string >\0 '%s'
46 0 string \x43\x72\x73\x68\x44\x75\x6d\x70 IRIX vmcore dump of
47 >36 string >\0 '%s'
50 0 string SGIAUDIT SGI Audit file
54 0 string WNGZWZSC Wingz compiled script
55 0 string WNGZWZSS Wingz spreadsheet
56 0 string WNGZWZHP Wingz help file
[all …]
H A Dpalm44 #60 string appl PalmOS application
45 #>0 string >\0 "%s"
48 #60 string HACK HackMaster hack
49 #>0 string >\0 "%s"
52 60 string SDocSilX iSiloX E-book
53 >0 string >\0 "%s"
57 60 string BOOKMOBI Mobipocket E-book
62 # there's no guarantee that the title string is null-terminated, but
63 # we currently can't specify a variable-length string where the length
64 # field is not at the start of the string; in practice, the data
[all …]
H A Dbiosig14 0 string ABF\x20 Biosig/Axon Binary format
16 0 string ABF2\0\0 Biosig/Axon Binary format
19 0 string ATES\x20MEDICA\x20SOFT.\x20EEG\x20for\x20Windows Biosig/ATES MEDICA SOFT. EEG for Windows
22 0 string ATF\x09 Biosig/Axon Text format
25 0 string ADU1 Biosig/Axona file format
27 0 string ADU2 Biosig/Axona file format
30 0 string ALPHA-TRACE-MEDICAL Biosig/alpha trace
33 0 string AxGr Biosig/AXG
34 0 string axgx Biosig/AXG
37 0 string HeaderLen= Biosig/BCI2000
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DCodeGenOptions.h122 std::string BBSections;
128 std::string BinutilsVersion;
172 std::string CodeModel;
181 std::string CoverageDataFile;
184 std::string CoverageNotesFile;
187 std::string ProfileFilterFiles;
190 std::string ProfileExcludeFiles;
196 std::string DebugPass;
199 std::string DebugCompilationDir;
202 std::string CoverageCompilationDir;
[all …]
/freebsd/contrib/dialog/
H A Dinputstr.c59 char *string; /* a copy of the last-processed string */ member
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));
138 find_cache(int cache_num, const char *string) in find_cache() argument
148 find.string_at = string; in find_cache()
157 if (p->string_at == string) { in find_cache()
166 make_cache(int cache_num, const char *string) in make_cache() argument
176 p->string_at = string; in make_cache()
185 load_cache(int cache_num, const char *string) in load_cache() argument
189 if ((p = find_cache(cache_num, string)) == 0) { in load_cache()
[all …]
/freebsd/contrib/ncurses/ncurses/tinfo/
H A Dlib_tputs.c236 NCURSES_SP_NAME(putp) (NCURSES_SP_DCLx const char *string) in NCURSES_SP_NAME()
239 string, 1, NCURSES_SP_NAME(_nc_putchar)); in NCURSES_SP_NAME()
244 putp(const char *string) in putp() argument
246 return NCURSES_SP_NAME(putp) (CURRENT_SCREEN, string); in putp()
256 const char *string) in NCURSES_SP_NAME()
260 if (string != 0) { in NCURSES_SP_NAME()
263 string, 1, NCURSES_SP_NAME(_nc_outch)); in NCURSES_SP_NAME()
270 _nc_putp(const char *name, const char *string) in _nc_putp() argument
272 return NCURSES_SP_NAME(_nc_putp) (CURRENT_SCREEN, name, string); in _nc_putp()
278 const char *string, in NCURSES_SP_NAME()
[all …]
H A Dlib_tgoto.c43 is_termcap(const char *string) in is_termcap() argument
47 if (string == 0 || *string == '\0') { in is_termcap()
50 while ((*string != '\0') && result) { 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()
70 tgoto_internal(const char *string, int x, int y) in tgoto_internal() argument
89 while (*string != 0) { in tgoto_internal()
[all …]
/freebsd/contrib/atf/atf-c++/
H A Dtests.hpp50 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;
83 void require_prog(const std::string&) const;
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;
98 bool has_config_var(const std::string&) const;
[all …]
/freebsd/crypto/openssh/openbsd-compat/
H A Dfnmatch.c149 static int fnmatch_ch(const char **pattern, const char **string, int flags) in fnmatch_ch() argument
175 ++*string; in fnmatch_ch()
192 switch (classmatch(*pattern, **string, nocase, pattern)) { in fnmatch_ch()
225 if ((**string >= *startch) && (**string <= **pattern)) in fnmatch_ch()
228 (isupper((unsigned char)**string) || in fnmatch_ch()
231 (tolower((unsigned char)**string) >= in fnmatch_ch()
233 (tolower((unsigned char)**string) <= in fnmatch_ch()
242 if ((**string == **pattern)) in fnmatch_ch()
244 else if (nocase && (isupper((unsigned char)**string) || in fnmatch_ch()
246 (tolower((unsigned char)**string) == in fnmatch_ch()
[all …]
/freebsd/contrib/libxo/tests/core/saved/
H A Dtest_12.E.out4 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]
16 op string: [name] [thing] [0x80]
17 op string: [color] [green] [0]
19 op string: [hand] [left] [0]
20 op string: [color] [blue] [0]
[all …]
H A Dtest_05.E.out3 op string: [gurmukhi] [ਲਹੌਰ ਪਾਕਿਸਤਾਨੀ ਪੰਜਾਬ ਦੀ ਰਾਜਧਾਨੀ ਹੈ । ਲੋਕ ਗਿਣਤੀ ਦੇ ਨਾਲ ਕਰਾਚੀ ਤੋਂ ਬਾਅਦ ਲਹੌਰ ਦੂ…
4 op string: [shahmukhi] [لہور پاکستانی پنجاب دا دارالحکومت اے۔ لوک گنتی دے نال کراچی توں بعد لہور دو…
5 op string: [tranliteration] [lahor pākistān panjāb dā dārul hakūmat ē. lōk giṇtī dē nāḷ karācī tō᷈ …
9 op string: [wc] [෴ - 0xdf4 - 1] [0x2010]
10 op string: [wc] [ණ - 0xdab - 1] [0x2010]
11 op string: [wc] [් - 0xdca - 0] [0x2010]
12 op string: [wc] [ණ - 0xdab - 1] [0x2010]
13 op string: [wc] [្ - 0x17d2 - 0] [0x2010]
14 op string: [wc] [෴ - 0xdf4 - 1] [0x2010]
15 op string: [wc] [1 - 0x31 - 1] [0x2010]
[all …]
/freebsd/lib/libpmc/
H A Dlibpmc_json.cc46 using std::string;
72 static string
79 return (string(eventbuf)); in startentry()
82 static string
86 string startent; in initialize_to_json()
95 return string(eventbuf); in initialize_to_json()
98 static string
102 string startent; in pmcallocate_to_json()
110 return string(eventbuf); in pmcallocate_to_json()
113 static string
[all …]
/freebsd/contrib/kyua/utils/text/
H A Doperations.cpp47 std::string
48 text::escape_xml(const std::string& in) in escape_xml()
52 for (std::string::const_iterator it = in.begin(); in escape_xml()
74 quoted << "&amp;#" << static_cast< std::string::size_type >(*it) in escape_xml()
90 std::string
91 text::quote(const std::string& text, const char quote) in quote()
96 std::string::size_type start_pos = 0; in quote()
97 std::string::size_type last_pos = text.find(quote); in quote()
98 while (last_pos != std::string::npos) { in quote()
121 std::vector< std::string >
[all …]
/freebsd/sys/libkern/
H A Dfnmatch.c54 fnmatch(const char *pattern, const char *string, int flags) in fnmatch() argument
60 for (stringstart = string;;) in fnmatch()
63 if ((flags & FNM_LEADING_DIR) && *string == '/') in fnmatch()
65 return (*string == EOS ? 0 : FNM_NOMATCH); in fnmatch()
67 if (*string == EOS) in fnmatch()
69 if (*string == '/' && (flags & FNM_PATHNAME)) in fnmatch()
71 if (*string == '.' && (flags & FNM_PERIOD) && in fnmatch()
72 (string == stringstart || in fnmatch()
73 ((flags & FNM_PATHNAME) && *(string - 1) == '/'))) in fnmatch()
75 ++string; in fnmatch()
[all …]
/freebsd/contrib/unbound/contrib/
H A Dlibunbound.so.conf9 …t(string, ub_type, ub_class, array(void*,zero)*, array(int,zero)*, string, ub_rcode, void*, int, u…
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));
19 int ub_ctx_resolvconf(ub_ctx*, string);
20 int ub_ctx_hosts(ub_ctx*, string);
21 int ub_ctx_add_ta(ub_ctx*, string);
22 int ub_ctx_add_ta_file(ub_ctx*, string);
[all …]
/freebsd/contrib/kyua/utils/cmdline/
H A Doptions.hpp86 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;
112 const std::string& description(void) const;
115 const std::string& arg_name(void) const;
118 const std::string& default_value(void) const;
120 std::string format_short_name(void) const;
121 std::string format_long_name(void) const;
[all …]

12345678910>>...151