Lines Matching refs:fdt
533 int fdt; member
583 if (write(ctx->fdt, buf, /*msvc*/(unsigned int)size) != (ssize_t)size) in nsc_regen_cb()
587 if ((size_t)write(ctx->fdt, "\n", 1) != 1) in nsc_regen_cb()
617 ctx.fdt = open(filepath, LWS_O_CREAT | LWS_O_WRONLY, 0600); in nsc_regen()
618 if (ctx.fdt < 0) in nsc_regen()
625 write(ctx.fdt, "# Netscape HTTP Cookie File\n", 28) != 28) in nsc_regen()
631 write(ctx.fdt, pay, /*msvc*/(unsigned int)pay_size) != in nsc_regen()
634 if (pay && write(ctx.fdt, "\n", 1u) != (ssize_t)1) in nsc_regen()
651 close(ctx.fdt); in nsc_regen()
652 ctx.fdt = -1; in nsc_regen()
669 if (ctx.fdt >= 0) in nsc_regen()
670 close(ctx.fdt); in nsc_regen()