/system/extras/perfprofd/ |
configreader.cc | 87 // Config directory (where to read configs). 217 // Parse a key=value pair read from the config file. This will issue 283 return Read(contents, /* fail_on_error */ false); 286 bool ConfigReader::Read(const std::string& content, bool fail_on_error) {
|
/system/update_engine/scripts/update_payload/ |
common.py | 107 def Read(file_obj, length, offset=None, hasher=None): 112 length: the length of the data to read 116 hasher: a hashing object to pass the read data through (optional) 119 A string containing the read data. 122 PayloadError if a read error occurred or not enough data was read. 131 data = file_obj.read(length)
|
/art/libartbase/base/unix_file/ |
fd_file.cc | 149 // We are not concerned with read-only files. In that case, proper flushing and closing is 198 int64_t FdFile::Read(char* buf, int64_t byte_count, int64_t offset) const { 253 return read(fd, buf, count);
|
/device/google/contexthub/util/nanotool/ |
nanotool.cpp | 47 Read, 70 std::make_tuple("read", NanotoolCommand::Read), 111 " read: output events for the given sensor, or all events\n" 127 " -c, --count Number of samples to read before exiting, or set to 0 to\n" 128 " read indefinitely (the default behavior)\n" 448 case NanotoolCommand::Read: { 499 } else if (args->command != NanotoolCommand::Read
|
/device/linaro/bootloader/OpenPlatformPkg/Drivers/SdMmc/DwMmcHcDxe/ |
DwMmcHcDxe.h | 127 BOOLEAN Read;
[all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/SerialIo/ |
SerialIo.h | 55 // define for Control bits, grouped by read only, write only, and read write
58 // Read Only
74 // Read Write
186 EFI_SUCCESS - The control bits were read from the serial device.
237 EFI_SUCCESS - The data was read.
246 The data values in SERIAL_IO_MODE are read-only and are updated by the code
252 a Read or Write operation.
289 EFI_SERIAL_READ Read;
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/SimpleFileSystem/ |
SimpleFileSystem.h | 178 Read data from the file.
184 Buffer - The buffer in which data is read.
187 EFI_SUCCESS - Data was read.
221 EFI_ACCESS_DENIED - The file was open for read only
298 EFI_ACCESS_DENIED - The file was open for read only
330 EFI_ACCESS_DENIED - The file was open for read only
354 EFI_ACCESS_DENIED - The file was open for read only
366 EFI_FILE_READ Read;
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Ppi/CpuIo/ |
CpuIo.h | 77 PEI_CPU_IO_PPI_IO_MEM Read;
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Smm/SmmScriptLib/ |
PiSmmDefinition.h | 47 @param[in,out] Buffer For read operations, the destination buffer to store the results.
50 @retval EFI_SUCCESS The data was read from or written to the device.
67 /// This service provides the various modalities of memory and I/O read.
69 EFI_SMM_CPU_IO2 Read;
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Protocol/IsaIo/ |
IsaIo.h | 107 EFI_ISA_IO_PROTOCOL_IO_MEM Read;
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/IsaIoDxe/ |
IsaIo.c | 509 Performs an ISA I/O Read Cycle
517 @retval EFI_SUCCESS The data was read from the device sucessfully.
551 Status = IsaIoDevice->PciIo->Io.Read (
770 // so the processor can read the contents of the real buffer.
821 Performs an ISA Memory Read Cycle
829 @retval EFI_SUCCESS The data was read from the device successfully.
870 Status = IsaIoDevice->PciIo->Mem.Read (
1041 only supports slave read/write operation to save code size.
1045 the DMA operation is going to read or write to system memory.
[all...] |
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Include/Protocol/ |
IsaIo.h | 57 #define EFI_ISA_IO_ATTRIBUTE_MEMORY_CACHED 0x800 ///< Map a memory range so all read and write accesses are cached.
78 /// A read operation from system memory by a bus master.
86 /// Provides both read and write access to system memory by both the processor
92 /// A read operation from system memory by a slave device.
103 Performs ISA I/O and MMIO Read/Write Cycles
110 @param[in, out] Buffer For read operations, the destination buffer to store
114 @retval EFI_SUCCESS The data was successfully read from or written to the device.
135 /// Read from ISA I/O or MMIO space.
137 EFI_ISA_IO_PROTOCOL_IO_MEM Read;
178 If the DMA operation is a single read or write data transfer through an ISA bus [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/EmmcBlockIoPei/ |
EmmcBlockIoPei.h | 83 BOOLEAN Read;
173 blocks are read, or an error is returned. If there is no media in the device,
185 @param[in] StartLBA The starting logical block address (LBA) to read from
193 @retval EFI_SUCCESS The data was read correctly from the device.
195 to perform the read operation.
196 @retval EFI_INVALID_PARAMETER The read request contains LBAs that are not
295 blocks are read, or an error is returned. If there is no media in the device,
307 @param[in] StartLBA The starting logical block address (LBA) to read from
315 @retval EFI_SUCCESS The data was read correctly from the device.
317 to perform the read operation. [all...] |
/device/linaro/bootloader/edk2/MdePkg/Include/Ppi/ |
CpuIo.h | 77 /// This service provides the various modalities of memory and I/O read.
79 EFI_PEI_CPU_IO_PPI_IO_MEM Read;
87 8-bit I/O read operations.
106 16-bit I/O read operations.
125 32-bit I/O read operations.
144 64-bit I/O read operations.
239 8-bit memory read operations.
258 16-bit memory read operations.
277 32-bit memory read operations.
296 64-bit memory read operations. [all...] |
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/ |
SerialIo.h | 63 // define for Control bits, grouped by read only, write only, and read write
66 // Read Only
82 // Read Write
168 @retval EFI_SUCCESS The control bits were read from the serial device.
208 @retval EFI_SUCCESS The data was read.
223 The data values in SERIAL_IO_MODE are read-only and are updated by the code
232 a Read or Write operation.
290 EFI_SERIAL_READ Read;
|
SimpleFileSystem.h | 101 file may be opened with are: Read, Read/Write, or Create/Read/Write.
182 handle to read data from.
185 @param Buffer The buffer into which the data is read.
187 @retval EFI_SUCCESS Data was read.
190 @retval EFI_DEVICE_ERROR An attempt was made to read from a deleted file.
193 @retval EFI_BUFFER_TOO_SMALL The BufferSize is too small to read the current directory
222 @retval EFI_ACCESS_DENIED The file was opened read only.
289 @retval EFI_BUFFER_TOO_SMALL The BufferSize is too small to read the current directory entry. [all...] |
/external/google-breakpad/src/common/mac/ |
macho_reader.cc | 82 bool FatReader::Read(const uint8_t *buffer, size_t size) { 87 // Fat binaries always use big-endian, so read the magic number in 101 // Read the list of object files. 106 // Read this object file entry, byte-swapping as appropriate. 224 bool Reader::Read(const uint8_t *buffer, 313 // refuse to read past the load command's end. But since we haven't 314 // read the size yet, let command initially refer to the entire 319 // Read the command type and size --- fields common to all commands. 330 // Now that we've read the length, restrict command's range to this 343 .Read(word_size, false, &segment.vmaddr [all...] |
macho_reader.h | 105 // Read the |size| bytes at |buffer| as a fat binary file. On success, 112 bool Read(const uint8_t *buffer, size_t size); 118 // Assuming Read returned true, the entries are validated: it is 120 // fat_arch' refer to subranges of the bytes passed to Read. 295 // An attempt was made to read a Mach-O file of the unsupported 363 // Read the given data as a Mach-O file. The reader retains pointers 369 bool Read(const uint8_t *buffer, 373 bool Read(const ByteBuffer &buffer, 376 return Read(buffer.start, 404 // passed to Read. If we find the section, return true; otherwise [all...] |
/external/libbrillo/brillo/dbus/ |
data_serialization_unittest.cc | 145 // Test that a byte can be properly written and read. We only have this 154 EXPECT_TRUE(reader.HasMoreData()); // Should have data to read. 164 EXPECT_FALSE(reader.HasMoreData()); // Should not have more data to read. 170 // Check all basic types can be properly written and read. 231 // Check all basic types can be properly written and read. 263 // Check all variant types can be properly written and read. 644 &dict_ss_out2)); // Read "a{sv}" as "a{ss}". 697 inline static bool Read(dbus::MessageReader* reader, Person* value) {
|
/external/libchrome/base/files/ |
file_path_watcher_unittest.cc | 795 Read, 809 case Read: 855 ASSERT_TRUE(ChangeFilePermissions(test_dir1, Read, false)); 860 ASSERT_TRUE(ChangeFilePermissions(test_dir1, Read, true));
|
file_posix.cc | 201 int File::Read(int64_t offset, char* data, int size) { 207 SCOPED_FILE_TRACE_WITH_SIZE("Read", size); 234 rv = HANDLE_EINTR(read(file_.get(), data + bytes_read, size - bytes_read)); 258 return HANDLE_EINTR(read(file_.get(), data, size));
|
/external/libmojo/ipc/ |
ipc_message_utils.cc | 356 bool ParamTraits<signed char>::Read(const base::Pickle* m, 379 bool ParamTraits<unsigned char>::Read(const base::Pickle* m, 402 bool ParamTraits<unsigned short>::Read(const base::Pickle* m, 456 bool ParamTraits<double>::Read(const base::Pickle* m, 495 bool ParamTraits<std::vector<char>>::Read(const base::Pickle* m, 527 bool ParamTraits<std::vector<unsigned char>>::Read(const base::Pickle* m, 562 bool ParamTraits<std::vector<bool>>::Read(const base::Pickle* m, 597 bool ParamTraits<base::DictionaryValue>::Read(const base::Pickle* m, 641 bool ParamTraits<base::FileDescriptor>::Read(const base::Pickle* m, 703 bool ParamTraits<base::SharedMemoryHandle>::Read(const base::Pickle* m [all...] |
ipc_message_utils.h | 112 return ParamTraits<Type>::Read(m, iter, reinterpret_cast<Type* >(p)); 130 static bool Read(const base::Pickle* m, 143 static bool Read(const base::Pickle* m, 154 static bool Read(const base::Pickle* m, 165 static bool Read(const base::Pickle* m, 178 static bool Read(const base::Pickle* m, 193 static bool Read(const base::Pickle* m, 223 static bool Read(const base::Pickle* m, 240 static bool Read(const base::Pickle* m, 258 static bool Read(const base::Pickle* m [all...] |
/external/lzma/CPP/7zip/Archive/7z/ |
7zDecode.cpp | 152 STDMETHOD(Read)(void *data, UInt32 size, UInt32 *processedSize);
155 STDMETHODIMP CLockedSequentialInStreamMT::Read(void *data, UInt32 size, UInt32 *processedSize)
166 HRESULT res = _glob->Stream->Read(data, size, &realProcessedSize);
196 STDMETHOD(Read)(void *data, UInt32 size, UInt32 *processedSize);
199 STDMETHODIMP CLockedSequentialInStreamST::Read(void *data, UInt32 size, UInt32 *processedSize)
208 HRESULT res = _glob->Stream->Read(data, size, &realProcessedSize);
|
/external/lzma/CPP/7zip/Common/ |
FilterCoder.cpp | 293 // ---------- Read from Filter ----------
308 STDMETHODIMP CFilterCoder::Read(void *data, UInt32 size, UInt32 *processedSize)
|