Lines Matching refs:pos_start
387 static int inifile_copy_to(inifile *dba, size_t pos_start, size_t pos_end, inifile **ini_copy) in inifile_copy_to() argument
391 if (pos_start == pos_end) { in inifile_copy_to()
405 php_stream_seek(dba->fp, pos_start, SEEK_SET); in inifile_copy_to()
406 if (SUCCESS != php_stream_copy_to_stream_ex(dba->fp, fp, pos_end - pos_start, NULL)) { in inifile_copy_to()
407 …ocref(NULL, E_WARNING, "Could not copy group [%zu - %zu] to temporary stream", pos_start, pos_end); in inifile_copy_to()
419 size_t pos_start = 0, pos_next = 0, pos_curr; in inifile_filter() local
432 if (pos_start != pos_next) { in inifile_filter()
433 php_stream_seek(from->fp, pos_start, SEEK_SET); in inifile_filter()
434 if (SUCCESS != php_stream_copy_to_stream_ex(from->fp, dba->fp, pos_next - pos_start, NULL)) { in inifile_filter()
435 …r_docref(NULL, E_WARNING, "Could not copy [%zu - %zu] from temporary stream", pos_next, pos_start); in inifile_filter()
440 pos_next = pos_start = pos_curr; in inifile_filter()
451 if (pos_start != pos_next) { in inifile_filter()
452 php_stream_seek(from->fp, pos_start, SEEK_SET); in inifile_filter()
453 if (SUCCESS != php_stream_copy_to_stream_ex(from->fp, dba->fp, pos_next - pos_start, NULL)) { in inifile_filter()
454 …r_docref(NULL, E_WARNING, "Could not copy [%zu - %zu] from temporary stream", pos_next, pos_start); in inifile_filter()