Home
last modified time | relevance | path

Searched refs:open (Results 6751 - 6775 of 10047) sorted by relevance

1...<<271272273274275276277278279280>>...402

/third_party/node/deps/v8/third_party/ittapi/src/ittnotify/
H A Dittnotify_static.c958 itt_marker_file_fd = open(system_wide_marker_filename, O_RDONLY); in __itt_get_lib_name()
968 ITT_ANDROID_LOGI("Unable to open system-wide marker file."); in __itt_get_lib_name()
977 cmdline_fd = open(cmdline_path, O_RDONLY); in __itt_get_lib_name()
980 ITT_ANDROID_LOGE("Unable to open %s file!", cmdline_path); in __itt_get_lib_name()
1009 itt_marker_file_fd = open(app_sandbox_file, O_RDONLY); in __itt_get_lib_name()
1012 ITT_ANDROID_LOGE("Unable to open app marker file!"); in __itt_get_lib_name()
/third_party/libfuse/example/
H A Dpassthrough_hp.cc538 // Skip this when inode has an open file and when writeback cache is enabled. in sfs_unlink()
878 auto fd = open(buf, fi->flags & ~O_NOFOLLOW); in sfs_open()
1138 sfs_oper.open = sfs_open; in assign_operations()
1321 fs.root.fd = open(fs.source.c_str(), O_PATH); in main()
1323 err(1, "ERROR: open(\"%s\", O_PATH)", fs.source.c_str()); in main()
H A Dpassthrough_ll.c825 fd = open(buf, fi->flags & ~O_NOFOLLOW); in lo_open()
1162 .open = lo_open,
1269 lo.root.fd = open(lo.source, O_PATH); in main()
1271 fuse_log(FUSE_LOG_ERR, "open(\"%s\", O_PATH): %m\n", in main()
/third_party/libinput/test/
H A Dtest-switch.c743 fd = open(libevdev_uinput_get_devnode(sw->uinput), O_RDONLY|O_NONBLOCK); in START_TEST()
748 /* Typing on the keyboard should trigger a lid open event */ in START_TEST()
792 fd = open(libevdev_uinput_get_devnode(sw->uinput), O_RDONLY|O_NONBLOCK); in START_TEST()
818 /* No switch event, we're still in vanilla (open) state */ in START_TEST()
871 fd = open(libevdev_uinput_get_devnode(sw->uinput), O_RDONLY|O_NONBLOCK); in START_TEST()
876 /* Typing on the second keyboard should trigger a lid open event */ in START_TEST()
1189 /* We cannot grab this device because libinput doesn't have an open in START_TEST()
/third_party/python/Lib/test/
H A Dtest_clinic.py850 with open(source, 'r', encoding='utf-8') as f:
855 with open(testfile, 'w', encoding='utf-8') as f:
861 with open(testfile, 'r', encoding='utf-8') as f:
H A Dtest_cmd_line.py568 with open(filename, "w", encoding="utf-8") as script:
605 with open(fake, "w", encoding="utf-8") as f:
607 with open(main, "w", encoding="utf-8") as f:
H A Dtest_pathlib.py1415 with open(join('fileA'), 'wb') as f:
1417 with open(join('dirB', 'fileB'), 'wb') as f:
1419 with open(join('dirC', 'fileC'), 'wb') as f:
1421 with open(join('dirC', 'novel.txt'), 'wb') as f:
1423 with open(join('dirC', 'dirD', 'fileD'), 'wb') as f:
1571 with (p / 'fileA').open('r') as f:
1574 with (p / 'fileA').open('rb') as f:
1577 with (p / 'fileA').open('rb', buffering=0) as f:
2139 with p.open('rb') as f:
2561 with (p / 'new_file').open('w
[all...]
H A Dtest_subprocess.py532 # stdin is set to open file descriptor
545 # stdin is set to open file object
565 # stdout is set to open file descriptor
577 # stdout is set to open file object
596 # stderr is set to open file descriptor
608 # stderr is set to open file object
652 # capture stdout and stderr to the same open file
1174 handles.append(os.open(tmpfile, os.O_WRONLY|os.O_CREAT))
1296 # the maximum number of open fds. 1024 seems a very common
1731 """Output capturing after a timeout mustn't hang forever on open filehandle
[all...]
/third_party/protobuf/src/google/protobuf/compiler/objectivec/
H A Dobjectivec_helpers.cc67 using ::google::protobuf::io::win32::open;
69 using ::open;
1538 fd = posix::open(path.c_str(), O_RDONLY); in ParseSimpleFile()
1542 string("error: Unable to open \"") + path + "\", " + strerror(errno); in ParseSimpleFile()
/third_party/vk-gl-cts/scripts/android/
H A Dbuild_apk.py116 with open(propFilePath) as propFile:
371 if 'ANGLE_LIBS' in open(cMakeCachePath).read():
380 if angleLibsDir not in open(cMakeCachePath).read():
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
H A Dwpa_debug.c142 mounts = open("/proc/mounts", O_RDONLY); in wpa_debug_open_linux_tracing()
178 trace_fd = open(buf, O_WRONLY); in wpa_debug_open_linux_tracing()
180 printf("failed to open trace_marker file\n"); in wpa_debug_open_linux_tracing()
941 /* Save our path to enable re-open */ in wpa_debug_open_file()
946 out_fd = open(path, O_CREAT | O_APPEND | O_WRONLY, in wpa_debug_open_file()
950 "%s: Failed to open output file descriptor, using standard output", in wpa_debug_open_file()
965 wpa_printf(MSG_ERROR, "wpa_debug_open_file: Failed to open " in wpa_debug_open_file()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/examples/
H A Ddpp-nfc.py57 with open(summary_file, 'a') as f:
63 with open(success_file, 'a') as f:
1027 parser.add_argument('--device', default='usb', help='NFC device to open')
1113 if not clf.open(args.device):
1114 summary("Could not open connection with an NFC device", color=C_RED)
/kernel/linux/linux-5.10/fs/cifs/
H A Dfile.c82 cifs_dbg(FYI, "Application %s pid %d has incorrectly set O_EXCL flag but not O_CREAT on file open. Ignoring O_EXCL\n", in cifs_posix_convert_flags()
126 cifs_dbg(FYI, "posix open %s\n", full_path); in cifs_posix_open()
151 goto posix_open_ret; /* open ok, caller does qpathinfo */ in cifs_posix_open()
189 if (!server->ops->open) in cifs_nt_open()
195 * open flag mapping table: in cifs_nt_open()
209 * (which uses the attributes / metadata passed in on open call) in cifs_nt_open()
242 rc = server->ops->open(xid, &oparms, oplock, buf); in cifs_nt_open()
449 struct cifs_pending_open open; in _cifsFileInfo_put() local
466 /* store open in pending opens to make sure we don't miss lease break */ in _cifsFileInfo_put()
467 cifs_add_pending_open_locked(&fid, cifs_file->tlink, &open); in _cifsFileInfo_put()
530 struct cifs_pending_open open; cifs_open() local
[all...]
/kernel/linux/linux-6.6/fs/smb/client/
H A Dfile.c166 * Mark as invalid, all open files on tree connections since they
188 /* list all files open on tree connection and mark them invalid */ in cifs_mark_open_files_invalid()
244 cifs_dbg(FYI, "Application %s pid %d has incorrectly set O_EXCL flag but not O_CREAT on file open. Ignoring O_EXCL\n", in cifs_posix_convert_flags()
290 cifs_dbg(FYI, "posix open %s\n", full_path); in cifs_posix_open()
315 goto posix_open_ret; /* open ok, caller does qpathinfo */ in cifs_posix_open()
352 if (!server->ops->open) in cifs_nt_open()
358 * open flag mapping table: in cifs_nt_open()
372 * (which uses the attributes / metadata passed in on open call) in cifs_nt_open()
402 rc = server->ops->open(xid, &oparms, oplock, buf); in cifs_nt_open()
590 * @cifs_file: cifs/smb3 specific info (eg refcounts) for an open fil
623 struct cifs_pending_open open; _cifsFileInfo_put() local
705 struct cifs_pending_open open; cifs_open() local
[all...]
/kernel/linux/linux-6.6/kernel/trace/
H A Dftrace.c969 .open = tracing_open_generic,
4002 * @inode: The inode, usually passed in to your open routine
4003 * @file: The file, usually passed in to your open routine
4007 * the notrace hash of @ops. With this called from the open
5936 .open = ftrace_avail_open,
5943 .open = ftrace_enabled_open,
5950 .open = ftrace_touched_open,
5957 .open = ftrace_avail_addrs_open,
5964 .open = ftrace_filter_open,
5972 .open
[all...]
/foundation/ability/ability_runtime/services/appdfr/src/
H A Dappfreeze_manager.cpp213 auto fd = open(stackPath.c_str(), O_CREAT | O_WRONLY | O_TRUNC, defaultLogFileMode); in WriteToFile()
392 fin.open(resolvePath); in GetBinderPeerPids()
394 TAG_LOGE(AAFwkTag::APPDFR, "open failed, %{public}s", resolvePath); in GetBinderPeerPids()
395 stack += "open file failed :" + path + "\r\n"; in GetBinderPeerPids()
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/hardware/
H A Dheif_hw_decoder.cpp264 dumpInFile.open(std::string(realpathRes), std::ios_base::binary | std::ios_base::trunc); in DumpSingleInput()
266 LOGE("failed to open %{public}s", realpathRes); in DumpSingleInput()
431 dumpOutFile.open(std::string(outputFilePath), std::ios_base::binary | std::ios_base::trunc); in DumpOutput()
/foundation/multimedia/av_codec/test/unittest/audio_test/
H A Daudio_decoder_ability_unit_test.cpp362 std::cout << "open " << OUTPUT_PCM_FILE_PATH << " failed!" << std::endl; in OutputFunc()
468 inputFile_.open(INPUT_SOURCE_PATH + inputTestFile, std::ios::binary); in InitFile()
469 pcmOutputFile_.open(OUTPUT_PCM_FILE_PATH.data(), std::ios::out | std::ios::binary); in InitFile()
471 cout << "Fatal: open input file failed" << endl; in InitFile()
475 cout << "Fatal: open output file failed" << endl; in InitFile()
/foundation/multimedia/av_codec/test/moduletest/vcodec/swdecoder/src/
H A Dvideodec_ndk_sample.cpp67 outFile_->open(name.data(), std::ios::out | std::ios::binary); in TestConsumerListener()
338 inFile_->open(INP_DIR, ios::in | ios::binary); in StartVideoDecoder()
340 cout << "open input file failed" << endl; in StartVideoDecoder()
/foundation/multimedia/player_framework/frameworks/native/player/test/unittest/src/
H A Dplayer_mock.cpp378 int32_t fd = open(rawFile.c_str(), O_RDONLY); in SetSource()
704 int32_t fileDescriptor = open(rawFile.c_str(), O_RDONLY); in AddSubSource()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_helper_test/src/
H A Dmedia_file_utils_test.cpp175 int32_t rfd = open(oldPath.c_str(), O_RDONLY); in HWTEST_F()
176 int32_t wfd = open(newPath.c_str(), O_RDWR); in HWTEST_F()
/foundation/multimodalinput/input/tools/vuinput/src/
H A Dvirtual_device.cpp120 std::cout << "Failed to open folder:" << filePath << std::endl; in RemoveDir()
319 std::cout << "Failed to open folder" << std::endl; in BrowseDirectory()
490 fd_ = open("/dev/uinput", O_WRONLY | O_NONBLOCK); in SetUp()
492 std::cout << "Failed to open uinput: " << fd_ << std::endl; in SetUp()
537 std::cout << "Failed to open file: " << filePath << std::endl; in ReadFile()
615 flagFile.open(symbolFile.c_str()); in AddDevice()
/foundation/communication/ipc/ipc/test/moduletest/native/common/
H A Dipc_core_module_test.cpp354 int fd = open("/data/dump.txt", in HWTEST_F()
866 int fd = open(filename.c_str(), O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in HWTEST_F()
/foundation/communication/netmanager_base/services/netmanagernative/bpf/src/
H A Dbpf_loader.cpp658 int cgroupFd = open(CGROUP_DIR, O_DIRECTORY | O_RDONLY | O_CLOEXEC);
660 NETNATIVE_LOGE("open CGROUP_DIR failed: errno = %{public}d", errno);
688 int cgroupFd = open(CGROUP_DIR, O_DIRECTORY | O_RDONLY | O_CLOEXEC);
690 NETNATIVE_LOGE("open CGROUP_DIR failed: errno = %{public}d", errno);
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_controller/
H A Dwifi_controller_state_machine.cpp315 WIFI_LOGI("airplane open set softap false"); in HandleAirplaneOpen()
687 int open = msg->GetParam1(); in HandleSoftapToggleChangeInEnabledState() local
690 if (open == 1) { in HandleSoftapToggleChangeInEnabledState()

Completed in 61 milliseconds

1...<<271272273274275276277278279280>>...402