Home
last modified time | relevance | path

Searched full:split (Results 1 – 25 of 2453) sorted by relevance

12345678910>>...99

/freebsd/usr.bin/split/tests/
H A Dsplit_test.sh39 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 DT.split18 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 Dlilly.progs67 {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 Dsplit.132 .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/sys/contrib/device-tree/Bindings/display/mediatek/
H A Dmediatek,split.yaml4 $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 Dcalyearstart.c18 * - 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 DBreakableToken.h50 /// 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 DBreakableToken.cpp67 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 Dzpool_split_wholedisk.ksh22 # 'zpool split' should work with whole-disk devices.
26 # 2. Verify 'zpool split' works and successfully split the mirror
28 # 4. Verify 'zpool split' using the other device
59 log_assert "'zpool split' should work with whole-disk devices"
69 # 2. Verify 'zpool split' works and successfully split the mirror
70 log_must zpool split -R "$ALTROOT" $TESTPOOL $TESTPOOL2 $DISK_DEVICE
79 # 4. Verify 'zpool split' using the other device
80 log_must zpool split -R "$ALTROOT" $TESTPOOL $TESTPOOL2 $FILE_DEVICE
84 log_pass "'zpool split' works with whole-disk devices"
H A Dzpool_split_encryption.ksh22 # 'zpool split' should be able to split encrypted pools
26 # 2. Split and re-import the pool, verify altroot is mounted.
38 log_assert "'zpool split' should be able to split encrypted pools"
44 altroot="$TESTDIR/zpool-split-$RANDOM"
52 # 2. Split and re-import the pool, verify altroot is mounted.
53 log_must eval "echo "$passphrase" | zpool split -l -R $altroot " \
59 log_pass "'zpool split' can split encrypted pools"
H A Dzpool_split_resilver.ksh22 # 'zpool split' should fail if resilver in progress for a disk
30 # 5. Verify 'zpool split' must fail
37 # 5. Verify 'zpool split' must fail
63 # offline a disk, so it will not be fully sync before split
85 log_mustnot zpool split $TESTPOOL $TESTPOOL2
90 log_assert "Verify 'zpool split' will fail if resilver in progress for a disk"
97 log_note "Verify ZFS prevents main pool corruption during 'split'"
102 log_note "Verify ZFS prevents new pool corruption during 'split'"
105 log_pass "'zpool split' failed as expected"
H A Dzpool_split_cliargs.ksh22 # 'zpool split' should only work with supported options and parameters.
27 # 3. Verify we cannot split a pool if the destination already exists
46 log_assert "'zpool split' should only work with supported options and parameters."
62 log_must zpool split $opt $TESTPOOL $TESTPOOL2
70 log_mustnot zpool split $opt $TESTPOOL $TESTPOOL2
74 # 3. Verify we cannot split a pool if the destination already exists
78 log_mustnot zpool split $TESTPOOL $TESTPOOL2
80 log_pass "'zpool split' only works with supported options and parameters."
H A Dzpool_split_devices.ksh22 # 'zpool split' should use the provided devices to split the pool
26 # 2. Verify 'zpool split' can provide a list of devices to be included in the
47 log_assert "'zpool split' should use the provided devices to split the pool"
90 log_mustnot zpool split $TESTPOOL $TESTPOOL2 ${baddevs[$i]}
91 log_must zpool split -R $altroot $TESTPOOL $TESTPOOL2 ${gooddevs[$i]}
101 log_pass "'zpool split' can use the provided devices to split the pool"
H A Dzpool_split_props.ksh23 # 'zpool split' can set new property values on the new pool
27 # 2. Verify 'zpool split' can set property values on the new pool, but only if
48 log_assert "'zpool split' can set new property values on the new pool"
76 log_must zpool split -o $prop $TESTPOOL $TESTPOOL2
90 log_mustnot zpool split -o $prop $TESTPOOL $TESTPOOL2
94 log_pass "'zpool split' can set new property values on the new pool"
/freebsd/contrib/atf/atf-c++/detail/
H A Dtext_test.cpp158 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 Dh_bpf.h54 * [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 Dt_mbuf.c53 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 DRewriteRope.cpp31 /// 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 …]
H A DDeltaTree.cpp59 SourceDelta Split; member
107 /// split the node, populate InsertRes with info about the split, and return
140 Values[0] = IR.Split; in DeltaTreeInteriorNode()
141 FullDelta = IR.LHS->getFullDelta()+IR.RHS->getFullDelta()+IR.Split.Delta; in DeltaTreeInteriorNode()
182 /// split the node, populate InsertRes with info about the split, and return
218 // Otherwise, if this is leaf is full, split the node at its median, insert in DoInsertion()
223 if (InsertRes->Split.FileLoc > FileIndex) in DoInsertion()
235 // Okay, this split the subtree, producing a new value and two children to in DoInsertion()
249 Values[i] = InsertRes->Split; in DoInsertion()
254 // Finally, if this interior node was full and a node is percolated up, split in DoInsertion()
[all …]
/freebsd/lib/libc/db/btree/
H A Dbt_split.c58 * __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 Dt_mbuf.c54 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/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineFunctionSplitter.cpp1 //===-- 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 Dntb_hw_plx.c87 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 DDataLayout.cpp234 /// 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 DMarshallers.cpp141 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()

12345678910>>...99