Home
last modified time | relevance | path

Searched refs:arr (Results 1 – 25 of 254) sorted by relevance

1234567891011

/plugin/sketchcanvas/script/
H A Ddraw.js8 ctx.moveTo(arr[0].x, arr[0].y);
9 ctx.lineTo(arr[1].x, arr[1].y);
11 ctx.moveTo(arr[1].x, arr[1].y);
25 ctx.lineTo(arr[1].x, arr[1].y);
33 ctx.moveTo(arr[0].x, arr[0].y);
34 ctx.lineTo(arr[1].x, arr[1].y);
36 ctx.moveTo(arr[1].x, arr[1].y);
43 ctx.lineTo(arr[0].x, arr[0].y);
51 ctx.lineTo(arr[1].x, arr[1].y);
106 ctx.lineTo(arr[0].x, arr[0].y+2);
[all …]
H A DSketchCanvas.js2020 ctx.moveTo(arr[0].x, arr[0].y);
2085 ctx.quadraticCurveTo(arr[1].x, arr[1].y, arr[2].x, arr[2].y);
2103 ctx.quadraticCurveTo(arr[1].x, arr[1].y, arr[2].x, arr[2].y);
2104 l_hige(ctx, [arr[1], arr[2]]);
2125 ctx.quadraticCurveTo(arr[1].x, arr[1].y, arr[2].x, arr[2].y);
2145 ctx.rect(arr[0].x, arr[0].y, arr[1].x-arr[0].x, arr[1].y-arr[0].y);
2178 ctx.fillRect(arr[0].x, arr[0].y, arr[1].x-arr[0].x, arr[1].y-arr[0].y);
2440 ctx.bezierCurveTo(arr[i].cx, arr[i].cy, arr[i].dx, arr[i].dy, arr[i].x, arr[i].y);
2442 ctx.bezierCurveTo(arr[i].cx, arr[i].cy, arr[i].x, arr[i].y, arr[i].x, arr[i].y);
2445 ctx.bezierCurveTo(arr[i-1].x, arr[i-1].y, arr[i].dx, arr[i].dy, arr[i].x, arr[i].y);
[all …]
/plugin/sketchcanvas/phplib/
H A Dimage.php91 imageline($im, $arr[1][0], $arr[1][1], $arr[1][0]-$c[0][0], $arr[1][1]-$c[0][1], $color);
92 imageline($im, $arr[1][0], $arr[1][1], $arr[1][0]-$c[1][0], $arr[1][1]-$c[1][1], $color);
103 imageline($im, $arr[1][0], $arr[1][1], $arr[1][0]-$d[0][0], $arr[1][1]-$d[0][1], $color);
104 imageline($im, $arr[1][0], $arr[1][1], $arr[1][0]-$d[1][0], $arr[1][1]-$d[1][1], $color);
110 imageline($im, $arr[1][0], $arr[1][1], $arr[1][0]-$c[0][0], $arr[1][1]-$c[0][1], $color);
111 imageline($im, $arr[1][0], $arr[1][1], $arr[1][0]-$c[1][0], $arr[1][1]-$c[1][1], $color);
112 $a = array($arr[1], $arr[0]);
114 imageline($im, $arr[0][0], $arr[0][1], $arr[0][0]-$c[0][0], $arr[0][1]-$c[0][1], $color);
115 imageline($im, $arr[0][0], $arr[0][1], $arr[0][0]-$c[1][0], $arr[0][1]-$c[1][1], $color);
120 imageline($im, $arr[1][0]-$c[0][0], $arr[1][1]-$c[0][1], $arr[1][0], $arr[1][1], $color);
[all …]
/plugin/jirainfo/
H A Daction.php83 $arr = json_decode($data, true);
89 'key' => $arr['key'],
90 'summary' => $arr['fields']['summary'],
94 if (in_array('status', $fields) && isset($arr['fields']['status'])) {
96 'name' => $arr['fields']['status']['name'],
102 'name' => $arr['fields']['priority']['name'],
103 'iconUrl' => $arr['fields']['priority']['iconUrl']
108 'name' => $arr['fields']['issuetype']['name'],
109 'iconUrl' => $arr['fields']['issuetype']['iconUrl']
112 if (in_array('comment', $fields) && isset($arr['fields']['comment'])) {
[all …]
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Fixtures/filters/
H A Dslice.test14 {{ arr|slice(1, 2)|join('') }}
15 {{ arr[1:2]|join('') }}
16 {{ arr[4:1]|join('') }}
17 {{ arr[3:2]|join('') }}
25 {{ arr|slice(3)|join('') }}
26 {{ arr[2:]|join('') }}
29 return ['start' => 1, 'length' => 2, 'arr' => new \ArrayObject([1, 2, 3, 4]), 'xml' => new \SimpleX…
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DRandom.php198 * @param mixed $arr
200 private static function safe_serialize(&$arr) argument
202 if (is_object($arr)) {
205 if (!is_array($arr)) {
206 return serialize($arr);
209 if (isset($arr['__phpseclib_marker'])) {
213 $arr['__phpseclib_marker'] = true;
214 foreach (array_keys($arr) as $key) {
217 $safearr[$key] = self::safe_serialize($arr[$key]);
220 unset($arr['__phpseclib_marker']);
/plugin/abc2/
H A Dsyntax.php147 $arr = explode(" ", $str);
149 $arr = array_map("intval", $arr);
151 $arr = array_unique($arr);
153 $arr = array_filter($arr, create_function('$t', 'return($t<12 && $t >-12);'));
155 array_splice($arr, 8);
156 return $arr;
170 $arr = array(
197 return $arr[$num];
/plugin/groupmail/
H A Drecaptchalib.php249 $arr = preg_split("/@/", $email );
251 if (strlen ($arr[0]) <= 4) {
252 $arr[0] = substr ($arr[0], 0, 1);
253 } else if (strlen ($arr[0]) <= 6) {
254 $arr[0] = substr ($arr[0], 0, 3);
256 $arr[0] = substr ($arr[0], 0, 4);
258 return $arr;
/plugin/recaptcha/lib/
H A Drecaptchalib.php249 $arr = preg_split("/@/", $email );
251 if (strlen ($arr[0]) <= 4) {
252 $arr[0] = substr ($arr[0], 0, 1);
253 } else if (strlen ($arr[0]) <= 6) {
254 $arr[0] = substr ($arr[0], 0, 3);
256 $arr[0] = substr ($arr[0], 0, 4);
258 return $arr;
/plugin/contactmodern/
H A Drecaptchalib.php249 $arr = preg_split("/@/", $email );
251 if (strlen ($arr[0]) <= 4) {
252 $arr[0] = substr ($arr[0], 0, 1);
253 } else if (strlen ($arr[0]) <= 6) {
254 $arr[0] = substr ($arr[0], 0, 3);
256 $arr[0] = substr ($arr[0], 0, 4);
258 return $arr;
/plugin/ckgedit/fckeditor/editor/filemanager/connectors/php/
H A Dutf8.php886 function unicode_to_utf8($arr,$strict=false) { argument
887 if (!is_array($arr)) return '';
890 foreach (array_keys($arr) as $k) {
892 if ( ($arr[$k] >= 0) && ($arr[$k] <= 0x007f) ) {
895 echo chr($arr[$k]);
897 } else if ($arr[$k] <= 0x07ff) {
900 echo chr(0xc0 | ($arr[$k] >> 6));
903 } else if($arr[$k] == 0xFEFF) {
908 } else if ($arr[$k] >= 0xD800 && $arr[$k] <= 0xDFFF) {
921 } else if ($arr[$k] <= 0xffff) {
[all …]
/plugin/yuriigantt/3rd/dhtmlxgantt/sources/ext/
H A Ddhtmlxgantt_drag_timeline.js357 if (arr.forEach) {
358 arr.forEach(callback);
368 if (arr.map) {
369 return arr.map(callback);
383 if (arr.find) {
384 return arr.find(callback);
387 if (callback(arr[i], i)) {
388 return arr[i];
437 if (arr.filter) {
465 if (callback(arr[i], i, arr)) {
[all …]
H A Ddhtmlxgantt_click_drag.js577 if (arr.forEach) {
578 arr.forEach(callback);
588 if (arr.map) {
589 return arr.map(callback);
603 if (arr.find) {
604 return arr.find(callback);
607 if (callback(arr[i], i)) {
608 return arr[i];
657 if (arr.filter) {
685 if (callback(arr[i], i, arr)) {
[all …]
/plugin/data-graph/
H A Dsyntax.php153 …$arr = $this->db->res2arr($this->db->query('select d2.value as k, sum(d.value) as s, count(d.value…
155 $metrics = explode(" ", $arr[0]["metrics"]);
163 $count = count($arr);
165 if(strlen($arr[$i]["k"]) < 2){
166 $arr[$i]["k"] = "Unknown";
170 $curname = explode(" ", trim($arr[$i]["k"]));
172 unset($arr[$i]);
178 foreach( $arr as $line ){
190 foreach( $arr as $line ){
/plugin/datagraph/
H A Dsyntax.php153 …$arr = $this->db->res2arr($this->db->query('select d2.value as k, sum(d.value) as s, count(d.value…
155 $metrics = explode(" ", $arr[0]["metrics"]);
163 $count = count($arr);
165 if(strlen($arr[$i]["k"]) < 2){
166 $arr[$i]["k"] = "Unknown";
170 $curname = explode(" ", trim($arr[$i]["k"]));
172 unset($arr[$i]);
178 foreach( $arr as $line ){
190 foreach( $arr as $line ){
/plugin/authucenter/lib/uc_client/model/
H A Dapp.php27 …$arr = $this->db->fetch_all("SELECT $col FROM ".UC_DBTABLEPRE."applications".($where ? ' WHERE '.$…
28 foreach($arr as $k => $v) {
31 $arr[$k] = $v;
33 return $arr;
H A Duser.php27 $arr = $this->db->fetch_first("SELECT * FROM ".UC_DBTABLEPRE."members WHERE uid='$uid'");
28 return $arr;
33 return $arr;
38 return $arr;
180 foreach((array)$arr as $member) {
211 $arr = array();
213 $arr[] = $user['uid'];
215 return $arr;
219 $arr = array();
222 $arr[$user['uid']] = $user['username'];
[all …]
H A Dmisc.php30 …$arr = $this->db->fetch_all("SELECT $col FROM ".UC_DBTABLEPRE."applications".($where ? ' WHERE '.$…
31 return $arr;
140 function array2string($arr) { argument
142 if($arr && is_array($arr)) {
143 foreach($arr as $k => $v) {
152 $arr = explode(UC_ARRAY_SEP_2, $s);
154 foreach($arr as $k => $v) {
/plugin/autogallery/
H A Dsyntax.php64 $arr='';
65 $arr=array('namespace' => $namespace,'newpagetemplates' => $templates);
66 return $arr;
90 $arr=array('tstamp'=>$tstamp,'mydata'=>$data);
97 trigger_event('NON_SENSE',$arr);
/plugin/authgoogle/google/service/
H A DGoogle_Utils.php103 * @param array $arr
106 public static function normalize($arr) { argument
107 if (!is_array($arr)) {
112 foreach ($arr as $key => $val) {
/plugin/elasticsearch/vendor/ruflin/elastica/lib/Elastica/
H A DParam.php57 $arr = [];
61 … $arr[$value instanceof NameableInterface ? $value->getName() : $key] = $value->toArray();
63 $arr[$key] = $this->_convertArrayable($value);
65 $arr[$key] = $value;
69 return $arr;
/plugin/groupmgr/
H A Dsyntax.php40 function remove_item_by_value($val, $arr, $preserve = true) { argument
41 if (empty($arr) || !is_array($arr)) { return false; }
42 foreach(array_keys($arr,$val) as $key){ unset($arr[$key]); }
43 return ($preserve) ? $arr : array_values($arr);
/plugin/yuriigantt/src/Entities/
H A DTask.php74 $arr = (array)$this;
75 $arr['start_date'] = $this->start_date->format(self::DATE_FORMAT);
76 $arr['progress'] = round($this->progress, 4);
78 return $arr;
/plugin/fedauth/Auth/Yadis/
H A DXML.php196 $arr = $node->attributes();
199 if ($arr) {
200 foreach ($arr as $attrnode) {
286 $arr = $node->attributes;
289 if ($arr) {
290 for ($i = 0; $i < $arr->length; $i++) {
291 $node = $arr->item($i);
/plugin/openid/Auth/Yadis/
H A DXML.php196 $arr = $node->attributes();
199 if ($arr) {
200 foreach ($arr as $attrnode) {
286 $arr = $node->attributes;
289 if ($arr) {
290 for ($i = 0; $i < $arr->length; $i++) {
291 $node = $arr->item($i);

1234567891011