Searched refs:lp (Results 1 - 25 of 316) sorted by relevance

1234567891011>>

/macosx-10.10.1/diskdev_cmds-576/disklib/
H A Ddkdisklabel.c22 u_short dkcksum __P((register struct disklabel *lp));
23 int dkdisklabelregenerate __P((int fd, struct disklabel * lp, int newblksize));
61 int dkdisklabel(int fd, struct disklabel * lp) argument
63 return dkdisklabelregenerate(fd, lp, 0);
66 int dkdisklabelregenerate(int fd, struct disklabel * lp, int newblksize) argument
97 memset(lp, 0, sizeof(struct disklabel));
99 lp->d_magic = DISKMAGIC; /* the magic number */
100 // lp->d_type = 0; /* drive type */
101 // lp->d_subtype = 0; /* controller/d_type specific */
102 // lp
[all...]
H A Ddkcksum.c66 dkcksum(lp)
67 register struct disklabel *lp;
72 start = (u_short *)lp;
73 end = (u_short *)&lp->d_partitions[lp->d_npartitions];
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/tm/
H A Dtmxleap.c40 register Tm_leap_t* lp; local
47 for (lp = &tm_data.leap[0]; sec < (lp->time - lp->total); lp++);
48 t = tmxsns(sec + lp->total, tmxnsec(t));
/macosx-10.10.1/Libc-1044.1.2/gen/FreeBSD/
H A Dtelldir.c64 struct ddloc *lp; local
69 LIST_FOREACH(lp, &dirp->dd_td->td_locq, loc_lqe) {
72 (lp->loc_seek == dirp->dd_td->seekoff)
74 (lp->loc_seek == dirp->dd_seek)
76 && (lp->loc_loc == dirp->dd_loc))
79 if ((lp = (struct ddloc *)malloc(sizeof(struct ddloc))) == NULL) {
85 if ((lp = (struct ddloc *)malloc(sizeof(struct ddloc))) == NULL)
90 lp->loc_index = dirp->dd_td->td_loccnt++;
92 lp->loc_seek = dirp->dd_td->seekoff;
94 lp
115 struct ddloc *lp; local
159 struct ddloc *lp; local
[all...]
/macosx-10.10.1/ksh-23/ksh/src/cmd/ksh93/sh/
H A Dlex.c118 #define pushlevel(lp,c,s) ((lp->lexd.level>=lp->lexd.lex_max?stack_grow(lp):1) &&\
119 ((lp->lexd.lex_match[lp->lexd.level++]=lp->lexd.lastc),\
120 lp->lexd.lastc=(((s)<<CHAR_BIT)|(c))))
121 #define oldmode(lp) (lp
141 refvar(Lex_t *lp, int type) argument
185 register Lex_t *lp = (Lex_t*)context; local
233 lexfill(Lex_t *lp) argument
265 sh_lexopen(Lex_t *lp, Shell_t *sp, int mode) argument
292 sh_lex(Lex_t *lp) argument
321 sh_lex(Lex_t* lp) argument
1556 comsub(register Lex_t *lp, int endtok) argument
1695 nested_here(register Lex_t *lp) argument
1736 sh_lexskip(Lex_t *lp,int close, register int copy, int state) argument
1790 here_copy(Lex_t *lp,register struct ionod *iop) argument
2049 fmttoken(Lex_t *lp, register int sym, char *tok) argument
2109 sh_syntax(Lex_t *lp) argument
2434 Lex_t *lp; member in struct:alias
2455 register Lex_t *lp; local
2490 setupalias(Lex_t *lp, const char *string,Namval_t *np) argument
2526 stack_grow(Lex_t *lp) argument
[all...]
/macosx-10.10.1/xnu-2782.1.97/bsd/security/audit/
H A Daudit_bsd.h256 void _audit_slck_init(struct slck *lp, const char *grpname);
257 wait_result_t _audit_slck_lock(struct slck *lp, int intr);
258 void _audit_slck_unlock(struct slck *lp);
259 int _audit_slck_trylock(struct slck *lp);
260 void _audit_slck_assert(struct slck *lp, u_int assert);
261 void _audit_slck_destroy(struct slck *lp);
262 #define slck_init(lp, name) _audit_slck_init((lp), (name))
263 #define slck_lock(lp) _audit_slck_lock((lp),
[all...]
H A Daudit_bsd.c353 _audit_rw_init(struct rwlock *lp, const char *lckname) argument
355 _audit_rw_init(struct rwlock *lp, __unused const char *lckname)
358 lp->rw_lock = lck_rw_alloc_init(audit_lck_grp, LCK_ATTR_NULL);
359 KASSERT(lp->rw_lock != NULL,
362 strlcpy(lp->rw_name, lckname, AU_MAX_LCK_NAME);
367 _audit_rw_destroy(struct rwlock *lp) argument
370 if (lp->rw_lock) {
371 lck_rw_free(lp->rw_lock, audit_lck_grp);
372 lp->rw_lock = NULL;
402 _audit_rlck_init(struct rlck *lp, cons argument
422 _audit_rlck_lock(struct rlck *lp) argument
440 _audit_rlck_unlock(struct rlck *lp) argument
453 _audit_rlck_destroy(struct rlck *lp) argument
466 _audit_rlck_assert(struct rlck *lp, u_int assert) argument
483 _audit_slck_init(struct slck *lp, const char *lckname) argument
504 _audit_slck_lock(struct slck *lp, int intr) argument
525 _audit_slck_unlock(struct slck *lp) argument
543 _audit_slck_trylock(struct slck *lp) argument
560 _audit_slck_assert(struct slck *lp, u_int assert) argument
570 _audit_slck_destroy(struct slck *lp) argument
[all...]
/macosx-10.10.1/text_cmds-88/ed/
H A Dbuf.c46 get_sbuf_line(line_t *lp) argument
53 if (lp == &buffer_head)
57 if (sfseek != lp->seek) {
58 sfseek = lp->seek;
65 len = lp->len;
83 line_t *lp; local
87 if ((lp = (line_t *) malloc(sizeof(line_t))) == NULL) {
117 lp->len = len;
118 lp->seek = sfseek;
119 add_line_node(lp);
127 add_line_node(line_t *lp) argument
140 get_line_node_addr(line_t *lp) argument
159 static line_t *lp = &buffer_head; local
[all...]
H A Dglbl.c44 line_t *lp; local
57 lp = get_addressed_line_node(first_addr);
58 for (n = first_addr; n <= second_addr; n++, lp = lp->q_forw) {
59 if ((s = get_sbuf_line(lp)) == NULL)
62 NUL_TO_NEWLINE(s, lp->len);
64 set_active_node(lp) < 0)
79 line_t *lp = NULL; local
94 while ((lp = next_active_node()) != NULL) {
95 if ((current_addr = get_line_node_addr(lp)) <
146 set_active_node(line_t *lp) argument
186 line_t *lp; local
[all...]
/macosx-10.10.1/BerkeleyDB-21/db/log/
H A Dlog_put.c92 LOG *lp; local
98 lp = dblp->reginfo.primary;
152 if (lp->persist.version != DB_LOGVERSION)
194 lp->max_perm_lsn = lsn;
212 nf_args.version = lp->persist.version;
231 lp->bulk_buf);
234 bulk.offp = &lp->bulk_off;
235 bulk.len = lp->bulk_len;
239 bulk.flagsp = &lp->bulk_flags;
306 lp
352 LOG *lp; local
404 LOG *lp; local
478 LOG *lp; local
549 LOG *lp; local
688 LOG *lp; local
854 LOG *lp; local
883 LOG *lp; local
1113 LOG *lp; local
1181 LOG *lp; local
1329 LOG *lp; local
1376 LOG *lp; local
1493 LOG *lp; local
[all...]
H A Dlog.c34 LOG *lp; local
69 lp = dblp->reginfo.primary =
71 dblp->bufp = R_ADDR(&dblp->reginfo, lp->buffer_off);
99 if (lp->log_size == 0)
100 lp->log_size =
111 if (lp->log_nsize == 0)
112 lp->log_nsize = lp->log_size;
118 if (IS_INIT_LSN(lp->lsn) &&
129 lp
191 LOG *lp; local
302 LOG *lp; local
420 LOG *lp; local
589 LOG *lp; local
800 LOG *lp; local
925 LOG *lp; local
1002 LOG *lp; local
1094 LOG *lp; local
1155 LOG *lp; local
1256 LOG *lp; local
1284 LOG *lp; local
1359 LOG *lp; local
1443 LOG *lp; local
1468 LOG *lp; local
1494 LOG *lp; local
1525 LOG *lp; local
[all...]
H A Dlog_compare.c39 LOG *lp; local
42 lp = env->lg_handle->reginfo.primary;
45 ret = LOG_COMPARE(lsnp, &lp->lsn);
56 (u_long)lp->lsn.file, (u_long)lp->lsn.offset);
H A Dlog_stat.c64 LOG *lp; local
70 lp = dblp->reginfo.primary;
77 *stats = lp->stat;
79 memset(&lp->stat, 0, sizeof(lp->stat));
81 stats->st_magic = lp->persist.magic;
82 stats->st_version = lp->persist.version;
83 stats->st_mode = lp->filemode;
84 stats->st_lg_bsize = lp->buffer_size;
85 stats->st_lg_size = lp
249 LOG *lp; local
[all...]
/macosx-10.10.1/cups-408/cups/test/
H A D5.5-lp.sh3 # "$Id: 5.5-lp.sh 12078 2014-07-31 11:45:57Z msweet $"
5 # Test the lp command.
19 echo " lp testfile.pdf"
20 $VALGRIND ../systemv/lp testfile.pdf 2>&1
31 echo " lp -d Test3 -o fit-to-page testfile.jpg"
32 $VALGRIND ../systemv/lp -d Test3 -o fit-to-page testfile.jpg 2>&1
43 echo " lp -d Test1 -P 1-4 -o job-sheets=classified,classified testfile.pdf"
44 $VALGRIND ../systemv/lp -d Test1 -P 1-4 -o job-sheets=classified,classified testfile.pdf 2>&1
55 echo " lp -d Test1 testfile.jpg"
56 echo " lp
[all...]
/macosx-10.10.1/apache-793/httpd/modules/filters/
H A Dregexp.c390 static int _advance(char *lp, char *ep, step_vars_storage *vars) argument
404 if (*ep++ == *lp++)
409 if (*lp++)
414 if (*lp == 0)
419 vars->loc2 = lp;
423 c = (unsigned char)*lp++;
434 c = *lp++;
443 vars->braslist[epint] = lp;
449 vars->braelist[epint] = lp;
457 if (*lp
[all...]
/macosx-10.10.1/dtrace-147/libctf/
H A Dctf_util.c39 ctf_list_append(ctf_list_t *lp, void *new) argument
41 ctf_list_t *p = lp->l_prev; /* p = tail list element */
44 lp->l_prev = q;
51 lp->l_next = q;
59 ctf_list_prepend(ctf_list_t *lp, void *new) argument
62 ctf_list_t *q = lp->l_next; /* q = head list element */
64 lp->l_next = p;
71 lp->l_prev = p;
79 ctf_list_delete(ctf_list_t *lp, void *existing) argument
86 lp
[all...]
/macosx-10.10.1/Libc-1044.1.2/string/FreeBSD/
H A Dstrlen.c84 const unsigned long *lp; local
92 for (lp = (const unsigned long *)p; ; lp++)
93 if ((*lp - mask01) & mask80) {
94 p = (const char *)(lp);
/macosx-10.10.1/text_cmds-88/lam/
H A Dlam.c184 char *lp = linep; local
186 strlcpy(lp, ip->sepstring, line + sizeof(line) - lp);
187 lp += strlen(lp);
189 snprintf(lp, line + sizeof(line) - lp, ip->format, "");
190 lp += strlen(lp);
192 return (lp);
201 char *lp = linep; local
[all...]
/macosx-10.10.1/xnu-2782.1.97/libsyscall/wrappers/string/
H A Dstrlen.c81 const unsigned long *lp; local
89 for (lp = (const unsigned long *)p; ; lp++)
90 if ((*lp - mask01) & mask80) {
91 p = (const char *)(lp);
/macosx-10.10.1/OpenSSL098-52/src/crypto/des/
H A Dqud_cksm.c84 struct lp_st { int a:32; int b:32; } *lp; local
86 DES_LONG *lp; local
91 lp = (struct lp_st *) &(output[0])[0];
93 lp = (DES_LONG *) &(output[0])[0];
123 if (lp != NULL)
128 (*lp).a = z0;
129 (*lp).b = z1;
130 lp++;
132 *lp++ = z0;
133 *lp
[all...]
/macosx-10.10.1/remote_cmds-47/revnetgroup.tproj/
H A Dparse_netgroup.c143 struct linelist *lp, *olp; local
146 lp = linehead;
147 while (lp) {
148 olp = lp;
149 lp = lp->l_next;
187 struct linelist *lp = linehead; local
192 while (lp) {
193 if (!strcmp(group, lp->l_groupname))
195 lp
293 struct linelist *lp; local
[all...]
/macosx-10.10.1/cxxfilt-11/cxxfilt/libiberty/
H A Dobstack.c307 register struct _obstack_chunk *lp; /* below addr of any objects in this chunk */
310 lp = (h)->chunk;
314 while (lp != 0 && ((POINTER) lp >= obj || (POINTER) (lp)->limit < obj))
316 plp = lp->prev;
317 lp = plp;
319 return lp != 0;
334 register struct _obstack_chunk *lp; /* below addr of any objects in this chunk */
337 lp
306 register struct _obstack_chunk *lp; /* below addr of any objects in this chunk */ local
332 register struct _obstack_chunk *lp; /* below addr of any objects in this chunk */ local
364 register struct _obstack_chunk *lp; /* below addr of any objects in this chunk */ local
394 register struct _obstack_chunk* lp; local
[all...]
/macosx-10.10.1/gnutar-453/gnutar/lib/
H A Dobstack.c325 register struct _obstack_chunk *lp; /* below addr of any objects in this chunk */
328 lp = (h)->chunk;
332 while (lp != 0 && ((void *) lp >= obj || (void *) (lp)->limit < obj))
334 plp = lp->prev;
335 lp = plp;
337 return lp != 0;
349 register struct _obstack_chunk *lp; /* below addr of any objects in this chunk */
352 lp
324 register struct _obstack_chunk *lp; /* below addr of any objects in this chunk */ variable in typeref:struct:_obstack_chunk
347 register struct _obstack_chunk *lp; /* below addr of any objects in this chunk */ local
383 register struct _obstack_chunk* lp; local
[all...]
/macosx-10.10.1/text_cmds-88/paste/
H A Dpaste.c136 LIST *lp; local
145 if ((lp = malloc(sizeof(LIST))) == NULL)
148 lp->fp = stdin;
149 else if (!(lp->fp = fopen(p, "r")))
151 lp->next = NULL;
152 lp->cnt = cnt;
153 lp->name = p;
155 head = tmp = lp;
157 tmp->next = lp;
158 tmp = lp;
[all...]
/macosx-10.10.1/system_cmds-643.1.1/ac.tproj/
H A Dac.c301 struct user_list *lp; local
303 for (lp = list; lp; lp = lp->next)
304 show(lp->name, lp->secs);
317 struct utmp_list *lp; local
327 for (lp = logins; lp !
351 struct utmp_list *lp, *lp2, *tlp; local
393 struct utmp_list *lp; local
458 struct utmp_list *lp, *head = NULL; local
[all...]

Completed in 164 milliseconds

1234567891011>>