Home
last modified time | relevance | path

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

123

/buildroot/board/qemu/aarch64-sbsa/
A Dassemble-flash-images10 truncate -s 256M ${BINARIES_DIR}/SBSA_FLASH0.fd
11 truncate -s 256M ${BINARIES_DIR}/SBSA_FLASH1.fd
A Dreadme.txt24 -pflash output/images/SBSA_FLASH0.fd \
25 -pflash output/images/SBSA_FLASH1.fd \
/buildroot/board/qemu/riscv64-virt-efi/
A Dassemble-flash-images10 truncate -s 32M "${BINARIES_DIR}"/RISCV_VIRT_CODE.fd
11 truncate -s 32M "${BINARIES_DIR}"/RISCV_VIRT_VARS.fd
A Dreadme.txt22 … -blockdev node-name=pflash0,driver=file,read-only=on,filename=output/images/RISCV_VIRT_CODE.fd \
23 -blockdev node-name=pflash1,driver=file,filename=output/images/RISCV_VIRT_VARS.fd \
/buildroot/package/vdr/
A D0001-getloadavg.patch19 + int fd;
21 + fd = open ("/proc/loadavg", O_RDONLY);
22 + if (fd < 0)
30 + nread = read (fd, buf, sizeof buf - 1);
31 + close (fd);
/buildroot/package/cpulimit/
A D0003-Fix-an-infrequent-crash.patch19 fd = fopen(exefile, "r");
20 + if (fd==NULL) return -1;
21 if (fgets(buffer, sizeof(buffer), fd)==NULL) {
22 fclose(fd);
/buildroot/package/acpid/
A D0001-dont-use-isfdtype.patch11 is_socket(int fd)
13 - return (isfdtype(fd, S_IFSOCK) == 1);
17 + return (getsockopt(fd, SOL_SOCKET, SO_TYPE, (char *)&v, &l) == 0);
/buildroot/package/mkpimage/
A Dmkpimage.c68 static int read_full(int fd, void *buf, size_t size) in read_full() argument
75 now = read(fd, buf, size); in read_full()
88 static int write_full(int fd, void *buf, size_t size) in write_full() argument
94 now = write(fd, buf, size); in write_full()
268 int fd; in main() local
330 fd = open(infile, O_RDONLY); in main()
331 if (fd == -1) { in main()
346 ret = read_full(fd, buf + addsize, s.st_size); in main()
352 close(fd); in main()
363 fd = open(outfile, O_WRONLY | O_CREAT | O_TRUNC, 0644); in main()
[all …]
/buildroot/package/sysvinit/
A Dinittab13 si6::sysinit:/bin/ln -sf /proc/self/fd /dev/fd 2>/dev/null
14 si7::sysinit:/bin/ln -sf /proc/self/fd/0 /dev/stdin 2>/dev/null
15 si8::sysinit:/bin/ln -sf /proc/self/fd/1 /dev/stdout 2>/dev/null
16 si9::sysinit:/bin/ln -sf /proc/self/fd/2 /dev/stderr 2>/dev/null
/buildroot/package/busybox/
A Dinittab23 null::sysinit:/bin/ln -sf /proc/self/fd /dev/fd
24 null::sysinit:/bin/ln -sf /proc/self/fd/0 /dev/stdin
25 null::sysinit:/bin/ln -sf /proc/self/fd/1 /dev/stdout
26 null::sysinit:/bin/ln -sf /proc/self/fd/2 /dev/stderr
/buildroot/package/f2fs-tools/
A D0001-f2fs-tools-convert-to-lseek-and-kill-lseek64.patch135 - return lseek(fd, offset, set);
175 - if (lseek64(fd, offset, SEEK_SET) < 0) {
177 + if (lseek(fd, offset, SEEK_SET) < 0) {
228 + err = dcache_read(fd, buf, (off_t)offset, len);
231 - if (lseek64(fd, (off64_t)offset, SEEK_SET) < 0)
232 + if (lseek(fd, (off_t)offset, SEEK_SET) < 0)
234 if (read(fd, buf, len) < 0)
244 + if (lseek(fd, (off_t)offset, SEEK_SET) < 0)
246 if (write(fd, buf, len) < 0)
262 + if (lseek(fd, (off_t)offset, SEEK_SET) < 0)
[all …]
/buildroot/package/python-selenium/
A Dpython-selenium.mk9 PYTHON_SELENIUM_SITE = https://files.pythonhosted.org/packages/16/fd/a0ef793383077dd6296e4637acc82d…
/buildroot/package/x11vnc/
A D0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch39 int d = direct_rel_fd < 0 ? fd : direct_rel_fd;
44 if (db) fprintf(stderr, "ptr_move(%d, %d) fd=%d\n", dx, dy, d);
59 int d = direct_abs_fd < 0 ? fd : direct_abs_fd;
63 if (db) fprintf(stderr, "ptr_abs(%d, %d => %d %d, p=%d) fd=%d\n", x0, y0, x, y, p, d);
77 int d = direct_btn_fd < 0 ? fd : direct_btn_fd;
81 if (db) fprintf(stderr, "button_click: btn %d %s fd=%d\n", btn, down ? "down" : "up", d);
98 int d = direct_key_fd < 0 ? fd : direct_key_fd;
100 …if (db) fprintf(stderr, "uinput_key_command: %d -> %d %s fd=%d\n", keysym, scancode, down ? "down"…
/buildroot/package/python-bottle/
A Dpython-bottle.mk9 PYTHON_BOTTLE_SITE = https://files.pythonhosted.org/packages/fd/04/1c09ab851a52fe6bc063fd0df758504e…
/buildroot/board/aarch64-efi/
A Dreadme.txt29 -bios </path/to/QEMU_EFI.fd> \
35 Note that </path/to/QEMU_EFI.fd> needs to point to a valid aarch64 UEFI
38 package, in path such as /usr/share/edk2/aarch64/QEMU_EFI.fd .
47 alternative to QEMU_EFI.fd. You will also need to change the machine
/buildroot/package/x11r7/mcookie/
A Dmcookie.c329 hash_file(struct MD5Context *ctx, int fd) in hash_file() argument
335 while ((r = read(fd, buf, sizeof(buf))) > 0) { in hash_file()
351 int fd; in main() local
378 fd = fileno(stdin); in main()
380 fd = open( file, O_RDONLY ); in main()
382 if (fd < 0) { in main()
385 count = hash_file( &ctx, fd ); in main()
389 if (file[0] != '-' || file[1]) close( fd ); in main()
394 if ((fd = open( rngs[i].path, O_RDONLY|O_NONBLOCK )) >= 0) { in main()
399 r = read( fd, buf, count ); in main()
[all …]
/buildroot/package/libglib2/
A D0002-Fix-error-format-in-gio-gunixconnection.c-part-2.patch60 - ngettext("Expecting one fd, but got %d\n",
61 - "Expecting one fd, but got %d\n",
65 + ngettext ("Expecting one fd, but got %d\n",
66 + "Expecting one fd, but got %d\n",
/buildroot/board/pc/
A Dreadme.txt64 -bios </path/to/OVMF_CODE.fd> \
69 Note that </path/to/OVMF.fd> needs to point to a valid x86_64 UEFI
72 /usr/share/edk2/ovmf/OVMF_CODE.fd .
/buildroot/board/mender/x86_64/
A Dreadme.txt43 -bios </path/to/OVMF_CODE.fd>
45 Note that </path/to/OVMF.fd> needs to point to a valid x86_64 UEFI
47 edk2 or OVMF package, in a path such as /usr/share/edk2/ovmf/OVMF_CODE.fd.
/buildroot/package/mkpasswd/
A Dmkpasswd.c363 int fd; in get_random_bytes() local
366 fd = open(RANDOM_DEVICE, O_RDONLY); in get_random_bytes()
367 if (fd < 0) { in get_random_bytes()
371 if (read(fd, buf, count) != count) { in get_random_bytes()
378 close(fd); in get_random_bytes()
/buildroot/package/uhttpd/
A D0002-Fix-TCP_FASTOPEN-related-compile-error.patch15 @@ -96,6 +96,12 @@ static void listener_cb(struct uloop_fd *fd, unsigned int events)
/buildroot/package/stress-ng/
A D0001-stress-sock.c-fix-build-without-SO_ZEROCOPY.patch12 656 | if (setsockopt(fd, SOL_SOCKET, SO_ZEROCOPY, &so_zerocopy, sizeof(so_zerocopy)) == 0) {
19 1060 | if (setsockopt(fd, SOL_SOCKET, SO_ZEROCOPY, &so_zerocopy, sizeof(so_zerocopy)) == 0) {
/buildroot/package/mediastreamer/
A D0001-src-videofilters-nowebcam.c-fix-build-without-ffmpeg.patch42 CloseHandle(fd);
52 close(fd);
/buildroot/package/dcron/
A D0001-main.c-add-newline-to-logfile-openning-error-message.patch17 dup2(fd, 2);
/buildroot/package/iozone/
A D0002-fix-build-without-aio.patch48 lock_offset=I_LSEEK(fd,0,SEEK_CUR);
64 mylockr((int) fd, (int) 0, (int)1,

Completed in 40 milliseconds

123