Searched refs:mp (Results 1 - 25 of 617) sorted by relevance

1234567891011>>

/macosx-10.10/bind9-45.101/bind9/lib/isc/nothreads/include/isc/
H A Dmutex.h27 #define isc_mutex_init(mp) \
28 (*(mp) = 0, ISC_R_SUCCESS)
29 #define isc_mutex_lock(mp) \
30 ((*(mp))++ == 0 ? ISC_R_SUCCESS : ISC_R_UNEXPECTED)
31 #define isc_mutex_unlock(mp) \
32 (--(*(mp)) == 0 ? ISC_R_SUCCESS : ISC_R_UNEXPECTED)
33 #define isc_mutex_trylock(mp) \
34 (*(mp) == 0 ? ((*(mp))++, ISC_R_SUCCESS) : ISC_R_LOCKBUSY)
35 #define isc_mutex_destroy(mp) \
[all...]
/macosx-10.10/ntp-92/lib/isc/nothreads/include/isc/
H A Dmutex.h27 #define isc_mutex_init(mp) \
28 (*(mp) = 0, ISC_R_SUCCESS)
29 #define isc_mutex_lock(mp) \
30 ((*(mp))++ == 0 ? ISC_R_SUCCESS : ISC_R_UNEXPECTED)
31 #define isc_mutex_unlock(mp) \
32 (--(*(mp)) == 0 ? ISC_R_SUCCESS : ISC_R_UNEXPECTED)
33 #define isc_mutex_trylock(mp) \
34 (*(mp) == 0 ? ((*(mp))++, ISC_R_SUCCESS) : ISC_R_LOCKBUSY)
35 #define isc_mutex_destroy(mp) \
[all...]
/macosx-10.10/Heimdal-398.1.2/appl/popper/
H A Dpop_parse.c18 char * mp; local
22 for (mp = buf, i = 0; ; i++) {
25 while (isspace((unsigned char)*mp))mp++;
28 if (*mp == 0) break;
37 p->pop_parm[i] = mp;
40 while (!isspace((unsigned char)*mp) && *mp) mp++;
43 if (*mp) *m
[all...]
H A Dpop_xover.c8 MsgInfoList * mp; /* Pointer to message info list */ local
17 for (i = p->msg_count, mp = p->mlp; i > 0; i--, mp++) {
18 if (!(mp->flags & DEL_FLAG))
20 mp->number,
21 mp->subject,
22 mp->from,
23 mp->date,
24 mp->msg_id,
25 mp
[all...]
H A Dpop_list.c17 MsgInfoList * mp; /* Pointer to message info list */ local
31 mp = &p->mlp[msg_num-1];
34 if (mp->flags & DEL_FLAG)
39 return (pop_msg(p,POP_SUCCESS,"%d %ld",msg_num,mp->length));
49 for (i = p->msg_count, mp = p->mlp; i > 0; i--, mp++) {
50 if (!(mp->flags & DEL_FLAG))
51 fprintf(p->output,"%u %lu\r\n",mp->number,mp->length);
H A Dpop_uidl.c45 MsgInfoList * mp; /* Pointer to message info list */ local
59 mp = &p->mlp[msg_num-1];
62 if (mp->flags & DEL_FLAG)
67 return (pop_msg(p,POP_SUCCESS,"%u %s",msg_num,mp->msg_id));
77 for (i = p->msg_count, mp = p->mlp; i > 0; i--, mp++) {
78 if (!(mp->flags & DEL_FLAG))
79 fprintf(p->output,"%u %s\r\n",mp->number,mp->msg_id);
H A Dpop_dropinfo.c52 parse_header(MsgInfoList *mp, char *buffer) argument
56 if (mp->msg_id == NULL)
57 mp->msg_id = find_value_after_colon(buffer);
63 mp->msg_id = find_value_after_colon(buffer);
69 if(mp->subject == NULL){
71 mp->subject = find_value_after_colon(buffer);
72 for(p = mp->subject; *p; p++)
77 if(mp->from == NULL){
79 mp->from = find_value_after_colon(buffer);
80 for(p = mp
96 add_missing_headers(POP *p, MsgInfoList *mp) argument
129 MsgInfoList * mp; /* Pointer to message local
[all...]
H A Dpop_dele.c16 MsgInfoList * mp; /* Pointer to message info list */ local
27 mp = &(p->mlp[msg_num-1]);
30 if (mp->flags & DEL_FLAG)
35 mp->flags |= DEL_FLAG;
41 mp->number, mp->offset, mp->length);
46 p->bytes_deleted += mp->length;
60 MsgInfoList * mp; /* Pointer to message info list */ local
79 mp
[all...]
H A Dpop_rset.c17 MsgInfoList * mp; /* Pointer to the message info list */ local
21 for (i = p->msg_count, mp = p->mlp; i > 0; i--, mp++)
22 mp->flags &= ~DEL_FLAG;
/macosx-10.10/ksh-23/ksh/src/lib/libast/misc/
H A Dmimetype.c37 drop(Mime_t* mp) argument
39 if (mp->magic)
41 magicclose(mp->magic);
42 mp->magic = 0;
51 mimetype(Mime_t* mp, Sfio_t* fp, const char* file, struct stat* st) argument
53 if (mp->disc->flags & MIME_NOMAGIC)
55 if (!mp->magic)
57 mp->magicd.version = MAGIC_VERSION;
58 mp->magicd.flags = MAGIC_MIME;
59 mp
[all...]
/macosx-10.10/bind9-45.101/bind9/lib/isc/win32/include/isc/
H A Dmutex.h39 #define isc_mutex_init(mp) \
40 (InitializeCriticalSection((mp)), ISC_R_SUCCESS)
41 #define isc_mutex_lock(mp) \
42 (EnterCriticalSection((mp)), ISC_R_SUCCESS)
43 #define isc_mutex_unlock(mp) \
44 (LeaveCriticalSection((mp)), ISC_R_SUCCESS)
45 #define isc_mutex_trylock(mp) \
46 (TryEnterCriticalSection((mp)) ? ISC_R_SUCCESS : ISC_R_LOCKBUSY)
47 #define isc_mutex_destroy(mp) \
48 (DeleteCriticalSection((mp)), ISC_R_SUCCES
[all...]
/macosx-10.10/ntp-92/lib/isc/win32/include/isc/
H A Dmutex.h39 #define isc_mutex_init(mp) \
40 (InitializeCriticalSection((mp)), ISC_R_SUCCESS)
41 #define isc_mutex_lock(mp) \
42 (EnterCriticalSection((mp)), ISC_R_SUCCESS)
43 #define isc_mutex_unlock(mp) \
44 (LeaveCriticalSection((mp)), ISC_R_SUCCESS)
45 #define isc_mutex_trylock(mp) \
46 (TryEnterCriticalSection((mp)) ? ISC_R_SUCCESS : ISC_R_LOCKBUSY)
47 #define isc_mutex_destroy(mp) \
48 (DeleteCriticalSection((mp)), ISC_R_SUCCES
[all...]
/macosx-10.10/dcerpc-61/dcerpc/include/dce/alpha/
H A Dmarshall.h100 #define rpc_marshall_boolean(mp, src)\
101 *(ndr_boolean *)mp = src
103 #define rpc_unmarshall_boolean(mp, dst)\
104 dst = *(ndr_boolean *)mp
106 #define rpc_convert_boolean(src_drep, dst_drep, mp, dst)\
107 rpc_unmarshall_boolean(mp, dst)
109 #define rpc_marshall_byte(mp, src)\
110 *(ndr_byte *)mp = src
112 #define rpc_unmarshall_byte(mp, dst)\
113 dst = *(ndr_byte *)mp
[all...]
/macosx-10.10/bind9-45.101/bind9/lib/isc/pthreads/include/isc/
H A Dmutex.h70 #define isc_mutex_init(mp) \
71 isc_mutex_init_profile((mp), __FILE__, __LINE__)
74 #define isc_mutex_init(mp) \
75 isc_mutex_init_errcheck((mp))
77 #define isc_mutex_init(mp) \
78 isc__mutex_init((mp), __FILE__, __LINE__)
79 isc_result_t isc__mutex_init(isc_mutex_t *mp, const char *file, unsigned int line);
84 #define isc_mutex_lock(mp) \
85 isc_mutex_lock_profile((mp), __FILE__, __LINE__)
87 #define isc_mutex_lock(mp) \
[all...]
/macosx-10.10/ntp-92/lib/isc/pthreads/include/isc/
H A Dmutex.h70 #define isc_mutex_init(mp) \
71 isc_mutex_init_profile((mp), __FILE__, __LINE__)
74 #define isc_mutex_init(mp) \
75 isc_mutex_init_errcheck((mp))
77 #define isc_mutex_init(mp) \
78 isc__mutex_init((mp), __FILE__, __LINE__)
79 isc_result_t isc__mutex_init(isc_mutex_t *mp, const char *file, unsigned int line);
84 #define isc_mutex_lock(mp) \
85 isc_mutex_lock_profile((mp), __FILE__, __LINE__)
87 #define isc_mutex_lock(mp) \
[all...]
/macosx-10.10/lsof-53/lsof/lib/
H A Dcvfs.c67 struct mounts *mp; local
77 for (mp = readmnt(); mp; mp = mp->next) {
78 if (mp->dev == *dev) {
81 vfs->dev = mp->dev;
85 vfs->nlink = mp->nlink;
89 vfs->size = mp->size;
92 vfs->dir = mp
[all...]
/macosx-10.10/Libc-1044.1.2/db/mpool/FreeBSD/
H A Dmpool.c66 MPOOL *mp; local
83 if ((mp = (MPOOL *)calloc(1, sizeof(MPOOL))) == NULL)
85 TAILQ_INIT(&mp->lqh);
87 TAILQ_INIT(&mp->hqh[entry]);
88 mp->maxcache = maxcache;
89 mp->npages = sb.st_size / pagesize;
90 mp->pagesize = pagesize;
91 mp->fd = fd;
92 return (mp);
100 mpool_filter(MPOOL *mp, voi argument
149 mpool_get(MPOOL *mp, pgno_t pgno, u_int flags) argument
232 mpool_put(MPOOL *mp, void *page, u_int flags) argument
257 mpool_close(MPOOL *mp) argument
278 mpool_sync(MPOOL *mp) argument
304 mpool_bkt(MPOOL *mp) argument
357 mpool_write(MPOOL *mp, BKT *bp) argument
382 mpool_look(MPOOL *mp, pgno_t pgno) argument
407 mpool_stat(MPOOL *mp) argument
[all...]
/macosx-10.10/dcerpc-61/dcerpc/ncklib/
H A Drpcmutex.c130 rpc_mutex_p_t mp
133 mp->stats.busy = 0;
134 mp->stats.lock = 0;
135 mp->stats.try_lock = 0;
136 mp->stats.unlock = 0;
137 mp->stats.init = 1;
138 mp->stats.deletes = 0;
139 mp->stats.lock_assert = 0;
140 mp->stats.unlock_assert = 0;
141 mp
171 rpc__mutex_lock( rpc_mutex_p_t mp, char *file, int line ) argument
216 rpc__mutex_try_lock( rpc_mutex_p_t mp, boolean *bp, char *file, int line ) argument
414 rpc__cond_wait( rpc_cond_p_t cp, rpc_mutex_p_t mp, char *file, int line ) argument
476 rpc__cond_timed_wait( rpc_cond_p_t cp, rpc_mutex_p_t mp, struct timespec *wtime, char *file, int line ) argument
[all...]
/macosx-10.10/ksh-23/ksh/src/lib/libast/string/
H A Dccmapid.c126 ccmaplist(Ccmap_t* mp) argument
128 return !mp ? (Ccmap_t*)maps : (++mp)->name ? mp : (Ccmap_t*)0;
138 register const Ccmap_t* mp; local
146 for (mp = maps; mp->name; mp++)
147 if (strgrpmatch(name, mp->match, sub, elementsof(sub) / 2, STR_MAXIMAL|STR_LEFT|STR_ICASE))
150 return mp
167 register const Ccmap_t* mp; local
[all...]
/macosx-10.10/postfix-255/postfix/src/milter/
H A Dmilter_macros.c25 /* void milter_macros_free(mp)
26 /* MILTER_MACROS *mp;
134 MILTER_MACROS *mp = (MILTER_MACROS *) ptr; local
142 ATTR_TYPE_STR, MAIL_ATTR_MILT_MAC_CONN, mp->conn_macros,
143 ATTR_TYPE_STR, MAIL_ATTR_MILT_MAC_HELO, mp->helo_macros,
144 ATTR_TYPE_STR, MAIL_ATTR_MILT_MAC_MAIL, mp->mail_macros,
145 ATTR_TYPE_STR, MAIL_ATTR_MILT_MAC_RCPT, mp->rcpt_macros,
146 ATTR_TYPE_STR, MAIL_ATTR_MILT_MAC_DATA, mp->data_macros,
147 ATTR_TYPE_STR, MAIL_ATTR_MILT_MAC_EOH, mp->eoh_macros,
148 ATTR_TYPE_STR, MAIL_ATTR_MILT_MAC_EOD, mp
159 MILTER_MACROS *mp = (MILTER_MACROS *) ptr; local
215 MILTER_MACROS *mp; local
234 MILTER_MACROS *mp; local
268 milter_macros_free(MILTER_MACROS *mp) argument
[all...]
/macosx-10.10/dcerpc-61/dcerpc/idl_lib/
H A Dnbaseool.c118 rpc_mp_t mp; local
130 mp = NIDL_msp->mp;
132 rpc_align_mop(mp, op, 4);
133 rpc_marshall_ulong_int(mp, (*p_node).time_low);
134 rpc_advance_mp(mp, 4);
135 rpc_marshall_ushort_int(mp, (*p_node).time_mid);
136 rpc_advance_mp(mp, 2);
137 rpc_marshall_ushort_int(mp, (*p_node).time_hi_and_version);
138 rpc_advance_mp(mp,
[all...]
/macosx-10.10/postfix-255/postfix/src/global/
H A Dmail_version.c21 /* void mail_version_free(mp)
22 /* MAIL_VERSION *mp;
109 static const char *mail_version_worker(MAIL_VERSION *mp, char *cp) argument
118 if ((mp->program = mystrtok(&cp, "-")) == 0)
130 if ((mp->major = mail_version_int(major_field)) < 0)
133 if ((mp->minor = mail_version_int(minor_field)) < 0)
137 mp->patch = -1;
138 else if ((mp->patch = mail_version_int(patch_field)) < 0)
146 mp->snapshot = 0;
147 else if ((mp
157 MAIL_VERSION *mp; local
175 mail_version_free(MAIL_VERSION *mp) argument
210 MAIL_VERSION *mp; local
[all...]
/macosx-10.10/ksh-23/ksh/src/lib/libast/port/
H A Dmnt.c267 register Handle_t* mp;
278 if (!(mp = newof(0, Handle_t, 1, n)))
281 n = getfsstat(mp->next = mp->buf, n + sizeof(struct statfs), MNT_WAIT);
283 n = getmntinfo(&mp->next, 0);
287 free(mp);
290 mp->last = mp->next + n;
291 return (void*)mp;
297 register Handle_t* mp
[all...]
/macosx-10.10/tcl-105/tcl/tcl/unix/
H A DtclLoadAix.c104 register ModulePtr mp;
125 for (mp = modList; mp; mp = mp->next) {
126 if (strcmp(mp->name, path) == 0) {
127 mp->refCnt++;
128 return (void *) mp;
132 mp = (ModulePtr) calloc(1, sizeof(*mp));
103 register ModulePtr mp; local
287 register ModulePtr mp = (ModulePtr)handle; local
322 register ModulePtr mp = (ModulePtr)handle; local
387 readExports( ModulePtr mp) argument
[all...]
/macosx-10.10/libutil-38/
H A Dgetmntopts.c63 getmntoptstr(mntoptparse_t mp, const char *opt) argument
67 for (m = mp->mopts; m->m_option != NULL; m++)
78 return mp->optarg[m - mp->mopts];
82 getmntoptnum(mntoptparse_t mp, const char *opt) argument
87 const char *val = getmntoptstr(mp, opt);
114 freemntopts(mntoptparse_t mp) argument
116 free(mp->optbuf);
117 free(mp->optarg);
118 free(mp);
130 mntoptparse_t mp; local
[all...]

Completed in 512 milliseconds

1234567891011>>