Home
last modified time | relevance | path

Searched refs:fd (Results 1 – 25 of 102) sorted by relevance

12345

/trunk/main/bridges/source/cpp_uno/shared/
H A Dvtablefactory.cxx250 block.fd = -1; in createBlock()
267 if ((block.fd = mkstemp(tmpfname)) == -1) in createBlock()
269 if (block.fd == -1) in createBlock()
276 if (ftruncate(block.fd, block.size) == -1) in createBlock()
279 close(block.fd); in createBlock()
280 block.fd = -1; in createBlock()
293 if (block.start && block.exec && block.fd != -1) in createBlock()
300 if (!block.start || !block.exec || block.fd == -1) in createBlock()
303 block.fd = -1; in createBlock()
311 if (block.fd == -1 && block.start == block.exec && block.start != NULL) in freeBlock()
[all …]
/trunk/main/sal/osl/unx/
H A Dfile.cxx235 m_fd (fd), in FileHandle_Impl()
730 if (-1 == fd) in osl_createFileHandleFromFD()
873 if (-1 == fd) in osl_openFile()
879 int f = fcntl (fd, F_GETFL, 0); in osl_openFile()
883 (void) close(fd); in osl_openFile()
889 (void) close(fd); in osl_openFile()
899 (void) close(fd); in osl_openFile()
905 (void) close(fd); in osl_openFile()
918 (void) close(fd); in osl_openFile()
934 (void) close(fd); in osl_openFile()
[all …]
H A Dbacktrace.c103 void backtrace_symbols_fd( void **buffer, int size, int fd ) in backtrace_symbols_fd() argument
105 FILE *fp = fdopen( fd, "w" ); in backtrace_symbols_fd()
172 void backtrace_symbols_fd( void **buffer, int size, int fd ) in backtrace_symbols_fd() argument
174 FILE *fp = fdopen( fd, "w" ); in backtrace_symbols_fd()
257 void backtrace_symbols_fd( void **buffer, int size, int fd ) in backtrace_symbols_fd() argument
259 FILE *fp = fdopen( fd, "w" ); in backtrace_symbols_fd()
323 void backtrace_symbols_fd( void **buffer, int size, int fd ) in backtrace_symbols_fd() argument
325 FILE *fp = fdopen( fd, "w" ); in backtrace_symbols_fd()
H A Dprocess.c1154 int fd = 0; in osl_getProcStat() local
1159 if ((fd = open(name,O_RDONLY)) >=0 ) in osl_getProcStat()
1164 bRet = read(fd,prstatbuf,511) == 511; in osl_getProcStat()
1166 close(fd); in osl_getProcStat()
1207 int fd = 0; in osl_getProcStatus() local
1213 if ((fd = open(name,O_RDONLY)) >=0 ) in osl_getProcStatus()
1220 close(fd); in osl_getProcStatus()
1312 int fd; in osl_getProcessInfo() local
1317 if ((fd = open(name, O_RDONLY)) >= 0) in osl_getProcessInfo()
1340 close(fd); in osl_getProcessInfo()
[all …]
H A Dbacktrace.h35 void backtrace_symbols_fd( void **buffer, int size, int fd );
61 void backtrace_symbols_fd( void **buffer, int size, int fd );
87 void backtrace_symbols_fd( void **buffer, int size, int fd );
/trunk/main/solenv/inc/
H A D_tg_sdi.mk30 -fd$(INCCOMX)/$(SDI1NAME).ilb \
48 -fd$(INCCOMX)/$(SDI2NAME).ilb \
66 -fd$(INCCOMX)/$(SDI3NAME).ilb \
84 -fd$(INCCOMX)/$(SDI4NAME).ilb \
102 -fd$(INCCOMX)/$(SDI5NAME).ilb \
120 -fd$(INCCOMX)/$(SDI6NAME).ilb \
138 -fd$(INCCOMX)/$(SDI7NAME).ilb \
156 -fd$(INCCOMX)/$(SDI8NAME).ilb \
174 -fd$(INCCOMX)/$(SDI9NAME).ilb \
192 -fd$(INCCOMX)/$(SDI10NAME).ilb \
/trunk/main/vcl/unx/generic/app/
H A Dsaldata.cxx582 int fd; // file descriptor for reading member
588 inline int HasPendingEvent() const { return pending( fd, data ); } in HasPendingEvent()
589 inline int IsEventQueued() const { return queued( fd, data ); } in IsEventQueued()
590 inline void HandleNextEvent() const { handle( fd, data ); } in HandleNextEvent()
603 DBG_ASSERT( !yieldTable[nFD].fd, "SalXLib::Insert fd twice" ); in Insert()
605 yieldTable[nFD].fd = nFD; in Insert()
623 yieldTable[nFD].fd = 0; in Remove()
628 nFD >= 0 && !yieldTable[nFD].fd; in Remove()
677 if ( pEntry->fd ) in Yield()
679 DBG_ASSERT( nFD == pEntry->fd, "wrong fd in Yield()" ); in Yield()
[all …]
/trunk/main/soltools/adjustvisibility/
H A Dadjustvisibility.cxx129 void adjustVisibility( const std::string& rFile, int fd, bool bVerbose) in adjustVisibility() argument
137 if ((pElf = elf_begin(fd, ELF_C_RDWR, 0)) == NULL) { in adjustVisibility()
219 close(fd); in adjustVisibility()
227 int fd; in processObject() local
230 if ((fd = open(rFile.c_str(), O_RDWR)) == -1) { in processObject()
239 if ( fstat(fd, &aStatBuf) == -1) { in processObject()
248 adjustVisibility(rFile, fd, bVerbose); in processObject()
250 close(fd); in processObject()
/trunk/main/xmerge/java/pexcel/src/main/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/records/
H A DWorkbook.java80 FontDescription fd = new FontDescription(defaultFormat); in Workbook() local
81 fonts.add(fd); in Workbook()
111 FontDescription fd = (FontDescription) e.nextElement(); in write() local
112 fd.write(os); in write()
175 FontDescription fd = new FontDescription(is); in read() local
176 fonts.add(fd); in read()
221 FontDescription fd = (FontDescription) e.nextElement(); in addFont() local
222 if(fd.compareTo(f)) { in addFont()
243 FontDescription fd = new FontDescription(fmt); in addExtendedFormat() local
244 int ixfnt = addFont(fd); in addExtendedFormat()
/trunk/main/sal/osl/os2/
H A Dfile.cxx301 m_fd (fd), in FileHandle_Impl()
1272 if (-1 == fd) in osl_createFileHandleFromFD()
1276 if (-1 == fstat (fd, &aFileStat)) in osl_createFileHandleFromFD()
1415 if (-1 == fd) in osl_openFile()
1425 (void) close(fd); in osl_openFile()
1431 (void) close(fd); in osl_openFile()
1441 (void) close(fd); in osl_openFile()
1447 (void) close(fd); in osl_openFile()
1460 (void) close(fd); in osl_openFile()
1476 (void) close(fd); in osl_openFile()
[all …]
/trunk/main/xmerge/java/pexcel/src/main/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/
H A DPocketExcelDecoder.java409 FontDescription fd = wb.getFontDescription(xf.getFontIndex()); in readCellFormat() local
411 fmt.setAttribute(Format.ITALIC, fd.isItalic()); in readCellFormat()
412 fmt.setAttribute(Format.BOLD, fd.isBold()); in readCellFormat()
413 fmt.setAttribute(Format.UNDERLINE, fd.isUnderline()); in readCellFormat()
414 fmt.setForeground(fd.getForeground()); in readCellFormat()
426 fmt.setFontName(fd.getFont()); in readCellFormat()
427 fmt.setFontSize(fd.getFontSize()); in readCellFormat()
/trunk/main/soltools/cpp/
H A D_include.c56 int angled, fd, i; in doinclude() local
101 fd = open(fname, O_RDONLY); in doinclude()
106 for (fd = -1, i = (depth < 0) ? (NINCLUDE - 1) : (depth - 1); i >= 0; i--) in doinclude()
116 if ((fd = open(iname, O_RDONLY)) >= 0) in doinclude()
121 if (fd >= 0) in doinclude()
137 … setsource((char *) newstring((uchar *) iname, strlen(iname), 0), i, fd, NULL, (i >= 0) ? 1 : 0); in doinclude()
H A D_lex.c495 if (tp != trp->bp && (tp - 1)->type != NL && cursource->fd != -1) in gettokens()
637 if (s->fd < 0 || (n = read(s->fd, (char *) s->inl, INS / 8)) <= 0) in fillbuf()
655 setsource(char *name, int path, int fd, char *str, int wrap) in setsource() argument
662 s->fd = fd; in setsource()
702 if (s->fd >= 0) in unsetsource()
704 close(s->fd); in unsetsource()
H A D_unix.c61 int c, fd, i, n; in setup() local
191 fd = 0; in setup()
202 if ((fd = open(fp, O_RDONLY)) <= 0) in setup()
217 setsource(fp, -1, fd, NULL, 0); in setup()
/trunk/main/desktop/source/pagein/
H A Dfile_image_unx.c48 int fd; in file_image_open() local
57 if ((fd = open (filename, O_RDONLY)) == -1) in file_image_open()
60 if (fstat (fd, &st) == -1) in file_image_open()
66 p = mmap (0, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0); in file_image_open()
76 close (fd); in file_image_open()
/trunk/main/tools/source/stream/
H A Dstrmunx.cxx860 int fd = pInstanceData->nHandle; in SetSize() local
861 if (::ftruncate (fd, (off_t)nSize) < 0) in SetSize()
868 if (::fstat (fd, &aStat) < 0) in SetSize()
881 sal_Size nCurPos = (sal_Size)::lseek (fd, (off_t)0, SEEK_CUR); in SetSize()
889 if (::lseek (fd, (off_t)(nSize - 1), SEEK_SET) < 0) in SetSize()
894 if (::write (fd, (char*)"", (size_t)1) < 0) in SetSize()
897 if (::lseek (fd, (off_t)nCurPos, SEEK_SET) < 0) in SetSize()
907 if (::lseek (fd, (off_t)nCurPos, SEEK_SET) < 0) in SetSize()
/trunk/main/extensions/workben/
H A Dtestpgp.cxx77 DataSource_Impl (int fd = 0);
201 DataSource_Impl::DataSource_Impl (int fd) in DataSource_Impl() argument
202 : m_fd (fd), m_position (0) in DataSource_Impl()
600 int fd = 0; in main() local
644 if ((fd = open (argv[i], O_RDONLY | O_BINARY)) < 0) in main()
739 DataSource_Impl *source = new DataSource_Impl (fd); in main()
779 sal_Bool bDataIsAscii = (fd == 0); // stdin. in main()
/trunk/main/sal/osl/w32/
H A Dprocess.cxx544 HANDLE fd = (HANDLE)pSocket->m_Socket; in osl_sendResourcePipe() local
560 fd, in osl_sendResourcePipe()
567 WritePipe(hPipe, &newFd, sizeof(fd), &bytes) in osl_sendResourcePipe()
602 HANDLE fd = INVALID_HANDLE_VALUE; in osl_receiveResourcePipe() local
611 ReadPipe(hPipe, &fd, sizeof(fd), &bytes) in osl_receiveResourcePipe()
616 pSocket = __osl_createSocketImpl((SOCKET)fd); in osl_receiveResourcePipe()
/trunk/main/vcl/unx/gtk/app/
H A Dgtkdata.cxx546 virtual void Insert( int fd, void* data,
550 virtual void Remove( int fd );
919 watch->pending (watch->pollfd.fd, watch->user_data)) { in sal_source_prepare()
945 watch->handle (watch->pollfd.fd, watch->user_data); in sal_source_dispatch()
967 sal_source_create_watch (int fd, in sal_source_create_watch() argument
981 watch->pollfd.fd = fd; in sal_source_create_watch()
1018 if (watch->pollfd.fd == nFD) in Remove()
/trunk/main/vcl/unx/headless/
H A Dsvpprn.cxx200 int pid, fd[2]; in passFileToCommandLine() local
203 bHavePipes = pipe( fd ) ? false : true; in passFileToCommandLine()
208 close( fd[0] ); in passFileToCommandLine()
215 write( fd[ 1 ], aBuffer, nBytes ); in passFileToCommandLine()
218 close( fd[ 1 ] ); in passFileToCommandLine()
229 close( fd[1] ); in passFileToCommandLine()
230 if( fd[0] != STDIN_FILENO ) // not probable, but who knows :) in passFileToCommandLine()
231 dup2( fd[0], STDIN_FILENO ); in passFileToCommandLine()
/trunk/main/soltools/mkdepend/
H A Dmain.c474 register int fd; local
482 if ((fd = open(file, O_RDONLY)) < 0) {
488 fstat(fd, &st);
497 close( fd );
507 if ((bytes_read = read(fd, content->f_base, malloc_size)) < 0)
511 close(fd);
/trunk/main/svx/source/customshapes/
H A DEnhancedCustomShapeFontWork.cxx606 double fd = ( 1.0 / ( fDistance - fLastDistance ) ) * ( *aIter - fLastDistance ); in InsertMissingOutlinePoints() local
607 … rPoly.Insert( i, Point( (sal_Int32)( rPt0.X() + fX * fd ), (sal_Int32)( rPt0.Y() + fY * fd ) ) ); in InsertMissingOutlinePoints()
621 double fd = ( 1.0 / ( fDistance - fLastDistance ) ) * ( *aIter - fLastDistance ); in InsertMissingOutlinePoints() local
622 … rPoly.Insert( i, Point( (sal_Int32)( rPt0.X() + fX * fd ), (sal_Int32)( rPt0.Y() + fY * fd ) ) ); in InsertMissingOutlinePoints()
648 double fd = ( 1.0 / ( *aIter - fDist0 ) ) * ( fX - fDist0 ); in GetPoint() local
652 fWidth *= fd; in GetPoint()
653 fHeight*= fd; in GetPoint()
/trunk/main/xmlsecurity/test_docs/CAs/Root_11/demoCA/newcerts/
H A D101A.pem17 c5:8a:e8:0e:d3:f6:f9:b1:90:a6:4a:bb:82:45:fd:
19 13:1d:9d:28:26:e3:44:bd:fd:26:da:b2:7b:47:e1:
42 d7:e7:b3:5d:10:9c:ed:14:af:1c:fd:0b:11:a3:fd:f9:b9:2d:
/trunk/main/dtrans/source/os2/clipb/
H A DOS2Bitmap.cxx246 int fd = open( "test.bmp", O_BINARY | O_CREAT | O_TRUNC | O_RDWR); in main() local
247 printf( "writing to fd %d\n", fd); in main()
248 write( fd, winDIBStream.getArray(), winDIBStream.getLength()); in main()
249 close( fd); in main()
/trunk/main/python/
H A Dpython-freebsd.patch7 int fd;
34 conv_descriptor, &fd, &code,
43 conv_descriptor, &fd, &code, &str, &len)) {
53 conv_descriptor, &fd, &code, &arg)) {

Completed in 157 milliseconds

12345