Home
last modified time | relevance | path

Searched refs:templ (Results 1 – 25 of 187) sorted by relevance

12345678

/netbsd-src/external/gpl2/groff/dist/src/libs/libgroff/
H A Dtmpfile.cpp122 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 Dsanitizer_common.cc195 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 Dsanitizer_libignore.cc33 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 Dsanitizer_suppressions.cc88 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 Dsanitizer_common.cc193 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 Dsanitizer_libignore.cc31 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 Dsanitizer_suppressions.cc86 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 Dsanitizer_common.cpp193 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 Dsanitizer_libignore.cpp32 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 Dsanitizer_suppressions.cpp98 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 Drefuse_opt.c183 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 Dfuse_opt.h50 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 Demutls.c44 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 Demutls.c44 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 Demutls.d51 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 Demutls.d52 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 DTemplate.pm378 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 DTemplate.pm457 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 Dsanitizer_suppressions_test.cc20 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 Dtsan_suppressions.cpp99 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 Dtsan_suppressions.cc106 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 Dtsan_suppressions.cc108 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 Dres_debug.c1051 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 Dres_debug.c1048 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 Dpcache.c347 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 …]

12345678