HomeSort by relevance Sort by last modified time
    Searched refs:nfile (Results 1 - 17 of 17) sorted by null

  /external/ltp/testcases/kernel/syscalls/open/
open04.c 42 static int nfile; variable
89 nfile = getdtablesize();
101 buf = malloc(sizeof(int) * nfile - first);
105 for (ifile = first; ifile <= nfile; ifile++) {
123 for (ifile = first; ifile < nfile; ifile++) {
  /prebuilts/go/darwin-x86/src/cmd/internal/objabi/
doc.go 111 // - nfile [int]
112 // - file [nfile symref index]
  /prebuilts/go/linux-x86/src/cmd/internal/objabi/
doc.go 111 // - nfile [int]
112 // - file [nfile symref index]
  /external/selinux/libselinux/src/
selinux_restorecon.c 215 int nfile = 0; local
219 nfile = statvfs_buf.f_files - statvfs_buf.f_ffree;
221 return nfile;
237 int index = 0, found = 0, nfile = 0; local
274 nfile += file_system_count(mount_info[1]);
291 return nfile * 1.05;
  /toolchain/binutils/binutils-2.27/binutils/
debug.c 680 struct debug_file *nfile;
686 nfile = (struct debug_file *) xmalloc (sizeof *nfile);
687 memset (nfile, 0, sizeof *nfile);
689 nfile->filename = name;
694 nunit->files = nfile;
695 info->current_file = nfile;
678 struct debug_file *nfile; local
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/vendor/github.com/google/pprof/internal/graph/
dotgraph_test.go 273 want := fmt.Sprintf(`%016x\ntest1\ntest2\ntest3\nfile.cc:999\n`, 123)
  /prebuilts/go/linux-x86/src/cmd/vendor/github.com/google/pprof/internal/graph/
dotgraph_test.go 273 want := fmt.Sprintf(`%016x\ntest1\ntest2\ntest3\nfile.cc:999\n`, 123)
  /external/valgrind/coregrind/m_debuginfo/
readpdb.c 1533 Int nfile; local
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/link/internal/ld/
elf.go 1073 nfile := 0
1075 nfile++
1123 elfverneed = nfile
1126 Elfwritedynent(ctxt, s, DT_VERNEEDNUM, uint64(nfile))
    [all...]
  /prebuilts/go/linux-x86/src/cmd/link/internal/ld/
elf.go 1073 nfile := 0
1075 nfile++
1123 elfverneed = nfile
1126 Elfwritedynent(ctxt, s, DT_VERNEEDNUM, uint64(nfile))
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/pydoc_data/
topics.py 13 'bltin-file-objects': u'\nFile Objects\n************\n\nFile objects are implemented using C\'s ``stdio`` package and can be\ncreated with the built-in ``open()`` function. File objects are also\nreturned by some other built-in functions and methods, such as\n``os.popen()`` and ``os.fdopen()`` and the ``makefile()`` method of\nsocket objects. Temporary files can be created using the ``tempfile``\nmodule, and high-level file operations such as copying, moving, and\ndeleting files and directories can be achieved with the ``shutil``\nmodule.\n\nWhen a file operation fails for an I/O-related reason, the exception\n``IOError`` is raised. This includes situations where the operation\nis not defined for some reason, like ``seek()`` on a tty device or\nwriting a file opened for reading.\n\nFiles have the following methods:\n\nfile.close()\n\n Close the file. A closed file cannot be read or written any more.\n Any operation which requires that the file be open will raise a\n ``ValueError`` after the file has been closed. Calling ``close()``\n more than once is allowed.\n\n As of Python 2.5, you can avoid having to call this method\n explicitly if you use the ``with`` statement. For example, the\n following code will automatically close *f* when the ``with`` block\n is exited:\n\n from __future__ import with_statement # This isn\'t required in Python 2.6\n\n with open("hello.txt") as f:\n for line in f:\n print line\n\n In older versions of Python, you would have needed to do this to\n get the same effect:\n\n f = open("hello.txt")\n try:\n for line in f:\n print line\n finally:\n f.close()\n\n Note: Not all "file-like" types in Python support use as a context\n manager for the ``with`` statement. If your code is intended to\n work with any file-like object, you can use the function\n ``contextlib.closing()`` instead of using the object directly.\n\nfile.flush()\n\n Flush the internal buffer, like ``stdio``\'s ``fflush()``. This may\n be a no-op (…)
    [all...]
  /external/python/cpython2/Lib/pydoc_data/
topics.py 14 'bltin-file-objects': u'\nFile Objects\n************\n\nFile objects are implemented using C\'s "stdio" package and can be\ncreated with the built-in "open()" function. File objects are also\nreturned by some other built-in functions and methods, such as\n"os.popen()" and "os.fdopen()" and the "makefile()" method of socket\nobjects. Temporary files can be created using the "tempfile" module,\nand high-level file operations such as copying, moving, and deleting\nfiles and directories can be achieved with the "shutil" module.\n\nWhen a file operation fails for an I/O-related reason, the exception\n"IOError" is raised. This includes situations where the operation is\nnot defined for some reason, like "seek()" on a tty device or writing\na file opened for reading.\n\nFiles have the following methods:\n\nfile.close()\n\n Close the file. A closed file cannot be read or written any more.\n Any operation which requires that the file be open will raise a\n "ValueError" after the file has been closed. Calling "close()"\n more than once is allowed.\n\n As of Python 2.5, you can avoid having to call this method\n explicitly if you use the "with" statement. For example, the\n following code will automatically close *f* when the "with" block\n is exited:\n\n from __future__ import with_statement # This isn\'t required in Python 2.6\n\n with open("hello.txt") as f:\n for line in f:\n print line,\n\n In older versions of Python, you would have needed to do this to\n get the same effect:\n\n f = open("hello.txt")\n try:\n for line in f:\n print line,\n finally:\n f.close()\n\n Note: Not all "file-like" types in Python support use as a\n context manager for the "with" statement. If your code is\n intended to work with any file-like object, you can use the\n function "contextlib.closing()" instead of using the object\n directly.\n\nfile.flush()\n\n Flush the internal buffer, like "stdio"\'s "fflush()". This may be\n a no-op on some file-like objects.\n\n Note: "flush()" does not necessarily write the file\'s data to\n disk. Use "flush()" followed by "os.fsync()" to ensure this\n behavior.\n\nfile.fileno()\n\n Return the integer "file descriptor" that is used by the underlying\n implementat (…)
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/pydoc_data/
topics.py     [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/pydoc_data/
topics.py     [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/pydoc_data/
topics.py     [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/pydoc_data/
topics.py     [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/pydoc_data/
topics.py     [all...]

Completed in 3083 milliseconds