Searched refs:offset (Results 1 - 25 of 168) sorted by relevance

1234567

/PHP_5_3/TSRM/
H A Dreaddir.h22 off_t d_off; /* offset to this dirent */
31 short offset; /* offset into directory */ member in struct:__anon3
/PHP_5_3/ext/phar/tests/zip/files/
H A Dcorrupt_zipmaker.php.inc42 var $offset = 0;
164 private function getCentralEntry($compmethod, $mtime, $crc32, $complength, $uncomplength, $filename, $comment, $corrupt, &$offset, $fakecomp)
172 0x0000, $this->offset).
174 $offset = strlen($central);
180 0x0000, $this->offset).
182 $offset = strlen($central);
188 0x0000, $this->offset).
190 $offset = strlen($central);
196 0x0000, $this->offset).
198 $offset
[all...]
/PHP_5_3/ext/spl/internal/
H A Dlimititerator.inc18 * A class that starts iteration at a certain offset and only iterates over
27 private $offset;
34 * @param offset Offset to first element
37 function __construct(Iterator $it, $offset = 0, $count = -1)
39 if ($offset < 0) {
40 throw new exception('Parameter offset must be > 0');
46 $this->offset = $offset;
52 * @param position offset to seek to (relative to beginning not offset
[all...]
H A Dspldoublylinkedlist.inc193 /** @return whether a certain offset exists in the DLL
195 * @param $offset The offset
196 * @throw OutOfRangeException If the offset is either invalid or out of
199 public function offsetExists($offset)
201 if (!is_numeric($offset)) {
204 return array_key_exists($offset, $this->_llist);
208 /** @return the data at a certain offset in the DLL
210 * @param $offset The offset
[all...]
/PHP_5_3/ext/xmlrpc/libxmlrpc/
H A Dbase64.c29 b->offset = 0;
35 b->offset++;
36 if (b->offset == b->length) {
39 b->ptr = b->data + b->offset;
47 b->offset = 0;
55 int offset = 0; local
81 offset++;
82 if (offset > length) {
106 if (!(b->offset % 72)) {
120 int offset local
[all...]
/PHP_5_3/ext/zip/lib/
H A Dzip_file_get_offset.c2 zip_file_get_offset.c -- get offset of file data in archive.
50 Returns the offset of the file data for entry ze.
59 unsigned int offset;
61 offset = za->cdir->entry[idx].offset;
63 if (fseeko(za->zp, offset, SEEK_SET) != 0) {
71 offset += LENTRYSIZE + de.filename_len + de.extrafield_len;
75 return offset;
57 unsigned int offset; local
/PHP_5_3/sapi/fpm/fpm/
H A Dfpm_trace_mach.c85 size_t offset = ((uintptr_t) (addr) % fpm_pagesize); local
86 vm_offset_t base = (uintptr_t) (addr) - offset;
94 *data = * (long *) (local_page + offset);
/PHP_5_3/win32/
H A Dflock.c59 OVERLAPPED offset = local
64 UnlockFileEx(hdl, 0, low, high, &offset);
69 0, low, high, &offset))
74 0, low, high, &offset))
H A Dreaddir.c50 dp->offset = 0;
75 if (dp->offset != 0) {
81 dp->offset++;
86 dp->dent.d_off = dp->offset;
98 if (dp->offset != 0) {
105 dp->offset++;
110 dp->dent.d_off = dp->offset;
145 dp->offset = 0;
/PHP_5_3/ext/intl/doc/
H A Dgrapheme_api.php33 * @param [int] $offset The optional offset parameter allows you to specify
38 function grapheme_strpos($haystack, $needle, $offset = 0) {}
45 * @param [int] $offset The optional offset parameter allows you to specify
50 function grapheme_stripos($haystack, $needle, $offset = 0) {}
57 * @param [int] $offset The optional offset parameter allows you to specify
62 function grapheme_strrpos($haystack, $needle, $offset = 0) {}
69 * @param [int] $offset Th
[all...]
/PHP_5_3/ext/intl/grapheme/
H A Dgrapheme_util.c152 grapheme_strrpos_utf16(unsigned char *haystack, int32_t haystack_len, unsigned char*needle, int32_t needle_len, int32_t offset, int f_ignore_case TSRMLS_DC) argument
183 /* get a pointer to the haystack taking into account the offset */
188 puhaystack = grapheme_get_haystack_offset(bi, uhaystack, uhaystack_len, offset);
257 /* found it, get grapheme count offset */
286 grapheme_strpos_utf16(unsigned char *haystack, int32_t haystack_len, unsigned char*needle, int32_t needle_len, int32_t offset, int32_t *puchar_pos, int f_ignore_case TSRMLS_DC) argument
316 /* get a pointer to the haystack taking into account the offset */
321 puhaystack = grapheme_get_haystack_offset(bi, uhaystack, uhaystack_len, offset);
482 /* found it, get grapheme count offset */
521 /* {{{ grapheme_get_haystack_offset - bump the haystack pointer based on the grapheme count offset */
523 grapheme_get_haystack_offset(UBreakIterator* bi, UChar *uhaystack, int32_t uhaystack_len, int32_t offset) argument
570 grapheme_strrpos_ascii(unsigned char *haystack, int32_t haystack_len, unsigned char *needle, int32_t needle_len, int32_t offset) argument
[all...]
H A Dgrapheme_util.h30 grapheme_strrpos_utf16(unsigned char *haystack, int32_t haystack_len, unsigned char*needle, int32_t needle_len, int32_t offset, int f_ignore_case TSRMLS_DC);
33 grapheme_strpos_utf16(unsigned char *haystack, int32_t haystack_len, unsigned char*needle, int32_t needle_len, int32_t offset, int *puchar_pos, int f_ignore_case TSRMLS_DC);
48 grapheme_get_haystack_offset(UBreakIterator* bi, UChar *uhaystack, int32_t uhaystack_len, int32_t offset);
51 grapheme_strrpos_ascii(unsigned char *haystack, int32_t haystack_len, unsigned char *needle, int32_t needle_len, int32_t offset);
56 /* OUTSIDE_STRING: check if (possibly negative) long offset is outside the string with int32_t length */
57 #define OUTSIDE_STRING(offset, max_len) ( offset <= INT32_MIN || offset > INT32_MAX || (offset < 0 ? -offset > (lon
[all...]
/PHP_5_3/ext/intl/resourcebundle/
H A Dresourcebundle_class.c154 static void resourcebundle_array_fetch(zval *object, zval *offset, zval *return_value, int fallback TSRMLS_DC) argument
166 if(Z_TYPE_P(offset) == IS_LONG) {
168 meindex = Z_LVAL_P(offset);
170 } else if(Z_TYPE_P(offset) == IS_STRING) {
171 mekey = Z_STRVAL_P(offset);
172 mekeylen = Z_STRLEN_P(offset);
210 zval *resourcebundle_array_get(zval *object, zval *offset, int type TSRMLS_DC) argument
214 if(offset == NULL) {
219 resourcebundle_array_fetch(object, offset, retval, 1 TSRMLS_CC);
239 zval * offset; local
[all...]
/PHP_5_3/ext/mbstring/libmbfl/tests/
H A Dstrcut.c31 int offset, length; local
36 fprintf(stderr, "Usage: %s lang encoding offset length\n", argv[0]);
53 offset = strtol(argv[3], NULL, 10);
55 printf("Invalid offset: %s\n", argv[3]);
103 if (mbfl_strcut(&string, &result, offset, length)) {
/PHP_5_3/ext/dom/
H A Dcharacterdata.c33 ZEND_ARG_INFO(0, offset)
42 ZEND_ARG_INFO(0, offset)
47 ZEND_ARG_INFO(0, offset)
52 ZEND_ARG_INFO(0, offset)
169 /* {{{ proto string dom_characterdata_substring_data(int offset, int count);
179 long offset, count; local
183 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Oll", &id, dom_characterdata_class_entry, &offset, &count) == FAILURE) {
196 if (offset < 0 || count < 0 || offset > length) {
202 if ((offset
262 long offset; local
309 long offset, count; local
365 long offset, count; local
[all...]
H A Dtext.c33 ZEND_ARG_INFO(0, offset)
141 /* {{{ proto DOMText dom_text_split_text(int offset);
153 long offset; local
158 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Ol", &id, dom_text_class_entry, &offset) == FAILURE) {
173 if (offset > length || offset < 0) {
178 first = xmlUTF8Strndup(cur, offset);
179 second = xmlUTF8Strsub(cur, offset, length - offset);
241 * c-basic-offset
[all...]
/PHP_5_3/ext/spl/
H A Dspl_engine.c46 PHPAPI long spl_offset_convert_to_long(zval *offset TSRMLS_DC) /* {{{ */
48 switch (Z_TYPE_P(offset)) {
50 ZEND_HANDLE_NUMERIC(Z_STRVAL_P(offset), Z_STRLEN_P(offset)+1, idx);
53 return (long)Z_DVAL_P(offset);
57 return Z_LVAL_P(offset);
66 * c-basic-offset: 4
H A Dspl_fixedarray.c327 static inline zval **spl_fixedarray_object_read_dimension_helper(spl_fixedarray_object *intern, zval *offset TSRMLS_DC) /* {{{ */
333 if (!offset) {
338 if (Z_TYPE_P(offset) != IS_LONG) {
339 index = spl_offset_convert_to_long(offset TSRMLS_CC);
341 index = Z_LVAL_P(offset);
355 static zval *spl_fixedarray_object_read_dimension(zval *object, zval *offset, int type TSRMLS_DC) /* {{{ */ argument
364 if (!offset) {
365 ALLOC_INIT_ZVAL(offset);
367 SEPARATE_ARG_IF_REF(offset);
369 zend_call_method_with_1_params(&object, intern->std.ce, &intern->fptr_offset_get, "offsetGet", &rv, offset);
388 spl_fixedarray_object_write_dimension_helper(spl_fixedarray_object *intern, zval *offset, zval *value TSRMLS_DC) argument
417 spl_fixedarray_object_write_dimension(zval *object, zval *offset, zval *value TSRMLS_DC) argument
480 spl_fixedarray_object_has_dimension_helper(spl_fixedarray_object *intern, zval *offset, int check_empty TSRMLS_DC) argument
511 spl_fixedarray_object_has_dimension(zval *object, zval *offset, int check_empty TSRMLS_DC) argument
[all...]
/PHP_5_3/ext/standard/
H A Dflock_compat.c126 OVERLAPPED offset =
131 UnlockFileEx(hdl, 0, low, high, &offset);
136 0, low, high, &offset))
141 0, low, high, &offset))
235 * c-basic-offset: 4
H A Dmicrotime.c71 timelib_time_offset *offset; local
73 offset = timelib_get_time_zone_info(tp.tv_sec, get_timezone_info(TSRMLS_C));
79 add_assoc_long(return_value, "minuteswest", -offset->offset / SEC_IN_MIN);
80 add_assoc_long(return_value, "dsttime", offset->is_dst);
82 timelib_time_offset_dtor(offset);
162 * c-basic-offset: 4
/PHP_5_3/main/streams/
H A Dmmap.c25 PHPAPI char *_php_stream_mmap_range(php_stream *stream, size_t offset, size_t length, php_stream_mmap_operation_t mode, size_t *mapped_len TSRMLS_DC) argument
29 range.offset = offset;
71 * c-basic-offset: 4
H A Dphp_stream_mmap.h33 /* Request a range and offset to be mapped;
49 /* requested offset and length.
51 size_t offset; member in struct:__anon264
70 PHPAPI char *_php_stream_mmap_range(php_stream *stream, size_t offset, size_t length, php_stream_mmap_operation_t mode, size_t *mapped_len TSRMLS_DC);
71 #define php_stream_mmap_range(stream, offset, length, mode, mapped_len) _php_stream_mmap_range((stream), (offset), (length), (mode), (mapped_len) TSRMLS_CC)
84 * c-basic-offset: 4
/PHP_5_3/Zend/
H A Dzend_alloc.h58 ZEND_API void *_safe_emalloc(size_t nmemb, size_t size, size_t offset ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC;
59 ZEND_API void *_safe_malloc(size_t nmemb, size_t size, size_t offset) ZEND_ATTRIBUTE_MALLOC;
63 ZEND_API void *_safe_erealloc(void *ptr, size_t nmemb, size_t size, size_t offset ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC);
64 ZEND_API void *_safe_realloc(void *ptr, size_t nmemb, size_t size, size_t offset);
71 #define safe_emalloc(nmemb, size, offset) _safe_emalloc((nmemb), (size), (offset) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
75 #define safe_erealloc(ptr, nmemb, size, offset) _safe_erealloc((ptr), (nmemb), (size), (offset) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_CC)
83 #define safe_emalloc_rel(nmemb, size, offset) _safe_emalloc((nmemb), (size), (offset) ZEND_FILE_LINE_RELAY_C
[all...]
H A Dzend_qsort.c66 uint offset; local
76 offset = (end - begin) >> 1;
77 _zend_qsort_swap(begin, begin + (offset - (offset % siz)), siz);
122 * c-basic-offset: 4
/PHP_5_3/ext/fileinfo/libmagic/
H A Dsoftmagic.c144 ms->offset = m->offset;
218 ms->offset = m->offset;
220 ms->offset += ms->c.li[cont_level - 1].off;
368 t = ms->offset + sizeof(char);
390 t = ms->offset + sizeof(short);
411 t = ms->offset + sizeof(int32_t);
420 t = ms->offset + sizeof(int64_t);
430 t = ms->offset
888 mdebug(uint32_t offset, const char *str, size_t len) argument
897 mcopy(struct magic_set *ms, union VALUETYPE *p, int type, int indir, const unsigned char *s, uint32_t offset, size_t nbytes, size_t linecnt) argument
1010 uint32_t offset = ms->offset; local
1918 zval **match, **offset; local
[all...]

Completed in 29 milliseconds

1234567