Lines Matching refs:pos_grp_start
322 static int inifile_find_group(inifile *dba, const key_type *key, size_t *pos_grp_start) in inifile_find_group() argument
341 *pos_grp_start = php_stream_tell(dba->fp); in inifile_find_group()
345 *pos_grp_start = 0; in inifile_find_group()
349 *pos_grp_start = php_stream_tell(dba->fp); in inifile_find_group()
359 static int inifile_next_group(inifile *dba, const key_type *key, size_t *pos_grp_start) in inifile_next_group() argument
364 *pos_grp_start = php_stream_tell(dba->fp); in inifile_next_group()
371 *pos_grp_start = php_stream_tell(dba->fp); in inifile_next_group()
458 size_t pos_grp_start=0, pos_grp_next; in inifile_delete_replace_append() local
477 inifile_find_group(dba, key, &pos_grp_start); in inifile_delete_replace_append()
482 ret = inifile_copy_to(dba, pos_grp_start, pos_grp_next, &ini_tmp); in inifile_delete_replace_append()
506 ret = inifile_truncate(dba, append ? pos_grp_next : pos_grp_start); /* writes error on fail */ in inifile_delete_replace_append()
522 if (pos_grp_start == pos_grp_next && key->group && strlen(key->group)) { in inifile_delete_replace_append()