/PHP-5.3/ext/zip/lib/ |
H A D | zip_stat_index.c | 46 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.3/tests/classes/ |
H A D | array_access_003.phpt | 11 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 D | array_access_004.phpt | 9 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 D | array_access_009.phpt | 12 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 D | array_access_007.phpt | 13 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 D | array_access_006.phpt | 13 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 D | array_access_011.phpt | 22 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 D | array_access_010.phpt | 20 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 D | array_access_012.phpt | 9 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.3/win32/ |
H A D | readdir.c | 27 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() 141 int index; in rewinddir() local 154 index = 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-5.3/ext/mysqli/tests/ |
H A D | mysqli_pconnect.phpt | 29 $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 D | mysqli_ps_select_union.phpt | 34 $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.3/ext/bcmath/libbcmath/src/ |
H A D | num2str.c | 49 int index, signch; local 65 for (index=num->n_len; index>0; index--) 72 for (index=0; index<num->n_scale; index++)
|
H A D | num2long.c | 52 int index; local 57 for (index=num->n_len; (index>0) && (val<=(LONG_MAX/BASE)); index--) 61 if (index>0) val = 0;
|
/PHP-5.3/ext/spl/tests/ |
H A D | bug31185.phpt | 9 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 D | bug32134.phpt | 14 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.3/ext/phar/tests/ |
H A D | frontcontroller21.phpt | 10 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.3/sapi/fpm/fpm/events/ |
H A D | poll.c | 161 …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.3/ext/phar/tests/tar/ |
H A D | frontcontroller21.phar.phpt | 9 REQUEST_URI=/frontcontroller21.phar.php/index.php?test=hi 10 PATH_INFO=/index.php 17 %unicode|string%(10) "/index.php" 18 string(10) "/index.php" 19 string(%d) "phar://%sfrontcontroller21.phar.php/index.php" 20 string(18) "/index.php?test=hi" 21 string(37) "/frontcontroller21.phar.php/index.php" 24 string(45) "/frontcontroller21.phar.php/index.php?test=hi"
|
/PHP-5.3/ext/phar/tests/cache_list/ |
H A D | frontcontroller21.phpt | 11 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.3/ext/phar/tests/zip/ |
H A D | frontcontroller21.phar.phpt | 10 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.3/ext/standard/tests/url/ |
H A D | parse_url_basic_007.phpt | 40 --> 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 …]
|
H A D | urls.inc | 20 'http://www.php.net/index.php', 25 'http://www.php.net:80/index.php', 26 'http://www.php.net:80/foo/bar/index.php', 34 'http://www.php.net:80/index.php', 35 'http://www.php.net:80/index.php?', 41 'http://www.php.net:80/index.php?test=1&', 42 'http://www.php.net/index.php?&', 43 'http://www.php.net:80/index.php?foo&', 44 'http://www.php.net/index.php?&foo', 45 'http://www.php.net:80/index.php?test=1&test2=char&test3=mixesCI', [all …]
|
/PHP-5.3/ext/dom/tests/ |
H A D | DOMNode_removeChild_basic.phpt | 43 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 D | dom_comment_variation.phpt | 20 for ($index = 0; $index < $children->length; $index++) { 21 echo "--- child $index ---\n"; 22 $current = $children->item($index);
|