| /netbsd-src/external/gpl2/groff/dist/src/libs/libgroff/ |
| H A D | tmpfile.cpp | 122 char *templ = new char[tmpfile_prefix_len + postlen + 6 + 1]; in xtmptemplate() local 123 strcpy(templ, tmpfile_prefix); in xtmptemplate() 125 strcat(templ, postfix); in xtmptemplate() 126 strcat(templ, "XXXXXX"); in xtmptemplate() 127 return templ; in xtmptemplate() 176 char *templ = xtmptemplate(postfix_long, postfix_short); in xtmpfile() local 178 int fd = mkstemp(templ); in xtmpfile() 186 add_tmp_file(templ); in xtmpfile() 188 *namep = templ; in xtmpfile() 190 a_delete templ; in xtmpfile() local
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
| H A D | sanitizer_common.cc | 195 bool TemplateMatch(const char *templ, const char *str) { in TemplateMatch() argument 199 if (templ && templ[0] == '^') { in TemplateMatch() 201 templ++; in TemplateMatch() 204 while (templ && templ[0]) { in TemplateMatch() 205 if (templ[0] == '*') { in TemplateMatch() 206 templ++; in TemplateMatch() 211 if (templ[0] == '$') in TemplateMatch() 215 char *tpos = (char*)internal_strchr(templ, '*'); in TemplateMatch() 216 char *tpos1 = (char*)internal_strchr(templ, '$'); in TemplateMatch() 222 const char *spos = internal_strstr(str, templ); in TemplateMatch() [all …]
|
| H A D | sanitizer_libignore.cc | 33 lib->templ = internal_strdup(name_templ); in AddIgnoredLibrary() 48 TemplateMatch(lib->templ, name)) in OnLibraryLoaded() 63 if (!TemplateMatch(lib->templ, mod.full_name()) && in OnLibraryLoaded() 70 SanitizerToolName, lib->templ, lib->name, mod.full_name()); in OnLibraryLoaded() 79 lib->templ, mod.full_name()); in OnLibraryLoaded() 94 SanitizerToolName, lib->name, lib->templ); in OnLibraryLoaded()
|
| H A D | sanitizer_suppressions.cc | 88 if (0 == internal_strcmp(cur.type, type) && TemplateMatch(cur.templ, str)) { in Match() 135 s.templ = (char*)InternalAlloc(end2 - line + 1); in Parse() 136 internal_memcpy(s.templ, line, end2 - line); in Parse() 137 s.templ[end2 - line] = 0; in Parse()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/ |
| H A D | sanitizer_common.cc | 193 bool TemplateMatch(const char *templ, const char *str) { in TemplateMatch() argument 197 if (templ && templ[0] == '^') { in TemplateMatch() 199 templ++; in TemplateMatch() 202 while (templ && templ[0]) { in TemplateMatch() 203 if (templ[0] == '*') { in TemplateMatch() 204 templ++; in TemplateMatch() 209 if (templ[0] == '$') in TemplateMatch() 213 char *tpos = (char*)internal_strchr(templ, '*'); in TemplateMatch() 214 char *tpos1 = (char*)internal_strchr(templ, '$'); in TemplateMatch() 220 const char *spos = internal_strstr(str, templ); in TemplateMatch() [all …]
|
| H A D | sanitizer_libignore.cc | 31 lib->templ = internal_strdup(name_templ); in AddIgnoredLibrary() 46 TemplateMatch(lib->templ, name)) in OnLibraryLoaded() 61 if (!TemplateMatch(lib->templ, mod.full_name()) && in OnLibraryLoaded() 68 SanitizerToolName, lib->templ, lib->name, mod.full_name()); in OnLibraryLoaded() 77 lib->templ, mod.full_name()); in OnLibraryLoaded() 92 SanitizerToolName, lib->name, lib->templ); in OnLibraryLoaded()
|
| H A D | sanitizer_suppressions.cc | 86 if (0 == internal_strcmp(cur.type, type) && TemplateMatch(cur.templ, str)) { in Match() 133 s.templ = (char*)InternalAlloc(end2 - line + 1); in Parse() 134 internal_memcpy(s.templ, line, end2 - line); in Parse() 135 s.templ[end2 - line] = 0; in Parse()
|
| /netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/ |
| H A D | sanitizer_common.cpp | 193 bool TemplateMatch(const char *templ, const char *str) { in TemplateMatch() argument 197 if (templ && templ[0] == '^') { in TemplateMatch() 199 templ++; in TemplateMatch() 202 while (templ && templ[0]) { in TemplateMatch() 203 if (templ[0] == '*') { in TemplateMatch() 204 templ++; in TemplateMatch() 209 if (templ[0] == '$') in TemplateMatch() 213 char *tpos = (char*)internal_strchr(templ, '*'); in TemplateMatch() 214 char *tpos1 = (char*)internal_strchr(templ, '$'); in TemplateMatch() 220 const char *spos = internal_strstr(str, templ); in TemplateMatch() [all …]
|
| H A D | sanitizer_libignore.cpp | 32 lib->templ = internal_strdup(name_templ); in AddIgnoredLibrary() 47 TemplateMatch(lib->templ, name)) in OnLibraryLoaded() 62 if (!TemplateMatch(lib->templ, mod.full_name()) && in OnLibraryLoaded() 69 SanitizerToolName, lib->templ, lib->name, mod.full_name()); in OnLibraryLoaded() 78 lib->templ, mod.full_name()); in OnLibraryLoaded() 93 SanitizerToolName, lib->name, lib->templ); in OnLibraryLoaded()
|
| H A D | sanitizer_suppressions.cpp | 98 if (0 == internal_strcmp(cur.type, type) && TemplateMatch(cur.templ, str)) { in Match() 145 s.templ = (char*)InternalAlloc(end2 - line + 1); in Parse() 146 internal_memcpy(s.templ, line, end2 - line); in Parse() 147 s.templ[end2 - line] = 0; in Parse()
|
| /netbsd-src/lib/librefuse/ |
| H A D | refuse_opt.c | 183 static bool match_templ(const char *templ, const char *opt, ssize_t *sep_idx) in match_templ() argument 185 const char *sep = strpbrk(templ, "= "); in match_templ() 189 (size_t)(sep[0] == '=' ? sep - templ + 1 : sep - templ); in match_templ() 191 if (strlen(opt) >= cmp_len && strncmp(templ, opt, cmp_len) == 0) { in match_templ() 193 *sep_idx = (ssize_t)(sep - templ); in match_templ() 201 if (strcmp(templ, opt) == 0) { in match_templ() 215 for (; opts != NULL && opts->templ != NULL; opts++) { in find_opt() 216 if (match_templ(opts->templ, opt, sep_idx)) in find_opt() 298 if (sep_idx > 0 && opt->templ[sep_idx + 1] == '%') { in parse_matched_arg() 301 opt->templ[sep_idx] == '=' ? &arg[sep_idx + 1] : &arg[sep_idx]; in parse_matched_arg() [all …]
|
| H A D | fuse_opt.h | 50 const char *templ; member 55 #define FUSE_OPT_KEY(templ, key) { templ, -1, key } argument 56 #define FUSE_OPT_END { .templ = NULL }
|
| /netbsd-src/external/gpl3/gcc/dist/libgcc/ |
| H A D | emutls.c | 44 void *templ; member 127 if (obj->templ) in emutls_alloc() 128 memcpy (ret, obj->templ, obj->size); in emutls_alloc() 207 word size, word align, void *templ) in __emutls_register_common() argument 214 obj->templ = NULL; in __emutls_register_common() 218 if (templ && size == obj->size) in __emutls_register_common() 219 obj->templ = templ; in __emutls_register_common()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libgcc/ |
| H A D | emutls.c | 44 void *templ; member 127 if (obj->templ) in emutls_alloc() 128 memcpy (ret, obj->templ, obj->size); in emutls_alloc() 207 word size, word align, void *templ) in __emutls_register_common() argument 214 obj->templ = NULL; in __emutls_register_common() 218 if (templ && size == obj->size) in __emutls_register_common() 219 obj->templ = templ; in __emutls_register_common()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libphobos/libdruntime/gcc/ |
| H A D | emutls.d | 51 ubyte* templ; member 176 extern (C) void __emutls_register_common(__emutls_object* obj, word size, word align_, ubyte* templ… in __emutls_register_common() argument 181 obj.templ = null; in __emutls_register_common() 185 if (templ && size == obj.size) in __emutls_register_common() 186 obj.templ = templ; in __emutls_register_common() 216 if (obj.templ) in emutlsAlloc() 217 memcpy(ret, cast(ubyte*) obj.templ, cast() obj.size); in emutlsAlloc()
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/gcc/ |
| H A D | emutls.d | 52 ubyte* templ; member 177 extern (C) void __emutls_register_common(__emutls_object* obj, word size, word align_, ubyte* templ… in __emutls_register_common() argument 182 obj.templ = null; in __emutls_register_common() 186 if (templ && size == obj.size) in __emutls_register_common() 187 obj.templ = templ; in __emutls_register_common() 217 if (obj.templ) in emutlsAlloc() 218 memcpy(ret, cast(ubyte*) obj.templ, cast() obj.size); in emutlsAlloc()
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/external/perl/Text-Template-1.46/lib/Text/ |
| H A D | Template.pm | 378 my $templ = $pack->new(TYPE => 'STRING', SOURCE => $text, @_) 380 $templ->compile or return undef; 381 my $result = $templ->fill_in(@_); 394 my $templ = Text::Template->new(TYPE => 'FILE', SOURCE => $fn, @_) 396 $templ->compile or return undef; 397 my $text = $templ->fill_in(@_);
|
| /netbsd-src/crypto/external/bsd/openssl/dist/external/perl/Text-Template-1.56/lib/Text/ |
| H A D | Template.pm | 457 my $templ = $pack->new(TYPE => 'STRING', SOURCE => $text, @_) 460 $templ->compile or return undef; 462 my $result = $templ->fill_in(@_); 479 my $templ = Text::Template->new(TYPE => 'FILE', SOURCE => $fn, @_) or return undef; 481 $templ->compile or return undef; 483 my $text = $templ->fill_in(@_);
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/ |
| H A D | sanitizer_suppressions_test.cc | 20 static bool MyMatch(const char *templ, const char *func) { in MyMatch() argument 22 strcpy(tmp, templ); // NOLINT in MyMatch() 78 EXPECT_STREQ(templs[i], s->templ); in CheckSuppressions()
|
| /netbsd-src/external/gpl3/gcc/dist/libsanitizer/tsan/ |
| H A D | tsan_suppressions.cpp | 99 VPrintf(2, "ThreadSanitizer: matched suppression '%s'\n", (*sp)->templ); in IsSuppressed() 137 VPrintf(2, "ThreadSanitizer: matched suppression '%s'\n", s->templ); in IsSuppressed() 158 matched[i]->type, matched[i]->templ); in PrintMatchedSuppressions()
|
| /netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/tsan/ |
| H A D | tsan_suppressions.cc | 106 VPrintf(2, "ThreadSanitizer: matched suppression '%s'\n", (*sp)->templ); in IsSuppressed() 144 VPrintf(2, "ThreadSanitizer: matched suppression '%s'\n", s->templ); in IsSuppressed() 165 matched[i]->type, matched[i]->templ); in PrintMatchedSuppressions()
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/ |
| H A D | tsan_suppressions.cc | 108 VPrintf(2, "ThreadSanitizer: matched suppression '%s'\n", (*sp)->templ); in IsSuppressed() 146 VPrintf(2, "ThreadSanitizer: matched suppression '%s'\n", s->templ); in IsSuppressed() 167 matched[i]->type, matched[i]->templ); in PrintMatchedSuppressions()
|
| /netbsd-src/lib/libc/resolv/ |
| H A D | res_debug.c | 1051 u_int32_t templ; in loc_ntoa() local 1071 GETLONG(templ, cp); in loc_ntoa() 1072 latval = (templ - ((unsigned)1<<31)); in loc_ntoa() 1074 GETLONG(templ, cp); in loc_ntoa() 1075 longval = (templ - ((unsigned)1<<31)); in loc_ntoa() 1077 GETLONG(templ, cp); in loc_ntoa() 1078 if (templ < referencealt) { /*%< below WGS 84 spheroid */ in loc_ntoa() 1079 altval = referencealt - templ; in loc_ntoa() 1082 altval = templ - referencealt; in loc_ntoa()
|
| /netbsd-src/external/bsd/libbind/dist/resolv/ |
| H A D | res_debug.c | 1048 u_int32_t templ; local 1068 GETLONG(templ, cp); 1069 latval = (templ - ((unsigned)1<<31)); 1071 GETLONG(templ, cp); 1072 longval = (templ - ((unsigned)1<<31)); 1074 GETLONG(templ, cp); 1075 if (templ < referencealt) { /*%< below WGS 84 spheroid */ 1076 altval = referencealt - templ; 1079 altval = templ - referencealt;
|
| /netbsd-src/external/bsd/openldap/dist/servers/slapd/overlays/ |
| H A D | pcache.c | 347 QueryTemplate *templ, 1563 QueryTemplate *templ, in add_query() argument 1574 new_cached_query->qtemp = templ; in add_query() 1581 ttl = templ->ttl; in add_query() 1582 if ( templ->ttr ) in add_query() 1583 ttr = now + templ->ttr; in add_query() 1587 ttl = templ->negttl; in add_query() 1591 ttl = templ->limitttl; in add_query() 1625 (void *) templ ); in add_query() 1626 ldap_pvt_thread_rdwr_wlock(&templ->t_rwlock); in add_query() [all …]
|