/external/toybox/toys/posix/ |
D | cp.c | 112 int (*callback)(struct dirtree *try); 126 static int cp_node(struct dirtree *try) in cp_node() argument 128 int fdout = -1, cfd = try->parent ? try->parent->extra : AT_FDCWD, in cp_node() 129 tfd = dirtree_parentfd(try); in cp_node() 131 char *catch = try->parent ? try->name : TT.destname, *err = "%s"; in cp_node() 134 if (!dirtree_notdotdot(try)) return 0; in cp_node() 137 if (S_ISDIR(try->st.st_mode) && try->again) { in cp_node() 138 fdout = try->extra; in cp_node() 143 if (S_ISLNK(try->st.st_mode) && (flags & FLAG_d)) flags |= FLAG_r; in cp_node() 147 if ((TT.top.st_dev == try->st.st_dev && TT.top.st_ino == try->st.st_ino in cp_node() [all …]
|
D | rm.c | 26 static int do_rm(struct dirtree *try) in do_rm() argument 28 int fd = dirtree_parentfd(try), flags = toys.optflags; in do_rm() 29 int dir = S_ISDIR(try->st.st_mode), or = 0, using = 0; in do_rm() 32 if (isdotdot(try->name)) return 0; in do_rm() 40 && (!S_ISLNK(try->st.st_mode) && faccessat(fd, try->name, W_OK, 0))) or++; in do_rm() 41 if (!(dir && try->again) && ((or && isatty(0)) || (flags & FLAG_i))) { in do_rm() 42 char *s = dirtree_path(try, 0); in do_rm() 54 if (faccessat(fd, try->name, R_OK, 0)) { in do_rm() 55 if (toys.optflags & FLAG_f) wfchmodat(fd, try->name, 0700); in do_rm() 58 if (!try->again) return DIRTREE_COMEAGAIN; in do_rm() [all …]
|
D | logger.c | 35 int try, i, matchlen = 0, found = -1, ambiguous = 1; in arrayfind() local 37 for (try = 0; try<len; try++) { in arrayfind() 40 if (matchlen<i) found = try, ambiguous = 0; in arrayfind() 42 if (!names[try][i]) return try; in arrayfind() 45 if (!names[try][i]) break; in arrayfind() 46 if (toupper(str[i]) != toupper(names[try][i])) break; in arrayfind()
|
D | chmod.c | 42 static int do_chmod(struct dirtree *try) 46 if (!dirtree_notdotdot(try)) return 0; 48 mode = string_to_mode(TT.mode, try->st.st_mode); 50 char *s = dirtree_path(try, 0); 54 wfchmodat(dirtree_parentfd(try), try->name, mode);
|
D | ln.c | 49 char *oldnew, *try = toys.optargs[i]; in ln_main() local 51 if (S_ISDIR(buf.st_mode)) new = xmprintf("%s/%s", dest, basename(try)); in ln_main() 67 rc = (toys.optflags & FLAG_s) ? symlink(try, new) : link(try, new); in ln_main() 82 (toys.optflags & FLAG_s) ? "symbolic" : "hard", try, new); in ln_main() 84 if (toys.optflags & FLAG_v) fprintf(stderr, "'%s' -> '%s'\n", new, try); in ln_main()
|
/external/vboot_reference/utility/ |
D | tpm-nvsize | 13 try=$high 18 if /usr/bin/tpmc definespace 0xf004 $(printf "0x%x" $try) 0x1 \ 21 if [ $try -eq $low ]; then 24 elif [ $try -lt $high ]; then 25 low=$try 26 try=$(( ( $high + $low ) / 2 )) 29 low=$try 30 try=$(( $try * 2 )) 31 high=$try 39 echo please correct this condition and try again [all …]
|
/external/toybox/toys/other/ |
D | shred.c | 38 char **try; local 45 for (try = toys.optargs; *try; try++) { 47 int fd = open(*try, O_RDWR), iter = 0, throw; 51 chmod(*try, 0600); 52 fd = open(*try, O_RDWR); 55 perror_msg_raw(*try); 62 error_msg("%s: needs -s", *try); 82 perror_msg_raw(*try); 95 if (throw != writeall(fd, toybuf, throw)) perror_msg_raw(*try); 99 if (unlink(*try)) perror_msg("unlink '%s'", *try);
|
/external/clang/test/Parser/ |
D | objc-try-catch-1.m | 16 @try { 26 @try { 42 @try { // expected-error {{@try statement without a @catch and @finally clause}} 50 @try {}// expected-error {{@try statement without a @catch and @finally clause}} 56 @try {}// expected-error {{@try statement without a @catch and @finally clause}} 57 @try {} 62 @try { 65 @try {
|
/external/e2fsprogs/misc/ |
D | badblocks.c | 367 static int do_read (int dev, unsigned char * buffer, int try, int block_size, in do_read() argument 376 printf("do_read: block %d, try %d\n", current_block, try); in do_read() 378 set_o_direct(dev, buffer, try * block_size, in do_read() 392 got = read (dev, buffer, try * block_size); in do_read() 400 if (d_flag && got == try) { in do_read() 443 static int do_write(int dev, unsigned char * buffer, int try, int block_size, in do_write() argument 449 printf("do_write: block %lu, try %d\n", current_block, try); in do_write() 451 set_o_direct(dev, buffer, try * block_size, in do_write() 463 got = write (dev, buffer, try * block_size); in do_write() 493 int try; in test_ro() local [all …]
|
/external/clang/test/Rewriter/ |
D | finally.m | 4 @try { 5 …printf("executing try"); // expected-warning{{implicitly declaring library function 'printf' with … 7 …rning{{rewriter doesn't support user-specified control flow semantics for @try/@finally (code may … 12 @try { 13 printf("executing try"); 20 @try { 21 printf("executing try"); 36 @try {
|
D | rewrite-modern-try-catch-finally.m | 12 @try { 17 @try { 18 printf("executing try"); 25 @try { 26 printf("executing try"); 34 @try { 53 @try {
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/ |
D | funclet-layout.ll | 28 catchret from %cp to label %try.cont 30 try.cont: 39 ; The entry funclet contains %entry and %try.cont 41 ; CHECK: # %try.cont 70 catchret from %1 to label %try.cont 72 try.cont: ; preds = %catch.3 73 catchret from %0 to label %try.cont.5 75 try.cont.5: ; preds = %try.cont 84 ; The parent function contains %entry and %try.cont.5 87 ; CHECK: # %try.cont.5 [all …]
|
D | tail-merge-wineh.ll | 5 ; try { 6 ; try { 10 ; try { 64 br label %try.cont 66 try.cont: ; preds = %catchret.dest 72 catch.dispatch.2: ; preds = %try.cont 80 br label %try.cont.6 82 try.cont.6: ; preds = %catchret.dest.5 83 br label %try.cont.11 93 br label %try.cont.11 [all …]
|
D | catchret-empty-fallthrough.ll | 15 br i1 %cond, label %return, label %try 17 try: ; preds = %entry 21 dispatch: ; preds = %try 28 fallthrough: ; preds = %try 37 ; CHECK: je .LBB0_[[try:[0-9]+]] 40 ; CHECK: .LBB0_[[try]]:
|
/external/llvm/test/CodeGen/X86/ |
D | funclet-layout.ll | 28 catchret from %cp to label %try.cont 30 try.cont: 39 ; The entry funclet contains %entry and %try.cont 41 ; CHECK: # %try.cont 70 catchret from %1 to label %try.cont 72 try.cont: ; preds = %catch.3 73 catchret from %0 to label %try.cont.5 75 try.cont.5: ; preds = %try.cont 84 ; The parent function contains %entry and %try.cont.5 87 ; CHECK: # %try.cont.5 [all …]
|
D | tail-merge-wineh.ll | 5 ; try { 6 ; try { 10 ; try { 64 br label %try.cont 66 try.cont: ; preds = %catchret.dest 72 catch.dispatch.2: ; preds = %try.cont 80 br label %try.cont.6 82 try.cont.6: ; preds = %catchret.dest.5 83 br label %try.cont.11 93 br label %try.cont.11 [all …]
|
D | catchret-empty-fallthrough.ll | 15 br i1 %cond, label %return, label %try 17 try: ; preds = %entry 21 dispatch: ; preds = %try 28 fallthrough: ; preds = %try 37 ; CHECK: je .LBB0_[[try:[0-9]+]] 40 ; CHECK: .LBB0_[[try]]:
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/WebAssembly/ |
D | wasmehprepare.ll | 18 to label %try.cont unwind label %catch.dispatch 44 catchret from %1 to label %try.cont 52 try.cont: ; preds = %entry, %catch 56 ; Two try-catches, one of them is with a single 'catch (...)' clause. 65 to label %try.cont unwind label %catch.dispatch 76 catchret from %1 to label %try.cont 86 try.cont: ; preds = %entry, %catch.start 88 to label %try.cont7 unwind label %catch.dispatch2 90 catch.dispatch2: ; preds = %try.cont 106 catchret from %6 to label %try.cont7 [all …]
|
/external/clang/test/SemaObjCXX/ |
D | delay-parsing-func-tryblock.mm | 26 BadReturn::BadReturn(MyClass * myObject) try : CObj(myObject) { 28 try { category 31 …-error {{cannot refer to a non-static member from the handler of a constructor function try block}} 32 …-error {{cannot refer to a non-static member from the handler of a constructor function try block}} 34 …-error {{cannot refer to a non-static member from the handler of a constructor function try block}} 37 …-error {{cannot refer to a non-static member from the handler of a constructor function try block}} 42 void BadReturn::MemFunc(MyClass * myObject) try { 44 try { category
|
/external/zlib/src/test/ |
D | infcover.c | 507 local int try(char *hex, char *id, int err) in try() function 583 try("0 0 0 0 0", "invalid stored block lengths", 1); in cover_inflate() 584 try("3 0", "fixed", 0); in cover_inflate() 585 try("6", "invalid block type", 1); in cover_inflate() 586 try("1 1 0 fe ff 0", "stored", 0); in cover_inflate() 587 try("fc 0 0", "too many length or distance symbols", 1); in cover_inflate() 588 try("4 0 fe ff", "invalid code lengths set", 1); in cover_inflate() 589 try("4 0 24 49 0", "invalid bit length repeat", 1); in cover_inflate() 590 try("4 0 24 e9 ff ff", "invalid bit length repeat", 1); in cover_inflate() 591 try("4 0 24 e9 ff 6d", "invalid code -- missing end-of-block", 1); in cover_inflate() [all …]
|
/external/clang/test/SemaObjC/ |
D | scope-check.m | 9 @try { // expected-note {{jump bypasses initialization of @try block}} 19 @try { 32 @try { // expected-note 2 {{jump bypasses initialization of @try block}} 41 @try { 61 @try {} @finally {} 68 @try { 81 @try {
|
/external/toybox/scripts/ |
D | config2help.c | 324 struct symbol *try; in main() local 327 for (try=sym; try; try=try->next) { in main() 328 len = strlen(try->name); in main() 329 if (!strncmp(try->name, s, len) && s[len]=='=' && s[len+1]=='y') { in main() 330 try->enabled++; in main() 354 char *try, **cdashlines, **tdashlines, *usage; in main() local 435 try = 0; in main() 443 try = xmprintf("[-%.*s%.*s] ", ff, from, tt, to); in main() 444 qsort(try+2, ff+tt, 1, (void *)charsort); in main() 455 catch->help_indent, ' ', len, name, try ? try : "", in main() [all …]
|
/external/python/cpython2/Doc/tutorial/ |
D | errors.rst | 89 ... try: 96 The :keyword:`try` statement works as follows. 98 * First, the *try clause* (the statement(s) between the :keyword:`try` and 102 :keyword:`try` statement is finished. 104 * If an exception occurs during execution of the try clause, the rest of the 107 continues after the :keyword:`try` statement. 110 clause, it is passed on to outer :keyword:`try` statements; if no handler is 114 A :keyword:`try` statement may have more than one except clause, to specify 116 Handlers only handle exceptions that occur in the corresponding try clause, not 117 in other handlers of the same :keyword:`try` statement. An except clause may [all …]
|
/external/ppp/pppd/ |
D | lcp.c | 962 lcp_options try; /* options to request next time */ local 967 try = *go; 982 try.neg = 0; \ 1050 try.neg = 0; \ 1067 try.mru = cishort; 1076 try.asyncmap = go->asyncmap | cilong; 1098 try.neg_eap = 0; 1102 try.neg_chap = 0; 1114 try.neg_eap = 0; 1117 try.chap_mdtype = CHAP_MDTYPE_D(cichar); [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/SimplifyCFG/ |
D | empty-cleanuppad.ll | 44 ; outside of a try-block and an object with a non-empty destructor must be 45 ; cleaned up within the try-block. 49 ; try { 80 br label %try.cont 95 br label %try.cont 97 try.cont: ; preds = %catchret.dest, %invoke.cont 107 ; outside of a try-block and an object with an empty destructor must be cleaned 108 ; within the try-block. 112 ; try { 124 ; CHECK: to label %try.cont unwind label %catch.dispatch [all …]
|