Home
last modified time | relevance | path

Searched refs:mcount (Results 1 – 25 of 71) sorted by relevance

123

/netbsd/src/lib/libc/gmon/
DMakefile.inc9 SRCS+= gmon.c mcount.c
18 COPTS.mcount.c+=${${ACTIVE_CXX} == "gcc":? -Wa,--no-warn :}
29 LINTFLAGS.mcount.c+= -X 215
35 COPTS.mcount.c+=${${ACTIVE_CXX} == "gcc":? -Wno-error=frame-address :}
37 COPTS.mcount.c+=${${ACTIVE_CC} == "clang":? -Wno-error=frame-address :}
42 mcount.po: mcount.${GMONOBJEXT}
43 cp mcount.${GMONOBJEXT} mcount.po
/netbsd/src/usr.bin/mail/
Dthread.c666 size_t mcount; in flattencmd_core() local
674 mcount = 1; in flattencmd_core()
676 mcount++; in flattencmd_core()
683 if (mcount == 1) in flattencmd_core()
686 marray = csalloc(mcount, sizeof(*marray)); in flattencmd_core()
688 for (i = 0; i < mcount; i++) { in flattencmd_core()
693 for (i = 1; i < mcount; i++) { in flattencmd_core()
781 link_array(struct key_sort_s *marray, size_t mcount) in link_array() argument
786 for (i = 0; i < mcount; i++) { in link_array()
823 thread_array(struct key_sort_s *marray, size_t mcount, int cutit) in thread_array() argument
[all …]
Dquit.c267 int mcount, p, modify, autohold, anystat, holdbit, nohold; in quit() local
427 mcount = c; in quit()
523 if (mcount == 1) in quit()
526 (void)printf("Saved %d messages in mbox\n", mcount); in quit()
/netbsd/src/sys/arch/m68k/include/
Dprofile.h44 extern void mcount(void) __asm(MCOUNT_ENTRY) \
46 void mcount(void) { \
59 extern void mcount(void) __asm("mcount"); void mcount(void) { \
/netbsd/src/external/bsd/less/dist/
Dpattern.c369 int mcount = pcre_exec(pattern, NULL, line, line_len, in match_pattern1() local
371 matched = (mcount > 0); in match_pattern1()
373 if (ecount > mcount) ecount = mcount; in match_pattern1()
392 int mcount = pcre2_match(pattern, (PCRE2_SPTR)line, line_len, in match_pattern1() local
394 matched = (mcount > 0); in match_pattern1()
400 if (ecount > mcount) ecount = mcount; in match_pattern1()
/netbsd/src/external/gpl3/gdb/dist/gdb/
Dminsyms.c1310 compact_minimal_symbols (struct minimal_symbol *msymbol, int mcount, in compact_minimal_symbols() argument
1316 if (mcount > 0) in compact_minimal_symbols()
1319 while (copyfrom < msymbol + mcount - 1) in compact_minimal_symbols()
1337 mcount = copyto - msymbol; in compact_minimal_symbols()
1339 return (mcount); in compact_minimal_symbols()
1379 int mcount = objfile->per_bfd->minimal_symbol_count; in build_minimal_symbol_hash_tables() local
1382 i < mcount; in build_minimal_symbol_hash_tables()
1405 int mcount; in install() local
1441 mcount = m_objfile->per_bfd->minimal_symbol_count; in install()
1445 memcpy (&msymbols[mcount], &bunch->contents[0], in install()
[all …]
/netbsd/src/sys/arch/i386/include/
Dprofile.h42 #define MCOUNT_COMPAT __weak_alias(mcount, __mcount)
56 extern void mcount(void) __asm(MCOUNT_ENTRY) \
59 mcount(void) \
Dasm.h152 #define MCOUNT_ASM call _C_LABEL(mcount)
168 pushl %ebp; movl %esp,%ebp; call PIC_PLT(mcount); popl %ebp
/netbsd/src/sys/arch/ia64/include/
Dprofile.h31 #define _MCOUNT_DECL void mcount
32 #define _MCOUNT_FUNC mcount
/netbsd/src/sys/arch/alpha/include/
Dprofile.h44 #define _MCOUNT_DECL void mcount
45 #define _MCOUNT_FUNC mcount
/netbsd/src/sys/arch/aarch64/include/
Dprofile.h34 #define _MCOUNT_DECL void mcount
76 __asm("bl " ___STRING(_C_LABEL(mcount))); \
/netbsd/src/crypto/external/bsd/openssl/dist/crypto/
Dmem.c85 void CRYPTO_get_alloc_counts(int *mcount, int *rcount, int *fcount) in CRYPTO_get_alloc_counts() argument
87 if (mcount != NULL) in CRYPTO_get_alloc_counts()
88 *mcount = LOAD(malloc_count); in CRYPTO_get_alloc_counts()
/netbsd/src/games/rogue/
Duse.c438 short mcount = 0; in hold_monster() local
454 mcount++; in hold_monster()
458 if (mcount == 0) { in hold_monster()
460 } else if (mcount == 1) { in hold_monster()
/netbsd/src/usr.bin/grep/
Dgrep.c108 unsigned long long mcount; /* count for -m */ variable
516 mcount = strtoull(optarg, &ep, 10); in main()
517 if (((errno == ERANGE) && (mcount == ULLONG_MAX)) || in main()
518 ((errno == EINVAL) && (mcount == 0))) in main()
Dutil.c196 if (mflag && (mcount <= 0)) in procfile()
250 mcount -= t; in procfile()
251 if (mcount <= 0) in procfile()
Dgrep.h122 extern unsigned long long Aflag, Bflag, mcount;
/netbsd/src/sys/arch/hppa/include/
Dprofile.h37 #define _MCOUNT_FUNC mcount
/netbsd/src/sys/arch/sh3/include/
Dprofile.h32 #define _MCOUNT_DECL static void mcount
/netbsd/src/lib/libc/compat/arch/i386/sys/
Dcompat___sigreturn14.S53 #define MCOUNT_SYMBOL mcount
Dcompat_sigreturn.S53 #define MCOUNT_SYMBOL mcount
/netbsd/src/sys/arch/newsmips/apbus/
Dif_sn.c625 int mcount = 0; in camprogram() local
632 camentry(sc, mcount, CLLADDR(ifp->if_sadl)); in camprogram()
633 mcount++; in camprogram()
642 if (mcount == MAXCAM) { in camprogram()
661 camentry(sc, mcount, enm->enm_addrlo); in camprogram()
662 mcount++; in camprogram()
/netbsd/src/sys/arch/sparc/include/
Dasm.h136 .text; save %sp,-CC64FSZ,%sp; sethi %hi(1b),%o0; call mcount; \
141 .text; save %sp,-96,%sp; sethi %hi(1b),%o0; call mcount; \
/netbsd/src/sys/arch/amd64/include/
Dprofile.h51 __weak_alias(mcount, __mcount) \
/netbsd/src/external/gpl3/gcc/dist/libgcc/config/sh/
Dcrt1.S145 ! Therefore, only mcount itself may not have the extra header.
170 # stop mcount counting
284 ! Now we need to call mcount with the following convention
312 ! only call mcount if profiling is enabled
317 ! call mcount
/netbsd/src/external/bsd/ntp/dist/ntpd/
Drefclock_wwv.c1401 static int mcount; /* longest run end time */ in wwv_endpoc() local
1477 mcount = scount; in wwv_endpoc()
1513 mcount = scount; in wwv_endpoc()
1519 mcount = scount; in wwv_endpoc()
1546 up->freq += (dtemp / 2.) / ((mcount - zcount) * in wwv_endpoc()
1577 up->avgint, maxrun, mcount - zcount, dtemp, in wwv_endpoc()
1591 zcount = mcount; in wwv_endpoc()

123