/dports/devel/sunpromake/schily-2021-09-18/sunpro/Make/bin/make/common/ |
H A D | nse.cc | 116 String_rec string; local 118 String string; local 265 while (*p && iswspace(*p)) { 266 p++; 272 while (*p && !iswspace(*p)) { 318 for (p = slash - 1; p >= dep; p--) { 323 p++; 517 suffix = wcsrchr(target->string, (int) period_char ); 519 suffix = rindex(target->string, '.'); 574 suffix = wcsrchr(target->string, (int) period_char); [all …]
|
/dports/devel/sccs/schily-2021-09-18/sunpro/Make/bin/make/common/ |
H A D | nse.cc | 116 String_rec string; local 118 String string; local 265 while (*p && iswspace(*p)) { 266 p++; 272 while (*p && !iswspace(*p)) { 318 for (p = slash - 1; p >= dep; p--) { 323 p++; 517 suffix = wcsrchr(target->string, (int) period_char ); 519 suffix = rindex(target->string, '.'); 574 suffix = wcsrchr(target->string, (int) period_char); [all …]
|
/dports/net/rscsi/schily-2021-09-18/sunpro/Make/bin/make/common/ |
H A D | nse.cc | 116 String_rec string; local 118 String string; local 265 while (*p && iswspace(*p)) { 266 p++; 272 while (*p && !iswspace(*p)) { 318 for (p = slash - 1; p >= dep; p--) { 323 p++; 517 suffix = wcsrchr(target->string, (int) period_char ); 519 suffix = rindex(target->string, '.'); 574 suffix = wcsrchr(target->string, (int) period_char); [all …]
|
/dports/archivers/star/schily-2021-09-18/sunpro/Make/bin/make/common/ |
H A D | nse.cc | 116 String_rec string; local 118 String string; local 265 while (*p && iswspace(*p)) { 266 p++; 272 while (*p && !iswspace(*p)) { 318 for (p = slash - 1; p >= dep; p--) { 323 p++; 517 suffix = wcsrchr(target->string, (int) period_char ); 519 suffix = rindex(target->string, '.'); 574 suffix = wcsrchr(target->string, (int) period_char); [all …]
|
/dports/sysutils/cdrtools/schily-2021-09-18/sunpro/Make/bin/make/common/ |
H A D | nse.cc | 116 String_rec string; local 118 String string; local 265 while (*p && iswspace(*p)) { 266 p++; 272 while (*p && !iswspace(*p)) { 318 for (p = slash - 1; p >= dep; p--) { 323 p++; 517 suffix = wcsrchr(target->string, (int) period_char ); 519 suffix = rindex(target->string, '.'); 574 suffix = wcsrchr(target->string, (int) period_char); [all …]
|
/dports/editors/ved/schily-2021-09-18/sunpro/Make/bin/make/common/ |
H A D | nse.cc | 116 String_rec string; local 118 String string; local 265 while (*p && iswspace(*p)) { 266 p++; 272 while (*p && !iswspace(*p)) { 318 for (p = slash - 1; p >= dep; p--) { 323 p++; 517 suffix = wcsrchr(target->string, (int) period_char ); 519 suffix = rindex(target->string, '.'); 574 suffix = wcsrchr(target->string, (int) period_char); [all …]
|
/dports/devel/schilybase/schily-2021-09-18/sunpro/Make/bin/make/common/ |
H A D | nse.cc | 116 String_rec string; local 118 String string; local 265 while (*p && iswspace(*p)) { 266 p++; 272 while (*p && !iswspace(*p)) { 318 for (p = slash - 1; p >= dep; p--) { 323 p++; 517 suffix = wcsrchr(target->string, (int) period_char ); 519 suffix = rindex(target->string, '.'); 574 suffix = wcsrchr(target->string, (int) period_char); [all …]
|
/dports/devel/smake/schily-2021-09-18/sunpro/Make/bin/make/common/ |
H A D | nse.cc | 116 String_rec string; local 118 String string; local 265 while (*p && iswspace(*p)) { 266 p++; 272 while (*p && !iswspace(*p)) { 318 for (p = slash - 1; p >= dep; p--) { 323 p++; 517 suffix = wcsrchr(target->string, (int) period_char ); 519 suffix = rindex(target->string, '.'); 574 suffix = wcsrchr(target->string, (int) period_char); [all …]
|
/dports/sysutils/schilyutils/schily-2021-09-18/sunpro/Make/bin/make/common/ |
H A D | nse.cc | 116 String_rec string; local 118 String string; local 265 while (*p && iswspace(*p)) { 266 p++; 272 while (*p && !iswspace(*p)) { 318 for (p = slash - 1; p >= dep; p--) { 323 p++; 517 suffix = wcsrchr(target->string, (int) period_char ); 519 suffix = rindex(target->string, '.'); 574 suffix = wcsrchr(target->string, (int) period_char); [all …]
|
/dports/net/boinc-client/boinc-client_release-7.8-7.8.6/lib/ |
H A D | str_util.h | 45 inline bool ends_with(std::string const& s, std::string const& suffix) { in ends_with() argument 47 s.size()>=suffix.size() && in ends_with() 48 s.substr(s.size()-suffix.size()) == suffix; in ends_with() 51 inline bool ends_with(const char* s, const char* suffix) { in ends_with() argument 52 int m = (int)strlen(s), n = (int)strlen(suffix); in ends_with() 54 return (strcmp(suffix, s+m-n) == 0); in ends_with() 66 for (std::string::iterator p = w.begin(); p != w.end(); ++p) { in downcase_string() local 67 *p = (char)tolower((int)*p); in downcase_string() 72 while (*p) { in downcase_string() 73 *p = (char)tolower((int)*p); in downcase_string() [all …]
|
/dports/lang/racket/racket-8.3/collects/racket/private/ |
H A D | so-search.rkt | 7 (and (list? p) 11 (string? (cadr p)) 14 (define (vers? s) (or (not s) (string? s))) 18 (define (path-extra-suffix p sfx) 29 [so-suffix (system-type 'so-suffix)] 31 (let ([verss (cons 'no-suffix 36 [suffix-before-version? (not (equal? so-suffix 42 (path-extra-suffix (cadr p) 43 (if (string? vers) 47 … (string->bytes/utf-8 vers)) [all …]
|
/dports/lang/racket-minimal/racket-8.3/collects/racket/private/ |
H A D | so-search.rkt | 7 (and (list? p) 11 (string? (cadr p)) 14 (define (vers? s) (or (not s) (string? s))) 18 (define (path-extra-suffix p sfx) 29 [so-suffix (system-type 'so-suffix)] 31 (let ([verss (cons 'no-suffix 36 [suffix-before-version? (not (equal? so-suffix 42 (path-extra-suffix (cadr p) 43 (if (string? vers) 47 … (string->bytes/utf-8 vers)) [all …]
|
/dports/devel/php-ice37/ice-3.7.2/cpp/src/Slice/ |
H A D | Preprocessor.cpp | 75 string suffix; in getBaseName() local 425 string suffix = ".obj:"; in printMakefileDependencies() local 427 string suffix = ".o:"; in printMakefileDependencies() local 437 for(vector<string>::const_iterator p = includePaths.begin(); p != includePaths.end(); ++p) in printMakefileDependencies() local 468 … for(vector<string>::const_iterator p = fullIncludePaths.begin(); p != fullIncludePaths.end(); ++p) in printMakefileDependencies() local 470 if(file.compare(0, p->length(), *p) == 0) in printMakefileDependencies() 472 … string s = includePaths[p - fullIncludePaths.begin()] + file.substr(p->length()); in printMakefileDependencies() 610 string::size_type start = result.find(suffix); in printMakefileDependencies() 653 if((pos = result.find(suffix)) != string::npos) in printMakefileDependencies() 667 if((pos = result.find(suffix)) != string::npos) in printMakefileDependencies() [all …]
|
/dports/devel/ice37/ice-3.7.2/cpp/src/Slice/ |
H A D | Preprocessor.cpp | 75 string suffix; in getBaseName() local 425 string suffix = ".obj:"; in printMakefileDependencies() local 427 string suffix = ".o:"; in printMakefileDependencies() local 437 for(vector<string>::const_iterator p = includePaths.begin(); p != includePaths.end(); ++p) in printMakefileDependencies() local 468 … for(vector<string>::const_iterator p = fullIncludePaths.begin(); p != fullIncludePaths.end(); ++p) in printMakefileDependencies() local 470 if(file.compare(0, p->length(), *p) == 0) in printMakefileDependencies() 472 … string s = includePaths[p - fullIncludePaths.begin()] + file.substr(p->length()); in printMakefileDependencies() 610 string::size_type start = result.find(suffix); in printMakefileDependencies() 653 if((pos = result.find(suffix)) != string::npos) in printMakefileDependencies() 667 if((pos = result.find(suffix)) != string::npos) in printMakefileDependencies() [all …]
|
/dports/devel/py-ice37/ice-3.7.2/cpp/src/Slice/ |
H A D | Preprocessor.cpp | 75 string suffix; in getBaseName() local 425 string suffix = ".obj:"; in printMakefileDependencies() local 427 string suffix = ".o:"; in printMakefileDependencies() local 437 for(vector<string>::const_iterator p = includePaths.begin(); p != includePaths.end(); ++p) in printMakefileDependencies() local 468 … for(vector<string>::const_iterator p = fullIncludePaths.begin(); p != fullIncludePaths.end(); ++p) in printMakefileDependencies() local 470 if(file.compare(0, p->length(), *p) == 0) in printMakefileDependencies() 472 … string s = includePaths[p - fullIncludePaths.begin()] + file.substr(p->length()); in printMakefileDependencies() 610 string::size_type start = result.find(suffix); in printMakefileDependencies() 653 if((pos = result.find(suffix)) != string::npos) in printMakefileDependencies() 667 if((pos = result.find(suffix)) != string::npos) in printMakefileDependencies() [all …]
|
/dports/devel/google-cloud-cpp117/google-cloud-cpp-1.17.0/google/cloud/pubsub/testing/ |
H A D | random_names.cc | 32 auto suffix = google::cloud::internal::Sample( in RandomTopicId() local 34 auto p = prefix.empty() ? "cloud-cpp" : prefix; in RandomTopicId() local 35 return p + "-" + date + "-" + suffix; in RandomTopicId() 38 std::string RandomSubscriptionId( in RandomSubscriptionId() 40 std::string const& prefix) { in RandomSubscriptionId() 45 auto suffix = google::cloud::internal::Sample( in RandomSubscriptionId() local 48 auto p = prefix.empty() ? "cloud-cpp" : prefix; in RandomSubscriptionId() local 49 return p + "-" + suffix; in RandomSubscriptionId() 58 auto suffix = google::cloud::internal::Sample( in RandomSnapshotId() local 60 auto p = prefix.empty() ? "cloud-cpp" : prefix; in RandomSnapshotId() local [all …]
|
/dports/devel/google-cloud-cpp/google-cloud-cpp-1.21.0/google/cloud/pubsub/testing/ |
H A D | random_names.cc | 32 auto suffix = google::cloud::internal::Sample( in RandomTopicId() local 34 auto p = prefix.empty() ? "cloud-cpp" : prefix; in RandomTopicId() local 35 return p + "-" + date + "-" + suffix; in RandomTopicId() 38 std::string RandomSubscriptionId( in RandomSubscriptionId() 40 std::string const& prefix) { in RandomSubscriptionId() 45 auto suffix = google::cloud::internal::Sample( in RandomSubscriptionId() local 48 auto p = prefix.empty() ? "cloud-cpp" : prefix; in RandomSubscriptionId() local 49 return p + "-" + suffix; in RandomSubscriptionId() 58 auto suffix = google::cloud::internal::Sample( in RandomSnapshotId() local 60 auto p = prefix.empty() ? "cloud-cpp" : prefix; in RandomSnapshotId() local [all …]
|
/dports/audio/ardour6/Ardour-6.8.0/gtk2_ardour/ |
H A D | instrument_selector.cc | 46 std::string selected; in refill() 67 std::string cn = (*i)[_instrument_list_columns.name]; in refill() 132 std::string prev; in build_instrument_list() 136 std::string suffix; in build_instrument_list() local 157 suffix = _("stereo"); in build_instrument_list() 163 std::string pt = PluginManager::plugin_type_name (p->type); in build_instrument_list() 165 suffix += ", "; in build_instrument_list() 167 suffix += pt; in build_instrument_list() 170 std::string name = p->name; in build_instrument_list() 171 if (!suffix.empty ()) { in build_instrument_list() [all …]
|
/dports/devel/stxxl/stxxl-1.4.1/lib/mng/ |
H A D | config.cpp | 81 const char* suffix = ""; in find_config() local 86 const char* suffix = ".txt"; in find_config() local 96 if (exist_file(basepath + suffix)) in find_config() 97 return load_config_file(basepath + suffix); in find_config() 103 std::string basepath = std::string(home) + "/.stxxl"; in find_config() 108 if (exist_file(basepath + suffix)) in find_config() 109 return load_config_file(basepath + suffix); in find_config() 341 for (std::vector<std::string>::const_iterator p = param.begin(); in parse_fileio() local 342 p != param.end(); ++p) in parse_fileio() 345 std::vector<std::string> eq = split(*p, "=", 2, 2); in parse_fileio() [all …]
|
/dports/misc/thrill/thrill-12c5b59bca66df93b66628b3829027bd0f110dd9/extlib/foxxll/foxxll/mng/ |
H A D | config.cpp | 97 const char* suffix = ""; in find_config() local 102 const char* suffix = ".txt"; in find_config() local 109 if (hostname && exist_file(basepath + "." + hostname + suffix)) in find_config() 112 if (exist_file(basepath + suffix)) in find_config() 113 return load_config_file(basepath + suffix); in find_config() 122 if (hostname && exist_file(basepath + "." + hostname + suffix)) in find_config() 125 if (exist_file(basepath + suffix)) in find_config() 126 return load_config_file(basepath + suffix); in find_config() 422 for (std::vector<std::string>::const_iterator p = param.begin(); in parse_fileio() local 423 p != param.end(); ++p) in parse_fileio() [all …]
|
/dports/devel/android-tools-fastboot/platform_system_core-platform-tools-29.0.5/fs_mgr/libsnapshot/ |
H A D | test_helpers.cpp | 58 std::string TestPartitionOpener::GetDeviceString(const std::string& partition_name) const { in GetDeviceString() 65 bool WriteRandomData(const std::string& path) { in WriteRandomData() 85 std::string out(len * 2 + 1, '\0'); in ToHexString() 94 std::optional<std::string> GetHash(const std::string& path) { in GetHash() 95 std::string content; in GetHash() 109 const std::string& suffix) { in FillFakeMetadata() argument 116 auto p = builder->AddPartition(partition_name + suffix, group.name() + suffix, in FillFakeMetadata() local 118 if (!p) { in FillFakeMetadata() 125 auto p = builder->FindPartition(partition.partition_name() + suffix); in FillFakeMetadata() local 126 if (!p) { in FillFakeMetadata() [all …]
|
/dports/biology/sra-tools/sra-tools-2.11.0/tools/driver-tool/ |
H A D | util.hpp | 39 static inline bool starts_with(std::string const &prefix, std::string const &in_string) in starts_with() 44 static inline bool ends_with(std::string const &suffix, std::string const &in_string) in ends_with() argument 46 return in_string.ends_with(suffix); in ends_with() 51 static inline bool starts_with(std::string const &prefix, std::string const &in_string) in starts_with() 56 static inline bool ends_with(std::string const &suffix, std::string const &in_string) in ends_with() argument 58 …return (in_string.size() < suffix.size()) ? false : in_string.compare(in_string.size() - suffix.si… in ends_with() 105 static inline void randomfill(void *p, size_t size) in randomfill() argument 107 auto begp = (char *)p; in randomfill() 121 static inline T *randomized(T *p, U const &init) in randomized() argument 123 randomfill(p, sizeof(T)); in randomized() [all …]
|
/dports/math/asymptote/asymptote-2.67/base/ |
H A D | rational.asy | 168 return r.q == 1 ? string(r.p) : string(r.p)+"/"+string(r.q); 173 if(r.q == 1) return string(r.p); 176 return s+"\frac{"+string(abs(r.p))+"}{"+string(r.q)+"}"; 180 void write(file fout, string s="", rational r, suffix suffix=none) 182 write(fout,s+string(r),suffix); 185 void write(string s="", rational r, suffix suffix=endl) 187 write(stdout,s,r,suffix); 190 void write(file fout=stdout, string s="", rational[] a, suffix suffix=none) 198 write(fout,suffix); 201 void write(file fout=stdout, string s="", rational[][] a, suffix suffix=none) [all …]
|
/dports/net-p2p/gtorrentviewer/GTorrentViewer-0.2b/src/ |
H A D | utilities.c | 52 gchar *hex, *p; in util_convert_to_hex() local 59 for(i=0, p=hex; i<length; i++) in util_convert_to_hex() 63 memmove(p, prefix, prefix_length); in util_convert_to_hex() 64 p += prefix_length; in util_convert_to_hex() 70 *(p++) = list[(gint)ch]; in util_convert_to_hex() 73 *(p++) = list[(gint)ch]; in util_convert_to_hex() 88 util_convert_to_human(gdouble number, const gchar *suffix) in util_convert_to_human() argument 90 gchar *string; in util_convert_to_human() local 102 string = g_strdup_printf("%i %s", (gint)new_number, suffix?suffix:""); in util_convert_to_human() 104 string = g_strdup_printf("%.2f %c%s", new_number, presuffix[i-1], suffix?suffix:""); in util_convert_to_human() [all …]
|
/dports/science/tfel-edf/tfel-3.2.1/mfront/src/ |
H A D | LibraryDescription.cxx | 48 (d.name != s.name) || (d.prefix != s.prefix) || (d.suffix != s.suffix) || in mergeLibraryDescription() 106 p = "so"; in getDefaultLibrarySuffix() 109 p = "dll"; in getDefaultLibrarySuffix() 112 p = "dll"; in getDefaultLibrarySuffix() 129 if (p == nullptr) { in getDefaultLibrarySuffix() 132 return p; in getDefaultLibrarySuffix() 136 const std::string& p, in LibraryDescription() argument 139 : name(n), prefix(p), suffix(s), type(t) {} // end of LibraryDescription::LibraryDescription in LibraryDescription() 193 auto suffix = std::string{}; in read() 204 auto c = p; in read() [all …]
|