Home
last modified time | relevance | path

Searched refs:path (Results 2976 - 3000 of 7618) sorted by relevance

1...<<111112113114115116117118119120>>...305

/third_party/typescript/tests/baselines/reference/
H A Dautolift3.js15 readFile: function(path: string): string {
43 readFile: function (path) {
/third_party/skia/infra/bots/recipe_modules/infra/examples/
H A Dfull.py14 'recipe_engine/path',
37 api.path.exists(api.path['start_dir'].join('localpath'))
/third_party/skia/fuzz/
H A DFuzzCommon.h17 // allows some float values for path points
18 void FuzzNicePath(Fuzz* fuzz, SkPath* path, int maxOps);
19 // allows all float values for path points
20 void FuzzEvilPath(Fuzz* fuzz, SkPath* path, int last_verb);
/third_party/skia/infra/bots/recipe_modules/env/examples/
H A Dfull.py19 path = 'mypath:%(PATH)s'
20 with api.context(env={'PATH': path}):
/third_party/rust/crates/serde/serde_derive/src/
H A Ddummy.rs6 Some(path) => quote! { in wrap_in_const()
7 use #path as _serde; in wrap_in_const()
/third_party/node/lib/internal/
H A Durl.js81 const path = require('path');
788 const path = this.pathname;
789 if (path.length > 0) {
791 const out = new URL(path);
1408 path: `${pathname || ''}${search || ''}`,
1437 // If hostname is set, then we have a UNC path
1445 // Otherwise, it's a local path that requires a drive letter
1473 function fileURLToPath(path) {
1474 if (typeof path
[all...]
/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...]
/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...]
/test/testfwk/xdevice/plugins/devicetest/runner/
H A Dtest_runner.py121 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 Dinnerapis_publicinfo_generator.cc38 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 Dcheck_names.py307 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 Dutilities.cpp1370 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 DSampleDegenerateQuads.cpp369 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();
/third_party/rust/crates/nix/src/
H A Dunistd.rs38 use std::path::PathBuf;
480 pub fn chdir<P: ?Sized + NixPath>(path: &P) -> Result<()> { in chdir()
481 let res = path.with_nix_path(|cstr| { in chdir()
502 /// Creates new directory `path` with access rights `mode`. (see [mkdir(2)](https://pubs.opengroup.org/onlinepubs/9699919799/functions/mkdir.html))
509 /// - the path already exists
510 /// - the path name is too long (longer than `PATH_MAX`, usually 4096 on linux, 1024 on OS X)
520 /// let tmp_dir2 = tmp_dir1.path().join("new_dir");
529 pub fn mkdir<P: ?Sized + NixPath>(path: &P, mode: Mode) -> Result<()> { in mkdir()
530 let res = path.with_nix_path(|cstr| { in mkdir()
537 /// Creates new fifo special file (named pipe) with path `pat
1908 let mut path = template.with_nix_path(|path| {path.to_bytes_with_nul().to_owned()})?; mkstemp() variables
[all...]
/test/xts/acts/graphic/nativedrawing/entry/src/main/cpp/
H A DnativeDrawingndk.cpp222 OH_Drawing_Path *path = OH_Drawing_PathCreate(); in OHDrawingPathCreate() local
224 if (path == nullptr) { in OHDrawingPathCreate()
229 OH_Drawing_PathDestroy(path); in OHDrawingPathCreate()
1852 OH_Drawing_Path *path = OH_Drawing_PathCreate(); in OHDrawingCanvasCreateDrawPath() local
1853 OH_Drawing_CanvasDrawPath(canvas, path); in OHDrawingCanvasCreateDrawPath()
1854 OH_Drawing_PathDestroy(path); in OHDrawingCanvasCreateDrawPath()
1885 static napi_value GetPathResult(napi_env env, OH_Drawing_Path *path) in GetPathResult() argument
1888 if (path == nullptr) { in GetPathResult()
1893 OH_Drawing_PathDestroy(path); in GetPathResult()
1899 OH_Drawing_Path *path in OHDrawingPathCreateMoveTo() local
1906 OH_Drawing_Path *path = OH_Drawing_PathCreate(); OHDrawingPathCreateLineTo() local
1913 OH_Drawing_Path *path = OH_Drawing_PathCreate(); OHDrawingPathCreateArcTo() local
1919 OH_Drawing_Path *path = OH_Drawing_PathCreate(); OHDrawingPathCreateQuadTo() local
1925 OH_Drawing_Path *path = OH_Drawing_PathCreate(); OHDrawingPathCreateCubicTo() local
1931 OH_Drawing_Path *path = OH_Drawing_PathCreate(); OHDrawingPathCreateClose() local
1937 OH_Drawing_Path *path = OH_Drawing_PathCreate(); OHDrawingPathCreateReset() local
[all...]
/third_party/mesa3d/src/mesa/main/
H A Dshaderapi.c173 static const char *path = NULL; in _mesa_get_shader_capture_path() local
176 path = getenv("MESA_SHADER_CAPTURE_PATH"); in _mesa_get_shader_capture_path()
180 if (!path) { in _mesa_get_shader_capture_path()
184 path = p; in _mesa_get_shader_capture_path()
189 return path; in _mesa_get_shader_capture_path()
1933 * Construct a full path for shader replacement functionality using
1936 * <path>/<stage prefix>_<CHECKSUM>.glsl
1937 * <path>/<stage prefix>_<CHECKSUM>.arb
1941 const char *source, const char *path) in construct_name()
1949 return ralloc_asprintf(NULL, "%s/%s_%s.%s", path, type in construct_name()
1940 construct_name(const gl_shader_stage stage, const char *sha, const char *source, const char *path) construct_name() argument
3235 char *path; global() member
3241 struct hash_table *path; global() member
3368 struct sh_incl_path_entry *path = validate_and_tokenise_sh_incl() local
3382 lookup_shader_include(struct gl_context *ctx, char *path, bool error_check) lookup_shader_include() argument
3483 _mesa_lookup_shader_include(struct gl_context *ctx, char *path, bool error_check) _mesa_lookup_shader_include() argument
3609 _mesa_CompileShaderIncludeARB(GLuint shader, GLsizei count, const GLchar* const *path, const GLint *length) _mesa_CompileShaderIncludeARB() argument
[all...]
/third_party/curl/lib/
H A Dhttp.c653 const char *path, in output_auth_headers()
662 (void)path; in output_auth_headers()
706 (const unsigned char *)path); in output_auth_headers()
780 * @param path pointer to the requested path; should include query part
791 const char *path, in Curl_http_output_auth()
837 result = output_auth_headers(data, conn, authproxy, request, path, TRUE); in Curl_http_output_auth()
856 result = output_auth_headers(data, conn, authhost, request, path, FALSE); in Curl_http_output_auth()
881 const char *path, in Curl_http_output_auth()
888 (void)path; in Curl_http_output_auth()
649 output_auth_headers(struct Curl_easy *data, struct connectdata *conn, struct auth *authstatus, const char *request, const char *path, bool proxy) output_auth_headers() argument
787 Curl_http_output_auth(struct Curl_easy *data, struct connectdata *conn, const char *request, Curl_HttpReq httpreq, const char *path, bool proxytunnel) Curl_http_output_auth() argument
877 Curl_http_output_auth(struct Curl_easy *data, struct connectdata *conn, const char *request, Curl_HttpReq httpreq, const char *path, bool proxytunnel) Curl_http_output_auth() argument
2234 const char *path = data->state.up.path; Curl_http_target() local
4597 Curl_http_req_make(struct httpreq **preq, const char *method, size_t m_len, const char *scheme, size_t s_len, const char *authority, size_t a_len, const char *path, size_t p_len) Curl_http_req_make() argument
4708 char *path, *query; req_assign_url_path() local
[all...]
/test/xts/hats/powermgr/battery/hdi_battery_additional/common/
H A Dhdi_battery_test.cpp67 std::string CreateFile(std::string path, std::string content) in CreateFile() argument
69 std::ofstream stream(path.c_str()); in CreateFile()
76 return path; in CreateFile()
87 std::string path = ""; in HWTEST_F() local
88 EXPECT_EQ(HDF_SUCCESS, g_batteryInterface->ChangePath(path)); in HWTEST_F()
108 std::string path = "test test test"; in HWTEST_F() local
109 EXPECT_EQ(HDF_SUCCESS, g_batteryInterface->ChangePath(path)); in HWTEST_F()

Completed in 37 milliseconds

1...<<111112113114115116117118119120>>...305