/third_party/node/test/common/ |
H A D | inspector-helper.js | 11 const _MAINSCRIPT = fixtures.path('loop.js'); 401 httpGet(host, path, hostHeaderValue) { 402 this._logger.log('[test]', `Testing ${path}`); 405 const req = http.get({ host, port, family: 4, path, headers }, (res) => { 432 path: new URL(devtoolsUrl).pathname,
|
/third_party/ninja/src/ |
H A D | build_log_test.cc | 232 virtual TimeStamp Stat(const string& path, string* err) const {
in Stat() 235 virtual bool WriteFile(const string& path, const string& contents) {
in WriteFile() 239 virtual bool MakeDir(const string& path) {
in MakeDir() 243 virtual Status ReadFile(const string& path, string* contents, string* err) {
in ReadFile() 247 virtual int RemoveFile(const string& path) {
in RemoveFile()
|
/third_party/node/deps/ngtcp2/ngtcp2/lib/ |
H A D | ngtcp2_conn.h | 97 path, but not yet used as primary path and path validation is not 105 kept to catch in-flight packet on retired path. */ 156 const ngtcp2_path *path, 390 in 3*PTO to catch packets in flight along the old path. */ 627 on a current path. */ 630 should be sent to a current path to keep connection alive. It 863 ngtcp2_ssize ngtcp2_conn_write_vmsg(ngtcp2_conn *conn, ngtcp2_path *path, 887 uint16_t rtb_entry_flags, const ngtcp2_path *path, ngtcp2_tstam [all...] |
/third_party/node/deps/undici/src/lib/core/ |
H A D | request.js | 29 // Verifies that a given path is valid does not contain control chars \x00 to \x20 55 path, 69 if (typeof path !== 'string') { 70 throw new InvalidArgumentError('path must be a string') 72 path[0] !== '/' && 73 !(path.startsWith('http://') || path.startsWith('https://')) && 76 throw new InvalidArgumentError('path must be an absolute URL or start with a slash') 77 } else if (invalidPathRegex.exec(path) !== null) { 78 throw new InvalidArgumentError('invalid request path') [all...] |
/third_party/skia/src/gpu/geometry/ |
H A D | GrTriangulator.h | 30 static int PathToTriangles(const SkPath& path, SkScalar tolerance, const SkRect& clipBounds, in PathToTriangles() argument 32 if (!path.isFinite()) { in PathToTriangles() 36 GrTriangulator triangulator(path, &alloc); in PathToTriangles() 57 GrTriangulator(const SkPath& path, SkArenaAlloc* alloc) : fPath(path), fAlloc(alloc) {} in GrTriangulator() argument 62 // 1) Linearize the path contours into piecewise linear segments: 125 // the path bounds. When the path is taller than it is wide, we sort vertices based on 126 // increasing Y coordinate, and secondarily by increasing X coordinate. When the path is wider 187 // The breadcrumb triangles serve as a glue that erases T-junctions between a path' [all...] |
/third_party/skia/src/core/ |
H A D | SkDevice.h | 168 void clipPath(const SkPath& path, SkClipOp op, bool aa) { in clipPath() argument 169 this->onClipPath(path, op, aa); in clipPath() 217 virtual void onClipPath(const SkPath& path, SkClipOp, bool aa) {} in onClipPath() argument 259 * If pathIsMutable, then the implementation is allowed to cast path to a 262 * path on the stack to hold the representation of the oval. 264 virtual void drawPath(const SkPath& path, 500 void onClipPath(const SkPath& path, SkClipOp op, bool aa) override;
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/Debug/ |
H A D | Context.cpp | 341 std::shared_ptr<File> Context::Lock::createPhysicalFile(const std::string &path) in createPhysicalFile() argument 343 auto file = File::createPhysical(ctx->nextFileID++, path); in createPhysicalFile() 353 std::shared_ptr<File> Context::Lock::findFile(const std::string &path) in findFile() argument 358 if(file->path() == path) in findFile()
|
/third_party/skia/tests/ |
H A D | PathBuilderTest.cpp | 30 // Builders should always precompute the path's bounds, so there is no race condition later in DEF_TEST() 54 for (const SkPath& path : { b.snapshot(), b.detach() }) { in DEF_TEST() 55 REPORTER_ASSERT(reporter, path.getFillType() == fillType); in DEF_TEST() 56 is_empty(reporter, path); in DEF_TEST() 61 static bool check_points(const SkPath& path, const SkPoint expected[], size_t count) { in check_points() argument 64 for (auto [v, p, w] : SkPathPriv::Iterate(path)) { in check_points()
|
/third_party/skia/src/pdf/ |
H A D | SkPDFUtils.cpp | 118 void SkPDFUtils::EmitPath(const SkPath& path, SkPaint::Style paintStyle, in EmitPath() argument 121 if (path.isEmpty() && SkPaint::kFill_Style == paintStyle) { in EmitPath() 125 // Filling a path with no area results in a drawing in PDF renderers but in EmitPath() 133 if (path.isRect(&rect, &isClosed, &direction) && in EmitPath() 136 SkPathFillType::kEvenOdd == path.getFillType())) in EmitPath() 154 SkPath::Iter iter(path, false); in EmitPath()
|
/third_party/python/Lib/ |
H A D | cgitb.py | 131 file = os.path.abspath(file) 218 file = file and os.path.abspath(file) or '?' 307 (fd, path) = tempfile.mkstemp(suffix=suffix, dir=self.logdir) 312 msg = '%s contains the description of this error.' % path 314 msg = 'Tried to save traceback to %s, but failed.' % path
|
/third_party/python/Lib/test/ |
H A D | test_linecache.py | 5 import os.path namespace 16 TEST_PATH = os.path.dirname(__file__) 18 MODULE_PATH = os.path.dirname(FILENAME) 118 filename = os.path.join(MODULE_PATH, entry) + '.py' 137 filename = os.path.join(MODULE_PATH, entry) + '.py'
|
/third_party/skia/modules/skplaintexteditor/app/ |
H A D | editor_application.cpp | 113 void loadFile(const char* path) { in loadFile() 114 if (sk_sp<SkData> data = SkData::MakeFromFileName(path)) { in loadFile() 115 fPath = path; in loadFile() 388 bool init(const char* path) { in init() 391 fLayer.loadFile(path); in init()
|
/third_party/skia/include/core/ |
H A D | SkStream.h | 49 static std::unique_ptr<SkStreamAsset> MakeFromFile(const char path[]); 304 /** Initialize the stream by calling sk_fopen on the specified path. 307 explicit SkFILEStream(const char path[] = nullptr); 325 static std::unique_ptr<SkFILEStream> Make(const char path[]) { in Make() argument 326 std::unique_ptr<SkFILEStream> stream(new SkFILEStream(path)); in Make() 330 /** Returns true if the current path could be opened. */ 449 SkFILEWStream(const char path[]); 452 /** Returns true if the current path could be opened.
|
/third_party/zlib/test/ |
H A D | minigzip.c | 172 static gzFile gz_open(const char *path, int fd, const char *mode) in gz_open() argument 195 gz->file = path == NULL ? fdopen(fd, gz->write ? "wb" : "rb") : in gz_open() 196 fopen(path, gz->write ? "wb" : "rb"); in gz_open() 207 static gzFile gzopen(const char *path, const char *mode) in gzopen() argument 209 return gz_open(path, -1, mode); in gzopen()
|
/foundation/ability/ability_runtime/js_environment/interfaces/inner_api/ |
H A D | js_environment.h | 77 bool LoadScript(const std::string& path, std::vector<uint8_t>* buffer = nullptr, bool isBundle = false);
92 bool LoadScript(const std::string& path, uint8_t* buffer, size_t len, bool isBundle);
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/ |
H A D | transparent_node_detector.cpp | 86 std::string path = AceApplicationInfo::GetInstance().GetDataFileDirPath() + "/dump_info.log"; in DumpNodeInfo() local 87 std::unique_ptr<std::ofstream> out = std::make_unique<std::ofstream>(path); in DumpNodeInfo()
|
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | animatable_path.cpp | 134 // Format path string before judging whether interpolation can be done 136 std::string AnimatablePath::FormatPathString(const std::string& path) in FormatPathString() argument 140 SkParsePath::FromSVGString(path.c_str(), &skPath); in FormatPathString()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | model_view_impl.cpp | 139 void ModelViewImpl::SetShader(const std::string& path) {} in SetShader() argument 141 void ModelViewImpl::AddShaderImageTexture(const std::string& path) {} in AddShaderImageTexture() argument
|
/foundation/arkui/ace_engine/frameworks/core/common/ |
H A D | asset_manager_impl.cpp | 119 void AssetManagerImpl::GetAssetList(const std::string& path, std::vector<std::string>& assetList) const
in GetAssetList() argument 122 assetProvider->GetAssetList(path, assetList);
in GetAssetList()
|
/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | file_asset_provider_impl.cpp | 116 LOGE("Cannot find base path of %{public}s", assetName.c_str()); in GetAssetPath() 120 void FileAssetProviderImpl::GetAssetList(const std::string& path, std::vector<std::string>& assetList) in GetAssetList() argument 124 std::string assetPath = packagePath_ + basePath + path; in GetAssetList()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | rosen_media_player.h | 71 bool GetResourceId(const std::string& path, uint32_t& resId); 72 bool GetResourceId(const std::string& uri, std::string& path) const;
|
/foundation/arkui/ui_lite/interfaces/innerkits/font/ |
H A D | ui_font_bitmap.h | 34 int8_t SetFontPath(const char* path, FontType type) override; 43 int8_t GetFontVersion(FontType type, const char* path, char* version, uint8_t len) override;
|
/foundation/arkui/ace_engine_lite/frameworks/tools/qt/simulator/jsfwk/targets/simulator/mock/jsthread/ |
H A D | js_thread.cpp | 52 void JSThread::ConfigAbilityInfo(const char *path, const char *bundleName, uint16_t token) in ConfigAbilityInfo() argument 55 abilityPath_ = StringUtil::Copy(path); in ConfigAbilityInfo()
|
/foundation/bundlemanager/bundle_tool/test/mock/ |
H A D | mock_bundle_installer_host.cpp | 49 for_each(bundleFilePath.begin(), bundleFilePath.end(), [](const auto &path)->decltype(auto) { in Install() 50 APP_LOGI("bundleFilePath: %{private}s", path.c_str()); in Install()
|
/foundation/graphic/graphic_3d/lume/metaobject/test/src/ |
H A D | serialisation_utils.cpp | 105 bool TestSerialiser::LoadFile(BASE_NS::string_view path) in LoadFile() argument 107 auto f = CORE_NS::GetPluginRegister().GetFileManager().OpenFile(path); in LoadFile()
|