Home | History | Annotate | Download | only in libop

Lines Matching refs:ret

99 	int size, ret;
106 ret = snprintf(buf, size, "<%s%s", xml_tag_name(tag),
109 if (ret < 0 || ret >= size) {
119 int size, ret;
127 ret = snprintf(buf, size, "%s\n", (has_nested ? ">" : "/>"));
129 ret = snprintf(buf, size, "</%s>\n", xml_tag_name(tag));
131 if (ret < 0 || ret >= size) {
141 int size, ret;
148 ret = snprintf(buf, size, " %s=\"%d\"", xml_tag_name(attr), value);
150 if (ret < 0 || ret >= size) {
160 int size, ret;
167 ret = snprintf(buf, size, " %s=\"%.2f\"", xml_tag_name(attr), value);
169 if (ret < 0 || ret >= size) {
182 int ret;
219 ret = snprintf(buf, size, "%s", quote);
220 if (ret < 0 || ret >= (int)size)
222 buf += ret;
223 size -= ret;
246 int size, ret;
253 ret = snprintf(buf, size, " %s=", xml_tag_name(attr));
254 if (ret < 0 || ret >= size)
257 buf += ret;
258 size -= ret;