Lines Matching defs:i
433 $value = date('Y:m:d H:i:s', strtotime($value));
644 $dates['TimeStr'] = date("Y-m-d H:i:s", $this->_info['file']['UnixTime']);
647 $dates['EarliestTimeStr'] = date("Y-m-d H:i:s", $this->_info['file']['UnixTime']);
650 $dates['LatestTimeStr'] = date("Y-m-d H:i:s", $this->_info['file']['UnixTime']);
756 $dates['TimeStr'] = date("Y-m-d H:i:s", $earliestTime);
759 $dates['EarliestTimeStr'] = date("Y-m-d H:i:s", $earliestTime);
762 $dates['LatestTimeStr'] = date("Y-m-d H:i:s", $latestTime);
1079 for ($i = 0; $i < $length; $i++) {
1291 for ($i = 0; $i < $origLength; $i++) {
1433 for ($i = 0; $i < $count; $i++) {
1434 if ($this->_markers[$i]['marker'] == 0xE0) {
1435 $signature = $this->_getFixedString($this->_markers[$i]['data'], 0, 4);
1437 $data =& $this->_markers[$i]['data'];
1504 for ($i = 0; $i < $count; $i++) {
1505 switch ($this->_markers[$i]['marker']) {
1510 $data =& $this->_markers[$i]['data'];
1511 $marker = $this->_markers[$i]['marker'];
1572 for ($i = 0; $i < $count; $i++) {
1573 if ($this->_markers[$i]['marker'] == 0xE1) {
1574 $signature = $this->_getFixedString($this->_markers[$i]['data'], 0, 29);
1576 $data = substr($this->_markers[$i]['data'], 29);
1600 for ($i = 0; $i < $count; $i++) {
1601 if ($values[$i]['tag'] == 'rdf:Description' && $values[$i]['type'] == 'open') {
1603 while ((++$i < $count) && ($values[$i]['tag'] != 'rdf:Description')) {
1604 $this->_parseXmpNode($values, $i, $this->_info['xmp'][$values[$i]['tag']], $count);
1623 * @param int $i
1627 function _parseXmpNode($values, &$i, &$meta, $count) {
1628 if ($values[$i]['type'] == 'close') return;
1630 if ($values[$i]['type'] == 'complete') {
1632 $meta = $values[$i]['value'] ?? '';
1636 $i++;
1637 if ($i >= $count) return;
1639 if ($values[$i]['tag'] == 'rdf:Bag' || $values[$i]['tag'] == 'rdf:Seq') {
1642 while ($values[++$i]['tag'] == 'rdf:li') {
1643 $this->_parseXmpNode($values, $i, $meta[], $count);
1645 $i++; // skip closing Bag/Seq tag
1647 } elseif ($values[$i]['tag'] == 'rdf:Alt') {
1649 if ($values[$i]['type'] == 'open') {
1650 $i++;
1651 $this->_parseXmpNode($values, $i, $meta, $count);
1652 while ((++$i < $count) && ($values[$i]['tag'] != 'rdf:Alt'));
1653 $i++; // skip closing Alt tag
1659 $startTag = $values[$i-1]['tag'];
1661 $this->_parseXmpNode($values, $i, $meta[$values[$i]['tag']], $count);
1662 } while ((++$i < $count) && ($values[$i]['tag'] != $startTag));
1679 for ($i = 0; $i < $count; $i++) {
1680 if ($this->_markers[$i]['marker'] == 0xE1) {
1681 $signature = $this->_getFixedString($this->_markers[$i]['data'], 0, 6);
1683 $data =& $this->_markers[$i]['data'];
1756 for ($i = 0; $i < $numEntries; $i++) {
1960 for ($i = 0; $i < $count; $i++) {
1961 if ($this->_markers[$i]['marker'] == 0xE1) {
1962 $signature = $this->_getFixedString($this->_markers[$i]['data'], 0, 6);
1964 $data =& $this->_markers[$i]['data'];
2020 for ($i = 0; $i < $entryCount; $i++) {
2021 $tag = $entries[$i]['tag'];
2022 $type = $entries[$i]['type'];
2030 $dataPos = $this->_writeIFD($data, $dataPos, $offsetBase, $entries[$i]['value'], $isBigEndian, false);
2037 $tiffData =& $entries[$i]['value'] ;
2041 $pos = $this->_putLong($data, $pos, $entries[$i]['count'], $isBigEndian);
2042 if (strlen($entries[$i]['value']) > 4) {
2044 $dataPos = $this->_putString($data, $dataPos, $entries[$i]['value']);
2046 $val = str_pad($entries[$i]['value'], 4, "\0");
2422 for ($i = 0; $i < $count; $i++) {
2423 if ($this->_markers[$i]['marker'] == 0xED) {
2424 $signature = $this->_getFixedString($this->_markers[$i]['data'], 0, 14);
2426 $data =& $this->_markers[$i]['data'];
2456 for ($i = 0; $i < $strlen; $i++) {
2457 $header .= $data[$pos + $i];
2651 for ($i = 0; $i < $vcnt; $i++) {
2652 $pos = $this->_writeIPTCEntry($data, $pos, $type, $value[$i]);
3194 for ($i = 0; $i < $len; $i++) {
3195 $data[$pos + $i] = $str[$i];