/external/webrtc/webrtc/p2p/base/ |
p2ptransportchannel_unittest.cc | 503 ep1_ch1()->writable() && 505 ep2_ch1()->writable(), 571 // This test waits for the transport to become receiving and writable on both 579 EXPECT_TRUE_WAIT_MARGIN(ep1_ch1()->receiving() && ep1_ch1()->writable() && 580 ep2_ch1()->receiving() && ep2_ch1()->writable(), 627 ep1_ch1()->writable() && 629 ep2_ch1()->writable(), [all...] |
transport.h | 54 kIceConnectionConnected, // Writable, but still checking one or more 86 writable(false), 100 bool writable; // Has this connection received a STUN response? member in struct:cricket::ConnectionInfo
|
p2ptransportchannel.cc | 76 // pretending to be writable (the connection is not set to the unwritable 77 // state). On the passive side, the connection also remains writable even 80 // side: 1. the old, disconnected one that is pretending to be writable, and 81 // 2. the new, connected one that is maybe not yet writable. For purposes of 88 // one, even though it's writable. In the code below, we're doing so to make 89 // sure we treat a new writable connection as better than an old disconnected 94 // the new connection, when it becomes writable, should have higher priority. 117 // priority writable connections first. 160 // We prefer to switch to a writable and receiving connection over a 161 // non-writable or non-receiving connection, even if the latter ha 1112 bool writable = best_connection_ && best_connection_->writable(); local [all...] |
faketransportcontroller.h | 145 void SetWritable(bool writable) { set_writable(writable); } 372 void SetWritable(bool writable) { 374 kv.second->SetWritable(writable);
|
/external/fio/oslib/ |
libmtd.h | 75 * @writable: zero if the device is read-only 93 unsigned int writable:1; member in struct:mtd_dev_info
|
/external/python/cpython2/Modules/_multiprocessing/ |
connection.h | 18 #define WRITABLE 2 27 if (!(self->flags & WRITABLE)) { \ 41 BOOL readable = TRUE, writable = TRUE; local 43 static char *kwlist[] = {"handle", "readable", "writable", NULL}; 46 &handle, &readable, &writable)) 55 if (!readable && !writable) { 57 "either readable or writable must be true"); 71 if (writable) 72 self->flags |= WRITABLE; 166 if ((self->flags & WRITABLE) == 0) [all...] |
/external/autotest/server/site_tests/enterprise_CFM_LogitechPtzUpdater/ |
enterprise_CFM_LogitechPtzUpdater.py | 105 and remount the filesystem read-writable""" 137 """Check if the root file system is read-writable. 142 @returns True if the /dev/root is read-writable. False otherwise. 200 # Make the DUT filesystem writable. 202 logging.info('DUT root file system is not read-writable. ' 203 'Converting it read-writable...') 206 logging.info('DUT is read-writable.')
|
/system/update_engine/common/ |
test_utils.h | 64 // read-only unless |writable| is set to true. Returns true on success, false 68 bool writable, 99 // |dir_path| which must be writable. Returns true if the feature is 131 bool writable, 133 is_bound_ = BindToUnusedLoopDevice(file, writable, &dev_);
|
test_utils.cc | 154 bool writable, 189 (writable ? O_RDWR : O_RDONLY) | O_LARGEFILE | O_CLOEXEC); 197 device_info.lo_flags = (writable ? 0 : LO_FLAGS_READ_ONLY); 205 if (writable) { 209 PLOG(WARNING) << "Failed to mark loop device writable.";
|
/external/icu/icu4c/source/test/intltest/ |
utxttest.cpp | 1224 UBool writable = utext_isWritable(ut); local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/_io/ |
fileio.c | 49 unsigned int writable : 1;
member in struct:__anon4382 127 self->writable = 0;
276 self->writable = 1;
283 self->writable = 1;
292 self->readable = self->writable = 1;
305 if (self->readable && self->writable)
440 return PyBool_FromLong((long) self->writable);
667 if (!self->writable)
797 if (!self->writable)
896 if (self->writable)
[all...] |
/external/libjpeg-turbo/ |
jmemmgr.c | 823 boolean writable) 825 /* and extending for num_rows rows. writable is true if */ [all...] |
/external/python/cpython2/Modules/_io/ |
fileio.c | 49 unsigned int writable : 1; member in struct:__anon32716 127 self->writable = 0; 289 self->writable = 1; 296 self->writable = 1; 305 self->readable = self->writable = 1; 318 if (self->readable && self->writable) 453 return PyBool_FromLong((long) self->writable); 680 if (!self->writable) 810 if (!self->writable) 909 if (self->writable) [all...] |
/bionic/libc/upstream-netbsd/lib/libc/isc/ |
ev_streams.c | 51 static void writable(evContext opaqueCtx, void *uap, int fd, int evmask); 79 if (evSelectFD(opaqueCtx, fd, EV_WRITE, writable, new, &new->file) < 0) 270 writable(evContext opaqueCtx, void *uap, int fd, int evmask) { function
|
/external/python/cpython3/Modules/_io/ |
winconsoleio.c | 156 unsigned int writable : 1; member in struct:__anon33330 242 self->writable = 0; 354 self->writable = 1; 383 if (self->writable) 412 if (self->writable && console_type != 'w') { 504 if (self->writable) 531 _io._WindowsConsoleIO.writable 542 return PyBool_FromLong((long) self->writable); 989 if (!self->writable) 1057 if (self->writable) [all...] |
/external/skia/include/core/ |
SkTLazy.h | 137 * thing.writable()->modifyMe(); // makes a copy of constThing 143 * thing.writable()->changeMe(); // makes a copy of constThing if we didn't call modifyMe() 166 * Returns a writable T*. The first time this is called the initial object is cloned. 168 T* writable() { function in class:SkTCopyOnFirstWrite
|
/external/skqp/include/core/ |
SkTLazy.h | 137 * thing.writable()->modifyMe(); // makes a copy of constThing 143 * thing.writable()->changeMe(); // makes a copy of constThing if we didn't call modifyMe() 166 * Returns a writable T*. The first time this is called the initial object is cloned. 168 T* writable() { function in class:SkTCopyOnFirstWrite
|
/art/runtime/ |
elf_file_impl.h | 48 bool writable, 134 ElfFileImpl(File* file, bool writable, bool program_header_only, uint8_t* requested_base);
|
/bionic/libc/system_properties/ |
contexts_split.cpp | 298 bool ContextsSplit::Initialize(bool writable, const char* filename, bool* fsetxattr_failed) { 304 if (writable) {
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_fileio.py | 109 'readable', 'writable']
199 f.writable()
240 self.assertEqual(f.writable(), True)
246 self.assertEqual(f.writable(), False)
252 self.assertEqual(f.writable(), True)
267 self.assertEqual(f.writable(), True)
|
/external/libchrome/base/memory/ |
shared_memory_unittest.cc | 346 // Make sure the writable instance is still writable. 364 // The "read-only" handle is still writable on Android: 373 void* writable = mmap(NULL, contents.size(), PROT_READ | PROT_WRITE, local 376 EXPECT_EQ(MAP_FAILED, writable) 377 << "It shouldn't be possible to re-mmap the descriptor writable."; 379 if (writable != MAP_FAILED) 380 EXPECT_EQ(0, munmap(writable, readonly_shmem.mapped_size())); 384 << "Shouldn't be able to map memory writable."; 391 << "Shouldn't be able to duplicate the handle into a writable one." [all...] |
/external/python/cpython2/Lib/test/ |
test_fileio.py | 128 methods = ['fileno', 'isatty', 'seekable', 'readable', 'writable', 237 f.writable() 278 self.assertEqual(f.writable(), True) 284 self.assertEqual(f.writable(), False) 290 self.assertEqual(f.writable(), True) 308 self.assertEqual(f.writable(), True)
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
UnixAsynchronousSocketChannelImpl.java | 172 boolean writable) 184 if (writable) { 218 boolean writable = (events & Net.POLLOUT) > 0; 221 writable = true; 223 finish(mayInvokeDirect, readable, writable);
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_fileio.py | 131 'readable', 'writable'] 229 f.writable() 270 self.assertEqual(f.writable(), True) 276 self.assertEqual(f.writable(), False) 282 self.assertEqual(f.writable(), True) 297 self.assertEqual(f.writable(), True)
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_fileio.py | 131 'readable', 'writable'] 229 f.writable() 270 self.assertEqual(f.writable(), True) 276 self.assertEqual(f.writable(), False) 282 self.assertEqual(f.writable(), True) 297 self.assertEqual(f.writable(), True)
|