/third_party/libevdev/libevdev/ |
H A D | libevdev-uinput.c | 261 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 D | libinput-measure-touchpad-size.py | 252 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 D | test_func64.c | 573 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 D | test_func.c | 560 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 D | librttest.c | 645 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 D | trace-parser.py | 143 file = gzip.open(filename, "r") 146 file = open(filename, "r")
|
/third_party/mindspore/test/utils/ |
H A D | common.cpp | 67 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 D | rand_unix.c | 467 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 D | tables.py | 86 _open=open, 122 _open=open,
|
/third_party/python/Tools/c-analyzer/cpython/ |
H A D | _capi.py | 336 with open(filename) as infile: 364 infile = open(filename)
|
/third_party/python/Tools/scripts/ |
H A D | stable_abi.py | 610 with filename.open('rb') as file: 688 file = args.file.open('rb')
|
H A D | summarize_stats.py | 89 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 D | multissltests.py | 269 with open(self.src_file, "wb") as f: 279 tf = tarfile.open(self.src_file)
|
/third_party/python/Lib/ |
H A D | compileall.py | 227 with open(cfile, 'rb') as chandle: 410 open(args.flist, encoding="utf-8")) as f:
|
/third_party/python/Lib/distutils/tests/ |
H A D | test_archive_util.py | 123 tar = tarfile.open(path) 384 archive = tarfile.open(archive_name)
|
/third_party/python/Lib/distutils/command/ |
H A D | sdist.py | 397 fp = open(self.manifest) 410 with open(self.manifest) as manifest:
|
/third_party/python/Lib/test/ |
H A D | multibytecodec_support.py | 379 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 D | vktWsiAcquireDrmDisplayTests.cpp | 298 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 D | mustpass.py | 137 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 D | antora-prep.py | 420 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 D | reflow.py | 480 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 D | AttributeLayoutTest.cpp | 73 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 D | rand_unix.c | 467 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 D | demo.c | 541 /* 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 D | demo_https.c | 542 /* 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()
|