Home
last modified time | relevance | path

Searched refs:s2 (Results 1 – 25 of 62) sorted by relevance

123

/plugin/abc2/abc-libraries/abc2svg/
H A Dcombine-1.js7 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)
20 if(s2.beam_st!=s.beam_st||s2.beam_end!=s.beam_end)
37 while(1){nhd=s.nhd;s2=s.ts_next;nhd2=s2.nhd
38 if(s.type!=s2.type){if(s2.type!=C.REST){s2=s;s=s2.ts_next}}else if(s.type==C.REST){if(s.invis&&!s2.…
54 delsym.push({s:s2,r:s});this.unlksym(s2)
75 s2=s
80 do{s2=s2.next}while(s2.type!=C.NOTE&&s2.type!=C.REST)}
81 if(!s2)
83 s2=s
[all …]
H A Dclip-1.js28 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)
48 var s,s2,sy,p_voice,v
54 for(s2=this.get_tsfirst();s2!=s;s2=s2.ts_next){switch(s2.type){case C.CLEF:s2.p_v.clef=s2
56 case C.KEY:s2.p_v.key=this.clone(s2.as.u.key)
58 case C.METER:s2.p_v.meter=this.clone(s2.as.u.meter)
60 case C.STAVES:sy=s2.sy;this.set_cur_sy(sy)
63 for(s2=s;s2;s2=s2.ts_next){if(s2.v==v){delete s2.prev
65 p_voice.sym=s2}
75 for(s2=s.ts_prev;s2;s2=s2.ts_prev){if(s2.v==v){delete s2.next
[all …]
H A Dequalbars-1.js11 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.type==C.GRACE?s2.extra.x:s2.x;if(this.equalbars_d<x)
33 for(;s2!=s;s2=s2.ts_next){if(s2.type==C.GRACE){for(g=s2.extra;g;g=g.next)
34 g.x=d+(g.x-x)*f}else if(s2.x){s2.x=d+(s2.x-x)*f}}
35 d+=w*bars[i][1];x=s2.x
36 while(1){s2.x=d;s2=s2.ts_next
37 if(!s2||s2.seqst)
[all …]
H A Dgamelan-1.js29 s.next=s2
30 if(s2.next)
31 s2.next.prev=s2
38 if(s3.time>s2.time){s2.seqst=true
43 s2.ts_next.ts_prev=s2
46 s=s2}}
107 if(s==s2)
135 s2=s
136 while(1){if(s2.nflags&&s2.nflags>nl)
140 if(!s2.next||!s2.next.nflags||s2.next.nflags<=0)
[all …]
H A Djianpu-1.js15 s2.prev=s
16 s.next=s2
29 s.next=s2
31 s2.next.prev=s2
38 if(s3.time>s2.time){s2.seqst=true
43 s2.ts_next.ts_prev=s2
46 s=s2}}
137 s2=s
138 while(1){if(s2.nflags&&s2.nflags>nl)
142 if(!s2.next||!s2.next.nflags||s2.next.nflags<=0)
[all …]
H A Dabc2svg-1.js1153 s2=s2.ts_prev;s2=s2.ts_prev;x=(x+s2.x+s2.wr)/2
2149 for(s2=s.ts_next;s2;s2=s2.ts_next){if(s2.type!=C.STBRK)
3481 for(s2=s;s2;s2=s2.ts_next){if(s2.time!=t||s2.type!=C.NOTE||s2.st!=st)
3946 for(s2=s.prev;s2!=s3;s2=s2.prev){if(s2.type==C.NOTE){s2.beam_end=true
4072 for(s2=s;s2;s2=s2.ts_next){switch(s2.type){case C.KEY:if(!cfmt.keywarn||(!s2.k_a_acc&&!s2.k_sf&&!s2
4860 for(s2=s.prev;s2;s2=s2.prev){if(s2.type!=C.REST)
6032 s2.next.prev=s2.prev;s2=s2.next}}
6035 for(;s2;s2=s2.next){s2.time=time
6458 curvoice.time=s2.time+s2.dur;for(s2=s2.next;s2;s2=s2.next)
7686 for(s2=s.next;s2;s2=s2.next){if(s2.bar_type&&s2.bar_type[0]==':')
[all …]
H A Dsth-1.js5 …am: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&&(s1.sth||bm.s2.sth))
H A Dgrid-1.js173 …music){this.set_tsfirst(s)}else if(grid.n<0){for(var s2=tsfirst;s2.ts_next;s2=s2.ts_next);s.time=s…
178 s.ts_prev=s2.ts_prev
180 s.ts_next=s2
181 s2.ts_prev=s
182 if(s2.seqst){s.seqst=true
183 s2.seqst=false}}else{s.next=p_v.sym
/plugin/elasticsearch/vendor/guzzlehttp/streams/tests/
H A DUtilsTest.php36 $s2 = Stream::factory('');
37 Utils::copyToStream($s1, $s2);
39 $s2 = Stream::factory('');
41 Utils::copyToStream($s1, $s2, 3);
43 Utils::copyToStream($s1, $s2, 3);
50 $s2 = Stream::factory('');
51 $s2 = FnStream::decorate($s2, ['write' => function () { return 0; }]);
52 Utils::copyToStream($s1, $s2);
59 $s2 = Stream::factory('');
60 $s2 = FnStream::decorate($s2, ['write' => function () { return 0; }]);
[all …]
H A DNoSeekStreamTest.php36 $s2 = Stream::factory('bar');
38 $wrapped->attach($s2->detach());
/plugin/strata/
H A Dscript.js61 var natcmp = function(s1, s2) { argument
64 s2 = s2.replace( /<.*?>/g, "" ).replace('&gt;','<').replace('&lt;','>').replace('&amp;','&');
73 var n2 = n.exec(s2);
77 s2 = n2[2];
80 n2 = s2.charCodeAt(0);
83 s2 = s2.substr(1);
91 s2 = s2.replace( /<.*?>/g, "" ).replace('&gt;','<').replace('&lt;','>').replace('&amp;','&');
100 var n2 = n.exec(s2);
104 s2 = n2[1];
107 n2 = s2.charCodeAt(s2.length - 1);
[all …]
/plugin/autolink3/
H A Dsys.php62 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);
/plugin/openid/Auth/OpenID/
H A DCryptUtil.php108 static function constEq($s1, $s2) argument
110 if (strlen($s1) != strlen($s2)) {
117 $result &= ($s1[$i] == $s2[$i]);
/plugin/fedauth/Auth/OpenID/
H A DCryptUtil.php108 static function constEq($s1, $s2) argument
110 if (strlen($s1) != strlen($s2)) {
117 $result &= ($s1[$i] == $s2[$i]);
/plugin/since/
H A Dsince.php81 $s2 = ($s == '-') ? '' : '&nbsp;ago';
83 .$s1.$interval->format('%yy %mm %dd').$s2
/plugin/bugzillaxmlrpc/
H A Dsyntax.php214 $s2 = '</s>';
217 $s2 = '';
228 ') '.$s2.
/plugin/scrape/HTMLPurifier/Filter/
H A DExtractStyleBlocks.php95 foreach ($selectors as $s2) {
96 $new_selector[] = "$s1 $s2";
/plugin/virtualkeyboard/vk/
H A Dvirtualkeyboard.js381 ,s2 = document.getElementById(idPrefix+a1+'_right')
384 …s1.className = s2.className = s1.className.replace (new RegExp("\\s*\\b"+cssClasses['buttonDown']+…
387 s1.className = s2.className = s1.className+" "+cssClasses['buttonDown'];
811 s2 = document.getElementById(idPrefix+'shift_right');
812 s1.className = s2.className = cn;
841 s2 = document.getElementById(idPrefix+'shift_right');
842 s1.className = s2.className = el.className;
/plugin/qc/svg/
H A Dgood.svg1 …5 1.5m-5 7.73c-1.75 0-3.29-.73-4.19-1.81L9.23 14c.45.72 1.52 1.23 2.77 1.23s2.32-.51 2.77-1.23l1.4…
/plugin/instructions/
H A Dsyntax.php96 $s2 = strpos($match, ']]');
97 $title = substr($match, $s1, $s2-$s1);
/plugin/mikioplugin/icons/bootstrap-icons/svg/
H A Dtrash2-fill.svg3 …534c-.477.16-.795.327-.975.466.18.14.498.307.975.466C5.032 3.786 6.42 4 8 4s2.967-.215 3.926-.534c…
H A Dmusic-note-beamed.svg2 …<path d="M6 13c0 1.105-1.12 2-2.5 2S1 14.105 1 13c0-1.104 1.12-2 2.5-2s2.5.896 2.5 2zm9-2c0 1.105-…
H A Ddroplet-half.svg4 <path d="M14 10a6 6 0 0 1-12 0s2.5 2.5 6.5.5S14 10 14 10z"/>
H A Dinbox-fill.svg3 …<path fill-rule="evenodd" d="M.125 8.67A.5.5 0 0 1 .5 8.5h5A.5.5 0 0 1 6 9c0 .828.625 2 2 2s2-1.17…
H A Dserver.svg2 <path d="M13 2c0-1.105-2.239-2-5-2S3 .895 3 2s2.239 2 5 2 5-.895 5-2z"/>

123