Lines Matching refs:pos_start
379 static int inifile_copy_to(inifile *dba, size_t pos_start, size_t pos_end, inifile **ini_copy) in inifile_copy_to() argument
383 if (pos_start == pos_end) { in inifile_copy_to()
397 php_stream_seek(dba->fp, pos_start, SEEK_SET); in inifile_copy_to()
398 if (SUCCESS != php_stream_copy_to_stream_ex(dba->fp, fp, pos_end - pos_start, NULL)) { in inifile_copy_to()
399 …ocref(NULL, E_WARNING, "Could not copy group [%zu - %zu] to temporary stream", pos_start, pos_end); in inifile_copy_to()
411 size_t pos_start = 0, pos_next = 0, pos_curr; in inifile_filter() local
424 if (pos_start != pos_next) { in inifile_filter()
425 php_stream_seek(from->fp, pos_start, SEEK_SET); in inifile_filter()
426 if (SUCCESS != php_stream_copy_to_stream_ex(from->fp, dba->fp, pos_next - pos_start, NULL)) { in inifile_filter()
427 …r_docref(NULL, E_WARNING, "Could not copy [%zu - %zu] from temporary stream", pos_next, pos_start); in inifile_filter()
432 pos_next = pos_start = pos_curr; in inifile_filter()
443 if (pos_start != pos_next) { in inifile_filter()
444 php_stream_seek(from->fp, pos_start, SEEK_SET); in inifile_filter()
445 if (SUCCESS != php_stream_copy_to_stream_ex(from->fp, dba->fp, pos_next - pos_start, NULL)) { in inifile_filter()
446 …r_docref(NULL, E_WARNING, "Could not copy [%zu - %zu] from temporary stream", pos_next, pos_start); in inifile_filter()