/openbsd/gnu/usr.bin/perl/ext/XS-APItest/t/ |
H A D | handy_base.pl | 80 my ($locale, $suffix) = @_; 89 return ("", 0) if $suffix !~ /LC/; 95 return if $suffix !~ /LC/; 259 next if $suffix eq '_A' 260 || $suffix eq '_L1' 261 || $suffix eq '_uvchr'; 264 next if $suffix ne "" && $suffix ne '_A' && $suffix ne '_L1'; 269 next if $suffix ne "" 317 if ( $suffix =~ /LC/ 459 foreach my $suffix ("", "_L1", "_LC") { [all …]
|
/openbsd/usr.bin/tmux/ |
H A D | cmd-find-window.c | 50 const char *s = args_string(args, 0), *suffix = ""; in cmd_find_window_exec() local 62 suffix = "/ri"; in cmd_find_window_exec() 64 suffix = "/r"; in cmd_find_window_exec() 66 suffix = "/i"; in cmd_find_window_exec() 79 suffix, s, suffix, star, s, star, suffix, star, s, star); in cmd_find_window_exec() 83 suffix, s, suffix, star, s, star); in cmd_find_window_exec() 87 suffix, s, suffix, star, s, star); in cmd_find_window_exec() 92 suffix, star, s, star, suffix, star, s, star); in cmd_find_window_exec() 96 suffix, s); in cmd_find_window_exec() 100 suffix, star, s, star); in cmd_find_window_exec() [all …]
|
/openbsd/gnu/usr.bin/binutils/gdb/ |
H A D | ada-exp.y | 775 suffix += 5; in write_object_renaming() 779 suffix += 1; in write_object_renaming() 789 suffix += 1; in write_object_renaming() 796 suffix = next; in write_object_renaming() 811 end = suffix + strlen (suffix); in write_object_renaming() 819 strncat (index_name, suffix, suffix-end); in write_object_renaming() 820 suffix = end; in write_object_renaming() 847 suffix += 1; in write_object_renaming() 853 end = suffix + strlen (suffix); in write_object_renaming() 856 strncpy (field_name.ptr, suffix, end - suffix); in write_object_renaming() [all …]
|
H A D | ada-exp.c | 2461 suffix += 5; in write_object_renaming() 2465 suffix += 1; in write_object_renaming() 2475 suffix += 1; in write_object_renaming() 2482 suffix = next; in write_object_renaming() 2497 end = suffix + strlen (suffix); in write_object_renaming() 2505 strncat (index_name, suffix, suffix-end); in write_object_renaming() 2506 suffix = end; in write_object_renaming() 2533 suffix += 1; in write_object_renaming() 2539 end = suffix + strlen (suffix); in write_object_renaming() 2542 strncpy (field_name.ptr, suffix, end - suffix); in write_object_renaming() [all …]
|
/openbsd/usr.bin/yacc/ |
H A D | main.c | 195 char *suffix; in create_file_names() local 202 if ((suffix = strrchr(output_file_name, '.')) != 0 && in create_file_names() 203 (!strcmp(suffix, ".c") || /* good, old-fashioned C */ in create_file_names() 204 !strcmp(suffix, ".C") || /* C++, or C on Windows */ in create_file_names() 205 !strcmp(suffix, ".cc") || /* C++ */ in create_file_names() 206 !strcmp(suffix, ".cxx") || /* C++ */ in create_file_names() 207 !strcmp(suffix, ".cpp"))) {/* C++ (Windows) */ in create_file_names() 209 suffix - output_file_name + 1); in create_file_names() 210 defines_file_name[suffix - output_file_name + 1] = 'h'; in create_file_names() 211 defines_file_name[suffix - output_file_name + 2] = '\0'; in create_file_names()
|
/openbsd/usr.sbin/pkg_add/OpenBSD/ |
H A D | PackageName.pm | 147 suffix => '', suffix_value => 0}, $class; 150 $o->{suffix} = $2; 164 if ($self->{suffix}) { 165 $r .= $self->{suffix} . $self->{suffix_value}; 172 if ($a->{suffix} eq $b->{suffix}) { 175 if ($a->{suffix} eq 'pl') { 178 if ($b->{suffix} eq 'pl') { 182 if ($a->{suffix} gt $b->{suffix}) { 187 if ($a->{suffix} eq '') { 190 if ($a->{suffix} eq 'alpha') { [all …]
|
/openbsd/regress/usr.bin/mandoc/man/MR/ |
H A D | basic.out_ascii | 13 three arguments: test(1)suffix with suffix 15 four arguments: test(1)suffix warning 17 five arguments: test(1)suffix warning 19 after setting bboolldd ffoonntt:: test(1)suffix not bold 21 in bold next-line scope: test(1)suffix not bold
|
/openbsd/gnu/llvm/llvm/utils/lit/tests/Inputs/shtest-define/errors/defined-check/ |
H A D | redefine-suffixes-pattern.txt | 1 # REDEFINE: %{global:suffix} = @ 2 # RUN: echo '@%{global:suffix}' 4 # CHECK: ValueError: Existing substitution whose pattern contains '%{global:suffix}' does not … 5 # CHECK-NEXT: Expected pattern: %{global:suffix} 6 # CHECK-NEXT: Existing pattern: @%{global:suffix}
|
H A D | define-suffixes-pattern.txt | 1 # DEFINE: %{global:suffix} = @ 2 # RUN: echo '@%{global:suffix}' 4 # CHECK: ValueError: Substitution whose pattern contains '%{global:suffix}' is already defined… 5 # CHECK-NEXT: Existing pattern: @%{global:suffix}
|
/openbsd/gnu/usr.bin/perl/lib/File/ |
H A D | Basename.pm | 162 my $suffix = ''; 164 foreach $suffix (@suffices) { 165 my $pat = ($igncase ? '(?i)' : '') . "($suffix)\$"; 167 $taint .= substr($suffix,0,0); 222 my($basename, $dirname, $suffix) = fileparse( $path, map("\Q$_\E",@_) ); 227 if( length $suffix and !length $basename ) { 228 $basename = $suffix;
|
/openbsd/usr.bin/compress/ |
H A D | main.c | 57 static char suffix[16]; variable 62 const char *suffix; member 217 strlcpy(suffix, method->suffix, sizeof(suffix)); in main() 258 strlcpy(suffix, method->suffix, sizeof(suffix)); in main() 285 strlcpy(suffix, method->suffix, sizeof(suffix)); in main() 305 strlcpy(suffix, method->suffix, sizeof(suffix)); in main() 318 p = suffix; in main() 321 strlcpy(p, optarg, sizeof(suffix) - (p - suffix)); in main() 402 strcmp(p, suffix) != 0) && in main() 404 "%s%s", infile, suffix) < in main() [all …]
|
/openbsd/gnu/usr.bin/gcc/gcc/ |
H A D | graph.c | 236 const char *suffix; 241 size_t suffixlen = strlen (suffix); 250 memcpy (buf + namelen, suffix, suffixlen); 403 clean_graph_dump_file (base, suffix) in clean_graph_dump_file() argument 405 const char *suffix; 408 size_t suffixlen = strlen (suffix); 414 memcpy (buf + namelen, suffix, suffixlen); 437 finish_graph_dump_file (base, suffix) in finish_graph_dump_file() argument 439 const char *suffix; 442 size_t suffixlen = strlen (suffix); [all …]
|
/openbsd/regress/usr.bin/mandoc/roff/esc/ |
H A D | bs_man.out_ascii | 7 on a text line: prefix\suffix 9 in a macro definition: prefix(initial)suffix prefix(later)suffix 11 in a string definition: prefix(initial)middle(later)suffix 15 in a user-defined macro argument: {prefix(later)suffix}
|
H A D | bs_mdoc.out_ascii | 7 on a text line: prefix\suffix 9 in a macro definition: prefix(initial)suffix prefix(later)suffix 11 in a string definition: prefix(initial)middle(later)suffix 15 in a user-defined macro argument: {prefix(later)suffix}
|
/openbsd/gnu/llvm/lldb/source/Plugins/Language/ObjC/ |
H A D | Cocoa.cpp | 310 std::string prefix, suffix; in NSNumber_FormatChar() local 315 suffix.clear(); in NSNumber_FormatChar() 326 std::string prefix, suffix; in NSNumber_FormatShort() local 331 suffix.clear(); in NSNumber_FormatShort() 342 std::string prefix, suffix; in NSNumber_FormatInt() local 347 suffix.clear(); in NSNumber_FormatInt() 363 suffix.clear(); in NSNumber_FormatLong() 380 suffix.clear(); in NSNumber_FormatInt128() 401 suffix.clear(); in NSNumber_FormatFloat() 417 suffix.clear(); in NSNumber_FormatDouble() [all …]
|
H A D | CF.cpp | 95 std::string prefix, suffix; in CFBagSummaryProvider() local 98 suffix)) { in CFBagSummaryProvider() 100 suffix.clear(); in CFBagSummaryProvider() 105 (count == 1 ? "" : "s"), suffix.c_str()); in CFBagSummaryProvider() 282 std::string prefix, suffix; in CFBinaryHeapSummaryProvider() local 285 suffix)) { in CFBinaryHeapSummaryProvider() 287 suffix.clear(); in CFBinaryHeapSummaryProvider() 292 (count == 1 ? "" : "s"), suffix.c_str()); in CFBinaryHeapSummaryProvider()
|
/openbsd/gnu/usr.bin/perl/regen/ |
H A D | regcomp.pl | 204 my @suffix; 206 @suffix= (""); 209 @suffix= ( 1 .. $special ); 212 @suffix= ( "", "_fail" ); 217 foreach my $suffix (@suffix) { 219 name => "$real$suffix", 498 if ($node->{suffix} and $len < length($node->{suffix})) { 499 $len= length $node->{suffix}; 508 if (my $suffix= $node->{suffix}) { 509 $struct_name .= "_$suffix"; [all …]
|
H A D | mph.pl | 421 my ($prefix, $suffix); 424 $parts{$suffix}++; 479 $appended{$suffix}++; 485 $append= $suffix; 487 $best_suffix= $suffix; 495 $best_suffix= $suffix; 917 my $suffix= substr($key, $point); 921 if (length $suffix and index($buf, $suffix) < 0) { 985 index($blob, $row->{suffix}), 991 length($row->{suffix}), [all …]
|
/openbsd/usr.bin/split/ |
H A D | split.c | 277 static char *suffix, *sufftail; in newfile() local 285 suffix = fname; in newfile() 288 suffix = fname + strlen(fname); in newfile() 289 memset(suffix, 'a', sufflen); in newfile() 291 suffix[sufflen] = '\0'; in newfile() 292 sufftail = suffix + sufflen - 1; in newfile() 294 for (sptr = sufftail; sptr >= suffix; sptr--) { in newfile() 301 if (sptr < suffix) in newfile()
|
/openbsd/usr.bin/ssh/ |
H A D | log.c | 304 do_log(LogLevel level, int force, const char *suffix, const char *fmt, in do_log() argument 359 if (suffix != NULL) { in do_log() 360 snprintf(fmtbuf, sizeof(fmtbuf), "%s: %s", msgbuf, suffix); in do_log() 386 LogLevel level, const char *suffix, const char *fmt, ...) in sshlog() argument 391 sshlogv(file, func, line, showfunc, level, suffix, fmt, args); in sshlog() 397 LogLevel level, const char *suffix, const char *fmt, ...) in sshlogdie() argument 403 suffix, fmt, args); in sshlogdie() 410 LogLevel level, const char *suffix, const char *fmt, ...) in sshsigdie() argument 416 suffix, fmt, args); in sshsigdie() 423 LogLevel level, const char *suffix, const char *fmt, va_list args) in sshlogv() argument [all …]
|
/openbsd/regress/lib/libc/mkstemp/ |
H A D | mkstemp_test.c | 39 char const *suffix, size_t slen, int tlen) in check() argument 62 if (memcmp(path + plen + tlen, suffix, slen + 1) != 0) in check() 63 errx(1, "suffix changed! %s vs %s", suffix, path); in check() 92 try_mkstemps(char *p, char const *prefix, int len, char const *suffix) in try_mkstemps() argument 96 size_t slen = strlen(suffix); in try_mkstemps() 102 memcpy(p + plen + len, suffix, slen + 1); in try_mkstemps() 104 if (check(fd, p, prefix, plen, suffix, slen, len)) in try_mkstemps()
|
/openbsd/gnu/lib/libiberty/src/ |
H A D | make-temp-file.c | 148 make_temp_file (const char *suffix) in make_temp_file() argument 155 if (suffix == 0) in make_temp_file() 156 suffix = ""; in make_temp_file() 159 suffix_len = strlen (suffix); in make_temp_file() 166 strcpy (temp_filename + base_len + TEMP_FILE_LEN, suffix); in make_temp_file()
|
/openbsd/usr.sbin/ldapd/ |
H A D | namespace.c | 82 log_warn("%s(indx): commit failed", ns->suffix); in namespace_commit() 91 log_warn("%s(data): commit failed", ns->suffix); in namespace_commit() 116 assert(ns->suffix); in namespace_open() 123 log_info("opening namespace %s", ns->suffix); in namespace_open() 187 log_info("reopening namespace %s (entries)", ns->suffix); in namespace_set_fd() 220 ns->queued_requests, ns->suffix); in namespace_close() 238 free(ns->suffix); in namespace_close() 418 slen = strlen(ns->suffix); in namespace_lookup_base() 421 bcmp(basedn + blen - slen, ns->suffix, slen) == 0) { in namespace_lookup_base() 424 strlen(ns->suffix) > strlen(matched_ns->suffix)) in namespace_lookup_base() [all …]
|
H A D | index.c | 103 dnsz = dn->size - strlen(ns->suffix); in index_attribute() 133 dnsz = dn->size - strlen(ns->suffix); in index_rdn_key() 202 dnsz = dn->size - strlen(ns->suffix); in unindex_attribute() 325 dn->size = indx->size + strlen(ns->suffix); in index_to_dn() 340 bcopy(ns->suffix, dst, strlen(ns->suffix)); in index_to_dn() 348 dn->size = rdn_sz + strlen(ns->suffix); in index_to_dn() 354 bcopy(ns->suffix, (char *)dn->data + rdn_sz, in index_to_dn() 355 strlen(ns->suffix)); in index_to_dn()
|
/openbsd/usr.bin/timeout/ |
H A D | timeout.c | 67 char *suffix; in parse_duration() local 69 ret = strtod(duration, &suffix); in parse_duration() 70 if (ret == 0 && suffix == duration) in parse_duration() 75 if (suffix == NULL || *suffix == '\0') in parse_duration() 78 if (suffix[1] != '\0') in parse_duration() 81 switch (*suffix) { in parse_duration()
|