/libcore/ojluni/src/main/java/java/nio/file/ |
AccessMode.java | 36 * Test read access. 38 READ,
|
StandardOpenOption.java | 36 * Open for read access. 38 READ, 57 * if the file is opened only for {@link #READ} access.
|
/external/libbrillo/brillo/streams/ |
stream.h | 22 // The stream class provides general streaming I/O primitives to read, write and 29 // StreamPtr input_stream = FileStream::Open(path, AccessMode::READ); 32 // size_t read = 0; 33 // while (input_stream->ReadBlocking(buf, sizeof(buf), &read, nullptr)) { 34 // if (read == 0) break; 35 // output_stream->WriteAllBlocking(buf, read, nullptr); 44 // asynchronous read operation is pending will fail with an error 48 // use buffered I/O. Using all read/write methods other than ReadAllAsync(), 51 // trying to read 1000 bytes while the internal buffer contains only 100 will 89 enum class AccessMode { READ, WRITE, READ_WRITE } [all...] |
/external/mesa3d/src/gallium/auxiliary/rbug/ |
rbug_internal.h | 79 #define READ(size, type, name) \ 90 READ(4, uint32_t, name##_len); \
|
/external/libchrome/base/debug/ |
proc_maps_linux.h | 21 READ = 1 << 0, 34 // Bitmask of read/write/execute/private/shared permissions. 54 // Did you know it's next-to-impossible to atomically read the whole contents 56 // buffer to read() that It Should Just Work(tm), but sadly that's not the case. 61 // return more than the size of a page in a single call to read(). 64 // larger than the size of page so we're forced to call read() multiple times. 65 // If the virtual memory table changed in any way between calls to read() (e.g., 70 // buffer to the usermode buffer inside a single call to read(), it has to 77 // on your use case your best bet may be to read /proc/<pid>/maps prior to
|
/external/ltp/testcases/kernel/ipc/ipc_stress/ |
pipe_test_01.c | 30 | o Spawn another child, redirect the read end of the | 87 enum { READ, WRITE }; /* Constants */ 106 * Close the read end of the pipe and dup the stdout to the write 116 close(fd[READ]); 135 * Close the write end of the pipe and dup the read end of the pipe 146 if (fd[READ] != STDIN_FILENO) { 147 if (dup2(fd[READ], STDIN_FILENO) != STDIN_FILENO) 150 close(fd[READ]); 161 close(fd[READ]); 206 error("wrote to pipe with closed read end", __LINE__) [all...] |
message_queue_test_01.c | 96 enum { READ, WRITE }; 141 close(fd[READ]); 147 * Read the data from the message queue 190 * Read the message queue identifier from the parent through 194 if (read(fd[READ], &msqid, sizeof(key_tt)) < 0) 195 sys_error("read failed", __LINE__); 196 close(fd[READ]);
|
/frameworks/av/services/audioflinger/ |
FastCaptureState.h | 43 READ = 0x8, // read from input source 45 READ_WRITE = 0x18; // read from input source and write to pipe sink
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/ |
BluetoothMasRequestSetMessageStatus.java | 29 READ, DELETED; 42 statusInd == StatusIndicator.READ ? STATUS_INDICATOR_READ
|
/libcore/luni/src/main/java/libcore/io/ |
IoTracker.java | 29 private Mode mode = Mode.READ; 60 READ,
|
/device/linaro/bootloader/edk2/StdLib/Include/Ipf/machine/ |
loadfile_machdep.h | 62 #define READ(f, b, c) pread((f), LOADADDR(b), (c))
84 #define READ(f, b, c) read((f), (void *)LOADADDR(b), (c))
|
/prebuilts/gdb/darwin-x86/lib/python2.7/plat-mac/ |
buildtools.py | 45 READ = 1 84 # Read the source and compile it 88 text = fp.read() 166 data = tmpl.read() 189 input = Res.FSOpenResourceFile(rsrcname, RESOURCE_FORK_NAME, READ) 214 input = Res.FSOpenResourceFile(template, RESOURCE_FORK_NAME, READ)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/ |
buildtools.py | 45 READ = 1 84 # Read the source and compile it 88 text = fp.read() 166 data = tmpl.read() 189 input = Res.FSOpenResourceFile(rsrcname, RESOURCE_FORK_NAME, READ) 214 input = Res.FSOpenResourceFile(template, RESOURCE_FORK_NAME, READ)
|
/build/kati/ |
func.h | 47 READ,
|
/external/libvorbis/examples/ |
encoder_example.c | 6 * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * 39 #define READ 1024 40 signed char readbuffer[READ*4+44]; /* out of the data segment, not the stack */ 182 long bytes=fread(readbuffer,1,READ*4,stdin); /* stereo hardwired here */ 195 float **buffer=vorbis_analysis_buffer(&vd,READ);
|
/external/ltp/testcases/kernel/syscalls/exit/ |
exit02.c | 60 #define READ 0 151 filed = open(filen, O_RDONLY, READ); 157 rlen = read(filed, rbuf, len);
|
/external/ltp/utils/ffsb-6.0-rc2/ |
ffsb_op.h | 30 #define READ 0x01
|
/prebuilts/go/darwin-x86/src/internal/syscall/windows/registry/ |
key.go | 44 READ = 0x20019
|
/prebuilts/go/linux-x86/src/internal/syscall/windows/registry/ |
key.go | 44 READ = 0x20019
|
/external/javassist/src/main/javassist/bytecode/stackmap/ |
Liveness.java | 22 protected static final byte READ = 1; 30 * be alive (localsUsage[?] must be READ) at least in the first block. 52 usage[i] = READ; 76 in[i] = usage[i] == READ; 119 in[i] = usage[i] == READ; 223 localsUsage[reg] = READ;
|
/external/libusb/libusb/os/ |
sunos_usb.h | 27 #define READ 0
|
/libcore/ojluni/src/main/java/java/lang/ |
ProcessBuilder.java | 95 * <li>the {@link InputStream#read() read} methods always return 167 * assert p.getInputStream().read() == -1; 422 public int read() { return -1; } method in class:ProcessBuilder.NullInputStream 446 * <li>a redirection to read from a file, created by an invocation of 478 READ, 548 * Returns a redirect to read from the specified file. 553 * Redirect.from(file).type() == Redirect.Type.READ 558 * @return a redirect to read from the specified file 564 public Type type() { return Type.READ; } [all...] |
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
LogTelephonyDatabaseAction.java | 43 Threads.READ, 54 private static final int READ = 6; 118 " " + ThreadsColumns.READ + " : " + cursor.getInt(READ) +
|
/system/core/storaged/include/ |
storaged_uid_monitor.h | 39 READ = 0, 45 uint64_t rchar; // characters read 47 uint64_t read_bytes; // bytes read (from storage layer)
|
/external/deqp/external/vulkancts/modules/vulkan/synchronization/ |
vktSynchronizationOperationSingleQueueTests.cpp | 186 enum {WRITE=0, READ, COUNT}; 200 VkCommandBuffer cmdBuffers[COUNT] = {*ptrCmdBuffer[WRITE], *ptrCmdBuffer[READ]}; 222 &cmdBuffers[READ], // const VkCommandBuffer* pCommandBuffers; 243 beginCommandBuffer(vk, cmdBuffers[READ]); 245 m_readOp->recordCommands(cmdBuffers[READ]); 247 endCommandBuffer(vk, cmdBuffers[READ]); 274 enum {WRITE=0, READ, COUNT}; 281 VkCommandBuffer cmdBuffers[COUNT] = {*ptrCmdBuffer[WRITE], *ptrCmdBuffer[READ]}; 300 beginCommandBuffer(vk, cmdBuffers[READ]); 302 m_readOp->recordCommands(cmdBuffers[READ]); [all...] |