Searched defs:offset (Results 1 - 25 of 126) sorted by relevance

123456

/PHP_TRUNK/TSRM/
H A Dreaddir.h22 off_t d_off; /* offset to this dirent */
31 short offset; /* offset into directory */ member in struct:__anon3
/PHP_TRUNK/ext/ereg/regex/
H A Ddebug.c102 register sopno offset = 2; local
103 # define GAP() { if (offset % 5 == 0) { \
113 offset++; \
/PHP_TRUNK/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...]
H A Dbase64.h17 int offset; member in struct:buffer_st
/PHP_TRUNK/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_TRUNK/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.h26 off_t d_off; /* offset to this dirent */
35 short offset; /* offset into directory */ member in struct:__anon567
/PHP_TRUNK/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_TRUNK/ext/zip/lib/
H A Dzip_utf-8.c235 zip_uint32_t buflen, i, offset;
252 offset = 0;
254 offset += _zip_unicode_to_utf8(_cp437_to_unicode[cp437buf[i]],
255 utf8buf+offset);
229 zip_uint32_t buflen, i, offset; local
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.
58 zip_uint64_t offset;
61 offset = za->entry[idx].orig->offset;
63 if (fseeko(za->zp, (off_t)offset, SEEK_SET) != 0) {
72 if (offset+(zip_uint32_t)size > ZIP_OFF_MAX) {
77 return offset + (zip_uint32_t)size;
56 zip_uint64_t offset; local
H A Dzip_source_zip_new.c51 zip_uint64_t offset;
109 if ((offset=_zip_file_get_offset(srcza, srcidx, &za->error)) == 0)
127 if ((src=_zip_source_file_or_p(za, NULL, srcza->zp, offset+start, (zip_int64_t)st2.size, 0, &st2)) == NULL)
132 if ((src=_zip_source_file_or_p(za, NULL, srcza->zp, offset, (zip_int64_t)st.comp_size, 0, &st)) == NULL)
49 zip_uint64_t offset; local
/PHP_TRUNK/ext/dba/
H A Ddba_cdb.c228 int cdb_file_lseek(php_stream *fp, off_t offset, int whence TSRMLS_DC) { argument
229 php_stream_seek(fp, offset, whence);
233 int cdb_file_lseek(int fd, off_t offset, int whence TSRMLS_DC) { argument
234 return lseek(fd, offset, whence);
346 * c-basic-offset: 4
/PHP_TRUNK/netware/
H A Dstart.c44 int (*readRoutineP)( int conn, void *fileHandle, size_t offset,
109 * first, then the check-unload function's offset will be nlmname.nlm+0
36 _NonAppStart( void *NLMHandle, void *errorScreen, const char *cmdLine, const char *loadDirPath, size_t uninitializedDataLength, void *NLMFileHandle, int (*readRoutineP)( int conn, void *fileHandle, size_t offset, size_t nbytes, size_t *bytesRead, void *buffer ), size_t customDataOffset, size_t customDataSize, int messageCount, const char **messages ) argument
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_list.c127 void phpdbg_list_file(const char *filename, long count, long offset, int highlight TSRMLS_DC) /* {{{ */ argument
148 if (offset < 0) {
149 count += offset;
150 offset = 0;
158 if (offset <= line) {
174 if (count > 0 && count + offset - 1 < line) {
/PHP_TRUNK/ext/opcache/Optimizer/
H A Doptimize_temp_vars_5.c36 int offset = op_array->last_var; local
59 start_of_T[VAR_NUM(ZEND_RESULT(opline).var) - offset] = opline;
65 start_of_T[VAR_NUM(ZEND_OP1(opline).var) - offset] = opline;
68 start_of_T[VAR_NUM(ZEND_OP1(opline).var) + 1 - offset] = opline;
88 ZEND_OP1(opline).var = NUM_VAR(max + offset);
94 currT = VAR_NUM(ZEND_OP1(opline).var) - offset;
100 ZEND_OP1(opline).var = NUM_VAR(map_T[currT] + offset);
112 currT = VAR_NUM(ZEND_OP2(opline).var) - offset;
118 ZEND_OP2(opline).var = NUM_VAR(map_T[currT] + offset);
123 currT = VAR_NUM(opline->extended_value) - offset;
[all...]
/PHP_TRUNK/Zend/
H A Dzend_ast.c104 static void zend_ast_add_array_element(zval *result, zval *offset, zval *expr TSRMLS_DC) argument
106 switch (Z_TYPE_P(offset)) {
111 zend_symtable_update(Z_ARRVAL_P(result), Z_STR_P(offset), expr);
112 zval_dtor(offset);
118 zend_hash_index_update(Z_ARRVAL_P(result), Z_IVAL_P(offset), expr);
127 zend_hash_index_update(Z_ARRVAL_P(result), zend_dval_to_ival(Z_DVAL_P(offset)), expr);
130 zend_error(E_ERROR, "Illegal offset type");
H A Dzend_qsort.c67 uint offset; local
77 offset = (end - begin) >> Z_I(1);
78 _zend_qsort_swap(begin, begin + (offset - (offset % siz)), siz);
128 * c-basic-offset: 4
/PHP_TRUNK/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)
149 /* {{{ proto string dom_characterdata_substring_data(int offset, int count);
159 php_int_t offset, count; local
163 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Oii", &id, dom_characterdata_class_entry, &offset, &count) == FAILURE) {
176 if (offset < 0 || count < 0 || offset > length) {
182 if ((offset
242 php_int_t offset; local
289 php_int_t offset, count; local
345 php_int_t offset, count; local
[all...]
H A Dtext.c33 ZEND_ARG_INFO(0, offset)
140 /* {{{ proto DOMText dom_text_split_text(int offset);
152 php_int_t offset; local
156 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Oi", &id, dom_text_class_entry, &offset) == FAILURE) {
171 if (offset > length || offset < 0) {
176 first = xmlUTF8Strndup(cur, offset);
177 second = xmlUTF8Strsub(cur, offset, length - offset);
239 * c-basic-offset
[all...]
/PHP_TRUNK/ext/intl/breakiterator/
H A Dbreakiterator_methods.cpp234 spprintf(&msg, 0, "%s: offset argument is outside bounds of "
330 php_int_t offset; local
335 &offset) == FAILURE) {
341 if (offset < INT32_MIN || offset > INT32_MAX) {
343 "breakiter_is_boundary: offset argument is outside bounds of "
350 UBool res = bio->biter->isBoundary((int32_t)offset);
/PHP_TRUNK/ext/shmop/
H A Dshmop.c73 ZEND_ARG_INFO(0, offset)
296 /* {{{ proto int shmop_write (int shmid, string data, int offset)
302 php_int_t shmid, offset; local
305 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "iSi", &shmid, &data, &offset) == FAILURE) {
316 if (offset < 0 || offset > shmop->size) {
317 php_error_docref(NULL TSRMLS_CC, E_WARNING, "offset out of range");
321 writesize = (data->len < shmop->size - offset) ? data->len : shmop->size - offset;
322 memcpy(shmop->addr + offset, dat
[all...]
/PHP_TRUNK/ext/standard/
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_int(return_value, "minuteswest", -offset->offset / SEC_IN_MIN);
80 add_assoc_int(return_value, "dsttime", offset->is_dst);
82 timelib_time_offset_dtor(offset);
162 * c-basic-offset: 4
/PHP_TRUNK/ext/zlib/
H A Dzlib_fopen_wrapper.c59 static int php_gziop_seek(php_stream *stream, zend_off_t offset, int whence, zend_off_t *newoffs TSRMLS_DC) argument
69 *newoffs = gzseek(self->gz_file, offset, whence);
185 * c-basic-offset: 4
/PHP_TRUNK/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:__anon215
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

Completed in 12 milliseconds

123456