Home
last modified time | relevance | path

Searched refs:split (Results 1 – 25 of 2690) sorted by relevance

12345678910>>...108

/external/mesa3d/src/mesa/vbo/
Dvbo_split_inplace.c63 static void flush_vertex( struct split_context *split ) in flush_vertex() argument
65 struct gl_context *ctx = split->ctx; in flush_vertex()
70 if (!split->dstprim_nr) in flush_vertex()
73 if (split->ib) { in flush_vertex()
74 ib = *split->ib; in flush_vertex()
76 ib.count = split->max_index - split->min_index + 1; in flush_vertex()
78 split->min_index * _mesa_sizeof_type(ib.type)); in flush_vertex()
81 for (i = 0; i < split->dstprim_nr; i++) in flush_vertex()
82 split->dstprim[i].start -= split->min_index; in flush_vertex()
85 assert(split->max_index >= split->min_index); in flush_vertex()
[all …]
/external/v8/test/mjsunit/
Dstring-split.js29 result = "A<B>bold</B>and<CODE>coded</CODE>".split(/<(\/)?([^<>]+)>/);
33 assertArrayEquals(["a", "b"], "ab".split(/a*?/));
35 assertArrayEquals(["", "b"], "ab".split(/a*/));
37 assertArrayEquals(["a"], "ab".split(/a*?/, 1));
39 assertArrayEquals([""], "ab".split(/a*/, 1));
41 assertArrayEquals(["as","fas","fas","f"], "asdfasdfasdf".split("d"));
43 assertArrayEquals(["as","fas","fas","f"], "asdfasdfasdf".split("d", -1));
45 assertArrayEquals(["as", "fas"], "asdfasdfasdf".split("d", 2));
47 assertArrayEquals([], "asdfasdfasdf".split("d", 0));
49 assertArrayEquals(["as","fas","fas",""], "asdfasdfasd".split("d"));
[all …]
/external/v8/test/webkit/fast/js/
Dstring-split-conformance-expected.txt24 This test checks for a regression against String#split is buggy.
29 PASS ''.split() is testCode[i][1]
30 PASS ''.split(/./) is testCode[i][1]
31 PASS ''.split(/.?/) is testCode[i][1]
32 PASS ''.split(/.??/) is testCode[i][1]
33 PASS 'ab'.split(/a*/) is testCode[i][1]
34 PASS 'ab'.split(/a*?/) is testCode[i][1]
35 PASS 'ab'.split(/(?:ab)/) is testCode[i][1]
36 PASS 'ab'.split(/(?:ab)*/) is testCode[i][1]
37 PASS 'ab'.split(/(?:ab)*?/) is testCode[i][1]
[all …]
/external/guava/guava-tests/test/com/google/common/base/
DSplitterTest.java45 COMMA_SPLITTER.split(null); in testSplitNullString()
53 Iterable<String> letters = COMMA_SPLITTER.split(simple); in testCharacterSimpleSplit()
72 assertEquals("[]", Splitter.on(',').split("").toString()); in testToString()
73 assertEquals("[a, b, c]", Splitter.on(',').split("a,b,c").toString()); in testToString()
74 assertEquals("[yam, bam, jam, ham]", Splitter.on(", ").split("yam, bam, jam, ham").toString()); in testToString()
79 Iterable<String> letters = Splitter.on('.').split(simple); in testCharacterSimpleSplitWithNoDelimiter()
85 Iterable<String> letters = COMMA_SPLITTER.split(doubled); in testCharacterSplitWithDoubleDelimiter()
91 Iterable<String> letters = COMMA_SPLITTER.split(doubled); in testCharacterSplitWithDoubleDelimiterAndSpace()
97 Iterable<String> letters = COMMA_SPLITTER.split(trailing); in testCharacterSplitWithTrailingDelimiter()
103 Iterable<String> letters = COMMA_SPLITTER.split(leading); in testCharacterSplitWithLeadingDelimiter()
[all …]
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
DSplitterTest.java42 COMMA_SPLITTER.split(null); in testSplitNullString()
50 Iterable<String> letters = COMMA_SPLITTER.split(simple); in testCharacterSimpleSplit()
69 assertEquals("[]", Splitter.on(',').split("").toString()); in testToString()
70 assertEquals("[a, b, c]", Splitter.on(',').split("a,b,c").toString()); in testToString()
71 assertEquals("[yam, bam, jam, ham]", Splitter.on(", ").split("yam, bam, jam, ham").toString()); in testToString()
76 Iterable<String> letters = Splitter.on('.').split(simple); in testCharacterSimpleSplitWithNoDelimiter()
82 Iterable<String> letters = COMMA_SPLITTER.split(doubled); in testCharacterSplitWithDoubleDelimiter()
88 Iterable<String> letters = COMMA_SPLITTER.split(doubled); in testCharacterSplitWithDoubleDelimiterAndSpace()
94 Iterable<String> letters = COMMA_SPLITTER.split(trailing); in testCharacterSplitWithTrailingDelimiter()
100 Iterable<String> letters = COMMA_SPLITTER.split(leading); in testCharacterSplitWithLeadingDelimiter()
[all …]
/external/llvm/test/Transforms/LoopUnswitch/
D2011-11-18-TwoSwitches.ll9 ; CHECK-NEXT: br i1 %1, label %.split.us, label %..split_crit_edge
12 ; CHECK-NEXT: br label %.split
14 ; CHECK: .split.us: ; preds = %0
16 ; CHECK-NEXT: br i1 %2, label %.split.us.split.us, label %.split.us..split.us.split_crit_edge
18 ; CHECK: .split.us..split.us.split_crit_edge: ; preds = %.split.us
19 ; CHECK-NEXT: br label %.split.us.split
21 ; CHECK: .split.us.split.us: ; preds = %.split.us
24 …in.us.us: ; preds = %loop_begin.backedge.us.us, %.split.us.split.us
37 ; CHECK: .split.us.split: ; preds = %.split.us..split.us.spli…
40 …op_begin.us: ; preds = %loop_begin.backedge.us, %.split.us.split
[all …]
D2011-11-18-SimpleSwitch.ll9 ; CHECK-NEXT: br i1 %1, label %.split.us, label %..split_crit_edge
12 ; CHECK-NEXT: br label %.split
14 ; CHECK: .split.us: ; preds = %0
17 … loop_begin.us: ; preds = %loop_begin.backedge.us, %.split.us
26 ; CHECK: .split: ; preds = %..split_crit_edge
28 ; CHECK-NEXT: br i1 %2, label %.split.split.us, label %.split..split.split_crit_edge
30 ; CHECK: .split..split.split_crit_edge: ; preds = %.split
31 ; CHECK-NEXT: br label %.split.split
33 ; CHECK: .split.split.us: ; preds = %.split
36 …p_begin.us1: ; preds = %loop_begin.backedge.us5, %.split.split.us
[all …]
Dtrivial-unswitch.ll11 ; CHECK: br label %.split
13 ; CHECK: .split: ; preds = %..split_crit_edge
14 ; CHECK: br i1 %cond2, label %.split..split.split_crit_edge, label %.split.loop_exit.split1_crit…
16 ; CHECK: .split..split.split_crit_edge: ; preds = %.split
17 ; CHECK: br label %.split.split
19 ; CHECK: .split.split: ; preds = %.split..split.split_crit_edge
22 ; CHECK: loop_begin: ; preds = %do_something, %.split.split
/external/llvm/test/CodeGen/X86/
D2007-10-30-LSRCrash.ll16 bb76.split: ; preds = %bb69.outer.split.split, %bb69.us208
19 bb69.outer: ; preds = %bb76.split, %bb98.preheader
20 …%from.0.reg2mem.0.ph.rec = phi i32 [ %tmp75.rec, %bb76.split ], [ 0, %bb98.preheader ] ; <i32> [#…
23 br i1 false, label %bb69.us208, label %bb69.outer.split.split
26 switch i32 0, label %bb76.split [
32 bb69.outer.split.split: ; preds = %bb69.outer
33 switch i8 0, label %bb76.split [
39 bb89: ; preds = %bb69.outer.split.split, %bb69.outer.split.split, %bb69.outer.split.split, %bb69.u…
40 …69.us208 ], [ %tmp75, %bb69.outer.split.split ], [ %tmp75, %bb69.outer.split.split ], [ %tmp75, %b…
43 bb103: ; preds = %bb76.split, %bb98.preheader
/external/jsilver/src/com/google/clearsilver/jsilver/data/
DDefaultHdfParser.java54 Split split; in parseLine() local
55 if ((split = split(line, "=")) != null) { in parseLine()
57 output.setValue(createFullPath(context, split.left), split.right); in parseLine()
58 } else if ((split = split(line, "<<")) != null) { in parseLine()
63 output.setValue(createFullPath(context, split.left), readToToken(lineReader, split.right)); in parseLine()
64 } else if ((split = split(line, "{")) != null) { in parseLine()
67 context.add(split.left); in parseLine()
68 } else if (split(line, "}") != null) { in parseLine()
72 } else if ((split = split(line, ":")) != null) { in parseLine()
74 output.setSymlink(createFullPath(context, split.left), split.right); in parseLine()
[all …]
/external/llvm/test/CodeGen/PowerPC/
Dpr24636.ll18 br i1 undef, label %.lr.ph.split, label %.preheader
21 br i1 undef, label %.lr.ph.split, label %.preheader
23 .lr.ph.split: ; preds = %.preheader, %.lr.ph
24 br i1 undef, label %._crit_edge, label %.lr.ph.split.split
26 .lr.ph.split.split: ; preds = %.lr.ph.split.split, %.lr.ph.split
27 %1 = phi i32 [ %2, %.lr.ph.split.split ], [ undef, %.lr.ph.split ]
30 br i1 %3, label %.lr.ph.split.split, label %._crit_edge
32 ._crit_edge: ; preds = %.lr.ph.split.split, %.lr.ph.split
33 %.lcssa = phi i32 [ undef, %.lr.ph.split ], [ %2, %.lr.ph.split.split ]
/external/skia/tools/
Ddm_flags.py36 args.extend('--matrix 0 1 1 0'.split(' '))
85 args.extend('--src tests gm image'.split(' '))
95 blacklist.extend('msaa16 gm _ colorwheelnative'.split(' '))
96 blacklist.extend('pdf gm _ fontmgr_iter_factory'.split(' '))
100 blacklist.extend('pdf gm _ fontmgr_iter'.split(' '))
101 blacklist.extend('pdf _ _ PANO_20121023_214540.jpg'.split(' '))
102 blacklist.extend('pdf skp _ worldjournal'.split(' '))
103 blacklist.extend('pdf skp _ desk_baidu.skp'.split(' '))
104 blacklist.extend('pdf skp _ desk_wikipedia.skp'.split(' '))
107 blacklist.extend('gpu skp _ _ msaa skp _ _'.split(' '))
[all …]
/external/google-breakpad/src/testing/scripts/generator/cpp/
Dkeywords.py36 TYPES = set('bool char int long short double float void wchar_t unsigned signed'.split())
37 TYPE_MODIFIERS = set('auto register const inline extern static virtual volatile mutable'.split())
38 ACCESS = set('public protected private friend'.split())
40 CASTS = set('static_cast const_cast dynamic_cast reinterpret_cast'.split())
42 OTHERS = set('true false asm class namespace using explicit this operator sizeof'.split())
43 OTHER_TYPES = set('new delete typedef struct union enum typeid typename template'.split())
45 CONTROL = set('case switch default if else return goto'.split())
46 EXCEPTION = set('try catch throw'.split())
47 LOOP = set('while do for break continue'.split())
/external/llvm/test/Transforms/LoopVectorize/
Dincorrect-dom-info.ll41 br i1 undef, label %thread-pre-split.preheader, label %.preheader
43 thread-pre-split.preheader: ; preds = %9
44 br i1 undef, label %thread-pre-split._crit_edge, label %.lr.ph21
46 .thread-pre-split.loopexit_crit_edge: ; preds = %19
49 br label %thread-pre-split.loopexit
51 thread-pre-split.loopexit: ; preds = %11, %.thread-pre-split.loopexit_crit_e…
52 %d.1.lcssa = phi i8* [ %scevgep45, %.thread-pre-split.loopexit_crit_edge ], [ %d.020, %11 ]
53 br i1 false, label %thread-pre-split._crit_edge, label %.lr.ph21
55 … ; preds = %26, %thread-pre-split.loopexit, %thread-pre-split.preh…
56 …0 = phi i8* [ undef, %26 ], [ %d.1.lcssa, %thread-pre-split.loopexit ], [ undef, %thread-pre-split
[all …]
/external/webp/src/utils/
Dbit_reader_inl.h119 const range_t split = (range * prob) >> 8; in VP8GetBit() local
122 const int bit = ((int)(split - value) >> 31) & 1; in VP8GetBit()
123 if (value > split) { in VP8GetBit()
124 range -= split + 1; in VP8GetBit()
125 br->value_ -= (bit_t)(split + 1) << pos; in VP8GetBit()
127 range = split; in VP8GetBit()
131 if (value > split) { in VP8GetBit()
132 range -= split + 1; in VP8GetBit()
133 br->value_ -= (bit_t)(split + 1) << pos; in VP8GetBit()
136 range = split; in VP8GetBit()
[all …]
/external/toybox/toys/pending/
Dfold.c42 int pos = 0, split = -1; local
54 split = -1;
73 split = pos;
80 if (!(toys.optflags & FLAG_s) || split < 0) split = pos;
81 xwrite(1, buf, split + 1);
83 bufsz -= split + 1;
84 buf += split + 1;
86 split = -1;
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/runtime/
DCommandLineSupportTest.java74 assertEquals(Arrays.asList(), CommandLineSupport.split(null)); in testSplit1()
79 assertEquals(Arrays.asList(), CommandLineSupport.split("")); in testSplit2()
84 assertEquals(Arrays.asList("abc"), CommandLineSupport.split("abc")); in testSplit3()
90 CommandLineSupport.split(" aa bbbb cccccc ")); in testSplit4()
96 CommandLineSupport.split("\"a a\" \"b b \" ")); in testSplit5()
101 assertEquals(Arrays.asList("a\"c"), CommandLineSupport.split("a\\\"c")); in testSplit6()
106 assertEquals(Arrays.asList("a\\c"), CommandLineSupport.split("a\\c")); in testSplit7()
111 assertEquals(Arrays.asList("a\\"), CommandLineSupport.split("a\\")); in testSplit8()
117 CommandLineSupport.split("a\\ b")); in testSplit9()
122 assertEquals(Arrays.asList("a\\b"), CommandLineSupport.split("a\\\\b")); in testSplit10()
/external/clang/utils/analyzer/
DSumTimerInfo.py39 s = line.split()
45 s = line.split()
48 s = line.split()
51 s = line.split()
54 s = line.split()
57 s = line.split()
61 s = line.split()
64 s = line.split()
67 s = line.split()
70 s = line.split()
/external/llvm/test/Transforms/IndVarSimplify/
D2007-06-06-DeleteDanglesPtr.ll22 br i1 false, label %bb.outer5.split.split.split.us, label %cond_true194.split
24 bb.outer5.split.split.split.us: ; preds = %cond_next
30 cond_next188.us503.us: ; preds = %bb.outer5.split.split.split.us
32 i32 0, label %cond_next202.bb215_crit_edge.split
36 i32 64, label %cond_next202.bb417_crit_edge.split
38 i32 96, label %cond_next202.bb615_crit_edge.split
40 i32 128, label %cond_next202.bb716_crit_edge.split
42 i32 160, label %cond_next202.bb882_crit_edge.split
44 i32 192, label %cond_next202.bb1062_crit_edge.split
49 bb.us481: ; preds = %bb.outer5.split.split.split.us
[all …]
Dpr20680.ll36 …br i1 %tobool5, label %for.body3.lr.ph.split.us, label %for.body3.lr.ph.for.body3.lr.ph.split_crit…
39 br label %for.body3.lr.ph.split
41 for.body3.lr.ph.split.us: ; preds = %for.body3.lr.ph
42 …br i1 %tobool, label %for.body3.lr.ph.split.us.split.us, label %for.body3.lr.ph.split.us.for.body3…
44 for.body3.lr.ph.split.us.for.body3.lr.ph.split.us.split_crit_edge: ; preds = %for.body3.lr.ph.split
45 br label %for.body3.lr.ph.split.us.split
47 for.body3.lr.ph.split.us.split.us: ; preds = %for.body3.lr.ph.split.us
50 … ; preds = %for.cond2.loopexit.us.us, %for.body3.lr.ph.split.us.split.us
83 for.body3.lr.ph.split.us.split: ; preds = %for.body3.lr.ph.split.us.for.body3.lr.…
86 … ; preds = %for.cond2.loopexit.us, %for.body3.lr.ph.split.us.split
[all …]
/external/llvm/test/Transforms/SimplifyCFG/
D2008-09-08-MultiplePred.ll15 br i1 %1, label %bb6.preheader.split.us, label %bb6.preheader.split
17 bb6.preheader.split.us: ; preds = %bb6.preheader
18 br label %return.loopexit.split
20 bb6.preheader.split: ; preds = %bb6.preheader
23 bb6: ; preds = %bb17.bb6_crit_edge, %bb6.preheader.split
24 …%indvar35 = phi i32 [ 0, %bb6.preheader.split ], [ %indvar.next36, %bb17.bb6_crit_edge ] ; <i32> …
25 … phi i32 [ %p_129_addr.2, %bb17.bb6_crit_edge ], [ %p_129, %bb6.preheader.split ] ; <i32> [#uses=…
48 br label %return.loopexit.split
50 return.loopexit.split: ; preds = %return.loopexit, %bb6.preheader.split.us
53 return: ; preds = %return.loopexit.split, %entry.return_crit_edge
/external/opencv3/3rdparty/libwebp/utils/
Dbit_reader.h212 static WEBP_INLINE int VP8BitUpdate(VP8BitReader* const br, range_t split) { in VP8BitUpdate() argument
217 split |= (MASK); in VP8BitUpdate()
218 if (br->value_ > split) { in VP8BitUpdate()
219 br->range_ -= split + 1; in VP8BitUpdate()
220 br->value_ -= split + 1; in VP8BitUpdate()
223 br->range_ = split; in VP8BitUpdate()
230 if (value > split) { in VP8BitUpdate()
231 br->range_ -= split + 1; in VP8BitUpdate()
232 br->value_ -= (bit_t)(split + 1) << pos; in VP8BitUpdate()
235 br->range_ = split; in VP8BitUpdate()
[all …]
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/srt/
DSrtParser.java41 long startTime = parse(timeString.split("-->")[0]); in parse()
42 long endTime = parse(timeString.split("-->")[1]); in parse()
51 long hours = Long.parseLong(in.split(":")[0].trim()); in parse()
52 long minutes = Long.parseLong(in.split(":")[1].trim()); in parse()
53 long seconds = Long.parseLong(in.split(":")[2].split(",")[0].trim()); in parse()
54 long millies = Long.parseLong(in.split(":")[2].split(",")[1].trim()); in parse()
/external/vogar/src/vogar/
DOutcome.java95 return Arrays.asList(output.split("\n")); in getOutputLines()
102 return Arrays.asList(writer.toString().split("\\n")); in throwableToLines()
110 int split = split(outcomeName); in getSuiteName() local
111 return split == -1 ? "defaultpackage" : outcomeName.substring(0, split); in getSuiteName()
118 int split = split(outcomeName); in getTestName() local
119 return split == -1 ? outcomeName : outcomeName.substring(split + 1); in getTestName()
122 private static int split(String name) { in split() method in Outcome
/external/llvm/test/Transforms/BDCE/
Dorder.ll21 lpad65.loopexit.split-lp.loopexit.split-lp:
24 lpad65.loopexit.split-lp.loopexit.split-lp.loopexit:
27 br label %lpad65.loopexit.split-lp.loopexit.split-lp
31 to label %invoke.cont70 unwind label %lpad65.loopexit.split-lp.loopexit.split-lp.loopexit

12345678910>>...108