| /NextBSD/sys/sys/ |
| HD | imgact_aout.h | 36 #define N_GETMAGIC(ex) \ argument 37 ( le32toh((ex).a_midmag) & 0xffff ) 38 #define N_GETMID(ex) \ argument 39 ( (N_GETMAGIC_NET(ex) == ZMAGIC) ? N_GETMID_NET(ex) : \ 40 ((ex).a_midmag >> 16) & 0x03ff ) 41 #define N_GETFLAG(ex) \ argument 42 ( (N_GETMAGIC_NET(ex) == ZMAGIC) ? N_GETFLAG_NET(ex) : \ 43 ((ex).a_midmag >> 26) & 0x3f ) 44 #define N_SETMAGIC(ex,mag,mid,flag) \ argument 45 ( (ex).a_midmag = htole32((((flag) & 0x3f) <<26) | \ [all …]
|
| /NextBSD/contrib/libcxxrt/ |
| HD | exception.cc | 70 struct __cxa_exception *ex, in saveLandingPad() argument 82 if (ex) in saveLandingPad() 84 ex->handlerSwitchValue = selector; in saveLandingPad() 85 ex->catchTemp = landingPad; in saveLandingPad() 94 struct __cxa_exception *ex, in loadLandingPad() argument 103 if (ex) in loadLandingPad() 105 *selector = ex->handlerSwitchValue; in loadLandingPad() 106 *landingPad = reinterpret_cast<dw_eh_ptr_t>(ex->catchTemp); in loadLandingPad() 113 static inline _Unwind_Reason_Code continueUnwinding(struct _Unwind_Exception *ex, in continueUnwinding() argument 117 if (__gnu_unwind_frame(ex, context) != _URC_OK) { return _URC_FAILURE; } in continueUnwinding() [all …]
|
| /NextBSD/crypto/openssl/crypto/x509/ |
| HD | x509_v3.c | 90 X509_EXTENSION *ex; in X509v3_get_ext_by_OBJ() local 99 ex = sk_X509_EXTENSION_value(sk, lastpos); in X509v3_get_ext_by_OBJ() 100 if (OBJ_cmp(ex->object, obj) == 0) in X509v3_get_ext_by_OBJ() 110 X509_EXTENSION *ex; in X509v3_get_ext_by_critical() local 119 ex = sk_X509_EXTENSION_value(sk, lastpos); in X509v3_get_ext_by_critical() 120 if (((ex->critical > 0) && crit) || ((ex->critical <= 0) && !crit)) in X509v3_get_ext_by_critical() 145 X509_EXTENSION *ex, int loc) in STACK_OF() 168 if ((new_ex = X509_EXTENSION_dup(ex)) == NULL) in STACK_OF() 185 X509_EXTENSION *X509_EXTENSION_create_by_NID(X509_EXTENSION **ex, int nid, in X509_EXTENSION_create_by_NID() argument 197 ret = X509_EXTENSION_create_by_OBJ(ex, obj, crit, data); in X509_EXTENSION_create_by_NID() [all …]
|
| /NextBSD/gnu/usr.bin/grep/ |
| HD | exclude.c | 49 struct exclude *ex = (struct exclude *) xmalloc (sizeof (struct exclude)); in new_exclude() local 50 ex->exclude_count = 0; in new_exclude() 51 ex->exclude_alloc = 64; in new_exclude() 52 ex->exclude = (char const **) xmalloc (ex->exclude_alloc * sizeof (char *)); in new_exclude() 53 return ex; in new_exclude() 57 excluded_filename (struct exclude const *ex, char const *f, int options) in excluded_filename() argument 59 char const * const *exclude = ex->exclude; in excluded_filename() 60 int exclude_count = ex->exclude_count; in excluded_filename() 71 add_exclude (struct exclude *ex, char const *pattern) in add_exclude() argument 73 if (ex->exclude_alloc <= ex->exclude_count) in add_exclude() [all …]
|
| /NextBSD/usr.bin/ldd/ |
| HD | sods.c | 112 static const struct exec *ex; variable 210 ex = (const struct exec *) align_struct(file_base); in dump_file() 212 printf("%s: a_midmag = 0x%lx\n", fname, (long)ex->a_midmag); in dump_file() 214 (long)N_GETMAGIC(*ex), (long)N_GETMAGIC(*ex), in dump_file() 215 (long)N_GETMAGIC_NET(*ex), (long)N_GETMAGIC_NET(*ex)); in dump_file() 217 if (N_BADMAG(*ex)) { in dump_file() 224 printf(" a_text = 0x%lx\n", (long)ex->a_text); in dump_file() 225 printf(" a_data = 0x%lx\n", (long)ex->a_data); in dump_file() 226 printf(" a_bss = 0x%lx\n", (long)ex->a_bss); in dump_file() 227 printf(" a_syms = 0x%lx\n", (long)ex->a_syms); in dump_file() [all …]
|
| /NextBSD/contrib/netbsd-tests/kernel/ |
| HD | t_extent.c | 47 static struct extent *ex; variable 50 ATF_REQUIRE((ex = extent_create(name, \ 54 ATF_REQUIRE_EQ_MSG(ret = extent_alloc_region(ex, \ 58 ATF_REQUIRE_EQ_MSG(ret = extent_free(ex, \ 72 ret = extent_alloc_subregion1(ex, substart, subend, size, in h_alloc_subregion() 91 ATF_REQUIRE_STREQ_MSG(ex->ex_name, name, in h_require() 92 "expected: \"%s\", got: \"%s\"", name, ex->ex_name); in h_require() 93 ATF_REQUIRE_EQ_MSG(ex->ex_start, start, in h_require() 94 "expected: %#lx, got: %#lx", start, ex->ex_start); in h_require() 95 ATF_REQUIRE_EQ_MSG(ex->ex_end, end, in h_require() [all …]
|
| /NextBSD/contrib/diff/lib/ |
| HD | exclude.c | 102 free_exclude (struct exclude *ex) in free_exclude() argument 104 free (ex->exclude); in free_exclude() 105 free (ex); in free_exclude() 137 excluded_filename (struct exclude const *ex, char const *f) in excluded_filename() argument 139 size_t exclude_count = ex->exclude_count; in excluded_filename() 146 struct patopts const *exclude = ex->exclude; in excluded_filename() 183 add_exclude (struct exclude *ex, char const *pattern, int options) in add_exclude() argument 187 if (ex->exclude_count == ex->exclude_alloc) in add_exclude() 188 ex->exclude = x2nrealloc (ex->exclude, &ex->exclude_alloc, in add_exclude() 189 sizeof *ex->exclude); in add_exclude() [all …]
|
| /NextBSD/usr.sbin/pmcstudy/ |
| HD | eval_expr.c | 41 struct expression *ex, *at; in alloc_and_hook_expr() local 43 ex = malloc(sizeof(struct expression)); in alloc_and_hook_expr() 44 if (ex == NULL) { in alloc_and_hook_expr() 48 memset(ex, 0, sizeof(struct expression)); in alloc_and_hook_expr() 50 *exp_p = ex; in alloc_and_hook_expr() 55 *last_p = ex; in alloc_and_hook_expr() 58 at->next = ex; in alloc_and_hook_expr() 59 ex->prev = at; in alloc_and_hook_expr() 60 *last_p = ex; in alloc_and_hook_expr() 62 return (ex); in alloc_and_hook_expr() [all …]
|
| /NextBSD/usr.bin/find/ |
| HD | find.h | 106 } ex; member 127 #define e_argv p_un.ex._e_argv 128 #define e_orig p_un.ex._e_orig 129 #define e_len p_un.ex._e_len 130 #define e_pbnum p_un.ex._e_pbnum 131 #define e_ppos p_un.ex._e_ppos 132 #define e_pnummax p_un.ex._e_pnummax 133 #define e_psize p_un.ex._e_psize 134 #define e_pbsize p_un.ex._e_pbsize 135 #define e_psizemax p_un.ex._e_psizemax [all …]
|
| /NextBSD/contrib/amd/amd/ |
| HD | amfs_host.c | 100 make_mntpt(char *mntpt, size_t l, const exports ex, const char *mf_mount) in make_mntpt() argument 102 if (ex->ex_dir[0] == '/') { in make_mntpt() 103 if (ex->ex_dir[1] == 0) in make_mntpt() 106 xsnprintf(mntpt, l, "%s%s", mf_mount, ex->ex_dir); in make_mntpt() 107 } else if (ex->ex_dir[0] >= 'a' && in make_mntpt() 108 ex->ex_dir[0] <= 'z' && in make_mntpt() 109 ex->ex_dir[1] == ':' && in make_mntpt() 110 ex->ex_dir[2] == '/' && in make_mntpt() 111 ex->ex_dir[3] == 0) in make_mntpt() 112 xsnprintf(mntpt, l, "%s/%c%%", mf_mount, ex->ex_dir[0]); in make_mntpt() [all …]
|
| /NextBSD/sbin/ggate/ggated/ |
| HD | ggated.c | 149 struct ggd_export *ex; in line_parse() local 212 ex = malloc(sizeof(*ex)); in line_parse() 213 if (ex == NULL) in line_parse() 215 ex->e_path = strdup(path); in line_parse() 216 if (ex->e_path == NULL) in line_parse() 220 ex->e_ip = (ip & mask); in line_parse() 221 ex->e_mask = mask; in line_parse() 222 ex->e_flags = flags; in line_parse() 224 SLIST_INSERT_HEAD(&exports, ex, e_next); in line_parse() 227 ip2str(ex->e_ip), vmask, path, sflags); in line_parse() [all …]
|
| /NextBSD/usr.sbin/eeprom/ |
| HD | ofw_options.c | 249 const struct ofwo_extabent *ex; in ofwo_dump() local 262 for (ex = ofwo_extab; ex->ex_prop != NULL; ++ex) in ofwo_dump() 263 if (strcmp(ex->ex_prop, prop) == 0) in ofwo_dump() 265 if (ex->ex_prop != NULL) in ofwo_dump() 266 (*ex->ex_handler)(ex, fd, pbuf, len, NULL); in ofwo_dump() 280 const struct ofwo_extabent *ex; in ofwo_action() local 296 for (ex = ofwo_extab; ex->ex_prop != NULL; ++ex) in ofwo_action() 297 if (strcmp(ex->ex_prop, prop) == 0) in ofwo_action() 299 if (ex->ex_prop != NULL) in ofwo_action() 300 rv = (*ex->ex_handler)(ex, fd, pbuf, len, val); in ofwo_action()
|
| /NextBSD/contrib/elftoolchain/libelf/ |
| HD | elf_update.c | 345 struct _Elf_Extent *ex; in _libelf_release_extents() local 347 while ((ex = SLIST_FIRST(extents)) != NULL) { in _libelf_release_extents() 349 free(ex); in _libelf_release_extents() 405 struct _Elf_Extent *ex, *prevt; in _libelf_insert_extent() local 421 if ((ex = malloc(sizeof(struct _Elf_Extent))) == NULL) { in _libelf_insert_extent() 425 ex->ex_start = start; in _libelf_insert_extent() 426 ex->ex_size = size; in _libelf_insert_extent() 427 ex->ex_desc = desc; in _libelf_insert_extent() 428 ex->ex_type = type; in _libelf_insert_extent() 432 SLIST_INSERT_AFTER(prevt, ex, ex_next); in _libelf_insert_extent() [all …]
|
| /NextBSD/usr.bin/vi/catalog/ |
| HD | ru_RU.UTF-8.base | 75 082 "%s: команда не доступна в режиме ex" 85 092 "Команда ex не удалась: последующие команды забыты" 86 093 "Команда ex не удалась: назначенные клавиши забыты" 199 207 "Команда Q требует ex интерфейс терминала" 260 270 "Нажмите любую клавишу чтобы продолжить [: чтобы ввести еще ex команды]: " 262 272 "Эта форма %s требует ex интерфейс терминала" 263 273 "Вход в режим ввода ex." 273 283 "Команда %s требует ex интерфейс терминала" 295 307 "Нет ex команды для выполнения"
|
| HD | uk_UA.UTF-8.base | 75 082 "%s: команда не доступна в режимі ex" 85 092 "Команда ex не вдалась: наступні команди з'ігноровано" 86 093 "Команда ex не вдалась: відображені клавіші з'ігноровано" 199 207 "Команда Q вимагає інтерфейсу ex" 262 272 "Tака форма %s вимагає інтерфейсу ex" 263 273 "Входим в режим введення ex" 273 283 "Команда %s вимагає інтерфейсу ex" 296 307 "Немає команди ex для виконання"
|
| /NextBSD/lib/msun/tests/ |
| HD | next_test.c | 46 #define test(exp, ans, ex) do { \ argument 49 _testl(#exp, __LINE__, (exp), __ans, (ex)); \ 51 #define testf(exp, ans, ex) do { \ argument 54 _testl(#exp, __LINE__, (exp), __ans, (ex)); \ 56 #define testl(exp, ans, ex) do { \ argument 59 _testl(#exp, __LINE__, (exp), __ans, (ex)); \ 61 #define testboth(arg1, arg2, ans, ex, prec) do { \ argument 62 test##prec(nextafter##prec((arg1), (arg2)), (ans), (ex)); \ 63 test##prec(nexttoward##prec((arg1), (arg2)), (ans), (ex)); \ 65 #define testall(arg1, arg2, ans, ex) do { \ argument [all …]
|
| /NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| HD | UndefinedAssignmentChecker.cpp | 60 const Expr *ex = nullptr; in checkBind() local 69 ex = B->getLHS(); in checkBind() 74 ex = B->getRHS(); in checkBind() 80 ex = VD->getInit(); in checkBind() 87 if (ex) { in checkBind() 88 R->addRange(ex->getSourceRange()); in checkBind() 89 bugreporter::trackNullOrUndefValue(N, ex, *R); in checkBind()
|
| /NextBSD/usr.sbin/btxld/ |
| HD | btxld.c | 327 const struct exec *ex; in gethdr() local 347 ex = p; in gethdr() 348 if (hdr->size >= sizeof(struct exec) && !N_BADMAG(*ex)) { in gethdr() 350 x = N_GETMAGIC(*ex); in gethdr() 357 hdr->text = le32toh(ex->a_text); in gethdr() 358 hdr->data = le32toh(ex->a_data); in gethdr() 359 hdr->bss = le32toh(ex->a_bss); in gethdr() 360 hdr->entry = le32toh(ex->a_entry); in gethdr() 361 if (le32toh(ex->a_entry) >= BTX_PGSIZE) in gethdr() 404 struct exec ex; in puthdr() local [all …]
|
| /NextBSD/lib/msun/ld128/ |
| HD | e_rem_pio2l.h | 68 int e0,ex,i,j,nx; in __ieee754_rem_pio2l() local 73 ex = expsign & 0x7fff; in __ieee754_rem_pio2l() 74 if (ex < BIAS + 45 || ex == BIAS + 45 && in __ieee754_rem_pio2l() 90 j = ex; in __ieee754_rem_pio2l() 119 if(ex==0x7fff) { /* x is inf or NaN */ in __ieee754_rem_pio2l() 124 e0 = ex - BIAS - 23; /* e0 = ilogb(|x|)-23; */ in __ieee754_rem_pio2l() 125 u1.xbits.expsign = ex - e0; in __ieee754_rem_pio2l()
|
| /NextBSD/crypto/heimdal/lib/sl/ |
| HD | slc-gram.y | 113 ex(struct assignment *a, const char *fmt, ...) in ex() function 154 ex(a, "unknown name %s", a->name); in check_option() 159 ex(as, "neither long nor short option"); in check_option() 163 ex(as, "either of long or name option must be used"); in check_option() 167 ex(as, "multiple long options"); in check_option() 171 ex(as, "multiple short options"); in check_option() 175 ex(as, "multiple types"); in check_option() 179 ex(as, "multiple arguments"); in check_option() 183 ex(as, "multiple help strings"); in check_option() 187 ex(as, "multiple default values"); in check_option() [all …]
|
| /NextBSD/lib/msun/ld80/ |
| HD | e_rem_pio2l.h | 79 int e0,ex,i,j,nx,n; in __ieee754_rem_pio2l() local 84 ex = expsign & 0x7fff; in __ieee754_rem_pio2l() 85 if (ex < BIAS + 25 || (ex == BIAS + 25 && u.bits.manh < 0xc90fdaa2)) { in __ieee754_rem_pio2l() 100 j = ex; in __ieee754_rem_pio2l() 129 if(ex==0x7fff) { /* x is inf or NaN */ in __ieee754_rem_pio2l() 134 e0 = ex - BIAS - 23; /* e0 = ilogb(|x|)-23; */ in __ieee754_rem_pio2l() 135 u1.xbits.expsign = ex - e0; in __ieee754_rem_pio2l()
|
| /NextBSD/lib/msun/src/ |
| HD | s_rintl.c | 59 int ex, sign; in rintl() local 63 ex = expsign & 0x7fff; in rintl() 65 if (ex >= BIAS + LDBL_MANT_DIG - 1) { in rintl() 66 if (ex == BIAS + LDBL_MAX_EXP) in rintl() 86 if (ex < BIAS && x == 0.0L) in rintl()
|
| /NextBSD/contrib/gdtoa/ |
| HD | g_xfmt.c | 65 int decpt, ex, i, mode; local 81 if ( (ex = L[_0] & 0x7fff) !=0) { 82 if (ex == 0x7fff) { 98 ex = 1; 110 ex -= 0x3fff + 63; 117 s = gdtoa(fpi, ex, bits, &i, mode, ndig, &decpt, &se);
|
| /NextBSD/sys/boot/i386/gptboot/ |
| HD | gptboot.c | 245 struct exec ex; in load() member 265 if (N_GETMAGIC(hdr.ex) == ZMAGIC) in load() 274 addr = hdr.ex.a_entry & 0xffffff; in load() 277 if (xfsread(ino, p, hdr.ex.a_text)) in load() 279 p += roundup2(hdr.ex.a_text, PAGE_SIZE); in load() 280 if (xfsread(ino, p, hdr.ex.a_data)) in load() 282 p += hdr.ex.a_data + roundup2(hdr.ex.a_bss, PAGE_SIZE); in load() 284 memcpy(p, &hdr.ex.a_syms, sizeof(hdr.ex.a_syms)); in load() 285 p += sizeof(hdr.ex.a_syms); in load() 286 if (hdr.ex.a_syms) { in load() [all …]
|
| /NextBSD/crypto/openssl/crypto/ts/ |
| HD | ts_lib.c | 103 X509_EXTENSION *ex; in TS_ext_print_bio() local 109 ex = X509v3_get_ext(extensions, i); in TS_ext_print_bio() 110 obj = X509_EXTENSION_get_object(ex); in TS_ext_print_bio() 112 critical = X509_EXTENSION_get_critical(ex); in TS_ext_print_bio() 114 if (!X509V3_EXT_print(bio, ex, 0, 4)) { in TS_ext_print_bio() 116 M_ASN1_OCTET_STRING_print(bio, ex->value); in TS_ext_print_bio()
|