Home
last modified time | relevance | path

Searched refs:is_writable (Results 1 – 5 of 5) sorted by relevance

/external/autotest/client/common_lib/
Dbase_job.py48 def __init__(self, path, is_writable=False): argument
64 if is_writable:
72 self._ensure_valid(is_writable)
75 def _ensure_valid(self, is_writable): argument
96 if is_writable:
106 if is_writable and not os.access(self.path, os.W_OK):
Dbase_job_unittest.py23 def __init__(self, path, is_writable=False): argument
25 assert path or is_writable
27 if path is None and is_writable:
/external/python/cpython3/Modules/
Dmmapmodule.c329 is_writable(mmap_object *self) in is_writable() function
363 if (!is_writable(self)) { in mmap_write_method()
390 if (!is_writable(self)) in mmap_write_byte_method()
635 !is_writable(self)) { in mmap_move_method()
835 if (!is_writable(self)) in mmap_ass_item()
847 if (!is_writable(self)) in mmap_ass_subscript()
/external/autotest/server/site_tests/enterprise_CFM_LogitechMeetupUpdater/
Denterprise_CFM_LogitechMeetupUpdater.py179 is_writable = fields.__len__() >= 4 and fields[3] == 'rw'
180 return is_writable
/external/flac/libFLAC/
Dmetadata_iterators.c333 FLAC__bool is_writable; member
370 iterator->is_writable = false; in FLAC__metadata_simple_iterator_new()
425 iterator->is_writable = false; in simple_iterator_prime_input_()
438 iterator->is_writable = true; in simple_iterator_prime_input_()
509 return iterator->is_writable; in FLAC__metadata_simple_iterator_is_writable()
665 if(!iterator->is_writable) { in FLAC__metadata_simple_iterator_set_block()
766 if(!iterator->is_writable) { in FLAC__metadata_simple_iterator_insert_block_after()
840 if(!iterator->is_writable) { in FLAC__metadata_simple_iterator_delete_block()
3205 if(!simple_iterator_prime_input_(iterator, !iterator->is_writable)) in simple_iterator_copy_file_postfix_()