/src/tests/usr.bin/xlint/lint1/ |
msg_118.c | 11 long sl; variable in typeref:typename:long 20 si <<= sl; 27 si = si << sl; 37 si >>= sl; 44 si = si >> sl;
|
msg_118_ilp32.c | 11 long sl; variable in typeref:typename:long 24 si <<= sl; 29 si = si << sl; 38 si >>= sl; 44 si = si >> sl;
|
/src/sys/dev/ofw/ |
ofw_network_subr.c | 98 char *sl = NULL; local in function:of_network_decode_media 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...] |
/src/common/lib/libc/quad/ |
quad.h | 74 int sl[2]; /* as two signed ints */ member in union:uu
|
/src/lib/libc/gen/ |
stringlist.c | 63 StringList *sl; local in function:__weak_alias 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); [all...] |
/src/lib/libc/locale/ |
generic_lc_all.c | 57 _locale_set_t sl; local in function:_generic_LC_ALL_setlocale 62 sl = _find_category(1); 63 _DIAGASSERT(sl != NULL); 86 if ((*sl)(tokens[1], locale) != NULL) 89 s = (*sl)(NULL, locale); 93 sl = _find_category(i); 94 _DIAGASSERT(sl != NULL); 96 if ((*sl)(tokens[i], locale) != NULL) 99 t = (*sl)(NULL, locale);
|
setlocale.c | 178 _locale_set_t sl; local in function:__setlocale 183 sl = _find_category(category); 184 if (sl == NULL) 190 result = (*sl)(name, loc);
|
/src/lib/libcrypt/ |
crypt-sha1.c | 119 int sl; local in function:__crypt_sha1 150 sl = sp - salt; 158 sl, salt, magic, iterations); 168 magic, iterations, sl, salt);
|
md5crypt.c | 45 unsigned int i, sl, pwl; local in function:__md5crypt 64 sl = ep - sp; 75 UPDATE(&ctx, (const unsigned char *)sp, sl); 80 UPDATE(&ctx1, (const unsigned char *)sp, sl); 99 strlcpy(passwd + MD5_MAGIC_LEN, sp, sl + 1); 120 UPDATE(&ctx1, (const unsigned char *)sp, sl); 135 p = passwd + sl + MD5_MAGIC_LEN + 1;
|
crypt-argon2.c | 259 size_t sl; local in function:decode_option 269 sl = strlen(a); 271 if (sl == strlen(ARGON2_ARGON2I_STR) && 274 } else if (sl == strlen(ARGON2_ARGON2D_STR) && 278 else if (sl == strlen(ARGON2_ARGON2ID_STR) && 350 sl = ctx->saltlen; 352 if (from_base64(ctx->salt, &sl, a) == NULL) { 357 ctx->saltlen = sl;
|
/src/libexec/ftpd/ |
popen.c | 114 StringList *sl; local in function:ftpd_popen 131 if ((sl = sl_init()) == NULL) 135 if (sl_add(sl, ftpd_strdup(argv[0])) == -1) 144 if (sl_add(sl, ftpd_strdup(argv[argc])) == -1) { 150 if (sl_add(sl, ftpd_strdup(*pop)) == -1) { 158 if (sl_add(sl, NULL) == -1) 162 isls = (strcmp(sl->sl_str[0], INTERNAL_LS) == 0); 194 exit(ls_main(sl->sl_cur - 1, sl->sl_str)); 198 execv(sl->sl_str[0], sl->sl_str) [all...] |
/src/tests/include/sys/ |
t_socket.c | 88 socklen_t sl; local in function:ATF_TC_BODY 164 sl = sizeof(sun); 165 sgot = rump_sys_accept(s1, (struct sockaddr *)&sun, &sl);
|
/src/sys/arch/luna68k/luna68k/ |
disksubr.c | 304 struct sun_disklabel *sl; local in function:disklabel_om_to_bsd 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->sl_ntracks 401 struct sun_disklabel *sl; local in function:disklabel_bsd_to_om [all...] |
/src/sys/dev/sun/ |
disksubr.c | 242 struct sun_disklabel *sl; local in function:disklabel_sun_to_bsd 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->sl_ntracks 338 struct sun_disklabel *sl; local in function:disklabel_bsd_to_sun [all...] |
/src/lib/libm/src/ |
s_clogl.c | 58 long double sh, sl, t; local in function:clogl 150 sl = ay2h; 151 _2sumF(sh, sl); 153 RETURNI(CMPLXL(logl(ay2l + ax2l + sl + sh) / 2, v)); 155 _2sum(sh, sl); 159 _2sum(sl, ay2l); 160 t = ax2l + sl;
|
/src/usr.sbin/services_mkdb/ |
services_mkdb.c | 78 StringList *sl, ***svc; local in function:main 128 svc = parseservices(fname, sl = sl_init()); 155 (addfn)(s, port, getprotostr(sl, proto), &cnt, warndup); 162 sl_free(sl, 1); 174 parseservices(const char *fname, StringList *sl) 237 pindex = getprotoindex(sl, proto); 296 getprotoindex(StringList *sl, const char *str) 300 for (i= 0; i < sl->sl_cur; i++) 301 if (strcmp(sl->sl_str[i], str) == 0) 307 (void)sl_add(sl, estrdup(str)) [all...] |
/src/sys/lib/libkern/ |
strlist.c | 114 strlist_next(const char * const sl, size_t const slsize, size_t * const cursorp) 117 if (sl == NULL || slsize == 0 || cursorp == NULL) { 128 const char *cp = sl + cursor; 140 strlist_count(const char *sl, size_t slsize) 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) 167 if (sl == NULL || slsize == 0) { 174 for (i = 0; slsize != 0; i++, slsize -= cursize, sl += cursize) 325 char * const sl = *slp; local in function:strlist_append 380 const char *sl; local in function:main [all...] |
/src/sys/arch/sparc/stand/ofwboot/ |
ofdev.c | 253 struct sun_disklabel *sl; local in function:disklabel_sun_to_bsd 259 sl = (struct sun_disklabel *)cp; 262 sp1 = (u_short *)sl; 263 sp2 = (u_short *)(sl + 1); 273 memcpy(lp->d_packname, sl->sl_text, sizeof(lp->d_packname)); 276 lp->d_nsectors = sl->sl_nsectors; 277 lp->d_ntracks = sl->sl_ntracks; 278 lp->d_ncylinders = sl->sl_ncylinders; 280 secpercyl = sl->sl_nsectors * sl->sl_ntracks [all...] |
/src/sys/dev/i2o/ |
iopsp.c | 537 u_int sl; local in function:iopsp_intr 576 sl = le32toh(rb->senselen); 577 if (sl > sizeof(xs->sense.scsi_sense)) 578 sl = sizeof(xs->sense.scsi_sense); 579 memcpy(&xs->sense.scsi_sense, rb->sense, sl);
|
/src/sys/dev/rcons/ |
raster_op.c | 1812 u_int32_t sl, prevsl; local in function:raster_blit 1878 /*pre*/ sl = *srclong; 1880 /*s*/ prevsl | ( sl RSOP currrightshift ), 1883 prevsl = sl LSOP prevleftshift; 1893 sl = *srclong;, 1894 /*s*/ prevsl | ( sl RSOP currrightshift ), 1896 /*pst*/ prevsl = sl LSOP prevleftshift; 1936 /*pre*/ sl = *srclong; 1938 /*s*/ prevsl | ( sl LSOP prevleftshift ), 1941 prevsl = sl RSOP currrightshift [all...] |
/src/sys/external/bsd/drm2/dist/drm/i915/selftests/ |
i915_selftest.c | 256 char *sl; local in function:apply_subtest_filter 266 sl = strchr(tok, '/'); 267 if (sl) { 268 *sl++ = '\0'; 274 tok = sl;
|
/src/sys/external/bsd/ipf/netinet/ |
ip_scan.c | 343 ipf_scan_matchisc(isc, is, cl, sl, maxm) 346 int cl, sl, maxm[2]; 388 sl && isc->ipsc_slen) { 414 int i, j, k, n, cl, sl, maxm[2]; local in function:ipf_scan_match 420 for (sl = 0, n = is->is_smsk[1]; n & 1; n >>= 1) 421 sl++; 429 i = ipf_scan_matchisc(isc, is, cl, sl, NULL); 438 } else if (sl >= isc->ipsc_slen) 446 i = ipf_scan_matchisc(isc, is, cl, sl, maxm);
|
/src/usr.sbin/npf/npfd/ |
npfd_log.c | 263 int sl = npfd_log_getsnaplen(ctx); local in function:npfd_log_pcap_reopen 264 if (sl == -1) 267 if (sl != 0 && sl != snaplen) { 269 sl, ctx->path); 270 snaplen = sl;
|
/src/tests/net/net/ |
t_unix.c | 228 socklen_t sl; local in function:test 258 sl = SUN_LEN(sun); 260 sun->sun_len = sl; 266 if (bind(srvr, (struct sockaddr *)sun, sl) == -1) { 267 if (errno == EINVAL && sl >= 256) { 308 if (connect(clnt, (const struct sockaddr *)sun, sl) == -1) 351 if (sock_addr->sun_len != sl) 353 (size_t)sl);
|
/src/usr.sbin/netgroup_mkdb/ |
netgroup_mkdb.c | 428 StringList *sl; local in function:ng_reverse 440 sl = sl_init(); 442 ng_reventry(db, udb, fe, (char *) key.data, s, sl); 443 sl_free(sl, 0);
|