Home
last modified time | relevance | path

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

12345678910>>...113

/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/jmonkeyengine/engine/src/core-plugins/com/jme3/material/plugins/
DJ3MLoader.java88 String[] split = statement.split(":"); in readShaderStatement() local
89 if (split.length != 2){ in readShaderStatement()
92 String[] typeAndLang = split[0].split(whitespacePattern); in readShaderStatement()
98 vertName = split[1].trim(); in readShaderStatement()
100 fragName = split[1].trim(); in readShaderStatement()
106 String[] split = statement.split(whitespacePattern); in readLightMode() local
107 if (split.length != 2){ in readLightMode()
110 LightMode lm = LightMode.valueOf(split[1]); in readLightMode()
116 String[] split = statement.split(whitespacePattern); in readShadowMode() local
117 if (split.length != 2){ in readShadowMode()
[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/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/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/libgdx/gdx/test/com/badlogic/gdx/math/
DIntersectorTest.java46 SplitTriangle split = new SplitTriangle(3); in testSplitTriangle() local
50 Intersector.splitTriangle(fTriangle, plane, split); in testSplitTriangle()
51 assertTrue(split.numBack == 1); in testSplitTriangle()
52 assertTrue(split.numFront == 0); in testSplitTriangle()
53 assertTrue(split.total == 1); in testSplitTriangle()
54 assertTrue(triangleEquals(split.back, 0, 3, fTriangle)); in testSplitTriangle()
57 assertFalse("Test is broken", triangleEquals(split.back, 0, 3, fTriangle)); in testSplitTriangle()
62 Intersector.splitTriangle(fTriangle, plane, split); in testSplitTriangle()
63 assertTrue(split.numBack == 0); in testSplitTriangle()
64 assertTrue(split.numFront == 1); in testSplitTriangle()
[all …]
/external/jmonkeyengine/engine/src/ogre/com/jme3/scene/plugins/ogre/
DMaterialLoader.java76 String[] split = content.split("\\s"); in readColor() local
79 color.r = Float.parseFloat(split[0]); in readColor()
80 color.g = Float.parseFloat(split[1]); in readColor()
81 color.b = Float.parseFloat(split[2]); in readColor()
82 if (split.length >= 4){ in readColor()
83 color.a = Float.parseFloat(split[3]); in readColor()
158 String[] split = statement.getLine().split(" ", 2); in readTextureUnitStatement() local
159 String keyword = split[0]; in readTextureUnitStatement()
161 readTextureImage(split[1]); in readTextureUnitStatement()
163 String mode = split[1]; in readTextureUnitStatement()
[all …]
/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/libgdx/tests/gdx-tests-android/assets/data/
Duiskin.atlas18 split: 3, 3, 3, 3
33 split: 1, 1, 1, 1
48 split: 1, 1, 1, 1
56 split: 1, 1, 1, 1
64 split: 0, 0, 0, 0
72 split: 1, 1, 1, 1
80 split: 1, 1, 1, 1
88 split: 5, 5, 5, 4
97 split: 5, 5, 5, 4
106 split: 5, 5, 5, 4
[all …]
/external/libgdx/extensions/gdx-tools/assets/
Duiskin.atlas17 split: 4, 3, 20, 3
25 split: 4, 14, 4, 4
33 split: 5, 5, 5, 4
41 split: 2, 2, 2, 2
56 split: 5, 5, 5, 4
64 split: 5, 5, 5, 4
80 split: 3, 3, 3, 3
109 split: 2, 2, 2, 2
117 split: 1, 1, 1, 1
125 split: 1, 1, 1, 1
[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/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/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/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/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/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 …]

12345678910>>...113