Home
last modified time | relevance | path

Searched refs:cn (Results 1 – 25 of 90) sorted by relevance

1234

/dragonfly/contrib/mpfr/src/
H A Dcmp2.c40 mp_size_t bn, cn; in mpfr_cmp2() local
67 while (bn >= 0 && cn >= 0 && bp[bn] == cp[cn]) in mpfr_cmp2()
70 cn--; in mpfr_cmp2()
80 bn = cn; in mpfr_cmp2()
113 tn = bn; bn = cn; cn = tn; in mpfr_cmp2()
142 cn--; in mpfr_cmp2()
157 if (cn >= 0) in mpfr_cmp2()
173 cn--; in mpfr_cmp2()
218 cn--; in mpfr_cmp2()
234 while (cn >= 0 && cp[cn] == 0) in mpfr_cmp2()
[all …]
H A Dsub1.c37 mp_size_t cancel2, an, bn, cn, cn0; in mpfr_sub1() local
173 cn = MPFR_LIMB_SIZE(c); in mpfr_sub1()
190 cp = MPFR_TMP_LIMBS_ALLOC (cn); in mpfr_sub1()
191 MPN_COPY(cp, ap, cn); in mpfr_sub1()
283 if (an + cancel2 <= cn) in mpfr_sub1()
292 if (cn > cancel2) in mpfr_sub1()
300 if (an + cancel2 <= cn) in mpfr_sub1()
367 cn0 = cn; in mpfr_sub1()
368 cn -= an + cancel2; in mpfr_sub1()
399 if ((cn > 0) && (cn-- <= cn0)) in mpfr_sub1()
[all …]
H A Dcmp_abs.c32 mp_size_t bn, cn; in mpfr_cmpabs() local
72 cn = MPFR_LIMB_SIZE(c)-1; in mpfr_cmpabs()
77 for ( ; bn >= 0 && cn >= 0; bn--, cn--) in mpfr_cmpabs()
79 if (bp[bn] > cp[cn]) in mpfr_cmpabs()
81 if (bp[bn] < cp[cn]) in mpfr_cmpabs()
89 for ( ; cn >= 0; cn--) in mpfr_cmpabs()
90 if (cp[cn]) in mpfr_cmpabs()
H A Dcmp.c35 mp_size_t bn, cn; in mpfr_cmp3() local
77 cn = (MPFR_PREC(c)-1)/GMP_NUMB_BITS; in mpfr_cmp3()
82 for ( ; bn >= 0 && cn >= 0; bn--, cn--) in mpfr_cmp3()
84 if (bp[bn] > cp[cn]) in mpfr_cmp3()
86 if (bp[bn] < cp[cn]) in mpfr_cmp3()
92 for ( ; cn >= 0; cn--) in mpfr_cmp3()
93 if (cp[cn]) in mpfr_cmp3()
H A Dadd1.c32 mp_size_t an, bn, cn; in mpfr_add1() local
67 cp = MPFR_TMP_LIMBS_ALLOC (cn); in mpfr_add1()
68 MPN_COPY(cp, ap, cn); in mpfr_add1()
129 if (MPFR_UNLIKELY(difn > cn)) in mpfr_add1()
133 MPFR_ASSERTD(difn - cn <= an); in mpfr_add1()
134 MPN_ZERO(ap, difn - cn); in mpfr_add1()
135 difn = cn; in mpfr_add1()
267 if (difw <= cn) in mpfr_add1()
273 ck = cn - difw; in mpfr_add1()
423 if (difw > cn) in mpfr_add1()
[all …]
H A Dmul.c44 mp_size_t bn, cn, tn, k; in mpfr_mul3() local
114 b1 = (MPFR_LIKELY(bn >= cn)) ? in mpfr_mul3()
220 mp_size_t bn, cn, tn, k, threshold; in mpfr_mul() local
309 if (MPFR_UNLIKELY (bn < cn)) in mpfr_mul()
314 bn = cn; in mpfr_mul()
316 cn = zn; in mpfr_mul()
318 MPFR_ASSERTD (bn >= cn); in mpfr_mul()
391 cn--; in mpfr_mul()
421 n = MIN (n, cn); in mpfr_mul()
425 cp += cn - n; in mpfr_mul()
[all …]
/dragonfly/usr.sbin/makefs/msdos/
H A Dmsdosfs_fat.c137 u_long cn; in pcbmap() local
267 u_long cn; in fc_lookup() local
272 if (cn != FCE_EMPTY && cn <= findcn) { in fc_lookup()
487 if (cn < CLUST_FIRST || cn > pmp->pm_maxcluster) in fatentry()
754 for (cn = newst; cn <= pmp->pm_maxcluster;) { in clusteralloc1()
769 cn += N_INUSEBITS - cn % N_INUSEBITS; in clusteralloc1()
771 for (cn = 0; cn < newst;) { in clusteralloc1()
786 cn += N_INUSEBITS - cn % N_INUSEBITS; in clusteralloc1()
880 for (cn = 0; cn < (pmp->pm_maxcluster + N_INUSEBITS) / N_INUSEBITS; cn++) in fillinusemap()
889 for (cn = 0; cn <= pmp->pm_maxcluster; cn++) { in fillinusemap()
[all …]
H A Dmsdosfs_vnops.c362 struct componentname cn; in msdosfs_mkfile() local
368 cn.cn_nameptr = node->name; in msdosfs_mkfile()
369 cn.cn_namelen = strlen(node->name); in msdosfs_mkfile()
403 if ((error = msdosfs_findslot(pdep, &cn)) != 0) in msdosfs_mkfile()
405 if ((error = createde(&ndirent, pdep, &dep, &cn)) != 0) in msdosfs_mkfile()
444 u_long cn = 0; in msdosfs_wfile() local
494 __func__, cn, (unsigned long long)bn, blsize)); in msdosfs_wfile()
544 struct componentname cn; in msdosfs_mkdire() local
551 cn.cn_nameptr = node->name; in msdosfs_mkdire()
552 cn.cn_namelen = strlen(node->name); in msdosfs_mkdire()
[all …]
/dragonfly/sys/vfs/msdosfs/
H A Dmsdosfs_fat.c121 u_long cn; in pcbmap() local
255 u_long cn; in fc_lookup() local
262 if (cn != FCE_EMPTY && cn <= findcn) { in fc_lookup()
485 if (cn < CLUST_FIRST || cn > pmp->pm_maxcluster) in fatentry()
759 for (cn = newst; cn <= pmp->pm_maxcluster;) { in clusteralloc1()
775 cn += N_INUSEBITS - cn % N_INUSEBITS; in clusteralloc1()
777 for (cn = 0; cn < newst;) { in clusteralloc1()
793 cn += N_INUSEBITS - cn % N_INUSEBITS; in clusteralloc1()
897 for (cn = 0; cn < (pmp->pm_maxcluster + N_INUSEBITS) / N_INUSEBITS; cn++) in fillinusemap()
906 for (cn = 0; cn <= pmp->pm_maxcluster; cn++) { in fillinusemap()
[all …]
H A Dmsdosfsmount.h115 #define FATOFS(pmp, cn) ((cn) * (pmp)->pm_fatmult / (pmp)->pm_fatdiv) argument
152 #define de_cn2bn(pmp, cn) \ argument
153 ((cn) << ((pmp)->pm_cnshift - (pmp)->pm_bnshift))
176 #define de_cn2off(pmp, cn) \ argument
177 ((cn) << (pmp)->pm_cnshift)
192 #define de_cn2doff(pmp, cn) \ argument
193 ((off_t)(cn) << (pmp)->pm_cnshift)
198 #define cntobn(pmp, cn) \ argument
199 (de_cn2bn((pmp), (cn)-CLUST_FIRST) + (pmp)->pm_firstcluster)
/dragonfly/contrib/lvm2/dist/lib/config/
H A Dconfig.c900 while (cn) { in _find_config_node()
910 while (cn) { in _find_config_node()
921 cn = cn->sib; in _find_config_node()
942 return cn; in _find_first_config_node()
945 return cn; in _find_first_config_node()
1173 for (cn = cn2->child; cn; cn = nextn) { in _merge_section()
1174 nextn = cn->sib; in _merge_section()
1181 if (!cn->v) in _merge_section()
1194 cv = cn->v; in _merge_section()
1232 for (cn = newdata->root; cn; cn = nextn) { in merge_config_tree()
[all …]
H A Dconfig.h76 int write_config_node(const struct config_node *cn, putline_fn putline, void *baton);
83 struct config_node *find_config_node(const struct config_node *cn,
85 const char *find_config_str(const struct config_node *cn, const char *path,
87 int find_config_int(const struct config_node *cn, const char *path, int fail);
88 float find_config_float(const struct config_node *cn, const char *path,
107 int find_config_bool(const struct config_node *cn, const char *path, int fail);
110 int get_config_uint32(const struct config_node *cn, const char *path,
113 int get_config_uint64(const struct config_node *cn, const char *path,
116 int get_config_str(const struct config_node *cn, const char *path,
123 struct config_node *clone_config_node(struct dm_pool *mem, const struct config_node *cn,
/dragonfly/contrib/lvm2/dist/lib/format_text/
H A Dimport_vsn1.c57 struct config_node *cn; in _check_version() local
68 cv = cn->v; in _check_version()
82 cv = cn->v; in _check_version()
111 if (!(cn = find_config_node(cn, path))) { in _read_id()
116 cv = cn->v; in _read_id()
132 struct config_node *cn; in _read_flag_config() local
162 struct config_node *cn; in _read_pv() local
324 cv = cn->v; in _read_segment()
498 struct config_node *cn; in _read_lvnames() local
672 if ((cn = find_config_node(vgn, "system_id")) && cn->v) { in _read_vg()
[all …]
/dragonfly/contrib/lvm2/dist/include/
H A Dconfig.h76 int write_config_node(const struct config_node *cn, putline_fn putline, void *baton);
83 struct config_node *find_config_node(const struct config_node *cn,
85 const char *find_config_str(const struct config_node *cn, const char *path,
87 int find_config_int(const struct config_node *cn, const char *path, int fail);
88 float find_config_float(const struct config_node *cn, const char *path,
107 int find_config_bool(const struct config_node *cn, const char *path, int fail);
110 int get_config_uint32(const struct config_node *cn, const char *path,
113 int get_config_uint64(const struct config_node *cn, const char *path,
116 int get_config_str(const struct config_node *cn, const char *path,
123 struct config_node *clone_config_node(struct dm_pool *mem, const struct config_node *cn,
/dragonfly/contrib/lvm2/dist/lib/commands/
H A Dtoolcontext.c321 struct config_node *cn; in _check_host_filters() local
326 for (cn = hn; cn; cn = cn->sib) { in _check_host_filters()
327 if (!cn->v) in _check_host_filters()
336 "for tag %s", cn->key); in _check_host_filters()
372 for (cn = tn->child; cn; cn = cn->sib) { in _init_tags()
373 if (cn->v) in _init_tags()
375 tag = cn->key; in _init_tags()
382 if (cn->child) { in _init_tags()
546 const struct config_node *cn; in _init_dev_cache() local
603 const struct config_node *cn; in _init_filter_components() local
[all …]
/dragonfly/contrib/bmake/
H A Dmake.c963 cn->name, cn->cohort_num); in MakeBuildChild()
966 if (GNode_IsReady(cn)) in MakeBuildChild()
970 if (IsWaitingForOrder(cn)) { in MakeBuildChild()
974 cn->made = DEFERRED; in MakeBuildChild()
979 cn->name, cn->cohort_num); in MakeBuildChild()
981 cn->made = REQUESTED; in MakeBuildChild()
983 ScheduleRandomly(cn); in MakeBuildChild()
985 Lst_Append(&toBeMade, cn); in MakeBuildChild()
1001 return cn->type & OP_WAIT && cn->unmade > 0; in MakeBuildChild()
1330 GNode *cn; in add_wait_dependency() local
[all …]
/dragonfly/contrib/binutils-2.27/libiberty/
H A Dsafe-ctype.c128 #define cn _sch_iscntrl macro
149 #define C (const unsigned short) ( cn) /* control character */
150 #define Z (const unsigned short) (nv |cn) /* NUL */
151 #define M (const unsigned short) (nv|sp |cn) /* cursor movement: \f \v */
152 #define V (const unsigned short) (vs|sp |cn) /* vertical space: \r \n */
153 #define T (const unsigned short) (nv|sp|bl|cn) /* tab */
/dragonfly/contrib/gdb-7/libiberty/
H A Dsafe-ctype.c128 #define cn _sch_iscntrl macro
149 #define C (const unsigned short) ( cn) /* control character */
150 #define Z (const unsigned short) (nv |cn) /* NUL */
151 #define M (const unsigned short) (nv|sp |cn) /* cursor movement: \f \v */
152 #define V (const unsigned short) (vs|sp |cn) /* vertical space: \r \n */
153 #define T (const unsigned short) (nv|sp|bl|cn) /* tab */
/dragonfly/contrib/binutils-2.34/libiberty/
H A Dsafe-ctype.c127 #define cn _sch_iscntrl macro
148 #define C (const unsigned short) ( cn) /* control character */
149 #define Z (const unsigned short) (nv |cn) /* NUL */
150 #define M (const unsigned short) (nv|sp |cn) /* cursor movement: \f \v */
151 #define V (const unsigned short) (vs|sp |cn) /* vertical space: \r \n */
152 #define T (const unsigned short) (nv|sp|bl|cn) /* tab */
/dragonfly/contrib/gcc-4.7/libiberty/
H A Dsafe-ctype.c128 #define cn _sch_iscntrl macro
149 #define C (const unsigned short) ( cn) /* control character */
150 #define Z (const unsigned short) (nv |cn) /* NUL */
151 #define M (const unsigned short) (nv|sp |cn) /* cursor movement: \f \v */
152 #define V (const unsigned short) (vs|sp |cn) /* vertical space: \r \n */
153 #define T (const unsigned short) (nv|sp|bl|cn) /* tab */
/dragonfly/contrib/gcc-8.0/libiberty/
H A Dsafe-ctype.c127 #define cn _sch_iscntrl macro
148 #define C (const unsigned short) ( cn) /* control character */
149 #define Z (const unsigned short) (nv |cn) /* NUL */
150 #define M (const unsigned short) (nv|sp |cn) /* cursor movement: \f \v */
151 #define V (const unsigned short) (vs|sp |cn) /* vertical space: \r \n */
152 #define T (const unsigned short) (nv|sp|bl|cn) /* tab */
/dragonfly/contrib/openbsd_libm/src/
H A Ds_casinl.c89 long double n, cn; in casinl() local
92 cn = 1.0L; in casinl()
100 cn *= n; in casinl()
102 cn /= n; in casinl()
104 b = cn/n; in casinl()
/dragonfly/usr.sbin/makefs/
H A Dcd9660.c964 cd9660node *cn; in cd9660_sorted_child_insert() local
981 if (cn_new == cn) in cd9660_sorted_child_insert()
989 cn->node->name); in cd9660_sorted_child_insert()
994 if (cn == NULL) in cd9660_sorted_child_insert()
1166 cd9660node *cn; in cd9660_copy_filenames() local
1178 memcpy(cn->o_name, cn->isoDirRecord->name, in cd9660_copy_filenames()
1186 cd9660node *cn; in cd9660_sorting_nodes() local
1197 cd9660node *cn, *next; in cd9660_sort_nodes() local
1210 } while (cn != NULL); in cd9660_sort_nodes()
1314 cd9660node *cn; in cd9660_add_dot_records() local
[all …]
/dragonfly/contrib/gcc-8.0/gcc/
H A Dipa-comdats.c99 if (cgraph_node * cn = dyn_cast <cgraph_node *> (symbol2)) in propagate_comdat_group() local
101 if (cn->global.inlined_to) in propagate_comdat_group()
102 symbol2 = cn->global.inlined_to; in propagate_comdat_group()
128 if (cgraph_node * cn = dyn_cast <cgraph_node *> (symbol2)) in propagate_comdat_group() local
131 if (cn->thunk.thunk_p) in propagate_comdat_group()
136 if (cn->global.inlined_to) in propagate_comdat_group()
137 symbol2 = cn->global.inlined_to; in propagate_comdat_group()
/dragonfly/contrib/lvm2/dist/lib/filters/
H A Dfilter_netbsd.c143 static int _scan_dev(const struct config_node *cn) in _scan_dev() argument
193 if (!cn) in _scan_dev()
197 for (cv = cn->v; cv; cv = cv->next) { in _scan_dev()
243 const struct config_node *cn) in lvm_type_filter_create() argument
256 if (!_scan_dev(cn)) { in lvm_type_filter_create()

1234