✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ server366.web-hosting.com ​🇻​♯➤ 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP 🇾​♯➤ 2025

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 67.223.118.204 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.36
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ 𝗔𝗟𝗟 𝗪𝗢𝗥𝗞𝗜𝗡𝗚....

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /opt/alt/php84/usr/include/php/Zend//zend_ptr_stack.h
/*
   +----------------------------------------------------------------------+
   | Zend Engine                                                          |
   +----------------------------------------------------------------------+
   | Copyright (c) Zend Technologies Ltd. (http://www.zend.com)           |
   +----------------------------------------------------------------------+
   | This source file is subject to version 2.00 of the Zend license,     |
   | that is bundled with this package in the file LICENSE, and is        |
   | available through the world-wide-web at the following url:           |
   | http://www.zend.com/license/2_00.txt.                                |
   | If you did not receive a copy of the Zend license and are unable to  |
   | obtain it through the world-wide-web, please send a note to          |
   | license@zend.com so we can mail you a copy immediately.              |
   +----------------------------------------------------------------------+
   | Authors: Andi Gutmans <andi@php.net>                                 |
   |          Zeev Suraski <zeev@php.net>                                 |
   +----------------------------------------------------------------------+
*/

#ifndef ZEND_PTR_STACK_H
#define ZEND_PTR_STACK_H

#include "zend_alloc.h"

typedef struct _zend_ptr_stack {
	int top, max;
	void **elements;
	void **top_element;
	bool persistent;
} zend_ptr_stack;


#define PTR_STACK_BLOCK_SIZE 64

BEGIN_EXTERN_C()
ZEND_API void zend_ptr_stack_init(zend_ptr_stack *stack);
ZEND_API void zend_ptr_stack_init_ex(zend_ptr_stack *stack, bool persistent);
ZEND_API void zend_ptr_stack_n_push(zend_ptr_stack *stack, int count, ...);
ZEND_API void zend_ptr_stack_n_pop(zend_ptr_stack *stack, int count, ...);
ZEND_API void zend_ptr_stack_destroy(zend_ptr_stack *stack);
ZEND_API void zend_ptr_stack_apply(zend_ptr_stack *stack, void (*func)(void *));
ZEND_API void zend_ptr_stack_reverse_apply(zend_ptr_stack *stack, void (*func)(void *));
ZEND_API void zend_ptr_stack_clean(zend_ptr_stack *stack, void (*func)(void *), bool free_elements);
ZEND_API int zend_ptr_stack_num_elements(zend_ptr_stack *stack);
END_EXTERN_C()

#define ZEND_PTR_STACK_RESIZE_IF_NEEDED(stack, count)		\
	if (stack->top+count > stack->max) {					\
		/* we need to allocate more memory */				\
		do {												\
			stack->max += PTR_STACK_BLOCK_SIZE;				\
		} while (stack->top+count > stack->max);			\
		stack->elements = (void **) safe_perealloc(stack->elements, sizeof(void *), (stack->max), 0, stack->persistent);	\
		stack->top_element = stack->elements+stack->top;	\
	}

/*	Not doing this with a macro because of the loop unrolling in the element assignment.
	Just using a macro for 3 in the body for readability sake. */
static zend_always_inline void zend_ptr_stack_3_push(zend_ptr_stack *stack, void *a, void *b, void *c)
{
#define ZEND_PTR_STACK_NUM_ARGS 3

	ZEND_PTR_STACK_RESIZE_IF_NEEDED(stack, ZEND_PTR_STACK_NUM_ARGS)

	stack->top += ZEND_PTR_STACK_NUM_ARGS;
	*(stack->top_element++) = a;
	*(stack->top_element++) = b;
	*(stack->top_element++) = c;

#undef ZEND_PTR_STACK_NUM_ARGS
}

static zend_always_inline void zend_ptr_stack_2_push(zend_ptr_stack *stack, void *a, void *b)
{
#define ZEND_PTR_STACK_NUM_ARGS 2

	ZEND_PTR_STACK_RESIZE_IF_NEEDED(stack, ZEND_PTR_STACK_NUM_ARGS)

	stack->top += ZEND_PTR_STACK_NUM_ARGS;
	*(stack->top_element++) = a;
	*(stack->top_element++) = b;

#undef ZEND_PTR_STACK_NUM_ARGS
}

static zend_always_inline void zend_ptr_stack_3_pop(zend_ptr_stack *stack, void **a, void **b, void **c)
{
	*a = *(--stack->top_element);
	*b = *(--stack->top_element);
	*c = *(--stack->top_element);
	stack->top -= 3;
}

