Home
last modified time | relevance | path

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

12345678910>>...12

/plugin/sketchcanvas/script/
H A Ddraw.js6 function l_arrow(ctx, arr) { argument
7 var c = l_vec(arr, 6);
8 ctx.moveTo(arr[0].x, arr[0].y);
9 ctx.lineTo(arr[1].x, arr[1].y);
10 ctx.lineTo(arr[1].x-c[0].x, arr[1].y-c[0].y);
11 ctx.moveTo(arr[1].x, arr[
17 l_darrow(ctx, arr) global() argument
31 l_tarrow(ctx, arr) global() argument
48 l_hige(ctx, arr) global() argument
57 l_elipse(ctx, arr) global() argument
80 l_elipsef(ctx, arr) global() argument
103 l_star(ctx, arr) global() argument
114 l_check(ctx, arr) global() argument
122 l_complete(ctx, arr) global() argument
[all...]
H A DSketchCanvas.js354 //if (1 == menuno) debug('x='+arr[0].x + 'y='+arr[0].y);
361 //arr[idx] = cood;
1034 var arr = [];
1048 arr.push(pt);
1050 this.points = arr;
1181 var arr = [];
1202 arr.push(pt);
1212 this.points = arr;
2022 var arr
[all...]
/plugin/sketchcanvas/phplib/
H A Dimage.php89 function l_arrow($im, $arr, $color) { argument
90 $c = l_vec($arr, 6);
91 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[
96 l_darrow($im, $arr, $color) global() argument
108 l_tarrow($im, $arr, $color) global() argument
118 l_hige($im, $arr, $color) global() argument
125 l_star($im, $arr, $color) global() argument
138 l_check($im, $arr, $color) global() argument
146 l_complete($im, $arr, $color) global() argument
[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/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/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/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/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/abc2/
H A Dsyntax.php147 $arr = explode(" ", $str);
149 $arr = array_map("intval", $arr);
151 $arr = array_unique($arr);
153 $arr = array_filter($arr, function($t){ return($t<12 && $t >-12); });
155 array_splice($arr, 8);
156 return $arr;
170 $arr
[all...]
/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/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/bbcodeextensions/syntax/
H A Dq.php18 $arr= explode(']', $match, 2);
19 foreach ($arr as &$a) { $a= trim($a); }
20 if (preg_match('/^cite=".+?"/', $arr[0])) {
22 } else $arr[0]= '';
23 $match= $arr;
/plugin/authucenter/lib/uc_client/model/
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 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 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/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/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/pycode/
H A Dmethod.php36 * @return (arr) $code the code of <file> to embed
189 * @param (arr) $code the code of <file> to embed
195 * @return (arr) $brief only the descriptive part of the docstring
817 * @return (arr) $tree_dir the tree directories, that is:
846 * @param (arr) $code the code to indent
847 * @return (arr) $code_ind the code indented
895 * @param (arr) $tree_dir the tree directories, that is:
948 $arr[$wiki] = array();
958 if (array_search($file, $arr[$wiki]) === false) {
959 $arr[$wiki][] = $file;
[all …]
/plugin/elasticsearch/vendor/ruflin/elastica/src/
H A DParam.php156 $arr = [];
160 $arr[$value instanceof NameableInterface ? $value->getName() : $key] = $value->toArray();
162 $arr[$key] = $this->_convertArrayable($value);
164 $arr[$key] = $value;
168 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);

12345678910>>...12