Searched refs:is_writable (Results 1 – 5 of 5) sorted by relevance
48 def __init__(self, path, is_writable=False): argument64 if is_writable:72 self._ensure_valid(is_writable)75 def _ensure_valid(self, is_writable): argument96 if is_writable:106 if is_writable and not os.access(self.path, os.W_OK):
23 def __init__(self, path, is_writable=False): argument25 assert path or is_writable27 if path is None and is_writable:
329 is_writable(mmap_object *self) in is_writable() function363 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()
179 is_writable = fields.__len__() >= 4 and fields[3] == 'rw'180 return is_writable
333 FLAC__bool is_writable; member370 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_()