Home
last modified time | relevance | path

Searched refs:inifile (Results 1 – 20 of 20) sorted by relevance

/php-src/ext/dba/libinifile/
H A Dinifile.h42 } inifile; typedef
44 val_type inifile_fetch(inifile *dba, const key_type *key, int skip);
45 int inifile_firstkey(inifile *dba);
46 int inifile_nextkey(inifile *dba);
47 int inifile_delete(inifile *dba, const key_type *key);
48 int inifile_delete_ex(inifile *dba, const key_type *key, bool *found);
49 int inifile_replace(inifile *dba, const key_type *key, const val_type *val);
50 int inifile_replace_ex(inifile *dba, const key_type *key, const val_type *val, bool *found);
51 int inifile_append(inifile *dba, const key_type *key, const val_type *val);
61 inifile * inifile_alloc(php_stream *fp, int readonly, int persistent);
[all …]
H A Dinifile.c82 inifile *dba; in inifile_alloc()
91 dba = pemalloc(sizeof(inifile), persistent); in inifile_alloc()
92 memset(dba, 0, sizeof(inifile)); in inifile_alloc()
100 void inifile_free(inifile *dba, int persistent) in inifile_free()
164 static int inifile_read(inifile *dba, line_type *ln) { in inifile_read()
284 int inifile_firstkey(inifile *dba) { in inifile_firstkey()
292 int inifile_nextkey(inifile *dba) { in inifile_nextkey()
306 static int inifile_truncate(inifile *dba, size_t size) in inifile_truncate()
379 static int inifile_copy_to(inifile *dba, size_t pos_start, size_t pos_end, inifile **ini_copy) in inifile_copy_to()
409 static int inifile_filter(inifile *dba, inifile *from, const key_type *key, bool *found) in inifile_filter()
[all …]
/php-src/ext/dba/
H A Ddba_inifile.c35 DBA_OPEN_FUNC(inifile) in DBA_OPEN_FUNC() argument
42 DBA_CLOSE_FUNC(inifile) in DBA_CLOSE_FUNC() argument
44 inifile *dba = info->dbf; in DBA_CLOSE_FUNC()
49 DBA_FETCH_FUNC(inifile) in DBA_FETCH_FUNC() argument
51 inifile *dba = info->dbf; in DBA_FETCH_FUNC()
71 DBA_UPDATE_FUNC(inifile) in DBA_UPDATE_FUNC() argument
73 inifile *dba = info->dbf; in DBA_UPDATE_FUNC()
105 DBA_EXISTS_FUNC(inifile) in DBA_EXISTS_FUNC() argument
126 DBA_DELETE_FUNC(inifile) in DBA_DELETE_FUNC() argument
183 DBA_SYNC_FUNC(inifile) in DBA_SYNC_FUNC() argument
[all …]
H A Dphp_inifile.h8 DBA_FUNCS(inifile);
H A Dconfig.w3212 ADD_SOURCES("ext/dba/libinifile", "inifile.c", "dba");
H A Dconfig.m4717 PHP_ARG_ENABLE([inifile],,
718 [AS_HELP_STRING([--disable-inifile],
771 [Define to 1 if the dba extension uses the bundled inifile handler.])
772 ini_sources="libinifile/inifile.c"
775 PHP_DBA_STD_RESULT([inifile], [INI File])
H A Ddba.c193 DBA_HND(inifile, DBA_STREAM_OPEN|DBA_LOCK_ALL|DBA_CAST_AS_FD) /* No lock in lib */
/php-src/ext/dba/tests/
H A Dbug70825.phpt7 if (!in_array('inifile', dba_handlers())) die('skip inifile handler not available');
13 $db = dba_open($filename, 'n', 'inifile');
23 $db = dba_open($filename, 'n', 'inifile');
33 $db = dba_open($filename, 'n', 'inifile');
43 $db = dba_open($filename, 'n', 'inifile');
H A Dbug71514.phpt7 if (!in_array('inifile', dba_handlers())) die('skip inifile handler not available');
13 $db = dba_open($filename, 'c', 'inifile');
H A Ddba_array_keys_inifile.phpt2 DBA check behaviour of array keys (inifile version)
8 check_skip('inifile');
15 $db = dba_open($name, 'c', 'inifile');
H A Dgh16390.phpt8 $db = dba_open($file, 'c', 'inifile');
11 Warning: dba_open(): Driver initialization failed for handler: inifile: Unable to determine path fo…
H A Ddba_inifile.phpt8 check_skip('inifile');
15 $handler = 'inifile';
H A Ddba_inifile_creation_matrix.phpt8 check_skip('inifile');
14 $handler = 'inifile';
21 $handler = 'inifile';
/php-src/ext/standard/tests/ini_info/
H A Dphp_ini_loaded_file.phpt5 $inifile = __DIR__.DIRECTORY_SEPARATOR.'loaded.ini';
13 passthru($php.' -c '.escapeshellarg($inifile).' -r '.$code);
H A Dphp_ini_scanned_files.phpt5 $inifile = __DIR__.DIRECTORY_SEPARATOR.'loaded.ini';
6 $php = sprintf('%s -c %s', getenv('TEST_PHP_EXECUTABLE_ESCAPED'), escapeshellarg($inifile));
/php-src/
H A D.gitattributes4 /ext/dba/libinifile/inifile.c ident
/php-src/.github/actions/configure-alpine/
H A Daction.yml69 --enable-inifile \
/php-src/.github/actions/configure-x64/
H A Daction.yml72 --enable-inifile \
/php-src/.circleci/
H A Dconfig.yml141 --enable-inifile \
/php-src/ext/dba/tests/setup/
H A Dsetup_dba_tests.inc29 if ($handler !== 'cdb' && $handler !== 'cdb_make' && $handler !== 'inifile') {

Completed in 24 milliseconds