php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
zend_smart_str.h File Reference
#include <zend.h>
#include "zend_globals.h"
#include "zend_smart_str_public.h"

Go to the source code of this file.

Functions

ZEND_API void ZEND_FASTCALL smart_str_erealloc (smart_str *str, size_t len)
 
ZEND_API void ZEND_FASTCALL smart_str_realloc (smart_str *str, size_t len)
 
ZEND_API void ZEND_FASTCALL smart_str_append_escaped (smart_str *str, const char *s, size_t l)
 
ZEND_API void ZEND_FASTCALL smart_str_append_double (smart_str *str, double num, int precision, bool zero_fraction)
 
ZEND_API void smart_str_append_printf (smart_str *dest, const char *format,...) ZEND_ATTRIBUTE_FORMAT(printf
 
ZEND_API void ZEND_API void ZEND_FASTCALL smart_str_append_escaped_truncated (smart_str *str, const zend_string *value, size_t length)
 
ZEND_API void ZEND_FASTCALL smart_str_append_scalar (smart_str *str, const zval *value, size_t truncate)
 
ZEND_API zend_result ZEND_FASTCALL smart_str_append_zval (smart_str *dest, const zval *value, size_t truncate)
 

Function Documentation

◆ smart_str_append_double()

ZEND_API void ZEND_FASTCALL smart_str_append_double ( smart_str * str,
double num,
int precision,
bool zero_fraction )

Definition at line 116 of file zend_smart_str.c.

◆ smart_str_append_escaped()

ZEND_API void ZEND_FASTCALL smart_str_append_escaped ( smart_str * str,
const char * s,
size_t l )

Definition at line 77 of file zend_smart_str.c.

◆ smart_str_append_escaped_truncated()

ZEND_API void ZEND_API void ZEND_FASTCALL smart_str_append_escaped_truncated ( smart_str * str,
const zend_string * value,
size_t length )

Definition at line 185 of file zend_smart_str.c.

◆ smart_str_append_printf()

ZEND_API void smart_str_append_printf ( smart_str * dest,
const char * format,
... )

◆ smart_str_append_scalar()

ZEND_API void ZEND_FASTCALL smart_str_append_scalar ( smart_str * str,
const zval * value,
size_t truncate )

Definition at line 194 of file zend_smart_str.c.

◆ smart_str_append_zval()

ZEND_API zend_result ZEND_FASTCALL smart_str_append_zval ( smart_str * dest,
const zval * value,
size_t truncate )

Definition at line 226 of file zend_smart_str.c.

◆ smart_str_erealloc()

ZEND_API void ZEND_FASTCALL smart_str_erealloc ( smart_str * str,
size_t len )

Definition at line 30 of file zend_smart_str.c.

◆ smart_str_realloc()

ZEND_API void ZEND_FASTCALL smart_str_realloc ( smart_str * str,
size_t len )

Definition at line 44 of file zend_smart_str.c.