Home
last modified time | relevance | path

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

12345678910>>...26

/PHP-5.5/ext/zip/lib/
H A Dzip_stat_index.c46 if (index >= za->nentry) { in zip_stat_index()
51 if ((name=zip_get_name(za, index, flags)) == NULL) in zip_stat_index()
56 && ZIP_ENTRY_DATA_CHANGED(za->entry+index)) { in zip_stat_index()
57 if (zip_source_stat(za->entry[index].source, st) < 0) { in zip_stat_index()
63 if (za->cdir == NULL || index >= za->cdir->nentry) { in zip_stat_index()
70 st->crc = za->cdir->entry[index].crc; in zip_stat_index()
71 st->size = za->cdir->entry[index].uncomp_size; in zip_stat_index()
72 st->mtime = za->cdir->entry[index].last_mod; in zip_stat_index()
73 st->comp_size = za->cdir->entry[index].comp_size; in zip_stat_index()
74 st->comp_method = za->cdir->entry[index].comp_method; in zip_stat_index()
[all …]
/PHP-5.5/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-5.5/win32/
H A Dreaddir.c27 int index; in opendir() local
40 index = strlen(filespec) - 1; in opendir()
41 if (index >= 0 && (filespec[index] == '/' || in opendir()
42 (filespec[index] == '\\' && (index == 0 || !IsDBCSLeadByte(filespec[index-1]))))) in opendir()
43 filespec[index] = '\0'; in opendir()
142 int index; in rewinddir() local
155 index = strlen(filespec) - 1; in rewinddir()
156 if (index >= 0 && (filespec[index] == '/' || in rewinddir()
157 (filespec[index] == '\\' && (index == 0 || !IsDBCSLeadByte(filespec[index-1]))))) in rewinddir()
158 filespec[index] = '\0'; in rewinddir()
/PHP-5.5/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-5.5/ext/bcmath/libbcmath/src/
H A Dnum2str.c49 int index, signch; local
65 for (index=num->n_len; index>0; index--)
72 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-5.5/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-5.5/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-5.5/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-5.5/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-5.5/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-5.5/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-5.5/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-5.5/sapi/cli/
H A Dphp_http_parser.c334 uint32_t index = parser->index; in php_http_parser_execute() local
414 index = 2; in php_http_parser_execute()
579 index = 1; in php_http_parser_execute()
641 ++index; in php_http_parser_execute()
1041 index = 0; in php_http_parser_execute()
1204 index = 0; in php_http_parser_execute()
1293 index++; in php_http_parser_execute()
1304 index++; in php_http_parser_execute()
1315 index++; in php_http_parser_execute()
1316 if (index > sizeof(CLOSE)-1 || c != CLOSE[index]) { in php_http_parser_execute()
[all …]
/PHP-5.5/ext/opcache/
H A Dzend_accelerator_hash.c77 zend_ulong index; in zend_accel_hash_update() local
92 entry = accel_hash->hash_table[index]; in zend_accel_hash_update()
135 entry->next = accel_hash->hash_table[index]; in zend_accel_hash_update()
136 accel_hash->hash_table[index] = entry; in zend_accel_hash_update()
146 zend_ulong index; in zend_accel_hash_find() local
152 entry = accel_hash->hash_table[index]; in zend_accel_hash_find()
174 zend_ulong index; in zend_accel_hash_find_entry() local
180 entry = accel_hash->hash_table[index]; in zend_accel_hash_find_entry()
199 zend_ulong index; in zend_accel_hash_unlink() local
205 entry = accel_hash->hash_table[index]; in zend_accel_hash_unlink()
[all …]
/PHP-5.5/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 59 milliseconds

12345678910>>...26