Home
last modified time | relevance | path

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

/titanic_44/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.cc525 if ((slash_ptr = strrchr(make_state->string_mb, (int) slash_char)) == NULL) { in main()
529 (void) strcpy(make_state_dir, make_state->string_mb); in main()
2335 expand_value(make_state, &dest, false); in read_files_and_state()
2337 make_state = GETNAME(dest.buffer.start, FIND_LENGTH); in read_files_and_state()
2339 if(!stat(make_state->string_mb, &make_state_stat)) { in read_files_and_state()
2345 memcpy(&state_filename, make_state,sizeof(state_filename)); in read_files_and_state()
2348 if((make_state->hash.length == 1)&& in read_files_and_state()
2349 (make_state->string_mb[0] == '/')) { in read_files_and_state()
2350 make_state->hash.length = 0; in read_files_and_state()
2351 make_state->string_mb[0] = '\0'; in read_files_and_state()
[all …]
H A Dglobals.cc104 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.cc1627 (void) exists(make_state); in run_command()
2028 timestruc_t previous = make_state->stat.time; in check_read_state_file()
2032 make_state->stat.time = file_no_time; in check_read_state_file()
2033 if ((exists(make_state) == file_doesnt_exist) || in check_read_state_file()
2034 (make_state->stat.time == previous)) { in check_read_state_file()
2040 makefile = maybe_append_prop(make_state, makefile_prop); in check_read_state_file()
2049 (void) read_simple_file(make_state, in check_read_state_file()
H A Dread.cc208 make_state_lockfile = getmem(strlen(make_state->string_mb) + strlen(".lock") + 1); in read_simple_file()
211 make_state->string_mb); in read_simple_file()
212 (void) file_lock(make_state->string_mb, in read_simple_file()
H A Dread2.cc1238 if((!make_state) ||(!strcmp(make_state->string_mb,".make.state"))) { in special_reader()
1239 make_state = depes->names[0]; in special_reader()
H A Dmisc.cc600 make_state = GETNAME(wcs_buffer, FIND_LENGTH); in load_cached_names()
/titanic_44/usr/src/cmd/make/include/mk/
H A Ddefs.h223 extern Name make_state;