Home
last modified time | relevance | path

Searched refs:ln (Results 1 – 25 of 508) sorted by relevance

12345678910>>...21

/freebsd/contrib/bmake/
H A Dlst.c42 ListNode *ln = bmake_malloc(sizeof *ln); in LstNodeNew() local
44 ln->prev = prev; in LstNodeNew()
45 ln->next = next; in LstNodeNew()
46 ln->datum = datum; in LstNodeNew()
48 return ln; in LstNodeNew()
54 ListNode *ln, *next; in Lst_Done() local
56 for (ln = list->first; ln != NULL; ln in Lst_Done()
65 ListNode *ln, *next; Lst_DoneCall() local
76 Lst_InsertBefore(List * list,ListNode * ln,void * datum) Lst_InsertBefore() argument
96 ListNode *ln; Lst_Prepend() local
115 ListNode *ln; Lst_Append() local
135 Lst_Remove(List * list,ListNode * ln) Lst_Remove() argument
154 LstNode_Set(ListNode * ln,void * datum) LstNode_Set() argument
166 LstNode_SetNull(ListNode * ln) LstNode_SetNull() argument
179 ListNode *ln; Lst_FindDatum() local
216 ListNode *ln; Lst_PrependAll() local
226 ListNode *ln; Lst_AppendAll() local
[all...]
H A Dmake.c371 GNodeListNode *ln; in GNode_IsOODate() local
372 for (ln = gn->parents.first; ln != NULL; ln = ln->next) in GNode_IsOODate()
373 GNode_UpdateYoungestChild(ln->datum, gn); in GNode_IsOODate()
382 GNodeListNode *ln; in PretendAllChildrenAreMade() local
384 for (ln = pgn->children.first; ln != NULL; ln = ln->next) { in PretendAllChildrenAreMade()
385 GNode *cgn = ln->datum; in PretendAllChildrenAreMade()
411 GNodeListNode *ln; /* An element in the children list */ in Make_HandleUse() local
433 for (ln = cgn->children.first; ln != NULL; ln = ln->next) { in Make_HandleUse()
434 GNode *gn = ln->datum; in Make_HandleUse()
477 MakeHandleUse(GNode *cgn, GNode *pgn, GNodeListNode *ln) in MakeHandleUse() argument
[all …]
H A Dsuff.c327 SuffixListNode *ln; in FindSuffixByNameLen() local
329 for (ln = sufflist.first; ln != NULL; ln = ln->next) { in FindSuffixByNameLen()
330 Suffix *suff = ln->datum; in FindSuffixByNameLen()
347 GNodeListNode *ln; in FindTransformByName() local
349 for (ln = transforms.first; ln != NULL; ln = ln->next) { in FindTransformByName()
350 GNode *gn = ln->datum; in FindTransformByName()
360 SuffixListNode *ln = Lst_FindDatum(list, suff); in SuffixList_Unref() local
361 if (ln != NULL) { in SuffixList_Unref()
362 Lst_Remove(list, ln); in SuffixList_Unref()
412 SuffixListNode *ln; in SuffixList_Insert() local
[all …]
H A Ddir.c352 CachedDirListNode *ln = odirs->list.first; in OpenDirs_Done() local
355 while (ln != NULL) { in OpenDirs_Done()
356 CachedDirListNode *next = ln->next; in OpenDirs_Done()
357 CachedDir *dir = ln->datum; in OpenDirs_Done()
361 ln = next; in OpenDirs_Done()
371 CachedDirListNode *ln = HashTable_FindValue(&odirs->table, name); in OpenDirs_Find() local
372 return ln != NULL ? ln->datum : NULL; in OpenDirs_Find()
388 CachedDirListNode *ln; in OpenDirs_Remove() local
391 ln = HashEntry_Get(he); in OpenDirs_Remove()
393 Lst_Remove(&odirs->list, ln); in OpenDirs_Remove()
[all …]
H A Dtarg.c138 GNodeListNode *ln; in Targ_End() local
142 for (ln = allNodes.first; ln != NULL; ln = ln->next) in Targ_End()
143 GNode_Free(ln->datum); in Targ_End()
327 StringListNode *ln; in Targ_FindList() local
329 for (ln = names->first; ln != NULL; ln = ln->next) { in Targ_FindList()
330 const char *name = ln->datum; in Targ_FindList()
339 GNodeListNode *ln; in PrintNodeNames() local
341 for (ln = gnodes->first; ln != NULL; ln = ln->next) { in PrintNodeNames()
342 GNode *gn = ln->datum; in PrintNodeNames()
360 StringListNode *ln; in Targ_PrintCmds() local
[all …]
H A Dcompat.c237 Compat_RunCommand(const char *cmdp, GNode *gn, StringListNode *ln) in Compat_RunCommand() argument
272 LstNode_Set(ln, cmdStart); in Compat_RunCommand()
366 LstNode_SetNull(ln); in Compat_RunCommand()
449 StringListNode *ln; in RunCommands() local
451 for (ln = gn->commands.first; ln != NULL; ln = ln->next) { in RunCommands()
452 const char *cmd = ln->datum; in RunCommands()
453 if (!Compat_RunCommand(cmd, gn, ln)) in RunCommands()
480 GNodeListNode *ln; in MakeWaitGroupsInRandomOrder() local
485 for (ln = gnodes->first; ln != NULL; ln = ln->next) in MakeWaitGroupsInRandomOrder()
486 *(GNode **)Vector_Push(&vec) = ln->datum; in MakeWaitGroupsInRandomOrder()
[all …]
/freebsd/contrib/elftoolchain/libdwarf/
H A Ddwarf_pro_lineno.c37 Dwarf_Line ln; in dwarf_add_line_entry() local
46 ln = STAILQ_LAST(&li->li_lnlist, _Dwarf_Line, ln_next); in dwarf_add_line_entry()
48 if (ln == NULL || ln->ln_addr > off) { in dwarf_add_line_entry()
53 if ((ln = calloc(1, sizeof(struct _Dwarf_Line))) == NULL) { in dwarf_add_line_entry()
57 ln->ln_li = li; in dwarf_add_line_entry()
58 ln->ln_addr = off; in dwarf_add_line_entry()
59 ln->ln_symndx = 0; in dwarf_add_line_entry()
60 ln->ln_fileno = file; in dwarf_add_line_entry()
61 ln->ln_lineno = lineno; in dwarf_add_line_entry()
62 ln->ln_column = column; in dwarf_add_line_entry()
[all …]
H A Ddwarf_lineno.c37 Dwarf_Line ln; in dwarf_srclines() local
84 for (i = 0, ln = STAILQ_FIRST(&li->li_lnlist); in dwarf_srclines()
85 i < *linecount && ln != NULL; i++, ln = STAILQ_NEXT(ln, ln_next)) in dwarf_srclines()
86 li->li_lnarray[i] = ln; in dwarf_srclines()
159 dwarf_linebeginstatement(Dwarf_Line ln, Dwarf_Bool *ret_bool, in dwarf_linebeginstatement() argument
163 if (ln == NULL || ret_bool == NULL) { in dwarf_linebeginstatement()
168 *ret_bool = ln->ln_stmt; in dwarf_linebeginstatement()
174 dwarf_lineendsequence(Dwarf_Line ln, Dwarf_Bool *ret_bool, Dwarf_Error *error) in dwarf_lineendsequence() argument
177 if (ln == NULL || ret_bool == NULL) { in dwarf_lineendsequence()
182 *ret_bool = ln->ln_endseq; in dwarf_lineendsequence()
[all …]
H A Dlibdwarf_lineno.c103 Dwarf_Line ln, tln; in _dwarf_lineno_run_program() local
121 ln = malloc(sizeof(struct _Dwarf_Line)); \ in _dwarf_lineno_run_program()
122 if (ln == NULL) { \ in _dwarf_lineno_run_program()
127 ln->ln_li = li; \ in _dwarf_lineno_run_program()
128 ln->ln_addr = address; \ in _dwarf_lineno_run_program()
129 ln->ln_symndx = 0; \ in _dwarf_lineno_run_program()
130 ln->ln_fileno = file; \ in _dwarf_lineno_run_program()
131 ln->ln_lineno = line; \ in _dwarf_lineno_run_program()
132 ln->ln_column = column; \ in _dwarf_lineno_run_program()
133 ln->ln_bblock = basic_block; \ in _dwarf_lineno_run_program()
[all …]
/freebsd/sys/netinet6/
H A Dnd6.c544 nd6_llinfo_settimer_locked(struct llentry *ln, long tick) in nd6_llinfo_settimer_locked() argument
548 LLE_WLOCK_ASSERT(ln); in nd6_llinfo_settimer_locked()
551 if (ln->la_flags & LLE_CHILD) in nd6_llinfo_settimer_locked()
555 ln->la_expire = 0; in nd6_llinfo_settimer_locked()
556 ln->ln_ntick = 0; in nd6_llinfo_settimer_locked()
557 canceled = callout_stop(&ln->lle_timer); in nd6_llinfo_settimer_locked()
559 ln->la_expire = time_uptime + tick / hz; in nd6_llinfo_settimer_locked()
560 LLE_ADDREF(ln); in nd6_llinfo_settimer_locked()
562 ln->ln_ntick = tick - INT_MAX; in nd6_llinfo_settimer_locked()
563 canceled = callout_reset(&ln->lle_timer, INT_MAX, in nd6_llinfo_settimer_locked()
[all …]
/freebsd/contrib/mandoc/
H A Dpreconv.c114 const char *ln, *eoln, *eoph; in preconv_cue() local
117 ln = b->buf + offset; in preconv_cue()
122 if (NULL == (eoln = memchr(ln, '\n', sz))) in preconv_cue()
123 eoln = ln + sz; in preconv_cue()
127 if ((sz = (size_t)(eoln - ln)) < 10 || in preconv_cue()
128 memcmp(ln, ".\\\" -*-", 7) || memcmp(eoln - 3, "-*-", 3)) in preconv_cue()
133 ln += 7; in preconv_cue()
137 while (sz > 0 && ' ' == *ln) { in preconv_cue()
138 ln++; in preconv_cue()
146 if (NULL == (eoph = memchr(ln, ';', sz))) in preconv_cue()
[all …]
H A Dchars.c36 struct ln { struct
46 static struct ln lines[] = { argument
444 mandoc_ohash_init(&mchars, 9, offsetof(struct ln, roffcode)); in mchars_alloc()
455 const struct ln *ln; in mchars_spec2cp() local
459 ln = ohash_find(&mchars, ohash_qlookupi(&mchars, p, &end)); in mchars_spec2cp()
460 return ln != NULL ? ln->unicode : -1; in mchars_spec2cp()
485 const struct ln *ln; in mchars_spec2str() local
489 ln = ohash_find(&mchars, ohash_qlookupi(&mchars, p, &end)); in mchars_spec2str()
490 if (ln == NULL) in mchars_spec2str()
493 *rsz = strlen(ln->ascii); in mchars_spec2str()
[all …]
H A Dread.c153 struct buf ln; in mparse_buf_r() local
165 ln.sz = 256; in mparse_buf_r()
166 ln.buf = mandoc_malloc(ln.sz); in mparse_buf_r()
167 ln.next = NULL; in mparse_buf_r()
208 if (pos + 12 > ln.sz) in mparse_buf_r()
209 resize_buf(&ln, 256); in mparse_buf_r()
218 &blk, &i, &ln, &pos, &curp->filenc))) { in mparse_buf_r()
221 ln.buf[pos++] = '?'; in mparse_buf_r()
238 ln.buf[pos++] = '?'; in mparse_buf_r()
242 ln.buf[pos++] = blk.buf[i++]; in mparse_buf_r()
[all …]
H A Dtbl_layout.c66 int ln, const char *p, int *pos) in mods() argument
93 mandoc_msg(MANDOCERR_TBLLAYOUT_PAR, ln, *pos, NULL); in mods()
101 mandoc_msg(MANDOCERR_TBLLAYOUT_SPC, ln, *pos, in mods()
125 mandoc_msg(MANDOCERR_TBLLAYOUT_MOD, ln, *pos, "m"); in mods()
168 ln, *pos - 1, NULL); in mods()
172 ln, *pos - 1, "%c", p[*pos - 1]); in mods()
196 ln, *pos, "TS %s", p + *pos - 1); in mods()
208 int ln, const char *p, int *pos) in cell() argument
221 ln, *pos, NULL); in cell()
241 ln, *pos, "%c", p[*pos]); in cell()
[all …]
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/dtraceUtil/
H A Dman.ListProbesWithNames39 * /usr/sbin/dtrace -ln profile
43 * /usr/sbin/dtrace -ln genunix
47 * /usr/sbin/dtrace -ln read
51 * /usr/sbin/dtrace -ln BEGIN
55 * /usr/sbin/dtrace -ln begin
59 * /usr/sbin/dtrace -ln genunix:read
63 * /usr/sbin/dtrace -ln genunix:read:
68 * /usr/sbin/dtrace -ln sysinfo:genunix:read
72 * /usr/sbin/dtrace -ln sysinfo:genunix:read:
76 * 10) /usr/sbin/dtrace -ln :genunix::
[all …]
/freebsd/bin/ln/tests/
H A Dln_test.sh49 atf_check ln -s A B
50 atf_check ln -L B C
65 atf_check ln -s A B
66 atf_check ln -P B C
79 atf_check ln -f A B
93 ln A B
106 ln -s A B
117 atf_check ln -s A C
118 atf_check ln -shf B C
131 atf_check ln -s A C
[all …]
/freebsd/crypto/openssl/crypto/asn1/
H A Dasn_moid.c63 const char *ln, *ostr, *p; in do_create() local
68 ln = name; in do_create()
72 ln = name; in do_create()
75 ln = value; in do_create()
81 while (ossl_isspace(*ln)) in do_create()
82 ln++; in do_create()
85 if (p == ln) in do_create()
90 if ((lntmp = OPENSSL_malloc((p - ln) + 1)) == NULL) { in do_create()
94 memcpy(lntmp, ln, p - ln); in do_create()
95 lntmp[p - ln] = '\0'; in do_create()
[all …]
/freebsd/usr.bin/grep/
H A Dutil.c252 grep_printline(&pc->ln, '-'); in procmatch_nomatch()
256 } else if (Bflag == 0 || (Bflag > 0 && enqueue(&pc->ln))) in procmatch_nomatch()
280 grep_printline(&pc->ln, '-'); in procmatches()
343 pc.ln.file = grep_strdup(fn); in procfile()
344 pc.ln.line_no = 0; in procfile()
345 pc.ln.len = 0; in procfile()
346 pc.ln.boff = 0; in procfile()
347 pc.ln.off = -1; in procfile()
371 pc.ln.boff = 0; in procfile()
372 pc.ln.off += pc.ln.len + 1; in procfile()
[all …]
/freebsd/crypto/openssl/crypto/objects/
H A Dobj_dat.pl49 my %ln;
77 $ln{$1} = $d;
119 my $ln = defined $ln{$nid{$i}} ? "$ln{$nid{$i}}" : "NULL";
121 $sn = $ln;
122 $sn{$nid{$i}} = $ln;
124 if ($ln eq "NULL") {
125 $ln = $sn;
126 $ln{$nid{$i}} = $sn;
129 my $out = " {\"$sn\", \"$ln\", NID_$nid{$i}";
193 @a = grep(defined $ln{$nid{$_}}, 0 .. $n);
[all …]
/freebsd/usr.sbin/crunch/examples/
H A Dfilesystem.conf7 ln test [
11 ln sh -
12 ln sh -sh
16 ln reboot halt
17 ln reboot fastboot
18 ln reboot fasthalt
23 ln gzip gunzip
24 ln gzip gzcat
25 ln gzip zcat
H A Dfixit.conf16 progs cat chmod cp date dd df echo ed expr hostname kill ln ls mkdir
19 ln test [
20 ln sh -sh # init invokes the shell this way
26 ln dump rdump
27 ln restore rrestore
32 ln common vi
33 ln common view
34 ln common ex
39 ln gzip gunzip
40 ln gzip gzcat
H A Dkcopy.conf6 ln test [
10 ln sh -
11 ln sh -sh
16 ln reboot halt
17 ln reboot fastboot
18 ln reboot fasthalt
/freebsd/contrib/less/
H A Dmark.c52 static void cmark(struct mark *m, IFILE ifile, POSITION pos, int ln) in cmark() argument
56 m->m_scrpos.ln = ln; in cmark()
160 cmark(m, curr_ifile, m->m_scrpos.pos, m->m_scrpos.ln); in getmark()
210 cmark(m, curr_ifile, scrpos.pos, scrpos.ln); in setmark()
245 cmark(&marks[LASTMARK], curr_ifile, scrpos.pos, scrpos.ln); in lastmark()
283 jump_loc(scrpos.pos, scrpos.ln); in gomark()
390 m->m_letter, m->m_scrpos.ln, pos_str, filename); in save_marks()
400 int ln; in restore_mark() local
411 ln in restore_mark()
[all...]
H A Dforwback.c151 static void set_attr_header(int ln) in set_attr_header()
154 if (ln+1 == header_lines && position(0) != header_start_pos) in set_attr_header()
164 int ln; in overlay_header() local
172 for (ln = 0; ln < header_lines; ++ln) in overlay_header()
175 set_attr_header(ln); in overlay_header()
186 for (ln = 0; ln < sc_height-1; ++ln) in overlay_header()
150 set_attr_header(int ln) set_attr_header() argument
[all...]
/freebsd/contrib/libxo/xolint/
H A Dxolint.pl78 my $ln, $new = 0, $first = 1, $need_nl;
80 for ($ln = 0; $ln <= $#input; $ln++) {
81 chomp($_ = $input[$ln]);
83 $ln += 1;
138 local $ln, $rln, $line, $replay;
140 for ($ln = 0; $ln < $#input; $ln++) {
141 $line = $input[$ln];
175 $rln = $ln + 1;
226 if ($ln + 1 < $#input) {
227 $line = $input[++$ln];

12345678910>>...21