Home
last modified time | relevance | path

Searched refs:catch (Results 1 - 25 of 38) sorted by relevance

12

/third_party/toybox/lib/
H A Dlinestack.c15 struct linestack *catch = *lls; in linestack_addstack() local
18 if (pos > catch->len) error_exit("linestack_addstack past end."); in linestack_addstack()
21 if (catch->len+throw->len >= catch->max) { in linestack_addstack()
23 catch->max = ((catch->len+throw->len)|63)+1; in linestack_addstack()
24 *lls = xmalloc(sizeof(struct linestack)+catch->max*sizeof(struct ptr_len)); in linestack_addstack()
25 memcpy(*lls, catch, sizeof(struct linestack)+pos*sizeof(struct ptr_len)); in linestack_addstack()
29 if (pos != catch->len) in linestack_addstack()
30 memmove((*lls)->idx+pos+throw->len, catch in linestack_addstack()
[all...]
H A Dargs.c382 struct opts *catch; in get_optflags() local
403 catch = NULL; in get_optflags()
434 catch = lo->opt; in get_optflags()
446 gotflag(&gof, catch); in get_optflags()
462 for (catch = gof.opts; catch; catch = catch->next) in get_optflags()
463 if (*gof.arg == catch->c) in get_optflags()
464 if (!((catch in get_optflags()
[all...]
H A Ddirtree.c17 int dirtree_notdotdot(struct dirtree *catch) in dirtree_notdotdot() argument
20 return (!catch->parent||!isdotdot(catch->name)) in dirtree_notdotdot()
/third_party/toybox/toys/posix/
H A Dcp.c131 char *catch = try->parent ? try->name : TT.destname, *err = "%s"; in cp_node() local
148 && (catch = TT.destname)) in cp_node()
149 || (!fstatat(cfd, catch, &cst, 0) && cst.st_dev == try->st.st_dev in cp_node()
152 error_msg("'%s' is '%s'", catch, err = dirtree_path(try, 0)); in cp_node()
160 if (!faccessat(cfd, catch, F_OK, 0) && !S_ISDIR(cst.st_mode)) { in cp_node()
167 } else if ((flags & FLAG_F) && unlinkat(cfd, catch, 0)) { in cp_node()
168 error_msg("unlink '%s'", catch); in cp_node()
197 catch = try->name; in cp_node()
208 if (!mkdirat(cfd, catch, try->st.st_mode | 0200) || errno == EEXIST) in cp_node()
209 if (-1 != (try->extra = openat(cfd, catch, O_NOFOLLO in cp_node()
[all...]
/third_party/backends/backend/genesys/
H A Derror.h136 } catch (const SaneException& exc) { in wrap_exceptions_to_status_code()
139 } catch (const std::bad_alloc& exc) { in wrap_exceptions_to_status_code()
143 } catch (const std::exception& exc) { in wrap_exceptions_to_status_code()
146 } catch (...) { in wrap_exceptions_to_status_code()
157 } catch (const SaneException& exc) { in wrap_exceptions_to_status_code_return()
160 } catch (const std::bad_alloc& exc) { in wrap_exceptions_to_status_code_return()
164 } catch (const std::exception& exc) { in wrap_exceptions_to_status_code_return()
167 } catch (...) { in wrap_exceptions_to_status_code_return()
178 } catch (const SaneException& exc) { in catch_all_exceptions()
180 } catch (cons in catch_all_exceptions()
[all...]
/third_party/toybox/porting/liteos_a/toys/posix/
H A Dcp.c115 char *catch = try->parent ? try->name : TT.destname, *err = "%s"; in cp_node() local
133 if (!faccessat(cfd, catch, F_OK, 0) && !S_ISDIR(cst.st_mode)) { in cp_node()
140 } else if ((flags & FLAG_F) && unlinkat(cfd, catch, 0)) { in cp_node()
141 error_msg("unlink '%s'", catch); in cp_node()
170 catch = try->name; in cp_node()
181 if (!mkdirat(cfd, catch, try->st.st_mode | 0200) || errno == EEXIST) in cp_node()
182 if (-1 != (try->extra = openat(cfd, catch, O_NOFOLLOW))) in cp_node()
189 if (!linkat(tfd, try->name, cfd, catch, 0)) err = 0; in cp_node()
212 if (!symlinkat(s, cfd, catch)) { in cp_node()
227 ((!unlinkat(cfd, catch, in cp_node()
[all...]
/third_party/toybox/scripts/
H A Dconfig2help.c345 struct symbol *throw = 0, *catch; in main() local
350 for (catch = sym; catch; catch = catch->next) { in main()
351 if (catch->enabled != 1) continue; in main()
352 if (catch->help && (that = keyword("usage:", catch->help->data))) { in main()
358 // text out of throw into catch, copying from this to that in main()
361 catch in main()
[all...]
/third_party/toybox/toys/other/
H A Ddos2unix.c37 int outfd = 1, catch = 0; in do_dos2unix() local
52 if (catch) { in do_dos2unix()
54 catch = 0; in do_dos2unix()
58 if (x == '\r') catch++; in do_dos2unix()
63 if (catch) xwrite(outfd, "\r", 1); in do_dos2unix()
H A Dprintenv.c28 int catch = 0, len = *var ? strlen(*var) : 0; in printenv_main() local
37 catch++; in printenv_main()
39 if (*var && !catch) toys.exitval = 1; in printenv_main()
/third_party/toybox/porting/liteos_a/lib/
H A Ddirtree.c25 int dirtree_notdotdot(struct dirtree *catch) in dirtree_notdotdot() argument
28 return (!catch->parent||!isdotdot(catch->name)) in dirtree_notdotdot()
/third_party/backends/backend/
H A Dhp.h79 #define CATCH_RET_FAIL(try, catch) do { \
81 if (FAILED(status)) { (catch); return status; } \
/third_party/backends/testsuite/backend/genesys/
H A Dminigtest.h101 } catch (const T&) { \
103 } catch (...) { \
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/port/
H A Dexception_type.h41 } catch (...) {} in SetMessage()
60 } catch (...) {} in IndexOutOfBoundException()
/third_party/lzma/CPP/Common/
H A DComTry.h11 #define COM_TRY_END } catch(...) { return E_OUTOFMEMORY; }
15 catch(const CNewException &) { return E_OUTOFMEMORY; } \
16 catch(...) { return HRESULT_FROM_WIN32(ERROR_NOACCESS); } \
18 // catch(const CSystemException &e) { return e.ErrorCode; }
19 // catch(...) { return E_FAIL; }
/third_party/python/Python/
H A Demscripten_signal.c19 } catch(e) {
/third_party/googletest/googletest/include/gtest/internal/
H A Dgtest-death-test-internal.h201 } catch (const ::std::exception& gtest_exception) { \
210 } catch (...) { \
H A Dgtest-internal.h409 // In order to catch the mistake of putting tests that use different
1397 catch (typename std::conditional< \
1425 } catch (expected_exception const&) { \
1429 catch (...) { \
1448 catch (std::exception const& e) { \
1470 catch (...) { \
1487 } catch (...) { \
/third_party/mesa3d/src/gtest/include/gtest/internal/
H A Dgtest-death-test-internal.h193 } catch (const ::std::exception& gtest_exception) { \
202 } catch (...) { \
H A Dgtest-internal.h399 // In order to catch the mistake of putting tests that use different
1267 catch (expected_exception const&) { \
1270 catch (...) { \
1292 catch (...) { \
1307 catch (...) { \
/third_party/node/deps/googletest/include/gtest/internal/
H A Dgtest-death-test-internal.h201 } catch (const ::std::exception& gtest_exception) { \
210 } catch (...) { \
H A Dgtest-internal.h394 // In order to catch the mistake of putting tests that use different
1384 catch (typename std::conditional< \
1412 } catch (expected_exception const&) { \
1416 catch (...) { \
1435 catch (std::exception const& e) { \
1457 catch (...) { \
1474 } catch (...) { \
/third_party/node/deps/v8/src/parsing/
H A Dkeywords-gen.h110 {"catch", Token::CATCH},
/third_party/skia/third_party/externals/abseil-cpp/absl/base/
H A Dmacros.h139 #define ABSL_INTERNAL_CATCH_ANY catch (...)
/third_party/nghttp2/src/
H A Dtemplate.h521 } catch (const std::bad_alloc &) {
523 } catch (const std::exception &x) {
525 } catch (...) {
/third_party/benchmark/src/
H A Dre.h100 catch (const std::regex_error& e) { in Init()

Completed in 16 milliseconds

12