/third_party/skia/modules/canvaskit/htmlcanvas/ |
H A D | htmlcanvas.js | 34 this.makePath2D = function(path) { 35 var p2d = new Path2D(path);
|
/third_party/rust/crates/syn/benches/ |
H A D | file.rs | 17 #[path = "../tests/macros/mod.rs"] 21 #[path = "../tests/repo/mod.rs"]
|
/third_party/skia/build/fuchsia/ |
H A D | gen_package | 31 assert os.path.exists(args.pm_bin) 32 assert os.path.exists(args.pkg_dir)
|
/third_party/rust/crates/regex/tests/ |
H A D | macros_str.rs | 5 macro_rules! use_ { ($($path: tt)*) => { use regex::$($path)*; } }
|
H A D | macros_bytes.rs | 5 macro_rules! use_ { ($($path: tt)*) => { use regex::bytes::$($path)*; } }
|
/third_party/rust/crates/rustix/tests/process/ |
H A D | working_directory.rs | 25 rustix::process::chdir(tmpdir.path()).expect("changing dir to the tmp"); in test_changing_working_directory() 31 tmpdir.path().to_string_lossy(), in test_changing_working_directory()
|
/third_party/rust/crates/rustix/tests/fs/ |
H A D | mkdirat.rs | 7 let dir = openat(cwd(), tmp.path(), OFlags::RDONLY, Mode::empty()).unwrap(); in test_mkdirat() 23 tmp.path(), in test_mkdirat_with_o_path()
|
/third_party/selinux/libselinux/src/ |
H A D | matchmediacon.c | 16 const char *path = selinux_media_context_path(); in matchmediacon() local 21 if ((infile = fopen(path, "re")) == NULL) in matchmediacon()
|
/third_party/vk-gl-cts/scripts/opengl/ |
H A D | gen_ext_init.py | 70 writeInlFile(os.path.join(OPENGL_INC_DIR, "glwInitExtES.inl"), genExtensions(registry, nonStrippedIface, 'gles2')) 71 writeInlFile(os.path.join(OPENGL_INC_DIR, "glwInitExtGL.inl"), genExtensions(registry, nonStrippedIface, 'gl'))
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/examples/ |
H A D | dbus-listen-preq.py | 55 path = wpas.GetInterface(ifname) variable 57 if_obj = bus.get_object(WPAS_DBUS_SERVICE, path)
|
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuResource.cpp | 31 DirArchive::DirArchive (const char* path) in DirArchive() argument 32 : m_path(path) in DirArchive()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/examples/ |
H A D | dbus-listen-preq.py | 55 path = wpas.GetInterface(ifname) variable 57 if_obj = bus.get_object(WPAS_DBUS_SERVICE, path)
|
/third_party/vulkan-loader/scripts/ |
H A D | parse_asm_values.py | 25 import os.path namespace 26 from os.path import exists
|
/third_party/mesa3d/src/mesa/main/ |
H A D | shaderapi.c | 173 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...] |
/kernel/linux/linux-6.6/tools/lib/bpf/ |
H A D | btf.c | 922 static struct btf *btf_parse_elf(const char *path, struct btf *base_btf, in btf_parse_elf() argument 934 pr_warn("failed to init libelf for %s\n", path); in btf_parse_elf() 938 fd = open(path, O_RDONLY | O_CLOEXEC); in btf_parse_elf() 941 pr_warn("failed to open %s: %s\n", path, strerror(errno)); in btf_parse_elf() 949 pr_warn("failed to open %s as ELF file\n", path); in btf_parse_elf() 953 pr_warn("failed to get EHDR from %s\n", path); in btf_parse_elf() 959 path); in btf_parse_elf() 964 pr_warn("failed to get e_shstrndx from %s\n", path); in btf_parse_elf() 975 idx, path); in btf_parse_elf() 981 idx, path); in btf_parse_elf() 1048 btf__parse_elf(const char *path, struct btf_ext **btf_ext) btf__parse_elf() argument 1053 btf__parse_elf_split(const char *path, struct btf *base_btf) btf__parse_elf_split() argument 1058 btf_parse_raw(const char *path, struct btf *base_btf) btf_parse_raw() argument 1121 btf__parse_raw(const char *path) btf__parse_raw() argument 1126 btf__parse_raw_split(const char *path, struct btf *base_btf) btf__parse_raw_split() argument 1131 btf_parse(const char *path, struct btf *base_btf, struct btf_ext **btf_ext) btf_parse() argument 1148 btf__parse(const char *path, struct btf_ext **btf_ext) btf__parse() argument 1153 btf__parse_split(const char *path, struct btf *base_btf) btf__parse_split() argument 4781 char path[PATH_MAX + 1]; btf__load_vmlinux_btf() local 4811 char path[80]; btf__load_module_btf() local [all...] |
/third_party/curl/lib/ |
H A D | http.c | 653 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...] |
/foundation/distributeddatamgr/pasteboard/framework/test/src/ |
H A D | paste_data_test.cpp | 68 * @tc.desc: replace user id in share path 112 std::string path = "/data/local/tmp/pasteboardtest/"; in HWTEST_F() local 114 uri = path + fileName; in HWTEST_F() 115 int res = mkdir(path.c_str(), S_IRWXU | S_IRWXG | S_IRWXO); in HWTEST_F() 124 uri = path; in HWTEST_F() 127 (void)remove(path.c_str()); in HWTEST_F() 139 std::string path = "/data/local/tmp/pasteboardTest/"; in HWTEST_F() local 140 int32_t result = cpyUriHandler.ToFd(path, true); in HWTEST_F() 144 int res = mkdir(path.c_str(), S_IRWXU | S_IRWXG | S_IRWXO); in HWTEST_F() 146 result = cpyUriHandler.ToFd(path, tru in HWTEST_F() [all...] |
/kernel/linux/linux-5.10/drivers/staging/rtl8712/ |
H A D | rtl871x_mp.c | 172 u32 r8712_rf_reg_read(struct _adapter *pAdapter, u8 path, u8 offset) in r8712_rf_reg_read() argument 174 u16 rf_addr = (path << 8) | offset; in r8712_rf_reg_read() 183 u8 r8712_rf_reg_write(struct _adapter *pAdapter, u8 path, u8 offset, u32 value) in r8712_rf_reg_write() argument 185 u16 rf_addr = (path << 8) | offset; in r8712_rf_reg_write() 230 static u32 get_rf_reg(struct _adapter *pAdapter, u8 path, u8 offset, in get_rf_reg() argument 235 org_value = r8712_rf_reg_read(pAdapter, path, offset); in get_rf_reg() 240 static u8 set_rf_reg(struct _adapter *pAdapter, u8 path, u8 offset, u32 bitmask, in set_rf_reg() argument 246 org_value = r8712_rf_reg_read(pAdapter, path, offset); in set_rf_reg() 252 return r8712_rf_reg_write(pAdapter, path, offset, new_value); in set_rf_reg() 325 u8 path in r8712_SetDataRate() local [all...] |
/kernel/linux/linux-5.10/kernel/ |
H A D | audit_tree.c | 685 struct path path; in audit_trim_trees() local 696 err = kern_path(tree->pathname, 0, &path); in audit_trim_trees() 700 root_mnt = collect_mounts(&path); in audit_trim_trees() 701 path_put(&path); in audit_trim_trees() 803 struct path path; in audit_add_tree_rule() local 828 err = kern_path(tree->pathname, 0, &path); in audit_add_tree_rule() 831 mnt = collect_mounts(&path); in audit_add_tree_rule() 832 path_put(&path); in audit_add_tree_rule() [all...] |
/kernel/linux/linux-6.6/drivers/staging/rtl8712/ |
H A D | rtl871x_mp.c | 172 u32 r8712_rf_reg_read(struct _adapter *pAdapter, u8 path, u8 offset) in r8712_rf_reg_read() argument 174 u16 rf_addr = (path << 8) | offset; in r8712_rf_reg_read() 183 u8 r8712_rf_reg_write(struct _adapter *pAdapter, u8 path, u8 offset, u32 value) in r8712_rf_reg_write() argument 185 u16 rf_addr = (path << 8) | offset; in r8712_rf_reg_write() 230 static u32 get_rf_reg(struct _adapter *pAdapter, u8 path, u8 offset, in get_rf_reg() argument 235 org_value = r8712_rf_reg_read(pAdapter, path, offset); in get_rf_reg() 240 static u8 set_rf_reg(struct _adapter *pAdapter, u8 path, u8 offset, u32 bitmask, in set_rf_reg() argument 246 org_value = r8712_rf_reg_read(pAdapter, path, offset); in set_rf_reg() 252 return r8712_rf_reg_write(pAdapter, path, offset, new_value); in set_rf_reg() 325 u8 path in r8712_SetDataRate() local [all...] |
/kernel/linux/linux-6.6/kernel/ |
H A D | audit_tree.c | 685 struct path path; in audit_trim_trees() local 695 err = kern_path(tree->pathname, 0, &path); in audit_trim_trees() 699 root_mnt = collect_mounts(&path); in audit_trim_trees() 700 path_put(&path); in audit_trim_trees() 803 struct path path; in audit_add_tree_rule() local 828 err = kern_path(tree->pathname, 0, &path); in audit_add_tree_rule() 831 mnt = collect_mounts(&path); in audit_add_tree_rule() 832 path_put(&path); in audit_add_tree_rule() [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_lower_goto_ifs.c | 30 struct path { struct 31 /** Set of blocks which this path represents 34 * through this path but in the sense that, when you see one of these 35 * blocks, you know you've reached this path. 39 /** Fork in the path, if reachable->entries > 1 */ 49 struct path paths[2]; 53 struct path regular; 54 struct path brk; 55 struct path cont; 66 struct path out_pat [all...] |
/third_party/ninja/src/ |
H A D | manifest_parser_test.cc | 242 EXPECT_EQ(state.edges_[0]->outputs_[0]->path(), "foo bar"); in TEST_F() 243 EXPECT_EQ(state.edges_[0]->inputs_[0]->path(), "$one"); in TEST_F() 244 EXPECT_EQ(state.edges_[0]->inputs_[1]->path(), "two$ three"); in TEST_F() 514 EXPECT_EQ("input:1: expected path\n" in TEST_F() 741 EXPECT_EQ("input:1: empty path\n" in TEST_F() 756 EXPECT_EQ("input:4: empty path\n", err); in TEST_F() 943 EXPECT_EQ("include.ninja:1: expected path\n" in TEST_F() 975 EXPECT_EQ(edge->validations_[0]->path(), "baz"); in TEST_F() 1071 EXPECT_EQ("a", nodes[0]->path()); in TEST_F() 1072 EXPECT_EQ("b", nodes[1]->path()); in TEST_F() [all...] |
/third_party/mesa3d/src/panfrost/lib/genxml/ |
H A D | gen_pack.py | 444 def __init__(self, field, path, start, end): 446 self.path = path 450 def collect_fields(self, fields, offset, path, all_fields): 452 field_path = '{}{}'.format(path, field.name) 464 def collect_words(self, fields, offset, path, words): 466 field_path = '{}{}'.format(path, field.name) 527 value = str(field.exact) if field.exact is not None else "values->{}".format(contributor.path) 557 s = "#error unhandled field {}, type {}".format(contributor.path, field.type) 639 print(' values->{} = {};'.format(fieldref.path, decode [all...] |
/third_party/python/Lib/test/libregrtest/ |
H A D | main.py | 213 ns.tempdir = os.path.expanduser(ns.tempdir) 221 self.next_single_filename = os.path.join(self.tmp_dir, 'pynexttest') 234 with open(os.path.join(os_helper.SAVEDCWD, self.ns.fromfile)) as fp: 639 xmlpath = os.path.join(os_helper.SAVEDCWD, self.ns.xmlpath) 670 self.tmp_dir = os.path.join(self.tmp_dir, 'build') 674 self.tmp_dir = os.path.abspath(self.tmp_dir) 693 test_cwd = os.path.join(self.tmp_dir, test_cwd) 699 path = os.path.join(glob.escape(self.tmp_dir), 'test_python_*') 701 for name in glob.glob(path) [all...] |