/external/icu4c/tools/toolutil/ |
D | filestrm.c | 73 T_FileStream_close(FileStream* fileStream) in T_FileStream_close() argument 75 if (fileStream != 0) in T_FileStream_close() 76 fclose((FILE*)fileStream); in T_FileStream_close() 103 T_FileStream_read(FileStream* fileStream, void* addr, int32_t len) in T_FileStream_read() argument 105 return fread(addr, 1, len, (FILE*)fileStream); in T_FileStream_read() 109 T_FileStream_write(FileStream* fileStream, const void* addr, int32_t len) in T_FileStream_write() argument 112 return fwrite(addr, 1, len, (FILE*)fileStream); in T_FileStream_write() 116 T_FileStream_rewind(FileStream* fileStream) in T_FileStream_rewind() argument 118 rewind((FILE*)fileStream); in T_FileStream_rewind() 122 T_FileStream_putc(FileStream* fileStream, int32_t ch) in T_FileStream_putc() argument [all …]
|
D | filestrm.h | 40 T_FileStream_close(FileStream* fileStream); 51 T_FileStream_read(FileStream* fileStream, void* addr, int32_t len); 54 T_FileStream_write(FileStream* fileStream, const void* addr, int32_t len); 57 T_FileStream_rewind(FileStream* fileStream); 61 T_FileStream_readLine(FileStream* fileStream, char* buffer, int32_t length); 64 T_FileStream_writeLine(FileStream* fileStream, const char* buffer); 67 T_FileStream_putc(FileStream* fileStream, int32_t ch); 70 T_FileStream_getc(FileStream* fileStream); 73 T_FileStream_ungetc(int32_t ch, FileStream *fileStream); 76 T_FileStream_peek(FileStream* fileStream); [all …]
|
/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
D | NonVolatileStore.cpp | 75 int fileStream = open (filename, O_RDONLY); in nfc_hal_nv_co_read() local 76 if (fileStream >= 0) in nfc_hal_nv_co_read() 78 size_t actualRead = read (fileStream, p_buf, nbytes); in nfc_hal_nv_co_read() 89 close (fileStream); in nfc_hal_nv_co_read() 121 int fileStream = 0; in nfc_hal_nv_co_write() local 132 fileStream = open (filename, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in nfc_hal_nv_co_write() 133 if (fileStream >= 0) in nfc_hal_nv_co_write() 135 size_t actualWritten = write (fileStream, p_buf, nbytes); in nfc_hal_nv_co_write() 145 close (fileStream); in nfc_hal_nv_co_write()
|
/external/libnfc-nci/src/adaptation/ |
D | libmain.c | 110 int fileStream = open (filename, O_RDONLY); in nfa_nv_co_read() local 111 if (fileStream >= 0) in nfa_nv_co_read() 113 size_t actualRead = read (fileStream, pBuffer, nbytes); in nfa_nv_co_read() 124 close (fileStream); in nfa_nv_co_read() 167 int fileStream = 0; in nfa_nv_co_write() local 169 fileStream = open (filename, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in nfa_nv_co_write() 170 if (fileStream >= 0) in nfa_nv_co_write() 172 size_t actualWritten = write (fileStream, pBuffer, nbytes); in nfa_nv_co_write() 182 close (fileStream); in nfa_nv_co_write()
|
/external/skia/tests/ |
D | FlateTest.cpp | 97 SkZeroSizeMemStream fileStream; in TestFlateCompression() local 98 TestFlate(reporter, &fileStream, 512); in TestFlateCompression() 99 TestFlate(reporter, &fileStream, 10240); in TestFlateCompression()
|
/external/webkit/Source/WebCore/bindings/scripts/ |
D | InFilesParser.pm | 83 my $fileStream = shift; # IO::File only 87 foreach (<$fileStream>) {
|
/external/skia/tools/ |
D | skdiff_utils.cpp | 28 SkFILEStream fileStream(file_path); in read_file() local 29 if (!fileStream.isValid()) { in read_file() 33 size_t bytesInFile = fileStream.getLength(); in read_file() 39 size_t bytesReadThisTime = fileStream.read(bufferPointer, bytesLeftToRead); in read_file()
|
/external/chromium/chrome/browser/ui/cocoa/tab_contents/ |
D | web_drag_source.mm | 339 FileStream* fileStream = 341 if (!fileStream) 348 linked_ptr<net::FileStream>(fileStream), 360 new PromiseWriterTask(*dropData_, fileStream));
|
/external/icu4c/tools/genrb/ |
D | wrtxml.cpp | 55 static int32_t write_utf8_file(FileStream* fileStream, UnicodeString outString) in write_utf8_file() argument 81 int32_t ret = T_FileStream_write(fileStream, dest, len); in write_utf8_file()
|