Home
last modified time | relevance | path

Searched refs:open (Results 2001 - 2025 of 2966) sorted by relevance

1...<<81828384858687888990>>...119

/third_party/libevdev/libevdev/
H A Dlibevdev-uinput.c261 fd = open(buf, O_RDONLY); in fetch_syspath_and_devnode()
382 fd = open("/dev/uinput", O_RDWR|O_CLOEXEC); in libevdev_uinput_create_from_device()
/third_party/libinput/tools/
H A Dlibinput-measure-touchpad-size.py252 fd = open(args.path, "rb")
333 modalias = open("/sys/class/dmi/id/modalias").read().strip()
389 print("Unable to open device. Please run me as root", file=sys.stderr)
/third_party/ltp/testcases/kernel/syscalls/nftw/
H A Dtest_func64.c573 if ((fd = open(path_name, O_RDONLY)) == -1) { in test_func21()
574 perror("open"); in test_func21()
602 if ((fd = open(path_name, O_RDONLY)) == -1) { in test_func22()
603 perror("open"); in test_func22()
H A Dtest_func.c560 if ((fd = open(path_name, O_RDONLY)) == -1) { in test_func21()
561 perror("open"); in test_func21()
589 if ((fd = open(path_name, O_RDONLY)) == -1) { in test_func22()
590 perror("open"); in test_func22()
/third_party/ltp/testcases/realtime/lib/
H A Dlibrttest.c645 int fd = open(pathname, O_WRONLY); in write_file()
647 printf("Failed to open file \"%s\": %d (%s)\n", in write_file()
670 int fd = open(pathname, O_RDONLY); in read_and_print()
672 printf("Failed to open file \"%s\": %d (%s)\n", in read_and_print()
/third_party/mesa3d/src/gallium/drivers/freedreno/
H A Dtrace-parser.py143 file = gzip.open(filename, "r")
146 file = open(filename, "r")
/third_party/mindspore/test/utils/
H A Dcommon.cpp67 printf("ERROR: cant't open file %s\n", infile.c_str()); in readTestDataFile()
78 printf("ERROR: cant't open file %s\n", infile.c_str()); in readTestDataFile()
182 file.open("cout.csv", std::ios::app); in allclose()
274 file.open("cout.csv", std::ios::app); in allclose_int8()
/third_party/node/deps/openssl/openssl/providers/implementations/rands/seeding/
H A Drand_unix.c467 if ((fd = open(DEVRANDOM_WAIT, O_RDONLY)) != -1) { in wait_random_seeded()
508 * uncommon for daemons to close all open file handles when daemonizing.
536 /* open the random device ... */ in get_random_device()
537 if ((rd->fd = open(random_device_paths[n], O_RDONLY)) == -1) in get_random_device()
/third_party/python/Tools/c-analyzer/c_common/
H A Dtables.py86 _open=open,
122 _open=open,
/third_party/python/Tools/c-analyzer/cpython/
H A D_capi.py336 with open(filename) as infile:
364 infile = open(filename)
/third_party/python/Tools/scripts/
H A Dstable_abi.py610 with filename.open('rb') as file:
688 file = args.file.open('rb')
H A Dsummarize_stats.py89 with open(os.path.join(DEFAULT_DIR, filename)) as fd:
235 with open(spec_path) as spec_src:
/third_party/python/Tools/ssl/
H A Dmultissltests.py269 with open(self.src_file, "wb") as f:
279 tf = tarfile.open(self.src_file)
/third_party/python/Lib/
H A Dcompileall.py227 with open(cfile, 'rb') as chandle:
410 open(args.flist, encoding="utf-8")) as f:
/third_party/python/Lib/distutils/tests/
H A Dtest_archive_util.py123 tar = tarfile.open(path)
384 archive = tarfile.open(archive_name)
/third_party/python/Lib/distutils/command/
H A Dsdist.py397 fp = open(self.manifest)
410 with open(self.manifest) as manifest:
/third_party/python/Lib/test/
H A Dmultibytecodec_support.py379 with open(os.path.join(dir, name + '.txt'), 'rb') as f:
381 with open(os.path.join(dir, name + '-utf8.txt'), 'rb') as f:
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/
H A DvktWsiAcquireDrmDisplayTests.cpp298 TCU_THROW(NotSupportedError, "Could not open DRM."); in testGetDrmDisplayEXT()
327 TCU_THROW(NotSupportedError, "Could not open DRM."); in testGetDrmDisplayEXTInvalidFd()
334 int invalidFd = open("/", O_RDONLY | O_PATH); in testGetDrmDisplayEXTInvalidFd()
355 TCU_THROW(NotSupportedError, "Could not open DRM."); in testGetDrmDisplayEXTInvalidConnectorId()
386 TCU_THROW(NotSupportedError, "Could not open DRM."); in testGetDrmDisplayEXTNotMaster()
388 TCU_THROW(NotSupportedError, "Did not open 2 different fd."); in testGetDrmDisplayEXTNotMaster()
425 TCU_THROW(NotSupportedError, "Could not open DRM."); in testGetDrmDisplayEXTUnownedConnectorId()
473 TCU_THROW(NotSupportedError, "Could not open DRM."); in testAcquireDrmDisplayEXT()
509 TCU_THROW(NotSupportedError, "Could not open DRM."); in testAcquireDrmDisplayEXTInvalidFd()
524 int invalidFd = open("/", O_RDONL in testAcquireDrmDisplayEXTInvalidFd()
[all...]
/third_party/vk-gl-cts/external/openglcts/scripts/
H A Dmustpass.py137 with open(filename, 'rt') as f:
148 with open(filename, 'rt') as f:
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
H A Dantora-prep.py420 fp = open(path, 'w', encoding='utf8')
422 raise RuntimeError(f'Cannot open output file {path}')
562 fp = open(args.pagemappath, 'w', encoding='utf8')
564 raise RuntimeError(f'Cannot open output pageMap.cjs file {args.pagemappath}')
H A Dreflow.py480 fp = open(outFilename, 'w', encoding='utf8', newline=newline_string)
482 logWarn('Cannot open output file', outFilename, ':', sys.exc_info()[0])
651 reflow_count_file = open(reflow_count_file_path, 'w', encoding='utf8')
664 logWarn('Cannot open output count file vuidCounts.py', ':', sys.exc_info()[0])
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DAttributeLayoutTest.cpp73 void open(void) { memset(mMemory, 0xff, kSize); } in open() function in __anon20169::Container
112 void openContainer(void) const { mContainer->open(); } in openContainer()
/third_party/openssl/providers/implementations/rands/seeding/
H A Drand_unix.c467 if ((fd = open(DEVRANDOM_WAIT, O_RDONLY)) != -1) { in wait_random_seeded()
508 * uncommon for daemons to close all open file handles when daemonizing.
536 /* open the random device ... */ in get_random_device()
537 if ((rd->fd = open(random_device_paths[n], O_RDONLY)) == -1) in get_random_device()
/third_party/skia/third_party/externals/microhttpd/src/examples/
H A Ddemo.c541 /* open file */ in process_upload_data()
550 uc->fd = open (fn, in process_upload_data()
698 fd = open (&url[1], O_RDONLY); in generate_page()
H A Ddemo_https.c542 /* open file */ in process_upload_data()
551 uc->fd = open (fn, in process_upload_data()
699 fd = open (&url[1], O_RDONLY); in generate_page()

Completed in 21 milliseconds

1...<<81828384858687888990>>...119