/freebsd/usr.bin/split/tests/ |
H A D | split_test.sh | 39 atf_check split -b 4 foo split- 40 atf_check -o file:foo-aa cat split-aa 41 atf_check -o file:foo-ab cat split-ab 42 atf_check -o file:foo-ac cat split-ac 44 # MAXBSIZE is the default buffer size, so we'll split at just a little 54 atf_check split -b ${bsize} foo split- 55 atf_check -o file:foo-aa cat split-aa 56 atf_check -o file:foo-ab cat split-ab 57 atf_check -o file:foo-ac cat split-ac 74 atf_check split -n ${chunks} foo split- [all …]
|
/freebsd/contrib/one-true-awk/testdir/ |
H A D | T.split | 18 echo T.split: misc tests of field splitting and split command 35 diff $TEMP1 $TEMP2 || fail 'BAD: T.split 0.1' 45 diff $TEMP1 $TEMP2 || fail 'BAD: T.split 0.2' 62 diff $TEMP1 $TEMP2 || fail 'BAD: T.split 0.3' 73 diff $TEMP1 $TEMP2 || fail 'BAD: T.split 0.4' 87 diff $TEMP1 $TEMP2 || fail 'BAD: T.split 0.5' 96 diff $TEMP1 $TEMP2 || fail 'BAD: T.split (record assignment 1)' 108 diff $TEMP1 $TEMP2 || fail 'BAD: T.split (record assignment 2)' 119 { n = split($0, x, "") 129 diff $TEMP0 $TEMP1 || fail 'BAD: T.split 1' [all …]
|
H A D | lilly.progs | 67 {if(split($0,foo,/=/))print $0} 68 {if(split($0,foo,/\=/))print $0} 69 {if(split($0,foo,/==/))print $0} 70 {if(split($0,foo,/\+=/))print $0} 71 {if(split($0,foo,/\*=/))print $0} 72 {if(split($0,foo,/-=/))print $0} 73 {if(split($0,foo,/\/=/))print $0} 74 {if(split($0,foo,/%=/))print $0} 75 {if(split($0,foo,/^=/))print $0} 76 {if(split($0,foo,/!=/))print $0} [all …]
|
/freebsd/usr.bin/split/ |
H A D | split.1 | 32 .Nm split 33 .Nd split a file into pieces 88 Create split files 95 is appended to the number, the file is split into 102 is appended to the number, the file is split into 109 is appended to the number, the file is split into 118 Create split files 122 Split file into 132 The file is split whenever an input line matches 144 of the input file which is to be split. [all …]
|
/freebsd/crypto/krb5/src/tests/ |
H A D | t_y2038.py | 41 year = int(out.split()[-1]) 64 if int(out.split('\n')[4].split()[2].split('/')[2]) < 39: 66 if int(out.split('\n')[5].split()[2].split('/')[2]) < 40: 68 if int(out.split('\n')[6].split()[2].split('/')[2]) < 39: 70 if int(out.split('\n')[7].split()[2].split('/')[2]) < 40: 74 if int(out.split('\n')[4].split()[2].split('/')[2]) < 39: 76 if int(out.split('\n')[5].split()[2].split('/')[2]) < 40:
|
/freebsd/sys/contrib/device-tree/Bindings/display/mediatek/ |
H A D | mediatek,split.yaml | 4 $id: http://devicetree.org/schemas/display/mediatek/mediatek,split.yaml# 7 title: Mediatek display split 14 Mediatek display split, namely SPLIT, is used to split stream to two 16 SPLIT device node must be siblings to the central MMSYS_CONFIG node. 25 - mediatek,mt8173-disp-split 26 - mediatek,mt8195-mdp3-split 28 - const: mediatek,mt6795-disp-split 29 - const: mediatek,mt8173-disp-split 60 - description: SPLIT Clock 76 const: mediatek,mt8195-mdp3-split [all …]
|
/freebsd/contrib/ntp/libntp/ |
H A D | calyearstart.c | 18 * - split into days and seconds since midnight, dropping the partial day 27 ntpcal_split split; in calyearstart() local 30 split = ntpcal_daysplit(&vlong); in calyearstart() 31 ndays = ntpcal_rd_to_ystart(split.hi + DAY_NTP_STARTS) in calyearstart() 46 ntpcal_split split; in calmonthstart() local 49 split = ntpcal_daysplit(&vlong); in calmonthstart() 50 ndays = ntpcal_rd_to_mstart(split.hi + DAY_NTP_STARTS) in calmonthstart() 65 ntpcal_split split; in calweekstart() local 68 split = ntpcal_daysplit(&vlong); in calweekstart() 69 ndays = ntpcal_weekday_le(split.hi + DAY_NTP_STARTS, CAL_MONDAY) in calweekstart() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Format/ |
H A D | BreakableToken.h | 50 /// around the concept of a \c Split, which is a whitespace range that signifies 54 /// - getSplit, for finding a split starting at a position, 55 /// - insertBreak, for executing the split using a whitespace manager. 69 /// - getReflowSplit, for finding a split such that the content preceding it 71 /// - reflow, for executing the split using a whitespace manager, 81 /// - getSplitAfterLastLine, for finding a split after the last line that needs 88 /// Contains starting character index and length of split. 89 typedef std::pair<StringRef::size_type, unsigned> Split; typedef 153 virtual Split getSplit(unsigned LineIndex, unsigned TailOffset, 157 /// Emits the previously retrieved \p Split via \p Whitespaces. [all …]
|
H A D | BreakableToken.cpp | 67 static BreakableToken::Split 72 LLVM_DEBUG(llvm::dbgs() << "Comment split: \"" << Text in getCommentSplit() 76 return BreakableToken::Split(StringRef::npos, 0); in getCommentSplit() 122 // Do not split before a number followed by a dot: this would be interpreted in getCommentSplit() 146 // If the comment is only whitespace, we cannot split. in getCommentSplit() 147 return BreakableToken::Split(StringRef::npos, 0); in getCommentSplit() 158 return BreakableToken::Split(StringRef::npos, 0); in getCommentSplit() 164 return BreakableToken::Split(BeforeCut.size(), in getCommentSplit() 167 return BreakableToken::Split(StringRef::npos, 0); in getCommentSplit() 170 static BreakableToken::Split [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_split/ |
H A D | zpool_split_wholedisk.ksh | 23 # 'zpool split' should work with whole-disk devices. 27 # 2. Verify 'zpool split' works and successfully split the mirror 29 # 4. Verify 'zpool split' using the other device 60 log_assert "'zpool split' should work with whole-disk devices" 70 # 2. Verify 'zpool split' works and successfully split the mirror 71 log_must zpool split -R "$ALTROOT" $TESTPOOL $TESTPOOL2 $DISK_DEVICE 80 # 4. Verify 'zpool split' using the other device 81 log_must zpool split -R "$ALTROOT" $TESTPOOL $TESTPOOL2 $FILE_DEVICE 85 log_pass "'zpool split' works with whole-disk devices"
|
H A D | zpool_split_encryption.ksh | 23 # 'zpool split' should be able to split encrypted pools 27 # 2. Split and re-import the pool, verify altroot is mounted. 39 log_assert "'zpool split' should be able to split encrypted pools" 45 altroot="$TESTDIR/zpool-split-$RANDOM" 53 # 2. Split and re-import the pool, verify altroot is mounted. 54 log_must eval "echo "$passphrase" | zpool split -l -R $altroot " \ 60 log_pass "'zpool split' can split encrypted pools"
|
H A D | zpool_split_resilver.ksh | 23 # 'zpool split' should fail if resilver in progress for a disk 31 # 5. Verify 'zpool split' must fail 38 # 5. Verify 'zpool split' must fail 64 # offline a disk, so it will not be fully sync before split 86 log_mustnot zpool split $TESTPOOL $TESTPOOL2 91 log_assert "Verify 'zpool split' will fail if resilver in progress for a disk" 98 log_note "Verify ZFS prevents main pool corruption during 'split'" 103 log_note "Verify ZFS prevents new pool corruption during 'split'" 106 log_pass "'zpool split' failed as expected"
|
H A D | zpool_split_cliargs.ksh | 23 # 'zpool split' should only work with supported options and parameters. 28 # 3. Verify we cannot split a pool if the destination already exists 47 log_assert "'zpool split' should only work with supported options and parameters." 63 log_must zpool split $opt $TESTPOOL $TESTPOOL2 71 log_mustnot zpool split $opt $TESTPOOL $TESTPOOL2 75 # 3. Verify we cannot split a pool if the destination already exists 79 log_mustnot zpool split $TESTPOOL $TESTPOOL2 81 log_pass "'zpool split' only works with supported options and parameters."
|
H A D | zpool_split_devices.ksh | 23 # 'zpool split' should use the provided devices to split the pool 27 # 2. Verify 'zpool split' can provide a list of devices to be included in the 48 log_assert "'zpool split' should use the provided devices to split the pool" 91 log_mustnot zpool split $TESTPOOL $TESTPOOL2 ${baddevs[$i]} 92 log_must zpool split -R $altroot $TESTPOOL $TESTPOOL2 ${gooddevs[$i]} 102 log_pass "'zpool split' can use the provided devices to split the pool"
|
/freebsd/contrib/atf/atf-c++/detail/ |
H A D | text_test.cpp | 158 ATF_TEST_CASE(split); 159 ATF_TEST_CASE_HEAD(split) in ATF_TEST_CASE_HEAD() argument 161 set_md_var("descr", "Tests the split function"); in ATF_TEST_CASE_HEAD() 163 ATF_TEST_CASE_BODY(split) in ATF_TEST_CASE_BODY() argument 165 using atf::text::split; in ATF_TEST_CASE_BODY() 169 words = split("", " "); in ATF_TEST_CASE_BODY() 172 words = split(" ", " "); in ATF_TEST_CASE_BODY() 175 words = split(" ", " "); in ATF_TEST_CASE_BODY() 178 words = split("a b", " "); in ATF_TEST_CASE_BODY() 183 words = split("a b c d", " "); in ATF_TEST_CASE_BODY() [all …]
|
/freebsd/contrib/netbsd-tests/net/bpf/ |
H A D | h_bpf.h | 54 * [pkt, pkt + split] bytes, the second chunk (if it's not empty) 55 * holds (pkt + split, pkt + pktsize) bytes. 60 unsigned char pkt[], size_t pktsize, size_t split) in init_mchain2() argument 65 mb1->m_next = (split < pktsize) ? mb2 : NULL; in init_mchain2() 66 mb1->m_len = (split < pktsize) ? split : pktsize; in init_mchain2() 68 if (split < pktsize) { in init_mchain2() 71 mb2->m_data = (char *)&pkt[split]; in init_mchain2() 72 mb2->m_len = pktsize - split; in init_mchain2() 111 unsigned char pkt[], size_t pktsize, size_t split) in interp_prog_mchain2() argument 118 args.pkt = init_mchain2(&mb1, &mb2, pkt, pktsize, split); in interp_prog_mchain2() [all …]
|
H A D | t_mbuf.c | 53 test_ldb_abs(size_t split) in test_ldb_abs() argument 86 return interp_prog_mchain2(insns, P, sizeof(P), split) == res; in test_ldb_abs() 90 test_ldh_abs(size_t split) in test_ldh_abs() argument 116 return interp_prog_mchain2(insns, P, sizeof(P), split) == res; in test_ldh_abs() 120 test_ldw_abs(size_t split) in test_ldw_abs() argument 138 return interp_prog_mchain2(insns, P, sizeof(P), split) == res; in test_ldw_abs() 142 test_ldb_ind(size_t split) in test_ldb_ind() argument 179 return interp_prog_mchain2(insns, P, sizeof(P), split) == res; in test_ldb_ind() 183 test_ldw_ind(size_t split) in test_ldw_ind() argument 208 return interp_prog_mchain2(insns, P, sizeof(P), split) == res; in test_ldw_ind() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Rewrite/ |
H A D | RewriteRope.cpp | 31 /// Once split, another string can be inserted in between the two halves by 103 /// split - Split the range containing the specified offset so that we are 109 RopePieceBTreeNode *split(unsigned Offset); 120 /// guaranteed that there is a split at Offset. 203 /// split - Split the range containing the specified offset so that we are 209 RopePieceBTreeNode *split(unsigned Offset); 220 /// guaranteed that there is a split at Offset. 230 /// split - Split the range containing the specified offset so that we are 236 RopePieceBTreeNode *RopePieceBTreeLeaf::split(unsigned Offset) { in split() function in RopePieceBTreeLeaf 237 // Find the insertion point. We are guaranteed that there is a split at the in split() [all …]
|
/freebsd/lib/libc/db/btree/ |
H A D | bt_split.c | 58 * __BT_SPLIT -- Split the tree. 62 * sp: page to split 88 * Split the page into two pages, l and r. The split routines return in __bt_split() 102 * always cause a leaf page to split first.) in __bt_split() 111 /* If the root page was split, make it look right. */ in __bt_split() 119 * were traversed when we searched for the page that split. Each stack in __bt_split() 121 * the page traversed on the search. We've just split a page, so we in __bt_split() 124 * If the insert into the parent page causes it to split, may have to in __bt_split() 126 * splits or the page inserted into didn't have to split to hold the in __bt_split() 130 * in the case of a key being placed at index 0 causing the split, the in __bt_split() [all …]
|
/freebsd/contrib/netbsd-tests/net/bpfjit/ |
H A D | t_mbuf.c | 54 test_ldb_abs(size_t split) in test_ldb_abs() argument 88 return exec_prog_mchain2(insns, insn_count, P, sizeof(P), split) == res; in test_ldb_abs() 92 test_ldh_abs(size_t split) in test_ldh_abs() argument 119 return exec_prog_mchain2(insns, insn_count, P, sizeof(P), split) == res; in test_ldh_abs() 123 test_ldw_abs(size_t split) in test_ldw_abs() argument 142 return exec_prog_mchain2(insns, insn_count, P, sizeof(P), split) == res; in test_ldw_abs() 146 test_ldb_ind(size_t split) in test_ldb_ind() argument 184 return exec_prog_mchain2(insns, insn_count, P, sizeof(P), split) == res; in test_ldb_ind() 188 test_ldw_ind(size_t split) in test_ldw_ind() argument 214 return exec_prog_mchain2(insns, insn_count, P, sizeof(P), split) == res; in test_ldw_ind() [all …]
|
/freebsd/crypto/krb5/src/plugins/kdb/db2/libdb2/btree/ |
H A D | bt_split.c | 67 * __BT_SPLIT -- Split the tree. 71 * sp: page to split 102 * Split the page into two pages, l and r. The split routines return 116 * always cause a leaf page to split first.) 125 /* If the root page was split, make it look right. */ 133 * were traversed when we searched for the page that split. Each stack 135 * the page traversed on the search. We've just split a page, so we 138 * If the insert into the parent page causes it to split, may have to 140 * splits or the page inserted into didn't have to split to hold the 144 * in the case of a key being placed at index 0 causing the split, the [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | MachineFunctionSplitter.cpp | 1 //===-- MachineFunctionSplitter.cpp - Split machine functions //-----------===// 10 // Uses profile information to split out cold blocks. 16 // section. The split part of the function is a contiguous region identified by 49 // Defaults to 999950, i.e. all blocks colder than 99.995 percentile are split. 66 "mfs-split-ehcode", 113 // to judge whether a block is cold and should be split. in isColdBlock() 133 // of exception handling code may be split to cold if user passes the in runOnMachineFunction() 134 // mfs-split-ehcode flag. in runOnMachineFunction() 160 // Split all EH code and it's descendant statically by default. in runOnMachineFunction() 180 // Split all EH code and it's descendant statically by default. in runOnMachineFunction() [all …]
|
/freebsd/sys/dev/ntb/ntb_hw/ |
H A D | ntb_hw_plx.c | 87 u_int split; /* split BAR2 into 2^x parts */ member 413 snprintf(buf, sizeof(buf), "hint.%s.%d.split", device_get_name(dev), in ntb_plx_attach() 415 TUNABLE_INT_FETCH(buf, &sc->split); in ntb_plx_attach() 416 if (sc->split > 7) { in ntb_plx_attach() 417 device_printf(dev, "Split value is too high (%u)\n", sc->split); in ntb_plx_attach() 418 sc->split = 0; in ntb_plx_attach() 419 } else if (sc->split > 0 && sc->alut == 0) { in ntb_plx_attach() 420 device_printf(dev, "Can't split with disabled A-LUT\n"); in ntb_plx_attach() 421 sc->split = 0; in ntb_plx_attach() 422 } else if (sc->split > 0 && (sc->mw_count == 0 || sc->mw_info[0].mw_bar != 2)) { in ntb_plx_attach() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | DataLayout.cpp | 234 /// Checked version of split, to ensure mandatory subparts. 235 static Error split(StringRef Str, char Separator, in split() function 236 std::pair<StringRef, StringRef> &Split) { in split() argument 238 Split = Str.split(Separator); in split() 239 if (Split.second.empty() && Split.first != Str) in split() 241 if (!Split.second.empty() && Split.first.empty()) in split() 277 // Split at '-'. in parseSpecifier() 278 std::pair<StringRef, StringRef> Split; in parseSpecifier() local 279 if (Error Err = ::split(Desc, '-', Split)) in parseSpecifier() 281 Desc = Split.second; in parseSpecifier() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
H A D | Marshallers.cpp | 141 SmallVector<StringRef, 4> Split; in getFlags() local 142 Flags.split(Split, '|', -1, false); in getFlags() 143 for (StringRef OrFlag : Split) { in getFlags() 158 SmallVector<StringRef, 4> Split; in getBestGuess() local 159 llvm::StringRef(Value.getString()).split(Split, '|', -1, false); in getBestGuess() 160 for (llvm::StringRef &Flag : Split) { in getBestGuess() 167 if (Split.empty()) in getBestGuess() 169 return llvm::join(Split, " | "); in getBestGuess()
|