Home
last modified time | relevance | path

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

12345678910>>...20

/PHP-8.0/ext/bcmath/libbcmath/src/
H A Dnum2str.c50 int index, signch; local
65 for (index=num->n_len; index>0; index--)
72 for (index=0; index<scale && index<num->n_scale; index++)
74 for (index = num->n_scale; index<scale; index++)
/PHP-8.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];
27 function offsetSet($index, $newval) {
29 if ($index==3) {
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];
25 function offsetSet($index, $newval) {
27 if ($index==3) {
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;
42 function offsetSet($index, $value) {
47 function offsetUnset($index) {
62 function offsetExists($index)
67 function offsetGet($index)
72 function offsetSet($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;
32 function offsetSet($index, $value) {
37 function offsetUnset($index) {
52 function offsetExists($index)
57 function offsetGet($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;
30 function offsetSet($index, $value) {
35 function offsetUnset($index) {
37 unset($this->element[$index]);
50 function offsetExists($index)
55 function offsetGet($index)
60 function offsetSet($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-8.0/ext/spl/
H A Dspl_fixedarray.stub.php28 * @param int $index
31 public function offsetExists($index) {} argument
34 * @param int $index
37 public function offsetGet($index) {} argument
40 * @param int $index
43 public function offsetSet($index, mixed $value) {} argument
46 * @param int $index
49 public function offsetUnset($index) {} argument
H A Dspl_dllist.stub.php8 public function add(int $index, mixed $value) {} argument
44 * @param int $index
47 public function offsetExists($index) {} argument
50 * @param int $index
53 public function offsetGet($index) {} argument
56 * @param int|null $index
59 public function offsetSet($index, mixed $value) {} argument
62 * @param int $index
65 public function offsetUnset($index) {} argument
/PHP-8.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-8.0/ext/mysqli/tests/
H A Dmysqli_pconnect.phpt28 $index = mt_rand(0, $num);
29 } while (!isset($connections[$index]));
30 mysqli_close($connections[$index]);
31 unset($connections[$index]);
46 $index = mt_rand(0, $num);
50 mysqli_close($connections[$index]);
51 unset($connections[$index]);
62 $index = mt_rand(0, $num);
63 } while (!isset($connections[$index]));
64 mysqli_close($connections[$index]);
[all …]
H A Dmysqli_ps_select_union.phpt33 $index = 0;
37 $index + 1, gettype($data[$index]), $data[$index], gettype($column1), $column1);
39 $index++;
63 $index + 1, gettype($data[$index]), $data[$index], gettype($column1), $column1);
89 $index = 0;
93 $index + 1, gettype($data[$index]), $data[$index], gettype($column1), $column1);
113 $index + 1, gettype($data[$index]), $data[$index], gettype($column1), $column1);
142 $index + 1, gettype($data[$index]), $data[$index], gettype($column1), $column1);
162 $index + 1, gettype($data[$index]), $data[$index], gettype($column1), $column1);
202 $index + 1, gettype($data[$index]), $data[$index], gettype($column1), $column1);
[all …]
/PHP-8.0/ext/phar/tests/
H A Dfrontcontroller21.phpt10 REQUEST_URI=/frontcontroller21.php/index.php?test=hi
11 PATH_INFO=/index.php
18 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-8.0/ext/phar/tests/cache_list/
H A Dfrontcontroller21.phpt11 REQUEST_URI=/frontcontroller21.php/index.php?test=hi
12 PATH_INFO=/index.php
19 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-8.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 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-8.0/sapi/fpm/fpm/events/
H A Dpoll.c154 …if (q->ev && q->ev->index >= 0 && q->ev->index < npollfds && q->ev->fd == active_pollfds[q->ev->in… in fpm_event_poll_wait()
157 if (active_pollfds[q->ev->index].revents & POLLIN) { in fpm_event_poll_wait()
190 ev->index = next_free_slot++; in fpm_event_poll_add()
209 ev->index = next_free_slot++; in fpm_event_poll_add()
229 if (ev->index >= 0 && ev->index < npollfds && pollfds[ev->index].fd == ev->fd) { in fpm_event_poll_remove()
231 next_free_slot = ev->index; in fpm_event_poll_remove()
234 pollfds[ev->index].fd = -1; in fpm_event_poll_remove()
235 pollfds[ev->index].events = 0; in fpm_event_poll_remove()
238 ev->index = -1; in fpm_event_poll_remove()
259 ev->index = -1; in fpm_event_poll_remove()
[all …]
/PHP-8.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 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-8.0/win32/
H A Dreaddir.c34 size_t resolvedw_len, filespecw_len, index; in opendir() local
61 index = resolvedw_len + PHP_WIN32_IOUTIL_LONG_PATH_PREFIX_LENW - 1; in opendir()
64 index = resolvedw_len - 1; in opendir()
66 if (index >= 0 && filespecw[index] == L'/' || index == 0 && filespecw[index] == L'\\') in opendir()
67 filespecw[index] = L'\0'; in opendir()
153 size_t dirw_len, filespecw_len, index; in rewinddir() local
179 index = dirw_len + PHP_WIN32_IOUTIL_LONG_PATH_PREFIX_LENW - 1; in rewinddir()
182 index = dirw_len - 1; in rewinddir()
185 if (index >= 0 && (filespecw[index] == L'/' || in rewinddir()
186 (filespecw[index] == L'\\' && index == 0))) in rewinddir()
[all …]
/PHP-8.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-8.0/ext/standard/tests/url/
H A Dparse_url_basic_007.phpt34 --> http://www.php.net/index.php : string(10) "/index.php"
39 --> http://www.php.net:80/index.php : string(10) "/index.php"
40 --> http://www.php.net:80/foo/bar/index.php : string(18) "/foo/bar/index.php"
48 --> http://www.php.net:80/index.php : string(10) "/index.php"
49 --> http://www.php.net:80/index.php? : string(10) "/index.php"
55 --> http://www.php.net:80/index.php?test=1& : string(10) "/index.php"
56 --> http://www.php.net/index.php?& : string(10) "/index.php"
57 --> http://www.php.net:80/index.php?foo& : string(10) "/index.php"
58 --> http://www.php.net/index.php?&foo : string(10) "/index.php"
59 --> http://www.php.net:80/index.php?test=1&test2=char&test3=mixesCI : string(10) "/index.php"
[all …]
/PHP-8.0/ext/zip/
H A Dphp_zip.stub.php103 public function renameIndex(int $index, string $new_name) {} argument
115 public function setCommentIndex(int $index, string $comment) {} argument
122 public function setMtimeIndex(int $index, int $timestamp, int $flags = 0) {} argument
129 public function getCommentIndex(int $index, int $flags = 0) {} argument
135 public function deleteIndex(int $index) {} argument
144 public function statIndex(int $index, int $flags = 0) {} argument
150 public function getNameIndex(int $index, int $flags = 0) {} argument
159 public function unchangeIndex(int $index) {} argument
171 public function getFromIndex(int $index, int $len = 0, int $flags = 0) {} argument
202 public function setCompressionIndex(int $index, int $method, int $compflags = 0) {} argument
[all …]
/PHP-8.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);

Completed in 28 milliseconds

12345678910>>...20