/kernel/liteos_a/fs/vfs/ |
H A D | vnode.c | 286 static int PreProcess(const char *originPath, struct Vnode **startVnode, char **path)
in PreProcess() argument 294 *path = absolutePath;
in PreProcess() 395 int VnodeLookupAt(const char *path, struct Vnode **result, uint32_t flags, struct Vnode *orgVnode)
in VnodeLookupAt() argument 405 normalizedPath = strdup(path);
in VnodeLookupAt() 412 ret = PreProcess(path, &startVnode, &normalizedPath);
in VnodeLookupAt() 414 PRINT_ERR("[VFS]lookup failed, invalid path err = %d\n", ret);
in VnodeLookupAt() 473 int VnodeLookup(const char *path, struct Vnode **vnode, uint32_t flags)
in VnodeLookup() argument 475 return VnodeLookupAt(path, vnode, flags, NULL);
in VnodeLookup() 612 /* The 'name' here is not full path, but for device we don't depend on this path, i in VnodeCreate() 679 VnodeDevLookup(struct Vnode *parentVnode, const char *path, int len, struct Vnode **vnode) VnodeDevLookup() argument [all...] |
/test/testfwk/xdevice/plugins/devicetest/runner/ |
H A D | test_runner.py | 121 local_resource_path = os.path.join( 126 local_aw_path = os.path.join( 219 sys_aw_path = os.path.dirname(aw_path) 220 if os.path.exists(sys_aw_path): 221 sys.path.insert(1, sys_aw_path) 222 self.log.info("add {} to sys path.".format(sys_aw_path)) 231 case_path: case path 301 report_path = os.path.join("details", round_folder, case_name + ".html") 302 to_file = os.path.join(self.project.task_report_dir, report_path) 400 result_path = os.path [all...] |
/third_party/gn/src/gn/ |
H A D | innerapis_publicinfo_generator.cc | 38 static bool IsFileExists(const std::string &path)
in IsFileExists() argument 40 if (access(path.c_str(), F_OK) == 0) {
in IsFileExists() 371 static std::string GetComponentInfo(const std::string &subsystem, const std::string &component, const std::string &path)
in GetComponentInfo() argument 376 info += ",\n \"path\":\"" + path + "\"";
in GetComponentInfo() 387 base::FilePath path(dir);
in WritePublicConfigs() 388 base::CreateDirectory(path);
in WritePublicConfigs() 494 info += GetComponentInfo(component->subsystem(), component->name(), component->path());
in GeneratedInnerapiPublicInfo() 497 base::FilePath path(dir);
in GeneratedInnerapiPublicInfo() 498 base::CreateDirectory(path);
in GeneratedInnerapiPublicInfo() [all...] |
/third_party/mbedtls/tests/scripts/ |
H A D | check_names.py | 307 def is_file_excluded(self, path, exclude_wildcards): 308 """Whether the given file path is excluded.""" 312 if fnmatch.fnmatch(path, pattern): 339 for path in accumulator: 340 if self.is_file_excluded(path, exclude_wildcards): 341 exc_files.append(path) 343 inc_files.append(path) 364 return list(path for path in accumulator 365 if not self.is_file_excluded(path, exclude_wildcard [all...] |
/third_party/skia/third_party/externals/angle2/src/common/ |
H A D | utilities.cpp | 1370 char path[MAX_PATH]; in getTempPath() local 1371 DWORD pathLen = GetTempPathA(sizeof(path) / sizeof(path[0]), path); in getTempPath() 1378 UINT unique = GetTempFileNameA(path, "sh", 0, path); in getTempPath() 1385 return path; in getTempPath() 1392 void writeFile(const char *path, const void *content, size_t size) in writeFile() argument 1394 FILE *file = fopen(path, "w"); in writeFile()
|
/third_party/skia/samplecode/ |
H A D | SampleDegenerateQuads.cpp | 369 SkPath path; 370 path.addPoly(fCorners, 4, true); 372 canvas->drawPath(path, linePaint); 375 SkPath path; 376 path.addPoly(fCorners, 4, true); 379 canvas->drawPath(path, linePaint); 407 SkPath path; 408 path.addPoly(fCorners, 4, true); 409 return path.isConvex();
|
/foundation/arkui/napi/native_engine/impl/ark/ |
H A D | ark_native_engine.cpp | 414 Local<StringRef> path(info->GetCallArgRef(2)); // 2:Take the second parameter in ArkNativeEngine() 416 path->ToString(ecmaVm).c_str(), isAppModule, errInfo, false, ""); in ArkNativeEngine() 418 Local<StringRef> path(info->GetCallArgRef(2)); // 2:Take the second parameter in ArkNativeEngine() 1040 const std::string& param, const std::string& instanceName, void* instance, const std::string& path) in LoadModuleByName() 1047 path.empty() ? nullptr : path.c_str(), isAppModule, errInfo); in LoadModuleByName() 1356 std::string ArkNativeEngine::GetOhmurl(std::string path) in GetOhmurl() argument 1359 path.erase(0, path.find_first_not_of(" ")); in GetOhmurl() 1360 path in GetOhmurl() 1039 LoadModuleByName(const std::string& moduleName, bool isAppModule, const std::string& param, const std::string& instanceName, void* instance, const std::string& path) LoadModuleByName() argument 1376 NapiLoadNativeModule(std::string path) NapiLoadNativeModule() argument 1385 CheckLoadType(const std::string &path) CheckLoadType() argument 1395 NapiLoadModule(const char* path, const char* module_info) NapiLoadModule() argument 1430 NapiLoadModuleWithInfo(const char* path, const char* module_info) NapiLoadModuleWithInfo() argument 1944 DumpHeapSnapshot(const std::string& path, bool isVmMode, DumpFormat dumpFormat, bool isPrivate, bool captureNumericValue) DumpHeapSnapshot() argument 2414 RunScriptPath(const char* path, bool checkPath) RunScriptPath() argument 2432 IsValidPandaFile(const char* path) IsValidPandaFile() argument 2502 RunScriptBuffer(const char* path, std::vector<uint8_t>& buffer, bool isBundle) RunScriptBuffer() argument 2527 RunScriptBuffer(const std::string& path, uint8_t* buffer, size_t size, bool isBundle) RunScriptBuffer() argument [all...] |
/third_party/skia/modules/canvaskit/ |
H A D | canvaskit_bindings.cpp | 317 bool ApplySimplify(SkPath& path) { in ApplySimplify() argument 318 return Simplify(path, &path); in ApplySimplify() 342 JSString ToSVGString(const SkPath& path) { in ToSVGString() argument 344 SkParsePath::ToSVGString(path, &s); in ToSVGString() 349 SkPath path; in MakePathFromSVGString() local 350 if (SkParsePath::FromSVGString(str.c_str(), &path)) { in MakePathFromSVGString() 351 return emscripten::val(path); in MakePathFromSVGString() 376 Float32Array ToCmds(const SkPath& path) { in ToCmds() argument 378 for (auto [verb, pts, w] : SkPathPriv::Iterate(path)) { in ToCmds() 410 SkPath path; MakePathFromCmds() local 466 PathAddVerbsPointsWeights(SkPath& path, WASMPointerU8 verbsPtr, int numVerbs, WASMPointerF32 ptsPtr, int numPts, WASMPointerF32 wtsPtr, int numWts) PathAddVerbsPointsWeights() argument 531 SkPath path; MakePathFromVerbsPointsWeights() local 540 ApplyDash(SkPath& path, SkScalar on, SkScalar off, SkScalar phase) ApplyDash() argument 555 ApplyTrim(SkPath& path, SkScalar startT, SkScalar stopT, bool isComplement) ApplyTrim() argument 581 ApplyStroke(SkPath& path, StrokeOpts opts) ApplyStroke() argument [all...] |
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/ |
H A D | data_uri_utils_test.cpp | 161 string path = const_cast<Uri &>(uri1).GetPath(); in HWTEST_F() local 162 EXPECT_TRUE(path.empty()); in HWTEST_F() 217 string path = const_cast<Uri &>(uri1).GetPath(); in HWTEST_F() local 218 EXPECT_TRUE(path.empty()); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components/custom_paint/ |
H A D | custom_paint_component.h | 99 void Fill(const RefPtr<CanvasPath2D>& path); 101 void Stroke(const RefPtr<CanvasPath2D>& path); 103 void Clip(const RefPtr<CanvasPath2D>& path); 118 std::string GetJsonData(const std::string& path);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/ |
H A D | canvas_rendering_context_2d_model_ng.h | 58 std::string GetJsonData(const std::string& path) override; 81 void SetFillRuleForPath2D(const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) override; 82 void SetStrokeRuleForPath2D(const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) override; 85 void SetClipRuleForPath2D(const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) override;
|
H A D | offscreen_canvas_rendering_context_2d_model_ng.h | 55 std::string GetJsonData(const std::string& path) override; 78 void SetFillRuleForPath2D(const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) override; 79 void SetStrokeRuleForPath2D(const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) override; 82 void SetClipRuleForPath2D(const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) override;
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/canvas/ |
H A D | offscreen_canvas_rendering_context_2d_model_impl.h | 52 std::string GetJsonData(const std::string& path) override; 75 void SetFillRuleForPath2D(const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) override; 76 void SetStrokeRuleForPath2D(const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) override; 79 void SetClipRuleForPath2D(const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) override;
|
H A D | canvas_rendering_context_2d_model_impl.h | 52 std::string GetJsonData(const std::string& path) override; 75 void SetFillRuleForPath2D(const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) override; 76 void SetStrokeRuleForPath2D(const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) override; 79 void SetClipRuleForPath2D(const CanvasFillRule& fillRule, const RefPtr<CanvasPath2D>& path) override;
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/src/ |
H A D | zip_writer.cpp | 61 APP_LOGI("Could not write data to zip for path:%{private}s ", file_path.Value().c_str()); in AddFileContentToZip() 76 zipFile zip_file, FilePath &path, bool isDirectory, struct tm *lastModified, const OPTIONS &options) in OpenNewFileEntry() 78 std::string strPath = path.Value(); in OpenNewFileEntry() 109 bool AddDirectoryEntryToZip(zipFile zip_file, FilePath &path, struct tm *lastModified, const OPTIONS &options) in AddDirectoryEntryToZip() argument 111 return OpenNewFileEntry(zip_file, path, true, lastModified, options) && CloseNewFileEntry(zip_file); in AddDirectoryEntryToZip() 142 APP_LOGI("Couldn't create ZIP file at path"); in InitZipFileWithFile() 75 OpenNewFileEntry( zipFile zip_file, FilePath &path, bool isDirectory, struct tm *lastModified, const OPTIONS &options) OpenNewFileEntry() argument
|
/foundation/arkui/ui_lite/frameworks/draw/ |
H A D | clip_utils.cpp | 95 UICanvasVertices& ClipUtils::CloseVertices(const ClipPath& path) in CloseVertices() argument 97 UICanvasVertices& vertices = path.GetVertices(); in CloseVertices() 102 void ClipUtils::PerformScan(const ClipPath& path, const ImageInfo* imageInfo) in PerformScan() argument 107 UICanvasVertices& vertices = CloseVertices(path); in PerformScan()
|
/foundation/arkui/napi/module_manager/ |
H A D | native_module_manager.h | 87 NativeModule* LoadNativeModule(const char* moduleName, const char* path, bool isAppModule, 94 * @brief Set the path for searching napi dynamic libraries, only for the previewer. 96 * @param previewSearchPath the path for searching napi dynamic libraries 131 bool GetNativeModulePath(const char* moduleName, const char* path, const char* relativePath, 133 NativeModule* FindNativeModuleByDisk(const char* moduleName, const char* path, const char* relativePath, 141 LIBHANDLE LoadModuleLibrary(std::string& moduleKey, const char* path, const char* pathKey,
|
/foundation/arkui/ui_lite/frameworks/imgdecode/ |
H A D | file_img_decoder.cpp | 31 int32_t fd = open(dsc.path, O_RDONLY | O_BINARY); in Open() 33 int32_t fd = open(dsc.path, O_RDONLY); in Open() 69 fd = open(dsc.path, O_BINARY); in GetHeader() 71 fd = open(dsc.path, O_RDONLY); in GetHeader()
|
/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/test/example/ |
H A D | audio_interrupt_test.cpp | 322 char path[PATH_MAX + 1] = {0x00}; in main() local 323 if ((strlen(inputPath) > PATH_MAX) || (realpath(inputPath, path) == nullptr)) { in main() 327 AUDIO_INFO_LOG("AudioInterruptTest: path = %{public}s", path); in main() 331 audioInterruptTest->wavFile_ = fopen(path, "rb"); in main()
|
H A D | audio_voip_test.cpp | 133 char path[PATH_MAX + 1] = {0x00}; in TestPlayback() local 134 if ((strlen(inputPath) > PATH_MAX) || (realpath(inputPath, path) == nullptr)) { in TestPlayback() 135 AUDIO_ERR_LOG("Invalid path"); in TestPlayback() 138 AUDIO_INFO_LOG("AudioVoIPTest: path = %{public}s", path); in TestPlayback() 139 FILE* wavFile = fopen(path, "rb"); in TestPlayback() 302 AUDIO_INFO_LOG("AudioVoIPTest: renderer test path = %{public}s", in main() 304 AUDIO_INFO_LOG("AudioVoIPTest: capturer test path = %{public}s", in main()
|
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/config/ |
H A D | audio_volume_parser.cpp | 53 int32_t AudioVolumeParser::ParseVolumeConfig(const char *path, StreamVolumeInfoMap &streamVolumeInfoMap) in ParseVolumeConfig() argument 57 doc = xmlReadFile(path, nullptr, 0); in ParseVolumeConfig() 66 AUDIO_ERR_LOG("Missing tag - audio_volume_config in : %s", path); in ParseVolumeConfig() 75 AUDIO_ERR_LOG("empty volume config in : %s", path); in ParseVolumeConfig() 122 AUDIO_INFO_LOG("volume config file path:%{public}s", cfgFiles->paths[i]); in LoadConfig() 130 AUDIO_INFO_LOG("use default volume config file path:%{public}s", AUDIO_VOLUME_CONFIG_FILE); in LoadConfig()
|
/foundation/graphic/graphic_2d/rosen/modules/texgine/texgine_drawing/src/ |
H A D | texgine_canvas.cpp | 134 void TexgineCanvas::DrawPath(const RSPath &path, const TexginePaint &paint) in DrawPath() argument 141 canvas_->DrawPath(path); in DrawPath() 145 canvas_->DrawPath(path); in DrawPath() 150 canvas_->DrawPath(path); in DrawPath()
|
/foundation/multimedia/av_codec/test/unittest/reference_parser_test/reference_parser_demo/ |
H A D | reference_parser_demo.cpp | 68 string path = string(SOURCE_DIR) + string(VIDEO_FILE_NAME[static_cast<uint32_t>(scene)]); in InitScene() local 69 std::ifstream(path + "_gop.json") >> gopJson_; in InitScene() 70 std::ifstream(path + "_frame.json") >> frameLayerJson_; in InitScene() 71 string filePath = path + ".mp4"; in InitScene()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/accessor/src/ |
H A D | metadata_accessor_factory.cpp | 62 std::shared_ptr<MetadataAccessor> MetadataAccessorFactory::Create(const std::string &path) in Create() argument 65 return Create(path, error); in Create() 91 std::shared_ptr<MetadataAccessor> MetadataAccessorFactory::Create(const std::string &path, uint32_t &error, in Create() argument 94 std::shared_ptr<MetadataStream> stream = std::make_shared<FileMetadataStream>(path, originalPath); in Create()
|
/foundation/multimedia/media_library/frameworks/services/media_dfx/src/ |
H A D | dfx_utils.cpp | 52 string DfxUtils::GetSafePath(const string &path) in GetSafePath() argument 54 string safePath = path; in GetSafePath() 55 if (path == "") { in GetSafePath() 58 if (MediaFileUtils::StartsWith(path, CLOUD_PHOTO_PATH)) { in GetSafePath()
|