Home
last modified time | relevance | path

Searched refs:path (Results 5076 - 5100 of 12204) sorted by relevance

1...<<201202203204205206207208209210>>...489

/third_party/node/deps/openssl/openssl/crypto/http/
H A Dhttp_client.c166 * Create request line using |rctx| and |path| (or "/" in case |path| is NULL).
168 * a plain HTTP proxy is used and |path| does not begin with 'http://'.
172 const char *path) in OSSL_HTTP_REQ_CTX_set_request_line()
197 /* Make sure path includes a forward slash (abs_path) */ in OSSL_HTTP_REQ_CTX_set_request_line()
198 if (path == NULL) { in OSSL_HTTP_REQ_CTX_set_request_line()
199 path = "/"; in OSSL_HTTP_REQ_CTX_set_request_line()
200 } else if (HAS_PREFIX(path, "http://")) { /* absoluteURI for proxy use */ in OSSL_HTTP_REQ_CTX_set_request_line()
205 } else if (path[0] != '/' && BIO_printf(rctx->mem, "/") <= 0) { in OSSL_HTTP_REQ_CTX_set_request_line()
209 * Add (the rest of) the path an in OSSL_HTTP_REQ_CTX_set_request_line()
170 OSSL_HTTP_REQ_CTX_set_request_line(OSSL_HTTP_REQ_CTX *rctx, int method_POST, const char *server, const char *port, const char *path) OSSL_HTTP_REQ_CTX_set_request_line() argument
1015 OSSL_HTTP_set1_request(OSSL_HTTP_REQ_CTX *rctx, const char *path, const STACK_OF(CONF_VALUE) *headers, const char *content_type, BIO *req, const char *expected_content_type, int expect_asn1, size_t max_resp_len, int timeout, int keep_alive) OSSL_HTTP_set1_request() argument
1134 char *path; OSSL_HTTP_get() local
1212 OSSL_HTTP_transfer(OSSL_HTTP_REQ_CTX **prctx, const char *server, const char *port, const char *path, int use_ssl, const char *proxy, const char *no_proxy, BIO *bio, BIO *rbio, OSSL_HTTP_bio_cb_t bio_update_fn, void *arg, int buf_size, const STACK_OF(CONF_VALUE) *headers, const char *content_type, BIO *req, const char *expected_ct, int expect_asn1, size_t max_resp_len, int timeout, int keep_alive) OSSL_HTTP_transfer() argument
[all...]
/third_party/skia/src/core/
H A DSkDraw.cpp407 SkPath path; in drawPoints() local
410 path.addCircle(0, 0, radius); in drawPoints()
414 // then path then in drawPoints()
415 path.setIsVolatile((count-1) == i); in drawPoints()
416 this->drawPath(path, newPaint, &preMatrix, (count-1) == i); in drawPoints()
443 SkPath path = SkPath::Line(pts[0], pts[1]); in drawPoints() local
447 if (as_PEB(paint.getPathEffect())->asPoints(&pointData, path, stroke, ctm, in drawPoints()
449 // 'asPoints' managed to find some fast path in drawPoints()
517 [[fallthrough]]; // couldn't take fast path in drawPoints()
520 SkPath path; in drawPoints() local
803 SkPath path; drawRRect() local
[all...]
/third_party/python/Lib/logging/
H A Dhandlers.py114 if os.path.exists(source):
172 if os.path.exists(sfn):
173 if os.path.exists(dfn):
177 if os.path.exists(dfn):
191 if os.path.exists(self.baseFilename) and not os.path.isfile(self.baseFilename):
263 # path object (see Issue #27493), but self.baseFilename will be a string
265 if os.path.exists(filename):
354 if os.path.exists(self.baseFilename) and not os.path
[all...]
/third_party/protobuf/python/google/protobuf/internal/
H A Dtest_util.py41 import os.path namespace
621 path = '.'
622 while os.path.exists(path):
623 if os.path.exists(os.path.join(path, 'src/google/protobuf')):
625 full_path = os.path.join(path, 'src/google/protobuf/testdata', filename)
627 path
[all...]
/third_party/python/Lib/test/test_importlib/source/
H A Dtest_file_loader.py34 self.filepath = os.path.join('ham', self.name + '.py')
49 # If fullname is not set then assume self.path is desired.
56 path = 'some_path'
58 loader = Tester(name, path)
59 self.assertEqual(path, loader.get_filename(name))
60 self.assertEqual(path, loader.get_filename())
61 self.assertEqual(path, loader.get_filename(None))
95 '__path__': [os.path.dirname(mapping['_pkg.__init__'])],
174 # Loading a module found from an empty string entry on sys.path should
190 pycache = os.path
[all...]
/kernel/linux/linux-6.6/fs/smb/server/
H A Dsmb2pdu.c1980 ksmbd_debug(SMB, "IPC share path request\n"); in smb2_tree_connect()
2325 * @path: dentry path for get ea
2331 const struct path *path, bool get_write) in smb2_set_ea()
2333 struct mnt_idmap *idmap = mnt_idmap(path->mnt); in smb2_set_ea()
2370 path->dentry, in smb2_set_ea()
2378 path, in smb2_set_ea()
2392 rc = ksmbd_vfs_setxattr(idmap, path, attr_name, value, in smb2_set_ea()
2425 static noinline int smb2_set_stream_name_xattr(const struct path *pat argument
2330 smb2_set_ea(struct smb2_ea_info *eabuf, unsigned int buf_len, const struct path *path, bool get_write) smb2_set_ea() argument
2463 smb2_remove_smb_xattrs(const struct path *path) smb2_remove_smb_xattrs() argument
2497 smb2_create_truncate(const struct path *path) smb2_create_truncate() argument
2516 smb2_new_xattrs(struct ksmbd_tree_connect *tcon, const struct path *path, struct ksmbd_file *fp) smb2_new_xattrs() argument
2537 smb2_update_xattrs(struct ksmbd_tree_connect *tcon, const struct path *path, struct ksmbd_file *fp) smb2_update_xattrs() argument
2559 smb2_creat(struct ksmbd_work *work, struct path *parent_path, struct path *path, char *name, int open_flags, umode_t posix_mode, bool is_dir) smb2_creat() argument
2597 smb2_create_sd_buffer(struct ksmbd_work *work, struct smb2_create_req *req, const struct path *path) smb2_create_sd_buffer() argument
2658 struct path path, parent_path; smb2_open() local
4322 const struct path *path; smb2_get_ea() local
4635 const struct path *path = &fp->filp->f_path; get_file_stream_info() local
5012 struct path path; smb2_get_info_filesystem() local
5598 struct path path, parent_path; smb2_create_link() local
[all...]
/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/
H A Dnstackx_dfile.c56 char *path; member
207 free(ctx->path); in DFileSetStoragePathInner()
212 if (FileManagerSetWritePath(ctx->session->fileManager, ctx->path) != NSTACKX_EOK) { in DFileSetStoragePathInner()
213 DFILE_LOGE(TAG, "filemanager set write path failed"); in DFileSetStoragePathInner()
215 free(ctx->path); in DFileSetStoragePathInner()
219 static int32_t CheckSetStoragePathPara(int32_t sessionId, const char *path) in CheckSetStoragePathPara() argument
222 if (CheckSessionIdValid(sessionId) != NSTACKX_EOK || path == NULL) { in CheckSetStoragePathPara()
227 len = strlen(path); in CheckSetStoragePathPara()
229 DFILE_LOGE(TAG, "Invalid path name length"); in CheckSetStoragePathPara()
235 int32_t NSTACKX_DFileSetStoragePath(int32_t sessionId, const char *path) in NSTACKX_DFileSetStoragePath() argument
340 CreateStoragePathListCtx(const DFileSession *session, const char *path[], const uint16_t *pathType, uint16_t pathNum) CreateStoragePathListCtx() argument
385 CheckSetStoragePathListPara(int32_t sessionId, const char *path[], const uint16_t *pathType, uint16_t pathNum) CheckSetStoragePathListPara() argument
401 NSTACKX_DFileSetStoragePathList(int32_t sessionId, const char *path[], const uint16_t *pathType, uint16_t pathNum) NSTACKX_DFileSetStoragePathList() argument
[all...]
/test/xts/acts/graphic/acts_drawing_native/
H A DDrawingNativeCanvasTestPart4.cpp685 OH_Drawing_Path *path = OH_Drawing_PathCreate(); in HWTEST_F() local
686 EXPECT_NE(path, nullptr); in HWTEST_F()
697 OH_Drawing_CanvasDrawShadow(canvas, path, p1, p2, 10, 0xFF000000, 0xFF000000, flags[i]); in HWTEST_F()
700 OH_Drawing_PathDestroy(path); in HWTEST_F()
716 OH_Drawing_Path *path = OH_Drawing_PathCreate(); in HWTEST_F() local
720 OH_Drawing_CanvasDrawShadow(nullptr, path, p1, p2, 10, 0xFF000000, 0xFF000000, SHADOW_FLAGS_ALL); in HWTEST_F()
728 OH_Drawing_CanvasDrawShadow(canvas, path, p1, p2, 0, 0xFF000000, 0xFF000000, SHADOW_FLAGS_ALL); in HWTEST_F()
730 OH_Drawing_CanvasDrawShadow(canvas, path, p1, p2, 10, 0, 0xFF000000, SHADOW_FLAGS_ALL); in HWTEST_F()
732 OH_Drawing_CanvasDrawShadow(canvas, path, p1, p2, 10, 0xFF000000, 0, SHADOW_FLAGS_ALL); in HWTEST_F()
734 OH_Drawing_PathDestroy(path); in HWTEST_F()
750 OH_Drawing_Path *path = OH_Drawing_PathCreate(); HWTEST_F() local
782 OH_Drawing_Path *path = OH_Drawing_PathCreate(); HWTEST_F() local
[all...]
/third_party/libuv/include/uv_ndk/
H A Duv.h965 * Command line arguments. args[0] should be the path to the program. On
1322 const char* path; member
1340 const char* path,
1353 const char* path,
1382 const char* path,
1388 const char* path,
1401 const char* path,
1405 const char* path,
1412 const char* path,
1424 const char* path,
1551 char* path; global() member
[all...]
/third_party/nghttp2/src/
H A Dhttp2.cc1623 StringRef &authority, StringRef &path,
1686 path = http2::path_join(balloc, base, StringRef{}, rel, relq);
1706 // this should not happened in normal case, where we expect path
1819 StringRef normalize_path(BlockAllocator &balloc, const StringRef &path,
1825 if (path.size() < 3 ||
1826 std::find(std::begin(path), std::end(path), '%') == std::end(path)) {
1827 return path_join(balloc, StringRef{}, StringRef{}, path, query);
1831 auto result = make_byte_ref(balloc, path
[all...]
/third_party/skia/tools/fonts/
H A DTestSVGTypeface.cpp250 bool generatePath(SkGlyphID glyph, SkPath* path) override {
251 path->reset();
1122 void path_to_quads(const SkPath& path, SkPath* quadPath) { in path_to_quads() argument
1127 for (auto [verb, pts, w] : SkPathPriv::Iterate(path)) { in path_to_quads()
1182 SkIRect writePath(const SkPath& path, bool layer) { in writePath() argument
1185 path_to_quads(path, &quads); in writePath()
1252 SkPath path; variable
1253 path.addRect(rect);
1254 this->drawPath(path, paint);
1258 SkPath path; variable
1268 SkPath path; global() variable
1276 SkPath path; global() variable
1283 SkPath path = platonicPath; global() variable
[all...]
/foundation/ability/ability_runtime/js_environment/frameworks/js_environment/src/
H A Djs_environment.cpp165 bool JsEnvironment::LoadScript(const std::string& path, std::vector<uint8_t>* buffer, bool isBundle) in LoadScript() argument
173 return engine_->RunScriptPath(path.c_str()); in LoadScript()
176 return engine_->RunScriptBuffer(path.c_str(), *buffer, isBundle) != nullptr; in LoadScript()
253 bool JsEnvironment::LoadScript(const std::string& path, uint8_t* buffer, size_t len, bool isBundle) in LoadScript() argument
260 return engine_->RunScriptBuffer(path, buffer, len, isBundle); in LoadScript()
/foundation/arkui/ace_engine/frameworks/core/components/custom_paint/
H A Drosen_render_custom_paint.h82 void Fill(const Offset& offset, const RefPtr<CanvasPath2D>& path) override;
84 void Stroke(const Offset& offset, const RefPtr<CanvasPath2D>& path) override;
86 void Clip(const RefPtr<CanvasPath2D>& path) override;
101 std::string GetJsonData(const std::string& path) override;
167 void ParsePath2D(const Offset& offset, const RefPtr<CanvasPath2D>& path);
H A Doffscreen_canvas.h225 virtual void Stroke(const RefPtr<CanvasPath2D>& path) = 0;
238 virtual void Fill(const RefPtr<CanvasPath2D>& path) = 0;
240 virtual void Clip(const RefPtr<CanvasPath2D>& path) = 0;
254 virtual bool IsPointInStroke(const RefPtr<CanvasPath2D>& path, double x, double y) = 0;
256 virtual bool IsPointInPath(const RefPtr<CanvasPath2D>& path, double x, double y) = 0;
/foundation/arkui/ace_engine/test/component_test/tools/middle_ground/public/
H A Dindex.js111 values.push(subItem.path);
115 return [item.path];
139 path: [projectName],
150 path: [projectName, componentName],
157 path: [projectName, componentName, fileName],
/foundation/arkui/ace_engine_lite/frameworks/src/core/context/
H A Djs_app_context.cpp46 // reset current ability path and uuid in ClearContext()
222 HILOG_ERROR(HILOG_MODULE_ACE, "malloc buffer for current ability path failed"); in SetCurrentAbilityInfo()
271 HILOG_ERROR(HILOG_MODULE_ACE, "malloc buffer for current js path failed"); in SetCurrentJsPath()
350 char *path = StringUtil::Slice(uri, URI_PREFIX_DATA_LENGTH); in GetResourcePath() local
351 if (path == nullptr) { in GetResourcePath()
352 HILOG_ERROR(HILOG_MODULE_ACE, "fail to get resource path."); in GetResourcePath()
356 // no GetDataPath API provided on watch, contact the path by the product configuration insteadly in GetResourcePath()
357 char *relocatedPath = ProcessResourcePathByConfiguration(size, path); in GetResourcePath()
363 char *relocatedPath = RelocateResourceFilePath(dataPath, path); in GetResourcePath()
365 ACE_FREE(path); in GetResourcePath()
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_quick_fix_manager_test/
H A Dbms_bundle_quick_fix_manager_test.cpp130 for (const auto& path : sourceFiles) { in CreateFiles()
131 SaveStringToFile(path, path); in CreateFiles()
137 for (const auto& path : destFiles) { in DeleteFiles()
138 RemoveFile(path); in DeleteFiles()
145 * @tc.desc: 1. call CopyFiles, files copy to dest path, return true
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/
H A Ddrawing_text_font_descriptor.cpp62 descriptors[i].path = strdup(item->path.c_str()); in OH_Drawing_MatchFontDescriptors()
83 free(descriptors[i].path); in OH_Drawing_DestroyFontDescriptors()
152 descriptor->path = strdup(result->path.c_str()); in OH_Drawing_GetFontDescriptorByFullName()
/foundation/filemanagement/storage_service/services/storage_manager/volume/src/
H A Dvolume_manager_service.cpp60 std::string path, std::string description) in OnVolumeMounted()
73 volumePtr->SetPath(path); in OnVolumeMounted()
252 void VolumeManagerService::NotifyMtpMounted(const std::string &id, const std::string &path, const std::string &desc, in NotifyMtpMounted() argument
258 volumePtr->SetPath(path); in NotifyMtpMounted()
267 void VolumeManagerService::NotifyMtpUnmounted(const std::string &id, const std::string &path) in NotifyMtpUnmounted() argument
59 OnVolumeMounted(std::string volumeId, int fsType, std::string fsUuid, std::string path, std::string description) OnVolumeMounted() argument
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/media_manager/
H A Dmpeg_manager.cpp230 std::string path = PATH + requestId + tag; in GetFileFd() local
232 tempPath_ = path; in GetFileFd()
234 outPath_ = path; in GetFileFd()
236 DP_DEBUG_LOG("GetFileFd path: %{public}s", path.c_str()); in GetFileFd()
237 int fd = open(path.c_str(), flags, S_IRUSR | S_IWUSR); in GetFileFd()
/foundation/multimedia/media_library/frameworks/js/src/
H A Dmedia_scanner_napi.cpp236 int32_t MediaScannerNapiCallback::OnScanFinished(const int32_t status, const std::string &uri, const std::string &path) in OnScanFinished() argument
238 auto itr = scannerMap_.find(path); in OnScanFinished()
242 scannerMap_.erase(path); in OnScanFinished()
249 void MediaScannerNapiCallback::SetToMap(const std::string &path, const napi_ref &cbRef) in SetToMap() argument
251 scannerMap_.insert(std::make_pair(path, cbRef)); in SetToMap()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_photo_operations_test/src/
H A Dmedialibrary_formmap_operations_test.cpp234 string path = MediaLibraryFormMapOperations::GetFilePathById(ToString(fileId)); in HWTEST_F() local
235 string uri = MediaLibraryFormMapOperations::GetUriByFileId(fileId, path.c_str()); in HWTEST_F()
278 string path = MediaLibraryFormMapOperations::GetFilePathById(ToString(fileId + 1)); in HWTEST_F() local
279 EXPECT_EQ(path, ""); in HWTEST_F()
281 string uri = MediaLibraryFormMapOperations::GetUriByFileId((fileId + 1), path.c_str()); in HWTEST_F()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/background_cloud_file_processor_test/src/
H A Dbackground_cloud_file_processor_test.cpp94 string path = "/storage/cloud/files/photo/1/" + displayName; in InsertPhoto() local
114 valuesBucket.PutString(MediaColumn::MEDIA_FILE_PATH, path); in InsertPhoto()
127 return path; in InsertPhoto()
134 string path = InsertPhoto(mediaType); in PreparePhotos() local
135 photos.push_back(path); in PreparePhotos()
/foundation/resourceschedule/background_task_mgr/services/test/unittest/mock/include/
H A Dmock_resource_manager_impl.h36 * Add resource path to hap paths
37 * @param path the resource path
38 * @return true if add resource path success, else false
40 virtual bool AddResource(const char *path);
43 * Add resource path to overlay paths
44 * @param path the resource path
45 * @param overlayPaths the exist overlay resource path
46 * @return true if add resource path succes
[all...]
/foundation/resourceschedule/background_task_mgr/services/test/unittest/mock/
H A Dmock_resource_manager.cpp33 bool ResourceManagerImpl::AddResource(const char *path) in AddResource() argument
38 bool ResourceManagerImpl::AddResource(const std::string &path, const std::vector<std::string> &overlayPaths) in AddResource() argument
43 bool ResourceManagerImpl::RemoveResource(const std::string &path, const std::vector<std::string> &overlayPaths) in RemoveResource() argument
308 bool AddOverlayResource(const std::string &path) in AddOverlayResource() argument
313 bool RemoveOverlayResource(const std::string &path) in RemoveOverlayResource() argument

Completed in 41 milliseconds

1...<<201202203204205206207208209210>>...489