Home
last modified time | relevance | path

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

12

/openbsd/src/lib/libfuse/
Dfuse_opt.c74 match_opt(const char *templ, const char *opt) in match_opt() argument
78 len = strlen(templ); in match_opt()
79 sep = strcspn(templ, "="); in match_opt()
82 sep = strcspn(templ, " "); in match_opt()
85 if (sep < len && (templ[sep + 1] == '\0' || templ[sep + 1] == '%')) { in match_opt()
86 if (strncmp(opt, templ, sep) == 0) in match_opt()
92 if (strcmp(opt, templ) == 0) in match_opt()
198 for(; o != NULL && o->templ; o++) { in parse_opt()
199 sep = match_opt(o->templ, opt); in parse_opt()
207 if (o->templ[sep] == '=') in parse_opt()
[all …]
Dfuse_opt.h32 const char *templ; member
/openbsd/src/gnu/usr.bin/binutils/gdb/
Dsymfile-mem.c61 symbol_file_add_from_memory (struct bfd *templ, CORE_ADDR addr, int from_tty) in symbol_file_add_from_memory() argument
70 if (bfd_get_flavour (templ) != bfd_target_elf_flavour) in symbol_file_add_from_memory()
73 nbfd = bfd_elf_bfd_from_remote_memory (templ, addr, &loadbase, in symbol_file_add_from_memory()
116 struct bfd *templ; in add_symbol_file_from_memory_command() local
125 templ = symfile_objfile->obfd; in add_symbol_file_from_memory_command()
127 templ = exec_bfd; in add_symbol_file_from_memory_command()
128 if (templ == NULL) in add_symbol_file_from_memory_command()
132 symbol_file_add_from_memory (templ, addr, from_tty); in add_symbol_file_from_memory_command()
/openbsd/src/gnu/llvm/compiler-rt/lib/sanitizer_common/
Dsanitizer_common.cpp208 bool TemplateMatch(const char *templ, const char *str) { in TemplateMatch() argument
212 if (templ && templ[0] == '^') { in TemplateMatch()
214 templ++; in TemplateMatch()
217 while (templ && templ[0]) { in TemplateMatch()
218 if (templ[0] == '*') { in TemplateMatch()
219 templ++; in TemplateMatch()
224 if (templ[0] == '$') in TemplateMatch()
228 char *tpos = (char*)internal_strchr(templ, '*'); in TemplateMatch()
229 char *tpos1 = (char*)internal_strchr(templ, '$'); in TemplateMatch()
235 const char *spos = internal_strstr(str, templ); in TemplateMatch()
[all …]
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()
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()
Dsanitizer_suppressions.h24 char *templ; member
Dsanitizer_libignore.h53 char *templ; member
/openbsd/src/games/sail/
Ddr_2.c221 try(char command[], size_t commandl, char temp[], size_t templ, int ma, int ta, in try() argument
232 (void) strlcat(temp, st, templ); in try()
233 new = score(temp, templ, f, t, rakeme); in try()
238 try(command, commandl, temp, templ, ma-n, ta, af, vma-n, in try()
243 (void) strlcat(temp, "r", templ); in try()
244 new = score(temp, templ, f, t, rakeme); in try()
249 …try(command, commandl, temp, templ, ma-1, ta-1, af, min(ma-1, maxmove(f, (dir == 8 ? 1 : dir+1), 0… in try()
253 (void) strlcat(temp, "l", templ); in try()
254 new = score(temp, templ, f, t, rakeme); in try()
259 …try(command, commandl, temp, templ, ma-1, ta-1, af, (min(ma-1,maxmove(f, (dir-1 ? dir-1 : 8), 0)))… in try()
/openbsd/src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.pt/
Denum.C4 struct templ struct
12 len = templ<int>::val argument
/openbsd/src/gnu/llvm/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_suppressions_test.cpp19 static bool MyMatch(const char *templ, const char *func) { in MyMatch() argument
21 snprintf(tmp, sizeof(tmp), "%s", templ); in MyMatch()
77 EXPECT_STREQ(templs[i], s->templ); in CheckSuppressions()
/openbsd/src/usr.bin/indent/
Dlexi.c52 struct templ { struct
57 struct templ specialsinit[] = { argument
88 struct templ *specials = specialsinit;
570 struct templ *p; in addkey()
591 struct templ *specials2; in addkey()
/openbsd/src/gnu/llvm/compiler-rt/lib/tsan/rtl/
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()
/openbsd/src/usr.bin/ssh/
Dpkcs11.h785 struct ck_attribute *templ,
789 struct ck_attribute *templ, unsigned long count,
801 struct ck_attribute *templ,
806 struct ck_attribute *templ,
810 struct ck_attribute *templ,
955 struct ck_attribute *templ,
980 struct ck_attribute *templ,
987 struct ck_attribute *templ,
/openbsd/src/gnu/gcc/gcc/
Dtree-ssa-address.c178 struct mem_addr_template *templ; in addr_for_mem_ref() local
215 templ = templates + TEMPL_IDX (addr->symbol, addr->base, addr->index, in addr_for_mem_ref()
218 *templ->step_p = st; in addr_for_mem_ref()
220 *templ->off_p = off; in addr_for_mem_ref()
222 return templ->ref; in addr_for_mem_ref()
/openbsd/src/gnu/usr.bin/binutils/bfd/
Dopncls.c511 bfd_create (const char *filename, bfd *templ) in bfd_create() argument
519 if (templ) in bfd_create()
520 nbfd->xvec = templ->xvec; in bfd_create()
Delfcode.h1526 (bfd *templ, in NAME()
1568 if (! bfd_header_big_endian (templ)) in NAME()
1575 if (! bfd_header_little_endian (templ)) in NAME()
1587 elf_swap_ehdr_in (templ, &x_ehdr, &i_ehdr); in NAME()
1620 elf_swap_phdr_in (templ, &x_phdrs[i], &i_phdrs[i]); in NAME()
1720 nbfd->xvec = templ->xvec; in NAME()
Delf-bfd.h902 (bfd *templ, bfd_vma ehdr_vma, bfd_vma *loadbasep,
1685 (bfd *templ, bfd_vma ehdr_vma, bfd_vma *loadbasep,
1688 (bfd *templ, bfd_vma ehdr_vma, bfd_vma *loadbasep,
Dbfd-in.h661 (bfd *templ, bfd_vma ehdr_vma, bfd_vma *loadbasep,
/openbsd/src/gnu/usr.bin/binutils-2.17/bfd/
Dopncls.c715 bfd_create (const char *filename, bfd *templ) in bfd_create() argument
723 if (templ) in bfd_create()
724 nbfd->xvec = templ->xvec; in bfd_create()
Delfcode.h1604 (bfd *templ, in NAME()
1646 if (! bfd_header_big_endian (templ)) in NAME()
1653 if (! bfd_header_little_endian (templ)) in NAME()
1665 elf_swap_ehdr_in (templ, &x_ehdr, &i_ehdr); in NAME()
1698 elf_swap_phdr_in (templ, &x_phdrs[i], &i_phdrs[i]); in NAME()
1804 nbfd->xvec = templ->xvec; in NAME()
Delf-bfd.h969 (bfd *templ, bfd_vma ehdr_vma, bfd_vma *loadbasep,
1868 (bfd *templ, bfd_vma ehdr_vma, bfd_vma *loadbasep,
1871 (bfd *templ, bfd_vma ehdr_vma, bfd_vma *loadbasep,
Dbfd-in.h703 (bfd *templ, bfd_vma ehdr_vma, bfd_vma *loadbasep,
/openbsd/src/sys/dev/usb/
Duaudio.c280 char *templ; member
705 uaudio_mkname(struct uaudio_softc *sc, char *templ, char *res) in uaudio_mkname() argument
715 sep = strchr(templ, '_') != NULL ? "_" : ""; in uaudio_mkname()
722 n->templ = templ; in uaudio_mkname()
727 if (strcmp(n->templ, templ) == 0) in uaudio_mkname()
732 snprintf(res, UAUDIO_NAMEMAX, "%s", templ); in uaudio_mkname()
734 snprintf(res, UAUDIO_NAMEMAX, "%s%s%u", templ, sep, n->unit); in uaudio_mkname()
/openbsd/src/gnu/usr.bin/binutils/bfd/doc/
Dopncls.texi112 bfd *bfd_create (const char *filename, bfd *templ);

12