Searched refs:subject (Results 1 - 8 of 8) sorted by relevance
/ast/src/lib/libast/comp/ |
H A D | re_comp.c | 70 re_exec(const char* subject) argument 72 if (state.valid && subject) 73 switch (regexec(&state.re, subject, 0, NiL, 0))
|
H A D | regexp.c | 94 _re_exec(regexp_t* re, const char* subject, const char* handle, int anchor) argument 100 if (regexec(&env->re, subject, elementsof(match), match, 0) || anchor && match[0].rm_so) 102 re->re_loc1 = (char*)subject + match[0].rm_so; 103 re->re_loc2 = (char*)subject + match[0].rm_eo; 106 re->re_braslist[n-1] = (char*)subject + match[n].rm_so; 107 re->re_braelist[n-1] = (char*)subject + match[n].rm_eo;
|
H A D | fnmatch.c | 53 fnmatch(const char* pattern, const char* subject, register int flags) argument 67 reflags = regexec(&re, subject, 1, &match, 0); 69 if (!reflags && (reflags = subject[match.rm_eo])) 75 reflags = regexec(&re, subject, 0, NiL, 0);
|
H A D | regcmp.c | 190 regex(const char* handle, const char* subject, ...) argument 200 va_start(ap, subject); 201 if (!(re = (Regex_t*)handle) || !subject) 212 if (regexec(&re->re, subject, SUB + 1, match, 0)) 219 strlcpy(sub[n], subject + match[i].rm_so, k); 222 __loc1 = (char*)subject + match[0].rm_so; 223 return (char*)subject + match[0].rm_eo;
|
/ast/src/cmd/ksh93/tests/ |
H A D | quoting.sh | 305 subject='some/other/words' 307 [[ ${subject/${re}/\3} != words ]] && err_exit 'string replacement with \3 not working' 308 [[ ${subject/${re}/'\3'} != '\3' ]] && err_exit 'string replacement with '"'\3'"' not working' 309 [[ ${subject/${re}/"\\3"} != '\3' ]] && err_exit 'string replacement with "\\3" not working' 310 [[ ${subject/${re}/"\3"} != '\3' ]] && err_exit 'string replacement with "\3" not working' 312 [[ ${subject/${re}/${string}} != words ]] && err_exit 'string replacement with $string not working with string=\3' 313 [[ $(print -r "${subject/${re}/${string}}") != words ]] && err_exit 'string replacement with $string not working with string=\3 using print' 314 [[ ${subject/${re}/"${string}"} != '\3' ]] && err_exit 'string replacement with "$string" not working with string=\3' 315 [[ $(print -r "${subject/${re}/"${string}"}") != '\3' ]] && err_exit 'string replacement with "$string" not working with string=\3 using print' 317 [[ ${subject/ [all...] |
H A D | glob.sh | 77 typeset lineno expected subject pattern got 78 lineno=$1 expected=$2 subject=$3 pattern=$4 80 case $subject in 86 then 'err_exit' $lineno "case $subject in $pattern) -- expected '$expected', got '$got'" 306 x='${subject'$2'}' 309 then 'err_exit' $1 subject="'$subject' $x failed, expected '$3', got '$g'" 316 subject='A regular expressions test' 353 subject='e' 362 subject [all...] |
/ast/src/cmd/html/ |
H A D | troff2html.c | 5001 Sfio_t* subject; local 5013 if (!(subject = sfstropen())) 5014 error(ERROR_SYSTEM|3, "out of space [subject]"); 5016 sfputr(subject, state.package, ' '); 5018 sfputr(subject, state.title, -1); 5027 sfputr(subject, (char*)t, -1); 5030 sfprintf(subject, " m%s document", state.macros->name); 5032 sfputr(op, use(subject), -1); 5850 sfprintf(op, "<P>Send comments and suggestions to <A href=\"mailto:%s?subject=%s\">%s</A>.\n", state.mailto, state.mailto, sfstrbase(subject)); [all...] |
/ast/src/cmd/mailx/ |
H A D | imap.c | 139 char* subject; /* subject */ member in struct:__anon125 866 ip->subject = vmstrdup(imap->vm, s); 2406 if (ip->subject && subjlen >= 0) 2409 subjlen, ip->subject);
|
Completed in 32 milliseconds