Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/make/bin/
H A Ddosys.cc115 make_state->stat.time = file_no_time; in dosys()
116 (void)exists(make_state); in dosys()
117 before = make_state->stat.time; in dosys()
143 make_state->stat.time = file_no_time; in dosys()
144 (void)exists(make_state); in dosys()
145 if (before == make_state->stat.time) { in dosys()
153 (void) read_simple_file(make_state, in dosys()
H A Dstate.cc148 make_state_lockfile = getmem(strlen(make_state->string_mb) + strlen(".lock") + 1); in write_state_file()
151 make_state->string_mb); in write_state_file()
152 if (lock_err = file_lock(make_state->string_mb, in write_state_file()
184 make_state->string_mb); in write_state_file()
360 if (unlink(make_state->string_mb) != 0 && errno != ENOENT) { in write_state_file()
369 make_state->string_mb, in write_state_file()
372 if (rename(make_state_tempfile, make_state->string_mb) != 0) { in write_state_file()
382 make_state->string_mb, in write_state_file()
H A Dmain.cc2375 expand_value(make_state, &dest, false); in read_files_and_state()
2388 if((make_state->hash.length == 1)&& in read_files_and_state()
2389 (make_state->string_mb[0] == '/')) { in read_files_and_state()
2390 make_state->hash.length = 0; in read_files_and_state()
2391 make_state->string_mb[0] = '\0'; in read_files_and_state()
2394 make_state->string_mb,"/.make.state"); in read_files_and_state()
2395 make_state = &state_filename; in read_files_and_state()
2397 make_state->hash.length += 12; in read_files_and_state()
2405 (slashp - make_state->string_mb)); in read_files_and_state()
2406 tmp_path[slashp - make_state->string_mb]=0; in read_files_and_state()
[all …]
H A Dglobals.cc106 Name make_state; variable
H A Dparallel.cc1847 make_state->stat.time = file_no_time; in maybe_reread_make_state()
1848 (void) exists(make_state); in maybe_reread_make_state()
1849 if (make_state_before == make_state->stat.time) { in maybe_reread_make_state()
1857 (void) read_simple_file(make_state, in maybe_reread_make_state()
H A Ddoname.cc1637 (void) exists(make_state); in run_command()
2038 timestruc_t previous = make_state->stat.time; in check_read_state_file()
2042 make_state->stat.time = file_no_time; in check_read_state_file()
2043 if ((exists(make_state) == file_doesnt_exist) || in check_read_state_file()
2044 (make_state->stat.time == previous)) { in check_read_state_file()
2050 makefile = maybe_append_prop(make_state, makefile_prop); in check_read_state_file()
2059 (void) read_simple_file(make_state, in check_read_state_file()
H A Dread.cc210 make_state_lockfile = getmem(strlen(make_state->string_mb) + strlen(".lock") + 1); in read_simple_file()
213 make_state->string_mb); in read_simple_file()
214 (void) file_lock(make_state->string_mb, in read_simple_file()
H A Dread2.cc1242 if((!make_state) ||(!strcmp(make_state->string_mb,".make.state"))) { in special_reader()
1243 make_state = depes->names[0]; in special_reader()
H A Dmisc.cc610 make_state = GETNAME(wcs_buffer, FIND_LENGTH); in load_cached_names()
/illumos-gate/usr/src/cmd/make/include/mk/
H A Ddefs.h230 extern Name make_state;