Lines Matching defs:str
110 static const char *str[MPP_CFG_TYPE_BUTT + 1] = { in strof_type() local
133 static char *dup_str(const char *str, rk_s32 len) in dup_str()
656 #define test_byte_f(str, len) test_byte(str, len, __FUNCTION__) argument
658 #define show_byte_f(str, pos) show_byte(str, pos, __FUNCTION__) argument
660 #define skip_byte_f(str, len) skip_byte(str, len, __FUNCTION__) argument
661 #define skip_ws_f(str) skip_ws(str, __FUNCTION__) argument
664 #define write_byte_f(str, buf, size) write_byte(str, (void *)buf, size, __FUNCTION__) argument
665 #define write_indent_f(str) write_indent(str, __FUNCTION__) argument
667 #define revert_comma_f(str) revert_comma(str, __FUNCTION__) argument
669 static char *test_byte(MppCfgStrBuf *str, rk_s32 len, const char *caller) in test_byte()
687 static char *show_byte(MppCfgStrBuf *str, rk_s32 pos, const char *caller) in show_byte()
705 static char *skip_byte(MppCfgStrBuf *str, rk_s32 len, const char *caller) in skip_byte()
724 static char *skip_ws(MppCfgStrBuf *str, const char *caller) in skip_ws()
748 static rk_s32 write_byte(MppCfgStrBuf *str, void *buf, rk_s32 *size, const char *caller) in write_byte()
782 static rk_s32 write_indent(MppCfgStrBuf *str, const char *caller) in write_indent()
810 static rk_s32 revert_comma(MppCfgStrBuf *str, const char *caller) in revert_comma()
830 static rk_s32 mpp_cfg_to_log(MppCfgIoImpl *impl, MppCfgStrBuf *str) in mpp_cfg_to_log()
921 static rk_s32 mpp_cfg_to_json(MppCfgIoImpl *impl, MppCfgStrBuf *str) in mpp_cfg_to_json()
1018 static rk_s32 mpp_toml_parent_is_array_table(MppCfgIoImpl *impl, MppCfgStrBuf *str) in mpp_toml_parent_is_array_table()
1024 static rk_s32 mpp_toml_top(MppCfgIoImpl *impl, MppCfgStrBuf *str) in mpp_toml_top()
1036 static rk_s32 mpp_toml_non_top(MppCfgIoImpl *impl, MppCfgStrBuf *str) in mpp_toml_non_top()
1060 static rk_s32 mpp_cfg_to_toml(MppCfgIoImpl *impl, MppCfgStrBuf *str, rk_s32 first_time) in mpp_cfg_to_toml()
1162 static rk_s32 parse_number(MppCfgStrBuf *str, MppCfgType *type, MppCfgVal *val) in parse_number()
1232 static rk_s32 parse_log_string(MppCfgStrBuf *str, char **name, rk_s32 *len, rk_u32 type) in parse_log_string()
1279 static rk_s32 parse_log_array(MppCfgIoImpl *obj, MppCfgStrBuf *str) in parse_log_array()
1370 static rk_s32 parse_log_value(MppCfgIoImpl *parent, const char *name, MppCfgStrBuf *str) in parse_log_value()
1488 static rk_s32 parse_log_object(MppCfgIoImpl *obj, MppCfgStrBuf *str) in parse_log_object()
1632 static rk_s32 mpp_cfg_from_log(MppCfgObj *obj, MppCfgStrBuf *str) in mpp_cfg_from_log()
1668 static rk_s32 parse_json_string(MppCfgStrBuf *str, char **name, rk_s32 *len) in parse_json_string()
1710 static rk_s32 parse_json_object(MppCfgIoImpl *obj, MppCfgStrBuf *str) in parse_json_object()
1866 static rk_s32 parse_json_array(MppCfgIoImpl *obj, MppCfgStrBuf *str) in parse_json_array()
1969 static rk_s32 parse_json_value(MppCfgIoImpl *parent, const char *name, MppCfgStrBuf *str) in parse_json_value()
2087 static rk_s32 mpp_cfg_from_json(MppCfgObj *obj, MppCfgStrBuf *str) in mpp_cfg_from_json()
2235 static rk_s32 parse_toml_string(MppCfgStrBuf *str, char **name, rk_s32 *len, rk_u32 type) in parse_toml_string()
2293 static rk_s32 parse_toml_array(MppCfgIoImpl *obj, MppCfgStrBuf *str) in parse_toml_array()
2394 static rk_s32 parse_toml_value(MppCfgIoImpl *parent, const char *name, MppCfgStrBuf *str) in parse_toml_value()
2539 static rk_s32 parse_toml_object(MppCfgIoImpl *parent, MppCfgStrBuf *str, rk_s32 is_brace) in parse_toml_object()
2697 static rk_s32 parse_toml_table(MppCfgIoImpl *parent, MppCfgStrBuf *str) in parse_toml_table()
2764 static rk_s32 parse_toml_array_table(MppCfgIoImpl *parent, MppCfgStrBuf *str) in parse_toml_array_table()
2841 static rk_s32 parse_toml_section(MppCfgIoImpl *parent, MppCfgStrBuf *str) in parse_toml_section()
2900 static rk_s32 mpp_cfg_from_toml(MppCfgObj *obj, MppCfgStrBuf *str) in mpp_cfg_from_toml()
2938 MppCfgStrBuf str; in mpp_cfg_dump() local
2966 MppCfgStrBuf str; in mpp_cfg_to_string() local
3021 MppCfgStrBuf str; in mpp_cfg_from_string() local
3057 static void write_struct(MppCfgIoImpl *obj, MppTrie trie, MppCfgStrBuf *str, void *st) in write_struct()
3112 MppCfgStrBuf str; in mpp_cfg_to_struct() local