/foundation/graphic/graphic_3d/lume/LumeEngine/src/io/ |
H A D | proxy_filesystem.cpp | 139 auto directory = fileManager_.OpenDirectory(destination + normalizedPath); in OpenDirectory() local 140 if (directory) { in OpenDirectory() 141 directories.push_back(move(directory)); in OpenDirectory() 158 auto directory = fileManager_.CreateDirectory(destination + normalizedPath); in CreateDirectory() local 159 if (directory) { in CreateDirectory() 160 return directory; in CreateDirectory() 204 auto directory = fileManager_.OpenDirectory(destination + path); in GetUriPaths() local 205 if (directory) { in GetUriPaths()
|
/third_party/mbedtls/tests/scripts/ |
H A D | test_config_script.py | 40 def output_file_name(directory, stem, extension): 41 return os.path.join(directory, 45 def cleanup_directory(directory): 48 pattern = output_file_name(directory, '*', extension) 53 def prepare_directory(directory): 54 """Create the output directory if it doesn't exist yet. 58 if os.path.exists(directory): 59 cleanup_directory(directory) 61 os.makedirs(directory) 123 # directory nam [all...] |
/third_party/skia/third_party/externals/spirv-tools/test/tools/ |
H A D | expect.py | 119 all_files = os.listdir(status.directory) 121 if all([f.startswith(status.directory) for f in input_files]): 122 all_files = [os.path.join(status.directory, f) for f in all_files] 252 os.path.join(status.directory, object_filename)) 267 os.path.join(status.directory, object_filename), 0x10300) 282 os.path.join(status.directory, object_filename), 0x10500) 300 obj_file = str(os.path.join(status.directory, object_filename)) 310 cwd=status.directory) 333 os.path.join(status.directory, object_filename)) 345 target_filename = os.path.join(status.directory, sel [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/tools/ |
H A D | expect.py | 119 all_files = os.listdir(status.directory) 121 if all([f.startswith(status.directory) for f in input_files]): 122 all_files = [os.path.join(status.directory, f) for f in all_files] 252 os.path.join(status.directory, object_filename)) 267 os.path.join(status.directory, object_filename), 0x10300) 282 os.path.join(status.directory, object_filename), 0x10500) 300 obj_file = str(os.path.join(status.directory, object_filename)) 310 cwd=status.directory) 333 os.path.join(status.directory, object_filename)) 345 target_filename = os.path.join(status.directory, sel [all...] |
/third_party/vulkan-loader/scripts/ |
H A D | loader_genvk.py | 43 # Returns a directory of [ generator function, generator options ] indexed 76 # Output target directory 77 directory = args.directory 135 directory = directory, 159 directory = directory, 183 directory = directory, [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
H A D | platform_specific.cpp | 116 int MakeDBDirectory(const std::string &directory) in MakeDBDirectory() argument 118 int errCode = mkdir(directory.c_str()); in MakeDBDirectory() 121 std::string str = directory.length() == 0 ? "empty directory path" : in MakeDBDirectory() 122 directory.substr(0, directory.length() / 3) + "*****" + directory.substr((2 * directory.length()) / 3); in MakeDBDirectory() 123 LOGE("[MakeDir] Make directory fail:%d, directory pat in MakeDBDirectory() 129 RemoveDBDirectory(const std::string &directory) RemoveDBDirectory() argument [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/kv/ |
H A D | kvdb_utils.cpp | 25 void KvDBUtils::GetStoreDirectory(std::string &directory, const std::string &identifierName) in GetStoreDirectory() argument 27 if (!directory.empty() && directory.back() != '/') { in GetStoreDirectory() 28 directory += "/"; in GetStoreDirectory() 30 directory += identifierName; in GetStoreDirectory()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/config/src/model/ |
H A D | global_config.cpp | 28 SetValue(node[GET_NAME(directory)], directory); in Marshal() 44 GetValue(node, GET_NAME(directory), directory); in Unmarshal() 56 delete directory; in ~GlobalConfig()
|
/third_party/ffmpeg/tools/ |
H A D | target_dec_fate.sh | 30 Usage: ./target_dec_fate.sh <directory> [<test to run>] 32 directory the directory into which sample files will be downloaded 35 script will not download samples which are already in the directory. So you 42 test ! -d "$1" && echo $1 is not an accessable directory && show_help
|
/third_party/node/deps/openssl/openssl/crypto/ |
H A D | LPdir_unix.c | 85 const char *LP_find_file(LP_DIR_CTX **ctx, const char *directory) in LP_find_file() argument 89 if (ctx == NULL || directory == NULL) { in LP_find_file() 105 char c = directory[strlen(directory) - 1]; in LP_find_file() 112 (*ctx)->dir = opendir(directory); in LP_find_file()
|
H A D | LPdir_vms.c | 69 const char *LP_find_file(LP_DIR_CTX **ctx, const char *directory) in LP_find_file() argument 89 if (ctx == NULL || directory == NULL) { in LP_find_file() 96 size_t filespeclen = strlen(directory); in LP_find_file() 104 /* MUST be a VMS directory specification! Let's estimate if it is. */ in LP_find_file() 105 if (directory[filespeclen - 1] != ']' in LP_find_file() 106 && directory[filespeclen - 1] != '>' in LP_find_file() 107 && directory[filespeclen - 1] != ':') { in LP_find_file() 126 strcpy((*ctx)->filespec, directory); in LP_find_file() 166 * Quick, cheap and dirty way to discard any device and directory, since in LP_find_file()
|
/third_party/openssl/crypto/ |
H A D | LPdir_unix.c | 85 const char *LP_find_file(LP_DIR_CTX **ctx, const char *directory) in LP_find_file() argument 89 if (ctx == NULL || directory == NULL) { in LP_find_file() 105 char c = directory[strlen(directory) - 1]; in LP_find_file() 112 (*ctx)->dir = opendir(directory); in LP_find_file()
|
H A D | LPdir_vms.c | 69 const char *LP_find_file(LP_DIR_CTX **ctx, const char *directory) in LP_find_file() argument 89 if (ctx == NULL || directory == NULL) { in LP_find_file() 96 size_t filespeclen = strlen(directory); in LP_find_file() 104 /* MUST be a VMS directory specification! Let's estimate if it is. */ in LP_find_file() 105 if (directory[filespeclen - 1] != ']' in LP_find_file() 106 && directory[filespeclen - 1] != '>' in LP_find_file() 107 && directory[filespeclen - 1] != ':') { in LP_find_file() 126 strcpy((*ctx)->filespec, directory); in LP_find_file() 166 * Quick, cheap and dirty way to discard any device and directory, since in LP_find_file()
|
/third_party/python/Lib/distutils/command/ |
H A D | clean.py | 17 "base build directory (default: 'build.build-base')"), 19 "build directory for all modules (default: 'build.build-lib')"), 21 "temporary build directory (default: 'build.build-temp')"), 23 "build directory for scripts (default: 'build.build-scripts')"), 25 "temporary directory for built distributions"), 50 # remove the build/temp.<plat> directory (unless it's already 60 for directory in (self.build_lib, 63 if os.path.exists(directory): 64 remove_tree(directory, dry_run=self.dry_run) 67 directory) [all...] |
/kernel/linux/linux-6.6/scripts/clang-tools/ |
H A D | gen_compile_commands.py | 24 # The tools/ directory adopts a different build system, and produces .cmd 33 directory: The work directory where the objects were built. 41 directory_help = ('specify the output directory used for the kernel build ' 42 '(defaults to the working directory)') 43 parser.add_argument('-d', '--directory', type=str, default='.', 61 'If nothing is specified, the current directory is searched') 67 os.path.abspath(args.directory), 70 args.paths if len(args.paths) > 0 else [args.directory]) 73 def cmdfiles_in_dir(directory) [all...] |
/third_party/glslang/ |
H A D | update_glslang_sources.py | 38 def command_output(cmd, directory, fail_ok=False): 39 """Runs a command in a directory and returns its standard output stream. 46 print('In {d}: {cmd}'.format(d=directory, cmd=cmd)) 48 cwd=directory, 52 raise RuntimeError('Failed to run {} in {}'.format(cmd, directory)) 58 def command_retval(cmd, directory): 59 """Runs a command in a directory and returns its return value. 64 cwd=directory, 131 help="Set target directory for Glslang source root. Default is \'.\'.") 140 print('Change directory t [all...] |
/third_party/spirv-tools/utils/ |
H A D | update_build_version.py | 26 # git commit information for the CHANGES file's directory. The commit 46 def mkdir_p(directory): 47 """Make the directory, and all its ancestors as required. Any of the 50 if directory == "": 51 # We're being asked to make the current directory. 55 os.makedirs(directory) 57 if e.errno == errno.EEXIST and os.path.isdir(directory): 62 def command_output(cmd, directory): 63 """Runs a command in a directory and returns its standard output stream. 71 cwd=directory, [all...] |
/third_party/icu/icu4c/source/test/perf/leperf/ |
H A D | FontObject.cpp | 21 : directory(NULL), numTables(0), searchRange(0),entrySelector(0), in FontObject() 44 directory = (SFNTDirectory *) new char[dirSize]; in FontObject() 47 fread(directory, sizeof(char), dirSize, file); in FontObject() 55 delete[] directory; in ~FontObject() 71 if (SWAPL(directory->tableDirectory[rangeShift].tag) <= tag) { in findTable() 78 if (SWAPL(directory->tableDirectory[table + probe].tag) <= tag) { in findTable() 83 if (SWAPL(directory->tableDirectory[table].tag) == tag) { in findTable() 84 return &directory->tableDirectory[table]; in findTable()
|
/third_party/icu/icu4c/source/test/letest/ |
H A D | FontObject.cpp | 17 : directory(NULL), numTables(0), searchRange(0),entrySelector(0), in FontObject() 40 directory = (SFNTDirectory *) new char[dirSize]; in FontObject() 43 fread(directory, sizeof(char), dirSize, file); in FontObject() 51 delete[] directory; in ~FontObject() 67 if (SWAPL(directory->tableDirectory[rangeShift].tag) <= tag) { in findTable() 74 if (SWAPL(directory->tableDirectory[table + probe].tag) <= tag) { in findTable() 79 if (SWAPL(directory->tableDirectory[table].tag) == tag) { in findTable() 80 return &directory->tableDirectory[table]; in findTable()
|
/third_party/node/deps/v8/third_party/jinja2/ |
H A D | bccache.py | 105 def __init__(self, directory): 106 self.directory = directory 109 filename = path.join(self.directory, bucket.key) 115 filename = path.join(self.directory, bucket.key) 174 two arguments: The directory where the cache items are stored and a 177 If no directory is specified a default cache directory is selected. On 178 Windows the user's temp directory is used, on UNIX systems a directory [all...] |
/third_party/node/tools/inspector_protocol/jinja2/ |
H A D | bccache.py | 128 def __init__(self, directory): 129 self.directory = directory 132 filename = path.join(self.directory, bucket.key) 138 filename = path.join(self.directory, bucket.key) 197 two arguments: The directory where the cache items are stored and a 200 If no directory is specified a default cache directory is selected. On 201 Windows the user's temp directory is used, on UNIX systems a directory [all...] |
/third_party/rust/crates/clang-sys/build/ |
H A D | dynamic.rs | 145 for (directory, filename) in common::search_libclang_directories(&files, "LIBCLANG_PATH") { in search_libclang_directories() 146 let path = directory.join(&filename); in search_libclang_directories() 150 valid.push((directory, filename, version)) in search_libclang_directories() 175 /// Finds the "best" `libclang` shared library and returns the directory and 211 let (directory, filename) = find(false).unwrap(); in link() 212 println!("cargo:rustc-link-search={}", directory.display()); in link() 217 let lib = if !directory.ends_with("bin") { in link() 218 directory in link() 220 directory.parent().unwrap().join("lib") in link()
|
/third_party/skia/third_party/externals/jinja2/ |
H A D | bccache.py | 105 def __init__(self, directory): 106 self.directory = directory 109 filename = path.join(self.directory, bucket.key) 115 filename = path.join(self.directory, bucket.key) 174 two arguments: The directory where the cache items are stored and a 177 If no directory is specified a default cache directory is selected. On 178 Windows the user's temp directory is used, on UNIX systems a directory [all...] |
/third_party/node/deps/v8/src/d8/ |
H A D | d8-posix.cc | 494 String::Utf8Value directory(args.GetIsolate(), args[0]); in ChangeDirectory() 495 if (*directory == nullptr) { in ChangeDirectory() 500 if (chdir(*directory) != 0) { in ChangeDirectory() 522 static bool CheckItsADirectory(Isolate* isolate, char* directory) { in CheckItsADirectory() argument 524 int stat_result = stat(directory, &stat_buf); in CheckItsADirectory() 535 // error if the directory exists already. 536 static bool mkdirp(Isolate* isolate, char* directory, mode_t mask) { in mkdirp() argument 537 int result = mkdir(directory, mask); in mkdirp() 540 return CheckItsADirectory(isolate, directory); in mkdirp() 542 char* last_slash = strrchr(directory, '/'); in mkdirp() [all...] |
/third_party/skia/third_party/externals/spirv-tools/utils/ |
H A D | generate_registry_tables.py | 22 def mkdir_p(directory): 23 """Make the directory, and all its ancestors as required. Any of the 28 if directory == "": 29 # We're being asked to make the current directory. 33 os.makedirs(directory) 35 if e.errno == errno.EEXIST and os.path.isdir(directory):
|