Lines Matching refs:strstart
215 else if (len>=45 && strstart(&s, "\177ELF")) do_elf_file(fd); in do_regular_file()
216 else if (len>=8 && strstart(&s, "!<arch>\n")) xprintf("ar archive\n"); in do_regular_file()
217 else if (len>28 && strstart(&s, "\x89PNG\x0d\x0a\x1a\x0a")) { in do_regular_file()
225 if (chunk_length == 13 && strstart(&s, "IHDR")) { in do_regular_file()
240 } else if (len>16 && (strstart(&s, "GIF87a") || strstart(&s, "GIF89a"))) in do_regular_file()
248 else if (len>8 && strstart(&s, "\xca\xfe\xba\xbe")) in do_regular_file()
253 else if (len>8 && strstart(&s, "dex\n") && s[3] == 0) in do_regular_file()
259 else if (len>85 && strstart(&s, "07070")) { in do_regular_file()
273 else if (len>5 && strstart(&s, "PK\03\04")) { in do_regular_file()
279 } else if (len>4 && strstart(&s, "BZh") && isdigit(*s)) in do_regular_file()
281 else if (len>10 && strstart(&s, "\x1f\x8b")) xputs("gzip compressed data"); in do_regular_file()
354 } else if (strstart(&s, "-----BEGIN CERTIFICATE-----")) { in do_regular_file()
382 if (len>3 && strstart(&s, "#!")) { in do_regular_file()
385 if (strstart(&s, "/usr/bin/env")) while (isspace(*s)) s++; in do_regular_file()