/third_party/ltp/tools/sparse/sparse-src/ |
H A D | ast-model.c | 25 GtkTreePath *path); 251 * ast_get_iter: converts a tree path (physical position) into a 262 GtkTreePath *path) in ast_get_iter() 269 indices = gtk_tree_path_get_indices(path); in ast_get_iter() 270 depth = gtk_tree_path_get_depth(path); in ast_get_iter() 281 * ast_get_path: converts a tree iter into a tree path (ie. the 290 GtkTreePath *path; in ast_get_path() local 294 path = gtk_tree_path_new(); in ast_get_path() 296 gtk_tree_path_prepend_index(path, node->index); in ast_get_path() 299 return path; in ast_get_path() 260 ast_get_iter(GtkTreeModel *tree_model, GtkTreeIter *iter, GtkTreePath *path) ast_get_iter() argument [all...] |
/third_party/node/deps/uvwasi/include/ |
H A D | uvwasi.h | 152 char* path, 190 const char* path, 195 const char* path, 201 const char* path, 217 const char* path, 226 const char* path, 233 const char* path, 250 const char* path,
|
/third_party/python/Lib/ |
H A D | filecmp.py | 145 a = dict(zip(map(os.path.normcase, self.left_list), self.left_list)) 146 b = dict(zip(map(os.path.normcase, self.right_list), self.right_list)) 157 a_path = os.path.join(self.left, x) 158 b_path = os.path.join(self.right, x) 197 a_x = os.path.join(self.left, x) 198 b_x = os.path.join(self.right, x) 273 ax = os.path.join(a, x) 274 bx = os.path.join(b, x)
|
/third_party/pulseaudio/src/modules/alsa/ |
H A D | alsa-mixer.h | 94 pa_alsa_path *path; member 140 * make up a path (see below). If the element is an enumeration or switch 143 pa_alsa_path *path; member 178 pa_alsa_path *path; member 201 pa_alsa_jack *pa_alsa_jack_new(pa_alsa_path *path, const char *mixer_device_name, const char *name, int index); 208 /* A path wraps a series of elements into a single entity which can be 251 /* A path set is simply a set of paths that are applicable to a 270 int pa_alsa_path_get_mute(pa_alsa_path *path, snd_mixer_t *m, bool *muted); 271 int pa_alsa_path_set_volume(pa_alsa_path *path, snd_mixer_t *m, const pa_channel_map *cm, pa_cvolume *v, bool deferred_volume, bool write_to_hw); 272 int pa_alsa_path_set_mute(pa_alsa_path *path, snd_mixer_ 403 pa_alsa_path *path; global() member [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
H A D | generate_gl_dispatch_table.py | 16 os.chdir(os.path.dirname(os.path.abspath(sys.argv[0]))) 18 sys.path.append('..') 272 gl_xml_path = os.path.join('..', '..', '..', '..', 'scripts', 'gl.xml') 408 script_name=os.path.basename(sys.argv[0]), 440 script_name=os.path.basename(sys.argv[0]), 486 script_name=os.path.basename(sys.argv[0]), 495 script_name=os.path.basename(sys.argv[0]),
|
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/ |
H A D | VulkanTester.cpp | 210 bool fileExists(const char *path) 212 std::ifstream f(path); 218 for(auto &path : getDriverPaths()) 220 if(fileExists(path)) 221 return path; 225 // On Linux-based OSes, the lib path may be resolved by dlopen 226 for(auto &path : getDriverPaths()) 228 auto lib = dlopen(path, RTLD_LAZY | RTLD_LOCAL); 234 return std::string{ libPath } + "/" + path;
|
/third_party/skia/src/ports/ |
H A D | SkOSFile_win.cpp | 23 bool sk_exists(const char *path, SkFILE_Flags flags) { in sk_exists() argument 31 return (0 == _access(path, mode)); in sk_exists() 195 SkOSFile::Iter::Iter(const char path[], const char suffix[]) { in Iter() argument 197 this->reset(path, suffix); in Iter() 209 void SkOSFile::Iter::reset(const char path[], const char suffix[]) { in reset() argument 215 if (nullptr == path) { in reset() 216 path = ""; in reset() 220 self.fPath16 = concat_to_16(path, suffix); in reset() 270 if (self.fPath16 == nullptr || *self.fPath16 == 0) { // check for no path in next()
|
/third_party/skia/third_party/externals/angle2/src/tests/restricted_traces/ |
H A D | gen_restricted_traces.py | 191 if os.path.exists(txt_file): 197 assert os.path.exists(json_file_name), '%s does not exist' % json_file_name 204 if os.path.exists(json_file_name): 210 if os.path.exists(prefix_cpp): 213 assert os.path.exists(prefix_cpp), '%s does not exist' % prefix_cpp 231 with open(os.path.join(trace, file)) as f: 248 return os.path.isfile('%s/%s.json' % (trace, trace)) 413 'script_name': os.path.basename(__file__),
|
/third_party/skia/third_party/externals/brotli/research/ |
H A D | dictionary_generator.cc | 61 static std::string readFile(const std::string& path) { in readFile() argument 62 std::ifstream file(path); in readFile() 90 static const char* fileName(const char* path) { in fileName() argument 91 const char* separator_position = strrchr(path, '/'); in fileName() 92 if (separator_position) path = separator_position + 1; in fileName() 93 separator_position = strrchr(path, '\\'); in fileName() 94 if (separator_position) path = separator_position + 1; in fileName() 95 return path; in fileName()
|
/third_party/python/Lib/test/libregrtest/ |
H A D | save_env.py | 54 'os.environ', 'sys.path', 'sys.path_hooks', '__import__', 134 return id(sys.path), sys.path, sys.path[:] 136 sys.path = saved_path[1] 137 sys.path[:] = saved_path[2] 260 return sorted(fn + ('/' if os.path.isdir(fn) else '') 265 if os.path.isfile(fn): 267 elif os.path.isdir(fn):
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | CachePruning.cpp | 44 /// Write a new timestamp file with the given path. This is used for the pruning 170 sys::path::append(TimestampFile, "llvmcache.timestamp"); in pruneCache() 210 sys::path::native(Path, CachePathNative); in pruneCache() 218 if (!sys::path::filename(File->path()).startswith("llvmcache-")) in pruneCache() 225 LLVM_DEBUG(dbgs() << "Ignore " << File->path() << " (can't stat)\n"); in pruneCache() 233 LLVM_DEBUG(dbgs() << "Remove " << File->path() << " (" in pruneCache() 236 sys::fs::remove(File->path()); in pruneCache() 242 FileInfos.insert({FileAccessTime, StatusOrErr->getSize(), File->path()}); in pruneCache()
|
/third_party/python/Lib/test/ |
H A D | test_largefile.py | 26 if os.path.exists(TESTFN): 156 def skip_no_disk_space(path, required): 161 if shutil.disk_usage(os.path.realpath(path)).free < required: 179 size = os.path.getsize(TESTFN) 181 self.assertEqual(os.path.getsize(TESTFN2), size) 234 size = os.path.getsize(TESTFN) 235 self.assertEqual(os.path.getsize(TESTFN2), size)
|
/third_party/skia/infra/bots/recipes/ |
H A D | perf_skottiewasm_lottieweb.py | 22 'recipe_engine/path', 87 checkout_root = api.path['start_dir'] 89 node_path = api.path['start_dir'].join('node', 'node', 'bin', 'node') 108 if api.path.basename(x) not in SKOTTIE_WASM_EXCLUDE] 116 if api.path.basename(x) not in LOTTIE_WEB_CANVAS_EXCLUDE] 120 if api.path.basename(x) not in LOTTIE_WEB_EXCLUDE] 135 env_prefixes = {'PATH': [api.path['start_dir'].join('node', 'node', 'bin')]} 140 output_dir = api.path.mkdtemp('g3_try') 143 lottie_filename = api.path.basename(lottie_file)
|
/foundation/arkui/ace_engine/test/tools/event_tree_to_graph/src/ |
H A D | content_parser.py | 31 def __init__(self, path): 32 self.file_path = path 50 if os.path.exists(self.file_path):
|
/foundation/multimedia/av_session/services/session/adapter/ |
H A D | params_config_operator.h | 34 bool IsExistDir(const std::string& path); 35 bool IsExistFile(const std::string& path); 36 bool IsExistFormat(const std::string& path);
|
/foundation/multimodalinput/input/tools/event_inject/test/ |
H A D | processing_finger_device_test.cpp | 43 const std::string path = "/data/json/Test_TransformFingerJsonDataToInputData.json"; in HWTEST_F() local 52 std::string jsonBuffer = ReadJsonFile(path); in HWTEST_F() 54 ASSERT_TRUE(false) << "Read Test_TransformFingerJsonDataToInputData failed" << path; in HWTEST_F()
|
H A D | processing_mouse_device_test.cpp | 43 const std::string path = "/data/json/Test_TransformMouseJsonDataToInputData.json"; in HWTEST_F() local 52 std::string jsonBuf = ReadJsonFile(path); in HWTEST_F() 54 ASSERT_TRUE(false) << "Read file failed" << path; in HWTEST_F()
|
H A D | processing_pad_device_test.cpp | 42 const std::string path = "/data/json/Test_TransformPadJsonDataToInputData.json"; in HWTEST_F() local 51 std::string jsonBuf = ReadJsonFile(path); in HWTEST_F() 53 ASSERT_TRUE(false) << "Read file failed" << path; in HWTEST_F()
|
/foundation/filemanagement/dfs_service/frameworks/native/cloudsync_kit_inner/include/ |
H A D | cloud_download_uri_manager.h | 29 int32_t AddPathToUri(const std::string& path, const std::string& uri); 31 std::string GetUri(const std::string& path); 32 void RemoveUri(const std::string& path);
|
/kernel/linux/linux-6.6/tools/perf/arch/powerpc/util/ |
H A D | header.c | 46 char path[PATH_MAX] = "/devices/hv_24x7/interface/"; in arch_get_runtimeparam() local 48 strcat(path, pm->aggr_mode == PerChip ? "sockets" : "coresperchip"); in arch_get_runtimeparam() 49 return sysfs__read_int(path, &count) < 0 ? 1 : count; in arch_get_runtimeparam()
|
/kernel/linux/linux-6.6/scripts/gdb/ |
H A D | vmlinux-gdb.py | 16 sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)) + "/scripts/gdb")
|
/kernel/liteos_a/testsuites/unittest/container/smoke/ |
H A D | It_net_container_003.cpp | 44 auto path = GenNetLinkPath(pid); in ReadlinkNet() local 47 int ret = lstat(path.data(), &sb); in ReadlinkNet() 59 auto nbytes = readlink(path.c_str(), buf.data(), bufsiz); in ReadlinkNet()
|
H A D | It_time_container_009.cpp | 43 auto path = GenTimeLinkPath(pid); in ReadlinkTime() local 46 int ret = lstat(path.data(), &sb); in ReadlinkTime() 58 auto nbytes = readlink(path.c_str(), buf.data(), bufsiz); in ReadlinkTime()
|
/kernel/liteos_a/testsuites/unittest/process/plimits/smoke/ |
H A D | It_process_plimits_devices_008.cpp | 47 std::string path = "/proc/plimits/test"; in ItProcessPlimitsDevices008() local 51 ret = mkdir(path.c_str(), S_IFDIR | mode); in ItProcessPlimitsDevices008() 63 ret = rmdir(path.c_str()); in ItProcessPlimitsDevices008()
|
H A D | It_process_plimits_devices_003.cpp | 47 std::string path = "/proc/plimits/test"; in ItProcessPlimitsDevices003() local 51 ret = mkdir(path.c_str(), S_IFDIR | mode); in ItProcessPlimitsDevices003() 63 ret = rmdir(path.c_str()); in ItProcessPlimitsDevices003()
|