Home
last modified time | relevance | path

Searched refs:first_line (Results 1 – 1 of 1) sorted by relevance

/system/ulib/launchpad/
A Dlaunchpad.c664 char first_line[LP_MAX_INTERP_LINE_LEN + 1]; in launchpad_file_load() local
665 size_t to_read = sizeof(first_line); in launchpad_file_load()
677 status = zx_vmo_read(vmo, first_line, 0, to_read); in launchpad_file_load()
681 && (to_read < 2 || first_line[0] != '#' || first_line[1] != '!')) in launchpad_file_load()
697 char* newline_pos = memchr(first_line, '\n', to_read); in launchpad_file_load()
700 else if (to_read == sizeof(first_line)) in launchpad_file_load()
704 first_line[to_read] = '\0'; in launchpad_file_load()
709 status = parse_interp_spec(first_line, &interp_start, &interp_len, in launchpad_file_load()
755 status = launchpad_elf_load_body(lp, first_line, to_read, vmo); in launchpad_file_load()

Completed in 5 milliseconds