/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
|
/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...] |
/test/xts/acts/graphic/acts_drawing_native/ |
H A D | DrawingNativeCanvasTest.cpp | 1442 OH_Drawing_Path *path = OH_Drawing_PathCreate(); in HWTEST_F() local 1443 EXPECT_NE(path, nullptr); in HWTEST_F() 1446 OH_Drawing_PathMoveTo(path, 50.0f, 50.0f); in HWTEST_F() 1449 OH_Drawing_PathLineTo(path, 100.0f, 50.0f); in HWTEST_F() 1452 OH_Drawing_CanvasDrawPath(canvas, path); in HWTEST_F() 1456 OH_Drawing_PathDestroy(path); in HWTEST_F() 1473 OH_Drawing_Path *path = OH_Drawing_PathCreate(); in HWTEST_F() local 1474 EXPECT_NE(path, nullptr); in HWTEST_F() 1477 OH_Drawing_CanvasDrawPath(nullptr, path); in HWTEST_F() 1482 // 5. Pass null path a in HWTEST_F() [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...] |
/third_party/toybox/toys/posix/ |
H A D | find.c | 27 -path PATTERN path name with wildcards (-ipath case insensitive) 51 -exec Run command with path -execdir Run command in file's dir 62 %M ls format type/mode %p path to file %P path to file minus DIR 367 || !strcmp(s, "path") || !strcmp(s, "ipath") in do_find() 371 char *arg = ss[1], *path = 0, *name = new ? new->name : arg; in do_find() local 373 // Handle path expansion and case flattening in do_find() 375 name = path = xreadlinkat(dirtree_parentfd(new), new->name); in do_find() 376 else if (new && is_path) name = path in do_find() 391 char *path = dirtree_path(new, 0), *context; do_find() local 654 char *path = dirtree_path(new, 0); do_find() local [all...] |
/third_party/skia/third_party/externals/freetype/builds/mac/ |
H A D | ftmac.c | 361 UInt8* path, in FT_EXPORT_DEF() 366 FT_UNUSED( path ); in FT_EXPORT_DEF() 377 UInt8* path, in FT_EXPORT_DEF() 389 if ( noErr != FSRefMakePath( &ref, path, maxPathSize ) ) in FT_EXPORT_DEF() 534 UInt8* path, in FT_FSpMakePath() 544 FT_MEM_SET( path, 0, maxPathSize ); in FT_FSpMakePath() 547 int child_namelen = ft_strlen( (char *)path ); in FT_FSpMakePath() 555 FT_MEM_MOVE( path + node_namelen + 1, path, child_namelen ); in FT_FSpMakePath() 556 FT_MEM_COPY( path, node_nam in FT_FSpMakePath() 533 FT_FSpMakePath( const FSSpec* spec_p, UInt8* path, UInt32 maxPathSize ) FT_FSpMakePath() argument [all...] |
/third_party/python/Lib/distutils/ |
H A D | dist.py | 352 sys_dir = os.path.dirname(sys.modules['distutils'].__file__) 355 sys_file = os.path.join(sys_dir, "distutils.cfg") 356 if os.path.isfile(sys_file): 367 user_file = os.path.join(os.path.expanduser('~'), user_filename) 368 if os.path.isfile(user_file): 373 if os.path.isfile(local_file): 1037 def __init__(self, path=None): 1038 if path is not None: 1039 self.read_pkg_file(open(path)) [all...] |
/third_party/python/Lib/test/ |
H A D | test_urllib2_localnet.py | 23 here = os.path.dirname(__file__) 25 CERT_localhost = os.path.join(here, 'keycert.pem') 27 CERT_fakehostname = os.path.join(here, 'keycert2.pem') 191 # urllib.request uses the full path, so we're going to see if 194 for path in [request_handler.path, request_handler.short_path]: 198 path): 269 (scm, netloc, path, params, query, fragment) = urllib.parse.urlparse( 270 self.path, "http") 271 self.short_path = path [all...] |
/third_party/skia/gm/ |
H A D | dashing.cpp | 136 SkPath path = make_unit_star(5); in make_path_star() local 137 SkMatrix matrix = SkMatrix::RectToRect(path.getBounds(), bounds, SkMatrix::kCenter_ScaleToFit); in make_path_star() 138 return path.makeTransform(matrix); in make_path_star() 179 SkPath path; variable 261 // 255on/255off 1x1 squares with phase of 0 - rects fast path 267 // 1on/1off 3x3 squares with phase of 0 - points fast path 273 // 1on/1off 3x3 squares with phase of 1.5 - rects fast path 279 // 1on/1off 1x1 circles with phase of 1 - no fast path yet 285 // 1on/1off 3x3 circles with phase of 1 - no fast path yet 291 // 1on/1off 1x1 squares with rotation - should break fast path 648 SkPath path; DEF_SIMPLE_GM() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/ |
H A D | tncc.c | 59 char *path; member 395 if (imc->path == NULL) { in tncc_load_imc() 401 imc->name, imc->path); in tncc_load_imc() 405 TCHAR *lib = wpa_strdup_tchar(imc->path); in tncc_load_imc() 412 imc->dlhandle = LoadLibrary(imc->path); in tncc_load_imc() 416 imc->name, imc->path, (int) GetLastError()); in tncc_load_imc() 420 imc->dlhandle = dlopen(imc->path, RTLD_LAZY); in tncc_load_imc() 423 imc->name, imc->path, dlerror()); in tncc_load_imc() 456 os_free(imc->path); in tncc_unload_imc() 976 imc->path in tncc_read_config_reg() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
H A D | wps_upnp.c | 287 * Note: do NOT free domain_and_port or path because they point to in subscr_addr_delete() 315 char *path; in subscr_addr_add_url() local 335 path = os_strchr(host, '/'); in subscr_addr_add_url() 336 if (path) in subscr_addr_add_url() 337 *path++ = '\0'; /* null terminate host */ in subscr_addr_add_url() 379 path_len = path ? os_strlen(path) : 0; in subscr_addr_add_url() 399 a->path = mem; in subscr_addr_add_url() 400 if (path == NULL || path[ in subscr_addr_add_url() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/ |
H A D | tncc.c | 59 char *path; member 395 if (imc->path == NULL) { in tncc_load_imc() 401 imc->name, imc->path); in tncc_load_imc() 405 TCHAR *lib = wpa_strdup_tchar(imc->path); in tncc_load_imc() 412 imc->dlhandle = LoadLibrary(imc->path); in tncc_load_imc() 416 imc->name, imc->path, (int) GetLastError()); in tncc_load_imc() 420 imc->dlhandle = dlopen(imc->path, RTLD_LAZY); in tncc_load_imc() 423 imc->name, imc->path, dlerror()); in tncc_load_imc() 456 os_free(imc->path); in tncc_unload_imc() 975 imc->path in tncc_read_config_reg() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
H A D | wps_upnp.c | 287 * Note: do NOT free domain_and_port or path because they point to in subscr_addr_delete() 323 char *path; in subscr_addr_add_url() local 348 path = os_strchr(host, '/'); in subscr_addr_add_url() 349 if (path) in subscr_addr_add_url() 350 *path++ = '\0'; /* null terminate host */ in subscr_addr_add_url() 392 path_len = path ? os_strlen(path) : 0; in subscr_addr_add_url() 420 a->path = mem; in subscr_addr_add_url() 421 if (path == NULL || path[ in subscr_addr_add_url() [all...] |
/third_party/vulkan-loader/loader/ |
H A D | settings.c | 40 loader_instance_heap_free(inst, layer_configuration->path); in free_layer_configuration() 143 res = loader_parse_json_string(layer_configuration_json, "path", &(layer_configuration->path)); in parse_layer_configuration() 262 if (a->layer_configurations[i].path && b->layer_configurations[i].path) { in check_if_settings_are_equal() 263 are_equal &= 0 == strcmp(a->layer_configurations[i].path, b->layer_configurations[i].path); in check_if_settings_are_equal() 284 loader_log(inst, VULKAN_LOADER_DEBUG_BIT, 0, "Path: %s", settings->layer_configurations[i].path); in log_settings() 535 // with the data required to compare it with layers not in the settings file (aka name and manifest path) in get_settings_layers() 541 res = loader_copy_to_new_str(inst, layer_config->path, in get_settings_layers() [all...] |
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_runtime/context/ |
H A D | js_application_context_utils.cpp | 356 std::string path = applicationContext->GetCacheDir(); in OnGetCacheDir() local 357 return CreateJsValue(env, path); in OnGetCacheDir() 373 std::string path = applicationContext->GetTempDir(); in OnGetTempDir() local 374 return CreateJsValue(env, path); in OnGetTempDir() 390 std::string path = applicationContext->GetResourceDir(); in OnGetResourceDir() local 391 return CreateJsValue(env, path); in OnGetResourceDir() 407 std::string path = applicationContext->GetFilesDir(); in OnGetFilesDir() local 408 return CreateJsValue(env, path); in OnGetFilesDir() 425 std::string path = applicationContext->GetDistributedFilesDir(); in OnGetDistributedFilesDir() local 426 return CreateJsValue(env, path); in OnGetDistributedFilesDir() 442 std::string path = applicationContext->GetCloudFileDir(); OnGetCloudFileDir() local 459 std::string path = applicationContext->GetDatabaseDir(); OnGetDatabaseDir() local 483 std::string path = applicationContext->GetPreferencesDir(); OnGetPreferencesDir() local 504 auto path = std::make_shared<std::string>(""); OnGetGroupDir() local 589 std::string path = applicationContext->GetBundleCodeDir(); OnGetBundleCodeDir() local [all...] |
/kernel/linux/linux-6.6/fs/nfsd/ |
H A D | trace.h | 337 __string(path, exp_path) 344 __assign_str(path, exp_path); 347 TP_printk("fsid=%x::%s domain=%s path=%s cache=%s", 351 __get_str(path), 361 __string(path, key->ex_path.dentry->d_name.name) 366 __assign_str(path, key->ex_path.dentry->d_name.name); 370 TP_printk("path=%s domain=%s status=%d", 371 __get_str(path), 381 __string(path, key->ex_path.dentry->d_name.name) 386 __assign_str(path, ke [all...] |