php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
conv.h File Reference
#include "lexbor/core/base.h"

Go to the source code of this file.

Functions

LXB_API size_t lexbor_conv_float_to_data (double num, lxb_char_t *buf, size_t len)
 
LXB_API size_t lexbor_conv_long_to_data (long num, lxb_char_t *buf, size_t len)
 
LXB_API size_t lexbor_conv_int64_to_data (int64_t num, lxb_char_t *buf, size_t len)
 
LXB_API double lexbor_conv_data_to_double (const lxb_char_t **start, size_t len)
 
LXB_API unsigned long lexbor_conv_data_to_ulong (const lxb_char_t **data, size_t length)
 
LXB_API long lexbor_conv_data_to_long (const lxb_char_t **data, size_t length)
 
LXB_API unsigned lexbor_conv_data_to_uint (const lxb_char_t **data, size_t length)
 
LXB_API size_t lexbor_conv_dec_to_hex (uint32_t number, lxb_char_t *out, size_t length)
 
lxb_inline long lexbor_conv_double_to_long (double number)
 

Function Documentation

◆ lexbor_conv_data_to_double()

LXB_API double lexbor_conv_data_to_double ( const lxb_char_t ** start,
size_t len )

Definition at line 90 of file conv.c.

◆ lexbor_conv_data_to_long()

LXB_API long lexbor_conv_data_to_long ( const lxb_char_t ** data,
size_t length )

Definition at line 236 of file conv.c.

◆ lexbor_conv_data_to_uint()

LXB_API unsigned lexbor_conv_data_to_uint ( const lxb_char_t ** data,
size_t length )

Definition at line 279 of file conv.c.

◆ lexbor_conv_data_to_ulong()

LXB_API unsigned long lexbor_conv_data_to_ulong ( const lxb_char_t ** data,
size_t length )

Definition at line 207 of file conv.c.

◆ lexbor_conv_dec_to_hex()

LXB_API size_t lexbor_conv_dec_to_hex ( uint32_t number,
lxb_char_t * out,
size_t length )

Definition at line 308 of file conv.c.

◆ lexbor_conv_double_to_long()

lxb_inline long lexbor_conv_double_to_long ( double number)

Definition at line 43 of file conv.h.

◆ lexbor_conv_float_to_data()

LXB_API size_t lexbor_conv_float_to_data ( double num,
lxb_char_t * buf,
size_t len )

Definition at line 16 of file conv.c.

◆ lexbor_conv_int64_to_data()

LXB_API size_t lexbor_conv_int64_to_data ( int64_t num,
lxb_char_t * buf,
size_t len )

Definition at line 28 of file conv.c.

◆ lexbor_conv_long_to_data()

LXB_API size_t lexbor_conv_long_to_data ( long num,
lxb_char_t * buf,
size_t len )

Definition at line 22 of file conv.c.