/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | mkerrno.sh | 37 pattern='^#define[ ]\(E[A-Z0-9]*\)[ ]*\([A-Z0-9]*\).*$' 40 sed -n "s/$pattern/$replace/p" | tr '@' '\n'
|
H A D | mkerrtags.sh | 41 pattern='^ \(D_[A-Z0-9_]*\),*' 44 sed -n "s/$pattern/$replace/p" || exit 1
|
H A D | mksignal.sh | 37 pattern='^#define[ ]*_*\(SIG[A-Z0-9]*\)[ ]\{1,\}\([A-Z0-9]*\).*$' 40 sed -n "s/$pattern/$replace/p;/SIGRTMAX/q" | tr '@' '\n'
|
/illumos-gate/usr/src/cmd/mdb/common/modules/dtrace/ |
H A D | mkdof.sh | 44 pattern='^#define[ ]DOF_SECT_\([A-Z0-9_]*\)[ ]*.*$' 47 sed -n "s/$pattern/$replace/p"
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | mktables.sh | 61 pattern="#define TOPO_SENSOR_TYPE_\([A-Z0-9_]*\).*\$" 64 cat $libtopo_h | sed -n "s/$pattern/$replace/p" || exit 1 74 pattern=" TOPO_SENSOR_UNITS_\([A-Z0-9_]*\).*\$" 77 cat $libtopo_h | sed -n "s/$pattern/$replace/p" || exit 1 87 pattern=" TOPO_LED_TYPE_\([A-Z0-9_]*\).*\$" 90 cat $libtopo_h | sed -n "s/$pattern/$replace/p" || exit 1 100 pattern=" TOPO_LED_STATE_\([A-Z0-9_]*\).*\$" 103 cat $libtopo_h | sed -n "s/$pattern/$replace/p" || exit 1 113 pattern="#define TOPO_SENSOR_STATE_PHYSICAL_\([A-Z0-9_]*\).*\$" 116 cat $libtopo_h | sed -n "s/$pattern/ [all...] |
H A D | mkerror.sh | 50 pattern='^[ ]*ETOPO_[A-Z0-9_]*.*\* \(.*\) \*.*' 53 echo "$input" | sed -n "s/$pattern/$replace/p" || exit 1 87 pattern='^[ ]*ETOPO_PROP_[A-Z0-9_]*.*\* \(.*\) \*.*' 90 echo "$input" | sed -n "s/$pattern/$replace/p" || exit 1 104 pattern='^[ ]*ETOPO_METHOD_[A-Z0-9_]*.*\* \(.*\) \*.*' 107 echo "$input" | sed -n "s/$pattern/$replace/p" || exit 1 121 pattern='^[ ]*ETOPO_FMRI_[A-Z0-9_]*.*\* \(.*\) \*.*' 124 echo "$input" | sed -n "s/$pattern/$replace/p" || exit 1 138 pattern='^[ ]*ETOPO_HDL_[A-Z0-9_]*.*\* \(.*\) \*.*' 141 echo "$input" | sed -n "s/$pattern/ [all...] |
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | mkerror.sh | 47 pattern='^[ ]*EFMD_\([A-Z0-9_]*\).*,*' 50 echo "$input" | sed -n "s/$pattern/$replace/p" | tr '[A-Z]' '[a-z]' || exit 1 57 pattern='^[ ]*EFMD_[A-Z0-9_]*.*\* \(.*\) \*.*' 60 echo "$input" | sed -n "s/$pattern/$replace/p" || exit 1
|
/illumos-gate/usr/src/lib/libipmi/common/ |
H A D | mktables.sh | 61 pattern=" \(EIPMI_[0-9A-Z_]*\)[^ \/]*\/\* \(.*\) \*\/$" 64 cat $libipmi_h | sed -n "s/$pattern/$replace/p" || exit 1 74 pattern="#define IPMI_ET_\([A-Z0-9_]*\).*\$" 77 cat $libipmi_h | sed -n "s/$pattern/$replace/p" || exit 1 87 pattern="#define IPMI_ST_\([A-Z0-9_]*\).*\$" 90 cat $libipmi_h | sed -n "s/$pattern/$replace/p" || exit 1 100 pattern="#define IPMI_RT_\([A-Z0-9_]*\).*\$" 103 cat $libipmi_h | sed -n "s/$pattern/$replace/p" || exit 1 113 pattern="#define IPMI_UNITS_\([A-Z0-9_]*\).*\$" 116 cat $libipmi_h | sed -n "s/$pattern/ [all...] |
/illumos-gate/usr/src/lib/scsi/plugins/ses/libses/common/ |
H A D | mkelemtype.sh | 41 pattern='^ \(SES_ET_\([A-Z0-9_]*\)\).*' 48 cat $file | sed -n "s/$pattern/$replace/p" | sed "s/$pattern2/$replace2/"
|
/illumos-gate/usr/src/common/smbios/ |
H A D | mktables.sh | 120 pattern="^#define[ ]\($p[A-Za-z0-9_]*\)[ ]*[A-Z0-9]*.*$" 124 sed -n "s@$pattern@$replace@p" < $1 || exit 1 139 pattern="^#define[ ]\($p[A-Za-z0-9_]*\)[ ]*.*/\\* \(.*\) \\*/$" 143 sed -n "s@$pattern@$replace@p" < $1 | sed 's/ ([RO]))/)/' | \
|
/illumos-gate/usr/src/lib/scsi/libscsi/common/ |
H A D | mkerrno.sh | 45 pattern='^ \(ESCSI_[A-Z0-9_]*\),*' 52 ( sed -n "s/$pattern/$replace/p" | sed -n "s/$open/$openrepl/p" |
|
/illumos-gate/usr/src/lib/scsi/libses/common/ |
H A D | mkerrno.sh | 44 pattern='^ \(ESES_[A-Z0-9_]*\),*' 51 ( sed -n "s/$pattern/$replace/p" | sed -n "s/$open/$openrepl/p" |
|
/illumos-gate/usr/src/lib/scsi/libsmp/common/ |
H A D | mkerrno.sh | 42 pattern='^ \(ESMP_[A-Z0-9_]*\),*' 49 ( sed -n "s/$pattern/$replace/p" | sed -n "s/$open/$openrepl/p" |
|
/illumos-gate/usr/src/common/ucode/ |
H A D | mkerrno.sh | 48 pattern='^ \(EM_[A-Z0-9_]*\),*' 54 ( sed -n "s/$pattern/$replace/p" < $1 | sed -n "s/$open/$openrepl/p" |
|
/illumos-gate/usr/src/psm/stand/sys/ |
H A D | boot_policy.h | 41 extern char *policy_lookup(char *pattern, int ignore_case);
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | fnmatch.c | 41 * Compares a filename or pathname to a pattern. 77 fnmatch(pattern, string, flags) 78 const char *pattern, *string; 84 return (fnmatch1(pattern, string, string, flags, initial, initial, 89 fnmatch1(const char *pattern, const char *string, const char *stringstart, argument 98 pclen = mbrtowc_l(&pc, pattern, MB_LEN_MAX, &patmbs, loc); 101 pattern += pclen; 127 c = *pattern; 130 c = *++pattern; 137 /* Optimize for pattern wit 220 rangematch(const char *pattern, wchar_t test, int flags, char **newp, mbstate_t *patmbs, locale_t loc) argument [all...] |
/illumos-gate/usr/src/lib/libshell/common/tests/ |
H A D | expand.sh | 101 pattern=$1 105 got=$(eval print -r -- "$pattern") 106 [[ $got == $expected ]] || err_exit "'$pattern' failed -- expected '$expected' got '$got'" 107 #print -r -- " '$pattern' '$got' \\" 110 # ~(N) no expand glob pattern option
|
/illumos-gate/usr/src/lib/libast/common/regex/ |
H A D | regcache.c | 33 #define ROUND 64 /* pattern buffer size round */ 39 char* pattern; member in struct:Cache_s 75 * return regcomp() compiled re for pattern and reflags 79 regcache(const char* pattern, regflags_t reflags, int* status) argument 90 * 0 pattern flushes the cache and reflags>0 extends cache 93 if (!pattern) 131 * check if the pattern is in the cache 134 for (i = 0; i < sizeof(key) && pattern[i]; i++) 135 ((char*)&key)[i] = pattern[i]; 145 else if (*(Key_t*)matchstate.cache[i]->pattern [all...] |
H A D | regerror.c | 40 /* REG_EESCAPE */ "trailing \\ in pattern", 49 /* REG_ENULL */ "empty subexpr in pattern", 85 fatal(regdisc_t* disc, int code, const char* pattern) argument 89 if (pattern) 90 (*disc->re_errorf)(NiL, disc, disc->re_errorlevel, "regular expression: %s: %s", pattern, reg_error[code+1]); local
|
/illumos-gate/usr/src/cmd/awk/ |
H A D | awk.g.y | 76 %type <p> pas pattern ppattern plist pplist patlist prarg term 134 FOR '(' opt_simple_stmt ';' pattern ';' opt_simple_stmt rparen stmt 148 IF '(' pattern rparen { $$ = notnull($3); } 181 pattern { $$ = notnull($1); } 204 pattern 205 | patlist comma pattern { $$ = linkum($1, $3); } 232 pattern: label 233 var ASGNOP pattern { $$ = op2($2, $1, $3); } 234 | pattern '?' pattern ' [all...] |
/illumos-gate/usr/src/cmd/dodatadm/ |
H A D | dodatadm.udaplt | 31 pattern="driver_name=" 32 [ `/usr/bin/grep -c "$pattern" /etc/dat/dat.conf` -ge 1 ] && exit 0
|
/illumos-gate/usr/src/cmd/sgs/test/ld/x64/tls/ie/ |
H A D | x64-ie-test.sh | 17 pattern=$2 19 if /usr/xpg4/bin/fgrep -q "${pattern}"; then 30 pattern=${4} 32 dis -F${func} ${file} | grep_test "${name}" "${pattern}"
|
/illumos-gate/usr/src/lib/libast/common/comp/ |
H A D | re_comp.c | 42 re_comp(const char* pattern) argument 46 if (!pattern || !*pattern) 59 if (!(r = regcomp(&state.re, pattern, REG_LENIENT|REG_NOSUB|REG_NULL)))
|
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | AttributePattern.java | 27 // AttributePattern.java: Models a pattern for attribute matching. 41 * The AttributePattern class models an attribute pattern. It handles 44 * object is a pattern consisting of (maximally) a beginning wildcard and 45 * string pattern. A PatternPart may be lacking the 58 * The PatternPart class models a single component of a pattern. 60 * pattern in the middle. Any of the parts may be missing, but it will 70 String pattern = ""; field in class:AttributePattern.PatternPart 74 pattern = str; 85 // If there's no wildcards, simply insert the string in as the pattern. 119 // Note that there may be a terminal pattern par [all...] |
/illumos-gate/usr/src/lib/libsaveargs/tests/functional/ |
H A D | test.sh | 19 pattern=${2} 23 if (/usr/bin/amd64/pstack $pid | /usr/xpg4/bin/grep -q "${pattern}"); then
|