Home
last modified time | relevance | path

Searched refs:index (Results 1 – 25 of 629) sorted by relevance

12345678910>>...26

/PHP-7.0/tests/classes/
H A Darray_access_003.phpt11 function offsetExists($index) {
12 echo __METHOD__ . "($index)\n";
15 function offsetGet($index) {
16 echo __METHOD__ . "($index)\n";
17 switch($index) {
25 return $this->a[$index];
29 if ($index==3) {
32 return $this->a[$index] = $newval;
34 function offsetUnset($index) {
35 echo __METHOD__ . "($index)\n";
[all …]
H A Darray_access_004.phpt9 function offsetExists($index) {
10 echo __METHOD__ . "($index)\n";
13 function offsetGet($index) {
14 echo __METHOD__ . "($index)\n";
15 switch($index) {
23 return $this->a[$index];
27 if ($index==3) {
30 return $this->a[$index] = $newval;
32 function offsetUnset($index) {
33 echo __METHOD__ . "($index)\n";
[all …]
H A Darray_access_009.phpt12 function proxyUnset($element, $index);
31 function offsetExists($index) {
36 function offsetGet($index) {
39 return isset($tmp[$index]) ? $tmp[$index] : NULL;
47 function offsetUnset($index) {
62 function offsetExists($index)
67 function offsetGet($index)
72 function offsetSet($index, $value)
74 $this->person[$index] = $value;
77 function offsetUnset($index)
[all …]
H A Darray_access_007.phpt13 function offsetExists($index) {
14 return array_key_exists($this->realArray, $index);
17 function offsetGet($index) {
18 return $this->realArray[$index];
21 function offsetSet($index, $value) {
22 if (is_null($index)) {
25 $this->realArray[$index] = $value;
29 function offsetUnset($index) {
30 unset($this->realArray[$index]);
H A Darray_access_006.phpt13 function offsetExists($index) {
14 return array_key_exists($this->realArray, $index);
17 function offsetGet($index) {
18 return $this->realArray[$index];
21 function offsetSet($index, $value) {
22 $this->realArray[$index] = $value;
25 function offsetUnset($index) {
26 unset($this->realArray[$index]);
H A Darray_access_011.phpt22 function offsetExists($index) {
27 function offsetGet($index) {
29 …return isset($this->oarray[$this->element][$index]) ? $this->oarray[$this->element][$index] : NULL;
37 function offsetUnset($index) {
52 function offsetExists($index)
57 function offsetGet($index)
65 return $this->person[$index];
69 function offsetSet($index, $value)
71 $this->person[$index] = $value;
74 function offsetUnset($index)
[all …]
H A Darray_access_010.phpt20 function offsetExists($index) {
25 function offsetGet($index) {
27 return isset($this->element[$index]) ? $this->element[$index] : NULL;
32 $this->element[$index] = $value;
35 function offsetUnset($index) {
37 unset($this->element[$index]);
50 function offsetExists($index)
55 function offsetGet($index)
62 $this->person[$index] = $value;
65 function offsetUnset($index)
[all …]
H A Darray_access_012.phpt9 public function offsetUnset($index) {}
11 public function offsetSet($index, $value) {
12 $this->data[$index] = $value;
15 public function offsetGet($index) {
16 return $this->data[$index];
19 public function offsetExists($index) {
20 return isset($this->data[$index]);
/PHP-7.0/win32/
H A Dreaddir.c27 int index; in opendir() local
39 index = (int)strlen(filespec) - 1; in opendir()
40 if (index >= 0 && (filespec[index] == '/' || in opendir()
41 (filespec[index] == '\\' && (index == 0 || !IsDBCSLeadByte(filespec[index-1]))))) in opendir()
42 filespec[index] = '\0'; in opendir()
141 int index; in rewinddir() local
154 index = (int)strlen(filespec) - 1; in rewinddir()
155 if (index >= 0 && (filespec[index] == '/' || in rewinddir()
156 (filespec[index] == '\\' && (index == 0 || !IsDBCSLeadByte(filespec[index-1]))))) in rewinddir()
157 filespec[index] = '\0'; in rewinddir()
/PHP-7.0/ext/mysqli/tests/
H A Dmysqli_pconnect.phpt29 $index = mt_rand(0, $num);
30 } while (!isset($connections[$index]));
31 mysqli_close($connections[$index]);
32 unset($connections[$index]);
47 $index = mt_rand(0, $num);
51 mysqli_close($connections[$index]);
52 unset($connections[$index]);
63 $index = mt_rand(0, $num);
64 } while (!isset($connections[$index]));
65 mysqli_close($connections[$index]);
[all …]
H A Dmysqli_ps_select_union.phpt34 $index = 0;
38 $index + 1, gettype($data[$index]), $data[$index], gettype($column1), $column1);
40 $index++;
64 $index + 1, gettype($data[$index]), $data[$index], gettype($column1), $column1);
94 $index + 1, gettype($data[$index]), $data[$index], gettype($column1), $column1);
97 $index++;
114 $index + 1, gettype($data[$index]), $data[$index], gettype($column1), $column1);
143 $index + 1, gettype($data[$index]), $data[$index], gettype($column1), $column1);
163 $index + 1, gettype($data[$index]), $data[$index], gettype($column1), $column1);
203 $index + 1, gettype($data[$index]), $data[$index], gettype($column1), $column1);
[all …]
/PHP-7.0/ext/spl/tests/
H A Dbug31185.phpt9 public function offsetExists($index) {
10 return isset($this->array[$index]);
13 public function offsetGet($index) {
14 return $this->array[$index];
17 public function offsetSet($index, $value) {
18 echo __METHOD__ . "($index, $value)\n";
19 $this->array[$index] = $value;
22 public function offsetUnset($index) {
24 unset($this->array[$index]);
H A Dbug32134.phpt14 public function offsetGet($index)
17 echo __METHOD__ . "($index)\n";
19 return parent::offsetGet($index);
22 public function offsetSet($index, $newval)
24 echo __METHOD__ . "($index,$newval)\n";
25 return parent::offsetSet($index, $newval);
/PHP-7.0/ext/phar/tests/
H A Dfrontcontroller21.phpt10 REQUEST_URI=/frontcontroller21.php/index.php?test=hi
11 PATH_INFO=/index.php
18 %unicode|string%(10) "/index.php"
19 string(10) "/index.php"
20 string(%d) "phar://%sfrontcontroller21.php/index.php"
21 string(18) "/index.php?test=hi"
22 string(32) "/frontcontroller21.php/index.php"
25 string(40) "/frontcontroller21.php/index.php?test=hi"
/PHP-7.0/sapi/fpm/fpm/events/
H A Dpoll.c161 …if (q->ev && q->ev->index >= 0 && q->ev->index < npollfds && q->ev->fd == active_pollfds[q->ev->in… in fpm_event_poll_wait()
164 if (active_pollfds[q->ev->index].revents & POLLIN) { in fpm_event_poll_wait()
197 ev->index = next_free_slot++; in fpm_event_poll_add()
216 ev->index = next_free_slot++; in fpm_event_poll_add()
236 if (ev->index >= 0 && ev->index < npollfds && pollfds[ev->index].fd == ev->fd) { in fpm_event_poll_remove()
238 next_free_slot = ev->index; in fpm_event_poll_remove()
241 pollfds[ev->index].fd = -1; in fpm_event_poll_remove()
242 pollfds[ev->index].events = 0; in fpm_event_poll_remove()
245 ev->index = -1; in fpm_event_poll_remove()
266 ev->index = -1; in fpm_event_poll_remove()
[all …]
/PHP-7.0/ext/bcmath/libbcmath/src/
H A Dnum2str.c50 int index, signch; local
66 for (index=num->n_len; index>0; index--)
73 for (index=0; index<num->n_scale; index++)
H A Dnum2long.c52 int index; local
57 for (index=num->n_len; (index>0) && (val<=(LONG_MAX/BASE)); index--)
61 if (index>0) val = 0;
/PHP-7.0/ext/phar/tests/cache_list/
H A Dfrontcontroller21.phpt11 REQUEST_URI=/frontcontroller21.php/index.php?test=hi
12 PATH_INFO=/index.php
19 %unicode|string%(10) "/index.php"
20 string(10) "/index.php"
21 string(%d) "phar://%sfrontcontroller21.php/index.php"
22 string(18) "/index.php?test=hi"
23 string(32) "/frontcontroller21.php/index.php"
26 string(40) "/frontcontroller21.php/index.php?test=hi"
/PHP-7.0/ext/phar/tests/tar/
H A Dfrontcontroller21.phar.phpt10 REQUEST_URI=/frontcontroller21.phar.php/index.php?test=hi
11 PATH_INFO=/index.php
18 %unicode|string%(10) "/index.php"
19 string(10) "/index.php"
20 string(%d) "phar://%sfrontcontroller21.phar.php/index.php"
21 string(18) "/index.php?test=hi"
22 string(37) "/frontcontroller21.phar.php/index.php"
25 string(45) "/frontcontroller21.phar.php/index.php?test=hi"
/PHP-7.0/ext/phar/tests/zip/
H A Dfrontcontroller21.phar.phpt11 REQUEST_URI=/frontcontroller21.phar.php/index.php?test=hi
12 PATH_INFO=/index.php
19 %unicode|string%(10) "/index.php"
20 string(10) "/index.php"
21 string(%d) "phar://%sfrontcontroller21.phar.php/index.php"
22 string(18) "/index.php?test=hi"
23 string(37) "/frontcontroller21.phar.php/index.php"
26 string(45) "/frontcontroller21.phar.php/index.php?test=hi"
/PHP-7.0/sapi/cli/
H A Dphp_http_parser.c268 uint32_t index = parser->index; in php_http_parser_execute() local
348 index = 2; in php_http_parser_execute()
513 index = 1; in php_http_parser_execute()
585 ++index; in php_http_parser_execute()
985 index = 0; in php_http_parser_execute()
1148 index = 0; in php_http_parser_execute()
1237 index++; in php_http_parser_execute()
1248 index++; in php_http_parser_execute()
1259 index++; in php_http_parser_execute()
1260 if (index > sizeof(CLOSE)-1 || c != CLOSE[index]) { in php_http_parser_execute()
[all …]
/PHP-7.0/ext/standard/tests/url/
H A Dparse_url_basic_007.phpt40 --> http://www.php.net/index.php : string(10) "/index.php"
45 --> http://www.php.net:80/index.php : string(10) "/index.php"
46 --> http://www.php.net:80/foo/bar/index.php : string(18) "/foo/bar/index.php"
54 --> http://www.php.net:80/index.php : string(10) "/index.php"
55 --> http://www.php.net:80/index.php? : string(10) "/index.php"
61 --> http://www.php.net:80/index.php?test=1& : string(10) "/index.php"
62 --> http://www.php.net/index.php?& : string(10) "/index.php"
63 --> http://www.php.net:80/index.php?foo& : string(10) "/index.php"
64 --> http://www.php.net/index.php?&foo : string(10) "/index.php"
65 --> http://www.php.net:80/index.php?test=1&test2=char&test3=mixesCI : string(10) "/index.php"
[all …]
/PHP-7.0/ext/zip/lib/
H A Dzip_stat_index.c39 zip_stat_index(zip_t *za, zip_uint64_t index, zip_flags_t flags, in zip_stat_index() argument
45 if ((de=_zip_get_dirent(za, index, flags, NULL)) == NULL) in zip_stat_index()
48 if ((name=zip_get_name(za, index, flags)) == NULL) in zip_stat_index()
53 && ZIP_ENTRY_DATA_CHANGED(za->entry+index)) { in zip_stat_index()
54 if (zip_source_stat(za->entry[index].source, st) < 0) { in zip_stat_index()
81 st->index = index; in zip_stat_index()
/PHP-7.0/ext/dom/tests/
H A DDOMNode_removeChild_basic.phpt43 for ($index = $children->length - 1; $index >=0; $index--) {
44 echo "node $index\n";
45 $current = $children->item($index);
54 for ($index = 0; $index < $children->length; $index++) {
55 echo "node $index\n";
56 $current = $children->item($index);
H A Ddom_comment_variation.phpt20 for ($index = 0; $index < $children->length; $index++) {
21 echo "--- child $index ---\n";
22 $current = $children->item($index);

Completed in 28 milliseconds

12345678910>>...26