/kernel/linux/linux-6.6/sound/pci/hda/ |
H A D | hda_generic.c | 250 /* return true if the given NID is contained in the path */ 251 static bool is_nid_contained(struct nid_path *path, hda_nid_t nid) in is_nid_contained() argument 253 return find_idx_in_nid_list(nid, path->path, path->depth) >= 0; in is_nid_contained() 261 struct nid_path *path; in get_nid_path() local 264 snd_array_for_each(&spec->paths, i, path) { in get_nid_path() 265 if (path->depth <= 0) in get_nid_path() 267 if ((!from_nid || path->path[ in get_nid_path() 287 snd_hda_get_path_idx(struct hda_codec *codec, struct nid_path *path) snd_hda_get_path_idx() argument 322 const struct nid_path *path; is_dac_already_used() local 348 const struct nid_path *path; is_ctl_used() local 367 print_nid_path(struct hda_codec *codec, const char *pfx, struct nid_path *path) print_nid_path() argument 384 __parse_nid_path(struct hda_codec *codec, hda_nid_t from_nid, hda_nid_t to_nid, int anchor_nid, struct nid_path *path, int depth) __parse_nid_path() argument 454 snd_hda_parse_nid_path(struct hda_codec *codec, hda_nid_t from_nid, hda_nid_t to_nid, int anchor_nid, struct nid_path *path) snd_hda_parse_nid_path() argument 481 struct nid_path *path; snd_hda_add_new_path() local 506 struct nid_path *path = snd_hda_get_path_from_idx(codec, idx); invalidate_nid_path() local 565 look_for_out_mute_nid(struct hda_codec *codec, struct nid_path *path) look_for_out_mute_nid() argument 581 look_for_out_vol_nid(struct hda_codec *codec, struct nid_path *path) look_for_out_vol_nid() argument 602 has_amp_in(struct hda_codec *codec, struct nid_path *path, int idx) has_amp_in() argument 616 has_amp_out(struct hda_codec *codec, struct nid_path *path, int idx) has_amp_out() argument 635 const struct nid_path *path; is_active_nid() local 774 activate_amp_out(struct hda_codec *codec, struct nid_path *path, int i, bool enable) activate_amp_out() argument 782 activate_amp_in(struct hda_codec *codec, struct nid_path *path, int i, bool enable, bool add_aamix) activate_amp_in() argument 823 path_power_update(struct hda_codec *codec, struct nid_path *path, bool allow_powerdown) path_power_update() argument 879 snd_hda_activate_path(struct hda_codec *codec, struct nid_path *path, bool enable, bool add_aamix) snd_hda_activate_path() argument 907 path_power_down_sync(struct hda_codec *codec, struct nid_path *path) path_power_down_sync() argument 935 struct nid_path *path = snd_hda_get_path_from_idx(codec, path_idx); resume_path_from_idx() local 1020 add_vol_ctl(struct hda_codec *codec, const char *pfx, int cidx, unsigned int chs, struct nid_path *path) add_vol_ctl() argument 1034 get_default_ch_nums(struct hda_codec *codec, struct nid_path *path, int type) get_default_ch_nums() argument 1046 add_stereo_vol(struct hda_codec *codec, const char *pfx, int cidx, struct nid_path *path) add_stereo_vol() argument 1056 add_sw_ctl(struct hda_codec *codec, const char *pfx, int cidx, unsigned int chs, struct nid_path *path) add_sw_ctl() argument 1079 add_stereo_sw(struct hda_codec *codec, const char *pfx, int cidx, struct nid_path *path) add_stereo_sw() argument 1158 struct nid_path *path = snd_hda_get_path_from_idx(codec, path_idx); path_has_mixer() local 1285 assign_out_path_ctls(struct hda_codec *codec, struct nid_path *path) assign_out_path_ctls() argument 1383 struct nid_path *path; try_assign_dacs() local 1537 struct nid_path *path; fill_multi_ios() local 1620 struct nid_path *path; map_singles() local 1652 struct nid_path *path; check_aamix_out_path() local 1689 struct nid_path *path; indep_hp_possible() local 1727 struct nid_path *path; refill_shared_dacs() local 1907 struct nid_path *path; print_nid_path_idx() local 2071 struct nid_path *path; parse_output_paths() local 2119 struct nid_path *path; create_multi_out_ctls() local 2160 struct nid_path *path; create_extra_out() local 2378 struct nid_path *path; set_multi_io() local 2495 struct nid_path *path; update_output_paths() local 3098 struct nid_path *path; new_analog_input() local 3265 struct nid_path *path; parse_capture_source() local 3473 struct nid_path *path; cap_put_caller() local 3544 parse_capvol_in_path(struct hda_codec *codec, struct nid_path *path) parse_capvol_in_path() argument 3718 struct nid_path *path; get_first_cap_ctl() local 3795 struct nid_path *path; create_capture_mixers() local 3857 look_for_boost_amp(struct hda_codec *codec, struct nid_path *path) look_for_boost_amp() argument 3893 struct nid_path *path; parse_mic_boost() local 4028 struct nid_path *path; parse_digital() local 4094 struct nid_path *old_path, *path; mux_select() local 4141 struct nid_path *path; set_path_power() local 4289 struct nid_path *path; add_fake_paths() local 4350 struct nid_path *path; snd_hda_gen_fix_pin_power() local 4406 struct nid_path *path; do_automute() local 5802 struct nid_path *path; set_output_and_unmute() local 5854 struct nid_path *path; init_multi_io() local 5910 struct nid_path *path; init_input_src() local [all...] |
/third_party/eudev/src/shared/ |
H A D | label.c | 23 int label_fix(const char *path, bool ignore_enoent, bool ignore_erofs) { in label_fix() argument 26 r = mac_selinux_fix(path, ignore_enoent, ignore_erofs); in label_fix() 27 q = mac_smack_fix(path, ignore_enoent, ignore_erofs); in label_fix() 37 int mkdir_label(const char *path, mode_t mode) { in mkdir_label() argument 40 assert(path); in mkdir_label() 42 r = mac_selinux_create_file_prepare(path, S_IFDIR); in mkdir_label() 46 if (mkdir(path, mode) < 0) in mkdir_label() 54 return mac_smack_fix(path, false, false); in mkdir_label()
|
/third_party/node/test/es-module/ |
H A D | test-esm-preserve-symlinks-main.js | 6 const path = require('path'); 11 const tmpDir = tmpdir.path; 13 fs.mkdirSync(path.join(tmpDir, 'nested')); 14 fs.mkdirSync(path.join(tmpDir, 'nested2')); 16 const entry = path.join(tmpDir, 'nested', 'entry.js'); 17 const entry_link_absolute_path = path.join(tmpDir, 'link.js'); 18 const submodule = path.join(tmpDir, 'nested2', 'submodule.js'); 19 const submodule_link_absolute_path = path.join(tmpDir, 'submodule_link.js');
|
/third_party/musl/libc-test/src/functionalext/supplement/stat/ |
H A D | mkfifoat.c | 32 const char *path = "/data/mkfifoat_0100"; in mkfifoat_0100() local 33 int ret = mkfifoat(-1, path, S_IFIFO | TEST_FIFO_MODE); in mkfifoat_0100() 35 ret = stat(path, &sb); in mkfifoat_0100() 38 unlink(path); in mkfifoat_0100() 50 const char *path = "mkfifoat_0200"; in mkfifoat_0200() local 51 int ret = mkfifoat(TEST_AT_FDCWD, path, S_IFIFO | TEST_FIFO_MODE); in mkfifoat_0200() 53 ret = stat(path, &sb); in mkfifoat_0200() 56 unlink(path); in mkfifoat_0200()
|
/third_party/skia/tools/ |
H A D | bloaty_treemap.py | 37 def add_path(path): 38 if not path in parent_map: 39 head = os.path.split(path)[0] 41 parent_map[path] = "ROOT" 44 parent_map[path] = head 45 print("['" + path + "', '" + parent_map[path] + "', 0],") 89 print("ERROR: Unexpected absolute path:\n" + filepath) 95 # Ensure that we've added intermediate nodes for all portions of this file path [all...] |
H A D | find_run_binary.py | 37 """Returns path to an existing program binary. 43 Absolute path to the program binary, as a string. 48 trunk_path = os.path.abspath(os.path.join(os.path.dirname(__file__), 50 possible_paths = [os.path.join(trunk_path, 'out', 'Release', program), 51 os.path.join(trunk_path, 'out', 'Debug', program), 52 os.path.join(trunk_path, 'out', 'Release', 54 os.path.join(trunk_path, 'out', 'Debug', 57 if os.path [all...] |
/third_party/skia/docs/examples/ |
H A D | Arc.cpp | 21 SkPath path; in REG_FIDDLE() local 22 path.moveTo({56, 32}); in REG_FIDDLE() 25 path.arcTo(oval, 0, 90, false); in REG_FIDDLE() 31 path.addArc(oval, 0, 90); in REG_FIDDLE() 34 path.arcTo({56, 56}, {32, 56}, 24); in REG_FIDDLE() 37 path.arcTo({24, 24}, 0, SkPath::kSmall_ArcSize, SkPathDirection::kCW, {32, 56}); in REG_FIDDLE() 40 path.conicTo({56, 56}, {32, 56}, SK_ScalarRoot2Over2); in REG_FIDDLE() 43 canvas->drawPath(path, arcPaint); in REG_FIDDLE()
|
H A D | Path_Verb.cpp | 7 SkPath path; in REG_FIDDLE() local 8 path.lineTo(20, 20); in REG_FIDDLE() 9 path.quadTo(-10, -10, 30, 30); in REG_FIDDLE() 10 path.close(); in REG_FIDDLE() 11 path.cubicTo(1, 2, 3, 4, 5, 6); in REG_FIDDLE() 12 path.conicTo(0, 0, 0, 0, 2); in REG_FIDDLE() 14 int count = path.getVerbs(verbs, (int) SK_ARRAY_COUNT(verbs)); in REG_FIDDLE()
|
H A D | Path_rQuadTo.cpp | 9 SkPath path; in REG_FIDDLE() local 10 path.moveTo(128, 20); in REG_FIDDLE() 11 path.rQuadTo(-6, 10, -7, 10); in REG_FIDDLE() 13 path.rQuadTo(10 + i, 10 + i, 10 + i * 4, 10); in REG_FIDDLE() 14 path.rQuadTo(-10 - i, 10 + i, -10 - (i + 2) * 4, 10); in REG_FIDDLE() 16 path.quadTo(92, 220, 128, 215); in REG_FIDDLE() 17 canvas->drawPath(path, paint); in REG_FIDDLE()
|
H A D | Path_rConicTo.cpp | 10 SkPath path; in REG_FIDDLE() local 11 path.moveTo(20, 80); in REG_FIDDLE() 12 path.rConicTo( 60, 0, 60, 60, 0.707107f); in REG_FIDDLE() 13 path.rConicTo( 0, -60, 60, -60, 0.707107f); in REG_FIDDLE() 14 path.rConicTo(-60, 0, -60, -60, 0.707107f); in REG_FIDDLE() 15 path.rConicTo( 0, 60, -60, 60, 0.707107f); in REG_FIDDLE() 16 canvas->drawPath(path, paint); in REG_FIDDLE()
|
H A D | Paint_getTextPath.cpp | 10 SkPath path, path2; in REG_FIDDLE() local 11 paint.getTextPath("ABC", 3, 20, 80, &path); in REG_FIDDLE() 12 path.offset(20, 20, &path2); in REG_FIDDLE() 13 Op(path, path2, SkPathOp::kDifference_SkPathOp, &path); in REG_FIDDLE() 14 path.addPath(path2); in REG_FIDDLE() 16 canvas->drawPath(path, paint); in REG_FIDDLE()
|
/foundation/filemanagement/dfs_service/test/mock/ |
H A D | cloud_download_uri_manager_hook.cpp | 27 void CloudDownloadUriManager::RemoveUri(const std::string& path) in RemoveUri() argument 29 if (pathUriMap_.find(path) != pathUriMap_.end()) { in RemoveUri() 30 LOGI("download_file : remove path [ %{public}s ] success", GetAnonyString(path).c_str()); in RemoveUri() 31 pathUriMap_.erase(path); in RemoveUri() 35 std::string CloudDownloadUriManager::GetUri(const std::string& path) in GetUri() argument 37 if (path.empty()) { in GetUri() 38 LOGI("path is empty"); in GetUri() 41 return path; in GetUri()
|
/third_party/python/PC/ |
H A D | testpy.py | 21 for dir in sys.path: 22 file = os.path.join(dir, "os.py") 23 if os.path.isfile(file): 24 test = os.path.join(dir, "test") 25 if os.path.isdir(test): 27 sys.path = sys.path + [test]
|
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | motion_path_evaluator.cpp | 40 std::string Preprocess(std::string path, const Offset& start, const Offset& end) in Preprocess() argument 42 path = ReplaceAll(path, START_X, std::to_string(start.GetX())); in Preprocess() 43 path = ReplaceAll(path, START_Y, std::to_string(start.GetY())); in Preprocess() 44 path = ReplaceAll(path, END_X, std::to_string(end.GetX())); in Preprocess() 45 path = ReplaceAll(path, END_Y, std::to_string(end.GetY())); in Preprocess() 46 return path; in Preprocess() 55 auto path = Preprocess(motionPathOption_.GetPath(), startPoint_, endPoint_); MotionPathEvaluator() local [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | gopher.c | 45 static int gopher_connect(URLContext *h, const char *path) in gopher_connect() argument 49 if (!*path) return AVERROR(EINVAL); in gopher_connect() 50 switch (*++path) { in gopher_connect() 53 path = strchr(path, '/'); in gopher_connect() 54 if (!path) return AVERROR(EINVAL); in gopher_connect() 59 *path); in gopher_connect() 64 snprintf(buffer, sizeof(buffer), "%s\r\n", path); in gopher_connect() 82 char proto[10], hostname[1024], auth[1024], path[1024], buf[1024]; in gopher_open() local 90 hostname, sizeof(hostname), &port, path, sizeo in gopher_open() [all...] |
/third_party/glslang/StandAlone/ |
H A D | DirStackFileIncluder.h | 73 // - Makes its own copy of the path. 101 // Search for a valid "local" path based on combining the stack of include 113 std::string path = *it + '/' + headerName; in readLocalPath() local 114 std::replace(path.begin(), path.end(), '\\', '/'); in readLocalPath() 115 std::ifstream file(path, std::ios_base::binary | std::ios_base::ate); in readLocalPath() 117 directoryStack.push_back(getDirectory(path)); in readLocalPath() 118 includedFiles.insert(path); in readLocalPath() 119 return newIncludeResult(path, file, (int)file.tellg()); in readLocalPath() 126 // Search for a valid <system> path 134 newIncludeResult(const std::string& path, std::ifstream& file, int length) const newIncludeResult() argument [all...] |
/third_party/googletest/googletest/scripts/ |
H A D | fuse_gtest_files.py | 41 search path and linking with OUTPUT_DIR/gtest/gtest-all.cc. These 50 ./fuse_gtest_files.py path/to/unpacked/gtest fused_gtest 71 DEFAULT_GTEST_ROOT_DIR = os.path.join(os.path.dirname(__file__), '..') 92 relative_path is the file path relative to the given directory. 95 if not os.path.isfile(os.path.join(directory, relative_path)): 114 """Verifies that the given output file path is valid. 120 output_file = os.path.join(output_dir, relative_path) 121 if os.path [all...] |
/third_party/lzma/CPP/Windows/ |
H A D | DLL.cpp | 28 bool CLibrary::LoadEx(CFSTR path, DWORD flags) throw()
in LoadEx() argument 35 _module = ::LoadLibraryEx(fs2fas(path), NULL, flags);
in LoadEx() 40 _module = ::LoadLibraryExW(fs2us(path), NULL, flags);
in LoadEx() 45 bool CLibrary::Load(CFSTR path) throw()
in Load() argument 52 _module = ::LoadLibrary(fs2fas(path));
in Load() 57 _module = ::LoadLibraryW(fs2us(path));
in Load() 62 bool MyGetModuleFileName(FString &path)
in MyGetModuleFileName() argument 65 path.Empty();
in MyGetModuleFileName() 74 path = fas2fs(s);
in MyGetModuleFileName() 86 path in MyGetModuleFileName() 142 Load(CFSTR path) Load() argument [all...] |
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/tools/ |
H A D | run_one.py | 21 BASE_PATH = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) 22 FOOZZIE = os.path.join(BASE_PATH, 'workdir', 'app_dir', 'v8_foozzie.py') 23 TEST_CASES = os.path.join(BASE_PATH, 'workdir', 'output') 25 assert os.path.exists(FOOZZIE) 38 test_dir = os.path.join(TEST_CASES, 'dir-%d' % dir_number) 39 assert os.path.exists(test_dir) 69 yield (os.path.join(test_dir, f), os.path [all...] |
/third_party/node/test/sequential/ |
H A D | test-diagnostic-dir-heap-prof.js | 12 const path = require('path'); 63 .map((file) => path.join(dir, file)); 69 const dir = path.join(tmpdir.path, 'prof'); 76 fixtures.path('workload', 'allocation.js'), 78 cwd: tmpdir.path, 94 const dir = path.join(tmpdir.path, 'diag'); 95 const dir2 = path [all...] |
/third_party/node/test/tools/ |
H A D | test_checkimports.py | 4 from os import path namespace 5 sys.path.append(path.abspath(path.join(path.dirname(__file__), 27 fixturesDir = path.join(path.dirname(__file__), '..', '..', 32 self.assertEqual(is_valid(path.join(self.fixturesDir, 'invalid.cc')), 46 self.assertEqual(is_valid(path.join(self.fixturesDir, 'maybe.cc')), 53 self.assertEqual(is_valid(path [all...] |
/third_party/node/deps/v8/tools/sanitizers/ |
H A D | sancov_formatter_test.py | 20 LOCATION = os.path.dirname(os.path.abspath(__file__)) 23 BASE_DIR = os.path.dirname(os.path.dirname(LOCATION)) 26 BUILD_DIR = os.path.join(BASE_DIR, 'out', 'Release') 62 '/path/to/d8', 63 '/path/to/cctest', 64 '/path/to/unittests', 140 os.path.join('src', 'baz', 'bar.h.json'), 150 os.path [all...] |
/third_party/ninja/src/ |
H A D | test.h | 37 /// Short way to get a Node by its path from state_.
38 Node* GetNode(const std::string& path);
55 void Create(const std::string& path, const std::string& contents);
64 virtual TimeStamp Stat(const std::string& path, std::string* err) const;
65 virtual bool WriteFile(const std::string& path, const std::string& contents);
66 virtual bool MakeDir(const std::string& path);
67 virtual Status ReadFile(const std::string& path, std::string* contents,
69 virtual int RemoveFile(const std::string& path);
102 /// A class that records a file path and ensures that it is removed
106 /// Constructor just records the file path 121 const std::string& path() const { return path_; } path() function [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
H A D | readlinkat.c | 28 int create_file(char *path) in create_file() argument 30 int fd = open(path, O_RDWR | O_CREAT, TEST_MODE); in create_file() 55 char path[PATH_MAX] = {0}; in readlinkat_0100() local 56 FILE_ABSOLUTE_PATH(STR_FILE_TXT, path); in readlinkat_0100() 57 int result = create_file(path); in readlinkat_0100() 67 result = symlink(path, linkpath); in readlinkat_0100() 85 if (strcmp(rbuf, path)) { in readlinkat_0100() 90 remove(path); in readlinkat_0100() 100 char path[PATH_MAX] = {0}; in readlinkat_0200() local 101 FILE_ABSOLUTE_PATH(STR_FILE_TXT, path); in readlinkat_0200() [all...] |
/third_party/pulseaudio/src/daemon/ |
H A D | dumpmodules.c | 40 static void short_info(const char *name, const char *path, pa_modinfo *i) { in short_info() argument 47 static void long_info(const char *name, const char *path, pa_modinfo *i) { in long_info() argument 75 if (path) in long_info() 76 printf(_("Path: %s\n"), path); in long_info() 79 static void show_info(const char *name, const char *path, void (*info)(const char *name, const char *path, pa_modinfo*i)) { in show_info() argument 84 if ((i = pa_modinfo_get_by_name(path ? path : name))) { in show_info() 85 info(name, path, i); in show_info() 110 static int callback(const char *path, lt_pt argument [all...] |