Lines Matching refs:manifest
192 static php_stream *phar_make_dirstream(char *dir, HashTable *manifest TSRMLS_DC) /* {{{ */ in phar_make_dirstream()
204 …if ((*dir == '/' && dirlen == 1 && (manifest->nNumOfElements == 0)) || (dirlen >= sizeof(".phar")-… in phar_make_dirstream()
211 zend_hash_internal_pointer_reset(manifest); in phar_make_dirstream()
213 while (FAILURE != zend_hash_has_more_elements(manifest)) { in phar_make_dirstream()
214 …if (HASH_KEY_NON_EXISTANT == zend_hash_get_current_key_ex(manifest, &key, &keylen, &unused, 0, NUL… in phar_make_dirstream()
223 if (SUCCESS != zend_hash_move_forward(manifest)) { in phar_make_dirstream()
235 if (SUCCESS != zend_hash_move_forward(manifest)) { in phar_make_dirstream()
259 if (SUCCESS != zend_hash_move_forward(manifest)) { in phar_make_dirstream()
266 if (SUCCESS != zend_hash_move_forward(manifest)) { in phar_make_dirstream()
300 if (SUCCESS != zend_hash_move_forward(manifest)) { in phar_make_dirstream()
379 ret = phar_make_dirstream(internal_file, &phar->manifest TSRMLS_CC); in phar_wrapper_open_dir()
384 if (!phar->manifest.arBuckets) { in phar_wrapper_open_dir()
389 …if (SUCCESS == zend_hash_find(&phar->manifest, internal_file, strlen(internal_file), (void**)&entr… in phar_wrapper_open_dir()
399 return phar_make_dirstream(internal_file, &phar->manifest TSRMLS_CC); in phar_wrapper_open_dir()
404 zend_hash_internal_pointer_reset(&phar->manifest); in phar_wrapper_open_dir()
405 while (FAILURE != zend_hash_has_more_elements(&phar->manifest)) { in phar_wrapper_open_dir()
408 &phar->manifest, &key, &keylen, &unused, 0, NULL)) { in phar_wrapper_open_dir()
416 return phar_make_dirstream(internal_file, &phar->manifest TSRMLS_CC); in phar_wrapper_open_dir()
421 if (SUCCESS != zend_hash_move_forward(&phar->manifest)) { in phar_wrapper_open_dir()
543 …if (SUCCESS != zend_hash_add(&phar->manifest, entry.filename, entry.filename_len, (void*)&entry, s… in phar_wrapper_mkdir()
554 zend_hash_del(&phar->manifest, entry.filename, entry.filename_len); in phar_wrapper_mkdir()
639 for (zend_hash_internal_pointer_reset(&phar->manifest); in phar_wrapper_rmdir()
640 …HASH_KEY_NON_EXISTANT != zend_hash_get_current_key_ex(&phar->manifest, &key, &key_len, &unused, 0,… in phar_wrapper_rmdir()
641 zend_hash_move_forward(&phar->manifest)) { in phar_wrapper_rmdir()