/illumos-gate/usr/src/tools/smatch/src/smatch_data/db/ |
H A D | smdb.py | 208 def txt_to_val(txt): argument 209 if txt == "s64min": 211 elif txt == "s32min": 213 elif txt == "s16min": 215 elif txt == "s64max": 217 elif txt == "s32max": 219 elif txt == "s16max": 221 elif txt == "u64max": 223 elif txt == "ptr_max": 225 elif txt == "u32max": [all …]
|
/illumos-gate/usr/src/lib/libsqlite/test/ |
H A D | copy.test | 22 set f [open data1.txt w] 26 set f [open data2.txt w] 31 set f [open data3.txt w] 35 set f [open data4.txt w] 39 set f [open data5.txt w] 43 set f [open dataX.txt w] 56 set v [catch {execsql {COPY test1 FROM 'data1.txt'}} msg] 63 set v [catch {execsql {COPY sqlite_master FROM 'data2.txt'}} msg] 71 execsql {COPY test1 FROM 'data1.txt'} 79 execsql {COPY test1 FROM 'data2.txt'} [all …]
|
/illumos-gate/usr/src/tools/smatch/src/smatch_scripts/ |
H A D | strip_whitespace.pl | 7 my $txt = do { local $/; <FILE> }; 10 $txt =~ s/\/\/.*//g; 12 $txt =~ s/\n//g; 14 $txt =~ s/\/\*.*?\*\///g; 16 $txt =~ s/\t//g; 18 $txt =~ s/ //g; 20 $txt =~ s/;/;\n/g; 21 $txt =~ s/{/{\n/g; 22 $txt =~ s/}/}\n/g; 24 print "$txt\n";
|
H A D | build_generic_data.sh | 47 [ -e smatch_warns.txt ] || touch smatch_warns.txt 48 if ! $SCRIPT_DIR/../smatch_data/db/create_db.sh -p=$PROJECT smatch_warns.txt ; then 64 find -name \*.c.smatch -exec cat \{\} \; -exec rm \{\} \; > smatch_warns.txt 67 $i smatch_warns.txt -p=${PROJECT} 73 $SCRIPT_DIR/../smatch_data/db/create_db.sh -p=$PROJECT smatch_warns.txt
|
H A D | build_kernel_data.sh | 30 [ -e smatch_warns.txt ] || touch smatch_warns.txt 31 if ! $DATA_DIR/db/create_db.sh -p=kernel smatch_warns.txt ; then 43 $i smatch_warns.txt -p=kernel 48 $DATA_DIR/db/create_db.sh -p=kernel smatch_warns.txt
|
H A D | find_null_params.sh | 11 grep " undefined " $file | cut -d ' ' -f 5- | sort -u > null_calls.txt 12 cat null_calls.txt unchecked | sort | uniq -d > null_params.txt 15 for i in $(cat null_params.txt) ; do
|
/illumos-gate/usr/src/cmd/devmgmt/cmds/ |
H A D | devreserv.c | 116 static char txt[MM_MXTXTLN+1]; variable 245 (void) snprintf(txt, sizeof (txt), M_RSVTAB, in main() 250 (void) sprintf(txt, M_ERROR, errno); in main() 254 stdmsg(MM_NRECOV, lbl, sev, txt); in main() 275 (void) snprintf(txt, sizeof (txt), M_INVKEY, *argp); in main() 276 stdmsg(MM_NRECOV, lbl, MM_ERROR, txt); in main() 304 (void) snprintf(txt, sizeof (txt), in main() 309 (void) sprintf(txt, M_ERROR, errno); in main() 313 stdmsg(MM_NRECOV, lbl, sev, txt); in main() 331 (void) snprintf(txt, sizeof (txt), M_DEVTAB, devtab); in main() [all …]
|
H A D | devattr.c | 137 static char txt[MM_MXTXTLN+1]; variable 222 (void) snprintf(txt, sizeof(txt), M_DEVTAB, p); in main() 226 (void) sprintf(txt, M_ERROR, errno); in main() 230 stdmsg(MM_NRECOV, lbl, severity, txt); in main() 246 (void) snprintf(txt, sizeof(txt), M_NODEV, device); in main() 250 (void) sprintf(txt, M_ERROR, errno); in main() 254 stdmsg(MM_NRECOV, lbl, severity, txt); in main() 272 (void) snprintf(txt, sizeof(txt), M_NOATTR, attr); in main() 277 (void) sprintf(txt, M_ERROR, errno); in main() 278 stdmsg(MM_NRECOV, lbl, MM_ERROR, txt); in main()
|
H A D | getdgrp.c | 119 static char txt[MM_MXTXTLN+1]; variable 250 (void) snprintf(txt, sizeof(txt), M_DEVTAB, filename); in main() 254 (void) sprintf(txt, M_ERROR, errno); in main() 258 stdmsg(MM_NRECOV, lbl, sev, txt); in main() 265 (void) snprintf(txt, sizeof(txt), M_DGROUP, filename); in main() 269 (void) sprintf(txt, M_ERROR, errno); in main() 273 stdmsg(MM_NRECOV, lbl, sev, txt); in main()
|
H A D | getdev.c | 101 static char txt[MM_MXTXTLN+1]; variable 220 (void) snprintf(txt, sizeof(txt), M_DEVTAB, devtab); in main() 224 (void) sprintf(txt, M_ERROR, errno); in main() 228 stdmsg(MM_NRECOV, lbl, sev, txt); in main()
|
/illumos-gate/usr/src/data/locale/ |
H A D | Makefile | 89 $(LCDEF) -U -w data/widths.txt -i $< -f data/GB18030.cm $(@D) 92 $(LCDEF) -U -w data/widths.txt -i $< -f data/ISO8859-1.cm $(@D) 95 $(LCDEF) -U -w data/widths.txt -i $< -f data/ISO8859-2.cm $(@D) 98 $(LCDEF) -U -w data/widths.txt -i $< -f data/ISO8859-5.cm $(@D) 101 $(LCDEF) -U -w data/widths.txt -i $< -f data/ISO8859-6.cm $(@D) 104 $(LCDEF) -U -w data/widths.txt -i $< -f data/ISO8859-7.cm $(@D) 107 $(LCDEF) -U -w data/widths.txt -i $< -f data/ISO8859-9.cm $(@D) 112 $(LCDEF) -U -w data/widths.txt -i $< -f data/ISO8859-11.cm $(@D) 115 $(LCDEF) -U -w data/widths.txt -i $< -f data/ISO8859-13.cm $(@D) 118 $(LCDEF) -U -w data/widths.txt -i $< -f data/ISO8859-15.cm $(@D) [all …]
|
/illumos-gate/usr/src/lib/libsqlite/tool/ |
H A D | speedtest2.tcl | 96 set txt "[number_name [expr {$n/1000}]] thousand" 99 set txt {} 102 append txt " [lindex $::ones [expr {$n/100}]] hundred" 106 append txt " [lindex $::tens [expr {$n/10}]]" 110 append txt " [lindex $::ones $n]" 112 set txt [string trim $txt] 113 if {$txt==""} {set txt zero} 114 return $txt
|
H A D | speedtest.tcl | 105 set txt "[number_name [expr {$n/1000}]] thousand" 108 set txt {} 111 append txt " [lindex $::ones [expr {$n/100}]] hundred" 115 append txt " [lindex $::tens [expr {$n/10}]]" 119 append txt " [lindex $::ones $n]" 121 set txt [string trim $txt] 122 if {$txt==""} {set txt zero} 123 return $txt
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/xattr/ |
H A D | cleanup.ksh | 32 ZFS_USER=$(cat /tmp/zfs-xattr-test-user.txt) 33 rm /tmp/zfs-xattr-test-user.txt 35 USES_NIS=$(cat /tmp/zfs-xattr-test-nis.txt) 36 rm /tmp/zfs-xattr-test-nis.txt
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/privilege/ |
H A D | cleanup.ksh | 36 ZFS_USER=$(cat /tmp/zfs-privs-test-user.txt) 37 USES_NIS=$(cat /tmp/zfs-privs-test-nis.txt) 46 rm /tmp/zfs-privs-test-nis.txt 47 rm /tmp/zfs-privs-test-user.txt
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/scripting/ |
H A D | tst.D_MACRO_UNUSED.overflow.ksh | 63 2>/var/tmp/err.$$.txt 70 grep "D_MACRO_UNUSED" /var/tmp/err.$$.txt >/dev/null 2>&1 73 /usr/bin/rm -f /var/tmp/err.$$.txt 78 /usr/bin/rm -f /var/tmp/err.$$.txt
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_user/misc/ |
H A D | zdb_001_neg.ksh | 59 if [ -e /tmp/zdb_001_neg.$$.txt ] 61 rm /tmp/zdb_001_neg.$$.txt 73 log_must grep pool_guid /tmp/zdb_001_neg.$$.txt 74 log_must rm /tmp/zdb_001_neg.$$.txt
|
H A D | zpool_001_neg.ksh | 48 if [ -e /tmp/zpool_001_neg.$$.txt ] 50 rm /tmp/zpool_001_neg.$$.txt 58 log_must grep "usage: zpool command args" /tmp/zpool_001_neg.$$.txt
|
H A D | zfs_001_neg.ksh | 47 if [ -e /tmp/zfs_001_neg.$$.txt ] 49 rm /tmp/zfs_001_neg.$$.txt 57 log_must grep "usage: zfs command args" /tmp/zfs_001_neg.$$.txt
|
/illumos-gate/usr/src/uts/i86pc/io/dr/ |
H A D | sbdgenerr.pl | 50 my $txt = trim($3); 51 if (length($txt) == 0) { 53 $txt = trim($l); 62 push(@text, $txt);
|
/illumos-gate/usr/src/uts/sun4u/ngdr/io/ |
H A D | sbdgenerr.pl | 53 my $txt = trim($3); 54 if (length($txt) == 0) { 56 $txt = trim($l); 65 push(@text, $txt);
|
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/ |
H A D | sbdgenerr.pl | 51 my $txt = trim($3); 52 if (length($txt) == 0) { 54 $txt = trim($l); 63 push(@text, $txt);
|
/illumos-gate/usr/src/uts/intel/sockfs/ |
H A D | Makefile | 99 nl7ctokgen.h: $(TOKGEN) $(SRCDIR)/nl7ctokreq.txt $(SRCDIR)/nl7ctokres.txt 100 /bin/ksh $(TOKGEN) $(SRCDIR)/nl7ctokreq.txt $(SRCDIR)/nl7ctokres.txt >$@
|
/illumos-gate/usr/src/cmd/srptsvc/ |
H A D | srptsvc.c | 51 char *txt; in main() local 99 txt = gettext("Could not enable SRP Target"); in main() 101 txt = gettext("Could not disable SRP Target"); in main() 104 (void) fprintf(stderr, "%s: %d", txt, ret); in main()
|
/illumos-gate/usr/src/cmd/smbsrv/testoplock/ |
H A D | Run-tests.sh | 33 TESTS=${@:-case??.txt} 38 name=${t%.txt} 39 $TOL < $name.txt > $name.tmp
|