/PHP-8.3/ext/dba/libinifile/ |
H A D | inifile.h | 42 } 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 D | inifile.c | 82 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-8.3/ext/dba/ |
H A D | dba_inifile.c | 35 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 D | php_inifile.h | 8 DBA_FUNCS(inifile);
|
H A D | config.w32 | 12 ADD_SOURCES("ext/dba/libinifile", "inifile.c", "dba");
|
H A D | config.m4 | 628 PHP_ARG_ENABLE([inifile],, 629 [AS_HELP_STRING([--disable-inifile], 679 ini_sources="libinifile/inifile.c" 682 PHP_DBA_STD_RESULT(inifile, [INI File])
|
H A D | dba.c | 191 DBA_HND(inifile, DBA_STREAM_OPEN|DBA_LOCK_ALL|DBA_CAST_AS_FD) /* No lock in lib */
|
/PHP-8.3/ext/dba/tests/ |
H A D | bug70825.phpt | 7 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 D | bug71514.phpt | 7 if (!in_array('inifile', dba_handlers())) die('skip inifile handler not available'); 13 $db = dba_open($filename, 'c', 'inifile');
|
H A D | dba_array_keys_inifile.phpt | 2 DBA check behaviour of array keys (inifile version) 8 check_skip('inifile'); 15 $db = dba_open($name, 'c', 'inifile');
|
H A D | gh16390.phpt | 8 $db = dba_open($file, 'c', 'inifile'); 11 Warning: dba_open(): Driver initialization failed for handler: inifile: Unable to determine path fo…
|
H A D | dba_inifile.phpt | 8 check_skip('inifile'); 15 $handler = 'inifile';
|
H A D | dba_inifile_creation_matrix.phpt | 8 check_skip('inifile'); 14 $handler = 'inifile'; 21 $handler = 'inifile';
|
/PHP-8.3/ext/standard/tests/ini_info/ |
H A D | php_ini_loaded_file.phpt | 5 $inifile = __DIR__.DIRECTORY_SEPARATOR.'loaded.ini'; 13 passthru($php.' -c '.escapeshellarg($inifile).' -r '.$code);
|
H A D | php_ini_scanned_files.phpt | 5 $inifile = __DIR__.DIRECTORY_SEPARATOR.'loaded.ini'; 6 $php = sprintf('%s -c %s', getenv('TEST_PHP_EXECUTABLE_ESCAPED'), escapeshellarg($inifile));
|
/PHP-8.3/ |
H A D | .gitattributes | 4 /ext/dba/libinifile/inifile.c ident
|
/PHP-8.3/.github/actions/configure-x64/ |
H A D | action.yml | 74 --enable-inifile \
|
/PHP-8.3/.circleci/ |
H A D | config.yml | 149 --enable-inifile \
|
/PHP-8.3/ext/dba/tests/setup/ |
H A D | setup_dba_tests.inc | 29 if ($handler !== 'cdb' && $handler !== 'cdb_make' && $handler !== 'inifile') {
|