Searched refs:readonly (Results 1 - 9 of 9) sorted by relevance

/PHP_5_3/ext/sqlite3/libsqlite/
H A Dsqlite3.c937 #define SQLITE_READONLY 8 /* Attempt to write a readonly database */
3076 ** <tr><td> file:data.db?mode=readonly <td>
3077 ** An error. "readonly" is not a valid option for the "mode" parameter.
7947 #define BTREE_NO_READLOCK 2 /* Omit readlocks on readonly files */
8616 #define PAGER_NO_READLOCK 0x0002 /* Omit readlocks on readonly files */
[all...]
/PHP_5_3/ext/dba/libinifile/
H A Dinifile.c83 inifile * inifile_alloc(php_stream *fp, int readonly, int persistent TSRMLS_DC) argument
87 if (!readonly) {
97 dba->readonly = readonly;
H A Dinifile.h43 int readonly; member in struct:__anon40
63 inifile * inifile_alloc(php_stream *fp, int readonly, int persistent TSRMLS_DC);
/PHP_5_3/ext/phar/
H A Ddirstream.c444 /* pre-readonly check, we need to know if this is a data phar */
457 if (PHAR_G(readonly) && (!phar || !phar->is_data)) {
581 /* pre-readonly check, we need to know if this is a data phar */
594 if (PHAR_G(readonly) && (!phar || !phar->is_data)) {
H A Dphar.c86 PHAR_G(readonly) = ini;
200 STD_PHP_INI_BOOLEAN( "phar.readonly", "1", PHP_INI_ALL, phar_ini_modify_handler, readonly, zend_phar_globals, phar_globals)
567 if (PHAR_G(readonly) && FAILURE == zend_hash_find(&(phar->manifest), ".phar/stub.php", sizeof(".phar/stub.php")-1, (void **)&stub)) {
1286 if (PHAR_G(readonly) && !(*test)->is_data && ((*test)->is_tar || (*test)->is_zip)) {
1294 if (!PHAR_G(readonly) || (*test)->is_data) {
1339 /* first open readonly so it won't be created if not present */
1349 if ((*pphar)->is_data || !PHAR_G(readonly)) {
1369 if (PHAR_G(readonly) && !is_data) {
1372 spprintf(error, 0, "creating archive \"%s\" disabled by the php.ini setting phar.readonly", fnam
[all...]
H A Dphar_internal.h161 int readonly; variable
H A Dstream.c109 if (PHAR_G(readonly) && (!pphar || !(*pphar)->is_data)) {
111 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: write operations disabled by the php.ini setting phar.readonly");
722 if (PHAR_G(readonly) && (!pphar || !(*pphar)->is_data)) {
724 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: write operations disabled by the php.ini setting phar.readonly");
787 if (PHAR_G(readonly) && (!pfrom || !pfrom->is_data)) {
789 php_error_docref(NULL TSRMLS_CC, E_WARNING, "phar error: Write operations disabled by the php.ini setting phar.readonly");
804 if (PHAR_G(readonly) && (!pto || !pto->is_data)) {
806 php_error_docref(NULL TSRMLS_CC, E_WARNING, "phar error: Write operations disabled by the php.ini setting phar.readonly");
H A Dphar_object.c1083 RETURN_BOOL(!PHAR_G(readonly));
1818 if (PHAR_G(readonly) && !phar_obj->arc.archive->is_data) {
1960 if (PHAR_G(readonly) && !phar_obj->arc.archive->is_data) {
2445 if (PHAR_G(readonly)) {
2656 * Returns true if phar.readonly=0 or phar is a PharData AND the actual file is writable.
2694 if (PHAR_G(readonly) && !phar_obj->arc.archive->is_data) {
2778 if (PHAR_G(readonly) && !phar_obj->arc.archive->is_data) {
2925 if (PHAR_G(readonly) && !phar_obj->arc.archive->is_data) {
2954 if (PHAR_G(readonly) && !phar_obj->arc.archive->is_data) {
3051 if (PHAR_G(readonly)) {
[all...]
H A Dutil.c599 if (for_write && PHAR_G(readonly) && !phar->is_data) {
614 if ((entry = phar_get_entry_info_dir(phar, path, path_len, allow_dir, for_create && !PHAR_G(readonly) && !phar->is_data ? NULL : error, security TSRMLS_CC)) == NULL) {
615 if (for_create && (!PHAR_G(readonly) || phar->is_data)) {
621 if ((entry = phar_get_entry_info(phar, path, path_len, for_create && !PHAR_G(readonly) && !phar->is_data ? NULL : error, security TSRMLS_CC)) == NULL) {
622 if (for_create && (!PHAR_G(readonly) || phar->is_data)) {

Completed in 167 milliseconds