/netbsd-src/lib/libc/gmon/ |
H A D | Makefile.inc | 9 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/ |
H A D | thread.c | 666 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 …]
|
H A D | quit.c | 267 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/ |
H A D | profile.h | 44 extern void mcount(void) __asm(MCOUNT_ENTRY) \ 46 void mcount(void) { \ 59 extern void mcount(void) __asm("mcount"); void mcount(void) { \
|
/netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/ |
H A D | rdataslab.c | 754 unsigned int mcount, scount, rcount, count, tlength, tcount, i; in dns_rdataslab_subtract() local 767 mcount = *mcurrent++ * 256; in dns_rdataslab_subtract() 768 mcount += *mcurrent++; in dns_rdataslab_subtract() 772 INSIST(mcount > 0 && scount > 0); in dns_rdataslab_subtract() 786 mcurrent += 4 * mcount; in dns_rdataslab_subtract() 795 for (i = 0; i < mcount; i++) { in dns_rdataslab_subtract() 854 offsettable = isc_mem_get(mctx, mcount * sizeof(unsigned int)); in dns_rdataslab_subtract() 855 memset(offsettable, 0, mcount * sizeof(unsigned int)); in dns_rdataslab_subtract() 872 mcount = *mcurrent++ * 256; in dns_rdataslab_subtract() 873 mcount += *mcurrent++; in dns_rdataslab_subtract() [all …]
|
/netbsd-src/external/mpl/bind/dist/lib/dns/ |
H A D | rdataslab.c | 793 unsigned int mcount, scount, rcount, count, tlength, tcount, i; in dns_rdataslab_subtract() 806 mcount = get_uint16(mcurrent); in dns_rdataslab_subtract() 809 INSIST(mcount > 0 && scount > 0); in dns_rdataslab_subtract() 823 mcurrent += 4 * mcount; in dns_rdataslab_subtract() 832 for (i = 0; i < mcount; i++) { in dns_rdataslab_subtract() 891 offsettable = isc_mem_cget(mctx, mcount, sizeof(unsigned int)); in dns_rdataslab_subtract() 908 mcount = get_uint16(mcurrent); in dns_rdataslab_subtract() 910 mcurrent += (4 * mcount); in dns_rdataslab_subtract() 912 for (i = 0; i < mcount; i++) { in dns_rdataslab_subtract() 916 INSIST(order < mcount); in dns_rdataslab_subtract() 754 unsigned int mcount, scount, rcount, count, tlength, tcount, i; dns_rdataslab_subtract() local [all...] |
/netbsd-src/external/bsd/less/dist/ |
H A D | pattern.c | 369 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/sys/arch/i386/include/ |
H A D | profile.h | 42 #define MCOUNT_COMPAT __weak_alias(mcount, __mcount) 56 extern void mcount(void) __asm(MCOUNT_ENTRY) \ 59 mcount(void) \
|
H A D | asm.h | 152 #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/ |
H A D | profile.h | 31 #define _MCOUNT_DECL void mcount 32 #define _MCOUNT_FUNC mcount
|
/netbsd-src/sys/arch/alpha/include/ |
H A D | profile.h | 44 #define _MCOUNT_DECL void mcount 45 #define _MCOUNT_FUNC mcount
|
/netbsd-src/sys/arch/aarch64/include/ |
H A D | profile.h | 34 #define _MCOUNT_DECL void mcount 76 __asm("bl " ___STRING(_C_LABEL(mcount))); \
|
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/ |
H A D | mem.c | 85 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/crypto/external/bsd/openssl.old/dist/crypto/ |
H A D | mem.c | 98 void CRYPTO_get_alloc_counts(int *mcount, int *rcount, int *fcount) in CRYPTO_get_alloc_counts() argument 100 if (mcount != NULL) in CRYPTO_get_alloc_counts() 101 *mcount = tsan_load(&malloc_count); in CRYPTO_get_alloc_counts()
|
/netbsd-src/games/rogue/ |
H A D | use.c | 438 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/ |
H A D | grep.c | 108 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()
|
H A D | util.c | 196 if (mflag && (mcount <= 0)) in procfile() 250 mcount -= t; in procfile() 251 if (mcount <= 0) in procfile()
|
/netbsd-src/sys/arch/hppa/include/ |
H A D | profile.h | 37 #define _MCOUNT_FUNC mcount
|
/netbsd-src/sys/arch/sh3/include/ |
H A D | profile.h | 32 #define _MCOUNT_DECL static void mcount
|
/netbsd-src/sys/arch/sparc/include/ |
H A D | asm.h | 136 .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/lib/libc/compat/arch/i386/sys/ |
H A D | compat___sigreturn14.S | 53 #define MCOUNT_SYMBOL mcount
|
H A D | compat_sigreturn.S | 53 #define MCOUNT_SYMBOL mcount
|
/netbsd-src/sys/arch/newsmips/apbus/ |
H A D | if_sn.c | 625 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/amd64/include/ |
H A D | profile.h | 51 __weak_alias(mcount, __mcount) \
|
/netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/sh/ |
H A D | crt1.S | 145 ! 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
|