/src/sys/arch/i386/stand/efiboot/ |
efichar.c | 48 * If nm were converted to utf8, what what would strlen 52 utf8_len_of_ucs2(const CHAR16 *nm) 58 while (*nm) { 59 c = *nm++; 72 ucs2_to_utf8(const CHAR16 *nm, char **name) 79 sz = utf8_len_of_ucs2(nm) + 1; 88 while (*nm) { 89 c = *nm++; 124 CHAR16 *nm; local in function:utf8_to_ucs2 135 nm = *nmp [all...] |
/src/sys/dev/qbus/ |
if_uba.c | 78 int totsz, i, error, rseg, nm = nr; local in function:if_ubaminit 113 nm = nw = 0; 122 nm = 0; 129 for (i = 0; i < nm; i++) { 131 nm = i; 150 while (--nm >= 0) { 152 m_freem(ifr[nm].ifrw_mbuf);
|
/src/sys/stand/efiboot/ |
efichar.c | 48 * If nm were converted to utf8, what what would strlen 52 utf8_len_of_ucs2(const CHAR16 *nm) 58 while (*nm) { 59 c = *nm++; 72 ucs2_to_utf8(const CHAR16 *nm, char **name) 79 sz = utf8_len_of_ucs2(nm) + 1; 88 while (*nm) { 89 c = *nm++; 124 CHAR16 *nm; local in function:utf8_to_ucs2 135 nm = *nmp [all...] |
/src/lib/libc/gen/ |
disklabel.c | 211 const char *const *nm; local in function:gettype 216 for (nm = names; *nm; nm++) 217 if (strcasecmp(t, *nm) == 0) 218 return (int)(nm - names);
|
/src/sys/arch/arm/sunxi/ |
sunxi_ccu_nm.c | 43 struct sunxi_ccu_nm *nm = &clk->u.nm; local in function:sunxi_ccu_nm_enable 48 if (!nm->enable) 51 val = CCU_READ(sc, nm->reg); 53 val |= nm->enable; 55 val &= ~nm->enable; 56 CCU_WRITE(sc, nm->reg, val); 65 struct sunxi_ccu_nm *nm = &clk->u.nm; local in function:sunxi_ccu_nm_get_rate 81 val = CCU_READ(sc, nm->reg) 105 struct sunxi_ccu_nm *nm = &clk->u.nm; local in function:sunxi_ccu_nm_set_rate 193 struct sunxi_ccu_nm *nm = &clk->u.nm; local in function:sunxi_ccu_nm_set_parent 222 struct sunxi_ccu_nm *nm = &clk->u.nm; local in function:sunxi_ccu_nm_get_parent [all...] |
sunxi_ccu.h | 187 .u.nm.reg = (_reg), \ 188 .u.nm.parents = (_parents), \ 189 .u.nm.nparents = __arraycount(_parents), \ 190 .u.nm.n = (_n), \ 191 .u.nm.m = (_m), \ 192 .u.nm.sel = (_sel), \ 193 .u.nm.enable = (_enable), \ 194 .u.nm.flags = (_flags), \ 451 struct sunxi_ccu_nm nm; member in union:sunxi_ccu_clk::__anonaec1cae4010a
|
/src/usr.sbin/mountd/ |
get_net.c | 227 struct netmsk nm; local in function:main 229 if (get_net(argv[1], &nm, 0)) 232 sockaddr_snprintf(buf, sizeof(buf), "%a:%p", (void *)&nm.nt_net); 233 printf("%s %d %s\n", buf, nm.nt_len, nm.nt_name);
|
/src/games/rogue/ |
zap.c | 145 object *nm; local in function:zap_monster 177 nm = monster->next_monster; 182 monster->next_monster = nm; 254 object *lmon, *nm; local in function:wdrain_life 262 nm = lmon->next_monster; 267 lmon = nm;
|
/src/usr.sbin/npf/npftest/libnpftest/ |
npf_table_test.c | 94 const int nm = NPF_NO_NETMASK; local in function:fill_with_ip4 103 error = npf_table_insert(t, alen, addr, nm); 105 error = npf_table_insert(t, alen, addr, nm); 109 error = npf_table_insert(t, alen, addr, nm); 111 error = npf_table_insert(t, alen, addr, nm); 122 const int nm = NPF_NO_NETMASK; local in function:verify_ip4 130 error = npf_table_insert(t, alen, addr, nm); 134 error = npf_table_insert(t, alen, addr, nm); 157 const int nm = NPF_NO_NETMASK; local in function:clear_ip4 166 error = npf_table_remove(t, alen, addr, nm); 268 const int nm = NPF_NO_NETMASK; local in function:test_ip6 [all...] |
/src/lib/libc/citrus/modules/ |
citrus_euc.c | 305 wchar_t m, nm; local in function:_citrus_EUC_wcrtomb_priv 313 nm = wc & ~m; 343 *s++ = ((nm >> (i << 3)) & 0xff) | m; 359 wchar_t m, nm; local in function:_citrus_EUC_stdenc_wctocs 364 nm = wc & ~m; 367 *idx = (_citrus_index_t)nm;
|
citrus_iso2022.c | 1275 wchar_t m, nm; local in function:_citrus_ISO2022_stdenc_wctocs 1280 nm = wc & 0x007F7F7F; 1282 nm &= 0x00007F7F; 1286 if (nm & 0x007F0000) { 1289 } else if (nm & 0x00007F00) { 1294 *idx = (_index_t)nm;
|
/src/sys/external/bsd/drm2/dist/drm/radeon/ |
radeon_i2c.c | 250 u32 nm; local in function:radeon_get_i2c_prescale 268 nm = (sclk * 10) / (i2c_clock * 4); 270 if ((nm / loop) < loop)
|
/src/sys/external/bsd/ipf/netinet/ |
ip_irc_pxy.c | 324 mblk_t *nm; local in function:ipf_p_irc_send 327 nm = allocb(nlen, BPRI_MED); 328 PANIC((!nm),("ipf_p_irc_out: allocb failed")); 330 nm->b_band = m1->b_band; 331 nm->b_wptr += nlen; 337 linkb(m1, nm);
|
/src/tests/lib/libc/regex/ |
t_regex_att.c | 362 checkmatches(const char *matches, size_t nm, const regmatch_t *pm, 365 if (nm == 0) 372 for (size_t i = 0; i < nm; i++) { 407 size_t nm; local in function:att_test 493 nm = 0; 496 nm = getmatches(matches); 497 ATF_REQUIRE((pm = calloc(nm, sizeof(*pm))) != NULL); 525 int e = regexec(&re, input, nm, pm, 0); 528 checkmatches(matches, nm, pm, lineno);
|
/src/usr.sbin/diskpart/ |
diskpart.c | 498 const char *const *nm; local in function:gettype 500 for (nm = names; *nm; nm++) 501 if (strcasecmp(t, *nm) == 0) 502 return (nm - names);
|
/src/usr.sbin/gpioctl/ |
gpioctl.c | 168 char *nm = NULL; local in function:main 173 nm = argv[1]; /* try named pin */ 188 gpioset(pin, nm, fl, nam); 190 gpiounset(pin, nm); 206 gpiowrite(pin, nm, value); 209 gpioread(pin, nm);
|
/src/bin/pax/ |
file_subs.c | 474 char *nm = arcn->name; local in function:node_creat 494 while (lstat(nm, &sb) == 0 && 496 len = readlink(nm, target, 502 nm, arcn->name); 507 nm = target; 510 res = domkdir(nm, file_mode); 517 res = mknod(nm, file_mode, arcn->sb.st_rdev); 521 res = mknod(nm, file_mode, arcn->sb.st_rdev); 524 res = mkfifo(nm, file_mode); 532 nm); [all...] |
/src/usr.sbin/quot/ |
quot.c | 609 char *nm; local in function:main 652 if ((nm = 655 nm + 1); 656 nm = dev; 658 nm = mp->f_mntfromname; 659 quot(nm, mp->f_mntonname);
|
/src/sys/dev/acpi/ |
acpi_srat.c | 481 uint32_t i, j, nn, nc, nm; local in function:acpisrat_dump 497 nm = acpisrat_node_memoryranges(i); 498 for (j = 0; j < nm; j++) { 511 uint32_t i, j, nn, nm; local in function:acpisrat_load_uvm 517 nm = acpisrat_node_memoryranges(i); 518 for (j = 0; j < nm; j++) {
|
/src/sys/miscfs/procfs/ |
procfs_linux.c | 689 int nm[4]; local in function:procfs_doversion 709 nm[0] = CTL_EMUL; 710 nm[1] = EMUL_LINUX32; 711 nm[2] = EMUL_LINUX32_KERN; 713 nm[0] = CTL_EMUL; 714 nm[1] = EMUL_LINUX; 715 nm[2] = EMUL_LINUX_KERN; 718 nm[3] = EMUL_LINUX_KERN_OSTYPE; 720 error = sysctl_dispatch(nm, __arraycount(nm), [all...] |
/src/dist/pf/sbin/pfctl/ |
pfctl_osfp.c | 285 struct name_entry *nm; local in function:pfctl_flush_my_fingerprints 287 while ((nm = LIST_FIRST(list)) != NULL) { 288 LIST_REMOVE(nm, nm_entry); 289 pfctl_flush_my_fingerprints(&nm->nm_sublist); 290 free(nm); 340 struct name_entry *nm, *class_nm, *version_nm, *subtype_nm; local in function:pfctl_get_fingerprint 351 if ((nm = lookup_name_list(&classes, name))) { 352 class = nm->nm_num; 462 struct name_entry *nm; local in function:pfctl_lookup_fingerprint 485 LIST_FOREACH(nm, &classes, nm_entry) 539 struct name_entry *nm; local in function:lookup_name_list 728 struct name_entry *nm; local in function:print_name_list 742 struct name_entry *nm, *nmsearch, *nmlast; local in function:sort_name_list [all...] |
/src/sys/dev/scsipi/ |
st.c | 754 int nm = 0; local in function:stclose 767 error = st_check_eod(st, FALSE, &nm, 0); 769 ("wrote %d FM(s) at close error=%d\n", nm, error));
|
/src/sys/external/bsd/drm2/dist/drm/i915/display/ |
intel_audio.c | 385 const struct dp_aud_n_m *nm; local in function:hsw_dp_audio_config_update 390 nm = audio_config_dp_get_n_m(crtc_state, rate); 391 if (nm) 392 DRM_DEBUG_KMS("using Maud %u, Naud %u\n", nm->m, nm->n); 402 if (nm) { 404 tmp |= AUD_CONFIG_N(nm->n); 415 if (nm) { 416 tmp |= nm->m;
|
/src/sys/dev/gpio/ |
gpio.c | 234 struct gpio_name *nm; local in function:gpio_attach 257 nm = kmem_alloc(sizeof(*nm), KM_SLEEP); 258 strlcpy(nm->gp_name, defname, sizeof(nm->gp_name)); 259 nm->gp_pin = pin; 260 LIST_INSERT_HEAD(&sc->sc_names, nm, gp_next); 707 struct gpio_name *nm; local in function:gpio_pinbyname 709 LIST_FOREACH(nm, &sc->sc_names, gp_next) 710 if (!strcmp(nm->gp_name, gp_name) 741 struct gpio_name *nm; local in function:gpio_ioctl [all...] |
/src/sys/ufs/ffs/ |
ffs_vfsops.c | 712 const char *nm = mp->mnt_stat.f_mntonname; local in function:ffs_mount 715 " replay cancelled\n", nm); 718 printf("%s: replaying log to disk\n", nm); 723 nm, error);
|