Lines Matching refs:a_str
125 static int _smlReadTag(SML_TAG **r_tag, char **a_str, char *parent);
127 static int _smlWriteSimpleTag(char **a_str,
130 static int _smlWriteParamValue(char **a_str, char *value);
1016 smlReadOneTag(SML_TAG **r_tag, char *a_str) in smlReadOneTag() argument
1023 assert(a_str != (char *)NULL); in smlReadOneTag()
1027 _smlLogMsg(LOG_MSG_DEBUG, DBG_SML_READ_ONE_TAG, a_str); in smlReadOneTag()
1035 r = _smlReadTag(r_tag, &a_str, NULL); in smlReadOneTag()
2391 _smlReadTag(SML_TAG **r_tag, char **a_str, char *parent) in _smlReadTag() argument
2399 char *p = *a_str; in _smlReadTag()
2404 assert(a_str != (char **)NULL); in _smlReadTag()
2435 *a_str = p; in _smlReadTag()
2445 *a_str = p; in _smlReadTag()
2471 *a_str = p; in _smlReadTag()
2479 *a_str = p; in _smlReadTag()
2503 *a_str = p; in _smlReadTag()
2528 *a_str = p; in _smlReadTag()
2547 *a_str = p; in _smlReadTag()
2571 *a_str = p; in _smlReadTag()
2582 *a_str = p; in _smlReadTag()
2593 *a_str = p; in _smlReadTag()
2602 *a_str = p; in _smlReadTag()
2625 *a_str = p; in _smlReadTag()
2643 *a_str = p; in _smlReadTag()
2664 *a_str = p; in _smlReadTag()
2675 *a_str = p; in _smlReadTag()
2687 *a_str = p; in _smlReadTag()
2752 *a_str = p; in _smlReadTag()
2772 *a_str = p; in _smlReadTag()
2794 *a_str = p; in _smlReadTag()
2804 *a_str = p; in _smlReadTag()
2839 *a_str = p; in _smlReadTag()
2850 *a_str = p; in _smlReadTag()
2877 *a_str = p; in _smlReadTag()
2906 *a_str = p; in _smlReadTag()
2927 *a_str = p; in _smlReadTag()
2944 *a_str = p; in _smlReadTag()
3007 *a_str = p; in _smlReadTag()
3024 _smlWriteParamValue(char **a_str, char *value) in _smlWriteParamValue() argument
3031 assert(a_str != (char **)NULL); in _smlWriteParamValue()
3041 ns = sml_strPrintf("%s\"%s\"", *a_str ? *a_str : "", p); in _smlWriteParamValue()
3051 if (*a_str != NULL) { in _smlWriteParamValue()
3052 free(*a_str); in _smlWriteParamValue()
3054 *a_str = ns; in _smlWriteParamValue()
3062 _smlWriteSimpleTag(char **a_str, SML_TAG *tag) in _smlWriteSimpleTag() argument
3074 if (*a_str == NULL) { in _smlWriteSimpleTag()
3075 *a_str = strdup(""); in _smlWriteSimpleTag()
3080 ns = sml_strPrintf("%s<%s/>\n", *a_str, tag->name); in _smlWriteSimpleTag()
3081 free(*a_str); in _smlWriteSimpleTag()
3082 *a_str = ns; in _smlWriteSimpleTag()
3085 ns = sml_strPrintf("%s<%s>\n", *a_str, tag->name); in _smlWriteSimpleTag()
3089 free(*a_str); in _smlWriteSimpleTag()
3090 *a_str = ns; in _smlWriteSimpleTag()
3093 ns = sml_strPrintf("%s<%s %s=", *a_str ? *a_str : "", tag->name, in _smlWriteSimpleTag()
3098 free(*a_str); in _smlWriteSimpleTag()
3099 *a_str = ns; in _smlWriteSimpleTag()
3107 ns = sml_strPrintf("%s%s", *a_str, np0); in _smlWriteSimpleTag()
3113 free(*a_str); in _smlWriteSimpleTag()
3114 *a_str = ns; in _smlWriteSimpleTag()
3127 ns = sml_strPrintf("%s%s%s", *a_str, np0, np1); in _smlWriteSimpleTag()
3134 free(*a_str); in _smlWriteSimpleTag()
3135 *a_str = ns; in _smlWriteSimpleTag()
3143 ns = sml_strPrintf("%s%s", *a_str, np0); in _smlWriteSimpleTag()
3148 free(*a_str); in _smlWriteSimpleTag()
3149 *a_str = ns; in _smlWriteSimpleTag()
3155 ns = sml_strPrintf("%s%s", *a_str, np0); in _smlWriteSimpleTag()
3160 free(*a_str); in _smlWriteSimpleTag()
3161 *a_str = ns; in _smlWriteSimpleTag()
3166 r = _smlWriteSimpleTag(a_str, &(tag->tags[k])); in _smlWriteSimpleTag()
3177 ns = sml_strPrintf("%s%s", *a_str ? *a_str : "", np0); in _smlWriteSimpleTag()
3182 free(*a_str); in _smlWriteSimpleTag()
3183 *a_str = ns; in _smlWriteSimpleTag()