Home
last modified time | relevance | path

Searched refs:null (Results 1 – 25 of 1006) sorted by relevance

12345678910>>...41

/illumos-gate/usr/src/test/util-tests/tests/awk/examples/out/
H A Dt.null04 $5 = null string
9 $1 = null string
10 $5 = null string
16 $5 = null string
21 $5 = null string
26 $5 = null string
31 $5 = null string
36 $5 = null string
41 $5 = null string
46 $5 = null string
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dlocaleconv.c32 static char null[] = ""; variable
38 &null[0],
39 &null[0],
40 &null[0],
41 &null[0],
42 &null[0],
43 &null[0],
44 &null[0],
45 &null[0],
59 &null[0],
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/
H A Dcoprocess.sh99 kill $(jobs -p) 2>/dev/null
107 $file 2> /dev/null || err_exit "parent $cat coprocess prevents script coprocess"
110 kill $(jobs -p) 2>/dev/null
124 { sleep 4; kill $cop; } 2>/dev/null &
126 if wait $cop 2>/dev/null
127 then kill $spy 2>/dev/null
147 { : |& } 2>/dev/null ||
163 ) 2>/dev/null | read -t 10 r
176 ) 2>/dev/null | read -t 10 r
186 kill $! 2> /dev/null
[all …]
H A Dbuiltins.sh98 print $line | /bin/cat > /dev/null
115 read line < /dev/null
125 print -f "hello%nbar\n" size > /dev/null
135 $SHELL -c 'read x <<< hello' 2> /dev/null || err_exit 'syntax <<< not recognized'
136 ($SHELL -c 'read x[1] <<< hello') 2> /dev/null || err_exit 'read x[1] not working'
150 (continue bad 2>/dev/null && err_exit 'continue bad should return an error')
151 (break bad 2>/dev/null && err_exit 'break bad should return an error')
152 (continue 0 2>/dev/null && err_exit 'continue 0 should return an error')
153 (break 0 2>/dev/null && err_exit 'break 0 should return an error')
186 mkdir -p $tmp/a/b/c 2>/dev/null || err_exit "mkdir -p failed"
[all …]
H A Dbasic.sh105 if (command > foo\\abc) 2> /dev/null
111 if ( : > TT* && : > TTfoo ) 2>/dev/null
189 cat - > /dev/null
218 x=$( (/bin/echo foo) 2> /dev/null )
238 x=$( (/bin/echo hello) 2> /dev/null )
243 read line 2> /dev/null
322 [[ $($SHELL -c 'o=foobar; for x in foo bar; do (o=save);print $o;done' 2> /dev/null ) == $'foobar\n…
323 command exec 3<> /dev/null
324 if cat /dev/fd/3 >/dev/null 2>&1 || whence mkfifo > /dev/null
325 then [[ $($SHELL -c 'cat <(print foo)' 2> /dev/null) == foo ]] || err_exit 'process substitution no…
[all …]
H A Dpath.sh62 [[ ${ dir1;} == dir1 ]] 2> /dev/null && err_exit 'should not be be dir1'
67 [[ ${ dir2;} == dir2 ]] 2> /dev/null && err_exit 'should not be be dir2'
88 [[ $($SHELL ./bug1 2>/dev/null) == ok ]] || err_exit "PATH in function not working"
101 ($SHELL ./bug1) 2> /dev/null || err_exit "path_delete bug"
103 if $SHELL tdir > /dev/null 2>&1
108 if [[ $($SHELL ls 2> /dev/null) != hi ]]
111 if [[ $(ls -d . 2>/dev/null) == . && $(PATH=/bin:/usr/bin:$PATH ls -d . 2>/dev/null) != . ]]
124 do if ! whence notfound$i 2> /dev/null
141 done > /dev/null 2>&1
142 builtin -d date 2> /dev/null
[all …]
H A Dbracket.sh34 null=''
35 if [[ ! -z $null ]]
81 if [[ -f /dev/null ]]
113 if [[ -n $null ]]
114 then err_exit "'$null' has non-zero length"
136 [[ ! ( ! -z $null && ! -z x) ]] || err_exit "negation and grouping"
189 test \( -n x \) -o \( -n y \) 2> /dev/null || err_exit 'test ( -n x ) -o ( -n y) not working'
190 test \( -n x \) -o -n y 2> /dev/null || err_exit 'test ( -n x ) -o -n y not working'
204 } 2> /dev/null || { set +x; err_exit "foo<bar with -x enabled" ;}
208 ) 2> /dev/null || err_exit "[[ (a) ]] not working"
[all …]
H A Dsignal.sh39 do if ! n=$(kill -l $s 2>/dev/null)
41 elif ! t=$(kill -l $n 2>/dev/null)
45 elif ! m=$(kill -l $t 2>/dev/null)
62 } | head > /dev/null
67 { sleep 4; kill $cop; } 2>/dev/null &
69 if wait $cop 2>/dev/null
70 then kill $spy 2>/dev/null
151 do if $sh -c 'exit 0' > /dev/null 2>&1
168 exec 2>/dev/null
292 done > /dev/null
[all …]
H A Doptions.sh63 got=$($SHELL -E -c : 2>/dev/null)
69 got=$($SHELL -E -c : 2>&1 >/dev/null)
159 if command set -G 2> /dev/null
190 [[ $(HOME=$PWD $SHELL -l </dev/null 2>&1) == *$t* ]] &&
192 [[ $(HOME=$PWD $SHELL --login </dev/null 2>&1) == *$t* ]] &&
194 [[ $(HOME=$PWD $SHELL --login-shell </dev/null 2>&1) == *$t* ]] &&
196 [[ $(HOME=$PWD $SHELL --login_shell </dev/null 2>&1) == *$t* ]] &&
198 [[ $(HOME=$PWD exec -a -ksh $SHELL </dev/null 2>&1) == *$t* ]] &&
200 [[ $(HOME=$PWD ./-ksh -i </dev/null 2>&1) == *$t* ]] &&
202 [[ $(HOME=$PWD ./-ksh -ip </dev/null 2>&1) == *$t* ]] &&
[all …]
H A Dio.sh40 done 2> /dev/null
47 eval "a=\$(print foo | $tmp/mycat" $i $i'>&1 > /dev/null |cat)' 2> /dev/null
50 exec 3> /dev/null
66 if ( 4> file1 ) 2> /dev/null
78 do [[ -e ${FDFS[fdfs].dir} ]] && { command : > ${FDFS[fdfs].dir}/1; } 2>/dev/null >&2 && break
123 do exec 4< /dev/null
128 ./close0 2> /dev/null || err_exit "multiple exec 4< /dev/null can fail"
138 cmp -s in out' 2> /dev/null
149 ( exec > '' ) 2> /dev/null && err_exit '> "" does not fail'
151 ( exec > ${x} ) 2> /dev/null && err_exit '> $x, where x null does not fail'
[all …]
H A Dheredoc.sh45 cmp $f $g 2> /dev/null || err_exit "'hello world' quoted here doc not working"
49 cmp $f $g 2> /dev/null || err_exit "'hello world' tabbed here doc not working"
53 cmp $f $g 2> /dev/null || err_exit "'hello world' quoted tabbed here doc not working"
58 cmp $f $g 2> /dev/null || err_exit "'$x world' here doc not working"
62 cmp $f $g 2> /dev/null || err_exit "'$(print hello) world' here doc not working"
72 cmp $f $g 2> /dev/null || err_exit "unquoted here doc not working"
81 cat > /dev/null <<EOF # comments should not cause core dumps
87 cmp /dev/null $g 2> /dev/null || err_exit "empty here doc not working"
110 ' 2> /dev/null || err_exit '100 empty here docs fails'
121 $SHELL "$f" > /dev/null || err_exit "large here-doc with command substitution fails"
[all …]
/illumos-gate/usr/src/lib/libsqlite/test/
H A Dnull.test23 do_test null-1.0 {
31 insert into t1 values(5,null,0);
32 insert into t1 values(6,null,1);
33 insert into t1 values(7,null,null);
41 do_test null-1.1 {
46 do_test null-1.2 {
56 do_test null-2.1 {
61 do_test null-2.2 {
66 do_test null-2.3 {
71 do_test null-2.4 {
[all …]
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DServiceLocationManager.java52 protected static DATable dat = null;
53 protected static SLPConfig config = null;
57 protected static Class locatorClass = null;
58 protected static Class advertiserClass = null;
77 if (locale == null) { in getLocator()
85 if (locator == null) { in getLocator()
87 if (locatorClass == null) { in getLocator()
90 if (className == null) { in getLocator()
98 if (locator != null) { in getLocator()
121 if (locale == null) { in getAdvertiser()
[all …]
H A DRequestHandler.java54 private InetAddress interfac = null; // Interface on which request came in.
55 private Socket sock = null; // Socket for incoming stream request.
56 private DatagramPacket packet = null; // Packet for datagram requests.
57 private InetAddress clientAddr = null; // Internet address of the client.
59 private ServiceTable serviceTable = null;
60 private SrvLocMsg toForward = null; // Reg or dereg to forward.
61 private InputStream inStream = null;
62 private OutputStream outStream = null;
71 if (sock != null) sock.close(); in finalize()
77 sock = null; in RequestHandler()
[all …]
H A DTransact.java53 protected static SLPConfig config = null;
57 protected SrvLocMsg msgOut = null;
61 protected Vector returns = null;
74 protected ServiceLocationException exErr = null;
78 protected InetAddress address = null;
110 Thread multiThread = null; in transactUA()
111 Transact tracon = null; in transactUA()
113 if (multiMsg != null) { in transactUA()
141 ServiceLocationException exx = null; in transactUA()
143 if (daEquivClasses != null) { in transactUA()
[all …]
H A DServiceTable.java64 protected ServiceStore store = null;
71 static protected SLPConfig conf = null;
75 static protected ServiceTable table = null;
79 static protected AgerThread thrAger = null;
93 if (thrAger != null) { in ServiceTable()
120 if (conf == null) { in getServiceTable()
125 if (table == null) { in getServiceTable()
166 if (serializedURL != null) { in deserializeTable()
170 if (serStore != null) { in deserializeTable()
228 ServiceStore serStore = null; in getStoreFromURL()
[all …]
H A DSARequester.java54 private static PermSARegTable pregtable = null;
56 private static SLPConfig config = null;
76 if (config == null) { in getPermSARegTable()
81 if (pregtable == null) { in getPermSARegTable()
140 deregisterInternal(URL, null); in deregister()
183 if (attributeIds == null || attributeIds.size() <= 0) { in deleteAttributes()
234 null, in registerInternal()
235 null); in registerInternal()
258 null, in registerInternal()
259 null); in registerInternal()
[all …]
/illumos-gate/usr/src/test/util-tests/tests/sed/bsd/
H A Dmulti_test.ksh77 </dev/null >$OPDIR/lines1
79 </dev/null >$OPDIR/lines2
205 hello' /dev/null
206 mark '2.6' ; $SED -n -e '$p' $lines1 /dev/null $lines2
404 </dev/null >$lines3
426 $SED -n -e '$p' $lines3 /dev/null
503 mark '9.1' ; $SED -x 2>/dev/null ; echo $?
504 mark '9.2' ; $SED -f 2>/dev/null ; echo $?
505 mark '9.3' ; $SED -e 2>/dev/null ; echo $?
506 mark '9.4' ; $SED -f /dev/xyzzyxyzy 2>/dev/null ; echo $?
[all …]
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DPrintaRecord.java99 return (newInstance != null && oldInstance != null &&
170 if (aggs != null) { in PrintaRecord()
174 if (formattedOutput != null) { in PrintaRecord()
178 if (orderedTuples != null) { in PrintaRecord()
192 if (aggregations == null) { in validate()
198 if (a == null) { in validate()
203 if (tuples == null) { in validate()
206 if (output == null && outputBuffer == null) { in validate()
226 if (name == null) { in getAggregationImpl()
227 return null; in getAggregationImpl()
[all …]
H A DProbeDescription.java67 new ProbeDescription(null, null, null, null);
129 if ((probeName != null) && (probeName.indexOf(':') >= 0)) { in ProbeDescription()
134 p = null; in ProbeDescription()
137 if (p == null) { in ProbeDescription()
141 name = ((probeName == null) ? "" : probeName); in ProbeDescription()
152 name = ((probeName == null) ? "" : probeName); in ProbeDescription()
166 this(null, null, probeFunction, probeName); in ProbeDescription()
180 this(null, probeModule, probeFunction, probeName); in ProbeDescription()
203 provider = ((probeProvider == null) ? "" : probeProvider); in ProbeDescription()
204 module = ((probeModule == null) ? "" : probeModule); in ProbeDescription()
[all …]
H A DAggregateSpec.java47 return (includedAggregationNames == null); in isIncludeByDefault()
53 return (clearedAggregationNames == null); in isClearByDefault()
60 includedAggregationNames = null; in setIncludeByDefault()
61 } else if (includedAggregationNames == null) { in setIncludeByDefault()
70 clearedAggregationNames = null; in setClearByDefault()
71 } else if (clearedAggregationNames == null) { in setClearByDefault()
86 if (includedAggregationNames == null) { in addIncludedAggregationName()
106 if (clearedAggregationNames == null) { in addClearedAggregationName()
116 if (includedAggregationNames == null) { in getIncludedAggregationNames()
125 if (clearedAggregationNames == null) { in getClearedAggregationNames()
[all …]
/illumos-gate/usr/src/cmd/svc/shell/
H A Dipf_include.sh29 2>/dev/null`
34 2>/dev/null`
148 $IPF_FMRI 2>/dev/null | awk '{$2=" "; print $0}'`
174 svcprop -p $config_pg/${POLICY_PROP} $1 2>/dev/null
185 svcprop -p $config_pg/${BLOCKPOL_PROP} $1 2>/dev/null
194 exceptions=`svcprop -p $config_pg/${EXCEPTIONS_PROP} $1 2>/dev/null`
204 exceptions6=`svcprop -p $config_pg/${EXCEPTIONS_6_PROP} $1 2>/dev/null`
214 apply2=`svcprop -p $config_pg/${APPLY2_PROP} $1 2>/dev/null`
224 apply2_6=`svcprop -p $config_pg/${APPLY2_6_PROP} $1 2>/dev/null`
234 target=`svcprop -p $config_pg/${TARGET_PROP} $1 2>/dev/null`
[all …]
/illumos-gate/usr/src/cmd/print/scripts/
H A Dppdmgr145 /bin/chmod -f ${1} "${3}" >/dev/null 2>&1
146 /bin/chown -f ${2} "${3}" >/dev/null 2>&1
207 gettext "invalid PPD file: ${1}" 2>/dev/null
236 gettext "invalid PPD file repository name: ${4}" 2>/dev/null
245 gettext "unable to create destination directories" 2>/dev/null
251 ${GZIP} "${1}" >"${dst_copy_path}" 2>/dev/null
253 gettext "unable to copy PPD file " 2>/dev/null
254 gettext "to destination" 2>/dev/null
258 /bin/cp -f "${1}" "${dst_copy_path}" >/dev/null 2>&1
260 gettext "unable to copy PPD file " 2>/dev/null
[all …]
/illumos-gate/usr/src/cmd/fs.d/nfs/svc/
H A Dnfs-server153 nfs_name=`svcprop -p $FW_CONTEXT_PG/name $FMRI 2>/dev/null`
154 tport=`$SERVINFO -p -t -s $nfs_name 2>/dev/null`
159 tport6=`$SERVINFO -p -t6 -s $nfs_name 2>/dev/null`
164 uport=`$SERVINFO -p -u -s $nfs_name 2>/dev/null`
169 uport6=`$SERVINFO -p -u6 -s $nfs_name 2>/dev/null`
176 tports=`$SERVINFO -R -p -t -s "mountd" 2>/dev/null`
177 tports6=`$SERVINFO -R -p -t6 -s "mountd" 2>/dev/null`
193 uports=`$SERVINFO -R -p -u -s "mountd" 2>/dev/null`
194 uports6=`$SERVINFO -R -p -u6 -s "mountd" 2>/dev/null`
215 tports=`$SERVINFO -R -p -t -s $iana_name 2>/dev/null`
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/history/
H A Dhistory_common.kshlib67 zpool history $flags $pool > $OLD_HISTORY 2>/dev/null
73 zpool history $flags $pool > $TMP_HISTORY 2>/dev/null
78 grep "$histcmd" $NEW_HISTORY >/dev/null 2>&1 || \
106 grep "$cmd \[user $uid ($user) on $hname\]" $NEW_HISTORY >/dev/null \
133 >/dev/null 2>&1
164 >/dev/null 2>&1
170 grep "destroy $rb_fs" $NEW_HISTORY >/dev/null 2>&1
192 grep "$subcmd $ds ([0-9]*) ${prop}=" $NEW_HISTORY >/dev/null \
222 echo $cmd | awk '{i = NF - 1; print $i}' | grep '@' >/dev/null \
246 $NEW_HISTORY >/dev/null 2>&1
[all …]

12345678910>>...41