Home
last modified time | relevance | path

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

12345678910>>...43

/dragonfly/contrib/ldns/
HDduration.c131 P = strchr(str, 'P'); in ldns_duration_create_from_string()
137 T = strchr(str, 'T'); in ldns_duration_create_from_string()
138 X = strchr(str, 'Y'); in ldns_duration_create_from_string()
144 X = strchr(str, 'M'); in ldns_duration_create_from_string()
150 X = strchr(str, 'D'); in ldns_duration_create_from_string()
160 X = strchr(str, 'H'); in ldns_duration_create_from_string()
172 X = strchr(str, 'S'); in ldns_duration_create_from_string()
179 W = strchr(str, 'W'); in ldns_duration_create_from_string()
/dragonfly/contrib/mdocml/
HDdba_read.c55 for (cp = pdata->name; *cp != '\0'; cp = strchr(cp, '\0') + 1) in dba_read()
57 for (cp = pdata->sect; *cp != '\0'; cp = strchr(cp, '\0') + 1) in dba_read()
60 while (*(cp = strchr(cp, '\0') + 1) != '\0') in dba_read()
63 while (*(cp = strchr(cp, '\0') + 1) != '\0') in dba_read()
/dragonfly/lib/libc/inet/
HDinet_net_pton.c72 n = strchr(xdigits, ch) - xdigits; in inet_net_pton_ipv4()
95 n = strchr(digits, ch) - digits; in inet_net_pton_ipv4()
124 n = strchr(digits, ch) - digits; in inet_net_pton_ipv4()
193 pch = strchr(digits, ch); in getbits()
224 pch = strchr(digits, ch); in getv4()
284 if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL) in inet_net_pton_ipv6()
285 pch = strchr((xdigits = xdigits_u), ch); in inet_net_pton_ipv6()
HDinet_cidr_pton.c86 n = strchr(digits, ch) - digits; in inet_cidr_pton_ipv4()
167 if ((pch = strchr((xdigits = xdigits_l), ch)) == NULL) in inet_cidr_pton_ipv6()
168 pch = strchr((xdigits = xdigits_u), ch); in inet_cidr_pton_ipv6()
255 cp = strchr(digits, ch); in getbits()
/dragonfly/sbin/hammer2/
HDcmd_cleanup.c107 if (strchr(ptr, '@')) in sameh2prefix()
108 *strchr(ptr, '@') = 0; in sameh2prefix()
131 if (strchr(ptr, '@')) in saveh2prefix()
132 *strchr(ptr, '@') = 0; in saveh2prefix()
/dragonfly/usr.sbin/pw/
HDpsdate.c109 if ((str = strchr(str, ':')) == NULL) in parse_time()
114 *sec = ((str = strchr(str, ':')) == NULL) ? 0 : atoi(++str); in parse_time()
132 while (*str && strchr(nchrs + 10, *str) != NULL) in parse_datesub()
141 while (*str && strchr(nchrs + 10, *str) != NULL) in parse_datesub()
242 if (strchr("(+-", q[1]) != NULL) in parse_date()
259 if ((p = strchr(tmp, ':')) == NULL) { in parse_date()
/dragonfly/games/hunt/hunt/
HDotto.c164 if (strchr(OPPONENT, flbr[i].what) != NULL) { in otto()
171 if (strchr(SHOTS, bitem.what) != NULL && !(bitem.what & ON_SIDE)) { in otto()
446 if (strchr(PUSHOVER, SCREEN(row, col - 1)) != NULL) in duck()
448 else if (strchr(PUSHOVER, SCREEN(row, col + 1)) != NULL) in duck()
451 && strchr(PUSHOVER, SCREEN(row + 1, col)) != NULL) in duck()
454 && strchr(PUSHOVER, SCREEN(row - 1, col)) != NULL) in duck()
464 if (strchr(PUSHOVER, SCREEN(row - 1, col)) != NULL) in duck()
466 else if (strchr(PUSHOVER, SCREEN(row + 1, col)) != NULL) in duck()
469 && strchr(PUSHOVER, SCREEN(row, col + 1)) != NULL) in duck()
472 && strchr(PUSHOVER, SCREEN(row, col - 1)) != NULL) in duck()
/dragonfly/games/hack/
HDhack.mon.c240 if ((!(moves % 20) || strchr(MREGEN, mdat->mlet)) && in dochug()
253 (!strchr("NL", mdat->mlet) || !rn2(50)) && in dochug()
254 (Aggravate_monster || strchr("d1", mdat->mlet) in dochug()
268 if (mtmp->mflee && strchr("tNL", mdat->mlet) && !rn2(40)) { in dochug()
291 (strchr("BIuy", mdat->mlet) && !rn2(4)) || in dochug()
300 if (!strchr("Ea", mdat->mlet) && nearby && in dochug()
373 if (strchr("D1", msym)) in m_move()
393 (strchr("BIy", msym) && !rn2(3))) in m_move()
420 likegold = (strchr("LOD", msym) != NULL); in m_move()
421 likegems = (strchr("ODu", msym) != NULL); in m_move()
[all …]
HDhack.options.c95 if ((op = strchr(opts, ',')) != NULL) { in parseoptions()
99 if ((op = strchr(opts, ' ')) != NULL) { in parseoptions()
162 op = strchr(opts, ':'); in parseoptions()
170 op = strchr(opts, ':'); in parseoptions()
HDhack.makemon.c89 if (strchr(fut_geno, ptr->mlet)) in makemon()
93 if (strchr(fut_geno, 'm')) in makemon()
95 if (strchr(fut_geno, '@')) in makemon()
106 if (strchr(fut_geno, ptr->mlet)) in makemon()
155 || (in_mklev && strchr("&w;", ptr->mlet) && rn2(5)) in makemon()
/dragonfly/contrib/gcc-8.0/gcc/
HDgengenrtl.c116 return (strchr (fmt, '*') != 0 in special_format()
117 || strchr (fmt, 'V') != 0 in special_format()
118 || strchr (fmt, 'S') != 0 in special_format()
119 || strchr (fmt, 'n') != 0 in special_format()
120 || strchr (fmt, 'r') != 0); in special_format()
HDtlink.c509 p = strchr (p, '\''); in recompile_files()
514 q = strchr (p + 1, '\''); in recompile_files()
526 r = strchr (q + 4, '\''); in recompile_files()
716 p = strchr (oldq, '`'); in scan_linker_output()
718 p++, q = strchr (p, '\''); in scan_linker_output()
720 else if (p = strchr (oldq, '"'), p) in scan_linker_output()
721 p++, q = strchr (p, '"'); in scan_linker_output()
723 else if (p = strchr (oldq, '\''), p) in scan_linker_output()
724 p++, q = strchr (p, '\''); in scan_linker_output()
727 q = strchr (oldq, 0); in scan_linker_output()
/dragonfly/contrib/grep/lib/
HDfilename.h39 (strchr (P, '/') != NULL || strchr (P, '\\') != NULL || HAS_DEVICE (P))
45 # define IS_PATH_WITH_DIR(P) (strchr (P, '/') != NULL)
/dragonfly/lib/libc/locale/
HDsetlocale.c149 if ((r = strchr(locale, '/')) != NULL) { in setlocale()
177 } else if ('L' == locale[0] && strchr(locale, ';')) { in setlocale()
243 strchr(new, '/') != NULL) { in loadlocale()
298 while ((cp = strchr (np, '=')) != NULL) { in getlocstr()
301 cp = strchr(cp, ';'); in getlocstr()
311 cp = strchr(cp, ';'); in getlocstr()
/dragonfly/bin/notty/
HDnotty.c78 if (strchr(opts, '0') == NULL && ttyfd != 0) in main()
80 if (strchr(opts, '1') == NULL && ttyfd != 1) in main()
82 if (strchr(opts, '2') == NULL && ttyfd != 2) in main()
/dragonfly/contrib/gdb-7/readline/
HDhistlib.h54 # ifndef strchr
55 extern char *strchr ();
57 #define member(c, s) ((c) ? ((char *)strchr ((s), (c)) != (char *)NULL) : 0)
/dragonfly/contrib/gcc-4.7/gcc/
HDtlink.c514 p = strchr (p, '\''); in recompile_files()
519 q = strchr (p + 1, '\''); in recompile_files()
531 r = strchr (q + 4, '\''); in recompile_files()
721 p = strchr (oldq, '`'); in scan_linker_output()
723 p++, q = strchr (p, '\''); in scan_linker_output()
725 else if (p = strchr (oldq, '"'), p) in scan_linker_output()
726 p++, q = strchr (p, '"'); in scan_linker_output()
728 else if (p = strchr (oldq, '\''), p) in scan_linker_output()
729 p++, q = strchr (p, '\''); in scan_linker_output()
732 q = strchr (oldq, 0); in scan_linker_output()
HDgengenrtl.c114 return (strchr (fmt, '*') != 0 in special_format()
115 || strchr (fmt, 'V') != 0 in special_format()
116 || strchr (fmt, 'S') != 0 in special_format()
117 || strchr (fmt, 'n') != 0); in special_format()
/dragonfly/usr.bin/mail/
HDutil.c386 if (strchr(name, '(') == NULL && strchr(name, '<') == NULL in skin()
387 && strchr(name, ' ') == NULL) in skin()
517 if ((cp = strchr(linebuf, 'F')) == NULL) in name1()
521 while ((cp = strchr(cp, 'r')) != NULL) { in name1()
523 if ((cp = strchr(cp, 'f')) == NULL) in name1()
527 if ((cp = strchr(cp, ' ')) == NULL) in name1()
/dragonfly/contrib/tcp_wrappers/
HDenviron.c16 extern char *strchr();
45 equal = strchr(name, '=');
79 char *equal = strchr(nameval, '=');
208 } else if (strchr(argv[0], '=') == 0) { /* getenv() test */
/dragonfly/sbin/iscontrol/
HDiscontrol.c199 if(*q == '[' && (q = strchr(q, ']')) != NULL) { in main()
204 if((p = strchr(q, ':')) != NULL) { in main()
207 p = strchr(p, ','); in main()
209 if(p || ((p = strchr(q, ',')) != NULL)) { in main()
/dragonfly/usr.bin/seq/
HDseq.c248 if (strchr("eEfgG", *fmt) && in valid_format()
255 strchr("+- 0#.", *fmt)) in valid_format()
422 if (strchr(buf, 'e')) in generate_format()
427 if (strchr(buf, 'e')) in generate_format()
435 if (strchr(buf, 'e')) in generate_format()
/dragonfly/lib/libc/gen/
HDfmtcheck.c141 if (strchr("diouxX", *f)) { in get_next_format_from_precision()
183 if (strchr("DOU", *f)) { in get_next_format_from_precision()
189 if (strchr("aAeEfFgG", *f)) { in get_next_format_from_precision()
276 f = strchr(f, '%'); in get_next_format()
289 while (*f && (strchr("#'0- +", *f))) in get_next_format()
/dragonfly/usr.sbin/lpr/lpd/
HDrecvjob.c184 if (strchr(cp, '/')) { in readjob()
216 if (strchr(cp, '/')) { in readjob()
284 if (strchr(file, '/') == NULL) in readfile()
349 if (tfname[0] && strchr(tfname, '/') == NULL) in rcleanup()
351 if (dfname[0] && strchr(dfname, '/') == NULL) { in rcleanup()
/dragonfly/libexec/mknetid/
HDmknetid.c188 if ((ptr = strchr(readbuf, ':')) == NULL) { in main()
194 if ((ptr = strchr(ptr, ':')) == NULL) { in main()
201 if ((ptr = strchr(ptr, ':')) == NULL) { in main()
208 if ((ptr = strchr(ptr, ':')) == NULL) { in main()

12345678910>>...43