Lines Matching refs:def
214 static guint32 internal_sp_svg_read_color(gchar const *str, gchar const **end_ptr, guint32 def)
219 if (str == NULL) return def;
221 if (!*str) return def;
245 return def;
260 if (s == e) return def;
269 if (*s != ',') return def;
273 if (s == e) return def;
282 if (*s != ',') return def;
286 if (s == e) return def;
296 return def;
299 if (hasp && hasd) return def;
320 if (ptr == e) return def; // Read failed
324 if (*ptr != ',') return def; // Need comma
329 if (ptr == e) return def; // Read failed
332 if (*ptr != '%') return def; // Need %
336 if (*ptr != ',') return def; // Need comma
341 if (ptr == e) return def; // Read failed
344 if (*ptr != '%') return def; // Need %
386 return def;