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

1234567891011>>

/macosx-10.9.5/diskdev_cmds-572.1.1/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.9.5/ksh-20/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.9.5/Libc-997.90.3/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.9.5/ksh-20/ksh/src/cmd/ksh93/sh/
H A Dlex.c117 #define pushlevel(lp,c,s) ((lp->lexd.level>=lp->lexd.lex_max?stack_grow(lp):1) &&\
118 ((lp->lexd.lex_match[lp->lexd.level++]=lp->lexd.lastc),\
119 lp->lexd.lastc=(((s)<<CHAR_BIT)|(c))))
120 #define oldmode(lp) (lp
140 refvar(Lex_t *lp, int type) argument
184 register Lex_t *lp = (Lex_t*)context; local
232 lexfill(Lex_t *lp) argument
264 sh_lexopen(Lex_t *lp, Shell_t *sp, int mode) argument
291 sh_lex(Lex_t *lp) argument
320 sh_lex(Lex_t* lp) argument
1520 comsub(register Lex_t *lp, int endtok) argument
1654 nested_here(register Lex_t *lp) argument
1695 sh_lexskip(Lex_t *lp,int close, register int copy, int state) argument
1749 here_copy(Lex_t *lp,register struct ionod *iop) argument
1980 fmttoken(Lex_t *lp, register int sym, char *tok) argument
2040 sh_syntax(Lex_t *lp) argument
2365 Lex_t *lp; member in struct:alias
2386 register Lex_t *lp; local
2421 setupalias(Lex_t *lp, const char *string,Namval_t *np) argument
2457 stack_grow(Lex_t *lp) argument
[all...]
/macosx-10.9.5/xnu-2422.115.4/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.9.5/text_cmds-87/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.9.5/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.9.5/cups-372.4/cups/test/
H A D5.5-lp.sh3 # "$Id: 5.5-lp.sh 11433 2013-11-20 18:57:44Z 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.9.5/dtrace-118.1/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.9.5/Libc-997.90.3/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.9.5/text_cmds-87/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.9.5/xnu-2422.115.4/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.9.5/remote_cmds-41.90.1/revnetgroup.tproj/
H A Dparse_netgroup.c142 struct linelist *lp, *olp; local
145 lp = linehead;
146 while (lp) {
147 olp = lp;
148 lp = lp->l_next;
186 struct linelist *lp = linehead; local
191 while (lp) {
192 if (!strcmp(group, lp->l_groupname))
194 lp
292 struct linelist *lp; local
[all...]
/macosx-10.9.5/cctools-845/as/
H A Datof-ieee.c259 LITTLENUM_TYPE * lp;
334 lp = words;
353 *lp++=word1;
375 *lp++=0;
376 *lp++=0;
381 *lp++=0;
384 *lp++=next_bits(LITTLENUM_NUMBER_OF_BITS-(num_bits));
387 *lp++=word1;
388 *lp++=0;
390 *lp
257 LITTLENUM_TYPE * lp; local
[all...]
/macosx-10.9.5/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.9.5/gnutar-452/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.9.5/text_cmds-87/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.9.5/system_cmds-597.90.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...]
/macosx-10.9.5/system_cmds-597.90.1/system_cmds-597.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 221 milliseconds

1234567891011>>