/third_party/node/test/parallel/ |
H A D | test-fs-rmdir-recursive.js | 12 'In future versions of Node.js, fs.rmdir(path, { recursive: true }) ' + 13 'will be removed. Use fs.rm(path, { recursive: true }) instead', 20 const nextDirPath = (name = 'rmdir-recursive') => 24 fs.mkdirSync(dirname, { recursive: true }); 60 { recursive: true } 73 // Removal should fail without the recursive option. 77 // Removal should fail without the recursive option set to true. 78 fs.rmdir(dir, { recursive: false }, common.mustCall((err) => { 82 fs.rmdir(dir, { recursive: true }, common.mustSucceed(() => { 83 // An error should occur if recursive an 164 recursive: false global() property [all...] |
H A D | test-fs-mkdir.js | 108 fs.mkdirSync(pathname, common.mustNotMutateObjectDeep({ recursive: true })); 119 fs.mkdirSync(pathname, { recursive: true }); 121 fs.mkdirSync(pathname, { recursive: true }); 131 fs.mkdirSync(pathname, { recursive: true }); 145 () => { fs.mkdirSync(pathname, common.mustNotMutateObjectDeep({ recursive: true })); }, 164 () => { fs.mkdirSync(pathname, { recursive: true }); }, 179 fs.mkdir(pathname, common.mustNotMutateObjectDeep({ recursive: true }), common.mustCall(function(err) { 192 fs.mkdir(pathname, common.mustNotMutateObjectDeep({ recursive: true }), common.mustCall((err) => { 206 fs.mkdir(pathname, common.mustNotMutateObjectDeep({ recursive: true }), common.mustCall((err) => { 226 () => { fs.mkdirSync('X', common.mustNotMutateObjectDeep({ recursive [all...] |
H A D | test-fs-rm.js | 29 fs.mkdirSync(dirname, common.mustNotMutateObjectDeep({ recursive: true })); 74 { recursive: true } 87 // Removal should fail without the recursive option. 91 // Removal should fail without the recursive option set to true. 92 fs.rm(dir, common.mustNotMutateObjectDeep({ recursive: false }), common.mustCall((err) => { 96 fs.rm(dir, common.mustNotMutateObjectDeep({ recursive: true }), common.mustSucceed(() => { 132 common.mustNotMutateObjectDeep({ recursive: true }), 141 fs.rm(filePath, common.mustNotMutateObjectDeep({ recursive: true }), common.mustCall((err) => { 155 fs.rm(validLink, common.mustNotMutateObjectDeep({ recursive: true }), common.mustCall((err) => { 168 fs.rm(invalidLink, common.mustNotMutateObjectDeep({ recursive [all...] |
H A D | test-fs-promises.js | 390 await mkdir(dir, { recursive: true }); 401 mkdir(dir, { recursive: true }), 418 mkdir(dir, { recursive: true }), 431 await mkdir(dir, { recursive: true }); 439 await mkdir(dir, { recursive: true }); 444 // fs.mkdirp requires the recursive option to be of type boolean. 448 ['', 1, {}, [], null, Symbol('test'), () => {}].forEach((recursive) => { 450 // mkdir() expects to get a boolean value for options.recursive. 451 async () => mkdir(dir, { recursive }),
|
/third_party/typescript/tests/baselines/reference/ |
H A D | returnInfiniteIntersection.js | 2 function recursive() { function 3 let x = <T>(subkey: T) => recursive(); 7 let result = recursive()(1) 11 function recursive() {
12 var x = function (subkey) { return recursive(); };
15 var result = recursive()(1);
|
/third_party/python/Lib/ |
H A D | glob.py | 13 def glob(pathname, *, root_dir=None, dir_fd=None, recursive=False, 25 If `recursive` is true, the pattern '**' will match any files and 28 return list(iglob(pathname, root_dir=root_dir, dir_fd=dir_fd, recursive=recursive, 31 def iglob(pathname, *, root_dir=None, dir_fd=None, recursive=False, 40 If recursive is true, the pattern '**' will match any files and 43 sys.audit("glob.glob", pathname, recursive) 44 sys.audit("glob.glob/2", pathname, recursive, root_dir, dir_fd) 49 it = _iglob(pathname, root_dir, dir_fd, recursive, False, 51 if not pathname or recursive an [all...] |
H A D | imghdr.py | 140 recursive = 0 143 recursive = 1 146 testall(sys.argv[1:], recursive, 1) 148 testall(['.'], recursive, 1) 153 def testall(list, recursive, toplevel): 159 if recursive or toplevel: 163 testall(names, recursive, 0)
|
H A D | sndhdr.py | 236 recursive = 0 239 recursive = 1 242 testall(sys.argv[1:], recursive, 1) 244 testall(['.'], recursive, 1) 249 def testall(list, recursive, toplevel): 255 if recursive or toplevel: 259 testall(names, recursive, 0)
|
/third_party/gn/src/base/files/ |
H A D | file_enumerator_posix.cc | 59 bool recursive, in FileEnumerator() 62 recursive, in FileEnumerator() 68 bool recursive, in FileEnumerator() 72 recursive, in FileEnumerator() 78 bool recursive, in FileEnumerator() 84 recursive_(recursive), in FileEnumerator() 88 // INCLUDE_DOT_DOT must not be specified if recursive. in FileEnumerator() 89 DCHECK(!(recursive && (INCLUDE_DOT_DOT & file_type_))); in FileEnumerator() 133 // recursive (possible directory will not be added to pending paths) - in Next() 58 FileEnumerator(const FilePath& root_path, bool recursive, int file_type) FileEnumerator() argument 67 FileEnumerator(const FilePath& root_path, bool recursive, int file_type, const FilePath::StringType& pattern) FileEnumerator() argument 77 FileEnumerator(const FilePath& root_path, bool recursive, int file_type, const FilePath::StringType& pattern, FolderSearchPolicy folder_search_policy) FileEnumerator() argument
|
H A D | file_enumerator_win.cc | 65 bool recursive, in FileEnumerator() 68 recursive, in FileEnumerator() 74 bool recursive, in FileEnumerator() 78 recursive, in FileEnumerator() 84 bool recursive, in FileEnumerator() 88 : recursive_(recursive), in FileEnumerator() 92 // INCLUDE_DOT_DOT must not be specified if recursive. in FileEnumerator() 93 DCHECK(!(recursive && (INCLUDE_DOT_DOT & file_type_))); in FileEnumerator() 161 // Check if directory should be processed recursive. in Next() 163 // If |cur_file| is a directory, and we are doing recursive searchin in Next() 64 FileEnumerator(const FilePath& root_path, bool recursive, int file_type) FileEnumerator() argument 73 FileEnumerator(const FilePath& root_path, bool recursive, int file_type, const FilePath::StringType& pattern) FileEnumerator() argument 83 FileEnumerator(const FilePath& root_path, bool recursive, int file_type, const FilePath::StringType& pattern, FolderSearchPolicy folder_search_policy) FileEnumerator() argument [all...] |
H A D | file_enumerator.h | 99 // If |recursive| is true, this will enumerate all matches in any 113 FileEnumerator(const FilePath& root_path, bool recursive, int file_type); 115 bool recursive, 119 bool recursive,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
H A D | Mutex.h | 32 /// Initializes the lock but doesn't acquire it. if \p recursive is set 33 /// to false, the lock will not be recursive which makes it cheaper but 37 explicit MutexImpl(bool recursive = true); 94 bool recursive; member in llvm::sys::SmartMutex 97 impl(rec), acquired(0), recursive(rec) { } in SmartMutex() 106 assert((recursive || acquired == 0) && "Lock already acquired!!"); in lock() 119 assert(((recursive && acquired) || (acquired == 1)) && in unlock()
|
/third_party/node/test/sequential/ |
H A D | test-fs-readdir-recursive.js | 145 // readdirSync { recursive } 147 const result = fs.readdirSync(readdirDir, { recursive: true }); 151 // readdirSync { recursive, withFileTypes } 153 const result = fs.readdirSync(readdirDir, { recursive: true, withFileTypes: true }); 159 // readdir { recursive } callback 161 fs.readdir(readdirDir, { recursive: true }, 167 // Readdir { recursive, withFileTypes } callback 169 fs.readdir(readdirDir, { recursive: true, withFileTypes: true }, 177 // fs.promises.readdir { recursive } 180 const result = await fs.promises.readdir(readdirDir, { recursive [all...] |
H A D | test-fs-opendir-recursive.js | 155 const dir = fs.opendirSync(testDir, { recursive: true }); 161 fs.opendir(testDir, { recursive: true }, common.mustSucceed((dir) => { 191 const dir = fs.opendirSync(testDir, { recursive: true }); 199 fs.opendir(testDir, { recursive: true }, common.mustSucceed((dir) => { 211 const dir = await fsPromises.opendir(testDir, { recursive: true });
|
/third_party/python/Lib/test/ |
H A D | test_glob.py | 253 return self.glob(*parts, recursive=True, **kwargs) 312 eq(glob.glob('**', recursive=True), [join(*i) for i in full]) 313 eq(glob.glob(join('**', ''), recursive=True), 315 eq(glob.glob(join('**', '*'), recursive=True), 317 eq(glob.glob(join(os.curdir, '**'), recursive=True), 319 eq(glob.glob(join(os.curdir, '**', ''), recursive=True), 321 eq(glob.glob(join(os.curdir, '**', '*'), recursive=True), 323 eq(glob.glob(join('**','zz*F'), recursive=True), 325 eq(glob.glob('**zz*F', recursive=True), []) 329 eq(glob.glob(join('**', 'EF'), recursive [all...] |
/third_party/node/deps/npm/test/fixtures/ |
H A D | sandbox.js | 191 return rm(this[_dirs].temp, { recursive: true, force: true }).catch(() => null) 229 mkdir(this.project, { recursive: true }), 230 mkdir(this.home, { recursive: true }), 231 mkdir(this.global, { recursive: true }), 282 mkdir(this.project, { recursive: true }), 283 mkdir(this.home, { recursive: true }), 284 mkdir(this.global, { recursive: true }),
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | mutex-posix.c | 42 pa_mutex* pa_mutex_new(bool recursive, bool inherit_priority) { in pa_mutex_new() argument 51 if (recursive) in pa_mutex_new() 149 pa_mutex* pa_static_mutex_get(pa_static_mutex *s, bool recursive, bool inherit_priority) { in pa_static_mutex_get() argument 159 m = pa_mutex_new(recursive, inherit_priority); in pa_static_mutex_get()
|
H A D | mutex.h | 33 pa_mutex* pa_mutex_new(bool recursive, bool inherit_priority); 55 pa_mutex* pa_static_mutex_get(pa_static_mutex *m, bool recursive, bool inherit_priority);
|
H A D | mutex-win32.c | 39 pa_mutex* pa_mutex_new(bool recursive, bool inherit_priority) { in pa_mutex_new() argument 134 pa_mutex* pa_static_mutex_get(pa_static_mutex *s, bool recursive, bool inherit_priority) { in pa_static_mutex_get() argument 144 m = pa_mutex_new(recursive, inherit_priority); in pa_static_mutex_get()
|
/third_party/node/lib/internal/fs/ |
H A D | watchers.js | 230 recursive, 244 recursive, 310 recursive = false, 316 validateBoolean(recursive, 'options.recursive'); 355 const err = handle.start(path, persistent, recursive, encoding);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
H A D | Mutex.cpp | 26 MutexImpl::MutexImpl( bool recursive) { } in MutexImpl() argument 44 MutexImpl::MutexImpl( bool recursive) 56 // Initialize the mutex as a recursive mutex, if requested, or normal 58 int kind = ( recursive ? PTHREAD_MUTEX_RECURSIVE : PTHREAD_MUTEX_NORMAL );
|
/third_party/node/benchmark/ |
H A D | common.js | 127 function recursive(keyIndex, prevConfig) { function 145 recursive(keyIndex + 1, currConfig); 161 recursive(0, {}); 200 const recursive = (queueIndex) => { 229 recursive(queueIndex + 1); 234 recursive(0);
|
/third_party/node/deps/openssl/openssl/apps/ |
H A D | storeutl.c | 21 int text, int noout, int recursive, int indent, BIO *out, 72 int ret = 1, noout = 0, text = 0, recursive = 0; in storeutl_main() local 114 recursive = 1; in storeutl_main() 321 text, noout, recursive, 0, out, prog, libctx); in storeutl_main() 352 int text, int noout, int recursive, int indent, BIO *out, in process() 398 if (recursive) in process() 438 if (recursive) { in process() 442 text, noout, recursive, indent + 2, out, prog, in process() 350 process(const char *uri, const UI_METHOD *uimeth, PW_CB_DATA *uidata, int expected, int criterion, OSSL_STORE_SEARCH *search, int text, int noout, int recursive, int indent, BIO *out, const char *prog, OSSL_LIB_CTX *libctx) process() argument
|
/third_party/openssl/apps/ |
H A D | storeutl.c | 21 int text, int noout, int recursive, int indent, BIO *out, 72 int ret = 1, noout = 0, text = 0, recursive = 0; in storeutl_main() local 114 recursive = 1; in storeutl_main() 321 text, noout, recursive, 0, out, prog, libctx); in storeutl_main() 352 int text, int noout, int recursive, int indent, BIO *out, in process() 398 if (recursive) in process() 438 if (recursive) { in process() 442 text, noout, recursive, indent + 2, out, prog, in process() 350 process(const char *uri, const UI_METHOD *uimeth, PW_CB_DATA *uidata, int expected, int criterion, OSSL_STORE_SEARCH *search, int text, int noout, int recursive, int indent, BIO *out, const char *prog, OSSL_LIB_CTX *libctx) process() argument
|
/third_party/skia/infra/bots/recipe_modules/docker/ |
H A D | api.py | 16 def _chmod(self, filepath, mode, recursive=False): 18 if recursive: 75 self._chmod(elem, 'a+r', recursive=True)
|