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

1234567891011>>

/netbsd-current/sys/arch/sparc64/include/
H A Dremote-sl.h3 #include <sparc/remote-sl.h>
/netbsd-current/external/bsd/mdocml/dist/
H A Dcompat_stringlist.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 = reallocarray(NULL, sl->sl_max, sizeof(char *));
60 if (sl->sl_str == NULL)
62 return sl;
70 sl_add(StringList *sl, cha argument
88 sl_free(StringList *sl, int all) argument
108 sl_find(StringList *sl, const char *name) argument
[all...]
H A Dtest-stringlist.c24 StringList *sl; local
27 if ((sl = sl_init()) == NULL)
29 if (sl_add(sl, teststr))
31 if (sl->sl_cur != 1)
33 if (sl->sl_str[0] != teststr)
36 sl_free(sl, 0);
/netbsd-current/common/lib/libc/arch/arm/quad/
H A D__aeabi_lcmp.c44 if (aa.sl[H] < bb.sl[H])
46 if (aa.sl[H] > bb.sl[H])
49 if (aa.sl[L] < bb.sl[L])
51 if (aa.sl[L] > bb.sl[L])
/netbsd-current/lib/libc/gen/
H A Dstringlist.c63 StringList *sl; local
65 sl = malloc(sizeof(StringList));
66 if (sl == NULL)
69 sl->sl_cur = 0;
70 sl->sl_max = _SL_CHUNKSIZE;
71 sl->sl_str = NULL;
72 errno = reallocarr(&sl->sl_str, sl->sl_max, sizeof(*sl->sl_str));
75 free(sl);
87 sl_add(StringList *sl, char *name) argument
111 sl_free(StringList *sl, int all) argument
131 sl_find(StringList *sl, const char *name) argument
145 sl_delete(StringList *sl, const char *name, int all) argument
[all...]
/netbsd-current/external/bsd/unbound/dist/util/storage/
H A Dslabhash.c54 struct slabhash* sl = (struct slabhash*)calloc(1, local
56 if(!sl) return NULL;
57 sl->size = numtables;
58 log_assert(sl->size > 0);
59 sl->array = (struct lruhash**)calloc(sl->size, sizeof(struct lruhash*));
60 if(!sl->array) {
61 free(sl);
64 sl->mask = (uint32_t)(sl
87 slabhash_delete(struct slabhash* sl) argument
100 slabhash_clear(struct slabhash* sl) argument
111 slab_idx(struct slabhash* sl, hashvalue_type hash) argument
116 slabhash_insert(struct slabhash* sl, hashvalue_type hash, struct lruhash_entry* entry, void* data, void* arg) argument
122 slabhash_lookup(struct slabhash* sl, hashvalue_type hash, void* key, int wr) argument
128 slabhash_remove(struct slabhash* sl, hashvalue_type hash, void* key) argument
133 slabhash_status(struct slabhash* sl, const char* id, int extended) argument
145 slabhash_get_size(struct slabhash* sl) argument
156 slabhash_is_size(struct slabhash* sl, size_t size, size_t slabs) argument
169 slabhash_get_mem(struct slabhash* sl) argument
179 slabhash_gettable(struct slabhash* sl, hashvalue_type hash) argument
218 slabhash_setmarkdel(struct slabhash* sl, lruhash_markdelfunc_type md) argument
[all...]
/netbsd-current/distrib/syspkg/sets/base/base-locale-sl/
H A DMakefile3 PKGBASE=base-locale-sl
/netbsd-current/distrib/syspkg/sets/comp/comp-c_locale-sl/
H A DMakefile3 PKGBASE=comp-c_locale-sl
/netbsd-current/external/gpl2/lvm2/dist/lib/datastruct/
H A Dstr_list.c23 struct dm_list *sl; local
25 if (!(sl = dm_pool_alloc(mem, sizeof(struct dm_list)))) {
30 dm_list_init(sl);
32 return sl;
70 struct str_list *sl; local
74 dm_list_iterate_items(sl, sllold) {
75 if (!str_list_add(mem, sllnew, dm_pool_strdup(mem, sl->str)))
87 struct str_list *sl; local
89 dm_list_iterate_items(sl, sll)
90 if (!strcmp(str, sl
101 struct str_list *sl; local
115 struct str_list *sl; local
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/arm/
H A Dvfp2.d10 0+000 <[^>]*> ec4a5b10 vmov d0, r5, sl
11 0+004 <[^>]*> ec5a5b10 vmov r5, sl, d0
12 0+008 <[^>]*> ec4a5a37 (vmov s15, s16, r5, sl|fmsrr {s15, s16}, r5, sl)
13 0+00c <[^>]*> ec5a5a37 (vmov r5, sl, s15, s16|fmrrs r5, sl, {s15, s16})
14 0+010 <[^>]*> ec45ab1f vmov d15, sl, r5
15 0+014 <[^>]*> ec55ab1f vmov sl, r5, d15
16 0+018 <[^>]*> ec45aa38 (vmov s17, s18, sl, r5|fmsrr {s17, s18}, sl, r
[all...]
H A Dvfp2_t2.d10 0+000 <[^>]*> ec4a 5b10 vmov d0, r5, sl
11 0+004 <[^>]*> ec5a 5b10 vmov r5, sl, d0
12 0+008 <[^>]*> ec4a 5a37 (vmov s15, s16, r5, sl|fmsrr {s15, s16}, r5, sl)
13 0+00c <[^>]*> ec5a 5a37 (vmov r5, sl, s15, s16|fmrrs r5, sl, {s15, s16})
14 0+010 <[^>]*> ec45 ab1f vmov d15, sl, r5
15 0+014 <[^>]*> ec55 ab1f vmov sl, r5, d15
16 0+018 <[^>]*> ec45 aa38 (vmov s17, s18, sl, r5|fmsrr {s17, s18}, sl, r
[all...]
/netbsd-current/sys/lib/libkern/
H A Dstrlist.c114 strlist_next(const char * const sl, size_t const slsize, size_t * const cursorp) argument
117 if (sl == NULL || slsize == 0 || cursorp == NULL) {
128 const char *cp = sl + cursor;
140 strlist_count(const char *sl, size_t slsize) argument
143 if (sl == NULL || slsize == 0) {
151 count++, sl += cursize, slsize -= cursize) {
152 cursize = strlen(sl) + 1;
164 strlist_string(const char * sl, size_t slsize, unsigned int const idx) argument
167 if (sl == NULL || slsize == 0) {
174 for (i = 0; slsize != 0; i++, slsize -= cursize, sl
199 strlist_match_internal(const char * const sl, size_t slsize, const char * const str, int * const indexp, unsigned int * const countp, bool (*match_fn)(const char *, const char *)) argument
257 strlist_match(const char * const sl, size_t const slsize, const char * const str) argument
278 strlist_pmatch(const char * const sl, size_t const slsize, const char * const pattern) argument
302 strlist_index(const char * const sl, size_t const slsize, const char * const str) argument
325 char * const sl = *slp; local
380 const char *sl; local
[all...]
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/wind/
H A Dutil.py37 def subList(l, sl) :
38 """return the index of sl in l or None"""
40 slLen = len(sl)
43 while j < slLen and l[i + j] == sl[j]:
/netbsd-current/external/gpl2/gettext/dist/gettext-runtime/intl/
H A Dos2compat.c59 size_t sl = strlen (root); local
60 _nlos2_libdir = (char *) malloc (sl + strlen (LIBDIR) + 1);
61 memcpy (_nlos2_libdir, root, sl);
62 memcpy (_nlos2_libdir + sl, LIBDIR, strlen (LIBDIR) + 1);
73 size_t sl = strlen (root); local
74 _nlos2_localealiaspath = (char *) malloc (sl + strlen (LOCALE_ALIAS_PATH) + 1);
75 memcpy (_nlos2_localealiaspath, root, sl);
76 memcpy (_nlos2_localealiaspath + sl, LOCALE_ALIAS_PATH, strlen (LOCALE_ALIAS_PATH) + 1);
87 size_t sl = strlen (root); local
88 _nlos2_localedir = (char *) malloc (sl
[all...]
/netbsd-current/external/gpl2/grep/dist/intl/
H A Dos2compat.c69 size_t sl = strlen (root); local
70 _os2_libdir = (char *) malloc (sl + strlen (LIBDIR) + 1);
71 memcpy (_os2_libdir, root, sl);
72 memcpy (_os2_libdir + sl, LIBDIR, strlen (LIBDIR) + 1);
83 size_t sl = strlen (root); local
84 _os2_localealiaspath = (char *) malloc (sl + strlen (LOCALE_ALIAS_PATH) + 1);
85 memcpy (_os2_localealiaspath, root, sl);
86 memcpy (_os2_localealiaspath + sl, LOCALE_ALIAS_PATH, strlen (LOCALE_ALIAS_PATH) + 1);
97 size_t sl = strlen (root); local
98 _os2_localedir = (char *) malloc (sl
[all...]
/netbsd-current/external/gpl2/texinfo/dist/intl/
H A Dos2compat.c61 size_t sl = strlen (root); local
62 _nlos2_libdir = (char *) malloc (sl + strlen (LIBDIR) + 1);
63 memcpy (_nlos2_libdir, root, sl);
64 memcpy (_nlos2_libdir + sl, LIBDIR, strlen (LIBDIR) + 1);
75 size_t sl = strlen (root); local
76 _nlos2_localealiaspath = (char *) malloc (sl + strlen (LOCALE_ALIAS_PATH) + 1);
77 memcpy (_nlos2_localealiaspath, root, sl);
78 memcpy (_nlos2_localealiaspath + sl, LOCALE_ALIAS_PATH, strlen (LOCALE_ALIAS_PATH) + 1);
89 size_t sl = strlen (root); local
90 _nlos2_localedir = (char *) malloc (sl
[all...]
/netbsd-current/common/lib/libc/quad/
H A Dcmpdi2.c59 return (aa.sl[H] < bb.sl[H] ? 0 : aa.sl[H] > bb.sl[H] ? 2 :
/netbsd-current/sys/arch/luna68k/luna68k/
H A Ddisksubr.c304 struct sun_disklabel *sl; local
310 sl = (struct sun_disklabel *)cp;
313 sp1 = (u_short *)sl;
314 sp2 = (u_short *)(sl + 1);
325 memcpy(lp->d_packname, sl->sl_text, sizeof(lp->d_packname));
329 lp->d_nsectors = sl->sl_nsectors;
330 lp->d_ntracks = sl->sl_ntracks;
331 lp->d_ncylinders = sl->sl_ncylinders;
333 secpercyl = sl->sl_nsectors * sl
401 struct sun_disklabel *sl; local
[all...]
/netbsd-current/usr.sbin/sliplogin/
H A Dslip.login19 /sbin/ifconfig sl${UNIT} inet ${LOCALADDR} ${REMOTEADDR} netmask ${NETMASK} \
/netbsd-current/sys/dev/ofw/
H A Dofw_network_subr.c98 char *sl = NULL; local
107 sl = malloc(len, M_TEMP, M_WAITOK);
110 if (OF_getprop(phandle, "supported-network-types", sl, len) != len)
113 count = strlist_count(sl, len);
123 (cp = strlist_next(sl, len, &cursor)) != NULL; ) {
133 free(sl, M_TEMP);
134 sl = NULL;
149 sl = malloc(len, M_TEMP, M_WAITOK);
150 if (OF_getprop(phandle, "chosen-network-type", sl, len) != len) {
155 cp = sl;
[all...]
/netbsd-current/external/lgpl3/gmp/dist/mpn/generic/
H A Dcnd_sub_n.c40 mp_limb_t ul, vl, sl, rl, cy, cy1, cy2, mask; local
53 sl = ul - vl;
54 cy1 = sl > ul;
55 rl = sl - cy;
56 cy2 = rl > sl;
H A Dcnd_add_n.c40 mp_limb_t ul, vl, sl, rl, cy, cy1, cy2, mask; local
53 sl = ul + vl;
54 cy1 = sl < ul;
55 rl = sl + cy;
56 cy2 = rl < sl;
/netbsd-current/tests/usr.bin/xlint/lint1/
H A Dmsg_259_c90.c71 signed long sl, unsigned long ul)
80 plain_char(sl);
90 signed_char(sl);
100 unsigned_char(sl);
110 signed_short(sl);
120 unsigned_short(sl);
136 signed_to_unsigned(int si, long sl) argument
142 unsigned_int(sl);
152 unsigned_long(sl);
168 signed_to_signed(signed int si, signed long sl) argument
68 small_integer_types(char c, signed char sc, unsigned char uc, signed short ss, unsigned short us, signed int si, unsigned int ui, signed long sl, unsigned long ul) argument
[all...]
/netbsd-current/sys/dev/sun/
H A Ddisksubr.c242 struct sun_disklabel *sl; local
249 sl = (struct sun_disklabel *)cp;
252 sp1 = (u_short *)sl;
253 sp2 = (u_short *)(sl + 1);
263 memcpy(lp->d_packname, sl->sl_text, sizeof(lp->d_packname));
268 lp->d_nsectors = sl->sl_nsectors;
269 lp->d_ntracks = sl->sl_ntracks;
270 lp->d_ncylinders = sl->sl_ncylinders;
272 secpercyl = sl->sl_nsectors * sl
338 struct sun_disklabel *sl; local
[all...]
/netbsd-current/crypto/external/bsd/heimdal/lib/libsl/
H A DMakefile10 .PATH: ${HEIMDIST}/lib/sl
12 LIB= sl
18 SRCS= sl.c
19 INCS= sl.h

Completed in 268 milliseconds

1234567891011>>