| /freebsd/contrib/libucl/tests/basic/ |
| H A D | load.in | 4 .load(try=false, multiline=false, trim=false, escape=false, key="key1", target="string", priority=1… 5 .load(try=false, multiline=true, trim=false, escape=false, key="key2", target="string", priority=1)… 6 .load(try=false, multiline=true, trim=true, escape=false, key="key3", target="string", priority=1) … 7 .load(try=false, multiline=true, trim=true, escape=true, key="key4", target="string", priority=1) "… 8 .load(try=false, multiline=false, trim=true, escape=false, key="key5", target="string", priority=1)… 9 .load(try=false, multiline=false, trim=false, escape=true, key="key6", target="string", priority=1)… 10 .load(try=false, multiline=false, trim=true, escape=true, key="key7", target="string", priority=1) … 11 .load(try=false, multiline=false, trim=false, escape=false, key="key8", target="int", priority=1) "… 12 .load(try=false, multiline=false, trim=false, escape=false, key="key9", target="int", priority=4) "… 13 .load(try=true, multiline=false, trim=false, escape=false, key="key10", target="string", priority=1…
|
| /freebsd/contrib/atf/atf-c++/detail/ |
| H A D | text_test.cpp | 237 ATF_TEST_CASE(trim); in ATF_TEST_CASE_BODY() 238 ATF_TEST_CASE_HEAD(trim) in ATF_TEST_CASE_BODY() 240 set_md_var("descr", "Tests the trim function"); in ATF_TEST_CASE_BODY() 242 ATF_TEST_CASE_BODY(trim) in ATF_TEST_CASE_BODY() 244 using atf::text::trim; in ATF_TEST_CASE_BODY() 246 ATF_REQUIRE_EQ(trim(""), ""); in ATF_TEST_CASE_BODY() 247 ATF_REQUIRE_EQ(trim(" "), ""); in ATF_TEST_CASE_BODY() 248 ATF_REQUIRE_EQ(trim("\t"), ""); in ATF_TEST_CASE_BODY() 250 ATF_REQUIRE_EQ(trim(" foo"), "foo"); in ATF_TEST_CASE_BODY() 251 ATF_REQUIRE_EQ(trim("\ in ATF_TEST_CASE_BODY() 258 ATF_TEST_CASE_HEAD(trim) ATF_TEST_CASE_HEAD() argument 262 ATF_TEST_CASE_BODY(trim) ATF_TEST_CASE_BODY() argument [all...] |
| /freebsd/tools/test/stress2/misc/ |
| H A D | trim8.sh | 35 trim=$(df -k | sed 1d | sort -rn +3 | awk '{print $NF}' | while read mp; do 38 dumpfs $on | head -20 | grep -q trim || continue 41 [ -z "$trim" ] && exit 0 42 mp=`mount | grep "$trim " | awk '{print $3}'` 43 echo "Found TRIM on $trim mounted as $mp" 51 dd if=/dev/zero of=$mp/trim.data.$i bs=1m count=1k status=none 52 rm $mp/trim.data.$i
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_trim/ |
| H A D | zpool_trim_rate.ksh | 57 log_must zpool trim -r 200M $TESTPOOL 60 log_must zpool trim -s $TESTPOOL 65 log_must zpool trim $TESTPOOL 68 log_must zpool trim -s $TESTPOOL 73 log_must zpool trim -r 600M $TESTPOOL 76 log_must zpool trim -s $TESTPOOL 81 log_must zpool trim -r 1T $TESTPOOL
|
| H A D | zpool_trim_start_and_cancel_neg.ksh | 42 log_must zpool trim -r 1 $TESTPOOL $DISK1 47 log_mustnot zpool trim -c $TESTPOOL $DISK2 48 log_mustnot zpool trim -c $TESTPOOL $DISK2 $DISK3 50 log_mustnot zpool trim -s $TESTPOOL $DISK2 51 log_mustnot zpool trim -s $TESTPOOL $DISK2 $DISK3 53 log_mustnot zpool trim $TESTPOOL $DISK1
|
| H A D | zpool_trim_multiple_pools.ksh | 71 log_must zpool trim -a 81 log_must zpool wait -t trim $TESTPOOL${pool} 91 log_must zpool trim -w -a 100 log_must zpool trim -r 1 -a 107 log_must zpool trim -a -s 113 log_must zpool trim -a -c
|
| H A D | zpool_trim_suspend_resume.ksh | 52 log_must zpool trim -r 256M $TESTPOOL 59 log_must zpool trim -s $TESTPOOL 67 log_must zpool trim $TESTPOOL $LARGEFILE
|
| /freebsd/sys/contrib/openzfs/etc/systemd/system/ |
| H A D | zfs-trim@.service.in | 2 Description=zpool trim on %i 3 Documentation=man:zpool-trim(8) 13 exec @sbindir@/zpool wait -t trim %i;\ 14 else exec @sbindir@/zpool trim -w %i; fi' 15 ExecStop=-/bin/sh -c '@sbindir@/zpool trim -s %i 2>/dev/null || true'
|
| H A D | zfs-trim-monthly@.timer.in | 2 Description=Monthly zpool trim timer for %i 3 Documentation=man:zpool-trim(8) 9 Unit=zfs-trim@%i.service
|
| H A D | zfs-trim-weekly@.timer.in | 2 Description=Weekly zpool trim timer for %i 3 Documentation=man:zpool-trim(8) 9 Unit=zfs-trim@%i.service
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/trim/ |
| H A D | trim_integrity.ksh | 20 . $STF_SUITE/tests/functional/trim/trim.kshlib 21 . $STF_SUITE/tests/functional/trim/trim.cfg 76 log_must timeout 120 zpool trim -w $TESTPOOL
|
| H A D | autotrim_trim_integrity.ksh | 20 . $STF_SUITE/tests/functional/trim/trim.kshlib 21 . $STF_SUITE/tests/functional/trim/trim.cfg 77 log_must timeout 120 zpool trim -w $TESTPOOL
|
| H A D | trim_config.ksh | 20 . $STF_SUITE/tests/functional/trim/trim.kshlib 21 . $STF_SUITE/tests/functional/trim/trim.cfg 106 log_must timeout 120 zpool trim -w $TESTPOOL
|
| H A D | autotrim_integrity.ksh | 20 . $STF_SUITE/tests/functional/trim/trim.kshlib 21 . $STF_SUITE/tests/functional/trim/trim.cfg
|
| H A D | autotrim_config.ksh | 20 . $STF_SUITE/tests/functional/trim/trim.kshlib 21 . $STF_SUITE/tests/functional/trim/trim.cfg
|
| H A D | trim_l2arc.ksh | 15 . $STF_SUITE/tests/functional/trim/trim.kshlib 16 . $STF_SUITE/tests/functional/trim/trim.cfg
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_wait/ |
| H A D | zpool_wait_trim_flag.ksh | 55 log_bkgrnd zpool trim -r 1M -w $TESTPOOL "$VDEV1" "$VDEV2" 57 log_bkgrnd zpool trim -r 1M -w $TESTPOOL "$VDEV3" 69 log_must zpool trim -c $TESTPOOL "$VDEV1" 77 log_must zpool trim -c $TESTPOOL "$VDEV3" 82 log_must zpool trim -c $TESTPOOL "$VDEV2"
|
| /freebsd/contrib/ncurses/progs/ |
| H A D | transform.c | 47 bool trim = FALSE; in trim_suffix() local 53 trim = TRUE; in trim_suffix() 56 trim = FALSE; in trim_suffix() 60 if (trim) { in trim_suffix()
|
| /freebsd/sys/tools/syscalls/ |
| H A D | config.lua | 164 key = util.trim(key) 165 value = util.trim(value) 176 trailing_context = util.trim(trailing_context) 183 value = util.trim(value, delim) 188 value = util.trim(value)
|
| /freebsd/sys/contrib/device-tree/src/mips/cavium-octeon/ |
| H A D | octeon_68xx.dts | 74 cavium,qlm-trim = "4,sgmii"; 83 cavium,qlm-trim = "4,sgmii"; 92 cavium,qlm-trim = "4,sgmii"; 101 cavium,qlm-trim = "4,sgmii"; 118 cavium,qlm-trim = "0,sgmii"; 127 cavium,qlm-trim = "0,sgmii"; 136 cavium,qlm-trim = "0,sgmii"; 145 cavium,qlm-trim = "0,sgmii"; 162 cavium,qlm-trim = "2,sgmii"; 171 cavium,qlm-trim = "2,sgmii"; [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_symbolizer_mac.cpp | 109 char *trim; in ParseCommandOutput() local 110 ExtractTokenUpToDelimiter(str, "\n", &trim); in ParseCommandOutput() 121 const char *rest = trim; in ParseCommandOutput() 126 InternalFree(trim); in ParseCommandOutput() 151 InternalFree(trim); in ParseCommandOutput()
|
| /freebsd/usr.sbin/efidp/ |
| H A D | efidp.c | 122 trim(char *s) in trim() function 145 walker= trim(buffer); in unix_to_efi() 175 walker= trim(buffer); in efi_to_unix() 226 walker= trim(buffer); in parse()
|
| /freebsd/contrib/bsddialog/utility/ |
| H A D | bsddialog.c | 285 bool trim, crwrap; in custom_text() local 290 trim = true; in custom_text() 293 trim = false; in custom_text() 297 trim = false; in custom_text() 334 if (!trim || buf[j] != ' ' || j == 0 || buf[j-1] != ' ') in custom_text()
|
| /freebsd/sys/tools/syscalls/core/ |
| H A D | scarg.lua | 52 return util.trim(arg) 59 line = util.trim(line) -- This provides a clearer abort error. 60 self.scarg = util.trim(line, ',') 71 return util.trim(self.scarg:gsub(self.name .. "$", ""), nil)
|
| /freebsd/usr.sbin/trim/ |
| H A D | Makefile | 1 PROG= trim 2 MAN= trim.8
|