| /external/chromium_org/v8/test/mjsunit/ |
| D | string-split.js | 29 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/mesa3d/src/mesa/vbo/ |
| D | vbo_split_inplace.c | 63 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/chromium_org/third_party/mesa/src/src/mesa/vbo/ |
| D | vbo_split_inplace.c | 63 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/chromium_org/ui/views/controls/ |
| D | single_split_view_unittest.cc | 13 static void VerifySplitViewLayout(const views::SingleSplitView& split) { in VerifySplitViewLayout() argument 14 ASSERT_EQ(2, split.child_count()); in VerifySplitViewLayout() 16 const views::View* leading = split.child_at(0); in VerifySplitViewLayout() 17 const views::View* trailing = split.child_at(1); in VerifySplitViewLayout() 19 if (split.bounds().IsEmpty()) { in VerifySplitViewLayout() 29 if (split.orientation() == views::SingleSplitView::HORIZONTAL_SPLIT) { in VerifySplitViewLayout() 30 EXPECT_EQ(leading->bounds().height(), split.bounds().height()); in VerifySplitViewLayout() 31 EXPECT_EQ(trailing->bounds().height(), split.bounds().height()); in VerifySplitViewLayout() 33 split.bounds().width()); in VerifySplitViewLayout() 34 } else if (split.orientation() == views::SingleSplitView::VERTICAL_SPLIT) { in VerifySplitViewLayout() [all …]
|
| /external/chromium_org/v8/test/webkit/fast/js/ |
| D | string-split-conformance-expected.txt | 24 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/llvm/test/CodeGen/X86/ |
| D | 2007-10-30-LSRCrash.ll | 16 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/guava/guava-tests/test/com/google/common/base/ |
| D | SplitterTest.java | 45 COMMA_SPLITTER.split(null); in testSplitNullString() 53 Iterable<String> letters = COMMA_SPLITTER.split(simple); in testCharacterSimpleSplit() 59 Iterable<String> letters = Splitter.on('.').split(simple); in testCharacterSimpleSplitWithNoDelimiter() 65 Iterable<String> letters = COMMA_SPLITTER.split(doubled); in testCharacterSplitWithDoubleDelimiter() 71 Iterable<String> letters = COMMA_SPLITTER.split(doubled); in testCharacterSplitWithDoubleDelimiterAndSpace() 77 Iterable<String> letters = COMMA_SPLITTER.split(trailing); in testCharacterSplitWithTrailingDelimiter() 83 Iterable<String> letters = COMMA_SPLITTER.split(leading); in testCharacterSplitWithLeadingDelimiter() 88 Iterable<String> testCharacteringMotto = Splitter.on('-').split( in testCharacterSplitWithMulitpleLetters() 97 .split("Testing\nrocks\tDebugging sucks"); in testCharacterSplitWithMatcherDelimiter() 105 .omitEmptyStrings().split(doubled); in testCharacterSplitWithDoubleDelimiterOmitEmptyStrings() [all …]
|
| /external/llvm/test/Transforms/LoopUnswitch/ |
| D | 2011-11-18-TwoSwitches.ll | 9 ; 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 …]
|
| D | 2011-11-18-SimpleSwitch.ll | 9 ; 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 …]
|
| /external/chromium_org/third_party/npapi/npspy/ |
| D | analyze_streams.py | 24 split = line.split(', ') 26 self.mime_type = split[1].split('"')[1] 27 self.url = split[2].split(' ')[1].strip('()') 28 self.seekable = split[3] 29 self.type = split[4].strip(')') 33 self.address = split[2].split(' ')[0] 62 split = line.split(', ') 63 address = split[1] 64 start = int(split[2]) 65 size = int(split[3]) [all …]
|
| /external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
| D | splitView.css | 29 .split-view { 34 .split-view-contents { 41 .split-view-sidebar { 45 .split-view-main, .split-view-sidebar.maximized { 49 .split-view.hbox > .split-view-resizer { 57 .split-view.vbox > .split-view-resizer { 65 .split-view-resizer-border { 69 .split-view.vbox > .split-view-resizer > .split-view-resizer-border { 76 .split-view.hbox > .split-view-resizer > .split-view-resizer-border { 83 .split-view button.sidebar-show-hide-button { [all …]
|
| /external/jsilver/src/com/google/clearsilver/jsilver/data/ |
| D | DefaultHdfParser.java | 54 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/chromium_org/third_party/libwebp/utils/ |
| D | bit_reader_inl.h | 119 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/webp/src/utils/ |
| D | bit_reader_inl.h | 118 const range_t split = (range * prob) >> 8; in VP8GetBit() local 121 const int bit = ((int)(split - value) >> 31) & 1; in VP8GetBit() 122 if (value > split) { in VP8GetBit() 123 range -= split + 1; in VP8GetBit() 124 br->value_ -= (bit_t)(split + 1) << pos; in VP8GetBit() 126 range = split; in VP8GetBit() 130 if (value > split) { in VP8GetBit() 131 range -= split + 1; in VP8GetBit() 132 br->value_ -= (bit_t)(split + 1) << pos; in VP8GetBit() 135 range = split; in VP8GetBit() [all …]
|
| /external/chromium_org/tools/cygprofile/ |
| D | patch_orderfile.py | 14 uninstrumented_shlib + ' | egrep "( t )|( W )|( T )"').split('\n') 18 if (len(nmline.split()) == 4): 27 if (len(nmlines[nm_index].split()) == 4): 28 nm_int = int (nmlines[nm_index].split()[0], 16) 29 size = int (nmlines[nm_index].split()[1], 16) 30 fnames = [nmlines[nm_index].split()[3]] 33 nmlines[nm_index].split()[0], 16): 34 fnames.append(nmlines[nm_index].split()[3]) 68 functionName = line.replace('.text.', '').split('.clone.')[0].strip() 79 functionName = line.split()[3] [all …]
|
| /external/clang/utils/analyzer/ |
| D | SumTimerInfo.py | 39 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/ |
| D | 2008-09-08-MultiplePred.ll | 15 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/ |
| D | 2007-06-06-DeleteDanglesPtr.ll | 22 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 …]
|
| /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/srt/ |
| D | SrtParser.java | 41 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/oprofile/opjitconv/ |
| D | jitsymbol.c | 243 static void split_entry(struct jitentry * split, struct jitentry const * keep) in split_entry() argument 247 unsigned long long end_addr_split = split->vma + split->code_size; in split_entry() 248 unsigned long long start_addr_split = split->vma; in split_entry() 257 if (strlen(split->symbol_name) > SIZE_MAX - 3) { in split_entry() 261 s = xmalloc(strlen(split->symbol_name) + 3); in split_entry() 262 strcpy(s, split->symbol_name); in split_entry() 270 new_entry->life_start = split->life_start; in split_entry() 271 new_entry->life_end = split->life_end; in split_entry() 286 if (strlen(split->symbol_name) > SIZE_MAX - 3) { in split_entry() 290 s = xmalloc(strlen(split->symbol_name) + 3); in split_entry() [all …]
|
| /external/chromium_org/chrome/tools/convert_dict/ |
| D | dic_reader.cc | 72 std::vector<std::string> split; in PopulateWordSet() local 73 SplitDicLine(line, &split); in PopulateWordSet() 74 if (split.empty() || split.size() > 2) { in PopulateWordSet() 85 utf8word = split[0]; in PopulateWordSet() 86 } else if (!aff_reader->EncodingToUTF8(split[0], &utf8word)) { in PopulateWordSet() 94 if (split.size() == 2) { in PopulateWordSet() 99 size_t split1_tab_offset = split[1].find('\t'); in PopulateWordSet() 101 split[1] = split[1].substr(0, split1_tab_offset); in PopulateWordSet() 104 affix_index = atoi(split[1].c_str()); in PopulateWordSet() 106 affix_index = aff_reader->GetAFIndexForAFString(split[1]); in PopulateWordSet()
|
| /external/chromium_org/third_party/skia/experimental/Intersection/ |
| D | CubicConvexHull.cpp | 35 int split; in intersect() local 40 split = maxT1 - minT1 > tClipLimit; in intersect() 44 split = (maxT2 - minT2 > tClipLimit) << 1; in intersect() 46 return chop(minT1, maxT1, minT2, maxT2, split); in intersect() 100 int split; in intersect() local 104 split = (newMaxT1 - newMinT1 > (maxT1 - minT1) * tClipLimit) << 1; in intersect() 109 split); in intersect() 116 split = newMaxT2 - newMinT2 > (maxT2 - minT2) * tClipLimit; in intersect() 120 split); in intersect() 125 return chop(minT1, maxT1, minT2, maxT2, split); in intersect() [all …]
|
| /external/skia/experimental/Intersection/ |
| D | CubicConvexHull.cpp | 35 int split; in intersect() local 40 split = maxT1 - minT1 > tClipLimit; in intersect() 44 split = (maxT2 - minT2 > tClipLimit) << 1; in intersect() 46 return chop(minT1, maxT1, minT2, maxT2, split); in intersect() 100 int split; in intersect() local 104 split = (newMaxT1 - newMinT1 > (maxT1 - minT1) * tClipLimit) << 1; in intersect() 109 split); in intersect() 116 split = newMaxT2 - newMinT2 > (maxT2 - minT2) * tClipLimit; in intersect() 120 split); in intersect() 125 return chop(minT1, maxT1, minT2, maxT2, split); in intersect() [all …]
|
| /external/clang/www/ |
| D | make_cxx_dr_status | 25 col.split('>', 1)[1].split('</TD>')[0] 26 for col in dr.split('</TR>', 1)[0].split('<TD')[1:] 28 _, url, issue = issue_link.split('"', 2) 30 issue = int(issue.split('>', 1)[1].split('<', 1)[0]) 47 drs = sorted((parse(dr) for dr in file(index, 'r').read().split('<TR>')[2:]), 124 dup = status.split(' ', 1)[1] 132 dup = int(status.split(' ', 1)[1])
|
| /external/chromium_org/build/ |
| D | gypi_to_gn.py | 144 split = replace.split('=') 146 if len(split) == 1: 147 split.append('') 148 assert len(split) == 2, "Replacement must be of the form 'key=value'." 149 data = ReplaceSubstrings(data, split[0], split[1])
|