Home
last modified time | relevance | path

Searched refs:is_open (Results 1 - 25 of 138) sorted by relevance

123456

/third_party/skia/third_party/externals/harfbuzz/test/fuzzing/
H A Dhb-draw-fuzzer.cc11 bool is_open; member
23 assert (!user_data->is_open); in _move_to()
24 user_data->is_open = true; in _move_to()
33 assert (user_data->is_open); in _line_to()
45 assert (user_data->is_open); in _quadratic_to()
59 assert (user_data->is_open); in _cubic_to()
72 assert (user_data->is_open && user_data->path_len != 0); in _close_path()
74 user_data->is_open = false; in _close_path()
154 assert (!user_data.is_open); in LLVMFuzzerTestOneInput()
/kernel/linux/linux-5.10/drivers/char/tpm/
H A Dtpm-dev.c26 * by the check of is_open variable, which is protected in tpm_open()
28 if (test_and_set_bit(0, &chip->is_open)) { in tpm_open()
42 clear_bit(0, &chip->is_open); in tpm_open()
54 clear_bit(0, &priv->chip->is_open); in tpm_release()
/kernel/linux/linux-6.6/drivers/char/tpm/
H A Dtpm-dev.c26 * by the check of is_open variable, which is protected in tpm_open()
28 if (test_and_set_bit(0, &chip->is_open)) { in tpm_open()
42 clear_bit(0, &chip->is_open); in tpm_open()
54 clear_bit(0, &priv->chip->is_open); in tpm_release()
/third_party/zlib/contrib/iostream/
H A Dzfstream.cpp21 if ( is_open() ) in open()
63 if ( is_open() ) in attach()
104 if ( is_open() ) { in close()
138 if ( !is_open() || !(mode & ios::in) ) in underflow()
175 if ( !is_open() || !(mode & ios::out) ) in overflow()
208 if ( !is_open() ) in sync()
/third_party/zlib/contrib/iostream3/
H A Dzfstream.h57 is_open() const { return (file != NULL); } in is_open() function in gzfilebuf
270 is_open() { return sb.is_open(); } in is_open() function in gzifstream
359 is_open() { return sb.is_open(); } in is_open() function in gzofstream
H A Dzfstream.cc55 if (this->is_open()) in open()
83 if (this->is_open()) in attach()
110 if (!this->is_open()) in close()
172 if (!this->is_open() || !(io_mode & std::ios_base::in)) in showmanyc()
192 if (!this->is_open() || !(io_mode & std::ios_base::in)) in underflow()
234 if (!this->is_open() || !(io_mode & std::ios_base::out)) in overflow()
247 if (!this->is_open() || !(io_mode & std::ios_base::out)) in overflow()
/third_party/backends/backend/genesys/
H A Dtest_usb_device.cpp38 if (is_open()) { in ~TestUsbDevice()
48 if (is_open()) { in open()
128 if (!is_open()) { in assert_is_open()
H A Dusb_device.cpp31 if (is_open()) { in ~UsbDevice()
41 if (is_open()) { in open()
134 if (!is_open()) { in assert_is_open()
H A Dusb_device.h41 virtual bool is_open() const = 0;
68 bool is_open() const override { return is_open_; }
/kernel/linux/linux-5.10/drivers/input/joystick/
H A Dpxrc.c26 bool is_open; member
96 pxrc->is_open = true; in pxrc_open()
109 pxrc->is_open = false; in pxrc_close()
212 if (pxrc->is_open) in pxrc_suspend()
225 if (pxrc->is_open && usb_submit_urb(pxrc->urb, GFP_KERNEL) < 0) in pxrc_resume()
246 if (pxrc->is_open && usb_submit_urb(pxrc->urb, GFP_KERNEL) < 0) in pxrc_post_reset()
/kernel/linux/linux-6.6/drivers/input/joystick/
H A Dpxrc.c26 bool is_open; member
96 pxrc->is_open = true; in pxrc_open()
109 pxrc->is_open = false; in pxrc_close()
212 if (pxrc->is_open) in pxrc_suspend()
225 if (pxrc->is_open && usb_submit_urb(pxrc->urb, GFP_KERNEL) < 0) in pxrc_resume()
246 if (pxrc->is_open && usb_submit_urb(pxrc->urb, GFP_KERNEL) < 0) in pxrc_post_reset()
/third_party/gn/src/base/files/
H A Dfile_util.cc56 if (!file1.is_open() || !file2.is_open()) in ContentsEqual()
84 if (!file1.is_open() || !file2.is_open()) in TextContentsEqual()
/third_party/backends/backend/
H A Dpnm.c67 static int is_open = 0; variable
592 if (is_open) in sane_open()
595 is_open = 1; in sane_open()
626 is_open = 0; in sane_close()
633 if (handle != MAGIC || !is_open) in sane_get_option_descriptor()
652 if (handle != MAGIC || !is_open) in sane_control_option()
1099 if (handle != MAGIC || !is_open) in sane_get_parameters()
1118 if (handle != MAGIC || !is_open) in sane_start()
1193 if (!is_open) in sane_read()
H A Ddc210.c104 static SANE_Bool is_open = 0; variable
865 if (is_open) in sane_open()
870 is_open = 1; in sane_open()
883 is_open = 0; in sane_close()
891 if (handle != MAGIC || !is_open) in sane_get_option_descriptor()
912 if (handle != MAGIC || !is_open) in sane_control_option()
1110 if (handle != MAGIC || !is_open) in sane_get_parameters()
1180 if (handle != MAGIC || !is_open || in sane_start()
H A Ddc240.c107 static SANE_Bool is_open = 0; variable
998 if (is_open) in sane_open()
1003 is_open = 1; in sane_open()
1016 is_open = 0; in sane_close()
1024 if (handle != MAGIC || !is_open) in sane_get_option_descriptor()
1050 if (handle != MAGIC || !is_open) in sane_control_option()
1273 if (handle != MAGIC || !is_open) in sane_get_parameters()
1348 if (handle != MAGIC || !is_open || in sane_start()
H A Dgphoto2.c116 static SANE_Bool is_open = 0; variable
987 if (is_open) in sane_open()
992 is_open = 1; in sane_open()
1009 is_open = 0; in sane_close()
1021 if (handle != MAGIC || !is_open) in sane_get_option_descriptor()
1051 if (handle != MAGIC || !is_open) in sane_control_option()
1305 if (handle != MAGIC || !is_open) in sane_get_parameters()
1384 if (handle != MAGIC || !is_open || in sane_start()
/kernel/linux/linux-5.10/drivers/usb/storage/
H A Donetouch.c45 unsigned int is_open:1; member
123 onetouch->is_open = 1; in usb_onetouch_open()
138 onetouch->is_open = 0; in usb_onetouch_close()
146 if (onetouch->is_open) { in usb_onetouch_pm_hook()
/kernel/linux/linux-6.6/drivers/usb/storage/
H A Donetouch.c45 unsigned int is_open:1; member
123 onetouch->is_open = 1; in usb_onetouch_open()
138 onetouch->is_open = 0; in usb_onetouch_close()
146 if (onetouch->is_open) { in usb_onetouch_pm_hook()
/kernel/linux/linux-5.10/drivers/input/tablet/
H A Dpegasus_notetaker.c84 bool is_open; member
237 pegasus->is_open = true; in pegasus_open()
257 pegasus->is_open = false; in pegasus_close()
422 if (pegasus->is_open && usb_submit_urb(pegasus->irq, GFP_NOIO) < 0) in pegasus_resume()
435 if (pegasus->is_open) { in pegasus_reset_resume()
/kernel/linux/linux-5.10/drivers/input/mouse/
H A Dsynaptics_usb.c83 bool is_open; member
266 synusb->is_open = true; in synusb_open()
284 synusb->is_open = false; in synusb_close()
491 if ((synusb->is_open || (synusb->flags & SYNUSB_IO_ALWAYS)) && in synusb_resume()
516 if ((synusb->is_open || (synusb->flags & SYNUSB_IO_ALWAYS)) && in synusb_post_reset()
/kernel/linux/linux-6.6/drivers/input/tablet/
H A Dpegasus_notetaker.c84 bool is_open; member
237 pegasus->is_open = true; in pegasus_open()
257 pegasus->is_open = false; in pegasus_close()
428 if (pegasus->is_open && usb_submit_urb(pegasus->irq, GFP_NOIO) < 0) in pegasus_resume()
441 if (pegasus->is_open) { in pegasus_reset_resume()
/kernel/linux/linux-6.6/drivers/input/mouse/
H A Dsynaptics_usb.c83 bool is_open; member
266 synusb->is_open = true; in synusb_open()
284 synusb->is_open = false; in synusb_close()
491 if ((synusb->is_open || (synusb->flags & SYNUSB_IO_ALWAYS)) && in synusb_resume()
516 if ((synusb->is_open || (synusb->flags & SYNUSB_IO_ALWAYS)) && in synusb_post_reset()
/kernel/linux/linux-6.6/drivers/net/wwan/iosm/
H A Diosm_ipc_imem.c61 if (!pipe->is_open || pipe->nr_of_queued_entries > 0) in ipc_imem_tq_td_alloc_timer()
734 if (dl_pipe->is_open && in ipc_imem_handle_irq()
742 if (ul_pipe->is_open) in ipc_imem_handle_irq()
872 pipe->is_open = true; in ipc_imem_pipe_open()
874 return pipe->is_open; in ipc_imem_pipe_open()
955 pipe->is_open = false; in ipc_imem_pipe_close()
1149 channel->ul_pipe.is_open = false; in ipc_imem_channel_update()
1159 channel->dl_pipe.is_open = false; in ipc_imem_channel_update()
1191 pipe->is_open = false; in ipc_imem_pipe_cleanup()
/kernel/linux/linux-6.6/fs/smb/client/
H A Dcached_dir.c283 cfid->is_open = true; in open_cached_dir()
361 if (cfid->is_open) in open_cached_dir()
415 if (cfid->is_open) { in smb2_close_cached_fid()
494 cfid->is_open = false; in invalidate_all_cached_dirs()
686 cfid->is_open = false; in free_cached_dirs()
/third_party/icu/icu4c/source/test/fuzzer/
H A Dfuzzer_driver.cpp47 if (!file.is_open()) { in main()

Completed in 17 milliseconds

123456