Searched defs:offset (Results 1 - 25 of 127) 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/xmlrpc/libxmlrpc/
H A Dbase64.h17 int offset; member in struct:buffer_st
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_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 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_file_get_offset.c2 zip_file_get_offset.c -- get offset of file data in archive.
48 Returns the offset of the file data for entry ze.
56 zip_uint64_t offset; local
59 offset = za->entry[idx].orig->offset;
61 if (fseeko(za->zp, (off_t)offset, SEEK_SET) != 0) {
70 if (offset+(zip_uint32_t)size > ZIP_OFF_MAX) {
75 return offset + (zip_uint32_t)size;
H A Dzip_source_zip_new.c49 zip_uint64_t offset; local
107 if ((offset=_zip_file_get_offset(srcza, srcidx, &za->error)) == 0)
125 if ((src=_zip_source_file_or_p(za, NULL, srcza->zp, offset+start, (zip_int64_t)st2.size, 0, &st2)) == NULL)
130 if ((src=_zip_source_file_or_p(za, NULL, srcza->zp, offset, (zip_int64_t)st.comp_size, 0, &st)) == NULL)
H A Dzip_utf-8.c229 zip_uint32_t buflen, i, offset; local
246 offset = 0;
248 offset += _zip_unicode_to_utf8(_cp437_to_unicode[cp437buf[i]],
249 utf8buf+offset);
/PHP_TRUNK/ext/pdo_dblib/
H A Ddblib_stmt.c168 enum pdo_fetch_orientation ori, zend_long offset)
167 pdo_dblib_stmt_fetch(pdo_stmt_t *stmt, enum pdo_fetch_orientation ori, zend_long offset) argument
/PHP_TRUNK/ext/pdo_sqlite/
H A Dsqlite_statement.c201 enum pdo_fetch_orientation ori, zend_long offset)
370 * c-basic-offset: 4
200 pdo_sqlite_stmt_fetch(pdo_stmt_t *stmt, enum pdo_fetch_orientation ori, zend_long offset) argument
/PHP_TRUNK/ext/spl/
H A Dspl_engine.c43 PHPAPI zend_long spl_offset_convert_to_long(zval *offset) /* {{{ */ argument
47 switch (Z_TYPE_P(offset)) {
49 if (ZEND_HANDLE_NUMERIC(Z_STR_P(offset), idx)) {
54 return (zend_long)Z_DVAL_P(offset);
56 return Z_LVAL_P(offset);
62 return Z_RES_HANDLE_P(offset);
71 * c-basic-offset: 4
/PHP_TRUNK/ext/dba/
H A Ddba_cdb.c228 int cdb_file_lseek(php_stream *fp, off_t offset, int whence) { argument
229 php_stream_seek(fp, offset, whence);
233 int cdb_file_lseek(int fd, off_t offset, int whence) { argument
234 return lseek(fd, offset, whence);
346 * 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 zend_long offset, count; local
163 if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Oll", &id, dom_characterdata_class_entry, &offset, &count) == FAILURE) {
176 if (offset < 0 || count < 0 || offset > length) {
182 if ((offset
242 zend_long offset; local
290 zend_long offset, count; local
346 zend_long offset, count; local
[all...]
H A Dtext.c33 ZEND_ARG_INFO(0, offset)
136 /* {{{ proto DOMText dom_text_split_text(int offset);
148 zend_long offset; local
152 if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Ol", &id, dom_text_class_entry, &offset) == FAILURE) {
167 if (offset > length || offset < 0) {
172 first = xmlUTF8Strndup(cur, offset);
173 second = xmlUTF8Strsub(cur, offset, length - offset);
235 * c-basic-offset
[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());
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_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/Zend/
H A Dzend_sort.c38 uint offset; local
48 offset = (end - begin) >> Z_L(1);
49 swp(begin, begin + (offset - (offset % siz)));
327 size_t offset = (nmemb >> Z_L(1)); local
328 char *pivot = start + (offset * siz);
331 size_t delta = (offset >> Z_L(1)) * siz;
380 * c-basic-offset: 4
H A Dzend_stream.c239 zend_long offset = ftell(file_handle->handle.fp); local
242 if (offset != -1) {
243 *buf += offset;
244 size -= offset;
H A Dzend_multiply.h123 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, int *overflow) argument
132 "rm"(offset));
144 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, int *overflow) argument
161 "rm"(offset));
174 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, int *overflow) argument
183 "0"(offset),
196 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, int *overflow) argument
205 "r"(offset));
217 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, int *overflow) argument
229 "r"(offset));
241 zend_safe_address(size_t nmemb, size_t size, size_t offset, int *overflow) argument
255 zend_safe_address(size_t nmemb, size_t size, size_t offset, int *overflow) argument
[all...]
/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_access_t mode, size_t *mapped_len) 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:__anon3
70 PHPAPI char *_php_stream_mmap_range(php_stream *stream, size_t offset, size_t length, php_stream_mmap_access_t mode, size_t *mapped_len);
71 #define php_stream_mmap_range(stream, offset, length, mode, mapped_len) _php_stream_mmap_range((stream), (offset), (length), (mode), (mapped_len))
84 * c-basic-offset: 4
/PHP_TRUNK/ext/shmop/
H A Dshmop.c73 ZEND_ARG_INFO(0, offset)
302 /* {{{ proto int shmop_write (int shmid, string data, int offset)
308 zend_long offset; local
312 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rSl", &shmid, &data, &offset) == FAILURE) {
325 if (offset < 0 || offset > shmop->size) {
326 php_error_docref(NULL, E_WARNING, "offset out of range");
330 writesize = (data->len < shmop->size - offset) ? data->len : shmop->size - offset;
331 memcpy(shmop->addr + offset, dat
[all...]
/PHP_TRUNK/ext/opcache/Optimizer/
H A Doptimize_temp_vars_5.c44 int offset = op_array->last_var; local
67 start_of_T[VAR_NUM(ZEND_RESULT(opline).var) - offset] = opline;
81 currT = VAR_NUM(ZEND_OP1(opline).var) - offset;
95 ZEND_OP1(opline).var = NUM_VAR(var + offset);
106 ZEND_OP1(opline).var = NUM_VAR(map_T[currT] + offset);
118 currT = VAR_NUM(ZEND_OP2(opline).var) - offset;
124 ZEND_OP2(opline).var = NUM_VAR(map_T[currT] + offset);
129 currT = VAR_NUM(opline->extended_value) - offset;
135 opline->extended_value = NUM_VAR(map_T[currT] + offset);
142 currT = VAR_NUM(ZEND_OP2(opline + 1).var) - offset;
[all...]
/PHP_TRUNK/ext/intl/breakiterator/
H A Dbreakiterator_methods.cpp224 spprintf(&msg, 0, "%s: offset argument is outside bounds of "
320 zend_long offset; local
325 &offset) == FAILURE) {
331 if (offset < INT32_MIN || offset > INT32_MAX) {
333 "breakiter_is_boundary: offset argument is outside bounds of "
340 UBool res = bio->biter->isBoundary((int32_t)offset);

Completed in 27 milliseconds

123456