Home
last modified time | relevance | path

Searched refs:new_offset (Results 1 – 5 of 5) sorted by relevance

/PHP-7.0/ext/zip/lib/
H A Dzip_source_seek.c61 zip_int64_t new_offset; in zip_source_seek_compute_offset() local
70 new_offset = (zip_int64_t)offset + args->offset; in zip_source_seek_compute_offset()
74 new_offset = (zip_int64_t)length + args->offset; in zip_source_seek_compute_offset()
78 new_offset = args->offset; in zip_source_seek_compute_offset()
86 if (new_offset < 0 || (zip_uint64_t)new_offset > length) { in zip_source_seek_compute_offset()
91 return new_offset; in zip_source_seek_compute_offset()
H A Dzip_source_window.c183 …zip_int64_t new_offset = zip_source_seek_compute_offset(ctx->offset - ctx->start, ctx->end - ctx->… in window_read() local
185 if (new_offset < 0) { in window_read()
189 ctx->offset = (zip_uint64_t)new_offset + ctx->start; in window_read()
H A Dzip_source_buffer.c363 …zip_int64_t new_offset = zip_source_seek_compute_offset(buffer->offset, buffer->size, data, len, e… in buffer_seek() local
365 if (new_offset < 0) { in buffer_seek()
369 buffer->offset = (zip_uint64_t)new_offset; in buffer_seek()
H A Dzip_source_win32handle.c273 LARGE_INTEGER new_offset; in _win32_read_file() local
279 if (!SetFilePointerEx(ctx->h, zero, &new_offset, FILE_CURRENT)) { in _win32_read_file()
283 new_current = new_offset.QuadPart; in _win32_read_file()
/PHP-7.0/ext/date/
H A Dphp_date.c2555 timelib_sll new_offset = 0; in php_date_initialize() local
2590 new_offset = tzobj->tzi.utc_offset; in php_date_initialize()
2593 new_offset = tzobj->tzi.z.utc_offset; in php_date_initialize()
2612 now->z = new_offset; in php_date_initialize()
2615 now->z = new_offset; in php_date_initialize()

Completed in 44 milliseconds