Home
last modified time | relevance | path

Searched refs:substring (Results 1 – 25 of 51) sorted by relevance

123

/freebsd-12.1/contrib/libarchive/cat/test/
H A Dtest_help.c33 in_first_line(const char *p, const char *substring) in in_first_line() argument
35 size_t l = strlen(substring); in in_first_line()
38 if (memcmp(p, substring, l) == 0) in in_first_line()
/freebsd-12.1/contrib/libarchive/tar/test/
H A Dtest_help.c34 in_first_line(const char *p, const char *substring) in in_first_line() argument
36 size_t l = strlen(substring); in in_first_line()
39 if (memcmp(p, substring, l) == 0) in in_first_line()
/freebsd-12.1/contrib/libarchive/cpio/test/
H A Dtest_option_help.c34 in_first_line(const char *p, const char *substring) in in_first_line() argument
36 size_t l = strlen(substring); in in_first_line()
39 if (memcmp(p, substring, l) == 0) in in_first_line()
/freebsd-12.1/contrib/pam_modules/pam_passwdqc/
H A DREADME72 The length of common substring required to conclude that a password is
74 or 0 to disable the substring search. Note that the password will not
75 be rejected once a weak substring is found. Instead, the password
77 substring removed.
79 The substring search is case-insensitive and is able to detect and
80 remove a common substring spelled backwards.
86 long common substring and the new password with the substring removed
/freebsd-12.1/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/jdtrace/
H A DJDTrace.java138 buf.append(req.s.substring(prev_i, i)); in applyProbespec()
151 buf.append(req.s.substring(i)); in applyProbespec()
379 out.printf("|%s%s %-9d\n", ATS.substring(len - depth), in printDistributionLine()
380 SPACES.substring(depth), val); in printDistributionLine()
388 out.printf("%s%s| %-9d\n", SPACES.substring(depth), in printDistributionLine()
389 ATS.substring(len - depth), val); in printDistributionLine()
401 String ats = ATS.substring(len); in printDistributionLine()
402 String spaces = SPACES.substring(len); in printDistributionLine()
408 out.printf("%s%s|%s %-9d\n", spaces.substring(depth), in printDistributionLine()
409 ats.substring(len - depth), repeat(" ", len), val); in printDistributionLine()
[all …]
H A DGetopt.java125 Character.toString(c) : optstr.substring(2))); in err()
224 longoptarg.set(opt.substring(op + 1)); in parselong()
375 ? ((cp = parselong(optstring, args[optind].substring(2), in getopt()
418 optarg = args[optind++].substring(_sp + 1); in getopt()
/freebsd-12.1/contrib/subversion/subversion/svn/
H A Dutil.c299 char *substring = buffer; in truncate_buffer_at_prefix() local
310 substring = strstr(substring, prefix); in truncate_buffer_at_prefix()
311 if (! substring) in truncate_buffer_at_prefix()
317 if ((substring == buffer) in truncate_buffer_at_prefix()
318 || (*(substring - 1) == '\r') in truncate_buffer_at_prefix()
319 || (*(substring - 1) == '\n')) in truncate_buffer_at_prefix()
321 *substring = '\0'; in truncate_buffer_at_prefix()
323 *new_len = substring - buffer; in truncate_buffer_at_prefix()
325 else if (substring) in truncate_buffer_at_prefix()
329 substring++; in truncate_buffer_at_prefix()
/freebsd-12.1/usr.bin/locale/
H A Dlocale.c65 void showkeywordslist(char *substring);
913 showkeywordslist(char *substring) in showkeywordslist() argument
919 if (substring == NULL) in showkeywordslist()
923 substring); in showkeywordslist()
927 if (substring != NULL) { in showkeywordslist()
928 if (strncmp(kwinfo[i].name, substring, in showkeywordslist()
929 strlen(substring)) != 0) in showkeywordslist()
/freebsd-12.1/contrib/bmake/
H A Dstr.c294 Str_FindSubstring(const char *string, const char *substring) in Str_FindSubstring() argument
304 for (b = substring; *string != 0; string += 1) { in Str_FindSubstring()
314 b = substring; in Str_FindSubstring()
/freebsd-12.1/contrib/netbsd-tests/lib/libc/regex/
H A DREADME9 expected to fail. If there is a fourth field, it is the substring that
32 For REG_STARTEND, the start/end offsets are those of the substring
/freebsd-12.1/crypto/heimdal/lib/wind/
H A Drfc4518.txt324 For input strings that are attribute values or non-substring
343 For input strings that are substring assertion values: If the string
348 - If the input string is an initial substring, it is modified to
351 - If the input string is an initial or an any substring that ends in
355 - If the input string is an any or a final substring that starts in
359 - If the input string is a final substring, it is modified to end
363 an initial substring, the output would be
364 "<SPACE>foo<SPACE><SPACE>bar<SPACE>". As an any or final substring,
639 substring matches a partition of the attribute value, then an
640 assertion constructed by subdividing that substring into multiple
/freebsd-12.1/contrib/sendmail/cf/feature/
H A Dprefixmod.m415 # (this is not a "substring" match)
/freebsd-12.1/contrib/sqlite3/tea/win/
H A Dnmakehlp.c47 static int IsIn(const char *string, const char *substring);
467 const char *substring) in IsIn() argument
469 return (strstr(string, substring) != NULL); in IsIn()
/freebsd-12.1/contrib/ntp/sntp/ag-tpl/0-old/
H A Dmdoc-synopsis.tlib70 .I [+: (substring comment-char 1 0):+]
H A Dperlopt.tpl102 (set! optargname (string-append "=" (substring (get "arg-type") 0 3)))
/freebsd-12.1/contrib/subversion/subversion/libsvn_fs_fs/
H A Dlow_level.c855 char *substring = str; in svn_fs_fs__parse_representation() local
858 str = svn_cstring_tokenize("/", &substring); in svn_fs_fs__parse_representation()
865 str = svn_cstring_tokenize(" ", &substring); in svn_fs_fs__parse_representation()
/freebsd-12.1/contrib/gdb/gdb/
H A Df-exp.y287 arglist : substring
295 substring: exp ':' exp %prec ABOVE_COMMA
/freebsd-12.1/gnu/usr.bin/grep/tests/
H A Dtests9 # expected to fail. If there is a fourth field, it is the substring that
32 # For REG_STARTEND, the start/end offsets are those of the substring
/freebsd-12.1/lib/libc/regex/grot/
H A Dtests10 # expected to fail. If there is a fourth field, it is the substring that
33 # For REG_STARTEND, the start/end offsets are those of the substring
/freebsd-12.1/contrib/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h1377 explicit HasSubstrMatcher(const StringType& substring)
1378 : substring_(substring) {}
4615 const std::string& substring) {
4617 internal::HasSubstrMatcher<std::string>(substring));
4689 const std::wstring& substring) {
4691 internal::HasSubstrMatcher<std::wstring>(substring));
/freebsd-12.1/contrib/ee/
H A Dee.i18n.guide41 substring of a valid command
H A Dee.c337 char *is_in_string P_((char *string, char *substring));
4856 is_in_string(string, substring) /* a strchr() look-alike for systems without in is_in_string() argument
4858 char * string, *substring; in is_in_string()
4862 for (sub = substring; (sub != NULL) && (*sub != '\0'); sub++)
/freebsd-12.1/contrib/binutils/
H A DMakefile.tpl1465 (substring (get var-name) 0 (+ 1 (string-index (get var-name) #\-)))))
1470 (substring (get var-name) (+ 1 (string-index (get var-name) #\-)))))
/freebsd-12.1/usr.sbin/bsdconfig/share/
H A Dstrings.subr67 # Similar to awk(1)'s substr(), return length substring of string that begins
/freebsd-12.1/contrib/amd/
H A DBUGS37 hasmntopt(mnt, opt) can go into an infinite loop if opt is any substring

123