Lines Matching refs:position
131 size_t position; member
145 if (sqlite3_stream->position + count > sqlite3_stream->size) { in php_pdosqlite3_stream_write()
150 if (sqlite3_blob_write(sqlite3_stream->blob, buf, count, sqlite3_stream->position) != SQLITE_OK) { in php_pdosqlite3_stream_write()
154 if (sqlite3_stream->position + count >= sqlite3_stream->size) { in php_pdosqlite3_stream_write()
156 sqlite3_stream->position = sqlite3_stream->size; in php_pdosqlite3_stream_write()
159 sqlite3_stream->position += count; in php_pdosqlite3_stream_write()
169 if (sqlite3_stream->position + count >= sqlite3_stream->size) { in php_pdosqlite3_stream_read()
170 count = sqlite3_stream->size - sqlite3_stream->position; in php_pdosqlite3_stream_read()
174 if (sqlite3_blob_read(sqlite3_stream->blob, buf, count, sqlite3_stream->position) != SQLITE_OK) { in php_pdosqlite3_stream_read()
177 sqlite3_stream->position += count; in php_pdosqlite3_stream_read()
208 if (sqlite3_stream->position < (size_t)(-offset)) { in php_pdosqlite3_stream_seek()
209 sqlite3_stream->position = 0; in php_pdosqlite3_stream_seek()
213 sqlite3_stream->position = sqlite3_stream->position + offset; in php_pdosqlite3_stream_seek()
214 *newoffs = sqlite3_stream->position; in php_pdosqlite3_stream_seek()
219 if (sqlite3_stream->position + (size_t)(offset) > sqlite3_stream->size) { in php_pdosqlite3_stream_seek()
220 sqlite3_stream->position = sqlite3_stream->size; in php_pdosqlite3_stream_seek()
224 sqlite3_stream->position = sqlite3_stream->position + offset; in php_pdosqlite3_stream_seek()
225 *newoffs = sqlite3_stream->position; in php_pdosqlite3_stream_seek()
232 sqlite3_stream->position = sqlite3_stream->size; in php_pdosqlite3_stream_seek()
236 sqlite3_stream->position = offset; in php_pdosqlite3_stream_seek()
237 *newoffs = sqlite3_stream->position; in php_pdosqlite3_stream_seek()
243 sqlite3_stream->position = sqlite3_stream->size; in php_pdosqlite3_stream_seek()
247 sqlite3_stream->position = 0; in php_pdosqlite3_stream_seek()
251 sqlite3_stream->position = sqlite3_stream->size + offset; in php_pdosqlite3_stream_seek()
252 *newoffs = sqlite3_stream->position; in php_pdosqlite3_stream_seek()
257 *newoffs = sqlite3_stream->position; in php_pdosqlite3_stream_seek()
319 sqlite3_stream->position = 0; in PHP_METHOD()