Lines Matching refs:is_data
44 if (!phar->is_data) {
489 static zend_result phar_open_parsed_phar(char *fname, size_t fname_len, char *alias, size_t alias_len, bool is_data, uint32_t options, phar_archive_data** pphar, char **error) /* {{{ */
526 if (!is_data) {
1310 zend_result phar_open_or_create_filename(char *fname, size_t fname_len, char *alias, size_t alias_len, bool is_data, uint32_t options, phar_archive_data** pphar, char **error) /* {{{ */
1324 if (phar_detect_phar_fname_ext(fname, fname_len, &ext_str, &ext_len, !is_data, 0, 1) == SUCCESS) {
1329 if (FAILURE == phar_detect_phar_fname_ext(fname, fname_len, &ext_str, &ext_len, !is_data, 1, 1)) {
1340 if (phar_open_parsed_phar(fname, fname_len, alias, alias_len, is_data, options, test, &my_error) == SUCCESS) {
1345 if ((*test)->is_data && !(*test)->is_tar && !(*test)->is_zip) {
1352 if (PHAR_G(readonly) && !(*test)->is_data && ((*test)->is_tar || (*test)->is_zip)) {
1360 if (!PHAR_G(readonly) || (*test)->is_data) {
1375 return phar_open_or_create_zip(fname, fname_len, alias, alias_len, is_data, options, pphar, error);
1380 return phar_open_or_create_tar(fname, fname_len, alias, alias_len, is_data, options, pphar, error);
1383 return phar_create_or_parse_filename(fname, fname_len, alias, alias_len, is_data, options, pphar, error);
1389 zend_result phar_create_or_parse_filename(char *fname, size_t fname_len, char *alias, size_t alias_len, bool is_data, uint32_t options, phar_archive_data** pphar, char **error) /* {{{ */
1413 if ((*pphar)->is_data || !PHAR_G(readonly)) {
1433 if (PHAR_G(readonly) && !is_data) {
1484 if (is_data) {
1487 mydata->is_data = 1;
1546 bool is_data = false;
1553 is_data = true;
1556 if (phar_open_parsed_phar(fname, fname_len, alias, alias_len, is_data, options, pphar, error) == SUCCESS) {
2014 if (executable == 1 && !pphar->is_data) {
2018 if (!executable && pphar->is_data) {