Home
last modified time | relevance | path

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

/external/toolchain-utils/binary_search_tool/
Dbinary_search_state.py28 STATE_FILE = '%s.state' % sys.argv[0] variable
30 os.path.dirname(STATE_FILE), '.%s' % os.path.basename(STATE_FILE))
349 if os.path.exists(STATE_FILE):
350 if os.path.islink(STATE_FILE):
351 old_state = os.readlink(STATE_FILE)
354 'State file saved to %s' % (STATE_FILE, path)))
359 os.rename(temp_link, STATE_FILE)
369 if not os.path.isfile(STATE_FILE):
372 bss = pickle.load(file(STATE_FILE))
396 if os.path.exists(STATE_FILE):
[all …]
/external/toolchain-utils/binary_search_tool/test/
Dbinary_search_tool_tester.py46 os.remove(binary_search_state.STATE_FILE)
53 os.remove(os.readlink(binary_search_state.STATE_FILE))
54 os.remove(binary_search_state.STATE_FILE)
117 os.remove(binary_search_state.STATE_FILE)
126 os.remove(os.readlink(binary_search_state.STATE_FILE))
130 cleanup_list = ['./is_setup', binary_search_state.STATE_FILE,
185 state_file = binary_search_state.STATE_FILE
206 state_file = binary_search_state.STATE_FILE