| /src/external/gpl2/gettext/dist/gettext-tools/src/ |
| str-list.c | 36 string_list_init (string_list_ty *slp) 38 slp->item = NULL; 39 slp->nitems = 0; 40 slp->nitems_max = 0; 48 string_list_ty *slp; local 50 slp = (string_list_ty *) xmalloc (sizeof (*slp)); 51 slp->item = NULL; 52 slp->nitems = 0; 53 slp->nitems_max = 0 [all...] |
| str-list.h | 46 extern void string_list_init (string_list_ty *slp); 52 extern void string_list_append (string_list_ty *slp, const char *s); 56 extern void string_list_append_unique (string_list_ty *slp, const char *s); 59 extern void string_list_destroy (string_list_ty *slp); 62 extern void string_list_free (string_list_ty *slp); 66 extern char *string_list_concat (const string_list_ty *slp); 70 extern char *string_list_concat_destroy (string_list_ty *slp); 77 extern char *string_list_join (const string_list_ty *slp, char separator, 81 extern bool string_list_member (const string_list_ty *slp, const char *s);
|
| msgl-ascii.h | 35 is_ascii_string_list (string_list_ty *slp);
|
| msgl-ascii.c | 43 is_ascii_string_list (string_list_ty *slp) 47 if (slp != NULL) 48 for (i = 0; i < slp->nitems; i++) 49 if (!is_ascii_string (slp->item[i]))
|
| msgl-iconv.c | 97 convert_string_list (iconv_t cd, string_list_ty *slp, 102 if (slp != NULL) 103 for (i = 0; i < slp->nitems; i++) 104 slp->item[i] = convert_string (cd, slp->item[i], context); 376 iconvable_string_list (iconv_t cd, string_list_ty *slp) 380 if (slp != NULL) 381 for (i = 0; i < slp->nitems; i++) 382 if (!iconvable_string (cd, slp->item[i]))
|
| msgl-cat.c | 724 string_list_ty *slp = tmp->alternative[i].comment; local 726 if (slp != NULL) 731 for (l = 0; l < slp->nitems; l++) 732 message_comment_append (tmp, slp->item[l]); 751 string_list_ty *slp = tmp->alternative[i].comment_dot; local 753 if (slp != NULL) 759 for (l = 0; l < slp->nitems; l++) 760 message_comment_dot_append (tmp, slp->item[l]);
|
| msggrep.c | 624 filename_list_match (const string_list_ty *slp, const char *filename) 628 for (j = 0; j < slp->nitems; ++j) 629 if (fnmatch (slp->item[j], filename, FNM_PATHNAME) == 0)
|
| /src/sys/nfs/ |
| nfs_srvsocket.c | 115 struct nfssvc_sock *slp = (struct nfssvc_sock *)arg; local 117 nfsdsock_setbits(slp, SLP_A_NEEDQ); 118 nfsrv_wakenfsd(slp); 122 nfsrv_rcv(struct nfssvc_sock *slp) 132 error = nfsdsock_lock(slp, true); 138 nfsdsock_clearbits(slp, SLP_A_NEEDQ); 140 so = slp->ns_so; 158 if (slp->ns_rawend) { 159 slp->ns_rawend->m_next = m; 160 slp->ns_cc += 1000000000 - auio.uio_resid 431 struct nfssvc_sock *slp; local [all...] |
| nfs_syscalls.c | 304 struct nfssvc_sock *slp; local 382 slp = nfsd->nfsd_slp; 388 LIST_FOREACH(nuidp, NUIDHASH(slp, nsd->nsd_cr.cr_uid), 405 if (slp->ns_numuids < nuidhash_max) { 406 slp->ns_numuids++; 410 if ((slp->ns_flags & SLP_VALID) == 0) { 415 nuidp = TAILQ_FIRST(&slp->ns_uidlruhead); 417 TAILQ_REMOVE(&slp->ns_uidlruhead, nuidp, 454 TAILQ_INSERT_TAIL(&slp->ns_uidlruhead, nuidp, 456 LIST_INSERT_HEAD(NUIDHASH(slp, nsd->nsd_uid) 477 struct nfssvc_sock *slp; local 514 struct nfssvc_sock *slp; local 605 struct nfssvc_sock *slp; local 1014 struct nfssvc_sock *slp; local [all...] |
| nfs_serv.c | 163 nfsrv3_access(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, struct lwp *lwp, struct mbuf **mrq) 183 error = nfsrv_fhtovp(&nsfh, 1, &vp, cred, slp, nam, &rdonly, 226 nfsrv_getattr(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, struct lwp *lwp, struct mbuf **mrq) 245 error = nfsrv_fhtovp(&nsfh, 1, &vp, cred, slp, nam, &rdonly, 266 nfsrv_setattr(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, struct lwp *lwp, struct mbuf **mrq) 333 error = nfsrv_fhtovp(&nsfh, 1, &vp, cred, slp, nam, &rdonly, 393 nfsrv_lookup(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, struct lwp *lwp, struct mbuf **mrq) 424 error = nfs_namei(&nd, &nsfh, len, slp, nam, &md, &dpos, 524 nfsrv_readlink(struct nfsrv_descript *nfsd, struct nfssvc_sock *slp, struct lwp *lwp, struct mbuf **mrq) 577 error = nfsrv_fhtovp(&nsfh, 1, &vp, cred, slp, nam [all...] |
| nfs_srvsubs.c | 119 nfs_namei(struct nameidata *ndp, nfsrvfh_t *nsfh, uint32_t len, struct nfssvc_sock *slp, struct mbuf *nam, struct mbuf **mdp, char **dposp, struct vnode **retdirp, int *dirattr_retp, struct vattr *dirattrp, struct lwp *l, int kerbflag, int pubflag) 177 error = nfsrv_fhtovp(nsfh, false, &dp, ndp->ni_cnd.cn_cred, slp, 296 kauth_cred_t cred, struct nfssvc_sock *slp, struct mbuf *nam, int *rdonlyp,
|
| nfsm_subs.h | 444 (void) nfs_rephead(0, nfsd, slp, error, cache, &frev, \ 447 (void) nfs_rephead((s), nfsd, slp, error, cache, &frev, \ 463 (void) nfs_rephead(0, nfsd, slp, error, cache, &frev, \ 466 (void) nfs_rephead((s), nfsd, slp, error, cache, &frev, \
|
| /src/external/gpl2/gettext/dist/gettext-runtime/src/ |
| envsubst.c | 306 string_list_init (string_list_ty *slp) 308 slp->item = NULL; 309 slp->nitems = 0; 310 slp->nitems_max = 0; 315 string_list_append (string_list_ty *slp, const char *s) 318 if (slp->nitems >= slp->nitems_max) 322 slp->nitems_max = slp->nitems_max * 2 + 4; 323 nbytes = slp->nitems_max * sizeof (slp->item[0]) [all...] |
| /src/lib/libresolv/ |
| res_mkupdate.c | 965 struct valuelist *slp; local 973 slp = (struct valuelist *)malloc(sizeof(struct valuelist)); 974 if (!slp) 976 slp->name = strdup(sp->s_name); 977 slp->proto = strdup(sp->s_proto); 978 if ((slp->name == NULL) || (slp->proto == NULL)) { 979 if (slp->name) free(slp->name); 980 if (slp->proto) free(slp->proto) 996 struct valuelist *slp, *slp_next; local 1010 struct valuelist *slp; local [all...] |
| /src/external/bsd/libbind/dist/resolv/ |
| res_mkupdate.c | 961 struct valuelist *slp; local 969 slp = (struct valuelist *)malloc(sizeof(struct valuelist)); 970 if (!slp) 972 slp->name = strdup(sp->s_name); 973 slp->proto = strdup(sp->s_proto); 974 if ((slp->name == NULL) || (slp->proto == NULL)) { 975 if (slp->name) free(slp->name); 976 if (slp->proto) free(slp->proto) 992 struct valuelist *slp, *slp_next; local 1006 struct valuelist *slp; local [all...] |
| /src/sys/dev/sun/ |
| disksubr.c | 94 struct sun_disklabel *slp; local 140 slp = (struct sun_disklabel *) clp->cd_block; 141 if (slp->sl_magic == SUN_DKMAGIC) 177 struct sun_disklabel *slp; local 182 if (sizeof(struct disklabel) > sizeof slp->sl_bsdlabel) 185 slp = (struct sun_disklabel *)clp->cd_block; 186 memset(slp->sl_bsdlabel, 0, sizeof(slp->sl_bsdlabel)); 187 dlp = (struct disklabel *)slp->sl_bsdlabel;
|
| /src/sys/sys/ |
| lockdebug.h | 91 #define LOCKDEBUG_BARRIER(lock, slp) \ 92 lockdebug_barrier(__func__, __LINE__, lock, slp) 122 #define LOCKDEBUG_BARRIER(lock, slp) __nothing
|
| /src/sys/dev/isa/ |
| pcppi.c | 290 pcppi_bell(pcppi_tag_t self, int pitch, int period, int slp) 294 pcppi_bell_locked(self, pitch, period, slp); 299 pcppi_bell_locked(pcppi_tag_t self, int pitch, int period, int slp) 328 if (slp & PCPPI_BELL_POLL) { 334 if (slp & PCPPI_BELL_SLEEP) {
|
| /src/sys/arch/sgimips/sgimips/ |
| disksubr.c | 78 struct sgi_boot_block *slp; local 124 slp = (struct sgi_boot_block *)bp->b_data; 125 if (be32toh(slp->magic) != SGI_BOOT_BLOCK_MAGIC) 128 return disklabel_sgimips_to_bsd(slp, lp);
|
| /src/sys/arch/luna68k/luna68k/ |
| disksubr.c | 180 struct sun_disklabel *slp; local 229 slp = (struct sun_disklabel *)clp->cd_block; 230 if (slp->sl_magic == SUN_DKMAGIC) {
|
| /src/sys/lib/libkern/ |
| strlist.c | 321 strlist_append(char ** const slp, size_t * const slsizep, 325 char * const sl = *slp; 345 *slp = newbuf;
|
| /src/sys/dev/scsipi/ |
| ses.c | 1075 ses_getputstat(ses_softc_t *ssc, int objid, SesComStat *sp, int slp, 1653 safte_set_objstat(ses_softc_t *ssc, ses_objstat *obp, int slp) 1676 err = set_objstat_sel(ssc, obp, slp); 1705 slotop, slp); 1718 wrslot_stat(ssc, slp); 1728 cc->flag2, 0, slp); 1733 idx - cc->pwroff, 0, 0, slp); 1736 idx - cc->pwroff, 0, 1, slp); 1746 cc->flag2, 0, slp); 1760 (void) wrbuf16(ssc, SAFTE_WT_FANSPD, idx, fsp, 0, slp); [all...] |
| /src/external/gpl2/gettext/dist/gettext-tools/libgettextpo/ |
| gettext-po.c | 771 string_list_ty *slp = string_list_alloc (); local 785 string_list_append (slp, rest); 790 string_list_append (slp, rest); 800 mp->comment = slp; 826 string_list_ty *slp = string_list_alloc (); local 840 string_list_append (slp, rest); 845 string_list_append (slp, rest); 855 mp->comment_dot = slp;
|
| /src/sys/dev/ic/ |
| isp_netbsd.c | 1045 int slp = 0; local 1065 isp->isp_osinfo.loop_down_time += slp; 1097 slp = 0; 1099 slp = 1; 1101 slp = 5; 1103 slp = 10; 1105 slp = 20; 1107 slp = 30; 1114 slp = 0; 1132 isp_prt(isp, ISP_LOGSANCFG|ISP_LOGDEBUG0, "sleep time %d", slp); [all...] |
| /src/sys/kern/ |
| vfs_subr.c | 208 /* XXXUBC this doesn't look at flags or slp* */ 705 synclist_t *slp; local 716 slp = &syncer_workitem_pending[vip->vi_synclist_slot]; 717 TAILQ_REMOVE(slp, vip, vi_synclist); 725 slp = &syncer_workitem_pending[vip->vi_synclist_slot]; 726 TAILQ_INSERT_TAIL(slp, vip, vi_synclist); 749 synclist_t *slp; local 758 slp = &syncer_workitem_pending[vip->vi_synclist_slot]; 759 TAILQ_REMOVE(slp, vip, vi_synclist); 853 synclist_t *slp; local [all...] |