Home
last modified time | relevance | path

Searched refs:tn (Results 1 – 25 of 54) sorted by relevance

123

/freebsd-12-stable/contrib/googletest/googlemock/include/gmock/
Dgmock-generated-function-mockers.h402 #define GMOCK_RESULT_(tn, ...) \ argument
403 tn ::testing::internal::Function<__VA_ARGS__>::Result
407 #define GMOCK_ARG_(tn, N, ...) \ argument
408 tn ::testing::internal::Function<__VA_ARGS__>::Argument##N
412 #define GMOCK_MATCHER_(tn, N, ...) \ argument
413 const ::testing::Matcher<GMOCK_ARG_(tn, N, __VA_ARGS__)>&
421 #define GMOCK_METHOD0_(tn, constness, ct, Method, ...) \ argument
422 GMOCK_RESULT_(tn, __VA_ARGS__) ct Method() constness { \
424 (::testing::tuple_size<tn ::testing::internal::Function< \
444 #define GMOCK_METHOD1_(tn, constness, ct, Method, ...) \ argument
[all …]
Dgmock-generated-function-mockers.h.pump159 // GMOCK_RESULT_(tn, F) expands to the result type of function type F.
164 #define GMOCK_RESULT_(tn, ...) \
165 tn ::testing::internal::Function<__VA_ARGS__>::Result
169 #define GMOCK_ARG_(tn, N, ...) \
170 tn ::testing::internal::Function<__VA_ARGS__>::Argument##N
174 #define GMOCK_MATCHER_(tn, N, ...) \
175 const ::testing::Matcher<GMOCK_ARG_(tn, N, __VA_ARGS__)>&
185 $var arg_as = [[$for j, [[GMOCK_ARG_(tn, $j, __VA_ARGS__) gmock_a$j]]]]
187 [[::testing::internal::forward<GMOCK_ARG_(tn, $j, __VA_ARGS__)>(gmock_a$j)]]]]
189 [[GMOCK_MATCHER_(tn, $j, __VA_ARGS__) gmock_a$j]]]]
[all …]
/freebsd-12-stable/contrib/llvm-project/openmp/runtime/src/
Dkmp_threadprivate.cpp38 struct private_common *tn; in __kmp_threadprivate_find_task_common() local
47 for (tn = tbl->data[KMP_HASH(pc_addr)]; tn; tn = tn->next) { in __kmp_threadprivate_find_task_common()
48 if (tn->gbl_addr == pc_addr) { in __kmp_threadprivate_find_task_common()
54 return tn; in __kmp_threadprivate_find_task_common()
67 struct shared_common *tn; in __kmp_find_shared_task_common() local
69 for (tn = tbl->data[KMP_HASH(pc_addr)]; tn; tn = tn->next) { in __kmp_find_shared_task_common()
70 if (tn->gbl_addr == pc_addr) { in __kmp_find_shared_task_common()
77 return tn; in __kmp_find_shared_task_common()
168 struct private_common *tn; in __kmp_common_destroy() local
183 tn = __kmp_threadprivate_find_task_common( in __kmp_common_destroy()
[all …]
/freebsd-12-stable/lib/librt/
Dsigev_thread.c310 struct sigev_thread *tn; in sigev_thread_create() local
321 tn = malloc(sizeof(*tn)); in sigev_thread_create()
322 tn->tn_cur = NULL; in sigev_thread_create()
323 tn->tn_lwpid = -1; in sigev_thread_create()
324 tn->tn_refcount = 1; in sigev_thread_create()
325 _pthread_cond_init(&tn->tn_cv, NULL); in sigev_thread_create()
329 LIST_INSERT_HEAD(&sigev_threads, tn, tn_link); in sigev_thread_create()
339 ret = _pthread_create(&tn->tn_thread, &sigev_default_attr, in sigev_thread_create()
340 sigev_service_loop, tn); in sigev_thread_create()
345 LIST_REMOVE(tn, tn_link); in sigev_thread_create()
[all …]
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
Dtxg.c845 txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); local
850 add = (tn->tn_member[t] == 0);
852 tn->tn_member[t] = 1;
853 tn->tn_next[t] = tl->tl_head[t];
854 tl->tl_head[t] = tn;
870 txg_node_t *tn = (txg_node_t *)((char *)p + tl->tl_offset); local
875 add = (tn->tn_member[t] == 0);
882 tn->tn_member[t] = 1;
883 tn->tn_next[t] = NULL;
884 *tp = tn;
[all …]
/freebsd-12-stable/usr.sbin/cron/crontab/
Dcrontab.c506 char n[MAX_FNAME], envstr[MAX_ENVSTR], tn[MAX_FNAME]; local
519 (void) snprintf(tn, sizeof(tn), CRON_TAB(n));
521 if (!(tmp = fopen(tn, "w+"))) {
522 warn("%s", tn);
544 warnx("error while writing new crontab to %s", tn);
545 fclose(tmp); unlink(tn);
575 fclose(tmp); unlink(tn);
582 if (chown(tn, ROOT_UID, -1) < OK)
586 fclose(tmp); unlink(tn);
593 if (chmod(tn, 0600) < OK)
[all …]
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/Basic/
DBuiltins.def682 BUILTIN(__sync_fetch_and_and_1, "ccD*c.", "tn")
683 BUILTIN(__sync_fetch_and_and_2, "ssD*s.", "tn")
684 BUILTIN(__sync_fetch_and_and_4, "iiD*i.", "tn")
685 BUILTIN(__sync_fetch_and_and_8, "LLiLLiD*LLi.", "tn")
686 BUILTIN(__sync_fetch_and_and_16, "LLLiLLLiD*LLLi.", "tn")
689 BUILTIN(__sync_fetch_and_xor_1, "ccD*c.", "tn")
690 BUILTIN(__sync_fetch_and_xor_2, "ssD*s.", "tn")
691 BUILTIN(__sync_fetch_and_xor_4, "iiD*i.", "tn")
692 BUILTIN(__sync_fetch_and_xor_8, "LLiLLiD*LLi.", "tn")
693 BUILTIN(__sync_fetch_and_xor_16, "LLLiLLLiD*LLLi.", "tn")
[all …]
/freebsd-12-stable/contrib/ncurses/ncurses/tinfo/
Dread_termcap.c959 _nc_read_termcap_entry(const char *const tn, TERMTYPE *const tp) in _nc_read_termcap_entry() argument
972 TR(TRACE_DATABASE, ("read termcap entry for %s", tn)); in _nc_read_termcap_entry()
974 if (strlen(tn) == 0 in _nc_read_termcap_entry()
975 || strcmp(tn, ".") == 0 in _nc_read_termcap_entry()
976 || strcmp(tn, "..") == 0 in _nc_read_termcap_entry()
977 || _nc_pathlast(tn) != 0) { in _nc_read_termcap_entry()
978 TR(TRACE_DATABASE, ("illegal or missing entry name '%s'", tn)); in _nc_read_termcap_entry()
983 && !_nc_is_abs_path(p) && _nc_name_match(p, tn, "|:")) { in _nc_read_termcap_entry()
990 if ((status = _nc_tgetent(tc, &source, &lineno, tn)) < 0) in _nc_read_termcap_entry()
1041 } else if (_nc_name_match(tc, tn, "|:")) { /* treat as a capability file */ in _nc_read_termcap_entry()
[all …]
Dlib_setup.c464 _nc_setup_tinfo(const char *const tn, TERMTYPE *const tp) in _nc_setup_tinfo() argument
467 int status = _nc_read_entry(tn, filename, tp); in _nc_setup_tinfo()
/freebsd-12-stable/cddl/contrib/opensolaris/lib/libzfs/common/
Dlibzfs_fru.c104 libzfs_fru_gather(topo_hdl_t *thp, tnode_t *tn, void *arg) in libzfs_fru_gather() argument
118 strcmp(_topo_node_name(tn), "chassis") == 0) { in libzfs_fru_gather()
119 if (_topo_prop_get_string(tn, FM_FMRI_AUTHORITY, in libzfs_fru_gather()
128 if (strcmp(_topo_node_name(tn), "disk") != 0) in libzfs_fru_gather()
134 if (_topo_prop_get_string(tn, "io", "devfs-path", &devpath, &err) != 0) in libzfs_fru_gather()
142 if (_topo_node_fru(tn, &fru, NULL, &err) != 0) { in libzfs_fru_gather()
/freebsd-12-stable/contrib/bsnmp/snmpd/
Dtrap.c576 SLIST_FOREACH(n, &target_notifylist, tn) { in snmp_send_trap()
831 return (SLIST_NEXT(notify, tn)); in target_next_notify()
840 SLIST_FOREACH(notify, &target_notifylist, tn) in target_new_notify()
852 SLIST_INSERT_HEAD(&target_notifylist, notify, tn); in target_new_notify()
856 SLIST_FOREACH(temp, &target_notifylist, tn) { in target_new_notify()
863 SLIST_INSERT_AFTER(prev, notify, tn); in target_new_notify()
865 SLIST_INSERT_AFTER(temp, notify, tn); in target_new_notify()
878 SLIST_REMOVE(&target_notifylist, notify, target_notify, tn); in target_delete_notify()
906 SLIST_REMOVE_HEAD(&target_notifylist, tn); in target_flush_all()
/freebsd-12-stable/sbin/routed/
Dinput.c154 struct tgate_net *tn; in input() local
694 if (tg && (tn = tg->tgate_nets)->mask != 0) { in input()
695 for (i = 0; i < MAX_TGATE_NETS; i++, tn++) { in input()
696 if (on_net(dst, tn->net, tn->mask) in input()
697 && tn->mask <= mask) in input()
700 if (i >= MAX_TGATE_NETS || tn->mask == 0) { in input()
/freebsd-12-stable/sys/fs/tmpfs/
Dtmpfs_vnops.c1488 tmpfs_vptocnp_dir(struct tmpfs_node *tn, struct tmpfs_node *tnp, in tmpfs_vptocnp_dir() argument
1496 if (de->td_node == tn) { in tmpfs_vptocnp_dir()
1505 tmpfs_vptocnp_fill(struct vnode *vp, struct tmpfs_node *tn, in tmpfs_vptocnp_fill() argument
1515 error = tmpfs_vptocnp_dir(tn, tnp, &de); in tmpfs_vptocnp_fill()
1542 struct tmpfs_node *tn, *tnp, *tnp1; in tmpfs_vptocnp() local
1555 tn = VP_TO_TMPFS_NODE(vp); in tmpfs_vptocnp()
1556 if (tn->tn_type == VDIR) { in tmpfs_vptocnp()
1557 tnp = tn->tn_dir.tn_parent; in tmpfs_vptocnp()
1561 error = tmpfs_vptocnp_fill(vp, tn, tn->tn_dir.tn_parent, buf, in tmpfs_vptocnp()
1582 error = tnp->tn_vnode == NULL ? tmpfs_vptocnp_dir(tn, tnp, in tmpfs_vptocnp()
[all …]
/freebsd-12-stable/sys/dev/sym/
Dsym_hipd.c2234 static ccb_p sym_get_ccb (hcb_p np, u_char tn, u_char ln, u_char tag_order);
2237 static lcb_p sym_alloc_lcb (hcb_p np, u_char tn, u_char ln);
2238 static void sym_alloc_lcb_tags (hcb_p np, u_char tn, u_char ln);
6262 static ccb_p sym_get_ccb (hcb_p np, u_char tn, u_char ln, u_char tag_order) in sym_get_ccb() argument
6264 tcb_p tp = &np->target[tn]; in sym_get_ccb()
6285 lp = sym_alloc_lcb(np, tn, ln); in sym_get_ccb()
6314 sym_alloc_lcb_tags(np, tn, ln); in sym_get_ccb()
6370 cp->target = tn; in sym_get_ccb()
6374 PRINT_LUN(np, tn, ln); in sym_get_ccb()
6578 static lcb_p sym_alloc_lcb (hcb_p np, u_char tn, u_char ln) in sym_alloc_lcb() argument
[all …]
/freebsd-12-stable/sys/dev/ctau/
Dctddk.c377 c->tn = 0; in ct_start_chan()
435 c->tn = 0; in ct_enable_transmit()
981 while (c->tn != i) { in ct_hdlc_interrupt()
983 c->call_on_tx (c, c->attach[c->tn], in ct_hdlc_interrupt()
984 B_LEN(c->tdesc[c->tn])); in ct_hdlc_interrupt()
986 c->obytes += B_LEN(c->tdesc[c->tn]); in ct_hdlc_interrupt()
988 c->tn = (c->tn + 1) % NBUF; in ct_hdlc_interrupt()
1031 return (NBUF + c->tn - c->te - 1) % NBUF; in ct_buf_free()
1044 if (ne == c->tn) in ct_send_packet()
/freebsd-12-stable/sys/dev/amdtemp/
Damdtemp.c311 char tn[32]; in amdtemp_attach() local
494 snprintf(tn, sizeof(tn), "dev.amdtemp.%d.sensor_offset", unit); in amdtemp_attach()
495 TUNABLE_INT_FETCH(tn, &sc->sc_offset); in amdtemp_attach()
/freebsd-12-stable/crypto/heimdal/appl/telnet/
DChangeLog386 * telnet/commands.c (tn): copy the hostname so it doesn't get
477 * telnet/commands.c (tn): re-enable source routing
483 * telnet/commands.c (tn): clean-up a tiny little bit. give-up if
501 * telnet/commands.c (tn): only set tos for AF_INET. From
533 * telnet/commands.c (tn): handle ai_canonname being set in any of
602 * telnet/commands.c (tn): extra bogus const-cast
627 * telnet/commands.c (tn): use get_default_username
698 * telnet/commands.c (tn): only call gethostbyname2 with AF_INET6
716 * telnet/commands.c (tn): don't advance hostent->h_addr_list, use
733 * telnet/commands.c (tn): moved the printing of `trying...' to the
[all …]
/freebsd-12-stable/crypto/openssl/crypto/bn/
Dbn_mul.c371 bn_mul_normal(&(r[n2]), &(a[n]), tn, &(b[n]), tn); in bn_mul_part_recursive()
372 memset(&r[n2 + tn * 2], 0, sizeof(*r) * (n2 - tn * 2)); in bn_mul_part_recursive()
/freebsd-12-stable/contrib/file/magic/Magdir/
Dvicar6 # From: Ossama Othman <othman@astrosun.tn.cornell.edu
/freebsd-12-stable/sbin/init/
Dinit.c867 struct timeval tv, tn; in single_user() local
1008 tn = tv; in single_user()
1010 while (tv.tv_sec > tn.tv_sec || (tv.tv_sec == in single_user()
1011 tn.tv_sec && tv.tv_usec > tn.tv_usec)) { in single_user()
1013 gettimeofday(&tn, NULL); in single_user()
/freebsd-12-stable/sys/dev/rl/
Dif_rl.c648 char tn[32]; in rl_attach() local
655 snprintf(tn, sizeof(tn), "dev.rl.%d.twister_enable", unit); in rl_attach()
656 TUNABLE_INT_FETCH(tn, &sc->rl_twister_enable); in rl_attach()
679 snprintf(tn, sizeof(tn), "dev.rl.%d.prefer_iomap", unit); in rl_attach()
680 TUNABLE_INT_FETCH(tn, &prefer_iomap); in rl_attach()
/freebsd-12-stable/sys/contrib/ncsw/Peripherals/QM/
Dqm_portal_fqr.c973 uint32_t tmpA, tmpN, ta=0, tn=0, initFqFlag; in qm_new_fq() local
1049 tn = tmpN; in qm_new_fq()
1053 fq_opts.fqd.td.exp = tn; in qm_new_fq()
1106 tn = tmpN; in qm_new_fq()
1110 fq_opts.fqd.td.exp = tn; in qm_new_fq()
2300 uint32_t tmpA, tmpN, ta=0, tn=0; in QM_CG_Create() local
2456 tn = tmpN; in QM_CG_Create()
2461 p_Mcc->initcgr.cgr.cs_thres.Tn = tn; in QM_CG_Create()
2677 uint32_t tmpA, tmpN, ta=0, tn=0; in QM_CG_ModifyTailDropThreshold() local
2716 tn = tmpN; in QM_CG_ModifyTailDropThreshold()
[all …]
/freebsd-12-stable/crypto/heimdal/appl/telnet/telnet/
Dmain.c349 if (tn(argp - args, args) == 1) in main()
/freebsd-12-stable/contrib/telnet/telnet/
Dmain.c368 if (tn(argp - args, args) == 1) in main()
/freebsd-12-stable/contrib/tcsh/nls/french/
Dset2040 38 %s\t\tn'est pas défini\n

123