/PHP-8.0/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, zend_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, zend_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, zend_bool *found) in inifile_filter() [all …]
|
/PHP-8.0/ext/dba/ |
H A D | dba_inifile.c | 36 inifile *dba = info->dbf 49 DBA_OPEN_FUNC(inifile) in DBA_OPEN_FUNC() argument 56 DBA_CLOSE_FUNC(inifile) in DBA_CLOSE_FUNC() argument 63 DBA_FETCH_FUNC(inifile) in DBA_FETCH_FUNC() argument 76 DBA_UPDATE_FUNC(inifile) in DBA_UPDATE_FUNC() argument 104 DBA_EXISTS_FUNC(inifile) in DBA_EXISTS_FUNC() argument 120 DBA_DELETE_FUNC(inifile) in DBA_DELETE_FUNC() argument 134 DBA_FIRSTKEY_FUNC(inifile) in DBA_FIRSTKEY_FUNC() argument 147 DBA_NEXTKEY_FUNC(inifile) in DBA_NEXTKEY_FUNC() argument 170 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 | 254 DBA_HND(inifile, DBA_STREAM_OPEN|DBA_LOCK_ALL|DBA_CAST_AS_FD) /* No lock in lib */
|
/PHP-8.0/ext/dba/tests/ |
H A D | bug70825.phpt | 6 if (!in_array('inifile', dba_handlers())) die('skip inifile handler not available'); 12 $db = dba_open($filename, 'n', 'inifile'); 22 $db = dba_open($filename, 'n', 'inifile'); 32 $db = dba_open($filename, 'n', 'inifile'); 42 $db = dba_open($filename, 'n', 'inifile');
|
H A D | bug71514.phpt | 6 if (!in_array('inifile', dba_handlers())) die('skip inifile handler not available'); 12 $db = dba_open($filename, 'c', 'inifile');
|
H A D | bug62490.phpt | 2 Bug #62490 (dba_delete returns true on missing item (inifile)) 5 $handler = "inifile"; 10 $handler = "inifile";
|
H A D | dba_inifile.phpt | 5 $handler = 'inifile'; 10 $handler = 'inifile'; 19 database handler: inifile
|
/PHP-8.0/ext/standard/tests/ini_info/ |
H A D | php_ini_loaded_file.phpt | 5 $inifile = __DIR__.DIRECTORY_SEPARATOR.'loaded.ini'; 13 passthru($php.' -c "'.$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'), $inifile);
|
/PHP-8.0/ |
H A D | .gitattributes | 4 /ext/dba/libinifile/inifile.c ident
|
/PHP-8.0/.github/actions/configure-x64/ |
H A D | action.yml | 67 --enable-inifile \
|