Searched defs:fd (Results 251 - 275 of 1450) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/third_party/mesa/src/src/gallium/targets/egl-static/
H A Degl_pipe.c50 pipe_i915_create_screen(int fd) argument
56 iws = i915_drm_winsys_create(fd);
73 pipe_nouveau_create_screen(int fd) argument
78 screen = nouveau_drm_screen_create(fd);
91 pipe_r300_create_screen(int fd) argument
97 sws = radeon_drm_winsys_create(fd);
114 pipe_r600_create_screen(int fd) argument
120 rw = radeon_drm_winsys_create(fd);
137 pipe_radeonsi_create_screen(int fd) argument
143 rw = radeon_drm_winsys_create(fd);
160 pipe_vmwgfx_create_screen(int fd) argument
183 egl_pipe_create_drm_screen(const char *name, int fd) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/i915/drm/
H A Di915_drm_winsys.c19 i915_drm_get_device_id(int fd, unsigned int *device_id) argument
27 ret = ioctl(fd, DRM_IOCTL_I915_GETPARAM, &gp, sizeof(gp));
57 idws->fd = drmFD;
63 idws->gem_manager = drm_intel_bufmgr_gem_init(idws->fd, idws->max_batch_size);
/external/chromium_org/third_party/mesa/src/src/gbm/backends/dri/
H A Ddriver_name.c39 dri_fd_get_driver_name(int fd) argument
48 device = _gbm_udev_device_new_from_fd(udev, fd);
71 fd, vendor_id, chip_id, driver);
79 fd, vendor_id, chip_id, driver);
/external/chromium_org/third_party/ots/test/
H A Dot-sanitise.cc43 const int fd = ::open(argv[1], O_RDONLY | ADDITIONAL_OPEN_FLAGS); local
44 if (fd < 0) {
50 ::fstat(fd, &st);
53 if (::read(fd, data, st.st_size) != st.st_size) {
57 ::close(fd);
H A Dperf.cc32 const int fd = ::open(argv[1], O_RDONLY); local
33 if (fd < 0) {
39 ::fstat(fd, &st);
42 if (::read(fd, data, st.st_size) != st.st_size) {
/external/chromium_org/third_party/skia/src/ports/
H A DSkOSFile_none.cpp24 void* sk_fdmmap(int fd, size_t* size) { argument
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
H A Dlogging.cc52 RawFD fd = CreateFileA(filename, GENERIC_WRITE, 0, NULL, local
54 if (fd != kIllegalRawFD && GetLastError() == ERROR_ALREADY_EXISTS)
55 SetEndOfFile(fd); // truncate the existing file
56 return fd;
93 void RawWrite(RawFD fd, const char* buf, size_t len) { argument
96 NO_INTR(r = write(fd, buf, len));
103 void RawClose(RawFD fd) { argument
104 NO_INTR(close(fd));
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dmalloc_hook_mmap_freebsd.h60 int fd, off_t offset) __THROW
70 int fd, off_t offset) __THROW {
72 start, length, prot, flags, fd, offset);
117 int fd, off_t offset) __THROW {
118 MallocHook::InvokePreMmapHook(start, length, prot, flags, fd, offset);
121 start, length, prot, flags, fd, offset, &result)) {
122 result = do_mmap(start, length, prot, flags, fd,
125 MallocHook::InvokeMmapHook(result, start, length, prot, flags, fd, offset);
147 int flags, int fd, off_t offset) {
150 start, length, prot, flags, fd, offse
146 UnhookedMMap(void *start, size_t length, int prot, int flags, int fd, off_t offset) argument
[all...]
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
H A Dlogging.cc52 RawFD fd = CreateFileA(filename, GENERIC_WRITE, 0, NULL, local
54 if (fd != kIllegalRawFD && GetLastError() == ERROR_ALREADY_EXISTS)
55 SetEndOfFile(fd); // truncate the existing file
56 return fd;
93 void RawWrite(RawFD fd, const char* buf, size_t len) { argument
96 NO_INTR(r = write(fd, buf, len));
103 void RawClose(RawFD fd) { argument
104 NO_INTR(close(fd));
/external/chromium_org/third_party/tcmalloc/vendor/src/
H A Dmalloc_hook_mmap_freebsd.h60 int fd, off_t offset) __THROW
70 int fd, off_t offset) __THROW {
72 start, length, prot, flags, fd, offset);
117 int fd, off_t offset) __THROW {
118 MallocHook::InvokePreMmapHook(start, length, prot, flags, fd, offset);
121 start, length, prot, flags, fd, offset, &result)) {
122 result = do_mmap(start, length, prot, flags, fd,
125 MallocHook::InvokeMmapHook(result, start, length, prot, flags, fd, offset);
147 int flags, int fd, off_t offset) {
150 start, length, prot, flags, fd, offse
146 UnhookedMMap(void *start, size_t length, int prot, int flags, int fd, off_t offset) argument
[all...]
H A Dmalloc_hook_mmap_linux.h58 int fd, __off64_t offset) __THROW {
59 return sys_mmap(start, length, prot, flags, fd, offset);
69 int fd, __off64_t offset) __THROW {
86 start, length, prot, flags, fd,
106 int32 args[6] = { (int32) start, (int32) length, prot, flags, fd,
140 int fd, __off64_t offset ) __THROW
143 int fd, off_t offset) __THROW
155 int fd, __off64_t offset) __THROW {
156 MallocHook::InvokePreMmapHook(start, length, prot, flags, fd, offset);
159 start, length, prot, flags, fd, offse
214 UnhookedMMap(void *start, size_t length, int prot, int flags, int fd, off_t offset) argument
[all...]
/external/chromium_org/third_party/webrtc/base/
H A Dlinuxfdwalk.c20 // in /proc/*/fd. Returns the value, or -1 if not a valid string.
39 DIR *dir = opendir("/proc/self/fd");
55 int fd = parse_fd(ent->d_name); local
56 if (fd < 0) {
60 if (fd != opendirfd) {
61 (*func)(opaque, fd);
H A Dlinuxfdwalk_unittest.cc24 static void FdCheckVisitor(void *data, int fd) { argument
26 EXPECT_EQ(1U, fds->erase(fd));
29 static void FdEnumVisitor(void *data, int fd) { argument
31 EXPECT_TRUE(fds->insert(fd).second);
H A Dposix.cc25 static void closefds(void *close_errors, int fd) { argument
26 if (fd <= 2) {
30 if (close(fd) < 0) {
/external/chromium_org/v8/src/arm64/
H A Ddelayed-masm-arm64-inl.h32 void DelayedMasm::Fmov(FPRegister fd, FPRegister fn) { argument
34 __ Fmov(fd, fn);
38 void DelayedMasm::Fmov(FPRegister fd, double imm) { argument
40 __ Fmov(fd, imm);
/external/clang/test/Sema/
H A Ddarwin-align-cast.c19 ssize_t sendFileDescriptor(int fd, void *data, size_t nbytes, int sendfd) { argument
/external/compiler-rt/lib/dfsan/
H A Ddfsan_interceptors.cc20 int fd, OFF_T offset) {
21 void *res = REAL(mmap)(addr, length, prot, flags, fd, offset);
28 int fd, OFF64_T offset) {
29 void *res = REAL(mmap64)(addr, length, prot, flags, fd, offset);
19 INTERCEPTOR(void *, mmap, void *addr, SIZE_T length, int prot, int flags, int fd, OFF_T offset) argument
27 INTERCEPTOR(void *, mmap64, void *addr, SIZE_T length, int prot, int flags, int fd, OFF64_T offset) argument
/external/compiler-rt/test/asan/TestCases/Linux/
H A Dcoverage-sandboxing.cc65 int fd = creat("coverage_sandboxing_test.sancov.packed", 0660); local
68 args.coverage_fd = fd;
/external/dhcpcd/
H A Dbind.c65 int sidpipe[2], fd; local
89 if ((fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) {
90 dup2(fd, STDIN_FILENO);
91 dup2(fd, STDOUT_FILENO);
92 dup2(fd, STDERR_FILENO);
93 if (fd > STDERR_FILENO)
94 close(fd);
106 /* Done with the fd now */
/external/e2fsprogs/contrib/
H A Dmake-sparse.c23 int full_read(int fd, char *buf, size_t count) argument
29 got = read(fd, buf, count);
50 int fd, got, i; local
58 fd = open(argv[1], O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0777);
59 if (fd < 0) {
72 lseek(fd, sizeof(buf), SEEK_CUR);
78 write(fd, buf, got);
81 lseek(fd, -1, SEEK_CUR);
83 write(fd, buf, 1);
/external/e2fsprogs/e2fsck/
H A Dextend.c31 int fd; local
55 fd = open(filename, O_RDWR);
56 if (fd < 0) {
60 ret = lseek(fd, nblocks*blocksize, SEEK_SET);
65 ret = read(fd, block, blocksize);
70 ret = lseek(fd, nblocks*blocksize, SEEK_SET);
75 ret = write(fd, block, blocksize);
/external/e2fsprogs/lib/blkid/
H A Dllseek.c41 extern long long llseek(int fd, long long offset, int origin);
64 static _syscall5(int, _llseek, unsigned int, fd, unsigned long, offset_high,
69 static blkid_loff_t my_llseek(int fd, blkid_loff_t offset, int origin) argument
75 retval = _llseek(fd, ((unsigned long long) offset) >> 32,
79 retval = syscall(__NR__llseek, fd, ((unsigned long long) offset) >> 32,
90 blkid_loff_t blkid_llseek(int fd, blkid_loff_t offset, int whence) argument
97 return lseek(fd, (off_t) offset, whence);
104 result = my_llseek(fd, offset, whence);
126 blkid_loff_t blkid_llseek(int fd, blkid_loff_t offset, int origin) argument
129 return lseek64 (fd, offse
[all...]
/external/e2fsprogs/lib/ext2fs/
H A Dgetsectsize.c26 #include <linux/fd.h>
46 int fd; local
48 fd = ext2fs_open_file(file, O_RDONLY, 0);
49 if (fd < 0)
53 if (ioctl(fd, BLKSSZGET, sectsize) >= 0) {
54 close(fd);
59 close(fd);
66 int ext2fs_get_dio_alignment(int fd) argument
71 if (ioctl(fd, BLKSSZGET, &align) < 0)
94 int fd; local
[all...]
H A Dllseek.c42 extern long long llseek (int fd, long long offset, int origin);
65 static _syscall5(int,_llseek,unsigned int,fd,unsigned long,offset_high,
70 static ext2_loff_t my_llseek (int fd, ext2_loff_t offset, int origin) argument
76 retval = _llseek(fd, ((unsigned long long) offset) >> 32,
78 retval = syscall(__NR__llseek, fd, (unsigned long long) (offset >> 32),
90 ext2_loff_t ext2fs_llseek (int fd, ext2_loff_t offset, int origin) argument
93 return my_llseek (fd, offset, origin);
101 result = my_llseek (fd, offset, origin);
110 return lseek(fd, (off_t) offset, origin);
124 ext2_loff_t ext2fs_llseek (int fd, ext2_loff_ argument
[all...]
/external/elfutils/0.153/lib/
H A Dcrc32_file.c56 crc32_file (int fd, uint32_t *resp) argument
64 if (fstat (fd, &st) == 0)
68 void *mapped = mmap (NULL, mapsize, PROT_READ, MAP_PRIVATE, fd, 0);
75 fd, 0)) == MAP_FAILED && errno == ENOMEM)
92 fd, off) == mapped);
97 while ((count = TEMP_FAILURE_RETRY (pread (fd, buffer, sizeof buffer,

Completed in 589 milliseconds

<<11121314151617181920>>