static zend_always_inline void zend_ptr_stack_2_pop(zend_ptr_stack *stack, void **a, void **b)
{
	*a = *(--stack->top_element);
	*b = *(--stack->top_element);
	stack->top -= 2;
}

static zend_always_inline void zend_ptr_stack_push(zend_ptr_stack *stack, void *ptr)
{
	ZEND_PTR_STACK_RESIZE_IF_NEEDED(stack, 1)

	stack->top++;
	*(stack->top_element++) = ptr;
}

static zend_always_inline void *zend_ptr_stack_pop(zend_ptr_stack *stack)
{
	stack->top--;
	return *(--stack->top_element);
}

static zend_always_inline void *zend_ptr_stack_top(zend_ptr_stack *stack)
{
    return stack->elements[stack->top - 1];
}

#endif /* ZEND_PTR_STACK_H */


Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
10 May 2026 8.14 PM
root / linksafe
0755
Optimizer
--
9 Jun 2026 5.05 AM
root / linksafe
0755
zend.h
17.342 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_API.h
106.402 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_alloc.h
20.216 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_alloc_sizes.h
2.567 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_arena.h
5.938 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_ast.h
13.466 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_atomic.h
12.774 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_attributes.h
5.774 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_attributes_arginfo.h
14.182 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_bitset.h
7.894 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_build.h
1.588 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_builtin_functions.h
1.536 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_builtin_functions_arginfo.h
14.872 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_call_stack.h
3.027 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_closures.h
2.261 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_closures_arginfo.h
2.016 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_compile.h
52.197 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_config.h
0.031 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_constants.h
6.961 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_constants_arginfo.h
1.849 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_cpuinfo.h
9.29 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_dtrace.h
2.003 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_enum.h
2.859 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_enum_arginfo.h
1.651 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_errors.h
2.359 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_exceptions.h
4.539 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_exceptions_arginfo.h
17.264 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_execute.h
23.402 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_extensions.h
6.434 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_fibers.h
5.285 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_fibers_arginfo.h
3.447 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_float.h
15.105 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_frameless_function.h
5.389 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_gc.h
4.578 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_gdb.h
1.387 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_generators.h
7.484 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_generators_arginfo.h
2.821 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_globals.h
9.77 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_globals_macros.h
2.774 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_hash.h
50.358 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_highlight.h
2.267 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_hrtime.h
3.752 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_inheritance.h
3.111 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_ini.h
11.878 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_ini_parser.h
2.688 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_ini_scanner.h
1.932 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_ini_scanner_defs.h
0.24 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_interfaces.h
4.021 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_interfaces_arginfo.h
7.655 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_iterators.h
3.81 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_language_parser.h
6.057 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_language_scanner.h
2.999 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_language_scanner_defs.h
0.303 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_lazy_objects.h
4.608 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_list.h
3.401 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_llist.h
3.938 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_long.h
4.128 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_map_ptr.h
3.487 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_max_execution_timer.h
1.449 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_mmap.h
1.477 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_modules.h
4.713 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_multibyte.h
4.83 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_multiply.h
10.061 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_object_handlers.h
17.661 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_objects.h
1.896 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_objects_API.h
5.476 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_observer.h
8.824 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_operators.h
33.261 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_portability.h
26.802 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_property_hooks.h
1.781 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_ptr_stack.h
4.22 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_range_check.h
2.93 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_signal.h
4.009 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_smart_str.h
6.88 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_smart_str_public.h
1.193 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_smart_string.h
4.108 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_smart_string_public.h
1.211 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_sort.h
1.523 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_stack.h
2.385 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_stream.h
3.556 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_string.h
22.161 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_strtod.h
2.289 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_strtod_int.h
2.807 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_system_id.h
1.391 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_type_info.h
4.438 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_types.h
51.06 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_variables.h
3.016 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_verify_type_inference.h
8.068 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_virtual_cwd.h
12.907 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_vm.h
2.063 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_vm_def.h
295.601 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_vm_execute.h
2.17 MB
10 May 2026 8.14 PM
root / linksafe
0644
zend_vm_handlers.h
90.538 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_vm_opcodes.h
13.495 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_vm_trace_handlers.h
3.141 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_vm_trace_lines.h
1.714 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_vm_trace_map.h
2.603 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_weakrefs.h
3.15 KB
10 May 2026 8.14 PM
root / linksafe
0644
zend_weakrefs_arginfo.h
3.359 KB
10 May 2026 8.14 PM
root / linksafe
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF