Home
last modified time | relevance | path

Searched refs:lm (Results 1 – 25 of 584) sorted by relevance

12345678910>>...24

/netbsd-src/tests/lib/lua/libm/
H A Dlualibm.lua3 local lm = require("libm")
16 test("M_E", lm.M_E);
17 test("M_LOG2E", lm.M_LOG2E)
18 test("M_LOG10E", lm.M_LOG10E)
19 test("M_LN2", lm.M_LN2)
20 test("M_LN10", lm.M_LN10)
21 test("M_PI", lm.M_PI)
22 test("M_PI_2", lm.M_PI_2)
23 test("M_PI_4", lm.M_PI_4)
24 test("M_1_PI", lm.M_1_PI)
[all …]
/netbsd-src/external/gpl3/binutils/dist/gprofng/src/
H A DPRBTree.cc59 PRBTree::LMap::LMap (const LMap& lm) in LMap() argument
61 key = lm.key; in LMap()
62 item = lm.item; in LMap()
63 color = lm.color; in LMap()
64 parent = lm.parent; in LMap()
88 LMap *lm = mlist; in ~PRBTree() local
90 delete lm; in ~PRBTree()
103 for (LMap *lm = mlist; lm; lm = lm->next) in values() local
104 vals->append (lm->item); in values()
112 LMap *lm = new LMap (key, item); in rb_new_node() local
[all …]
H A DPRBTree.h80 LMap (const LMap& lm);
94 LMap *rb_new_node (LMap *lm);
95 LMap *rb_copy_node (LMap *lm, Direction d);
96 LMap *rb_fix_chld (LMap *prnt, LMap *lm, Direction d);
100 static LMap *rb_child (LMap *lm, Direction d, Time_t ts);
101 static Direction rb_which_chld (LMap *lm);
102 static LMap *rb_neighbor (LMap *lm, Time_t ts);
/netbsd-src/external/gpl3/binutils.old/dist/gprofng/src/
H A DPRBTree.cc59 PRBTree::LMap::LMap (const LMap& lm) in LMap() argument
61 key = lm.key; in LMap()
62 item = lm.item; in LMap()
63 color = lm.color; in LMap()
64 parent = lm.parent; in LMap()
88 LMap *lm = mlist; in ~PRBTree() local
90 delete lm; in ~PRBTree()
103 for (LMap *lm = mlist; lm; lm = lm->next) in values() local
104 vals->append (lm->item); in values()
112 LMap *lm = new LMap (key, item); in rb_new_node() local
[all …]
H A DPRBTree.h80 LMap (const LMap& lm);
94 LMap *rb_new_node (LMap *lm);
95 LMap *rb_copy_node (LMap *lm, Direction d);
96 LMap *rb_fix_chld (LMap *prnt, LMap *lm, Direction d);
100 static LMap *rb_child (LMap *lm, Direction d, Time_t ts);
101 static Direction rb_which_chld (LMap *lm);
102 static LMap *rb_neighbor (LMap *lm, Time_t ts);
/netbsd-src/sys/dev/ic/
H A Dlm700x.c69 lm700x_hardware_write(struct lm700x_t *lm, u_int32_t data, u_int32_t addon) in lm700x_hardware_write() argument
73 lm->init(lm->iot, lm->ioh, lm->offset, lm->rsetdata | addon); in lm700x_hardware_write()
77 bus_space_write_1(lm->iot, lm->ioh, lm->offset, in lm700x_hardware_write()
78 lm->wocl | addon); in lm700x_hardware_write()
80 bus_space_write_1(lm->iot, lm->ioh, lm->offset, in lm700x_hardware_write()
81 lm->woch | addon); in lm700x_hardware_write()
83 bus_space_write_1(lm->iot, lm->ioh, lm->offset, in lm700x_hardware_write()
84 lm->wocl | addon); in lm700x_hardware_write()
86 bus_space_write_1(lm->iot, lm->ioh, lm->offset, in lm700x_hardware_write()
87 lm->wzcl | addon); in lm700x_hardware_write()
[all …]
/netbsd-src/sys/dev/isa/
H A Dradiotrack.c114 struct lm700x_t lm; member
180 sc->lm.iot = ia->ia_iot; in rt_attach()
188 if (bus_space_map(sc->lm.iot, ia->ia_io[0].ir_addr, in rt_attach()
189 ia->ia_io[0].ir_size, 0, &sc->lm.ioh)) in rt_attach()
212 sc->lm.offset = 0; in rt_attach()
213 sc->lm.wzcl = RT_WREN_ON | RT_CLCK_OFF | RT_DATA_OFF; in rt_attach()
214 sc->lm.wzch = RT_WREN_ON | RT_CLCK_ON | RT_DATA_OFF; in rt_attach()
215 sc->lm.wocl = RT_WREN_ON | RT_CLCK_OFF | RT_DATA_ON; in rt_attach()
216 sc->lm.woch = RT_WREN_ON | RT_CLCK_ON | RT_DATA_ON; in rt_attach()
217 sc->lm.initdata = 0; in rt_attach()
[all …]
H A Daztech.c101 struct lm700x_t lm; member
167 sc->lm.iot = ia->ia_iot; in az_attach()
175 if (bus_space_map(sc->lm.iot, ia->ia_io[0].ir_addr, in az_attach()
176 ia->ia_io[0].ir_size, 0, &sc->lm.ioh)) in az_attach()
182 sc->lm.offset = 0; in az_attach()
183 sc->lm.wzcl = AZ_WREN_ON | AZ_CLCK_OFF | AZ_DATA_OFF; in az_attach()
184 sc->lm.wzch = AZ_WREN_ON | AZ_CLCK_ON | AZ_DATA_OFF; in az_attach()
185 sc->lm.wocl = AZ_WREN_ON | AZ_CLCK_OFF | AZ_DATA_ON; in az_attach()
186 sc->lm.woch = AZ_WREN_ON | AZ_CLCK_ON | AZ_DATA_ON; in az_attach()
187 sc->lm.initdata = 0; in az_attach()
[all …]
/netbsd-src/sys/arch/powerpc/ibm4xx/dev/
H A Dibm405gp.c154 paddr_t la, lm, pl, ph; in ibm4xx_show_pci_map() local
161 lm = bus_space_read_4(pcicfg_iot, pcicfg_ioh, PCIL_PMM0MA); in ibm4xx_show_pci_map()
164 printf("0: %08lx,%08lx -> %08lx%08lx %sprefetchable, %s\n", la, lm, ph, pl, in ibm4xx_show_pci_map()
165 (lm & 2) ? "":"not ", in ibm4xx_show_pci_map()
166 (lm & 1) ? "enabled":"disabled"); in ibm4xx_show_pci_map()
168 lm = bus_space_read_4(pcicfg_iot, pcicfg_ioh, PCIL_PMM1MA); in ibm4xx_show_pci_map()
171 printf("1: %08lx,%08lx -> %08lx%08lx %sprefetchable, %s\n", la, lm, ph, pl, in ibm4xx_show_pci_map()
172 (lm & 2) ? "":"not ", in ibm4xx_show_pci_map()
173 (lm & 1) ? "enabled":"disabled"); in ibm4xx_show_pci_map()
175 lm = bus_space_read_4(pcicfg_iot, pcicfg_ioh, PCIL_PMM2MA); in ibm4xx_show_pci_map()
[all …]
/netbsd-src/sys/miscfs/nullfs/
H A Dnull.h84 struct layer_mount lm; /* generic layerfs mount stuff */ member
86 #define nullm_rootvp lm.layerm_rootvp
87 #define nullm_export lm.layerm_export
88 #define nullm_flags lm.layerm_flags
89 #define nullm_size lm.layerm_size
90 #define nullm_tag lm.layerm_tag
91 #define nullm_bypass lm.layerm_bypass
92 #define nullm_alloc lm.layerm_alloc
93 #define nullm_vnodeop_p lm.layerm_vnodeop_p
94 #define nullm_node_hashtbl lm.layerm_node_hashtbl
[all …]
/netbsd-src/external/bsd/openldap/dist/libraries/libldap/
H A Dresult.c138 LDAPMessage *lm, **lastlm, *nextlm; in chkResponseList() local
155 for ( lm = ld->ld_responses; lm != NULL; lm = nextlm ) { in chkResponseList()
156 nextlm = lm->lm_next; in chkResponseList()
159 if ( ldap_abandoned( ld, lm->lm_msgid ) ) { in chkResponseList()
163 lm->lm_msgid, ldap_int_msgtype2str( lm->lm_msgtype ) ); in chkResponseList()
165 switch ( lm->lm_msgtype ) { in chkResponseList()
174 ldap_mark_abandoned( ld, lm->lm_msgid ); in chkResponseList()
181 ldap_msgfree( lm ); in chkResponseList()
186 if ( msgid == LDAP_RES_ANY || lm->lm_msgid == msgid ) { in chkResponseList()
196 tmp = lm->lm_chain_tail; in chkResponseList()
[all …]
/netbsd-src/sys/miscfs/overlay/
H A Doverlay.h87 struct layer_mount lm; /* generic layerfs mount stuff */ member
89 #define ovm_rootvp lm.layerm_rootvp
90 #define ovm_export lm.layerm_export
91 #define ovm_flags lm.layerm_flags
92 #define ovm_size lm.layerm_size
93 #define ovm_tag lm.layerm_tag
94 #define ovm_bypass lm.layerm_bypass
95 #define ovm_alloc lm.layerm_alloc
96 #define ovm_vnodeop_p lm.layerm_vnodeop_p
97 #define ovm_node_hashtbl lm.layerm_node_hashtbl
[all …]
/netbsd-src/sys/miscfs/umapfs/
H A Dumap.h60 struct layer_mount lm; member
68 #define umapm_rootvp lm.layerm_rootvp
69 #define umapm_export lm.layerm_export
70 #define umapm_flags lm.layerm_flags
71 #define umapm_size lm.layerm_size
72 #define umapm_tag lm.layerm_tag
73 #define umapm_bypass lm.layerm_bypass
74 #define umapm_alloc lm.layerm_alloc
75 #define umapm_vnodeop_p lm.layerm_vnodeop_p
76 #define umapm_node_hashtbl lm.layerm_node_hashtbl
[all …]
/netbsd-src/external/bsd/ipf/dist/perl/
H A DServices416 505 mailbox-lm mailbox-lm
642 1083 ansoft-lm-1 AnasoftLicenseManager
643 1084 ansoft-lm-2 AnasoftLicenseManager
662 1346 alta-ana-lm AltaAnalyticsLicenseManager
703 1387 cadsi-lm ComputerAidedDesignSoftwareIncLM
720 1404 igi-lm InfiniteGraphicsLicenseManager
722 1406 netlabs-lm NetLabsLicenseManager
723 1407 dbsa-lm DBSALicenseManager
724 1408 sophia-lm SophiaLicenseManager
725 1409 here-lm HereLicenseManager
[all …]
/netbsd-src/external/bsd/openldap/dist/servers/slapd/
H A Dlimits.c77 struct slap_limits **lm; in limits_get() local
99 for ( lm = op->o_bd->be_limits; lm[0] != NULL; lm++ ) { in limits_get()
100 unsigned style = lm[0]->lm_flags & SLAP_LIMITS_MASK; in limits_get()
101 unsigned type = lm[0]->lm_flags & SLAP_LIMITS_TYPE_MASK; in limits_get()
120 &lm[0]->lm_pat, ndn, in limits_get()
121 lm[0]->lm_group_oc, in limits_get()
122 lm[0]->lm_group_ad ); in limits_get()
127 if ( dn_match( &lm[0]->lm_pat, ndn ) ) { in limits_get()
139 if ( ndn->bv_len < lm[0]->lm_pat.bv_len ) { in limits_get()
142 d = ndn->bv_len - lm[0]->lm_pat.bv_len; in limits_get()
[all …]
/netbsd-src/sys/compat/netbsd32/
H A Dnetbsd32_rlimit.c120 } lm[] = { in netbsd32_adjust_limits() local
142 if (i >= __arraycount(lm)) in netbsd32_adjust_limits()
145 rlim = lim->pl_rlimit + lm[i].id; in netbsd32_adjust_limits()
146 if (LIMITCHECK(rlim->rlim_cur, lm[i].lim)) in netbsd32_adjust_limits()
148 if (LIMITCHECK(rlim->rlim_max, lm[i].lim)) in netbsd32_adjust_limits()
155 for (i = 0; i < __arraycount(lm); i++) { in netbsd32_adjust_limits()
156 rlim = lim->pl_rlimit + lm[i].id; in netbsd32_adjust_limits()
157 if (LIMITCHECK(rlim->rlim_cur, lm[i].lim)) in netbsd32_adjust_limits()
158 rlim->rlim_cur = lm[i].lim; in netbsd32_adjust_limits()
159 if (LIMITCHECK(rlim->rlim_max, lm[i].lim)) in netbsd32_adjust_limits()
[all …]
/netbsd-src/sys/external/bsd/common/include/linux/
H A Dslab.h96 struct linux_malloc *lm; in kmalloc() local
99 KASSERTMSG(size < SIZE_MAX - sizeof(*lm), "size=%zu", size); in kmalloc()
102 lm = kmem_intr_zalloc(sizeof(*lm) + size, kmflags); in kmalloc()
104 lm = kmem_intr_alloc(sizeof(*lm) + size, kmflags); in kmalloc()
105 if (lm == NULL) in kmalloc()
108 lm->lm_size = size; in kmalloc()
109 return lm + 1; in kmalloc()
157 struct linux_malloc *lm; in kfree() local
162 lm = (struct linux_malloc *)ptr - 1; in kfree()
163 kmem_intr_free(lm, sizeof(*lm) + lm->lm_size); in kfree()
/netbsd-src/games/boggle/boggle/
H A Dbog.c430 int i, *lm; in checkword() local
442 lm = letter_map[*word - 'a']; in checkword()
464 while (*lm != -1) { in checkword()
465 *path = *lm; in checkword()
466 usedbits |= (1 << *lm); in checkword()
467 if (checkword(subword + 1, *lm, path + 1) > 0) in checkword()
469 usedbits &= ~(1 << *lm); in checkword()
470 lm++; in checkword()
480 for (i = 0; lm[i] != -1; i++) { in checkword()
481 if (adjacency[prev][lm[i]]) { in checkword()
[all …]
/netbsd-src/sys/dev/rcons/
H A Draster_op.c1103 u_int32_t dl, lm, nlm, rm, nrm; in raster_op_nosrc_noclip() local
1128 lm = leftmask[dstleftignore] | rightmask[dstrightignore]; in raster_op_nosrc_noclip()
1129 nlm = ~lm; in raster_op_nosrc_noclip()
1136 /*pst*/ *dstlin = ( *dstlin & lm ) | ( dl & nlm ); ) in raster_op_nosrc_noclip()
1143 lm = leftmask[dstleftignore]; in raster_op_nosrc_noclip()
1146 nlm = ~lm; in raster_op_nosrc_noclip()
1162 /*pst*/ *dstlong = ( *dstlong & lm ) | ( dl & nlm ); ) in raster_op_nosrc_noclip()
1199 u_int32_t dl, lm, nlm, rm, nrm; in raster_op_nosrc_noclip() local
1235 lm = leftmask[dstleftignore] | rightmask[dstrightignore]; in raster_op_nosrc_noclip()
1236 nlm = ~lm; in raster_op_nosrc_noclip()
[all …]
/netbsd-src/external/bsd/nsd/dist/
H A Drrl.c60 void rrl_mmap_init(int numch, size_t numbuck, size_t lm, size_t wlm, size_t sm, in rrl_mmap_init() argument
68 rrl_ratelimit = lm*2; in rrl_mmap_init()
124 void rrl_set_limit(size_t lm, size_t wlm, size_t sm) in rrl_set_limit() argument
126 rrl_ratelimit = lm*2; in rrl_set_limit()
307 uint16_t* flags, uint32_t* lm) in examine_query() argument
320 *lm = rrl_whitelist_ratelimit; in examine_query()
321 if(*lm == 0) return; in examine_query()
376 used_to_block(uint32_t rate, uint32_t counter, uint32_t lm) in used_to_block() argument
378 return rate >= lm || counter+rate/2 >= lm; in used_to_block()
383 uint16_t flags, int32_t now, uint32_t lm) in rrl_update() argument
[all …]
/netbsd-src/sys/fs/nfs/common/
H A Dnfs_lock.c111 struct __lock_msg *lm; in nfslock_close() local
116 lm = TAILQ_FIRST(&nfslock_list); in nfslock_close()
118 TAILQ_REMOVE(&nfslock_list, lm, lm_link); in nfslock_close()
119 free(lm, M_NFSLOCK); in nfslock_close()
129 struct __lock_msg *lm; in nfslock_read() local
131 if (uio->uio_resid != sizeof *lm) in nfslock_read()
133 lm = NULL; in nfslock_read()
143 lm = TAILQ_FIRST(&nfslock_list); in nfslock_read()
144 TAILQ_REMOVE(&nfslock_list, lm, lm_link); in nfslock_read()
148 error = uiomove(lm, sizeof *lm, uio); in nfslock_read()
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dchkformat.d830 const lm = format[idx]; variable
833 if (lm == 'j' ||
834 lm == 'z' ||
835 lm == 't' ||
836 lm == 'L')
843 else if (lm == 'h' || lm == 'l')
848 lm2 = lm == format[idx];
866 if (lm == 'L')
869 specifier = lm == 'h' && lm2 ? Format.hhd :
870 lm == 'h' ? Format.hd :
[all …]
/netbsd-src/sys/arch/sparc64/dev/
H A Dldc.c606 struct ldc_map *lm; in ldc_map_alloc() local
613 lm = kmem_zalloc(sizeof(struct ldc_map), KM_SLEEP); in ldc_map_alloc()
618 BUS_DMA_NOWAIT | BUS_DMA_ALLOCNOW, &lm->lm_map) != 0) { in ldc_map_alloc()
623 if (bus_dmamem_alloc(t, size, PAGE_SIZE, 0, &lm->lm_seg, 1, in ldc_map_alloc()
629 if (bus_dmamem_map(t, &lm->lm_seg, 1, size, (void *)&va, in ldc_map_alloc()
634 if (bus_dmamap_load(t, lm->lm_map, (void*)va, size, NULL, in ldc_map_alloc()
642 lm->lm_slot = (struct ldc_map_slot *)va; in ldc_map_alloc()
643 lm->lm_nentries = nentries; in ldc_map_alloc()
644 bzero(lm->lm_slot, nentries * sizeof(struct ldc_map_slot)); in ldc_map_alloc()
645 return (lm); in ldc_map_alloc()
[all …]
/netbsd-src/external/bsd/nvi/dist/common/
H A Dlog1.c414 LMARK lm; in log_backward() local
493 memmove(&lm, p + sizeof(u_char), sizeof(LMARK)); in log_backward()
494 m.lno = lm.lno; in log_backward()
495 m.cno = lm.cno; in log_backward()
496 if (mark_set(sp, lm.name, &m, 0)) in log_backward()
526 LMARK lm; in log_setline() local
593 memmove(&lm, p + sizeof(u_char), sizeof(LMARK)); in log_setline()
594 m.lno = lm.lno; in log_setline()
595 m.cno = lm.cno; in log_setline()
596 if (mark_set(sp, lm.name, &m, 0)) in log_setline()
[all …]
H A Dlog.c450 LMARK lm; in log_backward() local
528 memmove(&lm, p + sizeof(u_char), sizeof(LMARK)); in log_backward()
529 m.lno = lm.lno; in log_backward()
530 m.cno = lm.cno; in log_backward()
531 if (mark_set(sp, lm.name, &m, 0)) in log_backward()
560 LMARK lm; in log_setline() local
625 memmove(&lm, p + sizeof(u_char), sizeof(LMARK)); in log_setline()
626 m.lno = lm.lno; in log_setline()
627 m.cno = lm.cno; in log_setline()
628 if (mark_set(sp, lm.name, &m, 0)) in log_setline()
[all …]

12345678910>>...24