| /freebsd/contrib/bmake/ |
| H A D | lst.c | 42 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 D | make.c | 375 GNodeListNode *ln; in GNode_IsOODate() local 376 for (ln = gn->parents.first; ln != NULL; ln = ln->next) in GNode_IsOODate() 377 GNode_UpdateYoungestChild(ln->datum, gn); in GNode_IsOODate() 386 GNodeListNode *ln; in PretendAllChildrenAreMade() local 388 for (ln = pgn->children.first; ln != NULL; ln = ln->next) { in PretendAllChildrenAreMade() 389 GNode *cgn = ln->datum; in PretendAllChildrenAreMade() 415 GNodeListNode *ln; /* An element in the children list */ in Make_HandleUse() local 437 for (ln = cgn->children.first; ln != NULL; ln = ln->next) { in Make_HandleUse() 438 GNode *gn = ln->datum; in Make_HandleUse() 481 MakeHandleUse(GNode *cgn, GNode *pgn, GNodeListNode *ln) in MakeHandleUse() argument [all …]
|
| H A D | suff.c | 327 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 D | dir.c | 352 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 D | targ.c | 138 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 D | compat.c | 238 Compat_RunCommand(const char *cmdp, GNode *gn, StringListNode *ln) in Compat_RunCommand() argument 273 LstNode_Set(ln, cmdStart); in Compat_RunCommand() 363 LstNode_SetNull(ln); in Compat_RunCommand() 446 StringListNode *ln; in RunCommands() local 448 for (ln = gn->commands.first; ln != NULL; ln = ln->next) { in RunCommands() 449 const char *cmd = ln->datum; in RunCommands() 450 if (!Compat_RunCommand(cmd, gn, ln)) in RunCommands() 477 GNodeListNode *ln; in MakeWaitGroupsInRandomOrder() local 482 for (ln = gnodes->first; ln != NULL; ln = ln->next) in MakeWaitGroupsInRandomOrder() 483 *(GNode **)Vector_Push(&vec) = ln->datum; in MakeWaitGroupsInRandomOrder() [all …]
|
| /freebsd/crypto/krb5/src/util/ |
| H A D | cstyle-file.py | 59 def warn(ln, msg): argument 60 print('%5d %s' % (ln, msg)) 92 def check_length(line, ln): argument 94 warn(ln, 'Length exceeds 79 characters') 97 def check_tabs(line, ln, allow_tabs, seen_tab): argument 100 warn(ln, 'Tab character in file which does not allow tabs') 103 warn(ln, 'Tab character immediately following space') 105 warn(ln, '8+ spaces in file which uses tabs') 108 def check_trailing_whitespace(line, ln): argument 110 warn(ln, 'Trailing whitespace') [all …]
|
| H A D | krb5-check-copyright.py | 31 def warn(fname, ln, msg): argument 32 print('%s: %d: %s' % (fname, ln + 1, msg)) 39 def check_comment(comment, fname, ln, code_seen, nonlicense_seen): argument 46 warn(fname, ln, 'License begins after first line of comment') 48 warn(fname, ln, 'License after code') 50 warn(fname, ln, 'License after non-license comments') 59 ln = 0 60 if '-*- mode: c;' in lines[ln]: 61 ln += 1 64 m = re.match(r'/\* ([^ ]*)( - .*)? \*/', lines[ln]) [all …]
|
| /freebsd/contrib/elftoolchain/libdwarf/ |
| H A D | dwarf_pro_lineno.c | 37 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 D | dwarf_lineno.c | 37 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 D | libdwarf_lineno.c | 103 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 D | nd6.c | 553 nd6_llinfo_settimer_locked(struct llentry *ln, long tick) in nd6_llinfo_settimer_locked() argument 557 LLE_WLOCK_ASSERT(ln); in nd6_llinfo_settimer_locked() 560 if (ln->la_flags & LLE_CHILD) in nd6_llinfo_settimer_locked() 564 ln->la_expire = 0; in nd6_llinfo_settimer_locked() 565 ln->ln_ntick = 0; in nd6_llinfo_settimer_locked() 566 canceled = callout_stop(&ln->lle_timer); in nd6_llinfo_settimer_locked() 568 ln->la_expire = time_uptime + tick / hz; in nd6_llinfo_settimer_locked() 569 LLE_ADDREF(ln); in nd6_llinfo_settimer_locked() 571 ln->ln_ntick = tick - INT_MAX; in nd6_llinfo_settimer_locked() 572 canceled = callout_reset(&ln->lle_timer, INT_MAX, in nd6_llinfo_settimer_locked() [all …]
|
| /freebsd/contrib/mandoc/ |
| H A D | preconv.c | 114 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 D | chars.c | 36 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 D | read.c | 153 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 D | tbl_layout.c | 66 int ln, const char *p, int *pos) in mods() argument 92 mandoc_msg(MANDOCERR_TBLLAYOUT_PAR, ln, *pos, NULL); in mods() 100 mandoc_msg(MANDOCERR_TBLLAYOUT_SPC, ln, *pos, in mods() 124 mandoc_msg(MANDOCERR_TBLLAYOUT_MOD, ln, *pos, "m"); in mods() 143 if (roff_evalnum(ln, p, pos, &isz, 'n', 1) == 0 || in mods() 146 ln, *pos, "%s", p + *pos); in mods() 160 ln, *pos, "%s", p + *pos); in mods() 174 ln, *pos - 1, NULL); in mods() 178 ln, *pos - 1, "%c", p[*pos - 1]); in mods() 202 ln, *po in mods() 214 cell(struct tbl_node * tbl,struct tbl_row * rp,int ln,const char * p,int * pos) cell() argument 272 tbl_layout(struct tbl_node * tbl,int ln,const char * p,int pos) tbl_layout() argument [all...] |
| /freebsd/bin/ln/tests/ |
| H A D | ln_test.sh | 49 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/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/dtraceUtil/ |
| H A D | man.ListProbesWithNames | 39 * /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/crypto/openssl/crypto/asn1/ |
| H A D | asn_moid.c | 63 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() 92 memcpy(lntmp, ln, p - ln); in do_create() 93 lntmp[p - ln] = '\0'; in do_create() [all …]
|
| /freebsd/usr.bin/grep/ |
| H A D | util.c | 252 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 D | obj_dat.pl | 49 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 D | filesystem.conf | 7 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 D | fixit.conf | 16 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 D | kcopy.conf | 6 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 D | mark.c | 53 static void cmark(struct mark *m, IFILE ifile, POSITION pos, int ln) in cmark() argument 57 m->m_scrpos.ln = ln; in cmark() 192 cmark(m, curr_ifile, m->m_scrpos.pos, m->m_scrpos.ln); in getmark() 242 cmark(m, curr_ifile, scrpos.pos, scrpos.ln); in setmark() 281 cmark(&marks[LASTMARK], curr_ifile, scrpos.pos, scrpos.ln); in lastmark() 319 jump_loc(scrpos.pos, scrpos.ln); in gomark() 402 static void cmarkf(struct mark *m, IFILE ifile, POSITION pos, int ln, constant char *filename) in cmarkf() argument 404 cmark(m, ifile, pos, ln); in cmarkf() 422 cmarkf(&file_marks[i], m->m_ifile, m->m_scrpos.pos, m->m_scrpos.ln, m->m_filename); in save_marks() 445 mark_letter(i), m->m_scrpos.ln, pos_str, filename); in save_marks() [all …]
|