Lines Matching refs:strstart
220 else if (len>=45 && strstart(&s, "\177ELF")) do_elf_file(fd); in do_regular_file()
221 else if (len>=8 && strstart(&s, "!<arch>\n")) xputs("ar archive"); in do_regular_file()
222 else if (len>28 && strstart(&s, "\x89PNG\x0d\x0a\x1a\x0a")) { in do_regular_file()
230 if (chunk_length == 13 && strstart(&s, "IHDR")) { in do_regular_file()
245 } else if (len>16 && (strstart(&s, "GIF87a") || strstart(&s, "GIF89a"))) in do_regular_file()
253 else if (len>8 && strstart(&s, "\xca\xfe\xba\xbe")) in do_regular_file()
258 else if (len>8 && strstart(&s, "dex\n") && s[3] == 0) in do_regular_file()
264 else if (len>85 && strstart(&s, "07070")) { in do_regular_file()
279 else if (len>5 && strstart(&s, "PK\03\04")) { in do_regular_file()
285 } else if (len>4 && strstart(&s, "BZh") && isdigit(*s)) in do_regular_file()
289 else if (len>10 && strstart(&s, "\x1f\x8b")) xputs("gzip compressed data"); in do_regular_file()
366 } else if (strstart(&s, "-----BEGIN CERTIFICATE-----")) { in do_regular_file()
414 if (len>3 && strstart(&s, "#!")) { in do_regular_file()
417 if (strstart(&s, "/usr/bin/env")) while (isspace(*s)) s++; in do_regular_file()