/plugin/abc2/abc-libraries/abc2svg/ |
H A D | combine-1.js | 6 function may_combine(s){var nhd2,s2=s.ts_next 7 if(!s2||(s2.type!=C.NOTE&&s2.type!=C.REST)) 9 if(s2.v==s.v||s2.st!=s.st||s2.time!=s.time||s2.dur!=s.dur) 11 if(s.combine<=0&&s2.type!=s.type) 13 if(s.a_gch&&s2 25 combine_notes(s,s2) global() argument [all...] |
H A D | clip-1.js | 28 function go_global_time(s,sel){var s2,bar_time,seq 29 if(sel.m<=1){if(sel.m==1){for(s2=s;s2;s2=s2.ts_next){if(s2.type==C.BAR&&s2.time!=0) 31 if(s2.time<voice_tb[this.get_cur_sy().top_voice].meter.wmeasure) 32 s=s2}}else{for(;s;s=s.ts_next){if(s.type==C.BAR&&s.bar_num>=sel.m) 48 var s,s2,s [all...] |
H A D | equalbars-1.js | 8 of(cmd,param)},set_sym_glue:function(of,width){var C=abc2svg.C,s,s2,w,i,n,x,g,t,t0,bars=[],tsfirst=this.get_tsfirst();of(width) 11 for(s2=tsfirst;s2;s2=s2.ts_next){switch(s2.type){default:continue 14 if(!s2) 16 t0=t=s2.time 17 for(s=s2;s.ts_next;s=s.ts_next){if(s.type==C.BAR&&s.seqst){bars.push([s,s.time-t]);t=s.time}} 28 x=s2 [all...] |
H A D | gamelan-1.js | 10 function slice(s){var m,n,s2,s3,d,d_orig 28 while(--n>=0){s2={type:C.REST,v:s.v,p_v:s.p_v,st:s.st,dur:d,dur_orig:d_orig,stem:1,multi:0,nhd:0,notes:[{pit:s.notes[0].pit,jn:8}],xmx:0,beam_on:true,noplay:true,time:s.time+s.dur,prev:s,next:s.next} class in abc2svg.gamelan.output_music.slice 29 s.next=s2 30 if(s2.next) 31 s2.next.prev=s2 32 if(!s.ts_next){s.ts_next=s2 35 s2.ts_prev=s 36 s2.seqst=true}else{for(s3=s.ts_next;s3;s3=s3.ts_next){if(s3.time<s2 97 draw_dur(s1,y,s2,n,nl) global() argument [all...] |
H A D | jianpu-1.js | 12 abc2svg.jianpu.cde2fcg[sk.k_mode]])},s2=voice_tb[0].sym 15 s2.prev=s 16 s.next=s2 21 function slice(s){var n,s2,s3 28 while(--n>=0){s2={type:C.REST,v:s.v,p_v:s.p_v,st:s.st,dur:C.BLEN/4,dur_orig:C.BLEN/4,stem:0,multi:0,nhd:0,notes:[{pit:s.notes[0].pit,jn:8}],xmx:0,noplay:true,time:s.time+C.BLEN/4,prev:s,next:s.next} class in abc2svg.jianpu.output_music.slice 29 s.next=s2 30 if(s2.next) 31 s2.next.prev=s2 32 if(!s.ts_next){s.ts_next=s2 96 draw_dur(s1,y,s2,n,nl) global() argument [all...] |
H A D | abc2svg-1.js | 144 var s,dd,dd2,up,x,dx,x2,i,s2=de.s,de2=de.start,de2_prev,de_next;s=de2.s;x=s.x+3;i=de2.ix 146 de2_prev=a_de[i-1];de.st=s2.st;de.lden=false;de.has_val=true;up=up_p(s2,s2.pos.dyn) 154 if(dx<20){x=de.x-20-3;dx=20}}else{x2=s2.x;de_next=a_de[de.ix+1] 209 var up,y,w,tmp,dd=de.dd,de2=de.prev,s2=de.s,st=s2.st,s=de.start.s,x=s.x 217 default:up=s2.multi>=0 220 if(w<20){x=de.x-20-3;w=20}}else{w=s2.x-x-6 221 if(s2 1122 for(;i>old_sf;i--){xygl(x,staffb+shift,"acc3");shift+=p_seq[-i];x+=5.5}}}}else if(s.k_a_acc.length){var acc,last_acc=s.k_a_acc[0].acc,last_shift=100,s2={st:st,nhd:0,notes:[{}]} global() class in Abc.draw_keysig 1334 slur_multi(s1,s2) global() argument 1821 draw_ties_g(s1,s2,job) global() argument 1870 set_yab(s1,s2) global() argument 4979 same_head(s1,s2) global() argument 5034 unison_acc(s1,s2,i1,i2) global() argument 6062 if(curvoice.cst!=curvoice.st){s2={type:C.SPACE,fname:parse.fname,istart:parse.bol+line.index,dur:0,multi:0,invis:true,width:1} global() class in new_bar 6135 if(s.rbstart&&!curvoice.norepbra&&curvoice.st>0&&!(par_sy.staves[curvoice.st-1].flags&STOP_BAR)){s2={type:C.BAR,fname:s.fname,istart:s.istart,iend:s.iend,bar_type:"[",multi:0,invis global() class in new_bar 8618 if(user.anno_start||user.anno_stop){s2={st:s.st,istart:ly.istart,iend:ly.iend,x:x0,y:y,ymn:y,ymx:y+gene.curfont.size,wl:0,wr:w} global() class in draw_lyric_line [all...] |
H A D | sth-1.js | 5 abc2svg.sth={recal_beam:function(bm,s){var staff_tb=this.get_staff_tb(),y=staff_tb[s.st].y,s2=bm.s2,y2=staff_tb[s2.st].y 8 if(s2.sth) 9 s2.ys=s2.sth;bm.a=(s.ys+y-s2.ys-y2)/(s.xs-s2.xs);bm.b=s.ys-s.xs*bm.a+y 15 if(s==s2) 35 if(done&&bm.s2 [all...] |
/plugin/diagramsnet/lib/js/diagramly/sidebar/ |
H A D | Sidebar-Basic.js | 8 …var s2 = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;' + mxConstants.STYLE_VERTICAL_ALIGN… 16 …this.createVertexTemplateEntry(s2 + 'rect;fillColor2=none;strokeWidth=1;size=20;indent=5;', w * 1.… 35 …this.createVertexTemplateEntry(s2 + 'cone', w, h, '', 'Cone', null, null, this.getTagsForStencil(g… 39 …this.createVertexTemplateEntry(s2 + 'drop', w * 0.7, h, '', 'Drop', null, null, this.getTagsForSte… 40 …this.createVertexTemplateEntry(s2 + 'flash', w * 0.6, h, '', 'Flash', null, null, this.getTagsForS… 42 …this.createVertexTemplateEntry(s2 + 'heart', w, h, '', 'Heart', null, null, this.getTagsForStencil… 45 …this.createVertexTemplateEntry(s2 + 'moon', w * 0.75, h, '', 'Moon', null, null, this.getTagsForSt… 68 …this.createVertexTemplateEntry(s2 + 'smiley', w, h, '', 'Smiley', null, null, this.getTagsForStenc… 69 …this.createVertexTemplateEntry(s2 + 'star', w, h * 0.95, '', 'Star', null, null, this.getTagsForSt… 70 …this.createVertexTemplateEntry(s2 + 'sun', w, h, '', 'Sun', null, null, this.getTagsForStencil(gn,… [all …]
|
H A D | Sidebar-Mockup.js | 88 …var bg = new mxCell('', new mxGeometry(0, 0, 120, 200), s2 + 'rrect;rSize=10;strokeColor=#666666;'… 149 …var bg = new mxCell('', new mxGeometry(0, 0, 100, 220), s2 + 'containers.rrect;rSize=0;strokeColor… 321 …var bg = new mxCell('', new mxGeometry(0, 0, 498, 30), s2 + 'forms.rrect;rSize=0;strokeColor=#9999… 510 …var cell26 = new mxCell('1', new mxGeometry(0, 40, 20, 20), s2 + 'graphics.anchor;fontColor=#66666… 519 …var cell29 = new mxCell('40h', new mxGeometry(190, 40, 50, 20), s2 + 'graphics.anchor;fontColor=#6… 522 …var cell30 = new mxCell('2', new mxGeometry(0, 60, 20, 20), s2 + 'graphics.anchor;fontColor=#66666… 534 …var cell35 = new mxCell('3', new mxGeometry(0, 80, 20, 20), s2 + 'graphics.anchor;fontColor=#66666… 546 …var cell39 = new mxCell('4', new mxGeometry(0, 100, 20, 20), s2 + 'graphics.anchor;fontColor=#6666… 675 …var bg = new mxCell('', new mxGeometry(0, 0, 400, 75), s2 + 'misc.rrect;rSize=0;strokeColor=#66666… 803 …var bg = new mxCell('', new mxGeometry(0, 0, 500, 25), s2 + 'text.rrect;rSize=0;strokeColor=#66666… [all …]
|
H A D | Sidebar-Gmdl.js | 48 var s2 = "dashed=0;html=1;shape=mxgraph.gmdl."; 475 var s2 = "dashed=0;shape=mxgraph.gmdl."; 558 var s2 = "dashed=0;shape=mxgraph.gmdl."; 595 var s2 = "dashed=0;shape=mxgraph.gmdl."; 633 var s2 = "dashed=0;shape=mxgraph.gmdl."; 663 var s2 = "dashed=0;shape=mxgraph.gmdl."; 770 var s2 = "dashed=0;shape=mxgraph.gmdl."; 878 var s2 = "dashed=0;shape=mxgraph.gmdl."; 916 var s2 = "dashed=0;shape=mxgraph.gmdl."; 1284 var s2 = "dashed=0;shape=mxgraph.gmdl."; [all …]
|
H A D | Sidebar-PID.js | 422 this.createVertexTemplateEntry(s2 + 'bin;', 432 this.createVertexTemplateEntry(s2 + 'chiller;', 450 this.createVertexTemplateEntry(s2 + 'cooler;', 470 this.createVertexTemplateEntry(s2 + 'crane;', 476 this.createVertexTemplateEntry(s2 + 'dryer;', 482 this.createVertexTemplateEntry(s2 + 'fan;', 484 this.createVertexTemplateEntry(s2 + 'fan_2;', 486 this.createVertexTemplateEntry(s2 + 'filter;', 510 this.createVertexTemplateEntry(s2 + 'lift;', 514 this.createVertexTemplateEntry(s2 + 'mixer;', [all …]
|
H A D | Sidebar-EIP.js | 109 this.createVertexTemplateEntry(s2 + 'aggregator;', 115 this.createVertexTemplateEntry(s2 + 'dynamic_router;', 119 this.createVertexTemplateEntry(s2 + 'message_filter;', 121 this.createVertexTemplateEntry(s2 + 'process_manager;', 123 this.createVertexTemplateEntry(s2 + 'recipient_list;', 125 this.createVertexTemplateEntry(s2 + 'resequencer;', 127 this.createVertexTemplateEntry(s2 + 'routing_slip;', 129 this.createVertexTemplateEntry(s2 + 'splitter;', 205 var s2 = 'fillColor=#c0f5a9;' + s; 219 this.createVertexTemplateEntry(s2 + 'messaging_gateway;', [all …]
|
H A D | Sidebar-LeanMapping.js | 9 …var s2 = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;html=1;' + mxConstants.STYLE_VERTICA… 19 …this.createVertexTemplateEntry(s2 + 'boat_shipment;align=center;', w, h, '', 'Boat Shipment', null… 44 …this.createVertexTemplateEntry(s2 + 'inventory_box;', w, h * 0.9, '', 'Inventory Box', null, null,… 45 …this.createVertexTemplateEntry(s2 + 'push_arrow;', w, h * 0.3,'', 'Push Arrow', null, null, this.g… 72 var bg = new mxCell('', new mxGeometry(0, 0, 90, 40), s2 + 'kaizen_lightening_burst;'); 81 …this.createVertexTemplateEntry(s2 + 'kanban_post;', 50, 100, '', 'Kanban Post', null, null, this.g… 82 …this.createVertexTemplateEntry(s2 + 'load_leveling;', 100, 30, '', 'Load Leveling', null, null, th… 85 …this.createVertexTemplateEntry(s2 + 'operator;', 100, 84, '', 'Operator', null, null, this.getTags… 100 …this.createVertexTemplateEntry(s2 + 'airplane_7;', 100, 45, '', 'Air Freight', null, null, this.ge… 101 …this.createVertexTemplateEntry(s2 + 'warehouse;', w, h * 0.6, '', 'Warehouse', null, null, this.ge… [all …]
|
H A D | Sidebar-BPMN.js | 31 var s2 = 'swimlane;html=1;startSize=20;fontStyle=0;collapsible=0;'; 134 var s2 = pts + 'shape=mxgraph.bpmn.task;whiteSpace=wrap;rectStyle=rounded;size=10;taskMarker='; 156 …this.createVertexTemplateEntry(s2 + 'service;', 120, 80, '', 'Service', null, null, dt + 'service'… 157 this.createVertexTemplateEntry(s2 + 'send;', 120, 80, '', 'Send', null, null, dt + 'send'), 158 …this.createVertexTemplateEntry(s2 + 'receive;', 120, 80, '', 'Receive', null, null, dt + 'receive'… 159 this.createVertexTemplateEntry(s2 + 'user;', 120, 80, '', 'User', null, null, dt + 'user'), 160 this.createVertexTemplateEntry(s2 + 'manual;', 120, 80, '', 'Manual', null, null, dt + 'manual'), 162 this.createVertexTemplateEntry(s2 + 'script;', 120, 80, '', 'Script', null, null, dt + 'script'), 970 …this.createVertexTemplateEntry(s2 + 'none;symbol=none;', w, h, '', 'Exclusive', null, null, dt + '… 978 …this.createVertexTemplateEntry(s2 + 'end;symbol=general;', w, h, '', 'End', null, null, dt + 'none… [all …]
|
H A D | Sidebar-Veeam2.js | 118 this.createVertexTemplateEntry(s2 + 'azure;', 120 this.createVertexTemplateEntry(s2 + 'aws;', 223 this.createVertexTemplateEntry(s2 + 'cdp;', 225 this.createVertexTemplateEntry(s2 + 'datalabs;', 482 this.createVertexTemplateEntry(s2 + 'agent;', 542 this.createVertexTemplateEntry(s2 + 'linux;', 643 this.createVertexTemplateEntry(s2 + 'failed;', 647 this.createVertexTemplateEntry(s2 + 'paused;', 649 this.createVertexTemplateEntry(s2 + 'zipped;', 653 this.createVertexTemplateEntry(s2 + 'locked;', [all …]
|
H A D | Sidebar-Ios.js | 17 var s2 = mxConstants.STYLE_STROKEWIDTH + '=1;html=1;shadow=0;dashed=0;shape=mxgraph.ios.'; 93 …this.createVertexTemplateEntry(s2 + 'iButton;strokeColor=#444444;fontColor=#ffffff;buttonText=;fon… 95 …this.createVertexTemplateEntry(s2 + 'iButtonBack;strokeColor=#444444;fontColor=#ffffff;buttonText=… 97 …this.createVertexTemplateEntry(s2 + 'iButtonFw;strokeColor=#444444;fontColor=#ffffff;buttonText=;f… 101 …this.createVertexTemplateEntry(s2 + 'iTextInput;strokeColor=#444444;buttonText=;fontSize=8;whiteSp… 108 …this.createVertexTemplateEntry(s2 + 'iComboBox;spacingTop=2;spacingLeft=2;align=left;strokeColor=#… 110 …this.createVertexTemplateEntry(s2 + 'iOnOffButton;mainText=;strokeColor=#444444;fontSize=9;fontCol… 112 …this.createVertexTemplateEntry(s2 + 'iTextInput;strokeColor=#444444;align=left;buttonText=;fontSiz… 119 …this.createVertexTemplateEntry(s2 + 'iLockButton;fontColor=#cccccc;fontSize=13;mainText=;spacingLe… 134 …this.createVertexTemplateEntry(s2 + 'iOption;barPos=80;pointerPos=bottom;buttonText=Option;fontSiz… [all …]
|
H A D | Sidebar-Cisco19.js | 16 this.addCisco19LANSwitchingPalette(s, s2, s3); 18 this.addCisco19RoutingWANPalette(s, s2, s3); 20 this.addCisco19NetworkManagementPalette(s, s2, s3); 22 this.addCisco19DataCenterPalette(s, s2, s3); 24 this.addCisco19WirelessLANPalette(s, s2, s3); 26 this.addCisco19CollaborationPalette(s, s2, s3); 32 this.addCisco19DNASDAccessPalette(s, s2, s3); 34 this.addCisco19SDWANViptelaPalette(s, s2, s3); 36 this.addCisco19StealthwatchPalette(s, s2, s3); 38 this.addCisco19SafePalette(s, s2, s3); [all …]
|
H A D | Sidebar-Android.js | 26 this.createVertexTemplateEntry(s2 + 'phone2;strokeColor=#c0c0c0;', 28 this.createVertexTemplateEntry(s2 + 'phone2;strokeColor=#c0c0c0;direction=south;', 30 this.createVertexTemplateEntry(s2 + 'tab2;strokeColor=#c0c0c0;', 32 this.createVertexTemplateEntry(s2 + 'tab2;strokeColor=#c0c0c0;direction=north;', 260 this.createVertexTemplateEntry(s2 + 'indeterminateSpinner;', 262 this.createVertexTemplateEntry(s2 + 'keyboard;sketch=0;', 512 this.createVertexTemplateEntry(s2 + 'switch_on;fillColor=#666666;sketch=0;', 514 this.createVertexTemplateEntry(s2 + 'switch_on;fillColor=#E6E6E6;sketch=0;', 531 this.createVertexTemplateEntry(s2 + 'text_insertion_point;', 535 this.createVertexTemplateEntry(s2 + 'time_picker;sketch=0;', [all …]
|
H A D | Sidebar-Office.js | 367 this.createVertexTemplateEntry(s2 + 'folder;fillColor=#2072B8;', 369 this.createVertexTemplateEntry(s2 + 'folder;fillColor=#DA4026;', 371 this.createVertexTemplateEntry(s2 + 'folder;fillColor=#7FBA42;', 397 this.createVertexTemplateEntry(s2 + 'home;fillColor=#2072B8;', 399 this.createVertexTemplateEntry(s2 + 'home;fillColor=#DA4026;', 401 this.createVertexTemplateEntry(s2 + 'home;fillColor=#7FBA42;', 403 this.createVertexTemplateEntry(s2 + 'home;fillColor=#CCCBCB;', 1351 this.createVertexTemplateEntry(s2 + 'user;fillColor=#2072B8;', 1353 this.createVertexTemplateEntry(s2 + 'user;fillColor=#DA4026;', 1355 this.createVertexTemplateEntry(s2 + 'user;fillColor=#7FBA42;', [all …]
|
H A D | Sidebar-Flowchart.js | 8 …var s2 = mxConstants.STYLE_VERTICAL_LABEL_POSITION + '=bottom;' + mxConstants.STYLE_VERTICAL_ALIGN… 19 …this.createVertexTemplateEntry(s2 + 'collate;', w, h, '', 'Collate', null, null, this.getTagsForSt… 35 …this.createVertexTemplateEntry(s2 + 'on-page_reference;', w * 0.6, h * 0.6, '', 'On-Page Reference… 36 …this.createVertexTemplateEntry(s2 + 'summing_function;', w * 0.7, h * 0.7, '', 'Or', null, null, t… 38 …this.createVertexTemplateEntry(s2 + 'parallel_mode;pointerEvents=1', w * 0.95, h * 0.4, '', 'Paral… 43 …this.createVertexTemplateEntry(s2 + 'sort;', w, h, '', 'Sort', null, null, this.getTagsForStencil(… 47 …this.createVertexTemplateEntry(s2 + 'or;', w * 0.7, h * 0.7, '', 'Summing Junction', null, null, t…
|
H A D | Sidebar-Veeam.js | 555 this.createVertexTemplateEntry(s2 + 'disaster_recovery;', 573 this.createVertexTemplateEntry(s2 + 'on_demand_sandbox;', 577 this.createVertexTemplateEntry(s2 + 'quick_migration;', 583 this.createVertexTemplateEntry(s2 + 'sure_replica;', 589 this.createVertexTemplateEntry(s2 + 'scheduled_backups;', 591 this.createVertexTemplateEntry(s2 + 'restful_apis;', 601 this.createVertexTemplateEntry(s2 + 'virtual_lab;', 603 this.createVertexTemplateEntry(s2 + 'sure_backup;', 607 this.createVertexTemplateEntry(s2 + 'veeamzip;', 609 this.createVertexTemplateEntry(s2 + 'veeam_explorer;', [all …]
|
/plugin/elasticsearch/vendor/ezimuel/guzzlestreams/tests/ |
H A D | UtilsTest.php | 39 $s2 = Stream::factory(''); 40 Utils::copyToStream($s1, $s2); 41 $this->assertEquals('foobaz', (string) $s2); 42 $s2 = Stream::factory(''); 44 Utils::copyToStream($s1, $s2, 3); 45 $this->assertEquals('foo', (string) $s2); 46 Utils::copyToStream($s1, $s2, 3); 47 $this->assertEquals('foobaz', (string) $s2); 53 $s2 = Stream::factory(''); 54 $s2 [all...] |
/plugin/strata/ |
H A D | script.js | 61 var natcmp = function(s1, s2) { argument 64 s2 = s2.replace( /<.*?>/g, "" ).replace('>','<').replace('<','>').replace('&','&'); 69 if (s1 == s2) { return 0; } 71 if (s2 == '') { return 1; } 73 var n2 = n.exec(s2); 77 s2 = n2[2]; 80 n2 = s2.charCodeAt(0); 83 s2 = s2 88 natcmp_rtl(s1, s2) global() argument [all...] |
/plugin/diagramsnet/lib/js/diagramly/ |
H A D | DistanceGuides.js | 88 verticalCells.sort(function(s1, s2) argument 90 return s1.y - s2.y; 117 var s2 = verticalCells[i + 1]; 168 horizontalCells.sort(function(s1, s2) argument 170 return s1.x - s2.x; 197 var s2 = horizontalCells[i + 1]; 321 newX = s2.x - s1.width - fixedDx; 325 else if (newState == s2) 391 var s2 = verticalCells[i + 1]; 395 newY = s2.y - s1.height - fixedDy; [all …]
|
/plugin/autolink3/ |
H A D | sys.php | 62 function compare_len($s1, $s2) argument 64 return (strlen ($s1) < strlen($s2)); 74 function compare_alpha($s1, $s2) argument 76 return (strcmp($s1, $s2) < 0); 79 function compare_unalpha($s1, $s2) argument 81 return (strcmp($s1, $s2) > 0);
|