Home
last modified time | relevance | path

Searched refs:strchr (Results 1 – 25 of 1370) sorted by relevance

12345678910>>...55

/openbsd/gnu/llvm/clang/include/clang/Basic/
H A DBuiltins.h117 return strchr(getRecord(ID).Attributes, 'U') != nullptr; in isPure()
123 return strchr(getRecord(ID).Attributes, 'c') != nullptr; in isConst()
128 return strchr(getRecord(ID).Attributes, 'n') != nullptr; in isNoThrow()
133 return strchr(getRecord(ID).Attributes, 'r') != nullptr; in isNoReturn()
138 return strchr(getRecord(ID).Attributes, 'j') != nullptr; in isReturnsTwice()
144 return strchr(getRecord(ID).Attributes, 'u') != nullptr; in isUnevaluated()
150 return strchr(getRecord(ID).Attributes, 'F') != nullptr; in isLibFunction()
161 return strchr(getRecord(ID).Attributes, 'f') != nullptr; in isPredefinedLibFunction()
210 return strchr(getRecord(ID).Type, '*') != nullptr; in hasPtrArgsOrResult()
216 return strchr(getRecord(ID).Type, '&') != nullptr || in hasReferenceArgsOrResult()
[all …]
/openbsd/regress/lib/libc/strchr/
H A Dstrchrtest.c40 assert(strchr(buf, 'a') == NULL); in main()
41 assert(strchr(buf, '\0') == buf); in main()
46 assert(strchr(buf, 'a') == buf + 1); in main()
47 assert(strchr(buf, '\x80') == buf + 9); in main()
48 assert(strchr(buf, 0x180) == buf + 9); in main()
49 assert(strchr(buf, '\0') == buf + 10); in main()
58 assert(strchr(buf, 'b') == buf); in main()
59 assert(strchr(buf, 'c') == NULL); in main()
60 assert(strchr(buf, '\0') == buf + bufsize - 1); in main()
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
H A Dstring-opt-4.c9 extern char *strchr (const char *, int);
16 if (strchr (foo, 'x')) in main()
18 if (strchr (foo, 'o') != foo + 4) in main()
20 if (strchr (foo + 5, 'o') != foo + 7) in main()
22 if (strchr (foo, '\0') != foo + 11) in main()
48 return strchr(s, c); in index()
57 strchr (const char *s, int c) in strchr() function
H A D20000112-1.c7 return (strchr (fmt, '*') != 0
8 || strchr (fmt, 'V') != 0
9 || strchr (fmt, 'S') != 0
10 || strchr (fmt, 'n') != 0);
H A Dstring-opt-5.c11 extern char *strchr (const char *, int);
51 if (strchr (foo + (x++ & 7), 'l') != foo + 9) in main()
55 if (strchr (bar, 'o') != bar + 4) in main()
57 if (strchr (bar, '\0') != bar + 8) in main()
/openbsd/usr.sbin/ypserv/ypserv/
H A Dypserv_proc.c87 if (strchr(*argp, '/')) in ypproc_domain_2_svc()
114 if (strchr(*argp, '/')) in ypproc_domain_nonack_2_svc()
143 if (strchr(argp->domain, '/') || strchr(argp->map, '/')) in ypproc_match_2_svc()
176 if (strchr(argp->domain, '/') || strchr(argp->map, '/')) in ypproc_first_2_svc()
207 if (strchr(argp->domain, '/') || strchr(argp->map, '/')) in ypproc_next_2_svc()
319 if (strchr(argp->domain, '/') || strchr(argp->map, '/')) in ypproc_all_2_svc()
361 if (strchr(argp->domain, '/') || strchr(argp->map, '/')) in ypproc_master_2_svc()
407 if (strchr(argp->domain, '/')) in ypproc_order_2_svc()
449 if (strchr(*argp, '/')) in ypproc_maplist_2_svc()
541 if (strchr(*argp, '/')) in ypoldproc_domain_1_svc()
[all …]
/openbsd/gnu/usr.bin/binutils/binutils/
H A Ddllwrap.c196 if (strchr (cmd, '/') != NULL) in look_for_prog()
844 int quote = (strchr (arg, ' ') || strchr (arg, '\t')); in main()
919 int quote = (strchr (arg, ' ') || strchr (arg, '\t')); in main()
959 int quote = (strchr (arg, ' ') || strchr (arg, '\t')); in main()
1013 || strchr (base_file_name, '\t')); in main()
1064 || strchr (base_file_name, '\t')); in main()
1072 quote = (strchr (exp_file_name, ' ') in main()
1073 || strchr (exp_file_name, '\t')); in main()
1116 || strchr (exp_file_name, '\t')); in main()
1158 || strchr (exp_file_name, '\t')); in main()
[all …]
/openbsd/gnu/usr.bin/binutils-2.17/binutils/
H A Ddllwrap.c191 if (strchr (cmd, '/') != NULL) in look_for_prog()
837 int quote = (strchr (arg, ' ') || strchr (arg, '\t')); in main()
912 int quote = (strchr (arg, ' ') || strchr (arg, '\t')); in main()
950 int quote = (strchr (arg, ' ') || strchr (arg, '\t')); in main()
1001 || strchr (base_file_name, '\t')); in main()
1049 || strchr (base_file_name, '\t')); in main()
1057 quote = (strchr (exp_file_name, ' ') in main()
1058 || strchr (exp_file_name, '\t')); in main()
1101 || strchr (exp_file_name, '\t')); in main()
1143 || strchr (exp_file_name, '\t')); in main()
[all …]
/openbsd/usr.bin/make/
H A Dstr.h36 #define Str_concat(s1, s2, sep) Str_concati(s1, strchr(s1, '\0'), s2, strchr(s2, '\0'), sep)
66 Str_Matchi(string, strchr(string, '\0'), pattern, strchr(pattern, '\0'))
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/
H A D20020701-1.c9 char *strchr (const char *, int);
35 v3 = strchr (v2, ','); in f()
36 v6 = strchr (v5, ','); in f()
51 v3 = strchr (v2, ','); in f()
52 v6 = strchr (v5, ','); in f()
/openbsd/usr.sbin/smtpd/
H A Dmda_variables.c70 if ((lbracket = strchr(rtoken, '[')) && in mda_expand_token()
71 (rbracket = strchr(rtoken, ']'))) { in mda_expand_token()
79 if ((sep = strchr(content, ':')) == NULL) in mda_expand_token()
97 mods = strchr(rbracket + 1, ':'); in mda_expand_token()
99 if ((mods = strchr(rtoken, ':')) != NULL) in mda_expand_token()
172 if ((sep = strchr(mods, '|')) != NULL) in mda_expand_token()
192 if (strchr(MAILADDR_ESCAPE, tmp[i])) in mda_expand_token()
287 if ((ebuf = strchr(pbuf+2, '}')) == NULL) in mda_expand_format()
352 if ((tag = strchr(buf, *env->sc_subaddressing_delim)) != NULL) { in mod_strip()
354 if ((at = strchr(tag, '@')) != NULL) { in mod_strip()
/openbsd/lib/libc/arch/amd64/string/
H A Dstrchr.S37 WEAK_ALIAS(index, strchr)
46 ENTRY(strchr)
47 RETGUARD_SETUP(strchr, r8)
103 RETGUARD_CHECK(strchr, r11)
130 END_STRONG(strchr)
/openbsd/sys/lib/libkern/arch/amd64/
H A Dstrchr.S37 STRONG_ALIAS(index, strchr)
46 ENTRY(strchr)
47 RETGUARD_SETUP(strchr, r9)
103 RETGUARD_CHECK(strchr, r9)
131 END(strchr)
/openbsd/lib/libc/string/
H A Dstrchr.c33 __weak_alias(index, strchr);
36 strchr(const char *p, int ch) in strchr() function
46 DEF_STRONG(strchr);
/openbsd/usr.bin/mandoc/
H A Ddba_read.c53 for (cp = pdata->name; *cp != '\0'; cp = strchr(cp, '\0') + 1) in dba_read()
55 for (cp = pdata->sect; *cp != '\0'; cp = strchr(cp, '\0') + 1) in dba_read()
58 while (*(cp = strchr(cp, '\0') + 1) != '\0') in dba_read()
61 while (*(cp = strchr(cp, '\0') + 1) != '\0') in dba_read()
/openbsd/usr.bin/cvs/
H A Droot.c79 if ((cp = strchr(sp, ':')) == NULL) in cvsroot_parse()
95 if ((sp = strchr(cp, '/')) == NULL) in cvsroot_parse()
116 sp = strchr(cp, '@'); in cvsroot_parse()
121 pp = strchr(cp, ':'); in cvsroot_parse()
131 pp = strchr(sp, ':'); in cvsroot_parse()
/openbsd/sbin/wsconsctl/
H A Dwsconsctl.c176 const char *c = strchr(argv[i], '.'); in main()
179 c = strchr(argv[i], '\0'); in main()
199 p = strchr(argv[i], '='); in main()
201 if (!strchr(argv[i], '.')) { in main()
234 if (!strchr(argv[i], '.') || in main()
235 (strchr(argv[i], '.') > p)) { in main()
295 const char *p = strchr(var, '.'); in tab_by_name()
304 p = strchr(var, '\0'); in tab_by_name()
/openbsd/usr.bin/locate/locate/
H A Dutil.c149 if (strchr(LOCATE_REG, *p) == NULL) in patprep()
159 (strchr(p, '[') != NULL || strchr(p, ']') != NULL)) { in patprep()
170 if (p >= name && strchr(LOCATE_REG, *p) != NULL) in patprep()
180 if (strchr(LOCATE_REG, *p) != NULL) in patprep()
/openbsd/lib/libc/arch/i386/string/
H A Dstrchr.S9 WEAK_ALIAS(index, strchr)
11 ENTRY(strchr)
25 END_STRONG(strchr)
/openbsd/gnu/gcc/gcc/config/alpha/
H A Dvms-cc.c188 devptr = strchr (cwd, ':'); in main()
233 else if ((argv[i][0] == '/') && (strchr (&argv[i][1], '/') == 0)) in main()
245 else if (strchr (ptr, ':')) in main()
327 if (strchr (new_host_dirspec, ']') || strchr (new_host_dirspec, ':')) in to_host_dir_spec()
347 if (strchr (filespec, ']') || strchr (filespec, ':')) in to_host_file_spec()
H A Dvms-ld.c158 eptr = strchr (sptr, PATH_SEPARATOR); in locate_lib()
160 eptr = strchr (sptr, 0); in locate_lib()
167 ptr = strchr (buf, 0); in locate_lib()
281 if (ptr == strchr (argv[i], ']')) in preprocess_args()
283 else if (ptr == strchr (argv[i], ':')) in preprocess_args()
355 ptr = strchr (buff, '.'); in process_args()
385 devptr = strchr (cwd, ':'); in main()
509 ptr1 = strchr (ptr, ' '); in main()
524 else if ((argv[i][0] == '/') && (strchr (&argv[i][1], '/') == 0)) in main()
579 else if (strchr (argv[i], ':')) in main()
[all …]
/openbsd/gnu/usr.bin/gcc/gcc/config/alpha/
H A Dvms-cc.c195 devptr = strchr (cwd, ':');
240 else if ((argv[i][0] == '/') && (strchr (&argv[i][1], '/') == 0))
252 else if (strchr (ptr, ':'))
337 if (strchr (new_host_dirspec, ']') || strchr (new_host_dirspec, ':'))
358 if (strchr (filespec, ']') || strchr (filespec, ':'))
H A Dvms-ld.c159 eptr = strchr (sptr, PATH_SEPARATOR);
161 eptr = strchr (sptr, 0);
168 ptr = strchr (buf, 0);
286 if (ptr == strchr (argv[i], ']'))
288 else if (ptr == strchr (argv[i], ':'))
362 ptr = strchr (buff, '.');
394 devptr = strchr (cwd, ':');
518 ptr1 = strchr (ptr, ' ');
533 else if ((argv[i][0] == '/') && (strchr (&argv[i][1], '/') == 0))
588 else if (strchr (argv[i], ':'))
[all …]
/openbsd/lib/libc/arch/mips64/string/
H A Dstrchr.S36 WEAK_ALIAS(index, strchr)
38 LEAF(strchr, 0)
52 END_STRONG(strchr)
/openbsd/usr.bin/ftp/
H A Dfetch.c384 p = strchr(host, '@'); in url_get()
391 path = strchr(host, '/'); in url_get()
741 } else if (strchr(host, ':')) { in url_get()
808 cp = strchr(buf, ' '); in url_get()
1327 dir = strchr(host, '/'); in auto_fetch()
1332 userend = strchr(host, ':'); in auto_fetch()
1333 passend = strchr(host, '@'); in auto_fetch()
1361 cp = strchr(host, ']'); in auto_fetch()
1375 portnum = strchr(cp, ':'); in auto_fetch()
1376 pathstart = strchr(cp, '/'); in auto_fetch()
[all …]

12345678910>>...55