/base/telephony/core_service/services/sim/src/ |
H A D | icc_file_controller.cpp | 108 std::string path = CheckRightPath(hd->filePath, hd->fileId); in ProcessRecordSize() local 130 msg.path = path; in ProcessRecordSize() 184 msg.path = ObtainElementFilePath(fileId); in ProcessBinarySize() 193 std::string path = IccFileController::NULLSTR; in ProcessReadRecord() local 208 path = CheckRightPath(hd->filePath, hd->fileId); in ProcessReadRecord() 222 msg.path = path; in ProcessReadRecord() 279 msg.path = ObtainElementFilePath(fileId); in ObtainBinaryFile() 298 msg.path in ObtainBinaryFile() 305 ObtainLinearFixedFile( int fileId, const std::string &path, int fileNum, const AppExecFwk::InnerEvent::Pointer &event) ObtainLinearFixedFile() argument 333 ObtainAllLinearFixedFile( int fileId, const std::string &path, const AppExecFwk::InnerEvent::Pointer &event) ObtainAllLinearFixedFile() argument 360 ObtainLinearFileSize( int fileId, const std::string &path, const AppExecFwk::InnerEvent::Pointer &event) ObtainLinearFileSize() argument 387 UpdateLinearFixedFile(int fileId, const std::string &path, int fileNum, std::string data, int dataLength, const std::string pin2, const AppExecFwk::InnerEvent::Pointer &onComplete) UpdateLinearFixedFile() argument 681 CheckRightPath(const std::string &path, int fileId) CheckRightPath() argument [all...] |
/third_party/eudev/src/shared/ |
H A D | util.c | 63 #include "path-util.h" 243 int unlink_noerrno(const char *path) { in unlink_noerrno() argument 247 r = unlink(path); in unlink_noerrno() 461 int rmdir_parents(const char *path, const char *stop) { in rmdir_parents() argument 465 assert(path); in rmdir_parents() 468 l = strlen(path); in rmdir_parents() 471 while (l > 0 && path[l-1] == '/') in rmdir_parents() 478 while (l > 0 && path[l-1] != '/') in rmdir_parents() 482 while (l > 0 && path[l-1] == '/') in rmdir_parents() 488 if (!(t = strndup(path, in rmdir_parents() 945 dirname_malloc(const char *path) dirname_malloc() argument 970 chmod_and_chown(const char *path, mode_t mode, uid_t uid, gid_t gid) chmod_and_chown() argument 988 touch_file(const char *path, bool parents, usec_t stamp, uid_t uid, gid_t gid, mode_t mode) touch_file() argument 1027 touch(const char *path) touch() argument 1132 fopen_temporary(const char *path, FILE **_f, char **_temp_path) fopen_temporary() argument 1742 is_dir(const char* path, bool follow) is_dir() argument [all...] |
/third_party/skia/src/gpu/v1/ |
H A D | Device.cpp | 249 void Device::onClipPath(const SkPath& path, SkClipOp op, bool aa) { in onClipPath() argument 251 if (fContext->priv().options().fAllPathsVolatile && !path.isVolatile()) { in onClipPath() 252 this->onClipPath(SkPath(path).setIsVolatile(true), op, aa); in onClipPath() 257 fClip.clipPath(this->localToDevice(), path, GrAA(aa), op); in onClipPath() 271 SkPath path; in onClipRegion() local 272 globalRgn.getBoundaryPath(&path); in onClipRegion() 273 fClip.clipPath(this->globalToDevice().asM33(), path, aa, op); in onClipRegion() 354 SkPath path; in drawPoints() local 355 path.setIsVolatile(true); in drawPoints() 356 path in drawPoints() 536 SkPath path; drawDRRect() local 556 SkPath path; drawRegion() local 833 drawShadow(const SkPath& path, const SkDrawShadowRec& rec) drawShadow() argument [all...] |
/third_party/vulkan-loader/tests/framework/ |
H A D | test_environment.cpp | 30 fs::path get_loader_path() { in get_loader_path() 31 auto loader_path = fs::path(FRAMEWORK_VULKAN_LIBRARY_PATH); in get_loader_path() 34 loader_path = fs::path(env_var_res); in get_loader_path() 350 TestICDHandle::TestICDHandle(fs::path const& icd_path) noexcept : icd_library(icd_path) { 362 fs::path TestICDHandle::get_icd_full_path() noexcept { return icd_library.lib_path; } 363 fs::path TestICDHandle::get_icd_manifest_path() noexcept { return manifest_path; } 364 fs::path TestICDHandle::get_shimmed_manifest_path() noexcept { return shimmed_manifest_path; } 367 TestLayerHandle::TestLayerHandle(fs::path const& layer_path) noexcept : layer_library(layer_path) { 379 fs::path TestLayerHandle::get_layer_full_path() noexcept { return layer_library.lib_path; } 380 fs::path TestLayerHandl [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | ICUBinary.java | 224 private final File path; field in ICUBinary.SingleDataFile 226 SingleDataFile(String item, File path) { in SingleDataFile() argument 228 this.path = path; in SingleDataFile() 232 return path.toString(); in toString() 238 return mapFile(path); in getData() 292 // Split the path and find files in each location. in addDataFilesFromPath() 306 String path = dataPath.substring(pathStart, pathLimit).trim(); in addDataFilesFromPath() 307 if (path.endsWith(File.separator)) { in addDataFilesFromPath() 308 path in addDataFilesFromPath() 518 mapFile(File path) mapFile() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | ICUBinary.java | 228 private final File path; field in ICUBinary.SingleDataFile 230 SingleDataFile(String item, File path) { in SingleDataFile() argument 232 this.path = path; in SingleDataFile() 236 return path.toString(); in toString() 242 return mapFile(path); in getData() 296 // Split the path and find files in each location. in addDataFilesFromPath() 310 String path = dataPath.substring(pathStart, pathLimit).trim(); in addDataFilesFromPath() 311 if (path.endsWith(File.separator)) { in addDataFilesFromPath() 312 path in addDataFilesFromPath() 523 mapFile(File path) mapFile() argument [all...] |
/third_party/libwebsockets/lib/roles/http/ |
H A D | cookie.c | 284 const char *ads, *path; in lws_cookie_write_nsc() local 303 path = stash->cis[CIS_PATH]; in lws_cookie_write_nsc() 306 path = lws_hdr_simple_ptr(wsi, _WSI_TOKEN_CLIENT_URI); in lws_cookie_write_nsc() 308 if (!ads || !path) in lws_cookie_write_nsc() 334 c->f[CE_PATH] = path; in lws_cookie_write_nsc() 335 c->l[CE_PATH] = strlen(path); in lws_cookie_write_nsc() 405 const char *domain, *path, *dl_domain, *dl_path, *po; in lws_cookie_attach_cookies() local 432 path = stash->cis[CIS_PATH]; in lws_cookie_attach_cookies() 434 if (!domain || !path) in lws_cookie_attach_cookies() 437 path_len = strlen(path); in lws_cookie_attach_cookies() [all...] |
/third_party/littlefs/scripts/ |
H A D | structs.py | 122 def openio(path, mode='r', buffering=-1): 124 if path == '-': 130 return open(path, mode, buffering) 142 '\s+(?P<path>[^\s]+)$') 150 for path in obj_paths: 154 # note objdump-path may contain extra args 155 cmd = objdump_path + ['--dwarf=rawline', path] 172 dirs[int(m.group('no'))] = m.group('path') 177 files[int(m.group('no'))] = os.path.join( 179 m.group('path')) [all...] |
/third_party/python/Tools/c-analyzer/c_common/ |
H A D | scriptutil.py | 6 import os.path namespace 22 filename = os.path.normpath(spec) 29 basename = os.path.basename(filename) 32 script = os.path.abspath(filename) 33 found = os.path.abspath(found) 34 if os.path.normcase(script) == os.path.normcase(found): 38 filename = os.path.abspath(filename) 47 filename = os.path.abspath(filename) 66 filename = os.path [all...] |
/third_party/python/Lib/distutils/ |
H A D | ccompiler.py | 46 # path, ie. no "cc -I -Idir1 -Idir2" or "cc -L -Ldir1 -Ldir2". 57 # library search path anyways. 269 strings). This does not affect any standard library search path 283 standard search path that the runtime linker may search by 347 ext = os.path.splitext(src)[1] 348 self.mkpath(os.path.dirname(obj)) 483 base, ext = os.path.splitext(source) 526 retaining their original path component. That is, "foo/bar.c" 539 directories to add to the default include file search path for this 806 library file 'lib' and return the full path t [all...] |
/third_party/skia/src/gpu/ops/ |
H A D | TriangulatingPathRenderer.cpp | 40 * This path renderer linearizes and decomposes the path into triangles using GrTriangulator, 49 // AA triangulated path case - which doesn't use the GrThreadSafeCache nor the VertexData object). 208 // include the path bounds. in TriangulatingPathOp() 228 SkPath path; in getPath() local 229 fShape.asPath(&path); in getPath() 230 return path; in getPath() 272 SkPath path; in Triangulate() local 273 shape.asPath(&path); in Triangulate() 275 return GrTriangulator::PathToTriangles(path, to in Triangulate() 348 SkPath path = this->getPath(); createAAMesh() local 548 const SkPath& path = GrTest::TestPath(random); GR_DRAW_OP_TEST_DEFINE() local 603 SkPath path; onCanDrawPath() local [all...] |
/third_party/python/Lib/test/ |
H A D | test_pdb.py | 1708 'PYTHONSAFEPATH changes default sys.path') 1997 with os_helper.temp_dir() as temp_dir, patch("os.path.expanduser"): 1998 rc_path = os.path.join(temp_dir, ".pdbrc") 1999 os.path.expanduser.return_value = rc_path 2250 '''When running `python foo.py` sys.path[0] is an absolute path. `python -m pdb foo.py` should behave the same''' 2253 print('sys.path[0] is', sys.path[0]) 2258 expected = f'(Pdb) sys.path[0] is {os.path [all...] |
/third_party/python/Lib/xmlrpc/ |
H A D | server.py | 244 def _marshaled_dispatch(self, data, dispatch_method = None, path = None): 430 # Class attribute listing the accessible path components; 461 return self.path in self.rpc_paths 473 # Check that the path is legal 505 data, getattr(self, '_dispatch', None), self.path 615 def add_dispatcher(self, path, dispatcher): 616 self.dispatchers[path] = dispatcher 619 def get_dispatcher(self, path): 620 return self.dispatchers[path] 622 def _marshaled_dispatch(self, data, dispatch_method = None, path [all...] |
/third_party/skia/fuzz/ |
H A D | FuzzMain.cpp | 33 static DEFINE_string2(bytes, b, "", "A path to a file or a directory. If a file, the " 73 static int fuzz_file(SkString path, SkString type); 75 static SkString try_auto_detect(SkString path, SkString* name); 110 "Usage: fuzz -t <type> -b <path/to/file> [-n api-to-fuzz]\n" in main() 111 " fuzz -b <path/to/file>\n" in main() 117 SkString path = SkString(FLAGS_bytes.isEmpty() ? argv[0] : FLAGS_bytes[0]); in main() local 122 if (!sk_isdir(path.c_str())) { in main() 124 int rv = fuzz_file(path, type); in main() 132 SkOSFile::Iter it(path.c_str()); in main() 134 SkString p = SkOSPath::Join(path in main() 146 fuzz_file(SkString path, SkString type) fuzz_file() argument 318 try_auto_detect(SkString path, SkString* name) try_auto_detect() argument [all...] |
/third_party/rust/crates/syn/codegen/src/ |
H A D | parse.rs | 7 use std::path::{Path, PathBuf}; 135 syn::Type::Path(TypePath { qself: None, path }) => { in introspect_type() 136 let last = path.segments.last().unwrap(); in introspect_type() 185 if mac.path.segments.last().unwrap().ident == "Token" => in introspect_type() 200 if !attr.path().is_ident("cfg") { in introspect_features() 228 if attr.path().is_ident("non_exhaustive") { in is_non_exhaustive() 237 if attr.path().is_ident("doc") && attr.parse_args::<parsing::kw::hidden>().is_ok() { in is_doc_hidden() 357 let path: Path = content.parse()?; in eos_variant() 358 Some(path) in eos_variant() 423 let path in parse_token_macro() [all...] |
/third_party/vk-gl-cts/external/vulkancts/scripts/ |
H A D | gen_framework.py | 33 scriptPath = os.path.join(os.path.dirname(__file__), "..", "..", "..", "scripts") 34 sys.path.insert(0, scriptPath) 39 sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", "..", "vulkan-docs", "src", "scripts")) 43 VULKAN_XML_DIR = os.path.join(os.path.dirname(__file__), "..", "..", "vulkan-docs", "src", "xml") 44 SCRIPTS_SRC_DIR = os.path.join(os.path [all...] |
H A D | gen_framework_sc.py | 33 scriptPath = os.path.join(os.path.dirname(__file__), "..", "..", "..", "scripts") 34 sys.path.insert(0, scriptPath) 39 VULKAN_HEADERS_INCLUDE_DIR = os.path.join(os.path.dirname(__file__), "..", "..", "vulkan-docs", "src", "include") 40 SCRIPTS_SRC_DIR = os.path.join(os.path.dirname(__file__), "src") 41 DEFAULT_OUTPUT_DIR = { "" : os.path.join(os.path.dirname(__file__), "..", "framework", "vulkan", "generated", "vulkan"), 42 "SC" : os.path [all...] |
/base/hiviewdfx/hiview/build/ |
H A D | gen_plugin_build.py | 22 from os.path import join 23 from os.path import realpath 30 if not os.path.exists(input_file): 42 file_dir = os.path.dirname(os.path.abspath(output_file)) 43 if not os.path.exists(file_dir): 52 build_path = os.path.split(realpath(__file__))[0] 58 gn_path = realpath(join(root_path, info['path'], "BUILD.gn")) 59 if not os.path.exists(gn_path): 65 so_items.append('\"%s:%s\",\n' % (info['path'], targe [all...] |
/base/global/resource_management/frameworks/resmgr/src/utils/ |
H A D | utils.cpp | 70 std::unique_ptr<uint8_t[]> Utils::LoadResourceFile(const std::string &path, size_t &len) in LoadResourceFile() argument 72 std::ifstream mediaStream(path, std::ios::binary); in LoadResourceFile() 430 bool Utils::endWithTail(const std::string& path, const std::string& tail) in endWithTail() argument 432 if (path.size() < tail.size()) { in endWithTail() 433 RESMGR_HILOGE(RESMGR_TAG, "the path is shorter than tail"); in endWithTail() 436 return path.compare(path.size() - tail.size(), tail.size(), tail) == 0; in endWithTail() 455 void Utils::CanonicalizePath(const char *path, char *outPath, size_t len) in CanonicalizePath() argument 460 if (path == nullptr) { in CanonicalizePath() 461 RESMGR_HILOGE(RESMGR_TAG, "path i in CanonicalizePath() [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_frei0r.c | 176 char *path = av_asprintf("%s%s%s", prefix, name, SLIBSUF); in load_path() local 177 if (!path) in load_path() 179 av_log(ctx, AV_LOG_DEBUG, "Looking for frei0r effect in '%s'.\n", path); in load_path() 180 *handle_ptr = dlopen(path, RTLD_NOW|RTLD_LOCAL); in load_path() 181 av_free(path); in load_path() 192 char *path; in frei0r_init() local 208 if (path = getenv_dup("FREI0R_PATH")) { in frei0r_init() 215 for (p = path; p = av_strtok(p, separator, &ptr); p = NULL) { in frei0r_init() 231 av_free(path); in frei0r_init() 235 if (!s->dl_handle && (path in frei0r_init() [all...] |
/third_party/alsa-lib/src/mixer/ |
H A D | simple_abst.c | 68 char *xlib, *path, errbuf[256]; in try_open() local 74 path = getenv("ALSA_MIXER_SIMPLE_MODULES"); in try_open() 75 if (!path) in try_open() 76 path = SO_PATH; in try_open() 77 xlib = malloc(strlen(lib) + strlen(path) + 1 + 1); in try_open() 80 strcpy(xlib, path); in try_open() 116 char *xlib, *path, errbuf[256]; in try_open_full() local 120 path = getenv("ALSA_MIXER_SIMPLE_MODULES"); in try_open_full() 121 if (!path) in try_open_full() 122 path in try_open_full() [all...] |
/third_party/curl/lib/ |
H A D | file.c | 155 if(file->path) { in file_connect() 164 result = Curl_urldecode(data->state.up.path, 0, &real_path, in file_connect() 172 the path, skip the slash. If we remove the initial in file_connect() 193 /* change path separators from '/' to '\\' for DOS, Windows and OS/2 */ in file_connect() 203 file->path = actual_path; in file_connect() 213 * A leading slash in an AmigaDOS path denotes the parent in file_connect() 216 * this first. Failing that, we treat the path as a real unix in file_connect() 217 * path, but only if the application was compiled with -lunix. in file_connect() 220 file->path = real_path; in file_connect() 225 /* Amiga absolute path */ in file_connect() [all...] |
/third_party/lzma/CPP/7zip/Common/ |
H A D | MultiOutStream.cpp | 214 FString path = GetFilePath(index);
in CloseStream_and_DeleteFile() local 215 path += Streams[index].Postfix;
in CloseStream_and_DeleteFile() 217 // if (NFind::DoesFileExist_Raw(path))
in CloseStream_and_DeleteFile() 218 if (!DeleteFileAlways(path))
in CloseStream_and_DeleteFile() 238 if (s.Postfix.IsEmpty()) // if Postfix is empty, the path is already final
in CloseStream_and_FinalRename() 240 const FString path = GetFilePath(index);
in CloseStream_and_FinalRename() local 241 FString tempPath = path;
in CloseStream_and_FinalRename() 251 if (!MyMoveFile(tempPath, path))
in CloseStream_and_FinalRename() 253 /* we clear CVolStream::Postfix. So we will not use Temp path
in CloseStream_and_FinalRename() 254 anymore for this stream, and we will work only with final path */
in CloseStream_and_FinalRename() 292 const FString path = GetFilePath(Streams.Size()); CreateNewStream() local 365 FString path = GetFilePath(streamIndex); ReOpenStream() local [all...] |
/third_party/jerryscript/tools/ |
H A D | run-tests.py | 28 OUTPUT_DIR = os.path.join(settings.PROJECT_DIR, 'build', 'tests') 275 build_dir_path = os.path.join(options.outdir, job.name) 278 install_dir_path = os.path.join(build_dir_path, 'local') 304 return os.path.join(build_dir_path, 'local', 'bin', 'jerry' + executable_extension) 368 test_case, _ = os.path.splitext(test_file) 369 test_case_path = os.path.join(settings.DEBUGGER_TESTS_DIR, test_case) 375 os.path.relpath(test_case_path, settings.PROJECT_DIR) 400 skip_list.append(os.path.join('es5.1', '')) 402 skip_list.append(os.path.join('es2015', '')) 432 skip_list.append(os.path [all...] |
/third_party/ltp/lib/ |
H A D | tst_kconfig.c | 32 const char *path = getenv("KCONFIG_PATH"); in kconfig_path() local 35 if (path) { in kconfig_path() 36 if (!access(path, F_OK)) in kconfig_path() 37 return path; in kconfig_path() 39 tst_res(TWARN, "KCONFIG_PATH='%s' does not exist", path); in kconfig_path() 47 /* Common install module path */ in kconfig_path() 82 const char *path = kconfig_path(path_buf, sizeof(path_buf)); in open_kconfig() local 84 if (!path) in open_kconfig() 87 tst_res(TINFO, "Parsing kernel config '%s'", path); in open_kconfig() 89 is_gzip = !!strstr(path, " in open_kconfig() [all...] |