Searched refs:make_state (Results 1 – 10 of 10) sorted by relevance
/illumos-gate/usr/src/cmd/make/bin/ |
H A D | dosys.cc | 115 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 D | state.cc | 148 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 D | main.cc | 551 if ((slash_ptr = strrchr(make_state->string_mb, (int) slash_char)) == NULL) { in main() 555 (void) strcpy(make_state_dir, make_state->string_mb); in main() 2375 expand_value(make_state, &dest, false); in read_files_and_state() 2377 make_state = GETNAME(dest.buffer.start, FIND_LENGTH); in read_files_and_state() 2379 if(!stat(make_state->string_mb, &make_state_stat)) { in read_files_and_state() 2385 memcpy(&state_filename, make_state,sizeof(state_filename)); 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() [all …]
|
H A D | globals.cc | 106 Name make_state; variable
|
H A D | parallel.cc | 1847 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 D | doname.cc | 1637 (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 D | read2.cc | 1242 if((!make_state) ||(!strcmp(make_state->string_mb,".make.state"))) { in special_reader() 1243 make_state = depes->names[0]; in special_reader()
|
H A D | read.cc | 210 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 D | misc.cc | 610 make_state = GETNAME(wcs_buffer, FIND_LENGTH); in load_cached_names()
|
/illumos-gate/usr/src/cmd/make/include/mk/ |
H A D | defs.h | 230 extern Name make_state;
|