/freebsd/crypto/openssl/test/recipes/10-test_bn_data/ |
H A D | bnmod.txt | 8 # These test vectors satisfy A * B = ModMul (mod M) and 0 <= ModMul < M. 16 M = c462c7cdd79b7604246a0cd97c017700feb25908656b4733353af8119ecfa0212e4bd24304edd566adb5c1e9daa4089… 21 M = c462c7cdd79b7604246a0cd97c017700feb25908656b4733353af8119ecfa0212e4bd24304edd566adb5c1e9daa4089… 26 M = c462c7cdd79b7604246a0cd97c017700feb25908656b4733353af8119ecfa0212e4bd24304edd566adb5c1e9daa4089… 31 M = c462c7cdd79b7604246a0cd97c017700feb25908656b4733353af8119ecfa0212e4bd24304edd566adb5c1e9daa4089… 36 M = c462c7cdd79b7604246a0cd97c017700feb25908656b4733353af8119ecfa0212e4bd24304edd566adb5c1e9daa4089… 41 M = c462c7cdd79b7604246a0cd97c017700feb25908656b4733353af8119ecfa0212e4bd24304edd566adb5c1e9daa4089… 46 M = c462c7cdd79b7604246a0cd97c017700feb25908656b4733353af8119ecfa0212e4bd24304edd566adb5c1e9daa4089… 51 M = c462c7cdd79b7604246a0cd97c017700feb25908656b4733353af8119ecfa0212e4bd24304edd566adb5c1e9daa4089… 56 M = c462c7cdd79b7604246a0cd97c017700feb25908656b4733353af8119ecfa0212e4bd24304edd566adb5c1e9daa4089… [all …]
|
/freebsd/contrib/bsddialog/lib/ |
H A D | menubox.c | 89 build_privatemenu(struct bsddialog_conf *conf, struct privatemenu *m, in build_privatemenu() argument 102 m->nitems = 0; in build_privatemenu() 105 m->nitems += (int)groups[i].nitems; in build_privatemenu() 109 m->pritems = calloc(m->nitems, sizeof (struct privateitem)); in build_privatemenu() 110 if (m->pritems == NULL) in build_privatemenu() 112 m->hasbottomdesc = false; in build_privatemenu() 118 pritem = &m->pritems[abs]; in build_privatemenu() 121 m->pritems[abs].on = false; in build_privatemenu() 123 m in build_privatemenu() 181 set_return_on(struct privatemenu * m,struct bsddialog_menugroup * groups) set_return_on() argument 299 drawseparators(struct bsddialog_conf * conf,struct privatemenu * m) drawseparators() argument 330 drawitem(struct bsddialog_conf * conf,struct privatemenu * m,int y,bool focus) drawitem() argument 397 update_menubox(struct bsddialog_conf * conf,struct privatemenu * m) update_menubox() argument 420 menu_size_position(struct dialog * d,struct privatemenu * m) menu_size_position() argument 457 mixedlist_redraw(struct dialog * d,struct privatemenu * m) mixedlist_redraw() argument 509 struct privatemenu m; do_mixedlist() local [all...] |
/freebsd/contrib/libarchive/libarchive/test/ |
H A D | test_archive_match_path.c | 32 struct archive *m; in test_exclusion_mbs() 34 if (!assert((m = archive_match_new()) != NULL)) in test_exclusion_mbs() 37 archive_match_free(m); in test_exclusion_mbs() 42 assertEqualIntA(m, 0, archive_match_exclude_pattern(m, "^aa*")); in test_exclusion_mbs() 47 assertEqualInt(1, archive_match_path_excluded(m, ae)); in test_exclusion_mbs() 48 assertEqualInt(1, archive_match_excluded(m, ae)); in test_exclusion_mbs() 52 assertEqualInt(1, archive_match_path_excluded(m, ae)); in test_exclusion_mbs() 53 assertEqualInt(1, archive_match_excluded(m, ae)); in test_exclusion_mbs() 58 assertEqualInt(0, archive_match_path_excluded(m, a in test_exclusion_mbs() 33 struct archive *m; test_exclusion_mbs() local 76 struct archive *m; test_exclusion_wcs() local 116 exclusion_from_file(struct archive * m) exclusion_from_file() argument 176 struct archive *m; test_exclusion_from_file_mbs() local 201 struct archive *m; test_exclusion_from_file_wcs() local 227 struct archive *m; test_inclusion_mbs() local 276 struct archive *m; test_inclusion_wcs() local 324 struct archive *m; test_inclusion_from_file_mbs() local 348 struct archive *m; test_inclusion_from_file_wcs() local 375 struct archive *m; test_exclusion_and_inclusion() local [all...] |
H A D | test_archive_match_owner.c | 32 struct archive *m; in test_uid() 34 if (!assert((m = archive_match_new()) != NULL)) in test_uid() 37 archive_match_free(m); in test_uid() 41 assertEqualIntA(m, 0, archive_match_include_uid(m, 1000)); in test_uid() 42 assertEqualIntA(m, 0, archive_match_include_uid(m, 1002)); in test_uid() 46 assertEqualInt(1, archive_match_owner_excluded(m, ae)); in test_uid() 47 assertEqualInt(1, archive_match_excluded(m, ae)); in test_uid() 50 assertEqualInt(0, archive_match_owner_excluded(m, a in test_uid() 33 struct archive *m; test_uid() local 75 struct archive *m; test_gid() local 117 struct archive *m; test_uname_mbs() local 159 struct archive *m; test_uname_wcs() local 201 struct archive *m; test_gname_mbs() local 243 struct archive *m; test_gname_wcs() local [all...] |
H A D | test_archive_match_time.c | 34 struct archive *m; in test_newer_time() local 36 if (!assert((m = archive_match_new()) != NULL)) in test_newer_time() 39 archive_match_free(m); in test_newer_time() 43 assertEqualIntA(m, 0, archive_match_include_time(m, in test_newer_time() 51 assertEqualInt(1, archive_match_time_excluded(m, ae)); in test_newer_time() 52 assertEqualInt(1, archive_match_excluded(m, ae)); in test_newer_time() 56 assertEqualInt(1, archive_match_time_excluded(m, ae)); in test_newer_time() 57 assertEqualInt(1, archive_match_excluded(m, ae)); in test_newer_time() 62 assertEqualInt(0, archive_match_time_excluded(m, ae)); in test_newer_time() 63 assertEqualInt(0, archive_match_excluded(m, ae)); in test_newer_time() [all …]
|
/freebsd/sys/dev/sound/midi/ |
H A D | midi.c | 125 struct snd_midi *m; member 295 struct snd_midi *m; in midi_init() local 307 TAILQ_FOREACH(m, &midi_devs, link) { in midi_init() 308 mtx_lock(&m->lock); in midi_init() 310 if (m->unit == unit && m->channel == channel) { in midi_init() 311 mtx_unlock(&m->lock); in midi_init() 318 if (m->unit > i) in midi_init() 319 i = m->unit; in midi_init() 321 mtx_unlock(&m->lock); in midi_init() 328 m = malloc(sizeof(*m), M_MIDI, M_WAITOK | M_ZERO); in midi_init() [all …]
|
H A D | mpu401.c | 68 #define CMD(m,d) MPUFOI_WRITE(m, m->cookie, MPU_CMDPORT,d) argument 69 #define STATUS(m) MPUFOI_READ(m, m->cookie, MPU_STATPORT) argument 70 #define READ(m) MPUFOI_READ(m, m->cookie, MPU_DATAPORT) argument 71 #define WRITE(m, argument 111 struct mpu401 *m = (struct mpu401 *)a; mpu401_timeout() local 118 mpu401_intr(struct mpu401 * m) mpu401_intr() argument 128 RXRDY(m) mpu401_intr() argument 129 TXRDY(m) mpu401_intr() argument 177 struct mpu401 *m; mpu401_init() local 205 mpu401_uninit(struct mpu401 * m) mpu401_uninit() argument 220 struct mpu401 *m = arg; mpu401_minit() local 244 struct mpu401 *m = arg; mpu401_muninit() local 264 struct mpu401 *m = arg; mpu401_mcallback() local 293 mpu401_mprovider(struct snd_midi * m,void * arg) mpu401_mprovider() argument [all...] |
/freebsd/contrib/googletest/googlemock/include/gmock/ |
H A D | gmock-function-mocker.h | 73 template <size_t N, size_t M> 74 constexpr bool StartsWith(const char (&prefix)[N], const char (&str)[M]) { in StartsWith() argument 75 return N <= M && internal::PrefixOf(prefix, str); in StartsWith() 78 template <size_t N, size_t M> 79 constexpr bool EndsWith(const char (&suffix)[N], const char (&str)[M]) { in EndsWith() argument 80 return N <= M && internal::PrefixOf(suffix, str + M - N); in EndsWith() 83 template <size_t N, size_t M> 84 constexpr bool Equals(const char (&a)[N], const char (&b)[M]) { in Equals() argument 85 return N == M && internal::PrefixOf(a, b); in Equals() 357 #define MOCK_METHOD0(m, ...) GMOCK_INTERNAL_MOCK_METHODN(, , m, 0, __VA_ARGS__) argument [all …]
|
/freebsd/lib/libthr/thread/ |
H A D | thr_mutex.c | 81 static int mutex_qidx(struct pthread_mutex *m); 82 static bool is_robust_mutex(struct pthread_mutex *m); 83 static bool is_pshared_mutex(struct pthread_mutex *m); 120 mutex_init_link(struct pthread_mutex *m __unused) in mutex_init_link() 124 m->m_qe.tqe_prev = NULL; in mutex_init_link() 125 m->m_qe.tqe_next = NULL; in mutex_init_link() 126 m->m_pqe.tqe_prev = NULL; in mutex_init_link() 127 m->m_pqe.tqe_next = NULL; in mutex_init_link() 132 mutex_assert_is_owned(struct pthread_mutex *m __unused) in mutex_assert_is_owned() 136 if (__predict_false(m->m_qe.tqe_prev == NULL)) in mutex_assert_is_owned() [all …]
|
/freebsd/sys/crypto/ |
H A D | sha1.c | 69 #define W(n) (ctxt->m.b32[(n)]) 72 ctxt->m.b8[(COUNT % 64)] = (x); \ 81 ctxt->m.b8[(COUNT % 64)] = (x); \ 99 bcopy(&ctxt->m.b8[0], &tctxt.m.b8[0], 64); in sha1_step() 100 ctxt->m.b8[0] = tctxt.m.b8[3]; ctxt->m.b8[1] = tctxt.m.b8[2]; in sha1_step() 101 ctxt->m.b8[2] = tctxt.m.b8[1]; ctxt->m.b8[3] = tctxt.m.b8[0]; in sha1_step() 102 ctxt->m.b8[4] = tctxt.m.b8[7]; ctxt->m.b8[5] = tctxt.m.b8[6]; in sha1_step() 103 ctxt->m.b8[6] = tctxt.m.b8[5]; ctxt->m.b8[7] = tctxt.m.b8[4]; in sha1_step() 104 ctxt->m.b8[8] = tctxt.m.b8[11]; ctxt->m.b8[9] = tctxt.m.b8[10]; in sha1_step() 105 ctxt->m.b8[10] = tctxt.m.b8[9]; ctxt->m.b8[11] = tctxt.m.b8[8]; in sha1_step() [all …]
|
/freebsd/sys/kern/ |
H A D | kern_mutex.c | 93 #define mtx_unowned(m) ((m)->mtx_lock == MTX_UNOWNED) argument 95 #define mtx_destroyed(m) ((m)->mtx_lock == MTX_DESTROYED) argument 240 struct mtx *m; in unlock_mtx() local 242 m = (struct mtx *)lock; in unlock_mtx() 243 mtx_assert(m, MA_OWNED | MA_NOTRECURSED); in unlock_mtx() 244 mtx_unlock(m); in unlock_mtx() 251 struct mtx *m; in unlock_spin() local 253 m = (struct mtx *)lock; in unlock_spin() 254 mtx_assert(m, MA_OWNED | MA_NOTRECURSED); in unlock_spin() 255 mtx_unlock_spin(m); in unlock_spin() [all …]
|
H A D | uipc_sockbuf.c | 74 static void sbcompress_ktls_rx(struct sockbuf *sb, struct mbuf *m, 84 sbm_clrprotoflags(struct mbuf *m, int flags) in sbm_clrprotoflags() argument 91 while (m) { in sbm_clrprotoflags() 92 m->m_flags &= mask; in sbm_clrprotoflags() 93 m = m->m_next; in sbm_clrprotoflags() 109 struct mbuf *m, *n; in sbready_compress() local 117 for (m = m0; m != end; m = m->m_next) { in sbready_compress() 118 MPASS((m->m_flags & M_NOTREADY) == 0); in sbready_compress() 121 * socket buffer and 'm' is the new mbuf being copied in sbready_compress() 123 * are reversed and 'n' is the next mbuf after 'm' in sbready_compress() [all …]
|
H A D | uipc_mbuf.c | 234 * Attach the cluster from *m to *n, set up m_ext in *n 238 mb_dupcl(struct mbuf *n, struct mbuf *m) in mb_dupcl() argument 242 KASSERT(m->m_flags & (M_EXT | M_EXTPG), in mb_dupcl() 243 ("%s: M_EXT | M_EXTPG not set on %p", __func__, m)); in mb_dupcl() 259 if (m->m_flags & M_EXTPG) { in mb_dupcl() 260 bcopy(&m->m_epg_startcopy, &n->m_epg_startcopy, in mb_dupcl() 262 bcopy(&m->m_ext, &n->m_ext, m_epg_ext_copylen); in mb_dupcl() 263 } else if (m->m_ext.ext_type == EXT_EXTREF) in mb_dupcl() 264 bcopy(&m->m_ext, &n->m_ext, sizeof(struct m_ext)); in mb_dupcl() 266 bcopy(&m->m_ext, &n->m_ext, m_ext_copylen); in mb_dupcl() [all …]
|
H A D | kern_mbuf.c | 438 struct mbuf *m; in dn_buf_import() local 444 m = mbufq_dequeue(q); in dn_buf_import() 445 if (m == NULL) in dn_buf_import() 447 trash_init(m, q == &dn_mbufq ? MSIZE : dn_clsize, flags); in dn_buf_import() 448 store[i] = m; in dn_buf_import() 459 struct mbuf *m; in dn_buf_release() local 465 m = store[i]; in dn_buf_release() 466 (void)mbufq_enqueue(q, m); in dn_buf_release() 474 struct mbuf *m; in dn_pack_import() local 479 m = m_get(M_NOWAIT, MT_DATA); in dn_pack_import() [all …]
|
/freebsd/sys/vm/ |
H A D | vm_page.c | 168 static void vm_page_alloc_check(vm_page_t m); 170 static bool _vm_page_busy_sleep(vm_object_t obj, vm_page_t m, 172 static void vm_page_clear_dirty_mask(vm_page_t m, vm_page_bits_t pagebits); 173 static void vm_page_enqueue(vm_page_t m, uint8_t queue); 174 static bool vm_page_free_prep(vm_page_t m); 175 static void vm_page_free_toq(vm_page_t m); 177 static void vm_page_insert_radixdone(vm_page_t m, vm_object_t object); 178 static void vm_page_mvqueue(vm_page_t m, const uint8_t queue, 182 static void vm_page_release_toq(vm_page_t m, uint8_t nqueue, bool noreuse); 334 vm_page_t m; in vm_page_blacklist_add() local [all …]
|
/freebsd/sys/dev/mlx5/mlx5_en/ |
H A D | en.h | 170 #define MLX5E_VPORT_STATS(m) \ argument 172 m(+1, u64, rx_packets, "rx_packets", "Received packets") \ 173 m(+1, u64, rx_bytes, "rx_bytes", "Received bytes") \ 174 m(+1, u64, tx_packets, "tx_packets", "Transmitted packets") \ 175 m(+1, u64, tx_bytes, "tx_bytes", "Transmitted bytes") \ 176 m(+1, u64, rx_error_packets, "rx_error_packets", "Received error packets") \ 177 m(+1, u64, rx_error_bytes, "rx_error_bytes", "Received error bytes") \ 178 m(+1, u64, tx_error_packets, "tx_error_packets", "Transmitted error packets") \ 179 m(+1, u64, tx_error_bytes, "tx_error_bytes", "Transmitted error bytes") \ 180 m(+1, u64, rx_unicast_packets, "rx_unicast_packets", "Received unicast packets") \ [all …]
|
/freebsd/contrib/googletest/googletest/test/ |
H A D | googletest-output-test-golden-lin.txt | 15 [0;32m[==========] [mRunning 90 tests from 43 test suites. 16 [0;32m[----------] [mGlobal test environment set-up. 19 [0;32m[----------] [m1 test from ADeathTest 20 [0;32m[ RUN ] [mADeathTest.ShouldRunFirst 21 [0;32m[ OK ] [mADeathTest.ShouldRunFirst 22 [0;32m[----------] [m1 test from ATypedDeathTest/0, where TypeParam = int 23 [0;32m[ RUN ] [mATypedDeathTest/0.ShouldRunFirst 24 [0;32m[ OK ] [mATypedDeathTest/0.ShouldRunFirst 25 [0;32m[----------] [m1 test from ATypedDeathTest/1, where TypeParam = double 26 [0;32m[ RUN ] [mATypedDeathTest/1.ShouldRunFirst [all …]
|
/freebsd/contrib/tcsh/ |
H A D | ed.defns.c | 312 F_NEWLINE, /* ^M */ 376 F_INSERT, /* M */ 408 F_INSERT, /* m */ 427 F_UNASSIGNED, /* M-^@ */ 428 F_UNASSIGNED, /* M-^A */ 429 F_UNASSIGNED, /* M-^B */ 430 F_UNASSIGNED, /* M-^C */ 431 F_LIST_CHOICES, /* M-^D */ 432 F_UNASSIGNED, /* M-^E */ 433 F_UNASSIGNED, /* M-^F */ [all …]
|
/freebsd/sys/dev/mlx5/ |
H A D | diagnostics.h | 40 #define MLX5_CORE_PCI_DIAGNOSTICS(m) \ argument 41 m(+1, pxd_ready_bp, 0x0401) \ 42 m(+1, pci_write_bp, 0x0402) \ 43 m(+1, pci_read_bp, 0x0403) \ 44 m(+1, pci_read_stuck_no_completion_buffer, 0x0404) \ 45 m(+1, max_pci_bw, 0x0405) \ 46 m(+1, used_pci_bw, 0x0406) \ 47 m(+1, rx_pci_errors, 0) \ 48 m(+1, tx_pci_errors, 0) \ 49 m(+1, tx_pci_correctable_errors, 0) \ [all …]
|
/freebsd/sys/dev/sound/pcm/ |
H A D | mixer.c | 143 mixer_set_softpcmvol(struct snd_mixer *m, struct snddev_info *d, in mixer_set_softpcmvol() argument 152 if (mtx_owned(m->lock)) in mixer_set_softpcmvol() 169 MIXER_SET_UNLOCK(m, dropmtx); in mixer_set_softpcmvol() 182 MIXER_SET_LOCK(m, dropmtx); in mixer_set_softpcmvol() 188 mixer_set_eq(struct snd_mixer *m, struct snddev_info *d, in mixer_set_eq() argument 205 if (mtx_owned(m->lock)) in mixer_set_eq() 222 MIXER_SET_UNLOCK(m, dropmtx); in mixer_set_eq() 234 MIXER_SET_LOCK(m, dropmtx); in mixer_set_eq() 240 mixer_set(struct snd_mixer *m, u_int dev, u_int32_t muted, u_int lev) in mixer_set() argument 248 if (m == NULL || dev >= SOUND_MIXER_NRDEVICES || in mixer_set() [all …]
|
/freebsd/contrib/libedit/ |
H A D | map.c | 83 /* 13 */ ED_NEWLINE, /* ^M */ 147 /* 77 */ ED_INSERT, /* M */ 179 /* 109 */ ED_INSERT, /* m */ 198 /* 128 */ ED_UNASSIGNED, /* M-^@ */ 199 /* 129 */ ED_UNASSIGNED, /* M-^A */ 200 /* 130 */ ED_UNASSIGNED, /* M-^B */ 201 /* 131 */ ED_UNASSIGNED, /* M-^C */ 202 /* 132 */ ED_UNASSIGNED, /* M-^D */ 203 /* 133 */ ED_UNASSIGNED, /* M-^E */ 204 /* 134 */ ED_UNASSIGNED, /* M-^F */ [all …]
|
/freebsd/crypto/openssh/ |
H A D | monitor_wrap.c | 156 mm_request_send(int sock, enum monitor_reqtype type, struct sshbuf *m) in mm_request_send() argument 158 size_t mlen = sshbuf_len(m); in mm_request_send() 168 atomicio(vwrite, sock, sshbuf_mutable_ptr(m), mlen) != mlen) { in mm_request_send() 179 mm_request_receive(int sock, struct sshbuf *m) in mm_request_receive() argument 198 sshbuf_reset(m); in mm_request_receive() 199 if ((r = sshbuf_reserve(m, msg_len, &p)) != 0) in mm_request_receive() 211 mm_request_receive_expect(int sock, enum monitor_reqtype type, struct sshbuf *m) in mm_request_receive_expect() argument 218 mm_request_receive(sock, m); in mm_request_receive_expect() 219 if ((r = sshbuf_get_u8(m, &rtype)) != 0) in mm_request_receive_expect() 232 struct sshbuf *m; in mm_choose_dh() local [all …]
|
/freebsd/crypto/openssl/test/recipes/04-test_pem_reading_data/ |
H A D | cert-onecolumn.pem | 2 M 65 M 75 m 93 M 103 m 190 M 234 M 255 m 281 M 307 m [all …]
|
/freebsd/contrib/wpa/src/eap_peer/ |
H A D | eap_methods.c | 33 struct eap_method *m; in eap_peer_get_eap_method() local 34 for (m = eap_methods; m; m = m->next) { in eap_peer_get_eap_method() 35 if (m->vendor == vendor && m->method == method) in eap_peer_get_eap_method() 36 return m; in eap_peer_get_eap_method() 53 struct eap_method *m; in eap_peer_get_type() local 54 for (m = eap_methods; m; m = m->next) { in eap_peer_get_type() 55 if (os_strcmp(m->name, name) == 0) { in eap_peer_get_type() 56 *vendor = m->vendor; in eap_peer_get_type() 57 return m->method; in eap_peer_get_type() 76 struct eap_method *m; in eap_get_name() local [all …]
|
/freebsd/crypto/heimdal/lib/krb5/ |
H A D | mcache.c | 69 krb5_mcache *m, *m_c; in mcc_alloc() local 72 ALLOC(m, 1); in mcc_alloc() 73 if(m == NULL) in mcc_alloc() 76 ret = asprintf(&m->name, "%p", m); in mcc_alloc() 78 m->name = strdup(name); in mcc_alloc() 79 if(ret < 0 || m->name == NULL) { in mcc_alloc() 80 free(m); in mcc_alloc() 86 if (strcmp(m->name, m_c->name) == 0) in mcc_alloc() 89 free(m->name); in mcc_alloc() 90 free(m); in mcc_alloc() [all …]
|