Lines Matching refs:source

118 	Name		source;  in find_suffix_rule()  local
198 source = getname_fn(sourcename, FIND_LENGTH, false, &name_found); in find_suffix_rule()
204 (void) exists(source); in find_suffix_rule()
206 if (!source->stat.is_file) { in find_suffix_rule()
210 free_name(source); in find_suffix_rule()
224 if(source->string_mb[source->hash.length - 1] == '~' && in find_suffix_rule()
230 tmpbuf = getmem(source->hash.length + 8); in find_suffix_rule()
232 memset(tmpbuf,0,source->hash.length + 8); in find_suffix_rule()
233 source->string_mb[source->hash.length - 1] = '\0'; in find_suffix_rule()
234 if(p = (char *) memchr((char *)source->string_mb,'/',source->hash.length)) in find_suffix_rule()
237 if(np = (char *) memchr((char *)p+1,'/',source->hash.length - (p - source->string_mb))) { in find_suffix_rule()
242 strncpy(tmpbuf, source->string_mb, p - source->string_mb + 1); in find_suffix_rule()
245 retmem((wchar_t *) source->string_mb); in find_suffix_rule()
246 source->string_mb = tmpbuf; in find_suffix_rule()
250 strcat(tmpbuf, source->string_mb); in find_suffix_rule()
251 retmem((wchar_t *) source->string_mb); in find_suffix_rule()
252 source->string_mb = tmpbuf; in find_suffix_rule()
255 source->hash.length = strlen(source->string_mb); in find_suffix_rule()
256 if(exists(source) == file_doesnt_exist) in find_suffix_rule()
262 free_name(source); in find_suffix_rule()
268 if(exists(source) == file_doesnt_exist) { in find_suffix_rule()
270 free_name(source); in find_suffix_rule()
279 store_name(source); in find_suffix_rule()
285 if (dependency_exists(source, in find_suffix_rule()
288 result = (Doname) source->state; in find_suffix_rule()
291 result = doname(source, in find_suffix_rule()
296 result = doname(source, in find_suffix_rule()
302 result = target_can_be_built(source); in find_suffix_rule()
308 free_name(source); in find_suffix_rule()
321 if (source->stat.time == file_doesnt_exist) { in find_suffix_rule()
323 free_name(source); in find_suffix_rule()
330 store_name(source); in find_suffix_rule()
334 enter_dependency(line, source, false); in find_suffix_rule()
339 store_name(source); in find_suffix_rule()
344 store_name(source); in find_suffix_rule()
360 if (source->depends_on_conditional) { in find_suffix_rule()
372 if ((source->stat.time > (*command)->body.line.dependency_time) && in find_suffix_rule()
377 source->string_mb, in find_suffix_rule()
378 time_to_string(source-> in find_suffix_rule()
391 source->stat.time); in find_suffix_rule()
411 source->string_mb); in find_suffix_rule()
427 enter_dependency(line, source, false); in find_suffix_rule()
441 MBSTOWCS(wcs_buffer, source->string_mb); in find_suffix_rule()
448 line->body.line.less = source; in find_suffix_rule()
450 add_target_to_chain(source, &(line->body.line.query)); in find_suffix_rule()