Searched refs:sl (Results 1 - 25 of 240) sorted by relevance

12345678910

/freebsd-9.3-release/lib/libc/gen/
H A Dstringlist.c51 StringList *sl; local
53 sl = malloc(sizeof(StringList));
54 if (sl == NULL)
57 sl->sl_cur = 0;
58 sl->sl_max = _SL_CHUNKSIZE;
59 sl->sl_str = malloc(sl->sl_max * sizeof(char *));
60 if (sl->sl_str == NULL)
62 return sl;
70 sl_add(StringList *sl, cha argument
87 sl_free(StringList *sl, int all) argument
107 sl_find(StringList *sl, const char *name) argument
[all...]
H A Dgetusershell.c68 static StringList *sl; variable
92 if (sl) {
93 sl_free(sl, 1);
94 sl = NULL;
120 if (sl)
121 sl_free(sl, 1);
122 sl = sl_init();
137 sl_add(sl, strdup(sp));
158 if (sl)
159 sl_free(sl,
[all...]
/freebsd-9.3-release/kerberos5/lib/libsl/
H A DMakefile3 LIB= sl
5 SRCS= sl.c
6 CFLAGS+=-I${KRB5DIR}/lib/sl
10 .PATH: ${KRB5DIR}/lib/sl
/freebsd-9.3-release/contrib/bmake/
H A Dstrlist.c50 strlist_init(strlist_t *sl) argument
52 sl->sl_num = 0;
53 sl->sl_max = 0;
54 sl->sl_items = NULL;
58 strlist_clean(strlist_t *sl) argument
63 STRLIST_FOREACH(str, sl, i)
65 free(sl->sl_items);
67 sl->sl_num = 0;
68 sl->sl_max = 0;
69 sl
73 strlist_add_str(strlist_t *sl, char *str, unsigned int info) argument
[all...]
H A Dstrlist.h53 #define strlist_num(sl) ((sl)->sl_num)
54 #define strlist_str(sl, n) ((sl)->sl_items[n].si_str)
55 #define strlist_info(sl, n) ((sl)->sl_items[n].si_info)
56 #define strlist_set_info(sl, n, v) ((void)((sl)->sl_items[n].si_info = (v)))
58 #define STRLIST_FOREACH(v, sl, index) \
59 if ((sl)
[all...]
/freebsd-9.3-release/lib/libdisk/
H A Dwrite_sparc64_disk.c32 struct sun_disklabel *sl; local
50 sl = calloc(sizeof *sl, 1);
54 sl->sl_pcylinders = c->size / secpercyl;
55 sl->sl_ncylinders = c2->size / secpercyl;
56 sl->sl_acylinders = sl->sl_pcylinders - sl->sl_ncylinders;
57 sl->sl_magic = SUN_DKMAGIC;
58 sl
[all...]
/freebsd-9.3-release/sys/geom/
H A Dgeom_sunlabel_enc.c79 sunlabel_dec(void const *pp, struct sun_disklabel *sl) argument
88 for (i = 0; i < sizeof(sl->sl_text); i++)
89 sl->sl_text[i] = p[SL_TEXT + i];
90 sl->sl_rpm = be16dec(p + SL_RPM);
91 sl->sl_pcylinders = be16dec(p + SL_PCYLINDERS);
92 sl->sl_sparespercyl = be16dec(p + SL_SPARESPERCYL);
93 sl->sl_interleave = be16dec(p + SL_INTERLEAVE);
94 sl->sl_ncylinders = be16dec(p + SL_NCYLINDERS);
95 sl->sl_acylinders = be16dec(p + SL_ACYLINDERS);
96 sl
136 sunlabel_enc(void *pp, struct sun_disklabel *sl) argument
[all...]
/freebsd-9.3-release/crypto/heimdal/lib/sl/
H A Dparse.y140 struct string_list *sl = malloc(sizeof(*sl));
141 if (sl == NULL)
142 return sl;
143 sl->string = str;
144 sl->next = NULL;
146 *list->tail = sl;
147 list->tail = &sl->next;
150 sl->tail = &sl
[all...]
H A Dss.h40 #include <sl.h>
H A Dsl_locl.h47 #include <sl.h>
H A Dmake_cmds.c143 fprintf(c_file, "#include <sl.h>\n");
172 struct string_list *sl; local
173 sl = cl->aliases;
174 p = quote(sl->string);
180 for(sl = sl->next; sl; sl = sl->next) {
181 p = quote(sl
[all...]
/freebsd-9.3-release/sbin/sunlabel/
H A Dsunlabel.c110 static int check_label(struct sun_disklabel *sl);
111 static void read_label(struct sun_disklabel *sl, const char *disk);
112 static void write_label(struct sun_disklabel *sl, const char *disk,
114 static void edit_label(struct sun_disklabel *sl, const char *disk,
116 static int parse_label(struct sun_disklabel *sl, const char *file);
117 static void print_label(struct sun_disklabel *sl, const char *disk, FILE *out);
119 static int parse_size(struct sun_disklabel *sl, int part, char *size);
120 static int parse_offset(struct sun_disklabel *sl, int part, char *offset);
124 static unsigned int parse_flag(struct sun_disklabel *sl, int part,
126 static unsigned int parse_tag(struct sun_disklabel *sl, in
163 struct sun_disklabel sl; local
257 check_label(struct sun_disklabel *sl) argument
329 read_label(struct sun_disklabel *sl, const char *disk) argument
395 write_label(struct sun_disklabel *sl, const char *disk, const char *bootpath) argument
481 edit_label(struct sun_disklabel *sl, const char *disk, const char *bootpath) argument
536 parse_label(struct sun_disklabel *sl, const char *file) argument
703 parse_size(struct sun_disklabel *sl, int part, char *size) argument
746 parse_offset(struct sun_disklabel *sl, int part, char *offset) argument
771 print_label(struct sun_disklabel *sl, const char *disk, FILE *out) argument
935 parse_tag(struct sun_disklabel *sl, int part, const char *tag) argument
960 parse_flag(struct sun_disklabel *sl, int part, const char *flag) argument
[all...]
/freebsd-9.3-release/lib/libc/quad/
H A Dcmpdi2.c55 return (aa.sl[H] < bb.sl[H] ? 0 : aa.sl[H] > bb.sl[H] ? 2 :
H A Dashrdi3.c63 s = (aa.sl[H] >> (LONG_BITS - 1)) >> 1;
65 aa.sl[H] >> (shift - LONG_BITS);
70 aa.sl[H] >>= shift;
/freebsd-9.3-release/sys/libkern/
H A Dcmpdi2.c52 return (aa.sl[H] < bb.sl[H] ? 0 : aa.sl[H] > bb.sl[H] ? 2 :
H A Dashrdi3.c60 s = (aa.sl[H] >> (LONG_BITS - 1)) >> 1;
62 aa.sl[H] >> (shift - LONG_BITS);
67 aa.sl[H] >>= shift;
/freebsd-9.3-release/libexec/rtld-elf/arm/
H A Drtld_start.S42 ldr sl, .L2
46 add sl, pc, sl
47 ldr r5, [sl, r5]
48 ldr r0, [sl, r0]
50 sub r1, sl, r5 /* relocbase */
78 stmdb sp!,{r0-r4,sl,fp}
92 ldmia sp!,{r0-r4,sl,fp,lr} /* restore the stack */
/freebsd-9.3-release/contrib/tcsh/
H A Dtw.help.c184 nextslist(const Char *sl, Char *np) argument
186 if (!*sl)
188 else if (*sl == ':') {
193 while (*sl && *sl != ':')
194 *np++ = *sl++;
204 skipslist(Char *sl) argument
206 while (*sl && *sl++ != ':')
208 return (sl);
[all...]
H A Dtw.init.c109 tw_str_add(stringlist_t *sl, size_t len) argument
113 if (sl->tlist <= sl->nlist) {
115 sl->tlist += TW_INCR;
116 sl->list = xrealloc(sl->list, sl->tlist * sizeof(Char *));
119 if (sl->tbuff <= sl->nbuff + len) {
122 ptr = sl
144 tw_str_free(stringlist_t *sl) argument
[all...]
/freebsd-9.3-release/sys/contrib/ipfilter/netinet/
H A Dip_sync.c425 synclogent_t *sl; local
474 while ((sl_tail < sl_idx) && (uio->uio_resid > sizeof(*sl))) {
475 sl = synclog + sl_tail++;
476 err = UIOMOVE(sl, sizeof(*sl), UIO_READ, uio);
520 synclist_t *sl; local
538 KMALLOC(sl, synclist_t *);
539 if (sl == NULL) {
568 is->is_sync = sl;
570 sl
709 synclist_t *sl; local
802 synclist_t *sl, *ss; local
[all...]
/freebsd-9.3-release/contrib/lukemftpd/src/
H A Dpopen.c120 StringList *sl; local
137 if ((sl = sl_init()) == NULL)
141 if (sl_add(sl, ftpd_strdup(argv[0])) == -1)
149 if (sl_add(sl, ftpd_strdup(argv[argc])) == -1) {
155 if (sl_add(sl, ftpd_strdup(*pop)) == -1) {
163 if (sl_add(sl, NULL) == -1)
167 isls = (strcmp(sl->sl_str[0], INTERNAL_LS) == 0);
199 exit(ls_main(sl->sl_cur - 1, sl->sl_str));
203 execv(sl
[all...]
/freebsd-9.3-release/sys/contrib/octeon-sdk/
H A Dcvmx-npi.h117 uint64_t sl : 7; /**< Skip length */ member in struct:__anon6539::__anon6541
121 uint64_t sl : 7;
132 uint64_t sl : 7; /**< Skip length */ member in struct:__anon6539::__anon6542
136 uint64_t sl : 7;
/freebsd-9.3-release/crypto/openssl/crypto/ripemd/asm/
H A Drmd-586.pl45 @sl=( 11,14,15,12, 5, 8, 7, 9,11,13,14,15, 6, 7, 9, 8,
348 &RIP1($A,$B,$C,$D,$E,$wl[ 0],$sl[ 0],-1);
349 &RIP1($E,$A,$B,$C,$D,$wl[ 1],$sl[ 1],0);
350 &RIP1($D,$E,$A,$B,$C,$wl[ 2],$sl[ 2],0);
351 &RIP1($C,$D,$E,$A,$B,$wl[ 3],$sl[ 3],0);
352 &RIP1($B,$C,$D,$E,$A,$wl[ 4],$sl[ 4],0);
353 &RIP1($A,$B,$C,$D,$E,$wl[ 5],$sl[ 5],0);
354 &RIP1($E,$A,$B,$C,$D,$wl[ 6],$sl[ 6],0);
355 &RIP1($D,$E,$A,$B,$C,$wl[ 7],$sl[ 7],0);
356 &RIP1($C,$D,$E,$A,$B,$wl[ 8],$sl[
[all...]
/freebsd-9.3-release/usr.sbin/services_mkdb/
H A Dservices_mkdb.c92 StringList *sl, ***svc; local
135 svc = parseservices(fname, sl = sl_init());
155 add(db, s, port, getprotostr(sl, proto), &cnt, warndup);
162 sl_free(sl, 1);
174 add(DB *db, StringList *sl, size_t port, const char *proto, size_t *cnt, argument
184 (void)printf("add %s %zu %s [ ", sl->sl_str[0], port, proto);
185 for (i = 1; i < sl->sl_cur; i++)
186 (void)printf("%s ", sl->sl_str[i]);
193 sl->sl_str[0], port, proto, mkaliases(sl, abu
220 parseservices(const char *fname, StringList *sl) argument
384 getprotoindex(StringList *sl, const char *str) argument
403 getprotostr(StringList *sl, size_t i) argument
410 mkaliases(StringList *sl, char *buf, size_t len) argument
[all...]
/freebsd-9.3-release/contrib/gcc/
H A Dlonglong.h161 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \
164 "=&r" ((USItype) (sl)) \
169 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \
172 "=&r" ((USItype) (sl)) \
190 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \
193 "=&r" ((USItype) (sl)) \
198 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \
201 "=&r" ((USItype) (sl)) \
231 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \
234 "=&r" ((USItype) (sl)) \
[all...]

Completed in 139 milliseconds

12345678910