Home
last modified time | relevance | path

Searched refs:open (Results 6626 - 6650 of 9911) sorted by relevance

1...<<261262263264265266267268269270>>...397

/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...]
/third_party/python/Lib/test/
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...]
/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()
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dkey_backup.cpp257 LOGE("fail to open %s", origDir.c_str()); in GetFileList()
269 LOGE("fail to open %s", backDir.c_str()); in GetFileList()
455 UniqueFd fd(open(realPath.c_str(), O_RDONLY | O_CLOEXEC)); in FsyncDirectory()
457 LOGE("failed to open %s", realPath.c_str()); in FsyncDirectory()
517 LOGE("open %s failed", realPath.c_str()); in CleanFile()
522 LOGE("open %s failed", realPath.c_str()); in CleanFile()
571 LOGE("open dr failed, %s", from.c_str()); in CheckAndCopyFiles()
691 UniqueFd fd(open(fileName.c_str(), O_WRONLY | O_CREAT | O_NOFOLLOW | O_TRUNC | O_CLOEXEC, DEFAULT_WRITE_FILE_PERM)); in WriteStringToFile()
693 LOGE("open file failed, %s", fileName.c_str()); in WriteStringToFile()
/foundation/filemanagement/app_file_service/services/backup_sa/src/module_ipc/
H A Dservice_incremental.cpp130 UniqueFd fd(open(path.data(), O_TMPFILE | O_RDWR, S_IRUSR | S_IWUSR)); in GetLocalCapabilitiesIncremental()
132 HILOGE("GetLocalCapabilitiesIncremental: open file failed, err = %{public}d", errno); in GetLocalCapabilitiesIncremental()
201 UniqueFd fdLocal(open(path.data(), O_RDWR, S_IRGRP | S_IWGRP)); in StartGetFdTask()
203 HILOGD("fdLocal open fail, error = %{public}d", errno); in StartGetFdTask()
204 throw BError(BError::Codes::SA_INVAL_ARG, "open local Manifest file failed"); in StartGetFdTask()
/kernel/linux/linux-5.10/drivers/bus/
H A Dmoxtet.c485 .open = moxtet_debug_open,
549 .open = moxtet_debug_open,
/kernel/linux/linux-5.10/drivers/block/rsxx/
H A Dcore.c213 .open = rsxx_attr_stats_open,
221 .open = rsxx_attr_pci_regs_open,
/kernel/linux/linux-5.10/drivers/block/paride/
H A Dpcd.c275 .open = pcd_block_open,
285 .open = pcd_open,
/kernel/linux/linux-5.10/arch/x86/kernel/cpu/resctrl/
H A Dpseudo_lock.c1257 .open = simple_open,
1442 /* Perform a non-seekable open - llseek is not supported */ in pseudo_lock_dev_open()
1552 .open = pseudo_lock_dev_open,
/kernel/linux/linux-5.10/arch/s390/crypto/
H A Dprng.c664 .open = &prng_open,
671 .open = &prng_open,

Completed in 59 milliseconds

1...<<261262263264265266267268269270>>...397