Lines Matching full:sizeof
100 if (max_len >= sizeof(tmp_buf))
103 if (snprintf(tmp_buf, sizeof(tmp_buf), "<%s%s", tag_name,
108 strncat(buffer, tmp_buf, sizeof(tmp_buf));
118 if (max_len >= sizeof(tmp_buf))
122 if (snprintf(tmp_buf, sizeof(tmp_buf), "%s\n", (has_nested ? ">" : "/>")) < 0) {
127 if (snprintf(tmp_buf, sizeof(tmp_buf), "</%s>\n", tag_name) < 0) {
132 strncat(buffer, tmp_buf, sizeof(tmp_buf));
142 if (max_len >= sizeof(tmp_buf)) {
148 if (snprintf(tmp_buf, sizeof(tmp_buf), " %s=\"%d\"", attr_name, value) < 0) {
152 strncat(buffer, tmp_buf, sizeof(tmp_buf));
162 if (max_len >= sizeof(tmp_buf))
165 if (snprintf(tmp_buf, sizeof(tmp_buf), " %s=\"%.2f\"", attr_name, value) < 0) {
169 strncat(buffer, tmp_buf, sizeof(tmp_buf));
225 if (max_len >= sizeof(tmp_buf))
228 if (snprintf(tmp_buf, sizeof(tmp_buf), " %s=""%s""", attr_name, quote_str) < 0) {
232 strncat(buffer, tmp_buf, sizeof(tmp_buf));