| /src/external/apache2/llvm/dist/llvm/utils/unittest/googlemock/include/gmock/ |
| gmock-generated-function-mockers.h | 115 // GMOCK_RESULT_(tn, F) expands to the result type of function type F. 120 #define GMOCK_RESULT_(tn, ...) \ 121 tn ::testing::internal::Function<__VA_ARGS__>::Result 125 #define GMOCK_ARG_(tn, N, ...) \ 126 tn ::testing::internal::Function<__VA_ARGS__>::template Arg<N-1>::type 130 #define GMOCK_MATCHER_(tn, N, ...) \ 131 const ::testing::Matcher<GMOCK_ARG_(tn, N, __VA_ARGS__)>& 139 #define GMOCK_METHOD0_(tn, constness, ct, Method, ...) \ 143 GMOCK_RESULT_(tn, __VA_ARGS__) ct Method( \ 163 #define GMOCK_METHOD1_(tn, constness, ct, Method, ...) [all...] |
| /src/usr.bin/fstat/ |
| tmpfs.c | 50 struct tmpfs_node tn; local 53 if (!KVM_READ(VP_TO_TMPFS_NODE(vp), &tn, sizeof(tn))) { 65 fsp->fileid = tn.tn_id; 66 fsp->mode = tn.tn_mode | getftype(vp->v_type); 67 fsp->size = tn.tn_size; 68 switch (tn.tn_type) { 71 fsp->rdev = tn.tn_spec.tn_dev.tn_rdev;
|
| /src/usr.bin/xlint/lint1/ |
| ckbool.c | 54 is_int_constant_zero(const tnode_t *tn, tspec_t t) 56 return t == INT && tn->tn_op == CON && tn->u.value.u.integer == 0; 187 is_typeok_bool_compares_with_zero(const tnode_t *tn, bool is_do_while) 189 while (tn->tn_op == COMMA) 190 tn = tn->u.ops.right; 191 tn = before_conversion(tn); 193 return tn->tn_type->t_tspec == BOO [all...] |
| func.c | 413 check_case_label_enum(const tnode_t *tn, const control_statement *cs) 417 if (!(tn->tn_type->t_is_enum || cs->c_switch_type->t_is_enum)) 419 if (tn->tn_type->t_is_enum && cs->c_switch_type->t_is_enum && 420 tn->tn_type->u.enumer == cs->c_switch_type->u.enumer) 426 type_name(tn->tn_type)); 459 check_case_label(tnode_t *tn) 471 if (tn == NULL) 474 if (tn->tn_op != CON) { 480 if (!is_integer(tn->tn_type->t_tspec)) { 486 check_case_label_bitand(tn, cs->c_switch_expr) [all...] |
| tree.c | 562 ic_expr(const tnode_t *tn) 566 lint_assert(is_integer(tn->tn_type->t_tspec)); 568 switch (tn->tn_op) { 570 lc = ic_expr(tn->u.ops.left); 571 rc = ic_expr(tn->u.ops.right); 572 return ic_mult(tn->tn_type, lc, rc); 574 lc = ic_expr(tn->u.ops.left); 575 rc = ic_expr(tn->u.ops.right); 576 return ic_div(tn->tn_type, lc, rc); 578 lc = ic_expr(tn->u.ops.left) 4349 tnode_t *tn = build_integer_constant(SIZEOF_TSPEC, size_in_bytes); local 4391 tnode_t *tn = build_integer_constant(SIZEOF_TSPEC, offset_in_bytes); local 5227 tnode_t *tn; local [all...] |
| ckgetopt.c | 80 /* Return whether tn has the form '(c = getopt(argc, argv, "str")) != -1'. */ 82 is_getopt_condition(const tnode_t *tn, char **out_options) 88 if (tn != NULL 89 && tn->tn_op == NE 91 && tn->u.ops.right->tn_op == CON 92 && tn->u.ops.right->u.value.v_tspec == INT 93 && tn->u.ops.right->u.value.u.integer == -1 95 && tn->u.ops.left->tn_op == ASSIGN 96 && tn->u.ops.left->u.ops.right->tn_op == CALL 97 && (call = tn->u.ops.left->u.ops.right->u.call)->func->tn_op == ADD [all...] |
| debug.c | 196 debug_node(const tnode_t *tn) // NOLINT(misc-no-recursion) 199 if (tn == NULL) { 204 op_t op = tn->tn_op; 206 op == CVT && tn->tn_cast ? "cast" : op_name(op)); 209 tn->u.sym->s_name, 210 scl_name(tn->u.sym->s_scl)); 213 debug_printf(" '%s'", type_name(tn->tn_type)); 214 if (tn->tn_lvalue) 216 if (tn->tn_parenthesized) 218 if (tn->tn_sys [all...] |
| lint1.h | 671 constant_is_nonzero(const tnode_t *tn) 673 lint_assert(tn->tn_op == CON); 674 lint_assert(tn->tn_type->t_tspec == tn->u.value.v_tspec); 675 return is_nonzero_val(&tn->u.value); 679 is_zero(const tnode_t *tn) 681 return tn != NULL && tn->tn_op == CON && !is_nonzero_val(&tn->u.value); 685 is_nonzero(const tnode_t *tn) [all...] |
| mem1.c | 201 const tnode_t *tn = p; local 203 __func__, op_name(tn->tn_op), type_name(tn->tn_type)); 345 tnode_t *tn = expr_zero_alloc(sizeof(*tn), "tnode"); local 351 tn->tn_sys = in_system_header || 354 return tn;
|
| init.c | 214 check_non_constant_initializer(const tnode_t *tn, const sym_t *sym) 217 if (tn == NULL || tn->tn_op == CON) 222 if (constant_addr(tn, &unused_sym, &unused_offs)) 835 tnode_t *tn = build_binary(ln, INIT, false /* XXX */, rn); local 836 expr(tn, false, false, false, false, "init"); 843 initialization_init_array_from_string(initialization *in, tnode_t *tn) 846 if (tn->tn_op != STRING) 851 if (!can_init_character_array(tp, tn)) 854 size_t len = tn->u.str_literals->len [all...] |
| /src/sys/arch/vax/boot/boot/ |
| hp.c | 111 unsigned int bn, cn, sn, tn; local 122 tn = sn / hplabel.d_nsectors; 125 cn = sn = tn = 0; 128 HP_WCSR(HP_DA, (tn << 8) | sn);
|
| /src/external/cddl/osnet/dist/uts/common/fs/zfs/ |
| txg.c | 754 txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); local 758 add = (tn->tn_member[t] == 0); 760 tn->tn_member[t] = 1; 761 tn->tn_next[t] = tl->tl_head[t]; 762 tl->tl_head[t] = tn; 778 txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); local 782 add = (tn->tn_member[t] == 0); 789 tn->tn_member[t] = 1; 790 tn->tn_next[t] = NULL; 791 *tp = tn; 805 txg_node_t *tn; local 827 txg_node_t *tn, **tp; local 850 txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); local 862 txg_node_t *tn = tl->tl_head[t]; local 871 txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); local [all...] |
| /src/sys/arch/evbsh3/include/ |
| bus_funcs.h | 75 #define __bs_rs(sz, tn, t, h, o) \ 76 (__BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"), \ 78 #define __bs_rss(sz, tn, t, h, o) \ 79 (__BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"), \ 82 #define __bs_ws(sz, tn, t, h, o, v) \ 84 __BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"); \ 87 #define __bs_wss(sz, tn, t, h, o, v) \ 89 __BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"); \ 93 #define __bs_nonsingle(type, sz, tn, t, h, o, a, c) \ 95 __BUS_SPACE_ADDRESS_SANITY((a), tn, "buffer"); [all...] |
| /src/external/gpl2/gmake/dist/tests/ |
| run_make_tests.pl | 163 $tn = $pure_testname . ($num_of_logfiles ? ".$num_of_logfiles" : ""); 164 print("Renaming purify log file to $tn\n") if $debug; 165 rename($pure_log, "$tn") 166 || die "Can't rename $log to $tn: $!\n";
|
| /src/sys/arch/alpha/include/ |
| bus_funcs.h | 70 #define __abs_rs(sz, tn, t, h, o) \ 71 (__BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"), \ 74 #define __abs_ws(sz, tn, t, h, o, v) \ 76 __BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"); \ 80 #define __abs_nonsingle(type, sz, tn, t, h, o, a, c) \ 82 __BUS_SPACE_ADDRESS_SANITY((a), tn, "buffer"); \ 83 __BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"); \ 87 #define __abs_set(type, sz, tn, t, h, o, v, c) \ 89 __BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"); \ 93 #define __abs_copy(sz, tn, t, h1, o1, h2, o2, cnt) [all...] |
| /src/sys/arch/dreamcast/include/ |
| bus_funcs.h | 70 #define __dbs_rs(sz, tn, t, h, o) \ 71 (__BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"), \ 74 #define __dbs_ws(sz, tn, t, h, o, v) \ 76 __BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"); \ 80 #define __dbs_nonsingle(type, sz, tn, t, h, o, a, c) \ 82 __BUS_SPACE_ADDRESS_SANITY((a), tn, "buffer"); \ 83 __BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"); \ 87 #define __dbs_set(type, sz, tn, t, h, o, v, c) \ 89 __BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"); \ 93 #define __dbs_copy(sz, tn, t, h1, o1, h2, o2, cnt) [all...] |
| /src/sys/arch/hpcsh/include/ |
| bus_funcs.h | 75 #define __hbs_rs(sz, tn, t, h, o) \ 76 (__BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"), \ 79 #define __hbs_ws(sz, tn, t, h, o, v) \ 81 __BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"); \ 85 #define __hbs_nonsingle(type, sz, tn, t, h, o, a, c) \ 87 __BUS_SPACE_ADDRESS_SANITY((a), tn, "buffer"); \ 88 __BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"); \ 92 #define __hbs_set(type, sz, tn, t, h, o, v, c) \ 94 __BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"); \ 98 #define __hbs_copy(sz, tn, t, h1, o1, h2, o2, cnt) [all...] |
| /src/sys/arch/landisk/include/ |
| bus_funcs.h | 74 #define __bs_rs(sz, tn, t, h, o) \ 75 (__BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"), \ 78 #define __bs_ws(sz, tn, t, h, o, v) \ 80 __BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"); \ 84 #define __bs_nonsingle(type, sz, tn, t, h, o, a, c) \ 86 __BUS_SPACE_ADDRESS_SANITY((a), tn, "buffer"); \ 87 __BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"); \ 91 #define __bs_set(type, sz, tn, t, h, o, v, c) \ 93 __BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"); \ 97 #define __bs_copy(sz, tn, t, h1, o1, h2, o2, cnt) [all...] |
| /src/sys/arch/mips/include/ |
| bus_space_funcs.h | 70 #define __bs_r(type, sz, tn, t, h, o) \ 71 (__BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"), \ 74 #define __bs_w(type, sz, tn, t, h, o, v) \ 76 __BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"); \ 80 #define __bs_nonsingle(type, sz, tn, t, h, o, a, c) \ 82 __BUS_SPACE_ADDRESS_SANITY((a), tn, "buffer"); \ 83 __BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"); \ 87 #define __bs_set(type, sz, tn, t, h, o, v, c) \ 89 __BUS_SPACE_ADDRESS_SANITY((h) + (o), tn, "bus addr"); \ 93 #define __bs_copy(sz, tn, t, h1, o1, h2, o2, cnt) [all...] |
| /src/libexec/mail.local/ |
| mail.local.c | 137 char *tn, line[2048]; local 139 tn = strdup(_PATH_LOCTMP); 140 if (!tn) 142 if ((fd = mkstemp(tn)) == -1 || !(fp = fdopen(fd, "w+"))) 144 (void)unlink(tn); 145 free(tn);
|
| /src/external/cddl/osnet/dist/lib/libzfs/common/ |
| libzfs_fru.c | 104 libzfs_fru_gather(topo_hdl_t *thp, tnode_t *tn, void *arg) 118 strcmp(_topo_node_name(tn), "chassis") == 0) { 119 if (_topo_prop_get_string(tn, FM_FMRI_AUTHORITY, 128 if (strcmp(_topo_node_name(tn), "disk") != 0) 134 if (_topo_prop_get_string(tn, "io", "devfs-path", &devpath, &err) != 0) 142 if (_topo_node_fru(tn, &fru, NULL, &err) != 0) {
|
| /src/usr.bin/xlint/common/ |
| lint.h | 145 #define has_operands(tn) (modtab[(tn)->tn_op].m_has_operands)
|
| /src/sys/external/bsd/drm2/dist/drm/i915/gt/ |
| intel_gt_requests.c | 136 struct intel_timeline *tl, *tn; local 147 list_for_each_entry_safe(tl, tn, &timelines->active_list, link) { 176 list_safe_reset_next(tl, tn, link); 190 list_for_each_entry_safe(tl, tn, &free, link)
|
| /src/sys/fs/tmpfs/ |
| tmpfs_mem.c | 195 tmpfs_node_put(struct tmpfs_mount *mp, struct tmpfs_node *tn) 200 pool_put(&tmpfs_node_pool, tn);
|
| /src/external/bsd/zstd/dist/contrib/match_finders/ |
| zstd_edist.c | 482 size_t const tn) 487 return tn; 488 if (!tn) 491 if (s[sn - 1] == t[tn - 1]) 493 s, sn - 1, t, tn - 1); 495 a = ZSTD_eDist_levenshteinDist(s, sn - 1, t, tn - 1); 496 b = ZSTD_eDist_levenshteinDist(s, sn, t, tn - 1); 497 c = ZSTD_eDist_levenshteinDist(s, sn - 1, t, tn);
|