Home
last modified time | relevance | path

Searched refs:path (Results 2451 - 2475 of 11099) sorted by relevance

1...<<919293949596979899100>>...444

/kernel/linux/linux-5.10/tools/power/x86/intel_pstate_tracer/
H A Dintel_pstate_tracer.py104 if os.path.exists(file_name):
125 if os.path.exists(file_name):
144 if os.path.exists(file_name):
159 if os.path.exists(file_name):
174 if os.path.exists('cpu.csv'):
350 if os.path.exists('cpu.csv'):
356 def fix_ownership(path):
362 os.chown(path, int(uid), int(gid))
367 if os.path.exists('cpu.csv'):
526 location = os.path
[all...]
/kernel/linux/linux-5.10/fs/autofs/
H A Dexpire.c33 struct path path = {.mnt = mnt, .dentry = dentry}; in autofs_mount_busy() local
38 path_get(&path); in autofs_mount_busy()
40 if (!follow_down_one(&path)) in autofs_mount_busy()
43 if (is_autofs_dentry(path.dentry)) { in autofs_mount_busy()
44 struct autofs_sb_info *sbi = autofs_sbi(path.dentry->d_sb); in autofs_mount_busy()
58 if (!may_umount_tree(path.mnt)) { in autofs_mount_busy()
69 path_put(&path); in autofs_mount_busy()
489 int autofs_expire_wait(const struct path *path, in argument
588 const struct path path = { .mnt = mnt, .dentry = dentry }; autofs_do_expire_multi() local
[all...]
/kernel/linux/linux-6.6/fs/autofs/
H A Dexpire.c33 struct path path = {.mnt = mnt, .dentry = dentry}; in autofs_mount_busy() local
38 path_get(&path); in autofs_mount_busy()
40 if (!follow_down_one(&path)) in autofs_mount_busy()
43 if (is_autofs_dentry(path.dentry)) { in autofs_mount_busy()
44 struct autofs_sb_info *sbi = autofs_sbi(path.dentry->d_sb); in autofs_mount_busy()
58 if (!may_umount_tree(path.mnt)) { in autofs_mount_busy()
69 path_put(&path); in autofs_mount_busy()
489 int autofs_expire_wait(const struct path *path, in argument
588 const struct path path = { .mnt = mnt, .dentry = dentry }; autofs_do_expire_multi() local
[all...]
/kernel/linux/linux-6.6/tools/power/x86/intel_pstate_tracer/
H A Dintel_pstate_tracer.py104 if os.path.exists(file_name):
125 if os.path.exists(file_name):
144 if os.path.exists(file_name):
159 if os.path.exists(file_name):
174 if os.path.exists('cpu.csv'):
348 if os.path.exists('cpu.csv'):
354 def fix_ownership(path):
360 os.chown(path, int(uid), int(gid))
365 if os.path.exists('cpu.csv'):
524 location = os.path
[all...]
/third_party/icu/tools/unicode/c/genprops/
H A Demojipropsbuilder.cpp105 void writeBinaryData(const char *path, UBool withCopyright, UErrorCode &errorCode) override;
113 void parsePropsOfStringsFile(const char *path, UErrorCode &errorCode);
290 CharString path(unidataPath, errorCode);
291 path.ensureEndsWithFileSeparator(errorCode);
293 int32_t pathLength = path.length();
294 path.append("emoji-sequences.txt", errorCode);
295 parsePropsOfStringsFile(path.data(), errorCode);
297 path.truncate(pathLength);
298 path.append("emoji-zwj-sequences.txt", errorCode);
299 parsePropsOfStringsFile(path
[all...]
/third_party/libcoap/src/
H A Dcoap_uri.c87 goto path; in coap_split_uri_sub()
233 path: /* at this point, p must point to an absolute path */ in coap_split_uri_sub()
248 COAP_SET_STR(&uri->path, q - p, p); in coap_split_uri_sub()
345 if (uri->path.length) { in coap_uri_into_options()
346 if (uri->path.length > buflen) in coap_uri_into_options()
347 coap_log_warn("URI path will be truncated (max buffer %zu)\n", in coap_uri_into_options()
349 res = coap_split_path(uri->path.s, uri->path.length, buf, &buflen); in coap_uri_into_options()
438 * Runs through the given path (o
[all...]
/third_party/node/deps/v8/tools/testrunner/objects/
H A Dtestcase.py49 # load("path/to/file.js")
50 # d8.file.execute("path/to/file.js")
54 # import foobar from "path/to/file.js"
55 # import {foo, bar} from "path/to/file.js"
56 # export {"foo" as "bar"} from "path/to/file.js"
61 # import "path/to/file.js"
77 def __init__(self, suite, path, name, test_config):
80 self.path = path # string, e.g. 'div-mod', 'test-api/foo'
387 shell=os.path
[all...]
/third_party/node/deps/uv/src/unix/
H A Dkqueue.c468 const char* path; in uv__fs_event() local
481 path = NULL; in uv__fs_event()
484 * in the path when the file has been deleted is arguably a little strange in uv__fs_event()
488 path = uv__basename_r(pathbuf); in uv__fs_event()
490 handle->cb(handle, path, events, 0); in uv__fs_event()
514 const char* path, in uv_fs_event_start()
525 handle->path = uv__strdup(path); in uv_fs_event_start()
526 if (handle->path == NULL) in uv_fs_event_start()
530 fd = open(handle->path, O_RDONL in uv_fs_event_start()
512 uv_fs_event_start(uv_fs_event_t* handle, uv_fs_event_cb cb, const char* path, unsigned int flags) uv_fs_event_start() argument
[all...]
/third_party/python/Lib/
H A Dcompileall.py7 Without arguments, it compiles all modules on sys.path, without
40 fullname = os.path.join(dir, name)
41 if not os.path.isdir(fullname):
44 os.path.isdir(fullname) and not os.path.islink(fullname)):
58 ddir: the directory that will be prepended to the path to the
69 stripdir: part of path to left-strip from source file path
70 prependdir: path to prepend to beginning of original file path, applie
[all...]
/third_party/python/Lib/test/
H A Dtest_reprlib.py227 def write_file(path, text):
228 with open(path, 'w', encoding='ASCII') as fp:
235 self.pkgname = os.path.join(self.longname)
236 self.subpkgname = os.path.join(self.longname, self.longname)
240 create_empty_file(os.path.join(self.pkgname, '__init__.py'))
243 create_empty_file(os.path.join(self.subpkgname, '__init__.py'))
246 sys.path.insert(0, self.here)
255 actions.append(os.path.join(dirpath, name))
260 if os.path.isdir(p):
264 del sys.path[
[all...]
/third_party/rust/crates/cxx/gen/build/src/
H A Dlib.rs44 //! $ cxxbridge src/main.rs --header > path/to/mybridge.h
45 //! $ cxxbridge src/main.rs > path/to/mybridge.cc
110 use std::path::{Path, PathBuf};
129 /// let source_files = vec!["src/main.rs", "src/path/to/other.rs"];
153 // This is *not* used for an #include path, only as a debugging convenience.
179 TargetDir::Unknown => scratch::path("cxxbridge"), in init()
211 // The crate/ and include/ directories are placed on the #include path for the
223 for path in rust_source_files { in build()
224 generate_bridge(prj, &mut build, path.as_ref())?; in build()
228 eprintln!("\nCXX include path in build()
[all...]
/third_party/skia/infra/bots/recipe_modules/flavor/
H A Dandroid.py103 with self.m.context(cwd=self.m.path['start_dir'].join('skia')):
480 addr, path = tokens[-2:]
481 local = os.path.join(out, os.path.basename(path))
482 if os.path.exists(local):
551 tmp = self.m.path.mkdtemp('adb_pull')
556 self.m.path.basename(device) + self.m.path.sep + '*',
559 self.m.file.copy('copy %s' % self.m.path
[all...]
/drivers/peripheral/usb/ddk/host/src/
H A Dusb_pnp_manager.c109 const char *path = NULL; in UsbPnpMgrGetGadgetPath() local
116 if (iface->GetString(device->property, attrName, &path, pathDef) != HDF_SUCCESS) { in UsbPnpMgrGetGadgetPath()
120 path = USB_EMULATOR_DEFAULT_STATE_PATH; in UsbPnpMgrGetGadgetPath()
122 path = USB_EMULATOR_DEFAULT_UEVENT_PATH; in UsbPnpMgrGetGadgetPath()
126 if (iface->GetString(device->property, attrName, &path, pathDef) != HDF_SUCCESS) { in UsbPnpMgrGetGadgetPath()
131 return path; in UsbPnpMgrGetGadgetPath()
/foundation/arkui/ace_engine/frameworks/core/components/svg/parse/
H A Dsvg_circle.cpp77 SkPath path; in AsPath() local
78 path.addCircle(ConvertDimensionToPx(component_->GetCx(), viewPort, SvgLengthType::HORIZONTAL), in AsPath()
81 return path; in AsPath()
86 RSPath path; in AsPath() local
87 path.AddCircle(ConvertDimensionToPx(component_->GetCx(), viewPort, SvgLengthType::HORIZONTAL), in AsPath()
90 return path; in AsPath()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_path.cpp67 auto path = AceType::DynamicCast<Path>(basicShape_); in ObjectCommands() local
68 if (path) { in ObjectCommands()
69 path->SetValue(info[0]->ToString()); in ObjectCommands()
77 auto path = AceType::MakeRefPtr<Path>(); in ConstructorCallback() local
82 path->SetValue(commands->ToString()); in ConstructorCallback()
85 jsPath->SetBasicShape(path); in ConstructorCallback()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/dm/
H A Dlargeclippedpath.cpp43 // 创建两个path对象 in OnTestFunction()
44 OH_Drawing_Path* path = OH_Drawing_PathCreate(); in OnTestFunction() local
46 OH_Drawing_PathSetFillType(path, OH_Drawing_PathFillType::PATH_FILL_TYPE_WINDING); in OnTestFunction()
54 OH_Drawing_PathAddRect(path, 0, y * kCellSize, K_SIZE, (y + 1) * kCellSize, in OnTestFunction()
59 OH_Drawing_PathAddRect(path, x * kCellSize, 0, (x + 1) * kCellSize, K_SIZE, in OnTestFunction()
64 OH_Drawing_CanvasClipPath(canvas, path, OH_Drawing_CanvasClipOp::INTERSECT, doAntiAlias); in OnTestFunction()
87 OH_Drawing_PathDestroy(path); in OnTestFunction()
H A Dclip_cubic.cpp38 void DoDraw(OH_Drawing_Canvas* canvas, const OH_Drawing_Path* path) in DoDraw() argument
47 OH_Drawing_CanvasDrawPath(canvas, path); in DoDraw()
53 OH_Drawing_CanvasDrawPath(canvas, path); in DoDraw()
60 void DrawAndClip(OH_Drawing_Canvas* canvas, const OH_Drawing_Path* path, float dx, float dy) in DrawAndClip() argument
74 DoDraw(canvas, path); in DrawAndClip()
82 DoDraw(canvas, path); in DrawAndClip()
/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/windows/
H A Dplatform_windows.cpp60 string_view path; in PlatformWindows()
63 SplitPath(pathIn, drive, path, filename, ext); in PlatformWindows()
73 if (path.empty()) { in PlatformWindows()
76 if (path[0] != '/') { in PlatformWindows()
77 // relative path. in PlatformWindows()
78 normalizedPath = NormalizePath(curPath + path); in PlatformWindows()
80 normalizedPath = NormalizePath(path); in PlatformWindows()
84 // Invalid path? how to handle this? in PlatformWindows()
85 // just fallback on current path for now. (hoping that it's somewhat safe) in PlatformWindows()
/foundation/filemanagement/storage_service/services/storage_daemon/ipc/src/
H A Dstorage_manager_client.cpp131 int32_t StorageManagerClient::NotifyMtpMounted(const std::string &id, const std::string &path, const std::string &desc, in NotifyMtpMounted() argument
134 LOGI("NotifyMtpMounted: id = %{public}s, path = %{public}s, desc = %{public}s, uuid = %{public}s", id.c_str(), in NotifyMtpMounted()
135 path.c_str(), desc.c_str(), GetAnonyString(uuid).c_str()); in NotifyMtpMounted()
140 storageManager_->NotifyMtpMounted(id, path, desc, uuid); in NotifyMtpMounted()
145 int32_t StorageManagerClient::NotifyMtpUnmounted(const std::string &id, const std::string &path) in NotifyMtpUnmounted() argument
147 LOGI("NotifyMtpUnmounted: id = %{public}s, path = %{public}s", id.c_str(), path.c_str()); in NotifyMtpUnmounted()
152 storageManager_->NotifyMtpUnmounted(id, path); in NotifyMtpUnmounted()
/foundation/filemanagement/storage_service/services/storage_daemon/mtpfs/include/
H A Dmtpfs_mtp_device.h76 int DirCreateNew(const std::string &path);
77 int DirRemove(const std::string &path);
79 const MtpFsTypeDir *DirFetchContent(std::string path);
83 int FileRead(const std::string &path, char *buf, size_t size, off_t offset);
84 int FileWrite(const std::string &path, const char *buf, size_t size, off_t offset);
87 int FileRemove(const std::string &path);
/foundation/filemanagement/user_file_service/test/unittest/
H A Dexternal_file_access_test.cpp121 bool FileExtensionHelperTest::ReplaceBundleNameFromPath(std::string &path, const std::string &newName) in ReplaceBundleNameFromPath() argument
123 Uri uri(path); in ReplaceBundleNameFromPath()
130 path.replace(path.find(curName), curName.length(), newName); in ReplaceBundleNameFromPath()
136 GTEST_LOG_(INFO) << "Uri path error."; in ReplaceBundleNameFromPath()
141 GTEST_LOG_(INFO) << "Uri path format error."; in ReplaceBundleNameFromPath()
152 path.replace(path.find(bundleName), bundleName.length(), newName); in ReplaceBundleNameFromPath()
/foundation/multimedia/media_library/frameworks/services/media_mtp/src/
H A Dmtp_event.cpp36 void MtpEvent::SendObjectAdded(const std::string &path) in SendObjectAdded() argument
42 if (handleptr_->GetHandleByPaths(path, handle) == E_SUCCESS) { in SendObjectAdded()
53 void MtpEvent::SendObjectRemoved(const std::string &path) in SendObjectRemoved() argument
59 if (handleptr_->GetHandleByPaths(path, handle) == E_SUCCESS) { in SendObjectRemoved()
70 void MtpEvent::SendObjectInfoChanged(const std::string &path) in SendObjectInfoChanged() argument
76 if (handleptr_->GetHandleByPaths(path, handle) == E_SUCCESS) { in SendObjectInfoChanged()
/foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/innerkitsimpl/distributeddatafwk/src/
H A Ddistributed_kv_data_manager.cpp87 Status DistributedKvDataManager::DeleteKvStore(const AppId &appId, const StoreId &storeId, const std::string &path) in DeleteKvStore() argument
89 if (!path.empty()) { in DeleteKvStore()
90 return StoreManager::GetInstance().Delete(appId, storeId, path); in DeleteKvStore()
96 Status DistributedKvDataManager::DeleteAllKvStore(const AppId &appId, const std::string &path) in DeleteAllKvStore() argument
98 if (!path.empty()) { in DeleteAllKvStore()
105 status = StoreManager::GetInstance().Delete(appId, storeId, path); in DeleteAllKvStore()
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/include/
H A Dsecurity_manager.h54 KeyFiles(const std::string &name, const std::string &path, bool openFile = true);
79 DBPassword GetDBPassword(const std::string &name, const std::string &path, bool needCreate = false);
80 bool SaveDBPassword(const std::string &name, const std::string &path, const DistributedDB::CipherPassword &key);
81 void DelDBPassword(const std::string &name, const std::string &path);
96 std::vector<uint8_t> LoadKeyFromFile(const std::string &name, const std::string &path, bool &isOutdated);
97 bool SaveKeyToFile(const std::string &name, const std::string &path, std::vector<uint8_t> &key);
/foundation/distributeddatamgr/preferences/frameworks/native/platform/src/
H A Dpreferences_file_lock.cpp48 PreferencesFileLock::PreferencesFileLock(const std::string &path, const std::string &dataGroupId) in PreferencesFileLock() argument
49 : inProcessMutex_(PreferencesLockManager::Get(path)) in PreferencesFileLock()
55 fd_ = open(path.c_str(), O_RDWR | O_CREAT, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP); in PreferencesFileLock()
57 LOG_ERROR("Couldn't open file %{public}s errno %{public}d.", ExtractFileName(path).c_str(), errno); in PreferencesFileLock()
74 LOG_ERROR("attempt to lock file %{public}s failed. Please try again", ExtractFileName(path).c_str()); in PreferencesFileLock()
96 PreferencesFileLock::PreferencesFileLock(const std::string &path, const std::string &dataGroupId) in PreferencesFileLock() argument

Completed in 18 milliseconds

1...<<919293949596979899100>>...444