Searched refs:nl (Results 26 - 50 of 227) sorted by relevance

12345678910

/freebsd-11.0-release/contrib/openbsm/libbsm/
H A Dbsm_event.c153 char *nl; local
163 if ((nl = strrchr(linestr, '\n')) != NULL)
164 *nl = '\0';
217 char *nl; local
230 if ((nl = strrchr(linestr, '\n')) != NULL)
231 *nl = '\0';
278 char *nl; local
288 if ((nl = strrchr(linestr, '\n')) != NULL)
289 *nl = '\0';
H A Dbsm_control.c104 char *type, *nl; local
124 nl = strchr(linestr, '\0') - 1;
125 while (nl >= linestr && ('\n' == *nl || ' ' == *nl ||
126 '\t' == *nl)) {
127 *nl = '\0';
128 nl--;
/freebsd-11.0-release/contrib/gcclibs/libcpp/
H A Dpch.c386 struct ht_node_list *const nl = (struct ht_node_list *)nl_p; local
390 if (nl->n_defs == nl->asize)
392 nl->asize *= 2;
393 nl->defs = XRESIZEVEC (cpp_hashnode *, nl->defs, nl->asize);
396 nl->defs[nl->n_defs] = hn;
397 ++nl
423 struct ht_node_list nl = { 0, 0, 0 }; local
[all...]
/freebsd-11.0-release/contrib/netbsd-tests/bin/sh/
H A Dt_fsplit.sh38 nl='
46 IFS="$nl"
/freebsd-11.0-release/contrib/libarchive/libarchive/test/
H A Dtest_write_disk_appledouble.c68 char *nl, *nlp; local
78 assert((nl = malloc(r)) != NULL);
79 if (nl == NULL)
82 r = listxattr(filename, nl, r, XATTR_SHOWCOMPRESSION);
84 free(nl);
89 for (nlp = nl; nlp < nl + r; nlp += strlen(nlp) + 1) {
95 free(nl);
H A Dtest_write_disk_hfs_compression.c38 char *nl, *nlp; local
48 assert((nl = malloc(r)) != NULL);
49 if (nl == NULL)
52 r = listxattr(filename, nl, r, XATTR_SHOWCOMPRESSION);
54 free(nl);
59 for (nlp = nl; nlp < nl + r; nlp += strlen(nlp) + 1) {
65 free(nl);
H A Dtest_write_disk_mac_metadata.c68 char *nl, *nlp; local
78 assert((nl = malloc(r)) != NULL);
79 if (nl == NULL)
82 r = listxattr(filename, nl, r, XATTR_SHOWCOMPRESSION);
84 free(nl);
89 for (nlp = nl; nlp < nl + r; nlp += strlen(nlp) + 1) {
95 free(nl);
H A Dtest_write_disk_no_hfs_compression.c38 char *nl, *nlp; local
48 assert((nl = malloc(r)) != NULL);
49 if (nl == NULL)
52 r = listxattr(filename, nl, r, XATTR_SHOWCOMPRESSION);
54 free(nl);
59 for (nlp = nl; nlp < nl + r; nlp += strlen(nlp) + 1) {
65 free(nl);
/freebsd-11.0-release/bin/sh/
H A Dmktokens72 nl=`wc -l $temp`
/freebsd-11.0-release/usr.bin/gprof/
H A Dkernel.c43 if ((nl = (nltype *)calloc(nname + 1, sizeof(nltype))) == NULL)
45 npe = nl;
H A Daout.c89 printf("[getnfile] 0X%08lx\t%s\n", nl[j].value, nl[j].name);
134 nl = (nltype *) calloc( askfor , sizeof(nltype) );
135 if (nl == NULL)
141 npe = nl;
/freebsd-11.0-release/contrib/ntp/sntp/libopts/
H A Dcook.c64 ao_string_cook_escape_char(char const * pzIn, char * pRes, uint_t nl) argument
77 *pRes = (char)nl;
/freebsd-11.0-release/lib/libkvm/
H A Dkvm.c79 struct nlist *nl; local
85 nl = calloc(count + 1, sizeof(*nl));
87 nl[i].n_name = list[i].n_name;
88 nfail = __fdnlist(kd->nlfd, nl);
90 list[i].n_type = nl[i].n_type;
91 list[i].n_value = nl[i].n_value;
93 free(nl);
558 kvm_fdnlist_prefix(kvm_t *kd, struct kvm_nlist *nl, int missing, argument
574 for (p = nl;
656 _kvm_nlist(kvm_t *kd, struct kvm_nlist *nl, int initialize) argument
755 kvm_nlist2(kvm_t *kd, struct kvm_nlist *nl) argument
766 kvm_nlist(kvm_t *kd, struct nlist *nl) argument
[all...]
H A Dkvm_amd64.c115 struct kvm_nlist nl[2]; local
133 nl[0].n_name = "kernbase";
134 nl[1].n_name = 0;
136 if (kvm_nlist2(kd, nl) != 0) {
140 kernbase = nl[0].n_value;
142 nl[0].n_name = "KPML4phys";
143 nl[1].n_name = 0;
145 if (kvm_nlist2(kd, nl) != 0) {
149 if (kvm_read2(kd, (nl[0].n_value - kernbase), &pa, sizeof(pa)) !=
/freebsd-11.0-release/usr.bin/ktrdump/
H A Dktrdump.c53 static struct nlist nl[] = { variable in typeref:struct:nlist
165 if (kvm_nlist(kd, nl) != 0 ||
166 kvm_read(kd, nl[0].n_value, &version, sizeof(version)) == -1)
179 if (kvm_read(kd, nl[1].n_value, &entries, sizeof(entries))
184 if (kvm_read(kd, nl[2].n_value, &index, sizeof(index)) == -1 ||
185 kvm_read(kd, nl[3].n_value, &bufptr,
188 kvm_read(kd, nl[2].n_value, &index2, sizeof(index2)) == -1)
/freebsd-11.0-release/contrib/libreadline/examples/
H A Dreadlinebuf.h112 char* nl = (char*)realloc( line_, high_ + 1 ); local
113 if ( nl ) {
114 line_ = (char*)memcpy( nl + 1, line_, high_ );
/freebsd-11.0-release/contrib/ntp/util/
H A Dtickadj.c654 static struct nlist nl[] = local
725 if (kvm_nlist(kvm_handle, nl) == -1)
757 if (nlist(*kname, nl) >= 0)
786 for (i = 0; i < (sizeof(nl) / sizeof(struct nlist)); i++)
788 if ((nl[i].n_value) && (nl[i].n_sclass == 0x6b))
790 readvar(fd, nl[i].n_value, &nl[i].n_value);
803 *tickadj_off = nl[N_TICKADJ].n_value;
807 *tick_off = nl[N_TIC
[all...]
/freebsd-11.0-release/contrib/blacklist/port/
H A Dfparseln.c91 char esc, con, nl, com; local
107 nl = '\n';
129 if (s && nl) { /* Check and eliminate newlines */
132 if (*cp == nl)
/freebsd-11.0-release/lib/libc/stdio/
H A Dfvwrite.c58 char *nl; local
168 nl = memchr((void *)p, '\n', len);
169 nldist = nl ? nl + 1 - p : len + 1;
/freebsd-11.0-release/lib/libutil/
H A Dfparseln.c87 char esc, con, nl, com; local
107 nl = '\n';
127 if (s && nl) { /* Check and eliminate newlines */
130 if (*cp == nl)
/freebsd-11.0-release/sbin/dmesg/
H A Ddmesg.c64 static struct nlist nl[] = { variable in typeref:struct:nlist
138 if (kvm_nlist(kd, nl) == -1)
140 if (nl[X_MSGBUF].n_type == 0)
143 if (KREAD(nl[X_MSGBUF].n_value, bufp) || KREAD((long)bufp, cur))
/freebsd-11.0-release/sys/sys/
H A Ddisk.h26 void disk_err(struct bio *bp, const char *what, int blkdone, int nl);
/freebsd-11.0-release/tools/diag/dumpvfscache/
H A Ddumpvfscache.c56 struct nlist nl[] = { variable in typeref:struct:nlist
81 printf("kvm_nlist: %d\n", kvm_nlist(kvm, nl));
82 kvm_read(kvm, nl[0].n_value, &nchash, sizeof nchash);
88 kvm_read(kvm, nl[1].n_value, &p, sizeof p);
/freebsd-11.0-release/tools/tools/ifpifa/
H A Difpifa.c58 static struct nlist nl[] = { variable in typeref:struct:nlist
106 if (kvm_nlist(kd, nl) < 0) {
111 if (nl[N_IFNET].n_type == 0) {
116 if (kread(kd, nl[N_IFNET].n_value,
/freebsd-11.0-release/lib/libipsec/
H A Dpolicy_token.l60 nl \n
129 {nl} { ; }

Completed in 146 milliseconds

12345678910