/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 | 257 ATF_TEST_CASE(trim); 258 ATF_TEST_CASE_HEAD(trim) in ATF_TEST_CASE_HEAD() argument 262 ATF_TEST_CASE_BODY(trim) in ATF_TEST_CASE_BODY() argument 264 using atf::text::trim; in ATF_TEST_CASE_BODY() 266 ATF_REQUIRE_EQ(trim(""), ""); in ATF_TEST_CASE_BODY() 267 ATF_REQUIRE_EQ(trim(" "), ""); in ATF_TEST_CASE_BODY() 268 ATF_REQUIRE_EQ(trim("\t"), ""); in ATF_TEST_CASE_BODY() 270 ATF_REQUIRE_EQ(trim(" foo"), "foo"); in ATF_TEST_CASE_BODY() 271 ATF_REQUIRE_EQ(trim("\t foo"), "foo"); in ATF_TEST_CASE_BODY() 272 ATF_REQUIRE_EQ(trim(" \tfoo"), "foo"); in ATF_TEST_CASE_BODY() [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 | 60 log_must zpool trim -r 200M $TESTPOOL 63 log_must zpool trim -s $TESTPOOL 68 log_must zpool trim $TESTPOOL 71 log_must zpool trim -s $TESTPOOL 76 log_must zpool trim -r 600M $TESTPOOL 79 log_must zpool trim -s $TESTPOOL 84 log_must zpool trim -r 1T $TESTPOOL
|
H A D | zpool_trim_start_and_cancel_neg.ksh | 45 log_must zpool trim -r 1 $TESTPOOL $DISK1 50 log_mustnot zpool trim -c $TESTPOOL $DISK2 51 log_mustnot zpool trim -c $TESTPOOL $DISK2 $DISK3 53 log_mustnot zpool trim -s $TESTPOOL $DISK2 54 log_mustnot zpool trim -s $TESTPOOL $DISK2 $DISK3 56 log_mustnot zpool trim $TESTPOOL $DISK1
|
H A D | zpool_trim_suspend_resume.ksh | 55 log_must zpool trim -r 256M $TESTPOOL 62 log_must zpool trim -s $TESTPOOL 70 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 | 23 . $STF_SUITE/tests/functional/trim/trim.kshlib 24 . $STF_SUITE/tests/functional/trim/trim.cfg 79 log_must timeout 120 zpool trim -w $TESTPOOL
|
H A D | autotrim_trim_integrity.ksh | 23 . $STF_SUITE/tests/functional/trim/trim.kshlib 24 . $STF_SUITE/tests/functional/trim/trim.cfg 80 log_must timeout 120 zpool trim -w $TESTPOOL
|
H A D | trim_config.ksh | 23 . $STF_SUITE/tests/functional/trim/trim.kshlib 24 . $STF_SUITE/tests/functional/trim/trim.cfg 102 log_must timeout 120 zpool trim -w $TESTPOOL
|
H A D | autotrim_integrity.ksh | 23 . $STF_SUITE/tests/functional/trim/trim.kshlib 24 . $STF_SUITE/tests/functional/trim/trim.cfg
|
H A D | autotrim_config.ksh | 23 . $STF_SUITE/tests/functional/trim/trim.kshlib 24 . $STF_SUITE/tests/functional/trim/trim.cfg
|
H A D | trim_l2arc.ksh | 18 . $STF_SUITE/tests/functional/trim/trim.kshlib 19 . $STF_SUITE/tests/functional/trim/trim.cfg 27 # 2. Create a pool on file vdevs to trim. 32 # 6. Verify trim IOs of the expected type were issued for the pool.
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_wait/ |
H A D | zpool_wait_trim_flag.ksh | 58 log_bkgrnd zpool trim -r 1M -w $TESTPOOL "$VDEV1" "$VDEV2" 60 log_bkgrnd zpool trim -r 1M -w $TESTPOOL "$VDEV3" 72 log_must zpool trim -c $TESTPOOL "$VDEV1" 80 log_must zpool trim -c $TESTPOOL "$VDEV3" 85 log_must zpool trim -c $TESTPOOL "$VDEV2"
|
/freebsd/contrib/dialog/samples/ |
H A D | msgbox2 | 6 $DIALOG --title "MESSAGE BOX" --trim "$@" \ 13 $DIALOG --aspect 12 --title "MESSAGE BOX aspect=12" --trim "$@" \ 20 $DIALOG --aspect 6 --title "MESSAGE BOX aspect=6" --trim "$@" \ 28 --trim "$@" --msgbox " \
|
/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/contrib/llvm-project/llvm/lib/Support/ |
H A D | FormatVariadic.cpp | 60 StringRef RepString = Spec.trim("{}"); in parseReplacementItem() 69 RepString = RepString.trim(); in parseReplacementItem() 74 RepString = RepString.trim(); in parseReplacementItem() 79 RepString = RepString.trim(); in parseReplacementItem() 81 Options = RepString.trim(); in parseReplacementItem() 84 RepString = RepString.trim(); in parseReplacementItem()
|
/freebsd/sys/tools/syscalls/ |
H A D | config.lua | 163 key = util.trim(key) 164 value = util.trim(value) 175 trailing_context = util.trim(trailing_context) 182 value = util.trim(value, delim) 187 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() 110 ExtractTokenUpToDelimiter(str, "\n", &trim); in ParseCommandOutput() 121 const char *rest = trim; in ParseCommandOutput() 126 InternalFree(trim); in ParseCommandOutput() 151 InternalFree(trim); 106 char *trim; ParseCommandOutput() local
|
/freebsd/sys/tools/syscalls/core/ |
H A D | scarg.lua | 37 return util.trim(arg) 44 line = util.trim(line) -- This provides a clearer abort error. 45 self.scarg = util.trim(line, ',') 55 return util.trim(self.scarg:gsub(self.name .. "$", ""), nil)
|
/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()
|