ESP-IDF
argtable3_xmalloc()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
argtable3_xmalloc()
argtable3_xmalloc() function
Syntax
Show:
Summary
Declaration
Definition
from
argtable3_private.h:96
extern
void
*
xmalloc
(
size_t
size
)
;
Implemented in
arg_utils.c:87
Arguments
Argument
size
Examples
References
from
examples
Code
Location
Referrer
void
*
xmalloc
(
size_t
size
)
{
arg_utils.c:87
extern
void
*
xmalloc
(
size_t
size
)
;
argtable3_private.h:96
s_module_name
=
(
char
*
)
xmalloc
(
slen
+
1
)
;
arg_cmd.c:63
arg_set_module_name()
s_mod_ver_tag
=
(
char
*
)
xmalloc
(
slen_tag
+
1
)
;
arg_cmd.c:83
arg_set_module_version()
s_mod_ver
=
(
char
*
)
xmalloc
(
slen_ds
+
1
)
;
arg_cmd.c:100
arg_set_module_version()
cmd_info
=
(
arg_cmd_info_t
*
)
xmalloc
(
sizeof
(
arg_cmd_info_t
)
)
;
arg_cmd.c:154
arg_cmd_register()
k
=
xmalloc
(
slen_name
+
1
)
;
arg_cmd.c:168
arg_cmd_register()
result
=
(
struct
arg_dbl
*
)
xmalloc
(
nbytes
)
;
arg_dbl.c:134
arg_dbln()
_internal_arg_dstr_t
*
h
=
(
_internal_arg_dstr_t
*
)
xmalloc
(
sizeof
(
_internal_arg_dstr_t
)
)
;
arg_dstr.c:113
arg_dstr_create()
ds
->
data
=
(
char
*
)
xmalloc
(
(
unsigned
)
length
+
1
)
;
arg_dstr.c:142
arg_dstr_set()
buff
=
(
char
*
)
xmalloc
(
(
size_t
)
(
n
+
2
)
)
;
arg_dstr.c:239
arg_dstr_catf()
buff
=
(
char
*
)
xmalloc
(
(
size_t
)
(
n
+
2
)
)
;
arg_dstr.c:257
arg_dstr_catf()
newbuf
=
(
char
*
)
xmalloc
(
(
unsigned
)
total_space
)
;
arg_dstr.c:303
setup_append_buf()
result
=
(
struct
arg_end
*
)
xmalloc
(
nbytes
)
;
arg_end.c:91
arg_end()
result
=
(
struct
arg_file
*
)
xmalloc
(
nbytes
)
;
arg_file.c:182
arg_filen()
h
=
(
arg_hashtable_t
*
)
xmalloc
(
sizeof
(
arg_hashtable_t
)
)
;
arg_hashtable.c:132
arg_hashtable_create()
h
->
table
=
(
struct
arg_hashtable_entry
*
*
)
xmalloc
(
sizeof
(
struct
arg_hashtable_entry
*
)
*
size
)
;
arg_hashtable.c:133
arg_hashtable_create()
newtable
=
(
struct
arg_hashtable_entry
*
*
)
xmalloc
(
sizeof
(
struct
arg_hashtable_entry
*
)
*
newsize
)
;
arg_hashtable.c:157
arg_hashtable_expand()
e
=
(
struct
arg_hashtable_entry
*
)
xmalloc
(
sizeof
(
struct
arg_hashtable_entry
)
)
;
arg_hashtable.c:196
arg_hashtable_insert()
arg_hashtable_itr_t
*
itr
=
(
arg_hashtable_itr_t
*
)
xmalloc
(
sizeof
(
arg_hashtable_itr_t
)
)
;
arg_hashtable.c:287
arg_hashtable_itr_create()
result
=
(
struct
arg_int
*
)
xmalloc
(
nbytes
)
;
arg_int.c:272
arg_intn()
result
=
(
struct
arg_lit
*
)
xmalloc
(
sizeof
(
struct
arg_lit
)
)
;
arg_lit.c:103
arg_litn()
struct
arg_rem
*
result
=
(
struct
arg_rem
*
)
xmalloc
(
sizeof
(
struct
arg_rem
)
)
;
arg_rem.c:47
arg_rem()
result
=
(
struct
arg_rex
*
)
xmalloc
(
nbytes
)
;
arg_rex.c:254
arg_rexn()
TRex
*
exp
=
(
TRex
*
)
xmalloc
(
sizeof
(
TRex
)
)
;
arg_rex.c:909
trex_compile()
exp
->
_nodes
=
(
TRexNode
*
)
xmalloc
(
(
size_t
)
exp
->
_nallocated
*
sizeof
(
TRexNode
)
)
;
arg_rex.c:913
trex_compile()
exp
->
_jmpbuf
=
xmalloc
(
sizeof
(
jmp_buf
)
)
;
arg_rex.c:919
trex_compile()
exp
->
_matches
=
(
TRexMatch
*
)
xmalloc
(
(
size_t
)
exp
->
_nsubexpr
*
sizeof
(
TRexMatch
)
)
;
arg_rex.c:941
trex_compile()
result
=
(
struct
arg_str
*
)
xmalloc
(
nbytes
)
;
arg_str.c:125
arg_strn()
m
=
(
char
*
)
xmalloc
(
(
size_t
)
(
esize
*
(
(
k
-
i
)
+
1
)
)
)
;
arg_utils.c:129
merge()
result
=
(
struct
longoptions
*
)
xmalloc
(
nbytes
)
;
argtable3.c:150
alloc_longoptions()
result
=
xmalloc
(
len
)
;
argtable3.c:206
alloc_shortoptions()
argvcopy
=
(
char
*
*
)
xmalloc
(
sizeof
(
char
*
)
*
(
size_t
)
(
argc
+
1
)
)
;
argtable3.c:459
arg_parse()
Call Tree
from
examples
argtable3_xmalloc()
is called by 24 functions and calls 2 functions:
merge()
arg_set_module_name()
arg_set_module_version()
arg_cmd_register()
arg_dbln()
arg_dstr_create()
arg_dstr_set()
arg_dstr_catf()
setup_append_buf()
arg_end()
arg_filen()
arg_hashtable_create()
arg_hashtable_expand()
arg_hashtable_insert()
arg_hashtable_itr_create()
arg_intn()
arg_litn()
arg_rem()
arg_rexn()
trex_compile()
arg_strn()
alloc_longoptions()
alloc_shortoptions()
arg_parse()
All items filtered out
argtable3_xmalloc()
malloc()
s_panic
All items filtered out
Data Use
from
examples
argtable3_xmalloc()
:
All items filtered out
argtable3_xmalloc()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out